/* ==========================================================================
   Astera Learning — shared design system
   Plain CSS, no build tools or external dependencies.
   ========================================================================== */

:root {
  --ink: #21172b;
  --ink-soft: #594f61;
  --plum: #4a2c62;
  --plum-deep: #24152f;
  --lavender: #c5a9df;
  --lavender-light: #e8dff0;
  --lavender-pale: #f3edf6;
  --cream: #f6f0e5;
  --cream-deep: #ece2d2;
  --paper: #fffdf8;
  --gold: #b69a62;
  --midnight: #08060d;
  --line: rgba(63, 42, 76, 0.14);
  --shadow-sm: 0 10px 30px rgba(42, 25, 52, 0.08);
  --shadow-lg: 0 30px 80px rgba(25, 14, 34, 0.14);
  --radius-sm: 0.9rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.2rem;
  --max-width: 1180px;
  --header-height: 5.25rem;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #8b61b2;
  outline-offset: 4px;
}

::selection {
  background: var(--lavender);
  color: var(--plum-deep);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.narrow {
  width: min(780px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}

.eyebrow.light {
  color: #e9dbf5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

.display-small {
  font-size: clamp(2.65rem, 5.4vw, 5.2rem);
}

.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.text-link::after {
  content: "↗";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(0.15rem, -0.15rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--plum-deep);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #d0b7e5;
  box-shadow: 0 10px 28px rgba(82, 46, 110, 0.2);
}

.button-dark {
  background: var(--plum-deep);
  color: #fff;
}

.button-dark:hover {
  background: #382044;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-full {
  width: 100%;
}

/* Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: #fff;
  transition:
    height 300ms ease,
    color 300ms ease,
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(4, 3, 8, 0.44), transparent);
  content: "";
  pointer-events: none;
  transition: opacity 300ms ease;
}

.site-header.is-solid,
.site-header.internal-header {
  border-bottom: 1px solid rgba(71, 48, 83, 0.12);
  background: rgba(246, 240, 229, 0.9);
  box-shadow: 0 8px 30px rgba(40, 25, 50, 0.06);
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}

.site-header.is-solid::before,
.site-header.internal-header::before {
  opacity: 0;
}

.nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header .nav-wrap {
  width: calc(100% - 2rem);
  max-width: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.23rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.92;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  top: -0.14rem;
  right: 0.08rem;
  width: 0.34rem;
  height: 0.34rem;
  box-shadow: 0 0 10px currentColor;
}

.brand-mark::after {
  top: 50%;
  left: 50%;
  width: 0.24rem;
  height: 0.24rem;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.brand-lockup {
  display: grid;
  gap: 0.02rem;
  line-height: 1;
}

.brand-lockup strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.brand-lockup small {
  font-family: var(--sans);
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  opacity: 0.66;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.7vw, 1.35rem);
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 670;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header:not(.is-solid):not(.internal-header) .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(211, 185, 231, 0.14);
  color: #fff;
  backdrop-filter: blur(12px);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  content: "";
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  transform: translateY(-0.34rem);
}

.menu-toggle-lines::after {
  position: absolute;
  transform: translateY(0.34rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: rotate(-45deg);
}

/* Cinematic homepage
   -------------------------------------------------------------------------- */

.cinematic {
  position: relative;
  z-index: 0;
  height: 620vh;
  background: var(--midnight);
  color: #fff;
  --progress: 0;
  --earth-progress: 0;
  --earth-fade: 0;
  --community-progress: 0;
  --community-fade: 0;
  --talent-fade: 0;
  --mission-fade: 0;
  --handoff: 0;
}

.cinematic-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 74%, rgba(100, 66, 128, 0.22), transparent 36%),
    linear-gradient(180deg, #07050b 0%, #0b0711 72%, #160f20 100%);
}

.cinematic-vignette {
  position: absolute;
  inset: 0;
  z-index: 12;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), transparent 22%, transparent 68%, rgba(6, 3, 8, 0.48)),
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.5) 108%);
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: -12%;
  z-index: 1;
  pointer-events: none;
  will-change: transform, opacity;
}

