/* Full-width, unobstructed video introduction. */
body.public-portal .site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: linear-gradient(180deg, rgba(1, 37, 38, .64), rgba(1, 37, 38, .25) 64%, transparent);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.public-portal .site-header .brand,
body.public-portal .site-header nav a { color: #f6fffc; }

body.public-portal .site-header .brand-copy small { color: rgba(241, 255, 250, .76); }

body.public-portal .site-header nav a:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

body.public-portal .site-header .staff {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(0, 44, 45, .18);
  color: #fff;
}

body.public-portal main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.public-portal {
  --portal-arc-size: clamp(74px, 5.8vw, 96px);
  --portal-arc-gap: clamp(7px, 1vw, 15px);
  --portal-arc-radius: calc(var(--portal-arc-size) / 2);
}

body.public-portal main > :not(.hero-film) {
  box-sizing: border-box;
  width: min(1360px, 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 60px);
}

.hero-film {
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  isolation: isolate;
  /* Keep both ends of the smile in place while lowering its center for the larger circles. */
  clip-path: ellipse(82% calc(100% - var(--portal-arc-radius)) at 50% 0%);
}

.hero-film::after {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: clamp(184px, 13.5vw, 244px);
  background: linear-gradient(180deg, rgba(18, 28, 31, .92), rgba(22, 34, 37, .78) 43%, rgba(25, 38, 41, .45) 74%, rgba(25, 38, 41, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-film-poster,
.hero-film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(1.2) contrast(1.08) brightness(1.04);
  transform: none;
}

.hero-film-poster { z-index: 0; }
.hero-film-video { z-index: 1; transition: none; }
.hero-film.is-video-playing .hero-film-video { opacity: 1; }

.hero-brand-lockup {
  --hero-logo-size: clamp(116px, 8vw, 152px);
  --hero-logo-radius: clamp(58px, 4vw, 76px);
  --hero-logo-line-gap: clamp(16px, 1.5vw, 26px);
  --hero-top-utility-offset: clamp(24px, 2.2vw, 38px);
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  pointer-events: none;
}

.hero-top-info {
  position: absolute;
  top: clamp(8px, 1vw, 14px);
  left: 50%;
  z-index: 4;
  width: 100vw;
  min-height: 42px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .96);
  font: 700 clamp(.86rem, 1.08vw, 1.14rem)/1.2 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  pointer-events: auto;
  text-shadow: 0 2px 8px rgba(0, 25, 28, .62);
}

.hero-top-info-right,
.hero-top-info-left {
  position: absolute;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: clamp(9px, 1vw, 16px);
  min-width: 0;
  min-height: 33px;
  pointer-events: auto;
}

.hero-top-info-right {
  right: clamp(16px, 2.4vw, 46px);
  left: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  justify-content: flex-start;
  align-items: center;
  direction: rtl;
  transform: translateX(clamp(24px, 2vw, 38px));
}

.hero-top-info-left {
  right: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  left: clamp(30px, 2.6vw, 52px);
  justify-content: flex-start;
  direction: ltr;
  gap: clamp(8px, .75vw, 13px);
  transform: translateX(clamp(-18px, -1vw, -8px));
}

.hero-top-motto {
  text-decoration: none !important;
  text-decoration-line: none !important;
  display: inline-flex;
  transform: translateX(clamp(-12px, -.7vw, -6px));
  align-items: center;
  min-width: 0;
  max-width: min(100%, 780px);
  padding: 6px 10px;
  border: 1px solid rgba(184, 255, 249, .82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(104, 221, 213, .9) 0%, rgba(25, 150, 151, .92) 48%, rgba(5, 83, 87, .95) 100%);
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(.9rem, 1.12vw, 1.18rem);
  line-height: 1.08;
  text-shadow: 0 1px 2px rgba(0, 40, 43, .86), 0 0 1px rgba(0, 40, 43, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -7px 12px rgba(3, 95, 97, .24), 0 8px 18px rgba(0, 63, 66, .28);
  backdrop-filter: blur(10px) saturate(1.35);
  text-decoration: none;
}

.hero-top-motto:hover,
.hero-top-motto:focus-visible { color: #fff; text-decoration: none; filter: brightness(1.08); }

.hero-top-divider {
  color: rgba(255, 255, 255, .64);
  font-weight: 900;
}

.hero-top-action-stack {
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  gap: 4px;
  width: clamp(180px, 14vw, 270px);
}

.hero-top-action-stack > .hero-top-team-request,
.hero-top-action-stack > .hero-top-appointment {
  width: 100%;
  justify-content: center;
}

.hero-top-support-stack {
  display: grid;
  align-items: stretch;
  justify-items: stretch;
  gap: 4px;
  width: clamp(180px, 14vw, 270px);
  margin-inline-start: auto;
  direction: rtl;
  transform: translateX(clamp(8px, 1vw, 18px));
}

.hero-top-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 225, 132, .95);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 221, 122, .98), rgba(207, 145, 21, .96) 50%, rgba(125, 72, 7, .98) 100%);
  color: #fff9e8;
  font: 900 clamp(.9rem, 1.12vw, 1.18rem)/1.08 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(75, 40, 0, .85), 0 0 1px rgba(75, 40, 0, .65);
  box-shadow: inset 0 1px rgba(255, 255, 255, .95), inset 0 -8px 14px rgba(95, 48, 0, .22), 0 8px 18px rgba(104, 65, 5, .3);
  backdrop-filter: blur(10px) saturate(1.25);
}

