.journey-page {
  --journey-night: #081317;
  --journey-ink: #f1f1e9;
  --journey-muted: #a5b0ad;
  --journey-hairline: rgba(198, 216, 208, .18);
  --journey-gold: #e9ca7b;
  background: var(--paper);
  color: var(--ink);
}

/* This interactive page must remain visible even when a preview host delays
   JavaScript callbacks. The point cloud is decorative; it must never gate paint. */
.journey-page .entry-wipe { display: none; }
.journey-page .hero-copy { opacity: 1; }

.journey-page .journey-veil {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: var(--journey-night);
  opacity: var(--journey-nightness, 0);
  pointer-events: none;
  will-change: opacity;
}

.journey-page .journey-particle-canvas {
  position: fixed;
  z-index: 5;
  top: var(--topbar-h);
  right: auto;
  bottom: auto;
  left: clamp(30px, 5.1vw, 86px);
  display: block;
  width: calc(100vw - clamp(30px, 5.1vw, 86px) - clamp(26px, 4.2vw, 72px));
  height: calc(100svh - var(--topbar-h) - 40px);
  opacity: .42;
  pointer-events: none;
  mix-blend-mode: normal;
  will-change: opacity;
}

.journey-page .journey-first-screen {
  z-index: 6;
}

/* Keep the Teacher Xiaoshan demos above the journey particle canvas. */
.journey-page .alice-learning {
  z-index: 6;
}

.journey-page .journey-first-screen .hero-copy,
.journey-page .journey-first-screen .hero-gridwash,
.journey-page .journey-first-screen .hero-field-details,
.journey-page .journey-first-screen .screen-footer,
.journey-page .journey-first-screen .topbar {
  transition: opacity .12s linear, transform .18s ease;
}

.journey-page .journey-first-screen.is-receding .hero-copy { opacity: 0; transform: translateY(-22px); }
.journey-page .journey-first-screen.is-receding .hero-gridwash,
.journey-page .journey-first-screen.is-receding .hero-field-details,
.journey-page .journey-first-screen.is-receding .screen-footer,
.journey-page .journey-first-screen.is-receding .topbar { opacity: .16; }
.journey-page .journey-first-screen.is-receding,
.journey-page .journey-first-screen.is-receding * { pointer-events: none !important; }

.journey-who {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 clamp(26px, 4.2vw, 72px) 0 clamp(30px, 5.1vw, 86px);
  color: var(--journey-ink);
  isolation: isolate;
}

.journey-who::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background:
    radial-gradient(ellipse at 51% 38%, rgba(41, 106, 103, .2), transparent 48%),
    linear-gradient(180deg, rgba(8, 19, 23, 0), rgba(8, 19, 23, .98) 24vh);
}

.journey-topbar {
  min-height: var(--topbar-h);
  opacity: 1;
}

.journey-topbar .wordmark-meta { color: rgba(210, 222, 217, .54); }
.journey-topbar .live-status { color: rgba(210, 222, 217, .68); }
.journey-topbar .live-status i { background: #90d8bc; box-shadow: 0 0 0 3px rgba(144,216,188,.11); }
.journey-topbar .top-link { color: rgba(240, 241, 231, .88); }
.journey-topbar .top-link span { color: var(--journey-gold); }
.journey-topbar .wordmark img { filter: brightness(0) invert(1); opacity: .92; }
.journey-topbar { border-bottom-color: var(--journey-hairline); }

.who-section {
  position: relative;
  min-height: calc(100svh - var(--topbar-h));
  padding: clamp(27px, 4.3vh, 46px) 0 0;
}

.who-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.who-planet {
  position: absolute;
  top: -21vw;
  left: 50%;
  width: min(78vw, 1060px);
  aspect-ratio: 1;
  border: 1px solid rgba(143, 203, 184, .075);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(80, 159, 140, .055), inset 0 0 110px rgba(80, 159, 140, .035);
  transform: translateX(-50%);
}
.who-planet::before,
.who-planet::after { position: absolute; inset: 9%; border: 1px solid rgba(143,203,184,.055); border-radius: 50%; content: ''; }
.who-planet::after { inset: 20%; border-style: dashed; opacity: .7; }
.who-crosshair { position: absolute; color: rgba(190,211,202,.39); font: 600 8px/1 var(--condensed); letter-spacing: .17em; }
.who-crosshair-a { top: 38%; left: 1%; }
.who-crosshair-b { right: 1%; bottom: 22%; color: rgba(233,202,123,.58); }

.who-intro { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; text-align: center; }
.who-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 13px;
  color: #a7d0be;
  font: 650 9px/1 var(--condensed);
  letter-spacing: .23em;
}
.who-eyebrow i { width: 20px; height: 1px; background: currentColor; opacity: .62; }
.who-intro h2 { margin: 0; color: var(--journey-ink); font-size: clamp(31px, 3.65vw, 48px); font-weight: 720; line-height: 1.18; letter-spacing: -.068em; }
.who-intro h2 span { color: inherit; }
.who-intro-copy { margin: 12px auto 0; color: var(--journey-muted); font-size: clamp(12px, 1.05vw, 14px); font-weight: 450; line-height: 1.7; }

.who-grid {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 1270px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.6vw, 22px);
  margin: clamp(26px, 3.5vh, 38px) auto 0;
}

.who-card {
  --card-accent: #e9ca7b;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: clamp(405px, 55vh, 475px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(208, 222, 215, .18);
  padding: 17px clamp(17px, 1.75vw, 24px) 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  color: var(--journey-ink);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transform: perspective(1000px) rotateX(var(--card-tilt-y, 0deg)) rotateY(var(--card-tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .32s cubic-bezier(.2,.7,.2,1);
}
.who-card::before,
.who-card::after { position: absolute; z-index: 4; width: 13px; height: 13px; content: ''; pointer-events: none; }
.who-card::before { top: -1px; left: -1px; border-top: 1px solid var(--card-accent); border-left: 1px solid var(--card-accent); }
.who-card::after { right: -1px; bottom: -1px; border-right: 1px solid var(--card-accent); border-bottom: 1px solid var(--card-accent); }
.who-card:hover { border-color: color-mix(in srgb, var(--card-accent) 65%, transparent); background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.022)); box-shadow: 0 18px 70px rgba(0,0,0,.2), 0 0 34px color-mix(in srgb, var(--card-accent) 10%, transparent); }
.who-card:focus-visible { outline: 2px solid var(--card-accent); outline-offset: 4px; }
.who-card-grow { --card-accent: #83d6c1; }
.who-card-build { --card-accent: var(--purple-unified); }

.who-card-top { display: flex; min-height: 18px; align-items: center; justify-content: space-between; gap: 8px; }
.who-tier { display: inline-flex; align-items: center; gap: 8px; color: rgba(235,239,228,.81); font-size: 11px; font-weight: 650; }
.who-tier::before { width: 5px; height: 5px; border: 1px solid var(--card-accent); content: ''; transform: rotate(45deg); }
.who-index { color: rgba(199,215,207,.5); font: 600 8px/1 var(--condensed); letter-spacing: .14em; white-space: nowrap; }
.who-index i { margin: 0 4px; color: rgba(233,202,123,.62); font-style: normal; }

.who-logo {
  position: relative;
  display: grid;
  height: clamp(130px, 19vh, 168px);
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  margin: 12px 0 15px;
  border-top: 1px solid rgba(181,213,198,.1);
  border-bottom: 1px solid rgba(181,213,198,.15);
  background-image: linear-gradient(rgba(148,192,174,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(148,192,174,.045) 1px, transparent 1px);
  background-size: 19px 19px;
}
.who-logo::before { position: absolute; inset: 0; content: ''; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--card-accent) 12%, transparent), transparent 64%); opacity: .78; }
.who-logo::after { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; content: ''; background: linear-gradient(transparent, rgba(205,222,211,.16), transparent); }
.who-logo-word { position: relative; z-index: 1; color: var(--card-accent); font: 750 clamp(35px, 4.6vw, 63px)/1 var(--condensed); letter-spacing: .09em; opacity: .055; transition: opacity .45s ease, text-shadow .45s ease; }
.who-logo-orbit { position: absolute; top: 50%; left: 50%; width: 48%; height: 60%; border: 1px solid color-mix(in srgb, var(--card-accent) 26%, transparent); border-radius: 50%; opacity: .3; transform: translate(-50%,-50%) rotate(-17deg); }
.who-logo-orbit::after { position: absolute; top: 50%; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: var(--card-accent); box-shadow: 0 0 12px var(--card-accent); content: ''; transform: translateY(-50%); }
.journey-page.is-wordmark-fallback .who-logo-word { opacity: .72; text-shadow: 0 0 26px color-mix(in srgb, currentColor 34%, transparent); }