.stars-near {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 0.8px, transparent 1px),
    radial-gradient(circle, rgba(216, 194, 238, 0.75) 0 0.65px, transparent 0.9px);
  background-position:
    0 0,
    47px 83px;
  background-size:
    142px 157px,
    197px 213px;
  opacity: calc(1 - (var(--progress) * 1.25));
  transform: translate3d(0, calc(var(--progress) * -12vh), 0) scale(calc(1 + var(--progress) * 0.25));
}

.stars-far {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.42) 0 0.6px, transparent 0.8px),
    radial-gradient(circle, rgba(255, 233, 198, 0.3) 0 0.5px, transparent 0.75px);
  background-position:
    21px 44px,
    99px 129px;
  background-size:
    91px 117px,
    161px 181px;
  opacity: calc(0.7 - (var(--progress) * 0.7));
  transform: translate3d(0, calc(var(--progress) * -5vh), 0) scale(calc(1 + var(--progress) * 0.08));
}

.cosmic-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 0;
  width: min(90vw, 70rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 115, 187, 0.2), transparent 64%);
  filter: blur(30px);
  opacity: calc(0.8 - (var(--progress) * 0.6));
  transform: translate(-50%, -50%) scale(calc(0.82 + var(--progress) * 0.55));
}

.opening-copy,
.talent-copy,
.mission-copy {
  position: absolute;
  z-index: 15;
  left: 50%;
  width: min(920px, calc(100% - 2.5rem));
  text-align: center;
  transform: translateX(-50%);
  will-change: transform, opacity;
}

.opening-copy {
  top: 50%;
  opacity: var(--opening-fade, 1);
  transform: translate(-50%, calc(-50% - var(--progress) * 14vh)) scale(calc(1 - var(--progress) * 0.08));
}

.opening-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(2.4rem, 6vh, 4.8rem);
  color: #eee2f5;
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.opening-copy h1 {
  margin-bottom: 1.25rem;
  color: #fffdf8;
  font-size: clamp(3.1rem, 7.8vw, 7.7rem);
  font-weight: 400;
  text-wrap: balance;
}

.opening-copy p {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 200ms ease;
}

.scroll-cue::before {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, currentColor);
  content: "";
}

.earth-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: var(--earth-fade);
  transform:
    translate3d(
      0,
      calc((1 - var(--earth-progress)) * 18vh),
      0
    )
    scale(calc(0.36 + var(--earth-progress) * 1.62));
  transform-origin: 50% 66%;
  will-change: transform, opacity, filter;
}

.earth-layer::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 64%, rgba(13, 8, 17, 0.55));
  content: "";
}

.earth-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.atmosphere {
  position: absolute;
  inset: -15%;
  z-index: 7;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(214, 194, 230, 0.45), transparent 46%),
    linear-gradient(to bottom, transparent 45%, rgba(128, 97, 146, 0.14));
  opacity: calc(var(--community-progress) * 0.9);
  filter: blur(calc(var(--community-progress) * 8px));
  pointer-events: none;
}

.cloud {
  position: absolute;
  z-index: 8;
  width: 78vw;
  height: 26vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245, 237, 230, 0.55), rgba(236, 225, 229, 0.12) 52%, transparent 72%);
  filter: blur(18px);
  opacity: calc(var(--community-progress) * 0.72);
  will-change: transform, opacity;
}

.cloud-one {
  top: 22%;
  left: -35%;
  transform: translateX(calc(var(--community-progress) * 52vw)) scale(calc(0.8 + var(--community-progress) * 0.5));
}

.cloud-two {
  right: -42%;
  bottom: 13%;
  transform: translateX(calc(var(--community-progress) * -55vw)) scale(calc(0.7 + var(--community-progress) * 0.65));
}

.community-layer {
  position: absolute;
  inset: -4%;
  z-index: 6;
  opacity: var(--community-fade);
  transform:
    translate3d(0, calc((1 - var(--community-progress)) * 10vh), 0)
    scale(calc(1.14 - var(--community-progress) * 0.1));
  will-change: transform, opacity, filter;
}

.community-layer::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 8, 15, 0.76) 0%, rgba(13, 8, 15, 0.32) 48%, rgba(13, 8, 15, 0.06) 75%),
    linear-gradient(to top, rgba(20, 11, 24, 0.75), transparent 55%);
  content: "";
}