.hero-top-support-button:hover,
.hero-top-support-button:focus-visible {
  color: #fff;
  outline: none;
  filter: brightness(1.1) saturate(1.08);
  transform: translateY(-1px);
}

.hero-top-left-utility {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: max-content;
  direction: rtl;
}

.hero-top-appointment {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 190, 195, .92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 155, 163, .96), rgba(205, 52, 67, .96) 48%, rgba(126, 23, 37, .98) 100%);
  color: #fff;
  font: 900 clamp(.9rem, 1.12vw, 1.18rem)/1.08 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(70, 8, 16, .86), 0 0 1px rgba(70, 8, 16, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9), inset 0 -8px 14px rgba(89, 12, 24, .22), 0 8px 18px rgba(104, 29, 36, .28);
  backdrop-filter: blur(10px) saturate(1.25);
}

.hero-top-appointment svg {
  display: none;
  width: clamp(18px, 1.45vw, 25px);
  height: clamp(18px, 1.45vw, 25px);
  fill: none;
  stroke: #d3243a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
  filter: drop-shadow(0 1px 2px rgba(176, 25, 43, .2));
}

.hero-top-appointment:hover,
.hero-top-appointment:focus-visible {
  background: linear-gradient(180deg, rgba(255, 178, 184, .98), rgba(220, 64, 80, .98) 48%, rgba(142, 26, 42, 1) 100%);
  color: #fff;
  outline: none;
  filter: brightness(1.08);
}

.hero-top-team-request {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(126, 239, 226, .72);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(168, 247, 237, .78), rgba(26, 137, 137, .72));
  color: #effffb;
  font: 900 clamp(.9rem, 1.12vw, 1.18rem)/1.08 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, .72), 0 5px 13px rgba(0, 71, 72, .2);
  text-shadow: 0 1px 3px rgba(0, 48, 49, .7);
}

.hero-top-team-request svg {
  width: clamp(17px, 1.35vw, 23px);
  height: clamp(17px, 1.35vw, 23px);
  fill: none;
  stroke: #effffb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-top-team-request:hover,
.hero-top-team-request:focus-visible {
  outline: none;
  background: linear-gradient(180deg, rgba(193, 255, 247, .92), rgba(20, 157, 151, .84));
  transform: translateY(-1px);
}

.hero-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: clamp(128px, 10vw, 178px);
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14), 0 5px 16px rgba(0, 29, 31, .12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  padding: 6px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.hero-search input::placeholder { color: rgba(255, 255, 255, .8); }

.hero-search button {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-inline-end: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  cursor: pointer;
}

.hero-search button:hover,
.hero-search button:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }

.hero-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hero-datetime {
  display: grid;
  align-self: center;
  align-content: start;
  gap: 1px;
  height: 33px;
  min-width: max-content;
  direction: rtl;
  text-align: center;
  line-height: 1.05;
}

.hero-datetime span,
.hero-datetime time {
  color: rgba(255, 255, 255, .94);
  font: inherit;
  white-space: nowrap;
}

