:root {
  color-scheme: light;
  --paper: #f2f0eb;
  --ink: #1f2528;
  --muted: #646963;
  --line: rgba(34, 45, 48, 0.2);
  --orange: #e87a51;
  --lavender: #aab5db;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 30; top: -80px; left: 12px; padding: 12px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.topbar { height: 78px; padding: 0 clamp(24px, 4.2vw, 72px); position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.wordmark { display: inline-flex; gap: 10px; align-items: center; font-size: 22px; letter-spacing: -0.085em; font-weight: 800; text-decoration: none; }
.wordmark-dot, .period { color: var(--orange); }
.wordmark-symbol { display: inline-flex; align-items: center; gap: 2px; transform: rotate(-18deg); }
.wordmark-symbol i { display: block; width: 5px; height: 15px; border-radius: 9px; background: var(--ink); }
.wordmark-symbol i:nth-child(2) { height: 24px; background: var(--orange); }
.wordmark-symbol i:nth-child(3) { height: 10px; }
.topbar-label, .topbar-link, .eyebrow, .round-link, .detail-pill, .chapter-index, .scene-topline, .scene-bottomline, .footer, .outro-link { font-family: "Courier New", Courier, monospace; letter-spacing: .045em; font-size: 11px; font-weight: 700; }
.topbar-label { color: var(--muted); }
.topbar-label span { margin: 0 8px; color: var(--orange); }
.topbar-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.topbar-link span { font-size: 17px; margin-left: 9px; font-weight: 400; }

.journey { display: grid; grid-template-columns: minmax(0, 49%) minmax(0, 51%); position: relative; }
.chapters { grid-column: 1; grid-row: 1; position: relative; z-index: 1; }
.chapter { min-height: 100svh; padding: 118px clamp(26px, 4.2vw, 72px) 33px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--line); position: relative; }
.chapter-inner { width: min(100%, 650px); }
.eyebrow { color: var(--muted); display: flex; align-items: center; gap: 12px; margin: 0 0 27px; line-height: 1.4; }
.eyebrow-line { width: 20px; height: 2px; background: var(--orange); display: inline-block; flex: 0 0 auto; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -.075em; font-weight: 600; line-height: .95; }
h1 { font-size: clamp(70px, 7.15vw, 132px); margin-bottom: 34px; }
h2 { font-size: clamp(66px, 6.4vw, 110px); margin-bottom: 33px; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.085em; }
.chapter-copy { font-size: clamp(16px, 1.28vw, 21px); line-height: 1.58; max-width: 470px; color: #454c4e; margin-bottom: 34px; }
.round-link { display: inline-flex; align-items: center; text-decoration: none; gap: 13px; }
.round-link-icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--ink); display: inline-grid; place-items: center; font-family: Arial, sans-serif; font-size: 20px; font-weight: 300; transition: color .25s, background .25s, transform .25s; }
.round-link:hover .round-link-icon { background: var(--ink); color: var(--paper); transform: translateY(3px); }
.chapter-index { position: absolute; left: clamp(26px, 4.2vw, 72px); right: clamp(26px, 4.2vw, 72px); bottom: 26px; display: flex; justify-content: space-between; color: var(--muted); }
.detail-pill { display: inline-flex; width: fit-content; padding: 13px 16px; border: 1px solid var(--line); border-radius: 3px; color: #394244; line-height: 1.5; }

.scene-panel { grid-column: 2; grid-row: 1; height: 100svh; position: sticky; top: 0; overflow: hidden; border-left: 1px solid var(--line); background: #e7e5e1; }
.scene-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(68, 76, 78, .075) 1px, transparent 1px), linear-gradient(to bottom, rgba(68, 76, 78, .075) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(120deg, transparent 8%, #000 60%); pointer-events: none; }
.scene-backdrop { position: absolute; width: 85%; aspect-ratio: 1; left: 7%; top: 12%; border-radius: 50%; background: radial-gradient(circle, #f8f7f4 0, #e9e6e3 49%, transparent 69%); filter: blur(5px); }
.scene-orbit { position: absolute; width: min(70vw, 740px); aspect-ratio: 1; border: 1px solid rgba(68, 76, 78, .16); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-28deg) scaleY(.7); pointer-events: none; }
.scene-orbit-two { width: min(44vw, 450px); transform: translate(-50%, -50%) rotate(47deg) scaleY(.82); }
#scene { display: block; position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.scene-topline, .scene-bottomline { position: absolute; z-index: 2; left: 38px; right: 38px; display: flex; justify-content: space-between; pointer-events: none; }
.scene-topline { top: 109px; }
.scene-topline span:last-child { color: var(--muted); }
.scene-topline span:last-child span { font-size: 16px; }
.scene-bottomline { bottom: 42px; }
.scene-progress { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 26px; height: 2px; background: rgba(35, 45, 49, .18); }
.scene-progress span { display: block; width: 0; height: 100%; background: var(--orange); transform-origin: left; }
.scene-fallback { position: absolute; z-index: 1; inset: 30%; display: grid; place-items: center; text-align: center; line-height: 1.5; }
.scene-fallback[hidden] { display: none; }

.outro { padding: clamp(100px, 12vw, 195px) clamp(26px, 4.2vw, 72px); background: #222b31; color: #f8f5ee; min-height: 85svh; display: flex; flex-direction: column; justify-content: center; }
.outro .eyebrow { color: #c9d0d1; }
.outro h2 { max-width: 1050px; font-size: clamp(65px, 8.3vw, 155px); margin-bottom: 42px; }
.outro p:not(.eyebrow) { max-width: 550px; font-size: 18px; line-height: 1.65; color: #c9d0d1; }
.outro-link { display: inline-flex; align-items: center; gap: 18px; align-self: flex-start; text-decoration: none; margin-top: 34px; padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.outro-link span { font-size: 21px; font-weight: 400; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(26px, 4.2vw, 72px); background: #151c21; color: #a9b2b6; }

@media (max-width: 960px) {
  .topbar { height: 68px; }
  .topbar-label { display: none; }
  .journey { display: flex; flex-direction: column; }
  .scene-panel { order: 0; width: 100%; position: sticky; height: 48svh; top: 0; border-left: 0; border-bottom: 1px solid var(--line); z-index: 3; flex: 0 0 auto; }
  .chapters { order: 1; position: relative; z-index: 2; }
  .chapter { min-height: 78svh; padding-top: 95px; background: var(--paper); }
  .chapter-one { min-height: 84svh; }
  .scene-topline { top: 85px; }
  .scene-bottomline { bottom: 30px; }
  .scene-progress { bottom: 17px; }
  h1 { font-size: clamp(65px, 10vw, 110px); }
  h2 { font-size: clamp(62px, 9vw, 100px); }
}

@media (max-width: 600px) {
  .topbar { padding-inline: 22px; }
  .wordmark { font-size: 19px; }
  .topbar-link { font-size: 10px; }
  .scene-panel { height: 43svh; }
  .scene-topline, .scene-bottomline { left: 23px; right: 23px; font-size: 10px; }
  .scene-topline span:last-child { display: none; }
  .scene-progress { left: 23px; right: 23px; }
  .scene-orbit { width: 420px; }
  .scene-orbit-two { width: 300px; }
  .chapter { min-height: 76svh; padding: 78px 26px 70px; }
  .chapter-one { min-height: 82svh; }
  h1 { font-size: clamp(62px, 15.6vw, 88px); }
  h2 { font-size: clamp(57px, 13vw, 78px); }
  .chapter-copy { font-size: 16px; max-width: 34ch; }
  .chapter-index { left: 26px; right: 26px; }
  .detail-pill { font-size: 10px; }
  .outro { min-height: 75svh; }
  .outro h2 { font-size: clamp(54px, 12vw, 80px); }
  .footer { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .round-link-icon { transition: none; }
}