.community-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-copy {
  top: 44%;
  opacity: var(--talent-fade);
  transform: translate(-50%, calc(-50% + (1 - var(--talent-fade)) * 3rem));
}

.talent-copy p {
  margin: 0;
  color: #fffaf3;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.mission-copy {
  top: 47%;
  max-width: 1000px;
  opacity: var(--mission-fade);
  text-align: left;
  transform: translate(-50%, calc(-50% + (1 - var(--mission-fade)) * 3.2rem));
}

.mission-copy h2 {
  max-width: 900px;
  margin-bottom: 1.35rem;
  color: #fffaf3;
  font-size: clamp(2rem, 4.6vw, 4.7rem);
  text-wrap: balance;
}

.mission-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.cream-handoff {
  position: absolute;
  right: -5%;
  bottom: -24%;
  left: -5%;
  z-index: 30;
  height: 52%;
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
  background: var(--cream);
  box-shadow: 0 -30px 80px rgba(247, 239, 226, 0.16);
  transform: translateY(calc((1 - var(--handoff)) * 100%));
  will-change: transform;
}

/* Cinematic v2 — stars, warp travel, and a scroll-rotated Earth
   -------------------------------------------------------------------------- */

.cinematic-v2 {
  height: 590vh;
  --opening-fade: 1;
  --warp-intensity: 0;
  --space-fade: 1;
  --earth-fade: 0;
  --earth-progress: 0;
  --earth-copy-fade: 0;
  --earth-mission-fade: 0;
  --origin-fade: 0;
  --handoff: 0;
}

.cinematic-v2 .cinematic-stage {
  background:
    radial-gradient(circle at 50% 48%, rgba(75, 46, 95, 0.16), transparent 32%),
    linear-gradient(180deg, #030207 0%, #07040c 75%, #110a17 100%);
  contain: layout paint style;
  isolation: isolate;
}

.warp-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: var(--space-fade);
  pointer-events: none;
  will-change: opacity;
}

.warp-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(80vw, 64rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(215, 191, 233, 0.22),
    rgba(92, 58, 118, 0.1) 30%,
    transparent 65%
  );
  opacity: calc(0.08 + var(--warp-intensity) * 0.72);
  transform: translate(-50%, -50%) scale(calc(0.65 + var(--warp-intensity) * 0.55));
  pointer-events: none;
  will-change: opacity, transform;
}

.journey-copy,
.earth-message,
.earth-mission-message,
.astera-origin-message {
  position: absolute;
  z-index: 16;
  left: 50%;
  width: min(960px, calc(100% - 2.5rem));
  transform: translateX(-50%);
}

.journey-copy {
  top: 50%;
  opacity: var(--opening-fade);
  text-align: center;
  transform:
    translate(-50%, calc(-50% - var(--progress) * 8vh))
    scale(calc(1 - var(--progress) * 0.05));
  will-change: opacity, transform;
}

.journey-kicker {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vh, 4rem);
  color: rgba(244, 234, 250, 0.78);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.journey-copy h1 {
  margin-bottom: 1.2rem;
  color: #fffdf8;
  font-size: clamp(3.1rem, 7.8vw, 7.7rem);
  font-weight: 400;
  text-wrap: balance;
}

.journey-copy > p:last-child {
  max-width: 690px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.earth-stage {
  position: absolute;
  inset: 0;
  z-index: 6;
  contain: layout paint style;
  isolation: isolate;
  pointer-events: none;
}

.earth-aura {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(82vw, 86vh);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 57%, rgba(112, 156, 219, 0.11) 63%, transparent 70%),
    radial-gradient(circle at 48% 22%, rgba(202, 222, 244, 0.08), transparent 43%);
  opacity: var(--earth-fade);
  transform:
    translate3d(-50%, calc(-50% + (1 - var(--earth-progress)) * 15vh), 0)
    scale(calc(0.5568 + var(--earth-progress) * 0.812));
  will-change: opacity, transform;
}

.earth-globe {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(67vw, 72vh);
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #070a2c;
  box-shadow: 0 0 18px rgba(131, 174, 235, 0.3);
  opacity: var(--earth-fade);
  transform:
    translate3d(-50%, calc(-50% + (1 - var(--earth-progress)) * 15vh), 0)
    rotate(-8deg)
    scale(calc(0.48 + var(--earth-progress) * 0.7));
  will-change: opacity, transform;
}