.hero-datetime time { color: rgba(223, 255, 247, .84); }

.hero-language {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 33px;
  min-width: max-content;
  color: rgba(255, 255, 255, .9);
  font: inherit;
}

.hero-language::after {
  position: absolute;
  inset-inline-start: 11px;
  top: 50%;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid rgba(255, 255, 255, .92);
  border-bottom: 1.8px solid rgba(255, 255, 255, .92);
  content: "";
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
}

.hero-language select {
  appearance: none;
  -webkit-appearance: none;
  width: 104px;
  height: 33px;
  padding: 3px 24px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: rgba(3, 67, 70, .5);
  color: #fff;
  font: inherit;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

.hero-language option { color: #113f43; background: #effcf8; }

.hero-donation-link {
  gap: 6px;
  color: #ffe3a2 !important;
  font-size: clamp(.9rem, 1.08vw, 1.12rem) !important;
  text-shadow: 0 2px 8px rgba(34, 20, 0, .54) !important;
}

.hero-donation-link svg {
  width: clamp(19px, 1.45vw, 24px);
  height: clamp(19px, 1.45vw, 24px);
  fill: none;
  stroke: #ffd064;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  filter: drop-shadow(0 1px 2px rgba(78, 44, 0, .4));
}

.hero-donation-link:hover,
.hero-donation-link:focus-visible { color: #fff2c8 !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo-rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-logo-rays::before,
.hero-logo-rays::after {
  position: absolute;
  top: calc(var(--hero-logo-radius) + 15px + var(--hero-top-utility-offset));
  width: calc(50vw - var(--hero-logo-radius));
  height: 1px;
  content: "";
}

.hero-logo-rays::before {
  right: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18) 36%, rgba(255, 255, 255, .86) 100%);
}

.hero-logo-rays::after {
  left: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  background: linear-gradient(90deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .18) 64%, transparent);
}

.hero-split-menu {
  position: absolute;
  top: calc(var(--hero-logo-radius) - 15px + var(--hero-top-utility-offset));
  left: 50%;
  z-index: 3;
  width: min(1220px, calc(100vw - 46px));
  height: 24px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-split-menu-side {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 34px);
  min-width: 0;
  white-space: nowrap;
}

.hero-split-menu-right {
  right: 0;
  left: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  justify-content: space-between;
  direction: ltr;
}

.hero-split-menu-left {
  right: calc(50% + var(--hero-logo-radius) + var(--hero-logo-line-gap));
  left: 0;
  justify-content: space-between;
  direction: rtl;
}

.hero-split-menu a {
  display: inline-flex;
  align-items: center;
  direction: rtl;
  color: rgba(255, 255, 255, .96);
  font: 800 clamp(1.12rem, 1.45vw, 1.38rem)/1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 25, 28, .55);
  transition: color .16s ease, text-shadow .16s ease;
}

.hero-menu-dropdown {
  position: relative;
  display: inline-flex;
}

.hero-submenu {
  position: absolute;
  top: calc(100% + 6px);
  right: 50%;
  z-index: 4;
  min-width: 172px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 11px;
  background: rgba(1, 61, 73, .94);
  box-shadow: 0 12px 25px rgba(0, 23, 27, .3);
  color: #fff;
  font: 700 .9rem/1.55 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  visibility: hidden;
}

.hero-submenu::before {
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
  height: 7px;
  content: "";
  background: transparent;
}

.hero-structure-submenu {
  min-width: 226px;
  padding: 8px;
  text-align: right;
}

.hero-programs-submenu {
  min-width: 318px;
  padding: 8px;
  text-align: right;
}

.hero-split-menu .hero-submenu a,
.hero-split-menu .hero-submenu-link,
.hero-split-menu .hero-submenu-action {
  display: flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 0;
  color: rgba(255, 255, 255, .96);
  font: 700 1rem/1.4 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  text-shadow: none;
  transition: color .16s ease, background .16s ease;
}

.hero-split-menu .hero-submenu-link,
.hero-split-menu .hero-submenu-action {
  justify-content: space-between;
  width: 100%;
  background: transparent;
  cursor: pointer;
  direction: rtl;
  text-align: right;
}

