:root {
  --red: #cf2738;
  --red-bright: #f04c58;
  --red-deep: #82091d;
  --teal: #087f87;
  --teal-deep: #093b45;
  --paper: #fff8f5;
  --ice: #eef8f8;
  --ink: #16232a;
  --muted: #536168;
  --line: rgba(22, 35, 42, 0.14);
  --red-line: rgba(207, 39, 56, 0.26);
  --panel: rgba(255, 255, 255, 0.88);
  --shadow: 0 28px 82px rgba(35, 59, 65, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f5fbfb 0%, var(--paper) 42%, #f2f9f9 100%);
  color: var(--ink);
  font-family: Arial, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  top: -54px;
  left: 16px;
  z-index: 50;
  border-radius: 0 0 10px 10px;
  background: var(--red);
  color: #fff;
  padding: 12px 15px;
  font-weight: 900;
}

.skip-link:focus {
  top: 0;
}

.header-inner,
.section-wrap,
.mission-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.ems-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 252, 252, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: #090909;
  font-weight: 950;
  text-transform: uppercase;
}

.brand img {
  width: 126px;
  height: auto;
}

.brand span {
  border-left: 2px solid var(--red);
  padding-left: 10px;
}

.ems-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ems-nav a,
.ems-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
}

.ems-nav a {
  background: rgba(8, 127, 135, 0.1);
  color: var(--teal-deep);
  padding: 0 13px;
}

.ems-nav a:hover,
.ems-nav a:focus-visible {
  outline: none;
  background: rgba(8, 127, 135, 0.18);
}

.ems-nav .ems-tab {
  border: 1px solid rgba(255, 229, 232, 0.86);
  background: linear-gradient(180deg, var(--red-bright), var(--red) 42%, var(--red-deep));
  color: #fff;
  box-shadow: 0 12px 32px rgba(130, 9, 29, 0.25);
  text-shadow: 0 1px 4px rgba(52, 0, 12, 0.55);
}

.ems-hero {
  position: relative;
  min-height: clamp(580px, calc(100vh - 118px), 820px);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(245, 251, 251, 0.99) 0%, rgba(255, 248, 245, 0.97) 43%, rgba(255, 248, 245, 0.56) 68%, rgba(245, 251, 251, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(8, 127, 135, 0.07) 0 1px, transparent 1px 30px);
}

.hero-art {
  position: absolute;
  right: max(-3vw, -28px);
  bottom: -4px;
  z-index: -1;
  width: min(52vw, 760px);
  height: min(100%, 850px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 40px rgba(154, 0, 0, 0.16));
}

.hero-shell {
  width: min(1240px, calc(100% - 44px));
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 36px 0 24px;
}

.academy-mark,
.eyebrow,
.section-heading span {
  margin: 0;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0;
}

.academy-mark {
  width: fit-content;
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
}

.academy-mark strong {
  font-size: 5.8rem;
  line-height: 0.84;
}

