/* Design target: match provided screenshot as closely as possible. */
:root {
  --bg-0: #061425;
  --bg-1: #0a2136;
  --bg-2: #0a1a2c;
  --panel: #0e2b44;
  --panel-2: #0c2237;
  --teal: #0c4a67;
  --text: rgba(255, 255, 255, 0.94);
  --text-body: rgba(255, 255, 255, 0.84);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-subtle: rgba(255, 255, 255, 0.58);
  --muted: rgba(255, 255, 255, 0.7);
  --muted-2: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.08);
  --blue: #2f79c1;
  --blue-2: #3f8dd3;
  --orange: #d07044;
  --soft: rgba(255, 255, 255, 0.1);
  --shadow: none;
  --radius: 18px;
  --radius-lg: 26px;
  --serif: "Playfair Display", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --page-bg: #04101f;
  --hero-bg: #061a2f;
  --hero-float-accent: #62cdf2;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.1);
  --shadow-soft: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background: var(--page-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 50;
}
.skip:focus {
  left: 10px;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header / hero */
.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  background: var(--hero-bg);
  padding-bottom: 44px;
}

.hero.hero--illustration {
  overflow: visible;
}

.hero--illustration {
  --hero-bg: #1d6b99;
  background: var(--hero-bg);
  min-height: min(100dvh, 900px);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg-inner {
  position: absolute;
  inset: -20%;
  background: transparent;
  opacity: 0;
}

.hero--illustration {
  color: rgba(255, 255, 255, 0.94);
}
.hero--illustration .nav {
  color: rgba(255, 255, 255, 0.82);
}
.hero--illustration .nav__center a {
  opacity: 0.7;
}
.hero--illustration .nav__center a:hover {
  opacity: 1;
}
.hero--illustration .brand {
  opacity: 0.9;
}
.hero-illus-title {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(44px, 6vw, 72px);
  color: rgba(255, 255, 255, 0.95);
}
.hero-illus-title span {
  display: block;
}
.hero--illustration .kicker {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.22em;
}

.hero--illustration .kicker--center {
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 14px;
  max-width: 42rem;
}

/* First fold: student-led badge (above kicker) */
.hero-badge {
  margin: 2px auto 20px;
  max-width: min(36rem, 100%);
  text-align: center;
}

.hero-badge__inner {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: clamp(12px, 1.75vw, 15px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: none;
  color: #fff6c8;
  background: linear-gradient(
    165deg,
    rgba(255, 224, 120, 0.22) 0%,
    rgba(255, 190, 60, 0.1) 50%,
    rgba(20, 60, 85, 0.35) 100%
  );
  border: 1px solid rgba(255, 230, 150, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 28px rgba(0, 25, 45, 0.28);
  text-shadow: 0 1px 2px rgba(0, 20, 40, 0.45);
}

.hero--illustration .subhead,
.hero--illustration .hero-tagline {
  color: rgba(255, 255, 255, 0.78);
}

.hero--illustration .logo__ring {
  border-color: rgba(255, 255, 255, 0.28);
}
.hero--illustration .logo__text,
.hero--illustration .logo__small {
  color: rgba(255, 255, 255, 0.84);
}

.hero--illustration .hero-services,
.hero--illustration .marquee {
  background: rgba(0, 0, 0, 0.16);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero__content--fold {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Extra room so the overlapping wave doesn’t cover the program chips */
  padding-bottom: clamp(56px, 9vh, 120px);
}

/* Stack main column above the sticky wave so CTAs/chips aren’t painted under it */
.hero--illustration .hero__content--fold {
  position: relative;
  z-index: 3;
}

.kicker--center {
  text-align: center;
}

.headline--fold {
  margin: 0;
}
.headline--fold .headline__top,
.headline--fold .headline__bottom {
  line-height: 1.03;
}
.headline--fold .headline__bottom {
  margin-top: 4px;
}
.hero--illustration .headline--fold .headline__top {
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 600;
}
.hero--illustration .headline--fold .headline__bottom {
  font-size: clamp(48px, 6.2vw, 78px);
}
.subhead--fold {
  margin-top: clamp(14px, 2.2vh, 20px);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.65;
}
/* Subtitle under the main title — larger than body, still well below .headline--fold scale.
   Use .hero-tagline.hero-tagline--fold so this wins over the generic .hero-tagline rule below. */
.hero-tagline.hero-tagline--fold {
  margin: clamp(10px, 1.8vh, 18px) auto 0;
  font-family: var(--serif);
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
}
.hero--illustration .headline__top {
  color: rgba(255, 255, 255, 0.96);
}
.hero--illustration .headline__bottom {
  color: var(--hero-float-accent);
}
.hero--illustration .headline--fold .dot {
  color: var(--hero-float-accent);
}

.hero__illustration {
  margin-top: clamp(12px, 2vh, 22px);
  margin-bottom: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero__illustration img {
  width: min(920px, 88vw);
  height: auto;
  max-height: clamp(200px, 24vh, 296px);
  object-fit: contain;
  filter: none;
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* Hero motion — clearer stagger + visible float (disabled when prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero--illustration .hero__content--fold > * {
    animation: heroEnter 0.88s cubic-bezier(0.2, 0.85, 0.35, 1) both;
  }
  .hero--illustration .hero__content--fold > *:nth-child(1) {
    animation-delay: 0ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(2) {
    animation-delay: 110ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(3) {
    animation-delay: 220ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(4) {
    animation-delay: 330ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(5) {
    animation-delay: 440ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(6) {
    animation-delay: 550ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(7) {
    animation-delay: 660ms;
  }
  .hero--illustration .hero__content--fold > *:nth-child(8) {
    animation-delay: 770ms;
  }

  /* Float only on the art — stronger vertical drift so it reads as “alive” */
  .hero--illustration .hero__illustration img {
    animation: heroFloat 4.2s ease-in-out 0.85s infinite;
  }
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Wave: last flex child + sticky bottom — pins to viewport foot while hero scrolls, so it shows on load & early scroll */
.hero-water {
  width: 100%;
  height: clamp(88px, 11vw, 140px);
  flex-shrink: 0;
  margin-top: auto;
  position: sticky;
  bottom: 0;
  align-self: stretch;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  margin-bottom: clamp(-32px, -4vw, -48px);
}

#main {
  position: relative;
  z-index: 0;
  margin-top: clamp(-28px, -3.5vw, -44px);
}

/* Shorter viewports: tighten hero vertical rhythm so the wave lands in the first screen */
@media (max-height: 860px) {
  .hero--illustration .hero__illustration img {
    max-height: min(168px, 22vh);
  }
  .hero__content--fold {
    padding-bottom: clamp(36px, 5vh, 80px);
  }
}

.hero-water__layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  pointer-events: none;
}

.hero-water__layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-water__layer--1 {
    animation: heroWaveMove1 6s linear infinite;
    opacity: 0.85;
  }
  .hero-water__layer--2 {
    animation: heroWaveMove2 9s linear infinite;
    opacity: 0.92;
  }
  .hero-water__layer--3 {
    animation: heroWaveMove3 12s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-water__layer {
    width: 100%;
    animation: none !important;
  }
}

@keyframes heroWaveMove1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes heroWaveMove2 {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes heroWaveMove3 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta--fold {
  margin-top: clamp(18px, 2.8vh, 28px);
  gap: 10px 12px;
}

/* Hero CTA order: primary → secondary → tertiary */
.cta--priority {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.cta--priority .btn--orange {
  font-weight: 600;
}

.cta--priority .btn--outline {
  font-weight: 500;
  opacity: 0.96;
}

.hero-services--fold {
  width: 100%;
  max-width: 100%;
  margin-top: clamp(14px, 2.2vh, 22px);
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 14px;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  width: 100%;
  max-width: none;
  margin: 0;
  background: #1b6889;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.9;
}

.nav__center {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.nav__center a {
  opacity: 0.78;
  transition: opacity 180ms ease;
}
.nav__center a:hover {
  opacity: 1;
}

.nav__right {
  display: flex;
  justify-content: end;
}

.hero__content {
  position: relative;
  padding-top: 18px;
  text-align: center;
}

.hero__content.hero__content--fold {
  padding-top: clamp(20px, 3.5vh, 40px);
}

.logo {
  width: 88px;
  height: 88px;
  margin: 24px auto 12px auto;
  position: relative;
  display: grid;
  place-items: center;
}
.logo__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.logo__text {
  font-size: 10px;
  line-height: 1.05;
  opacity: 0.85;
  font-family: var(--serif);
}
.logo__small {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
  opacity: 0.75;
}
.logo__big {
  margin-top: 4px;
  font-weight: 600;
}

.kicker {
  margin: 10px 0 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.headline {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.headline__top {
  display: block;
  font-size: clamp(56px, 7.2vw, 84px);
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.92);
}
.headline__bottom {
  display: inline-block;
  font-size: clamp(62px, 7.8vw, 96px);
  line-height: 0.95;
  color: var(--blue-2);
}
.dot {
  color: rgba(255, 255, 255, 0.9);
}

.subhead {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.hero-tagline {
  margin: 14px auto 0;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-services {
  margin: 18px auto 0;
  width: min(980px, 100%);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
}

.service {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.74);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.service span {
  letter-spacing: 0.02em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform 120ms ease, filter 120ms ease, background 150ms ease, border-color 150ms ease;
  user-select: none;
  white-space: nowrap;
}
button.btn {
  font: inherit;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.btn:active {
  transform: translateY(0px);
}

.btn--pill {
  padding: 10px 16px;
}
.btn--orange {
  background: #cf6f47;
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.92);
}
.btn--soft {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}
.btn--blue {
  background: #2f79c1;
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.94);
}
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.hero__marquee {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.marquee {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.pill {
  opacity: 0.9;
}

/* Sections */
.section {
  padding: 76px 0;
}
.section--dark {
  background: #0c4a6a;
}
.section--teal {
  background: #071a2e;
}
.section--dark2 {
  background: #061425;
}

.section--book {
  background: #0e3f5c;
  padding: 56px 0 64px;
}

.book-tease {
  display: grid;
  grid-template-columns: minmax(270px, 350px) 1fr;
  column-gap: clamp(32px, 5vw, 56px);
  row-gap: 28px;
  align-items: center;
}

.book-tease__media {
  background: #fdf1e1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(14, 63, 92, 0.08);
  min-width: 0;
  overflow: hidden;
}

.book-tease__cover {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: none;
  border: 0;
}

.book-tease__copy {
  min-width: 0;
}

.book-tease__lede {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.book-tease__body {
  margin-top: 16px;
}

.book-tease__note {
  margin-top: 12px;
}

.book-tease__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.book-pledge {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 400px);
  column-gap: clamp(28px, 5vw, 48px);
  row-gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.book-pledge__eyebrow {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.94);
}

.book-pledge__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 38rem;
}

.book-pledge__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.book-pledge__media {
  background: #fdf1e1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.book-pledge__img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: none;
  border: 0;
}

.book-coloring {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px);
  column-gap: clamp(28px, 5vw, 48px);
  row-gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.book-coloring__eyebrow {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.94);
}

.book-coloring__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
  max-width: 38rem;
}

.book-coloring__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.book-coloring__media {
  background: #fdf1e1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.book-coloring__img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: none;
  border: 0;
}

.book-imara {
  display: grid;
  grid-template-columns: minmax(220px, 400px) 1fr;
  column-gap: clamp(28px, 5vw, 48px);
  row-gap: 28px;
  align-items: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.book-imara__media {
  background: #fdf1e1;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.book-imara__preview-label {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 35, 55, 0.52);
  text-align: center;
}

.book-imara__img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: none;
  border: 0;
}

.book-imara__copy {
  min-width: 0;
}

.book-imara__byline {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.book-imara__body {
  margin-top: 18px;
}

.book-imara__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.section--footer {
  background: #020a12;
  padding: 30px 0;
}

.section__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.section__eyebrow--center {
  text-align: center;
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(30px, 4vw, 44px);
}
.section__title--center {
  text-align: center;
}

.section__subtitle {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
.section__subtitle--center {
  text-align: center;
}
.accent {
  color: rgba(74, 160, 232, 0.95);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.stat {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px;
  box-shadow: none;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(74, 160, 232, 0.95);
  margin-bottom: 10px;
}
.stat__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.74);
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(48px, 6vw, 88px);
  row-gap: 40px;
  align-items: start;
}

.split__media {
  position: relative;
  min-height: 0;
  min-width: 0;
}

.split__copy {
  min-width: 0;
}

.split__figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  max-width: 100%;
}

.split__img {
  display: block;
  width: 100%;
  height: min(400px, 52vh);
  max-height: 420px;
  object-fit: cover;
  object-position: 72% center;
}
.media-card {
  height: 260px;
  border-radius: 18px;
  background: radial-gradient(700px 280px at 20% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.video-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  cursor: pointer;
}
.video-pill:hover {
  filter: brightness(1.06);
}
.video-pill__icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  position: relative;
}
.video-pill__icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid rgba(255, 255, 255, 0.62);
}

.body {
  margin: 14px 0 0;
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1rem;
}
.muted {
  color: var(--text-muted);
}

/* Cards */
.cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.card:hover,
.card:focus-within {
  transform: translateY(-10px);
  box-shadow: none;
  border-color: rgba(63, 141, 211, 0.55);
  background: rgba(12, 74, 103, 0.22);
}
.card__icon {
  font-size: 18px;
  line-height: 1;
  width: fit-content;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
}
.card__title {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: rgba(255, 255, 255, 0.94);
}
.card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

/* Match original: bluer eyebrow in "Where we show up" */
.section--dark2 .section__eyebrow {
  color: rgba(74, 160, 232, 0.62);
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}
.footer__logo {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.footer__links {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.footer__links a {
  opacity: 0.75;
}
.footer__links a:hover {
  opacity: 1;
}
.footer__meta {
  display: flex;
  justify-content: end;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}
.modal.is-open {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100% - 28px));
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 33, 54, 0.98), rgba(5, 20, 37, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  overflow: hidden;
}
.modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  cursor: pointer;
}
.modal__frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
}
.modal__placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.76);
}
.modal__title {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 6px;
}
.modal__hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

.modal__panel--mission {
  width: min(540px, calc(100% - 28px));
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.modal-prose {
  padding: 48px 28px 26px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-prose__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}
.modal-prose__lead {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.modal-prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.84);
}
.modal-prose__pull {
  margin: 18px 0 18px;
  padding-left: 14px;
  border-left: 3px solid rgba(74, 160, 232, 0.55);
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}
.modal-prose__eyebrow {
  margin: 22px 0 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(74, 160, 232, 0.82);
}
.modal-prose__last {
  margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left right"
      "center center";
  }
  .nav__left {
    grid-area: left;
  }
  .nav__right {
    grid-area: right;
  }
  .nav__center {
    grid-area: center;
    padding-top: 8px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .book-tease {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-tease__media {
    margin-left: auto;
    margin-right: auto;
    max-width: min(360px, 100%);
    width: 100%;
  }
  .book-tease__copy {
    text-align: center;
  }
  .book-tease__actions {
    justify-content: center;
  }
  .book-pledge {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-pledge__text {
    margin-left: auto;
    margin-right: auto;
  }
  .book-pledge__actions {
    justify-content: center;
  }
  .book-pledge__media {
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    width: 100%;
  }
  .book-coloring {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-coloring__text {
    margin-left: auto;
    margin-right: auto;
  }
  .book-coloring__actions {
    justify-content: center;
  }
  .book-coloring__media {
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
    width: 100%;
  }
  .book-imara {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-imara__copy {
    order: 2;
  }
  .book-imara__media {
    order: 1;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
    width: 100%;
  }
  .book-imara__body {
    margin-left: auto;
    margin-right: auto;
    max-width: 38rem;
  }
  .book-imara__actions {
    justify-content: center;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__meta {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 680px;
  }
  .marquee {
    border-radius: 18px;
  }
}