.earth-render,
.earth-shadow,
.earth-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.earth-render {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("assets/backgrounds/nasa-earth-4096.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  image-rendering: auto;
  transform: translateZ(0);
}

.earth-render.is-webgl {
  background: none;
}

.earth-shadow {
  display: none;
}

.earth-sheen {
  display: none;
}

.earth-message {
  top: 50%;
  opacity: var(--earth-copy-fade);
  text-align: center;
  transform: translate(-50%, calc(-50% + (1 - var(--earth-copy-fade)) * 2rem));
  will-change: opacity, transform;
}

.earth-message::before {
  position: absolute;
  inset: -5rem -3rem;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(5, 3, 10, 0.78), transparent 68%);
  content: "";
}

.earth-message h2 {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: #fffaf3;
  font-size: clamp(2.25rem, 5.5vw, 5.4rem);
  text-wrap: balance;
}

.earth-message p:last-child {
  max-width: 670px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.5vw, 1.14rem);
}

.earth-mission-message {
  top: 50%;
  opacity: var(--earth-mission-fade);
  text-align: center;
  transform: translate(-50%, calc(-50% + (1 - var(--earth-mission-fade)) * 2rem));
  will-change: opacity, transform;
}

.earth-mission-message::before {
  position: absolute;
  inset: -6rem -4rem;
  z-index: -1;
  background: radial-gradient(ellipse, rgba(5, 3, 10, 0.82), transparent 69%);
  content: "";
}

.earth-mission-message blockquote {
  max-width: 960px;
  margin: 0 auto;
  color: #fffaf3;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 6vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.origin-blackout {
  position: absolute;
  inset: 0;
  z-index: 14;
  background: #020104;
  opacity: var(--origin-fade);
  pointer-events: none;
}

.astera-origin-message {
  top: 50%;
  width: min(1040px, calc(100% - 2.5rem));
  opacity: var(--origin-fade);
  pointer-events: none;
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
}

.origin-kicker {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: clamp(1.7rem, 4vh, 3rem);
}

.origin-kicker::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow: 0 0 18px 5px rgba(202, 170, 226, 0.42);
  content: "";
}

.origin-definition {
  width: 100%;
  margin-bottom: clamp(2.7rem, 6vh, 4.7rem);
}

.origin-definition h2 {
  margin-bottom: 0.6rem;
  color: #fffaf3;
  font-size: clamp(4rem, 8.5vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.origin-definition p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  letter-spacing: 0.07em;
}

.origin-definition em {
  color: rgba(232, 213, 244, 0.88);
  font-family: var(--serif);
  font-size: 1.08em;
}

.origin-sentence {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.22em;
  max-width: 980px;
  margin: 0 auto;
  color: #fffaf3;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5.15vw, 5.2rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.origin-sentence span {
  flex: 0 0 auto;
  opacity: var(--word-opacity, 0.18);
  transform: translate3d(0, var(--word-lift, 0), 0) scale(var(--word-scale, 1));
  transform-origin: 50% 65%;
}

.origin-sentence span:last-child {
  color: var(--word-color, #fffaf3);
  text-shadow:
    0 0 0.32em rgb(197 169 223 / var(--word-glow, 0)),
    0 0 0.72em rgb(197 169 223 / var(--word-glow, 0));
}

.cinematic-v2 .cream-handoff {
  height: 48%;
  bottom: -21%;
  border-radius: 48% 48% 0 0 / 14% 14% 0 0;
}

.cinematic-v2 .scroll-cue {
  opacity: var(--opening-fade);
}

/* Shared page sections
   -------------------------------------------------------------------------- */

.site-main {
  position: relative;
  z-index: 2;
  background: var(--cream);
}

.home-main {
  margin-top: -1px;
}

.js-enabled .home-main {
  --main-offset: 100svh;
  margin-top: calc(-100svh - 1px);
  transform: translate3d(0, var(--main-offset), 0);
  will-change: transform;
}

.js-enabled .home-main::before {
  position: absolute;
  top: -7svh;
  right: -5%;
  left: -5%;
  height: 8svh;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--cream);
  content: "";
}

.js-enabled .cinematic-v2 .cream-handoff {
  display: none;
}

.section {
  padding: clamp(5.5rem, 11vw, 10rem) 0;
}

.section-compact {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-paper {
  background: var(--paper);
}

.section-deep {
  position: relative;
  overflow: hidden;
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.78);
}

.section-deep::before {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 156, 219, 0.17), transparent 67%);
  content: "";
}