.eyebrow,
.section-heading span {
  color: var(--red);
  font-size: 0.84rem;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin: 12px 0 18px;
  color: #1d1d1d;
  font-size: 5.7rem;
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lede {
  max-width: 610px;
  margin: 0;
  color: #3e3e3e;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.ems-button {
  position: relative;
  overflow: hidden;
  min-height: 54px;
  border: 1px solid rgba(255, 225, 229, 0.6);
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  color: #fff;
  box-shadow: 0 18px 38px rgba(130, 9, 29, 0.3);
  padding: 0 22px;
  animation: ems-button-beat 2.5s ease-in-out infinite;
}

.ems-button::after {
  position: absolute;
  inset: -44% auto -44% -40%;
  width: 34%;
  background: rgba(255, 255, 255, 0.58);
  content: "";
  transform: skewX(-22deg);
  animation: ems-button-sheen 3s ease-in-out infinite;
}

.ems-button:hover,
.ems-button:focus-visible {
  outline: none;
  background: linear-gradient(180deg, #ff6873, #99051d);
}

.hero-actions span {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--red-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--red-deep);
  padding: 0 17px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(218, 7, 7, 0.1);
}

.mission-band {
  border-bottom: 1px solid rgba(8, 127, 135, 0.22);
  background:
    linear-gradient(90deg, var(--teal-deep), #135761 52%, #163944);
  color: #fff;
}

.mission-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.mission-inner p {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 3px;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px clamp(14px, 2vw, 28px);
}

.mission-inner p:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.mission-inner strong {
  color: #ffd9de;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.mission-inner span {
  color: rgba(239, 252, 252, 0.86);
}

.section-wrap {
  padding-top: clamp(56px, 7vw, 90px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 16px;
}

.section-heading h2,
.callout-copy h2 {
  max-width: 800px;
  margin: 0;
  color: #171717;
  font-size: 4rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.doctors-section {
  padding-top: clamp(48px, 6vw, 76px);
}

.doctor-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: clamp(10px, 1.8vw, 22px);
}

.doctor-scroll {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(231, 246, 247, 0.78);
  border-radius: 50%;
  background: linear-gradient(180deg, #135761, var(--teal-deep));
  color: #fff;
  box-shadow: 0 16px 32px rgba(9, 59, 69, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 950;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.doctor-scroll:hover,
.doctor-scroll:focus-visible {
  outline: none;
  background: linear-gradient(180deg, #16707a, #0b4b56);
  box-shadow:
    0 0 0 4px rgba(8, 127, 135, 0.14),
    0 18px 38px rgba(9, 59, 69, 0.3);
  transform: translateY(-2px);
}

.doctor-rail {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 8px;
}

.doctor-rail::-webkit-scrollbar {
  display: none;
}

.doctor-rail:focus-visible {
  outline: 3px solid rgba(8, 127, 135, 0.4);
  outline-offset: 4px;
}

.doctor-track {
  width: max-content;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
}

.doctor-card {
  width: clamp(300px, 38vw, 500px);
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(8, 127, 135, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(8, 127, 135, 0.16), rgba(255, 255, 255, 0.9) 38%, rgba(207, 39, 56, 0.08)),
    #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.doctor-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
}

.program-track {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 7, 7, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 38px);
}

.awareness-track {
  border-color: rgba(8, 127, 135, 0.24);
  background:
    linear-gradient(145deg, rgba(8, 127, 135, 0.12), rgba(255, 255, 255, 0.92) 44%),
    var(--panel);
}

.awareness-track .eyebrow {
  color: var(--teal);
}

.donation-track {
  border-color: rgba(207, 39, 56, 0.24);
  background:
    linear-gradient(145deg, rgba(207, 39, 56, 0.12), rgba(255, 255, 255, 0.92) 44%),
    var(--panel);
}

.program-track h3 {
  max-width: 560px;
  margin: 12px 0 12px;
  color: #202020;
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.program-track > p:not(.eyebrow) {
  max-width: 610px;
  margin: 0 0 24px;
  color: #4d4d4d;
  font-size: 1.08rem;
}

.program-track ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-track li {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-top: 1px dashed rgba(218, 7, 7, 0.22);
  color: #222;
  padding: 10px 0 10px 42px;
  font-size: 1.08rem;
  font-weight: 850;
}

.program-track li::before {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  content: "+";
  font-weight: 950;
  line-height: 1;
}

.awareness-track li::before {
  border-color: var(--teal);
  color: var(--teal);
}

.donation-track li::before {
  content: "";
  background:
    linear-gradient(135deg, transparent 45%, var(--red) 46% 58%, transparent 59%),
    linear-gradient(45deg, transparent 42%, var(--red) 43% 54%, transparent 55%);
  background-size: 15px 15px, 15px 15px;
  background-position: 7px 4px, 2px 10px;
  background-repeat: no-repeat;
}

.event-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 46px);
  padding-bottom: clamp(64px, 8vw, 100px);
}

.callout-copy p:last-child {
  max-width: 690px;
  margin: 16px 0 0;
  color: #4a4a4a;
  font-size: 1.08rem;
}

.time-ribbon {
  min-width: min(430px, 100%);
  display: grid;
  gap: 4px;
  border: 2px solid var(--red-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 226, 230, 0.88)),
    #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}

.time-ribbon span {
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
}

.time-ribbon strong {
  color: #930000;
  font-size: 2.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.ems-footer {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 34px 20px;
}

.ems-footer .brand {
  margin: 0;
}

@keyframes ems-button-beat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  18% {
    transform: translateY(-1px) scale(1.04);
  }

  32% {
    transform: translateY(0) scale(1);
  }
}

@keyframes ems-button-sheen {
  0%,
  56% {
    left: -40%;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    left: 116%;
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .ems-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(245, 251, 251, 0.98) 0%, rgba(255, 248, 245, 0.92) 50%, rgba(255, 248, 245, 0.76) 100%),
      repeating-linear-gradient(135deg, rgba(8, 127, 135, 0.07) 0 1px, transparent 1px 30px);
  }

  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: min(100%, 620px);
    height: auto;
    margin: 8px auto 0;
  }

  .hero-shell {
    min-height: 0;
    padding-bottom: 28px;
  }

  .mission-inner,
  .program-grid,
  .event-callout {
    grid-template-columns: 1fr;
  }

  .mission-inner p {
    min-height: 0;
    border-right: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .time-ribbon {
    min-width: 0;
  }

  .academy-mark strong {
    font-size: 4.9rem;
  }

  h1 {
    font-size: 4.8rem;
  }

  .section-heading h2,
  .callout-copy h2 {
    font-size: 3.2rem;
  }

  .program-track h3 {
    font-size: 2.2rem;
  }

  .doctor-carousel {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .doctor-scroll {
    width: 48px;
    height: 48px;
  }

  .doctor-card {
    width: min(72vw, 440px);
  }
}

@media (max-width: 660px) {
  .header-inner,
  .section-wrap,
  .mission-inner,
  .hero-shell {
    width: min(100% - 22px, 1240px);
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand img {
    width: 108px;
  }

  .ems-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .ems-nav a {
    min-height: 38px;
    padding-inline: 11px;
    white-space: nowrap;
  }

  .doctor-carousel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctor-scroll {
    grid-column: 1;
    grid-row: 2;
    width: 48px;
    height: 48px;
  }

  .doctor-scroll-prev {
    justify-self: start;
  }

  .doctor-scroll-next {
    justify-self: end;
  }

  .doctor-rail {
    grid-column: 1;
  }

  .doctor-card {
    width: min(78vw, 350px);
  }

  .hero-shell {
    padding-top: 42px;
  }

  .academy-mark {
    margin-bottom: 18px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .academy-mark {
    font-size: 1.14rem;
  }

  .academy-mark strong {
    font-size: 3.8rem;
  }

  .hero-lede,
  .program-track > p:not(.eyebrow),
  .program-track li,
  .callout-copy p:last-child {
    font-size: 1rem;
  }

  .section-heading h2,
  .callout-copy h2 {
    font-size: 2.5rem;
  }

  .program-track h3 {
    font-size: 1.9rem;
  }

  .time-ribbon strong {
    font-size: 2rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .ems-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ems-button,
  .ems-button::after {
    animation: none;
  }
}

/* Modern EMS page redesign. */
body {
  background:
    linear-gradient(180deg, #eef7f7 0%, #f8fbfb 24%, #fff6f4 58%, #edf6f6 100%);
}

.ems-header {
  border-bottom-color: rgba(9, 59, 69, 0.12);
  background: rgba(241, 249, 249, 0.88);
  box-shadow: 0 14px 42px rgba(9, 59, 69, 0.08);
}

.ems-nav a {
  border: 1px solid rgba(9, 59, 69, 0.08);
  background: rgba(255, 255, 255, 0.64);
}

.ems-nav a:hover,
.ems-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.96);
}

.ems-nav .ems-tab {
  border-color: rgba(255, 229, 232, 0.8);
  background: linear-gradient(180deg, #f95d69 0%, #d92c42 52%, #8b0c23 100%);
}

.event-day-banner {
  background:
    radial-gradient(circle at 16% 0%, rgba(207, 39, 56, 0.18), transparent 36%),
    linear-gradient(180deg, #071d23 0%, #041116 100%);
  border-bottom: 1px solid rgba(214, 237, 238, 0.18);
  padding: clamp(16px, 2.4vw, 30px) 0;
}

.event-day-banner-frame {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(214, 237, 238, 0.22);
  border-radius: 8px;
  background: #02070a;
  box-shadow:
    0 26px 80px rgba(1, 11, 14, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.event-day-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.ems-hero {
  min-height: 700px;
  border-bottom: 0;
  background:
    linear-gradient(102deg, rgba(239, 248, 248, 0.98) 0%, rgba(255, 248, 246, 0.96) 48%, rgba(255, 248, 246, 0.42) 74%, rgba(239, 248, 248, 0.9) 100%),
    repeating-linear-gradient(135deg, rgba(9, 59, 69, 0.045) 0 1px, transparent 1px 34px);
}

.ems-hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: min(48vw, 760px);
  background:
    linear-gradient(180deg, rgba(9, 59, 69, 0.09), rgba(207, 39, 56, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(9, 59, 69, 0.04));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-shell {
  position: relative;
  z-index: 1;
  justify-content: center;
  padding: 72px 0 92px;
}

.hero-art {
  right: max(1vw, 14px);
  bottom: 4px;
  z-index: 0;
  width: min(44vw, 610px);
  height: min(94%, 720px);
  filter: drop-shadow(0 36px 52px rgba(32, 51, 58, 0.18));
}

.academy-mark {
  display: inline-flex;
  align-items: end;
  gap: 14px;
  border-left: 5px solid var(--red);
  margin-bottom: 24px;
  padding-left: 16px;
  color: var(--teal-deep);
  font-size: 1rem;
}

.academy-mark strong {
  color: var(--red);
  font-size: 4.6rem;
  line-height: 0.82;
}

.ems-hero .eyebrow {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(207, 39, 56, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(9, 59, 69, 0.08);
  padding: 0 13px;
}

h1 {
  max-width: 640px;
  margin: 18px 0 18px;
  color: #13252c;
  font-size: 5rem;
  line-height: 0.94;
}

.hero-lede {
  max-width: 570px;
  color: #364950;
  font-size: 1.16rem;
}

.hero-actions {
  margin-top: 28px;
}

.ems-button {
  min-height: 56px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fa626c, #cf2740 48%, #85091d);
  box-shadow:
    0 16px 34px rgba(130, 9, 29, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.hero-actions span {
  border-color: rgba(9, 59, 69, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-deep);
  box-shadow: 0 14px 32px rgba(9, 59, 69, 0.1);
}

.mission-band {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
}

.mission-inner {
  overflow: hidden;
  border: 1px solid rgba(214, 237, 238, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(110deg, #082c35 0%, #0d5961 54%, #30131b 100%);
  box-shadow: 0 28px 70px rgba(9, 59, 69, 0.2);
  transform: translateY(-34px);
}

.mission-inner p {
  min-height: 112px;
  padding-block: 20px;
}

.section-wrap {
  padding-top: 68px;
}

.section-heading {
  border-bottom-color: rgba(22, 35, 42, 0.12);
  margin-bottom: 30px;
}

.section-heading h2,
.callout-copy h2 {
  color: #10242b;
  font-size: 3.75rem;
}

.doctors-section {
  margin-top: -8px;
  background:
    linear-gradient(135deg, #071c24 0%, #0c313b 58%, #160a10 100%);
  color: #fff;
  padding: 0 0 78px;
}

.doctors-inner {
  padding-top: 82px;
}

.doctors-heading {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.doctors-heading span {
  color: #ffb3bd;
}

.doctors-heading h2 {
  color: #fff;
}

.doctor-carousel {
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  gap: 18px;
}

.doctor-scroll {
  width: 62px;
  height: 62px;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #f65261, #b41631);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.doctor-scroll:hover,
.doctor-scroll:focus-visible {
  background: linear-gradient(180deg, #ff707d, #c51d39);
  box-shadow:
    0 0 0 4px rgba(240, 76, 88, 0.14),
    0 22px 44px rgba(0, 0, 0, 0.34);
}

.doctor-card {
  width: clamp(360px, 40vw, 540px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.doctor-card img {
  background: rgba(4, 13, 18, 0.32);
}

.program-section {
  padding-top: 84px;
}

.program-grid {
  gap: 24px;
}

.program-track {
  position: relative;
  border-color: rgba(9, 59, 69, 0.14);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 24px 68px rgba(32, 51, 58, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.56) inset;
  padding: 36px;
}

.program-track::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
}

.awareness-track::before {
  background: linear-gradient(90deg, var(--teal), #49b2b7);
}

.donation-track::before {
  background: linear-gradient(90deg, var(--red), #f2646d);
}

.awareness-track,
.donation-track {
  background: rgba(255, 255, 255, 0.8);
}

.program-track h3 {
  color: #13252c;
  font-size: 2.35rem;
}

.program-track > p:not(.eyebrow),
.program-track li,
.callout-copy p:last-child {
  color: #40535a;
}

.program-track li {
  border-top-color: rgba(9, 59, 69, 0.12);
}

.event-callout {
  margin-top: 74px;
  border: 1px solid rgba(237, 248, 248, 0.46);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(7, 28, 36, 0.98), rgba(11, 72, 81, 0.96) 60%, rgba(130, 9, 29, 0.94));
  box-shadow: 0 30px 76px rgba(9, 59, 69, 0.2);
  padding: 42px;
}

.event-callout .eyebrow {
  color: #ffb3bd;
}

.event-callout .callout-copy h2,
.event-callout .callout-copy p {
  color: #fff;
}

.time-ribbon {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.time-ribbon strong {
  color: var(--red-deep);
}

.ems-footer {
  background: transparent;
}

@media (max-width: 900px) {
  .ems-hero {
    min-height: auto;
  }

  .ems-hero::before {
    display: none;
  }

  .hero-shell {
    padding: 52px 0 36px;
  }

  .hero-art {
    width: min(100%, 560px);
    height: auto;
    margin-top: 4px;
  }

  .academy-mark strong {
    font-size: 4.2rem;
  }

  h1 {
    font-size: 4.15rem;
  }

  .mission-inner {
    transform: translateY(-20px);
  }

  .doctors-inner {
    padding-top: 68px;
  }

  .doctor-carousel {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .doctor-scroll {
    width: 52px;
    height: 52px;
  }

  .doctor-card {
    width: min(74vw, 490px);
  }

  .program-section {
    padding-top: 64px;
  }

  .event-callout {
    padding: 30px;
  }
}

@media (max-width: 660px) {
  .hero-shell {
    padding-top: 42px;
  }

  .academy-mark {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-left: 12px;
  }

  .academy-mark strong {
    font-size: 3.3rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .mission-inner {
    border-radius: 8px;
  }

  .mission-inner p {
    min-height: 86px;
  }

  .section-wrap {
    padding-top: 54px;
  }

  .section-heading h2,
  .callout-copy h2 {
    font-size: 2.55rem;
  }

  .doctors-section {
    padding-bottom: 58px;
  }

  .doctors-inner {
    padding-top: 58px;
  }

  .doctor-carousel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctor-rail {
    grid-column: 1;
  }

  .doctor-scroll {
    grid-column: 1;
    grid-row: 2;
    width: 50px;
    height: 50px;
  }

  .doctor-scroll-prev {
    justify-self: start;
  }

  .doctor-scroll-next {
    justify-self: end;
  }

  .doctor-card {
    width: min(78vw, 350px);
  }

  .program-track {
    padding: 26px 22px;
  }

  .event-callout {
    margin-top: 54px;
    padding: 26px 22px;
  }
}

/* One-up doctor gallery: one large fitted photo per view. */
.doctor-carousel {
  grid-template-columns: 62px minmax(0, 1fr) 62px;
}

.doctor-rail {
  width: 100%;
}

.doctor-track {
  width: 100%;
  gap: 22px;
}

.doctor-card {
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.doctor-card img {
  object-fit: contain;
}

@media (max-width: 900px) {
  .doctor-carousel {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    gap: 14px;
  }

  .doctor-card {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 660px) {
  .doctor-carousel {
    grid-template-columns: 1fr;
  }

  .doctor-track {
    gap: 14px;
  }

  .doctor-card {
    flex-basis: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* Shared CNT navigation for event pages. */
.ems-header {
  z-index: 1000;
  overflow: visible;
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.95);
}

.ems-header .brand {
  color: #fff;
}

.ems-header .header-inner,
.ems-header .main-nav {
  overflow: visible;
}

.ems-header .main-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ems-header .main-nav a,
.ems-header .main-nav button,
.ems-header .main-nav .nav-dropdown-button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.ems-header .main-nav a:hover,
.ems-header .main-nav a:focus-visible,
.ems-header .main-nav button:hover,
.ems-header .main-nav button:focus-visible {
  outline: none;
  border-color: rgba(224, 0, 0, 0.52);
  background: rgba(224, 0, 0, 0.18);
  color: #fff;
}

.ems-header .main-nav .soul-events-button {
  border-color: rgba(244, 200, 75, 0.78);
  background: linear-gradient(180deg, #fff2ac, #f4c84b);
  color: #130d00;
  box-shadow: 0 0 18px rgba(244, 200, 75, 0.24), 0 10px 28px rgba(244, 200, 75, 0.12);
}

.ems-header .main-nav .soul-events-button:hover,
.ems-header .main-nav .soul-events-button:focus-visible {
  border-color: rgba(255, 235, 155, 0.88);
  background: linear-gradient(180deg, #fff6c9, #f4c84b);
  color: #090600;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-button {
  gap: 7px;
}

.nav-dropdown-button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 170ms ease;
}

.nav-dropdown.is-open .nav-dropdown-button::after,
.nav-dropdown:focus-within .nav-dropdown-button::after,
.nav-dropdown:hover .nav-dropdown-button::after {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1100;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(5, 5, 5, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}