.hero-split-menu .hero-submenu-link:hover,
.hero-split-menu .hero-submenu-link:focus-visible,
.hero-split-menu .hero-submenu-action:hover,
.hero-split-menu .hero-submenu-action:focus-visible,
.hero-split-menu .hero-submenu a:hover,
.hero-split-menu .hero-submenu a:focus-visible {
  color: #073f42;
  background: rgba(213, 255, 248, .9);
  outline: none;
  text-shadow: none;
}

.hero-submenu-arrow {
  margin-inline-start: 9px;
  color: #d8fff7;
  font-size: 1rem;
  line-height: 1;
}

.hero-submenu-years,
.hero-submenu-locations {
  top: -9px;
  right: calc(100% + 8px);
  min-width: 238px;
  padding: 8px;
  text-align: right;
  transform: translateX(8px) translateY(0);
}

.hero-submenu-locations {
  min-width: 286px;
}

.hero-submenu-years > .hero-menu-dropdown,
.hero-submenu-locations > .hero-menu-dropdown {
  display: block;
  width: 100%;
}

.hero-menu-dropdown:hover > .hero-submenu,
.hero-menu-dropdown:focus-within > .hero-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
  visibility: visible;
}

.hero-menu-dropdown:hover > .hero-submenu-years,
.hero-menu-dropdown:focus-within > .hero-submenu-years,
.hero-menu-dropdown:hover > .hero-submenu-locations,
.hero-menu-dropdown:focus-within > .hero-submenu-locations {
  transform: translateX(0) translateY(0);
}

.hero-split-menu a:hover,
.hero-split-menu a:focus-visible {
  color: #d8fff7;
  outline: none;
  text-shadow: 0 2px 12px rgba(0, 32, 33, .9);
}

@media (max-width: 980px) and (min-width: 761px) {
  .hero-split-menu-side { gap: 7px; }
  .hero-split-menu a { font-size: .94rem; }
  .hero-top-info { font-size: .74rem; }
  .hero-top-info-right { gap: 7px; }
  .hero-top-info-left { gap: 7px; }
  .hero-top-appointment { padding-inline: 8px; }
  .hero-search { width: 118px; }
  .hero-live-counter { width: 205px; }
  body.public-portal main > .hero-arc-actions {
    --arc-action-size: min(var(--portal-arc-size), calc((100vw - 80px) / 10));
  }
}

.hero-institution-logo-glass {
  --hero-logo-depth: clamp(10px, .78vw, 15px);
  display: grid;
  position: relative;
  z-index: 2;
  place-items: center;
  width: var(--hero-logo-size);
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: clamp(5px, .42vw, 8px);
  border: 2px solid rgba(190, 255, 248, .9);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(188, 255, 249, .88), rgba(18, 143, 140, .72) 48%, rgba(3, 61, 66, .96));
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .94), inset 0 -6px 10px rgba(1, 49, 54, .66);
  overflow: hidden;
  backdrop-filter: blur(8px) saturate(1.15);
  transform: none;
  transform-style: preserve-3d;
  animation: none;
}

.hero-institution-logo-edge {
  position: absolute;
  inset: clamp(5px, .42vw, 8px);
  z-index: 0;
  border: 1px solid rgba(192, 255, 249, .56);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 20%, rgba(236, 255, 252, .78), rgba(71, 190, 182, .52) 44%, rgba(2, 73, 78, .92));
  box-shadow: inset 0 5px 10px rgba(1, 44, 48, .62), inset 0 -3px 7px rgba(213, 255, 249, .3);
  transform: none;
  pointer-events: none;
  transform: translateZ(calc(var(--hero-logo-depth) * -1));
}

.hero-institution-logo-edge::before {
  content: none;
}

.hero-institution-logo-glass::after {
  position: absolute;
  top: 14%;
  right: 18%;
  z-index: 3;
  width: clamp(12px, .9vw, 16px);
  aspect-ratio: 1;
  border-radius: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0 12%, transparent 15%), linear-gradient(90deg, transparent 45%, rgba(255, 255, 255, .98) 47% 53%, transparent 55%), linear-gradient(0deg, transparent 45%, rgba(255, 255, 255, .98) 47% 53%, transparent 55%);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 2px rgba(237, 255, 252, .74));
  mix-blend-mode: screen;
  opacity: 0;
  content: "";
  pointer-events: none;
  animation: hero-logo-sparkle 8s ease-in-out infinite;
  transform: scale(.2);
}