.section-deep h2,
.section-deep h3 {
  color: #fffaf3;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.intro-note {
  padding: 1.7rem;
  border-left: 2px solid var(--gold);
  color: var(--ink-soft);
}

.intro-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.step-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-card > div {
  width: 100%;
}

.step-card h3 {
  display: flex;
  align-items: flex-end;
  min-height: 3.2rem;
  text-wrap: balance;
}

.step-number {
  display: block;
  margin-bottom: 3.7rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.support-item {
  min-height: 11rem;
  padding: 1.7rem 1.4rem 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.support-item:nth-child(3n + 2),
.support-item:nth-child(3n + 3) {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.support-item span {
  display: inline-grid;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender-light);
  color: var(--plum);
  font-family: var(--serif);
}

.support-item h3 {
  margin-bottom: 0.4rem;
  font-size: 1.26rem;
}

.support-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.program-feature {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: var(--radius-lg);
  background: var(--plum-deep);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 255, 255, 0.74);
}

.program-copy {
  padding: clamp(2.4rem, 6vw, 5.2rem);
}

.program-copy h2 {
  color: #fffaf3;
}

.program-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(198, 165, 221, 0.42), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(109, 74, 134, 0.45), transparent 48%),
    #160d20;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 212, 242, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before,
.orbit::after {
  position: absolute;
  border: 1px solid rgba(230, 212, 242, 0.15);
  border-radius: 50%;
  content: "";
}

.orbit::before {
  inset: 16%;
}

.orbit::after {
  inset: 33%;
}

.orbit-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow:
    0 0 22px 8px rgba(224, 200, 235, 0.48),
    8rem -8rem 0 -0.3rem #d4bce6,
    -9rem 6rem 0 -0.35rem #c9a36b,
    11rem 8rem 0 -0.35rem #fff;
  transform: translate(-50%, -50%);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.92rem;
}

.check-list li::before {
  position: absolute;
  top: 0.67rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--lavender);
  content: "";
}

.vision-panel {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.future-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.future-list li {
  display: flex;
  gap: 1.2rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.future-list span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.language-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.language-quote {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 50% 50% 45% 55% / 52% 45% 55% 48%;
  background: var(--lavender-light);
}

.language-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.callout {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  background: var(--lavender-light);
}

.callout h2 {
  margin-bottom: 0.7rem;
}

.callout p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.callout-dark {
  background: var(--plum-deep);
  color: rgba(255, 255, 255, 0.75);
}

.callout-dark h2 {
  color: #fffaf3;
}

.callout-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 13vw, 11rem) 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(193, 159, 220, 0.18), transparent 22%),
    var(--plum-deep);
  color: #fff;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -18rem;
  left: 50%;
  width: 48rem;
  height: 48rem;
  transform: translateX(-50%);
}

.final-cta::after {
  top: -11rem;
  left: 50%;
  width: 34rem;
  height: 34rem;
  transform: translateX(-50%);
}

.final-cta h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  color: #fffaf3;
  font-size: clamp(3rem, 7.5vw, 7.4rem);
}

.final-cta .button-row {
  position: relative;
  z-index: 2;
  justify-content: center;
}

