:root {
  --bg: #f4eddf;
  --ink: #17212b;
  --muted: #46505a;
  --sage: #758b63;
  --amber: #d4a43c;
  --coral: #bd4b3d;
  --edge: rgba(23, 33, 43, .2);
  --display: "Source Serif 4", "Iowan Old Style", Baskerville, Georgia, serif;
  --text: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
  font-family: var(--text);
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: auto; }
body { margin: 0; background: var(--bg); }
body.is-loading { overflow: hidden; }
button, a { font: inherit; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: -4rem; padding: .7rem 1rem; color: var(--bg); background: var(--ink); border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.loader { position: fixed; z-index: 30; inset: 0; display: grid; place-content: center; gap: 1.25rem; color: #fff; background: rgba(23,33,43,.42); backdrop-filter: blur(18px); text-align: center; transition: opacity .6s ease, visibility .6s ease; }
.loader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader img { width: 3.2rem; height: 3.2rem; object-fit: contain; margin: 0 auto; }
.loader p { margin: 0; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; }
.loader strong { margin-left: .35rem; color: var(--amber); font-weight: 500; }
.chrome { position: fixed; z-index: 12; top: 0; left: 0; right: 0; min-height: 6rem; padding: 1.05rem clamp(1rem, 4vw, 4rem); pointer-events: none; }
.chrome::before { content: ""; position: absolute; z-index: -1; inset: 0; border-bottom: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.chrome::after { content: ""; position: absolute; z-index: -1; top: 0; left: clamp(5.2rem, 10.6vw, 12.8rem); height: 100svh; border-left: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.brand-button, .menu-button, .header-pilot { pointer-events: auto; }
.brand-button, .menu-button { display: grid; place-items: center; border: 0; color: #fff; background: transparent; cursor: pointer; }
.brand-button { position: absolute; top: .8rem; left: clamp(1rem, 2.5vw, 2.5rem); width: 3.1rem; height: 3.1rem; padding: .15rem; }
.brand-button img { width: 100%; height: 100%; object-fit: contain; }
.menu-button { position: absolute; top: 6.65rem; left: clamp(1.35rem, 2.85vw, 2.85rem); width: 2rem; height: 2rem; grid-template-columns: repeat(2, .34rem); grid-auto-rows: .34rem; gap: .2rem; }
.menu-button span { display: block; width: .34rem; height: .34rem; border: 0; border-radius: 0; background: rgba(255,255,255,.95); }
.header-pilot { position: absolute; top: 1.05rem; right: clamp(1rem, 4vw, 4rem); border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: .55rem .75rem; color: #fff; background: rgba(23,33,43,.36); cursor: pointer; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em; }
.header-pilot span { margin-left: .45rem; color: var(--amber); }
.chapter-menu { position: fixed; z-index: 25; inset: 0; color: #fff; background: rgba(23,33,43,.96); }
.chapter-menu-inner { position: relative; width: min(72rem, 86vw); height: 100%; margin: auto; padding-top: clamp(5rem, 12vh, 9rem); }
.menu-kicker { margin: 0 0 3rem; color: var(--amber); font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; }
.menu-close { position: absolute; top: 1.5rem; right: 0; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 2rem; font-weight: 200; }
.menu-chapters { display: grid; }
.menu-chapter { display: grid; grid-template-columns: 4rem 1fr auto; align-items: baseline; gap: 1rem; width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,.22); padding: clamp(1rem, 2vh, 1.55rem) 0; color: #fff; background: transparent; cursor: pointer; font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 3.4rem); line-height: .98; text-align: left; transition: color .25s ease, padding-left .25s ease; }
.menu-chapter:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.menu-chapter:hover, .menu-chapter:focus-visible { padding-left: .7rem; color: var(--amber); outline: none; }
.menu-chapter-number, .menu-chapter > span:last-child { color: rgba(255,255,255,.52); font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; }
.menu-open .chrome { opacity: 0; }
.world { min-height: 520vh; }
.stage { position: sticky; top: 0; height: 100svh; min-height: 38rem; overflow: hidden; background: var(--bg); }
.stage-fallback, #journey, .poster-frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster-frame { z-index: 0; object-fit: cover; opacity: 1; transition: opacity .45s ease; }
#journey { z-index: 1; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.video-ready #journey { opacity: 1; }
.video-ready .poster-frame { opacity: 0; }
.stage-fallback { z-index: -1; background: var(--bg); }
.stage-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(244,237,223,.44) 0%, rgba(244,237,223,.25) 28%, rgba(244,237,223,.08) 66%, rgba(244,237,223,.02) 100%), linear-gradient(0deg, rgba(23,33,43,.12), transparent 35%); pointer-events: none; }
.copy { position: absolute; z-index: 3; left: clamp(9rem, 14vw, 15rem); top: 50%; width: min(39rem, calc(100vw - 12rem)); max-width: calc(100% - 3rem); transform: translateY(-50%); opacity: .94; transition: opacity .28s ease, transform .38s cubic-bezier(.22,1,.36,1); }
.copy[data-scene="confidence"] { left: auto; top: calc(50% + 4rem); right: clamp(1.5rem, 8vw, 8.5rem); width: min(31rem, calc(100vw - 12rem)); }
.copy[data-scene="confidence"] h1 { font-size: clamp(2.8rem, 5.2vw, 5.8rem); }
.copy.is-changing { animation: copy-in .38s cubic-bezier(.22,1,.36,1) both; }
@keyframes copy-in { from { opacity: 0; transform: translateY(calc(-50% + 12px)); } to { opacity: 1; transform: translateY(-50%); } }
.eyebrow { max-width: 100%; margin: 0 0 1.15rem; color: var(--scene-accent, var(--sage)); font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .18em; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(244,237,223,.8); text-transform: uppercase; }
h1 { max-width: 11ch; margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(3rem, 6.4vw, 7rem); font-weight: 400; line-height: .94; letter-spacing: -.045em; overflow-wrap: break-word; text-wrap: balance; }
.body { max-width: 31rem; margin: 1.55rem 0 0; color: var(--muted); font-family: var(--text); font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.tag { padding: .42rem .68rem; border: 1px solid var(--edge); border-radius: 999px; color: var(--ink); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.cta { margin-top: 2rem; }
.cta button { border: 0; border-radius: 999px; padding: .85rem 1.15rem; color: var(--bg); background: var(--ink); cursor: pointer; font-weight: 700; }
.cta button span { margin-left: .5rem; color: var(--amber); }
.pilot-panel { position: absolute; z-index: 10; top: 50%; left: 50%; width: min(34rem, calc(100vw - 3rem)); margin: 0; padding: 2rem 2.1rem 1.5rem; border: 1px solid rgba(23,33,43,.22); border-radius: 1.25rem; background: rgba(244,237,223,.98); box-shadow: 0 1.5rem 4rem rgba(23,33,43,.26), 0 0 0 100vmax rgba(23,33,43,.42); transform: translate(-50%, -50%); }
.pilot-kicker { margin: 0 0 .8rem !important; color: var(--sage) !important; font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.pilot-panel h2 { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: .98; letter-spacing: -.03em; }
.pilot-panel p:not(.pilot-kicker) { margin: 1rem 0 0; color: var(--muted); font-family: var(--text); font-size: 1rem; line-height: 1.5; }
.text-button { margin-top: .75rem; padding: 0 !important; color: var(--ink) !important; background: transparent !important; text-decoration: underline; }
.chapter-rail { position: absolute; z-index: 4; top: 50%; right: clamp(1rem, 4vw, 4rem); display: grid; gap: .85rem; transform: translateY(-50%); }
.chapter-rail[data-scene="confidence"] { top: 6rem; transform: none; }
.chapter { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; width: 12rem; border: 0; padding: 0; color: rgba(23,33,43,.5); background: transparent; cursor: pointer; font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.chapter::after { content: ""; width: .42rem; height: .42rem; border: 1px solid currentColor; border-radius: 50%; }
.chapter[aria-current="true"] { color: var(--scene-accent, var(--amber)); }
.chapter[aria-current="true"]::after { border-color: currentColor; background: currentColor; box-shadow: 0 0 0 .25rem rgba(212,164,60,.18); }
.progress { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(23,33,43,.13); }
.progress span { display: block; width: 0; height: 100%; background: var(--amber); transition: width .08s linear; }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 2rem; display: flex; align-items: center; gap: .7rem; color: rgba(23,33,43,.7); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { display: block; width: 2.4rem; height: 1px; background: var(--amber); }
@media (max-width: 720px) {
  .stage { min-height: 32rem; }
  .stage-shade { background: linear-gradient(0deg, rgba(244,237,223,.48) 0%, rgba(244,237,223,.22) 55%, rgba(244,237,223,.04) 100%); }
  .copy, .copy[data-scene="confidence"] { left: 1.25rem; right: 1.25rem; top: auto; bottom: max(4rem, env(safe-area-inset-bottom)); width: auto; transform: none; }
  .copy[data-scene="confidence"] h1 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  h1 { max-width: 12ch; font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .body { margin-top: 1rem; font-size: 1rem; }
  .chapter-rail { top: 1.5rem; right: 1.25rem; }
  .chapter { font-size: 0; }
  .scroll-cue { display: none; }
  .chrome { padding: 1rem 1.25rem; }
  .chrome::after { left: 4.7rem; height: 6rem; }
  .brand-button { left: 1.1rem; }
  .menu-button { top: 6.35rem; left: 1.25rem; }
  .header-pilot { right: 1.25rem; }
  .chapter-menu-inner { width: calc(100% - 2.5rem); }
  .menu-chapter { grid-template-columns: 2.2rem 1fr auto; font-size: clamp(1.5rem, 7vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #journey { display: none; }
  .poster-frame { opacity: 1 !important; }
  .copy.is-changing { animation: none; }
  .stage-shade { background: linear-gradient(90deg, rgba(244,237,223,.95), rgba(244,237,223,.4)); }
}