.hero-institution-logo-glass::before {
  position: absolute;
  inset: clamp(5px, .42vw, 8px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .32), transparent 27%, transparent 72%, rgba(70, 223, 212, .13));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .76), inset 0 -9px 14px rgba(1, 58, 62, .15);
  content: "";
  pointer-events: none;
  transform: translateZ(calc(var(--hero-logo-depth) / 2));
}

.hero-institution-logo {
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  clip-path: circle(50%);
  transform: translateZ(1px);
  width: calc(100% - clamp(6px, .5vw, 10px));
  height: calc(100% - clamp(6px, .5vw, 10px));
  object-fit: contain;
  filter: saturate(1.04) contrast(1.01) brightness(1.03);
}

@keyframes hero-logo-sparkle {
  0%, 65%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); }
  70% { opacity: .58; transform: scale(.72) rotate(18deg); }
  74% { opacity: 1; transform: scale(1.2) rotate(45deg); }
  79% { opacity: .52; transform: scale(.76) rotate(70deg); }
  84% { opacity: 0; transform: scale(.25) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-institution-logo-glass::after { animation: none; }
}

.hero-institution-wordmark {
  display: block;
  position: relative;
  z-index: 2;
  width: clamp(100px, 7.2vw, 137px);
  height: auto;
  margin-top: -2px;
  filter: drop-shadow(0 4px 8px rgba(0, 22, 22, .28));
}

.hero-film-shade,
.hero-film-content,
.hero-film-badges,
.hero-video-toggle { display: none !important; }

body.public-portal main > .hero-arc-actions {
  --arc-action-size: var(--portal-arc-size);
  --arc-action-gap: var(--portal-arc-gap);
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(10, var(--arc-action-size));
  justify-content: center;
  column-gap: var(--arc-action-gap);
  align-items: start;
  width: min(1240px, calc(100% - 36px));
  /* The midpoint of each circle follows the visible edge of the hero curve. */
  margin: calc(0px - var(--portal-arc-size)) auto 25px;
  padding: 0;
}

body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(1) { grid-column: 1; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(2) { grid-column: 2; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(3) { grid-column: 3; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(4) { grid-column: 4; }
body.public-portal main > .hero-arc-actions > .hero-volunteer-counter { grid-column: 5 / span 2; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(6) { grid-column: 7; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(7) { grid-column: 8; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(8) { grid-column: 9; }
body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(9) { grid-column: 10; }

.hero-arc-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: var(--arc-action-size);
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 13px 9px;
  overflow: hidden;
  border: 1px solid rgba(9, 91, 86, .28);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98) 0%, rgba(225, 249, 243, .98) 48%, rgba(178, 224, 216, .97) 100%);
  box-shadow: 0 13px 26px rgba(4, 67, 65, .2), inset 0 1px rgba(255, 255, 255, .96), inset 0 -8px 18px rgba(12, 107, 105, .09);
  color: #074d56;
  font: 800 clamp(.64rem, .78vw, .74rem)/1.38 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  --arc-y: 0px;
  transform: translateY(var(--arc-y));
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hero-arc-action::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .24) 40%, rgba(11, 105, 103, .1) 100%);
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, .72), 0 0 0 1px rgba(10, 108, 106, .08);
  content: "";
  pointer-events: none;
}

.hero-arc-action::after {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 42%;
  height: 17%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .46);
  content: "";
  filter: blur(5px);
  pointer-events: none;
  transform: rotate(-18deg);
}

.hero-arc-action > * {
  position: relative;
  z-index: 1;
}

.hero-arc-action svg {
  width: clamp(29px, 2.8vw, 40px);
  height: clamp(29px, 2.8vw, 40px);
  fill: none;
  stroke: #0b6967;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
  filter: drop-shadow(0 2px 2px rgba(5, 79, 80, .18));
}

.hero-arc-action:hover,
.hero-arc-action:focus-visible {
  background: #fff;
  box-shadow: 0 18px 31px rgba(4, 67, 65, .24), inset 0 1px rgba(255, 255, 255, .94);
  outline: none;
}