/* Internal pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + clamp(5.5rem, 10vw, 9rem)) 0 clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(circle at 82% 32%, rgba(172, 135, 197, 0.3), transparent 24%),
    radial-gradient(circle at 11% 76%, rgba(181, 154, 99, 0.11), transparent 24%),
    var(--plum-deep);
  color: rgba(255, 255, 255, 0.74);
}

.page-hero::after {
  position: absolute;
  top: 18%;
  right: 9%;
  width: clamp(10rem, 25vw, 20rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 60px rgba(197, 169, 223, 0.06),
    0 0 0 3rem rgba(255, 255, 255, 0.015),
    0 0 0 6rem rgba(255, 255, 255, 0.01);
  content: "";
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 930px;
  margin-bottom: 1.4rem;
  color: #fffaf3;
  text-wrap: balance;
}

.page-hero .lead,
.page-hero .eyebrow {
  position: relative;
  z-index: 2;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}

.page-intro {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.big-statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.3vw, 3.1rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-card {
  min-height: 220px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card span {
  display: block;
  margin-bottom: 3rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.value-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.profile-image {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.52), transparent 25%),
    linear-gradient(145deg, var(--lavender-pale), #ddcee9);
}

.profile-image::before {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(74, 44, 98, 0.14);
  box-shadow: 0 4.5rem 0 2rem rgba(74, 44, 98, 0.11);
  content: "";
}

.profile-image span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.profile-content {
  padding: 1.7rem;
}

.profile-role {
  margin-bottom: 0.7rem;
  color: var(--plum);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.team-story-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(226, 213, 236, 0.16), transparent 36%),
    var(--cream);
}

.team-story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.team-story-rail {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  display: grid;
  min-height: calc(100svh - var(--header-height) - 3rem);
  padding: 1.5rem 0;
  align-items: center;
}

.team-orbit-panel {
  position: relative;
  display: flex;
  min-height: min(620px, calc(100svh - var(--header-height) - 4rem));
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 68% 20%, rgba(188, 151, 216, 0.2), transparent 22%),
    linear-gradient(155deg, #2a1838, #120b1a 78%);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 255, 255, 0.68);
}

.team-orbit-art {
  position: absolute;
  top: 8%;
  right: -18%;
  width: min(26rem, 86%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.8rem rgba(255, 255, 255, 0.025),
    0 0 0 7.4rem rgba(255, 255, 255, 0.014);
}

.team-orbit-art::before,
.team-orbit-art::after {
  position: absolute;
  border: 1px solid rgba(224, 203, 239, 0.13);
  border-radius: 50%;
  content: "";
}

.team-orbit-art::before {
  inset: 21%;
}

.team-orbit-art::after {
  inset: 39%;
}

.team-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #fff8e8;
  box-shadow:
    0 0 24px 7px rgba(213, 184, 232, 0.44),
    -6.5rem 3.8rem 0 -0.15rem rgba(216, 190, 236, 0.8),
    5.2rem -4.5rem 0 -0.2rem rgba(211, 169, 103, 0.82);
  transform: translate(-50%, -50%);
}

.team-orbit-copy,
.team-story-nav {
  position: relative;
  z-index: 2;
}

.team-orbit-copy {
  margin-top: auto;
  margin-bottom: clamp(2.5rem, 8vh, 5rem);
}

.team-counter {
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  margin-bottom: 0.8rem;
  color: #fffaf3;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.team-counter small {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.team-orbit-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.team-story-nav {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.team-story-nav a {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.team-story-nav a span {
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.team-story-nav a[aria-current="true"] {
  color: #fffaf3;
}

.team-story-list {
  padding-bottom: 8vh;
}

.team-person {
  position: relative;
  display: grid;
  min-height: 78svh;
  scroll-margin-top: calc(var(--header-height) + 2rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) clamp(0rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}

.team-person-number {
  position: absolute;
  top: 50%;
  right: 0;
  color: rgba(63, 38, 82, 0.045);
  font-family: var(--serif);
  font-size: clamp(10rem, 24vw, 22rem);
  letter-spacing: -0.08em;
  line-height: 0.75;
  transform: translateY(-50%);
}

.team-person-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.team-person h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(3.2rem, 7vw, 7rem);
  letter-spacing: -0.045em;
}

.team-person .lead {
  max-width: 590px;
  margin-bottom: 2rem;
}

.team-person-focus {
  margin: 0;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.js-enabled .team-person {
  opacity: 0.34;
  transform: translateY(2rem);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-enabled .team-person.is-active {
  opacity: 1;
  transform: translateY(0);
}

.profile-meta {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.feature-band > div {
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 255, 255, 0.035);
}

.feature-band .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.fact {
  padding: 2rem 2rem 0 0;
}

.fact + .fact {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.fact strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--plum);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.fact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* Forms
   -------------------------------------------------------------------------- */