.who-card-copy { position: relative; z-index: 2; }
.who-card-copy h3 { max-width: 330px; margin: 0; color: #f2f1e9; font-size: clamp(15px, 1.45vw, 19px); font-weight: 700; line-height: 1.45; letter-spacing: -.045em; }
.who-card-copy p { max-width: 350px; min-height: 50px; margin: 9px 0 0; color: rgba(200,213,206,.74); font-size: clamp(11px, .96vw, 13px); font-weight: 450; line-height: 1.8; }
.who-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.who-tags span { display: inline-flex; align-items: center; min-height: 22px; border: 1px solid rgba(198,216,208,.13); padding: 0 8px; color: rgba(201,216,207,.72); font-size: 9px; font-weight: 550; }
.who-card-go { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 15px; color: var(--card-accent); font-size: 10px; font-weight: 650; letter-spacing: .015em; }
.who-card-go svg { display: block; width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s ease; }
.who-card:hover .who-card-go svg { transform: translateX(4px); }
.who-card:focus-visible { outline-offset: 3px; }

.who-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; max-width: 1270px; margin: 24px auto 0; padding: 0 0 18px; color: rgba(199,216,207,.59); font-size: 9px; }
.who-footer .footer-coordinates { color: rgba(199,216,207,.42); font: 600 8px/1 var(--condensed); letter-spacing: .13em; white-space: nowrap; }
.who-footer i { margin: 0 4px; color: var(--journey-gold); font-style: normal; }

@media (max-height: 740px) and (min-width: 761px) {
  .who-section { padding-top: 22px; }
  .who-intro h2 { font-size: 38px; }
  .who-intro-copy { margin-top: 8px; line-height: 1.55; }
  .who-grid { margin-top: 20px; }
  .who-card { min-height: 385px; }
  .who-logo { height: 116px; margin: 9px 0 12px; }
  .who-card-copy p { min-height: 42px; margin-top: 6px; line-height: 1.6; }
  .who-tags { margin-top: 9px; }
  .who-card-go { padding-top: 10px; }
  .who-footer { margin-top: 14px; }
}

@media (max-width: 760px) {
  .journey-page .journey-particle-canvas {
    top: var(--topbar-h);
    left: 20px;
    width: calc(100vw - 40px);
    height: calc(100svh - var(--topbar-h) - 30px);
  }
  .journey-page .journey-first-screen { padding-right: 20px; padding-left: 20px; }
  .journey-who { padding-right: 20px; padding-left: 20px; }
  .journey-page .journey-first-screen.is-receding .hero-copy { transform: translateY(-12px); }
  .journey-topbar .wordmark-meta,
  .journey-topbar .topbar-right .live-status { display: none; }
  .who-section { padding-top: 35px; }
  .who-intro h2 { font-size: clamp(29px, 7vw, 42px); }
  .who-intro-copy { max-width: 520px; font-size: 12px; }
  .who-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .who-card { min-height: 350px; padding: 16px 17px; }
  .who-logo { height: 115px; margin: 11px 0 13px; }
  .who-logo-word { font-size: 44px; }
  .who-card-copy h3 { font-size: 16px; }
  .who-card-copy p { min-height: auto; font-size: 12px; }
  .who-tags { margin-top: 10px; }
  .who-card-go { padding-top: 13px; }
  .who-footer { align-items: flex-start; flex-direction: column; margin-top: 20px; padding-bottom: 23px; }
  .who-crosshair-a { top: 24%; left: -2%; }
  .who-crosshair-b { right: -1%; bottom: 7%; }
  .who-planet { top: 2%; width: 130vw; }
  .desktop-break { display: none; }
}