.hero-arc-action:nth-child(1),
.hero-arc-action:nth-child(9) { --arc-y: clamp(-48px, -2.2vw, -36px); }
.hero-arc-action:nth-child(2),
.hero-arc-action:nth-child(8) { --arc-y: clamp(-28px, -1.25vw, -18px); }
.hero-arc-action:nth-child(3),
.hero-arc-action:nth-child(7) { --arc-y: clamp(-14px, -.55vw, -8px); }
.hero-arc-action:nth-child(4),
.hero-arc-action:nth-child(6) { --arc-y: clamp(-4px, -.3vw, -2px); }
.hero-arc-action:nth-child(5) { --arc-y: 0px; }
.hero-arc-action:hover,
.hero-arc-action:focus-visible { transform: translateY(calc(var(--arc-y) - 6px)); }

.hero-volunteer-counter {
  --volunteer-size: calc(var(--arc-action-size) * 2);
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: calc(var(--volunteer-size) + var(--arc-action-gap));
  aspect-ratio: 1;
  box-sizing: border-box;
  margin: 0;
  padding: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 214, 176, .94);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 22%, rgba(255, 245, 235, .96), rgba(255, 126, 113, .96) 28%, rgba(191, 32, 54, .98) 70%, rgba(105, 12, 31, 1) 100%);
  color: #fffaf7;
  box-shadow: 0 18px 34px rgba(110, 18, 31, .36), inset 0 2px 0 rgba(255, 255, 255, .88), inset 0 -14px 22px rgba(72, 5, 17, .26);
  text-align: center;
  text-shadow: 0 2px 5px rgba(76, 4, 17, .66);
  transform: translateY(calc((var(--arc-action-size) / -2) - clamp(20px, 1.4vw, 26px)));
  text-decoration: none;
  cursor: pointer;
}

.hero-volunteer-counter::before {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 240, 229, .72);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-volunteer-counter::after {
  position: absolute;
  top: 11%;
  left: 20%;
  width: 52%;
  height: 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .46);
  content: "";
  filter: blur(7px);
  pointer-events: none;
}

.hero-volunteer-counter > * {
  position: relative;
  z-index: 1;
}

.hero-volunteer-icon {
  display: grid;
  place-items: center;
  width: clamp(36px, 3.6vw, 56px);
  height: clamp(36px, 3.6vw, 56px);
  color: #fff5df;
}

.hero-volunteer-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 3px rgba(92, 7, 21, .5));
}

.hero-volunteer-counter strong {
  color: #fff;
  font: 900 clamp(1.7rem, 3vw, 2.7rem)/.95 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
}

.hero-volunteer-counter > span:not(.hero-volunteer-icon) {
  color: rgba(255, 248, 237, .98);
  font: 800 clamp(.86rem, 1vw, 1.08rem)/1.1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
}

.hero-volunteer-counter small {
  color: rgba(255, 230, 214, .9);
  font: 700 clamp(.62rem, .7vw, .78rem)/1.1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
}

.hero-live-counter {
  position: absolute;
  top: clamp(-130px, -8vw, -86px);
  display: grid;
  justify-items: center;
  gap: 2px;
  width: min(250px, 19vw);
  min-height: 76px;
  box-sizing: border-box;
  padding: 10px 14px 12px;
  border: 1px solid rgba(13, 117, 113, .34);
  border-top-color: rgba(181, 51, 64, .72);
  border-radius: 24px 24px 46px 46px / 20px 20px 28px 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(233, 255, 249, .88) 58%, rgba(196, 241, 234, .78));
  box-shadow: 0 13px 25px rgba(4, 76, 73, .2), inset 0 1px rgba(255, 255, 255, .98), inset 0 -8px 14px rgba(12, 107, 105, .1);
  color: #8b2631;
  text-align: center;
}

.hero-live-counter::before {
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, rgba(181, 51, 64, .08), rgba(181, 51, 64, .92), rgba(181, 51, 64, .08));
  content: "";
}

.hero-live-counter::after {
  position: absolute;
  right: 19%;
  bottom: -4px;
  left: 19%;
  height: 12px;
  border-bottom: 2px solid rgba(15, 123, 119, .32);
  border-radius: 0 0 50% 50%;
  content: "";
  pointer-events: none;
}