.path-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.path-switcher a {
  display: inline-flex;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.form-section {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.form-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.form-aside p {
  color: var(--ink-soft);
}

.form-note {
  margin-top: 1.5rem;
  padding: 1.15rem;
  border-left: 2px solid var(--gold);
  background: rgba(255, 253, 248, 0.6);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-card {
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.form-card fieldset {
  margin: 0 0 2.2rem;
  padding: 0;
  border: 0;
}

.form-card legend {
  width: 100%;
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 730;
}

.field small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(70, 46, 83, 0.22);
  border-radius: 0.78rem;
  background: #fff;
  color: var(--ink);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #8f6aaa;
  box-shadow: 0 0 0 3px rgba(143, 106, 170, 0.16);
}

.field [aria-invalid="true"] {
  border-color: #a93e4d;
}

.error-message {
  min-height: 1em;
  color: #943242;
  font-size: 0.76rem;
  font-weight: 650;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(246, 240, 229, 0.36);
  font-size: 0.86rem;
}

.choice input {
  width: 1rem;
  height: 1rem;
  margin: 0.28rem 0 0;
  accent-color: var(--plum);
}

.form-status {
  display: none;
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 0.75rem;
  background: #f3ead9;
  color: #4d3a21;
  font-size: 0.88rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #f8e6e8;
  color: #7f2837;
}

/* FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.45rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  text-align: left;
}

.faq-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 4rem 1.5rem 0;
}

.faq-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: clamp(4rem, 8vw, 7rem) 0 2rem;
  background: #160e1d;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 0.7fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.site-footer .brand {
  margin-bottom: 1.2rem;
  color: #fffaf3;
}

.footer-mission {
  max-width: 420px;
}

.footer-heading {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: inherit;
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.footer-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Reveal motion
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) - 0.25rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    max-height: calc(100svh - var(--header-height) - 1rem);
    gap: 1.5rem;
    padding: 1.3rem;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: rgba(255, 253, 248, 0.97);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem) scale(0.98);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .site-header:not(.is-solid):not(.internal-header) .nav-menu.is-open {
    color: var(--ink);
  }

  .site-header:not(.is-solid):not(.internal-header) .nav-menu.is-open .nav-cta {
    background: var(--lavender);
    color: var(--plum-deep);
  }

  .cards-grid.four,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .intro-grid,
  .page-intro,
  .language-note,
  .vision-panel {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .program-feature {
    grid-template-columns: 1fr;
  }

  .program-visual {
    min-height: 380px;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .callout {
    grid-template-columns: 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 4.75rem;
  }

  .container,
  .narrow {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .cinematic {
    height: 520vh;
  }

  .cinematic-v2 {
    height: 520vh;
  }

  .cinematic-stage {
    min-height: 520px;
  }

  .opening-copy,
  .talent-copy,
  .mission-copy {
    width: calc(100% - 1.5rem);
  }

  .opening-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .opening-wordmark {
    margin-bottom: 2rem;
  }

  .journey-copy,
  .earth-message,
  .earth-mission-message,
  .astera-origin-message {
    width: calc(100% - 1.5rem);
  }

  .journey-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .journey-kicker {
    margin-bottom: 2rem;
  }

  .earth-globe {
    width: min(89vw, 62vh);
  }

  .earth-aura {
    width: min(105vw, 75vh);
  }

  .earth-message {
    top: 54%;
  }

  .earth-message h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .earth-mission-message blockquote {
    font-size: clamp(2.25rem, 10vw, 3.6rem);
  }

  .origin-sentence {
    font-size: clamp(2rem, 9vw, 3.35rem);
    line-height: 1.1;
  }

  .origin-definition {
    margin-bottom: 2.8rem;
  }

  .origin-definition h2 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .origin-definition p {
    max-width: 20rem;
    margin-inline: auto;
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .community-layer {
    inset: 0;
  }

  .community-layer img {
    object-position: 62% center;
  }

  .community-layer::after {
    background:
      linear-gradient(to top, rgba(13, 8, 15, 0.88) 3%, rgba(13, 8, 15, 0.34) 74%),
      rgba(10, 6, 12, 0.12);
  }

  .mission-copy {
    top: 54%;
    text-align: center;
  }

  .mission-copy h2 {
    font-size: clamp(1.85rem, 8.4vw, 3rem);
  }

  .scroll-cue {
    bottom: 1rem;
  }

  .cards-grid,
  .cards-grid.four,
  .support-grid,
  .profile-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .support-item,
  .support-item:nth-child(3n + 2),
  .support-item:nth-child(3n + 3) {
    min-height: 0;
    padding: 1.4rem 0;
    border-left: 0;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .team-story-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .team-story-rail {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 2.5rem 0 0;
  }

  .team-orbit-panel {
    min-height: 420px;
  }

  .team-orbit-art {
    top: -10%;
    width: min(23rem, 82%);
  }

  .team-orbit-copy {
    margin-bottom: 2.5rem;
  }

  .team-story-list {
    padding-bottom: 0;
  }

  .team-person {
    min-height: 68svh;
    padding: 5rem 0.75rem;
  }

  .team-person h2 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .step-card {
    min-height: 230px;
  }

  .step-card h3 {
    min-height: 0;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 2rem 1.35rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .feature-band .check-list {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact + .fact {
    padding: 1.4rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom {
    display: grid;
  }

  .button-row {
    align-items: stretch;
  }

  .button-row .button {
    flex: 1 1 100%;
  }
}

/* Reduced motion: replace the pinned sequence with a readable static journey. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cinematic {
    height: auto;
  }

  .cinematic-v2 {
    height: auto;
  }

  .js-enabled .home-main {
    margin-top: -1px;
    transform: none;
  }

  .js-enabled .home-main::before {
    display: none;
  }

  .cinematic-stage {
    position: relative;
    display: grid;
    height: auto;
    min-height: 0;
    padding-top: calc(var(--header-height) + 3rem);
    overflow: visible;
    background: var(--midnight);
  }

  .stars,
  .cosmic-glow,
  .atmosphere,
  .cloud,
  .warp-canvas,
  .warp-core,
  .cinematic-vignette,
  .scroll-cue,
  .origin-blackout,
  .cream-handoff {
    display: none;
  }

  .opening-copy,
  .talent-copy,
  .mission-copy,
  .earth-layer,
  .community-layer,
  .journey-copy,
  .earth-stage,
  .earth-message,
  .earth-mission-message,
  .astera-origin-message {
    position: relative;
    inset: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    transform: none;
  }

  .opening-copy {
    min-height: 70svh;
    padding: 12vh max(1.25rem, calc((100% - 920px) / 2));
  }

  .journey-copy {
    display: grid;
    min-height: 78svh;
    align-content: center;
    padding: 12vh max(1.25rem, calc((100% - 920px) / 2));
  }

  .earth-layer {
    height: 62svh;
    min-height: 420px;
  }

  .earth-stage {
    height: 74svh;
    min-height: 500px;
  }

  .earth-globe {
    top: 50%;
    width: min(80vw, 64vh);
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) rotate(-8deg);
  }

  .earth-aura {
    top: 50%;
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale(1.16);
  }

  .talent-copy {
    padding: 5rem 1.25rem;
    background: #130c19;
  }

  .community-layer {
    height: 65svh;
    min-height: 460px;
  }

  .community-layer::after {
    background: linear-gradient(to top, rgba(13, 8, 15, 0.82), transparent);
  }

  .mission-copy {
    z-index: 15;
    margin-top: -16rem;
    padding: 3rem max(1.25rem, calc((100% - 1000px) / 2)) 5rem;
    text-align: left;
  }

  .earth-message {
    padding: 5rem max(1.25rem, calc((100% - 900px) / 2)) 6rem;
    background: #100817;
  }

  .earth-mission-message {
    padding: 5rem max(1.25rem, calc((100% - 900px) / 2)) 6rem;
    background: #100817;
  }

  .astera-origin-message {
    padding: 6rem max(1.25rem, calc((100% - 1040px) / 2)) 7rem;
    background: #020104;
  }

  .earth-message::before,
  .earth-mission-message::before {
    display: none;
  }

  .origin-sentence span {
    opacity: 1;
    transform: none;
  }

  .team-story-layout {
    grid-template-columns: 1fr;
  }

  .team-story-rail {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .team-person,
  .js-enabled .team-person,
  .js-enabled .team-person.is-active {
    min-height: 0;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .scroll-cue,
  .button-row,
  .site-footer {
    display: none !important;
  }

  .cinematic {
    height: auto;
  }

  .cinematic-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 2rem;
  }
}