@media (max-width: 440px) {
  .journey-page .journey-particle-canvas { top: 62px; left: 13px; width: calc(100vw - 26px); height: calc(100svh - 93px); }
  .journey-page .journey-first-screen { padding-right: 15px; padding-left: 15px; }
  .journey-page .journey-first-screen .topbar { min-height: 62px; height: 62px; flex-basis: 62px; }
  .journey-page .journey-first-screen .wordmark img { height: 24px; }
  .journey-page .journey-first-screen .topbar-right { gap: 11px; }
  .journey-page .journey-first-screen .live-status { display: none; }
  .journey-page .journey-first-screen .hero-copy { width: 100%; }
  .journey-page .journey-first-screen .hero-copy h1 { font-size: clamp(35px, 9vw, 46px); }
  .journey-page .journey-first-screen .hero-title-long { white-space: normal; }
  .journey-page .journey-first-screen .free-access-tag { top: -50px; left: -4px; width: 78px; height: 78px; }
  .journey-page .journey-first-screen .free-access-tag strong { font-size: 22px; }
  .journey-page .journey-first-screen .free-access-tag i { font-size: 9px; }
  .journey-page .journey-first-screen .hero-description { max-width: 340px; font-size: 12px; }
  .journey-page .journey-first-screen .hero-actions { align-items: stretch; flex-direction: column; gap: 9px; width: min(100%, 330px); margin-top: 17px; }
  .journey-page .journey-first-screen .launch-cta,
  .journey-page .journey-first-screen .preview-link { width: 100%; min-width: 0; height: 53px; }
  .journey-page .journey-first-screen .access-line { max-width: 300px; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 14px; font-size: 8px; }
  .journey-page .journey-first-screen .screen-footer { padding-bottom: 10px; font-size: 8px; }
  .journey-page .journey-first-screen .footer-coordinates { display: none; }
  .journey-who { padding-right: 15px; padding-left: 15px; }
  .journey-topbar { height: 62px; min-height: 62px; }
  .who-section { padding-top: 29px; }
  .who-eyebrow { font-size: 8px; }
  .who-intro-copy { line-height: 1.7; }
  .who-grid { margin-top: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-page .journey-particle-canvas { transition: none; }
  .journey-page .journey-first-screen .hero-copy,
  .journey-page .journey-first-screen .hero-gridwash,
  .journey-page .journey-first-screen .hero-field-details,
  .journey-page .journey-first-screen .screen-footer,
  .journey-page .journey-first-screen .topbar { transition: none; }
  .who-card { transition-duration: .01ms; }
}

/* For Who: a bright, arcade-like mission select that follows the hero. */
.journey-page {
  --journey-night: #f8f8f2;
  --journey-ink: #11171b;
  --journey-muted: #626b6f;
  --journey-hairline: rgba(17, 23, 27, .14);
  --journey-gold: #bd8900;
}

.journey-page .journey-veil { background: #f8f8f2; }
.journey-page .journey-particle-canvas { opacity: .88; }

.journey-who {
  background: #fbfbf8;
  color: var(--journey-ink);
}

.journey-who::before {
  background:
    radial-gradient(ellipse at 13% 35%, rgba(255, 226, 68, .12), transparent 31%),
    radial-gradient(ellipse at 88% 68%, rgba(130, 221, 199, .15), transparent 35%),
    linear-gradient(180deg, #fbfbf8 0%, #f8f8f3 100%);
}

.who-section {
  min-height: 100svh;
  padding-top: clamp(35px, 4.5vh, 48px);
}

.who-planet {
  top: -23vw;
  border-color: rgba(17, 23, 27, .055);
  box-shadow: 0 0 100px rgba(110, 143, 131, .065), inset 0 0 100px rgba(110, 143, 131, .035);
}
.who-planet::before,
.who-planet::after { border-color: rgba(17, 23, 27, .045); }
.who-crosshair { color: rgba(17, 23, 27, .35); }
.who-crosshair-b { color: rgba(161, 112, 0, .65); }

.who-intro {
  max-width: 1270px;
  text-align: left;
}
.who-eyebrow {
  justify-content: flex-start;
  color: #646e6a;
}
.who-eyebrow i { background: #1b2528; }
.who-intro h2 {
  color: #12181b;
  font-size: clamp(34px, 3.65vw, 48px);
}
.who-intro h2 span { color: #6c7778; }
.who-intro-copy {
  margin-left: 0;
  color: #687173;
}

.who-grid { margin-top: clamp(25px, 3.2vh, 34px); }

.who-card {
  --card-accent: #ffdf32;
  min-height: clamp(420px, 52vh, 475px);
  border: 2px solid #182024;
  padding: 17px 54px 17px clamp(17px, 1.75vw, 24px);
  background: #fff;
  color: #12191d;
  box-shadow: 7px 7px 0 #182024;
  backdrop-filter: none;
  transform: perspective(1000px) rotateX(var(--card-tilt-y, 0deg)) rotateY(var(--card-tilt-x, 0deg)) translateY(0);
  transition: border-color .25s ease, box-shadow .25s ease, transform .32s cubic-bezier(.2,.7,.2,1), background .25s ease;
}
.who-card-start { --card-accent: #ffdf32; }
.who-card-grow { --card-accent: #74e2c0; }
.who-card-build { --card-accent: var(--purple-unified); }
.who-card::before,
.who-card::after { width: 17px; height: 17px; border-width: 2px; }
.who-card::before { z-index: 5; top: 5px; left: 5px; }
.who-card::after { z-index: 5; right: 42px; bottom: 5px; }
.who-card:hover {
  border-color: #101719;
  background: #fff;
  box-shadow: 11px 13px 0 #182024, 0 20px 46px rgba(18, 25, 29, .13);
  transform: perspective(1000px) rotateX(var(--card-tilt-y, 0deg)) rotateY(var(--card-tilt-x, 0deg)) translateY(-6px);
}
.who-card:focus-visible { outline: 3px solid #11191d; outline-offset: 5px; }

.who-vertical-tag {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: 37px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: var(--card-accent);
  color: #12191d;
  writing-mode: vertical-rl;
}
.who-vertical-tag b,
.who-vertical-tag em {
  font: 750 9px/1 var(--condensed);
  letter-spacing: .18em;
  font-style: normal;
}
.who-vertical-tag i { width: 1px; height: 22px; background: rgba(18, 25, 29, .55); }

.who-card-top { position: relative; z-index: 2; min-height: 19px; }
.who-tier {
  gap: 7px;
  color: #253034;
  font-size: 10px;
  font-weight: 750;
}
.who-tier::before { width: 7px; height: 7px; border: 0; background: #182024; }
.who-index { color: #798184; font-size: 8px; }
.who-index i { color: #9b7600; }

.who-card-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(18, 25, 29, .16);
  color: #717b7e;
  font: 700 8px/1 var(--condensed);
  letter-spacing: .12em;
}
.who-card-stats b { color: #172125; font-size: 9px; }

.who-logo {
  z-index: 2;
  height: clamp(120px, 16vh, 145px);
  margin: 12px 0 15px;
  border: 1px solid rgba(18, 25, 29, .18);
  background-color: #f4f5f1;
  background-image:
    linear-gradient(rgba(20, 30, 32, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 30, 32, .055) 1px, transparent 1px),
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 35%, white), #fff 74%);
  background-size: 20px 20px, 20px 20px, auto;
}
.who-logo::before {
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 68%);
  opacity: .72;
}
.who-logo::after { background: linear-gradient(transparent, rgba(20, 30, 32, .18), transparent); }
.who-logo-word {
  color: #172125;
  opacity: .045;
}
.who-logo-orbit {
  width: 43%;
  height: 62%;
  border-color: color-mix(in srgb, var(--card-accent) 74%, #172125);
  opacity: .55;
}
.who-logo-orbit::after { background: #172125; box-shadow: 0 0 12px var(--card-accent); }
.journey-page.is-wordmark-fallback .who-logo-word {
  color: #172125;
  opacity: .74;
  text-shadow: 0 1px 0 white, 0 0 20px color-mix(in srgb, var(--card-accent) 45%, transparent);
}

.who-card-copy { z-index: 2; }
.who-card-copy h3 {
  color: #171f22;
  font-size: clamp(15px, 1.4vw, 18px);
}
.who-card-copy p {
  color: #606a6e;
  font-size: clamp(11px, .95vw, 13px);
}
.who-tags { gap: 5px; }
.who-tags span {
  min-height: 23px;
  border: 1px solid rgba(18, 25, 29, .17);
  background: #f8f8f5;
  color: #475154;
  font-size: 9px;
  font-weight: 650;
}
.who-card-go {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(18, 25, 29, .16);
  padding-top: 12px;
  color: #172125;
  font-size: 10px;
  font-weight: 750;
}
.who-card-go::before {
  width: 7px;
  height: 7px;
  margin-right: -2px;
  background: var(--card-accent);
  content: '';
  transform: rotate(45deg);
}
.who-card-go svg { width: 20px; height: 20px; }
.who-card:hover .who-card-go svg { transform: translateX(5px); }

.who-footer {
  color: #6e7779;
  font-weight: 650;
}
.who-footer .footer-coordinates { color: #8a9293; }
.who-footer i { color: #ac8000; }

@media (max-width: 760px) {
  .who-section { padding-top: 33px; }
  .who-intro { text-align: left; }
  .who-intro-copy { margin-right: 0; }
  .who-card { min-height: 350px; padding: 15px 43px 15px 16px; }
  .who-vertical-tag { width: 30px; padding: 14px 0; }
  .who-vertical-tag b,
  .who-vertical-tag em { font-size: 8px; }
  .who-card::after { right: 35px; }
  .who-logo { height: 108px; }
}

@media (max-width: 440px) {
  .who-section { padding-top: 28px; }
  .who-card { min-height: 340px; }
  .who-card-stats { margin-top: 7px; }
}

/* Scroll chapter: the source portrait resolves into three evolving paths. */
.journey-who {
  height: 340svh;
  min-height: 0;
  overflow: visible;
  padding: 0;
  background: #fbfbf8;
  --stage-accent: #b88a09;
}

.journey-who::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #fbfbf8;
}

.who-section {
  position: sticky;
  z-index: 1;
  top: 0;
  display: block;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(ellipse at 26% 50%, rgba(255, 255, 255, .96), rgba(251, 251, 248, .3) 40%, transparent 72%),
    linear-gradient(180deg, #fcfcfa, #f8f8f5);
  color: #151d20;
  isolation: isolate;
  --who-ring-dash: var(--page-ring-dash, 500);
  --who-ring-rotation: var(--page-ring-rotation, 180deg);
}

.who-gridwash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 77, 80, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 77, 80, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.65) 47%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.65) 47%, transparent 100%);
  pointer-events: none;
}

.who-topline,
.who-bottomline {
  position: absolute;
  z-index: 4;
  right: clamp(30px, 5.2vw, 86px);
  left: clamp(30px, 5.2vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777f80;
  font: 650 9px/1 var(--condensed);
  letter-spacing: .16em;
  pointer-events: none;
}
.who-topline { top: clamp(24px, 4.2vh, 42px); }
.who-topline i { margin-left: 8px; color: var(--stage-accent); font-size: 13px; font-style: normal; }
.who-bottomline { bottom: clamp(23px, 4vh, 40px); font-size: 8px; letter-spacing: .14em; }
.who-bottomline .footer-coordinates { color: #909696; }
.who-bottomline i { margin: 0 6px; color: #ad8a24; font-style: normal; }

.who-layout { position: absolute; inset: 0; }
.who-visual {
  position: absolute;
  inset: 0 48% 0 0;
  overflow: hidden;
  pointer-events: none;
}
.who-ring-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(44vw, 690px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--stage-accent) 7%, white) 0%, rgba(255,255,255,.26) 53%, transparent 71%);
  transform: translate(-50%, -50%);
  transition: background .5s ease;
}
.who-particle-word {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  color: color-mix(in srgb, var(--stage-accent) 42%, #1c2529);
  font: 690 clamp(76px, 9.6vw, 150px)/.9 "Arial Narrow", "Bahnschrift Condensed", "Avenir Next", sans-serif;
  letter-spacing: -.055em;
  opacity: .13;
  transform: translate(-50%, -50%);
  transition: color .45s ease, opacity .3s ease;
  white-space: nowrap;
}
.who-ring-ticks {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(47vw, 730px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(36, 48, 50, .3) 0deg .18deg, transparent .18deg 5deg);
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 12px), #000 calc(100% - 11.4px));
  mask: radial-gradient(circle, transparent calc(100% - 12px), #000 calc(100% - 11.4px));
  opacity: .44;
  transform: translate(-50%, -50%) rotate(var(--who-ring-rotation));
  transition: transform .12s linear, opacity .5s ease;
}
.who-ring-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(47vw, 730px);
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%) rotate(var(--who-ring-rotation));
  transition: transform .12s linear;
}
.who-ring-svg circle { fill: none; vector-effect: non-scaling-stroke; }
.who-ring-ghost { stroke: rgba(24, 35, 38, .1); stroke-width: 1; }
.who-ring-arc {
  stroke: color-mix(in srgb, var(--stage-accent) 74%, #283236);
  stroke-width: 1.5;
  stroke-dasharray: var(--who-ring-dash) 1000;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--stage-accent) 45%, transparent));
  transition: stroke .45s ease;
}
.who-ring-inner { stroke: rgba(30, 43, 47, .12); stroke-width: 1; stroke-dasharray: 2 8; }
.who-ring-satellite { fill: var(--stage-accent) !important; stroke: #fff !important; stroke-width: 2; }
.who-ring-readout {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #778183;
  font: 650 8px/1 var(--condensed);
  letter-spacing: .17em;
  transform: translate(-50%, calc(min(23.5vw, 365px) + 20px));
  white-space: nowrap;
}
.who-ring-readout i { width: 23px; height: 1px; background: rgba(30,43,47,.3); }
.who-ring-readout b { color: #1e292d; font-weight: 750; }
.who-ring-coordinate {
  position: absolute;
  color: rgba(77, 88, 91, .68);
  font: 600 8px/1 var(--condensed);
  letter-spacing: .16em;
  white-space: nowrap;
}
.who-ring-coordinate-a { top: 20%; left: 9%; }
.who-ring-coordinate-b { right: 6%; bottom: 19%; }
.who-ring-coordinate-b b { color: var(--stage-accent); font-weight: 750; }

.who-copy {
  position: absolute;
  top: 50%;
  left: 56%;
  width: min(38.5vw, 650px);
  transform: translateY(-48%);
}
.who-copy-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 27px;
  color: #747e80;
  font: 700 10px/1 var(--condensed);
  letter-spacing: .19em;
}
.who-copy-eyebrow i { width: 21px; height: 1px; background: var(--stage-accent); }
.who-panels { position: relative; min-height: 400px; }
.who-copy-panel {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(0, 25px, 0);
  transition: opacity .42s ease, transform .52s cubic-bezier(.2,.7,.2,1), visibility .42s;
}
.who-copy-panel.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: .05s;
}
.who-copy-kicker { margin: 0 0 13px; color: #7b8586; font-size: 13px; font-weight: 550; letter-spacing: .035em; }
.who-copy-panel h1,
.who-copy-panel h2 {
  margin: 0;
  color: #121a1e;
  font-size: clamp(38px, 4.25vw, 66px);
  font-weight: 740;
  line-height: 1.14;
  letter-spacing: -.075em;
}
.who-copy-english {
  margin: 15px 0 0;
  color: var(--stage-accent);
  font: 730 clamp(14px, 1.45vw, 20px)/1 var(--condensed);
  letter-spacing: .1em;
  transition: color .45s ease;
}
.who-copy-rule { display: flex; align-items: center; gap: 12px; margin: 25px 0 19px; }
.who-copy-rule span { height: 1px; flex: 1; background: repeating-linear-gradient(90deg, rgba(37,49,52,.58) 0 3px, transparent 3px 6px); }
.who-copy-rule i { color: #818a8b; font: 650 8px/1 var(--condensed); letter-spacing: .1em; font-style: normal; }
.who-copy-description { max-width: 570px; margin: 0; color: #505c60; font-size: clamp(13px, 1.05vw, 15px); font-weight: 470; line-height: 1.95; }
.who-copy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.who-copy-tags span { border: 1px solid rgba(28,41,44,.18); padding: 7px 10px; color: #596466; font-size: 10px; font-weight: 600; }
.who-copy-link {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
  border-bottom: 1px solid color-mix(in srgb, var(--stage-accent) 75%, #263236);
  padding: 0 0 8px;
  color: #1c272a;
  font-size: 12px;
  font-weight: 700;
  transition: gap .25s ease, color .25s ease;
}
.who-copy-link b { color: var(--stage-accent); font-size: 16px; font-weight: 600; }
.who-copy-link:hover { gap: 30px; }

.who-stage-nav { display: flex; gap: clamp(12px, 2.2vw, 33px); margin-top: 20px; }
.who-stage-nav button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-top: 1px solid transparent;
  padding: 8px 0 0;
  background: transparent;
  color: #8b9394;
  cursor: pointer;
  font: 680 10px/1 var(--condensed);
  letter-spacing: .12em;
  transition: border-color .25s ease, color .25s ease;
}
.who-stage-nav button span { font-size: 8px; }
.who-stage-nav button.is-active { border-color: var(--stage-accent); color: #192326; }
.who-stage-nav button.is-active span { color: var(--stage-accent); }
.who-stage-nav button:hover { color: #1b272a; }

.journey-who[data-stage="0"] { --stage-accent: #b88a09; }
.journey-who[data-stage="1"] { --stage-accent: #168f76; }
.journey-who[data-stage="2"] { --stage-accent: var(--purple-unified); }
.journey-who[data-stage="0"] .who-ring-coordinate-b b { color: #b88a09; }
.journey-who[data-stage="1"] .who-ring-coordinate-b b { color: #168f76; }
.journey-who[data-stage="2"] .who-ring-coordinate-b b { color: var(--purple-unified); }

.journey-page .journey-particle-canvas {
  z-index: 5;
  opacity: .9;
}
.journey-page .journey-first-screen { z-index: 6; }

@media (max-width: 760px) {
  .journey-who { height: 340svh; }
  .who-gridwash {
    background-size: 34px 34px;
    opacity: .42;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  }
  .who-topline,
  .who-bottomline { right: 20px; left: 20px; }
  .who-topline { top: 20px; font-size: 8px; }
  .who-bottomline { bottom: 16px; font-size: 7px; }
  .who-bottomline .footer-coordinates { display: none; }
  .who-visual { inset: 0; height: 53%; }
  .who-ring-halo { width: min(76vw, 410px); top: 50%; }
  .who-particle-word { top: 50%; font-size: clamp(57px, 17vw, 91px); }
  .who-ring-ticks,
  .who-ring-svg { width: min(82vw, 450px); }
  .who-ring-readout { transform: translate(-50%, calc(min(41vw, 225px) + 12px)); }
  .who-ring-coordinate-a { top: 26%; left: 5%; }
  .who-ring-coordinate-b { right: 4%; bottom: 7%; }
  .who-copy { top: 53%; left: 8%; width: 84%; transform: none; }
  .who-copy-eyebrow { margin-bottom: 15px; font-size: 9px; }
  .who-panels { min-height: 340px; }
  .who-copy-kicker { margin-bottom: 9px; font-size: 11px; }
  .who-copy-panel h1,
  .who-copy-panel h2 { font-size: clamp(31px, 7.4vw, 45px); }
  .who-copy-english { margin-top: 10px; font-size: 13px; }
  .who-copy-rule { margin: 17px 0 13px; }
  .who-copy-description { font-size: 12px; line-height: 1.8; }
  .who-copy-tags { gap: 6px; margin-top: 13px; }
  .who-copy-tags span { padding: 6px 8px; font-size: 9px; }
  .who-copy-link { gap: 14px; margin-top: 16px; font-size: 11px; }
  .who-stage-nav { gap: clamp(14px, 5vw, 26px); margin-top: 17px; }
  .who-stage-nav button { gap: 6px; font-size: 9px; }
}

@media (max-width: 440px) {
  .journey-page .journey-particle-canvas { top: 62px; height: calc(100svh - 93px); }
  .who-topline,
  .who-bottomline { right: 15px; left: 15px; }
  .who-topline { font-size: 7px; }
  .who-copy { top: 51.5%; }
  .who-panels { min-height: 355px; }
  .who-ring-coordinate { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .who-ring-ticks,
  .who-ring-svg,
  .who-copy-panel,
  .who-copy-link { transition-duration: .01ms; }
}

/* Tighten the scroll chapters and let a single clipped tick arc anchor the left edge. */
.journey-who { height: 216svh; }
.who-section { --who-ring-rotation: var(--page-ring-rotation, 180deg); }
.who-visual { inset: 0; overflow: hidden; }
.who-ring-halo,
.who-particle-word,
.who-ring-svg,
.who-ring-readout { display: none; }
.who-ring-ticks {
  top: 50%;
  left: 0;
  width: min(110svh, 1150px);
  opacity: .64;
  background: repeating-conic-gradient(from 0deg, rgba(33, 45, 48, .5) 0deg .19deg, transparent .19deg 5deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 9.2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 10px), #000 calc(100% - 9.2px));
  transform: translate(-50%, -50%) rotate(var(--who-ring-rotation));
}
.who-ring-coordinate-a { top: 18%; left: clamp(22px, 4vw, 62px); }
.who-ring-coordinate-b { right: auto; bottom: 16%; left: clamp(22px, 4vw, 62px); }
.who-copy {
  left: 49%;
  width: min(48vw, 810px);
}
.who-copy-panel h1,
.who-copy-panel h2 { font-size: clamp(48px, 5.05vw, 84px); }
.who-copy-kicker { font-size: 14px; }
.who-copy-english { font-size: clamp(16px, 1.6vw, 23px); }
.who-copy-description { max-width: 700px; font-size: clamp(15px, 1.16vw, 17px); line-height: 1.9; }
.who-copy-tags { gap: 10px; margin-top: 25px; }
.who-copy-tags span { padding: 8px 12px; font-size: 11px; }
.who-copy-link { margin-top: 30px; font-size: 13px; }
.who-stage-nav { margin-top: 24px; }
.who-stage-nav button { font-size: 11px; }

@media (max-width: 760px) {
  .journey-who { height: 216svh; }
  .who-visual { inset: 0 0 auto; height: 51%; }
  .who-ring-ticks {
    top: 50%;
    left: 0;
    width: min(110svh, 520px);
    opacity: .55;
  }
  .who-ring-coordinate-a { top: 17%; left: 18px; }
  .who-ring-coordinate-b { bottom: 8%; left: 18px; }
  .who-copy { top: 53%; left: 8%; width: 84%; }
  .who-copy-panel h1,
  .who-copy-panel h2 { font-size: clamp(31px, 7.4vw, 46px); }
  .who-copy-kicker { font-size: 12px; }
  .who-copy-english { font-size: 14px; }
  .who-copy-description { font-size: 13px; }
  .who-copy-tags { gap: 6px; margin-top: 15px; }
  .who-copy-tags span { padding: 6px 8px; font-size: 9px; }
  .who-copy-link { margin-top: 18px; font-size: 11px; }
  .who-stage-nav { margin-top: 17px; }
}

/* Path title lockup placed in the upper-left chapter label. */
.who-path-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
  color: #141a1e;
  letter-spacing: normal;
  pointer-events: none;
  transform: translateY(20px);
}
.who-path-overline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #2b3035;
  font: 600 10px/1 var(--condensed);
  letter-spacing: .055em;
}
.who-path-overline i {
  display: grid;
  width: 72px;
  height: 22px;
  flex: 0 0 72px;
  place-items: center end;
  padding-right: 7px;
  background: #d8d8d8;
  color: #161a1e;
  font-style: normal;
  margin: 0;
  font-size: inherit;
}
.who-path-overline svg { display: block; width: 19px; height: 19px; overflow: visible; }
.who-path-overline svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.who-path-heading p {
  margin: 0;
  color: #151a1e;
  font-size: clamp(23px, 1.75vw, 30px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.045em;
}

/* Orbit instrument: fine ticks, a restrained inner dial and three rotating datum arcs. */
.who-ring-system {
  position: absolute;
  top: 50%;
  left: 24.5%;
  width: min(36vw, 560px);
  aspect-ratio: 1;
  opacity: .74;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--ring-spin-angle, 0deg));
  transform-origin: center;
  will-change: transform;
}
.who-ring-system .who-ring-ticks {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1.5deg, rgba(var(--purple-unified-rgb), .65) 0deg .28deg, transparent .28deg 5deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 95.5%, #000 95.9% 100%);
  mask: radial-gradient(closest-side, transparent 0 95.5%, #000 95.9% 100%);
  opacity: .72;
  transform: none;
  transition: opacity .3s ease;
}
.who-ring-core {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(var(--purple-unified-rgb), .72);
  border-radius: 50%;
}
.who-ring-core::before,
.who-ring-core::after {
  position: absolute;
  content: '';
  background: rgba(var(--purple-unified-rgb), .15);
}
.who-ring-core::before { top: 50%; left: -13%; width: 126%; height: 1px; }
.who-ring-core::after { top: -13%; left: 50%; width: 1px; height: 126%; }
.who-ring-arcs {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(var(--purple-unified-rgb), .82) 24deg 51deg,
    transparent 51deg 151deg,
    rgba(var(--purple-unified-rgb), .82) 151deg 178deg,
    transparent 178deg 266deg,
    rgba(var(--purple-unified-rgb), .82) 266deg 294deg,
    transparent 294deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 94%, #000 94.3% 97.4%, transparent 98%);
  mask: radial-gradient(closest-side, transparent 0 94%, #000 94.3% 97.4%, transparent 98%);
}

/* Keep the chapter copy on a compact editorial scale against the particle field. */
.who-copy {
  left: 49%;
  width: min(44vw, 760px);
}
.who-copy-eyebrow { margin-bottom: 19px; font-size: 9px; }
.who-panels { min-height: 330px; }
.who-copy-kicker { margin-bottom: 8px; font-size: 12px; }
.who-copy-panel h1,
.who-copy-panel h2 {
  font-size: clamp(38px, 3.2vw, 62px);
  line-height: 1.13;
}
.who-copy-english { margin-top: 11px; font-size: clamp(13px, 1.05vw, 18px); }
.who-copy-rule { margin: 18px 0 14px; }
.who-copy-description { max-width: 660px; font-size: clamp(14px, .92vw, 16px); line-height: 1.78; }
.who-copy-tags { gap: 8px; margin-top: 18px; }
.who-copy-tags span { padding: 6px 10px; font-size: 10px; }
.journey-page .who-copy-panel .who-path-button {
  display: inline-flex;
  width: fit-content;
  min-width: 224px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 0 16px;
  border-left: 3px solid var(--purple-unified);
  background: var(--rectangle-black, #252525);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 2px 7px rgba(0,0,0,.16);
  transition: background .18s ease;
}
.journey-page .who-copy-panel .who-path-button:hover { background: var(--rectangle-black, #252525); }
.journey-page .who-copy-panel .who-path-button:focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
.journey-page .who-copy-panel .who-path-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 760px) {
  .who-path-overline { gap: 7px; font-size: 8px; }
  .who-path-overline i { width: 56px; height: 18px; flex-basis: 56px; }
  .who-path-overline svg { width: 15px; height: 15px; }
  .who-path-heading p { font-size: clamp(21px, 4.4vw, 27px); }
  .who-ring-system { top: 50%; left: 50%; width: min(64vw, 380px); }
  .who-copy { top: 53%; left: 8%; width: 84%; }
  .who-copy-eyebrow { margin-bottom: 13px; font-size: 8px; }
  .who-panels { min-height: 280px; }
  .who-copy-kicker { margin-bottom: 7px; font-size: 11px; }
  .who-copy-panel h1,
  .who-copy-panel h2 { font-size: clamp(30px, 6.8vw, 40px); }
  .who-copy-english { margin-top: 9px; font-size: 12px; }
  .who-copy-rule { margin: 14px 0 11px; }
  .who-copy-description { font-size: 12px; line-height: 1.72; }
  .who-copy-tags { gap: 6px; margin-top: 12px; }
  .who-copy-tags span { padding: 5px 8px; font-size: 9px; }
}

@media (max-width: 440px) {
  .who-topline { top: 19px; }
  .who-path-overline { font-size: 7px; }
  .who-path-overline i { width: 52px; height: 16px; flex-basis: 52px; padding-right: 5px; }
  .who-path-overline svg { width: 13px; height: 13px; }
  .who-path-heading p { font-size: 20px; }
  .who-scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .who-ring-system { transform: translate(-50%, -50%); }
}

/* One pinned viewport: the hero and path narrative crossfade in place. */
.journey-page .journey-first-screen {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  height: 100svh;
  min-height: 100svh;
}

.journey-page .journey-first-screen .hero-title-wrap {
  opacity: var(--hero-title-opacity, 1);
  transform: translate3d(0, var(--hero-title-y, 0px), 0);
  will-change: opacity, transform;
}

.journey-page .journey-first-screen .hero-description,
.journey-page .journey-first-screen .hero-actions,
.journey-page .journey-first-screen .access-line,
.journey-page .journey-first-screen .eyebrow {
  opacity: var(--hero-support-opacity, 1);
  transform: translate3d(0, var(--hero-support-y, 0px), 0);
  will-change: opacity, transform;
}

.journey-page .journey-first-screen .launch-cta { background-color: var(--signal); }
.journey-page .journey-first-screen .preview-link { background-color: var(--paper); }

.journey-page .journey-first-screen .hero-gridwash,
.journey-page .journey-first-screen .hero-field-details,
.journey-page .journey-first-screen .screen-footer,
.journey-page .journey-first-screen .topbar {
  filter: opacity(var(--hero-chrome-opacity, 1));
  transition: filter .14s linear;
}

.journey-who {
  z-index: 3;
  height: 380svh;
  min-height: 0;
  margin-top: -100svh;
  overflow: visible;
  background: transparent;
  pointer-events: none;
}

.journey-who::before { display: none; }

.journey-page .who-section {
  opacity: var(--who-reveal, 0);
  pointer-events: none;
  will-change: opacity;
}

.journey-page .journey-who,
.journey-page .journey-who * {
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .journey-who { height: 380svh; }
}

@media (prefers-reduced-motion: reduce) {
  .journey-page .journey-first-screen .hero-title-wrap,
  .journey-page .journey-first-screen .hero-description,
  .journey-page .journey-first-screen .hero-actions,
  .journey-page .journey-first-screen .access-line { will-change: auto; }
}

/* Match the persistent navigation used by home-2.html. */
.journey-page { --journey-nav-height: 64px; }
.journey-page[data-local-preview="true"] .xa-scrim { display: none !important; }
.journey-nav {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--journey-nav-height);
  border-bottom: 1px solid rgba(var(--purple-unified-rgb), .1);
  background: rgba(255, 255, 255, .84);
  color: #14142b;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transition: background .3s ease, border-color .3s ease;
}
.journey-nav-inner {
  display: flex;
  width: min(100%, 1360px);
  height: 100%;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 0 28px;
}
.journey-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: #14142b;
}
.journey-logo-mark { display: block; width: 34px; height: 34px; flex: 0 0 34px; overflow: hidden; border-radius: 10px; }
.journey-logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.journey-logo-wordmark { display: block; width: auto; height: 28px; }
.journey-logo-wordmark img { display: block; width: auto; height: 100%; object-fit: contain; }
.journey-nav-spacer { min-width: 12px; flex: 1 1 auto; }
.journey-nav-link {
  display: inline-flex;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 14px;
  border-radius: 12px;
  color: #5b5b77;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.journey-nav-link:hover { background: #f4f4fb; color: #14142b; }
.journey-nav-link svg { display: block; width: 15px; height: 15px; flex: 0 0 15px; }
.journey-nav-control {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0;
  border: 1px solid rgba(var(--purple-unified-rgb), .1);
  border-radius: 12px;
  background: transparent;
  color: #5b5b77;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.journey-nav-control:hover,
.journey-lang.is-open .journey-nav-control { background: #f4f4fb; color: #14142b; }
.journey-nav-control svg { display: block; width: 18px; height: 18px; }
.journey-moon { display: none !important; }
[data-theme="dark"] .journey-sun { display: none !important; }
[data-theme="dark"] .journey-moon { display: block !important; }
.journey-lang { position: relative; flex: 0 0 auto; }
.journey-lang-menu {
  position: absolute;
  z-index: 200;
  top: calc(100% + 7px);
  right: 0;
  display: none;
  min-width: 150px;
  padding: 5px;
  border: 1px solid rgba(var(--purple-unified-rgb), .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(var(--purple-unified-rgb), .14);
}
.journey-lang.is-open .journey-lang-menu { display: block; }
.journey-lang-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 8px;
  color: #5b5b77;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.journey-lang-menu a:hover { background: #f4f4fb; color: #14142b; }
.journey-community {
  display: inline-flex;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 12px;
  background: rgba(16, 185, 129, .1);
  color: #059669;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease;
}
.journey-community:hover { background: rgba(16, 185, 129, .18); }
.journey-community svg { width: 14px; height: 14px; flex: 0 0 14px; }
.journey-auth-slot { display: inline-flex; min-width: 0; flex: 0 0 auto; align-items: center; }
.journey-auth-slot .xa-login-btn { box-shadow: none; }
[data-theme="dark"] .journey-nav {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(13, 13, 24, .84);
  color: #fff;
}
[data-theme="dark"] .journey-logo { color: #fff; }
[data-theme="dark"] .journey-logo-wordmark { padding: 3px 5px; border-radius: 6px; background: rgba(255, 255, 255, .94); }
[data-theme="dark"] .journey-nav-link,
[data-theme="dark"] .journey-nav-control { color: rgba(255, 255, 255, .68); }
[data-theme="dark"] .journey-nav-link:hover,
[data-theme="dark"] .journey-nav-control:hover,
[data-theme="dark"] .journey-lang.is-open .journey-nav-control { background: rgba(255, 255, 255, .08); color: #fff; }
[data-theme="dark"] .journey-nav-control { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .journey-lang-menu { border-color: rgba(255, 255, 255, .1); background: #17172b; }
[data-theme="dark"] .journey-lang-menu a { color: rgba(255, 255, 255, .68); }
[data-theme="dark"] .journey-lang-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.journey-page .journey-first-screen > .hero-nav-spacer { height: var(--journey-nav-height); flex: 0 0 var(--journey-nav-height); }
.journey-page .who-copy {
  opacity: var(--who-copy-opacity, 0);
  transform: translate3d(0, calc(-48% + var(--who-copy-rise, 34px)), 0);
  will-change: opacity, transform;
}
.journey-page .journey-particle-canvas {
  top: var(--journey-nav-height);
  height: calc(100svh - var(--journey-nav-height) - 28px);
}
.journey-page .who-topline {
  top: calc(var(--journey-nav-height) + 30px);
  opacity: var(--who-heading-opacity, 0);
  transform: translate3d(0, var(--who-heading-rise, 18px), 0);
}

@media (max-width: 760px) {
  .journey-page .who-copy { transform: translate3d(0, var(--who-copy-rise, 34px), 0); }
}
@media (max-width: 900px) {
  .journey-nav-about { display: none; }
  .journey-nav-jobs { padding-right: 10px; padding-left: 10px; }
  .journey-nav-jobs-label { display: none; }
}
@media (max-width: 860px) {
  .journey-page { --journey-nav-height: 58px; }
  .journey-nav-inner { padding-right: 22px; padding-left: 22px; }
}
@media (max-width: 600px) {
  .journey-page { --journey-nav-height: 56px; }
  .journey-nav-inner { gap: 6px; padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(12px, env(safe-area-inset-left)); }
  .journey-logo { gap: 8px; }
  .journey-logo-mark { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; }
  .journey-logo-wordmark { width: 50px; height: 19px; overflow: hidden; }
  .journey-logo-wordmark img { width: 100%; }
  [data-theme="dark"] .journey-logo-wordmark { padding: 0 2px; }
  .journey-nav-parents { padding: 0 9px; }
  .journey-nav-github,
  .journey-nav-jobs,
  .journey-community { display: none; }
  .journey-nav-control { width: 36px; height: 36px; flex-basis: 36px; margin-left: 0; }
  .journey-auth-slot .xa-login-btn { padding: 8px 10px; font-size: 12px; box-shadow: none; }
  .journey-page .journey-particle-canvas { height: calc(100svh - var(--journey-nav-height) - 21px); }
  .journey-page .who-topline { top: calc(var(--journey-nav-height) + 30px); }
}
@media (max-width: 360px) {
  .journey-nav-parents { display: none; }
  .journey-nav-inner { gap: 5px; }
}

/* Match the learning carousel controls to Teacher Xiaoshan's feature-deck arrows. */
.journey-page .learning-module .carousel-controls {
  width: min(100%, 152px);
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 3px;
  border: 2px solid #303134;
  border-radius: 999px;
  background-color: var(--rectangle-black, #252525);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.065) 0 5px, transparent 5px 10px);
}
.journey-page .learning-module .carousel-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 2px solid #f7f7f9;
  outline: 1px solid #4a4b4e;
  outline-offset: 1px;
  background: #fff;
  box-shadow: none;
  color: #303532;
  transition: background .18s ease, transform .18s ease;
}
.journey-page .learning-module .carousel-arrow:hover:not(:disabled) { transform: scale(1.04); border-color: #f7f7f9; background: rgba(var(--purple-unified-rgb), .12); }
.journey-page .learning-module .carousel-arrow:active:not(:disabled) { transform: scale(.96); }
.journey-page .learning-module .carousel-arrow:disabled { opacity: .48; cursor: not-allowed; }
.journey-page .learning-module .carousel-arrow svg { width: 15px; height: 15px; stroke: #303532; stroke-width: 2.2; }
.journey-page .learning-module .carousel-count {
  min-width: 48px;
  flex: 1 1 auto;
  color: var(--purple-unified);
  font: 700 9px/1 var(--condensed);
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .journey-page .learning-module .carousel-controls { width: min(100%, 142px); height: 38px; }
  .journey-page .learning-module .carousel-arrow { width: 29px; height: 29px; flex-basis: 29px; }
  .journey-page .learning-module .carousel-arrow svg { width: 13px; height: 13px; }
  .journey-page .learning-module .carousel-count { min-width: 44px; font-size: 8px; }
}

/* Keep the page's section headings on the Learning Topics type and spacing scale. */
.journey-page .who-path-heading {
  gap: 10px;
}
.journey-page .who-path-overline {
  gap: 9px;
  color: #171b1d;
  font: 500 clamp(16px, 1.8vw, 22px)/1 var(--sans);
  letter-spacing: -.055em;
}
.journey-page .who-path-overline i {
  width: 27px;
  height: 25px;
  flex-basis: 27px;
  background: #dededb;
  place-items: center;
  padding: 0;
  font-size: 22px;
}
.journey-page .who-path-overline svg { width: 19px; height: 19px; }
.journey-page .who-path-heading p {
  margin: 0;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 780;
  letter-spacing: -.07em;
  line-height: 1.1;
}

.journey-page .alice-learning .alice-feature-intro h3 {
  margin: 10px 0 0;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 780;
  letter-spacing: -.07em;
  line-height: 1.1;
}
.journey-page .alice-learning .alice-feature-intro > p {
  margin-bottom: 14px;
  font-size: 7px;
}
.journey-page .alice-learning .alice-feature-intro > div > b {
  font-size: clamp(16px, 1.8vw, 22px);
}

.journey-page .journey-certificate .journey-cert-heading { gap: 9px; }
.journey-page .journey-certificate .journey-cert-icon {
  width: 27px;
  height: 25px;
  background: #dededb;
  font-size: 22px;
}
.journey-page .journey-certificate .journey-cert-english {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -.055em;
  line-height: 1;
}
.journey-page .journey-certificate .journey-cert-intro h2 {
  margin: 10px 0 0;
  font-size: clamp(25px, 2.7vw, 34px);
  font-weight: 780;
  letter-spacing: -.07em;
  line-height: 1.1;
}
.journey-page .journey-certificate .journey-cert-note {
  gap: 9px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}
.journey-page .journey-certificate .journey-cert-plus {
  width: 17px;
  height: 17px;
  font-size: 13px;
}

.journey-page .learning-module .notice-origin {
  margin-bottom: 14px;
  font-size: 7px;
}
.journey-page .learning-module .notice-en { font-size: clamp(16px, 1.8vw, 22px); }
.journey-page .learning-module .notice-heading h1,
.journey-page .learning-module .notice-heading h2 {
  margin-top: 10px;
  font-size: clamp(25px, 2.7vw, 34px);
}

@media (min-width: 901px) {
  .journey-page .journey-certificate .journey-cert-rail-label,
  .journey-page .learning-module .notice-accent-ranking {
    font-size: 52px;
  }
}

@media (max-width: 600px) {
  .journey-page .who-path-heading { gap: 8px; }
  .journey-page .who-path-overline { gap: 7px; font-size: 17px; }
  .journey-page .who-path-overline i { width: 24px; height: 23px; flex-basis: 24px; font-size: 20px; }
  .journey-page .who-path-overline svg { width: 17px; height: 17px; }
  .journey-page .who-path-heading p { font-size: 27px; }
  .journey-page .alice-learning .alice-feature-intro > p { margin-bottom: 12px; font-size: 6px; }
  .journey-page .alice-learning .alice-feature-intro > div > b { font-size: 17px; }
  .journey-page .alice-learning .alice-feature-intro h3 { margin-top: 8px; font-size: 27px; }
  .journey-page .journey-certificate .journey-cert-intro {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .journey-page .journey-certificate .journey-cert-heading { gap: 9px; }
  .journey-page .journey-certificate .journey-cert-icon { width: 24px; height: 23px; font-size: 20px; }
  .journey-page .journey-certificate .journey-cert-english { font-size: 17px; }
  .journey-page .journey-certificate .journey-cert-intro h2 { margin-top: 8px; font-size: 27px; }
  .journey-page .journey-certificate .journey-cert-note { display: none; }
  .journey-page .learning-module .notice-origin { margin-bottom: 12px; font-size: 6px; }
  .journey-page .learning-module .notice-en { font-size: 17px; }
  .journey-page .learning-module .notice-heading h1,
  .journey-page .learning-module .notice-heading h2 { margin-top: 8px; font-size: 27px; }
}

/* Stagger the feature section's first reveal from its background toward the demo. */
body.assistant-reveal-ready.journey-page .alice-learning .alice-dialogue[data-reveal],
body.assistant-reveal-ready.journey-page .alice-learning .alice-art-panel[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-feature-intro,
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-feature-console,
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-art-panel::before,
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-figure,
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-wordmark[data-reveal] {
  opacity: 0;
  visibility: hidden;
}
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-feature-intro,
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-feature-console {
  transform: translateY(30px);
}
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-art-panel::before {
  transform: translateY(26px) scale(.96);
}
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-figure {
  transform: translate3d(12vw, 0, 0);
}
body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-wordmark[data-reveal] {
  transform: translate(calc(-50% + 28vw), -50%);
}
.journey-page .alice-learning .alice-dialogue.is-visible .alice-chat-window,
.journey-page .alice-learning .alice-art-panel.is-visible .alice-figure {
  animation: none;
}
.journey-page .alice-learning .alice-wordmark[data-reveal] { transition: none; }
.journey-page .alice-learning .alice-feature-controls { transform-origin: right center; }

.journey-page .alice-learning.is-entrance-visible .alice-wordmark[data-reveal] {
  animation: alice-wordmark-push-in .66s both cubic-bezier(.3, 0, .18, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-art-panel::before {
  animation: alice-orbit-rise-in .64s .1s both cubic-bezier(.2, .72, .22, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-art-panel .alice-figure {
  animation: alice-figure-slide-in .78s .22s both cubic-bezier(.42, .02, .16, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-feature-intro {
  animation: alice-feature-rise-in .62s .15s both cubic-bezier(.2, .72, .22, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-dialogue .alice-feature-console {
  animation: alice-feature-rise-in .62s .3s both cubic-bezier(.2, .72, .22, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-feature-controls {
  animation: alice-controls-expand .4s .55s both cubic-bezier(.22, .72, .2, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-feature-controls > button {
  animation: alice-control-pop .22s .74s both cubic-bezier(.2, .72, .22, 1);
}
.journey-page .alice-learning.is-entrance-visible .alice-feature-status {
  animation: alice-control-copy-in .22s .74s both ease-out;
}

@keyframes alice-wordmark-push-in {
  from { opacity: 0; transform: translate(calc(-50% + 28vw), -50%); }
  78% { opacity: 1; transform: translate(calc(-50% - 5px), -50%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes alice-orbit-rise-in {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes alice-figure-slide-in {
  from { opacity: 0; transform: translate3d(12vw, 0, 0) scale(.985); }
  28% { opacity: 1; }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes alice-feature-rise-in {
  from { opacity: 0; visibility: hidden; transform: translateY(30px); }
  to { opacity: 1; visibility: visible; transform: translateY(0); }
}
@keyframes alice-controls-expand {
  from { opacity: 0; visibility: hidden; transform: translateY(50%) scaleX(.08); }
  to { opacity: 1; visibility: visible; transform: translateY(50%) scaleX(1); }
}
@keyframes alice-control-pop {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes alice-control-copy-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 760px) {
  body.assistant-reveal-ready.journey-page .alice-learning:not(.is-entrance-visible) .alice-figure {
    transform: translate3d(34px, 0, 0);
  }
  .journey-page .alice-learning.is-entrance-visible .alice-art-panel .alice-figure {
    animation-name: alice-figure-slide-in-mobile;
  }
  @keyframes alice-figure-slide-in-mobile {
    from { opacity: 0; transform: translate3d(34px, 0, 0) scale(.985); }
    28% { opacity: 1; }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-page .alice-learning .alice-feature-intro,
  .journey-page .alice-learning .alice-feature-console,
  .journey-page .alice-learning .alice-art-panel::before,
  .journey-page .alice-learning .alice-figure,
  .journey-page .alice-learning .alice-wordmark[data-reveal],
  .journey-page .alice-learning .alice-feature-controls,
  .journey-page .alice-learning .alice-feature-controls > button,
  .journey-page .alice-learning .alice-feature-status {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
  }
  .journey-page .alice-learning .alice-feature-intro,
  .journey-page .alice-learning .alice-feature-console,
  .journey-page .alice-learning .alice-art-panel::before,
  .journey-page .alice-learning .alice-figure,
  .journey-page .alice-learning .alice-feature-controls > button {
    transform: none !important;
  }
  .journey-page .alice-learning .alice-wordmark[data-reveal] { transform: translate(-50%, -50%) !important; }
}