.hero-live-counter-right { right: calc((100% - 100vw) / 2 + clamp(14px, 1.5vw, 28px)); }
.hero-live-counter-left { left: calc((100% - 100vw) / 2 + clamp(14px, 1.5vw, 28px)); }

.hero-live-counter-label {
  color: #7e3039;
  font: 800 clamp(.72rem, .82vw, .88rem)/1.1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
}

.hero-live-counter strong {
  color: #bd2737;
  font: 900 clamp(1.35rem, 2vw, 2rem)/.95 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  text-shadow: 0 2px 8px rgba(168, 35, 48, .18);
}

.hero-live-counter small {
  color: rgba(112, 48, 55, .84);
  font: 700 clamp(.56rem, .62vw, .68rem)/1.1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  white-space: nowrap;
}

.team-presence-honeypot {
  position: absolute !important;
  right: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.back-to-top {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 1.8vw, 22px);
  z-index: 40;
  display: inline-grid;
  place-items: center;
  gap: 1px;
  width: clamp(60px, 5.1vw, 74px);
  height: clamp(60px, 5.1vw, 74px);
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff5b66, #ec1f36 58%, #b70d24);
  color: #fff;
  box-shadow: 0 14px 28px rgba(154, 13, 31, .34), inset 0 1px 0 rgba(255, 255, 255, .52), inset 0 -6px 10px rgba(100, 4, 17, .2);
  font: 800 clamp(.64rem, .76vw, .8rem)/1 var(--tabib-font, 'B Koodak', Tahoma, Arial, sans-serif);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(.88);
  transition: opacity .24s ease, visibility .24s ease, transform .24s ease, box-shadow .2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.back-to-top svg {
  width: clamp(18px, 1.55vw, 24px);
  height: clamp(18px, 1.55vw, 24px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: #fff;
  background: linear-gradient(145deg, #ff727b, #ef1730 68%, #a90820);
  box-shadow: 0 17px 32px rgba(154, 13, 31, .46), inset 0 1px 0 rgba(255, 255, 255, .46), inset 0 -7px 12px rgba(100, 4, 17, .24);
  outline: none;
  transform: translate(-50%, -4px) scale(1.04);
}

.membership-age-note {
  color: #d51f37;
  font-size: .62em;
  font-weight: 800;
  white-space: nowrap;
}

.appointment-window-note {
  display: block;
  margin-top: 4px;
  color: #d51f37;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: clamp(.68rem, .72em, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.03em;
  white-space: nowrap;
  transform: scaleX(.82);
  transform-origin: right center;
}

@media (max-width: 720px) {
  .appointment-window-note {
    font-size: .62em;
    letter-spacing: -.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .1s ease, visibility .1s ease; }
}

.impact-ribbon {
  box-sizing: border-box;
  width: min(1360px, 100%);
  margin: 0 auto;
}

@media (max-width: 760px) {
  body.public-portal .site-header {
    position: absolute;
    background: linear-gradient(180deg, rgba(1, 37, 38, .66), rgba(1, 37, 38, .22) 70%, transparent);
  }
  body.public-portal .portal-nav-toggle {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .91);
  }
  body.public-portal .site-header nav {
    background: rgba(3, 55, 55, .94);
    box-shadow: 0 12px 22px rgba(0, 25, 25, .2);
  }
  body.public-portal .site-header nav a { color: #fff; }
  .hero-brand-lockup {
    --hero-logo-size: clamp(108px, 31vw, 148px);
    --hero-logo-radius: clamp(54px, 15.5vw, 74px);
    top: 0;
  }
  .hero-institution-logo-glass {
    width: var(--hero-logo-size);
  }
  .hero-institution-wordmark { width: clamp(93px, 27vw, 130px); }
  .hero-split-menu { display: none; }
  .hero-top-info { display: none; }
  .hero-live-counter { display: none; }
  body.public-portal {
    --portal-arc-size: min(23vw, calc((100vw - 32px) / 3));
    --portal-arc-gap: 5px;
  }
  .hero-film { clip-path: ellipse(80% calc(100% - var(--portal-arc-radius)) at 50% 0%); }
  body.public-portal main > .hero-arc-actions {
    --arc-action-size: var(--portal-arc-size);
    grid-template-columns: repeat(3, var(--arc-action-size));
    justify-content: center;
    gap: 10px var(--portal-arc-gap);
    width: calc(100% - 22px);
    margin: calc(0px - var(--portal-arc-size)) auto 22px;
  }
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(1),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(2),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(3),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(4),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(6),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(7),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(8),
  body.public-portal main > .hero-arc-actions > .hero-arc-action:nth-child(9),
  body.public-portal main > .hero-arc-actions > .hero-volunteer-counter {
    grid-column: auto;
  }
  body.public-portal main > .hero-arc-actions > .hero-volunteer-counter {
    width: var(--arc-action-size);
    transform: none;
    margin: 0;
    padding: 10px 6px;
  }
  .hero-arc-action,
  .hero-arc-action:nth-child(1),
  .hero-arc-action:nth-child(2),
  .hero-arc-action:nth-child(3),
  .hero-arc-action:nth-child(4),
  .hero-arc-action:nth-child(5),
  .hero-arc-action:nth-child(6),
  .hero-arc-action:nth-child(7),
  .hero-arc-action:nth-child(8),
  .hero-arc-action:nth-child(9) { --arc-y: 0px; }
  .hero-arc-action:hover,
  .hero-arc-action:focus-visible { transform: translateY(-4px); }
  body.public-portal main > :not(.hero-film) { padding-inline: 14px; }
  .hero-film {
    min-height: 100svh;
    height: 100svh;
  }
}

/* Final header/dialog sizing rules. */
.hero-brand-lockup {
  --hero-motto-space: clamp(58px, 4.1vw, 82px);
  --hero-brand-lift: clamp(14px, 1vw, 18px);
  top: calc(2px + var(--hero-motto-space) - var(--hero-brand-lift));
}

.hero-brand-motto {
  position: absolute;
  top: calc(-1 * var(--hero-motto-space) + 2px + var(--hero-brand-lift));
  left: 50%;
  z-index: 5;
  display: block;
  width: max-content;
  max-width: min(92vw, 780px);
  box-sizing: border-box;
  padding: 0;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-brand-motto-image {
  display: block;
  width: clamp(300px, 26vw, 520px);
  max-width: calc(100vw - 24px);
  height: auto;
  object-fit: contain;
}

.hero-top-info { top: calc(clamp(8px, 1vw, 14px) - var(--hero-motto-space)); }

.hero-top-info-right {
  right: clamp(34px, 2.9vw, 56px);
  transform: none;
  justify-content: flex-start;
  align-items: flex-start;
  gap: clamp(6px, .8vw, 12px);
}

.hero-top-info-right .hero-top-action-stack,
.hero-top-info-right .hero-top-support-stack {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: clamp(190px, 13.6vw, 270px);
  margin: 0;
  transform: none;
}

.hero-top-info-right .hero-top-team-request,
.hero-top-info-right .hero-top-appointment,
.hero-top-info-right .hero-top-support-button {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.hero-top-info-right .hero-top-team-request span,
.hero-top-info-right .hero-top-appointment span,
.hero-top-info-right .hero-top-support-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.public-portal dialog { box-sizing: border-box; overflow-x: hidden; }
body.public-portal dialog > * { box-sizing: border-box; min-width: 0; max-width: 100%; }
body.public-portal .dialog-head { min-width: 0; box-sizing: border-box; }
body.public-portal .dialog-head > div { flex: 1 1 auto; min-width: 0; max-width: 100%; overflow: hidden; }
body.public-portal .dialog-head h2 { min-width: 0; max-width: 100%; overflow: hidden; }
body.public-portal .dialog-head .dialog-close { flex: 0 0 auto; }
body.public-portal .appointment-window-note { max-width: 100%; overflow: hidden; text-overflow: clip; }

/* Show the complete appointment-window notice without forcing horizontal scrolling. */
body.public-portal .appointment-window-note {
  display: block;
  width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  transform: none;
  letter-spacing: -.02em;
}

@media (max-width: 760px) {
  .hero-brand-lockup { --hero-brand-lift: 8px; }

  .hero-brand-motto-image { width: min(84vw, 420px); }
}
