:root {
  --ink: #050610;
  --night: #090b1b;
  --indigo: #14152c;
  --violet: #2a2140;
  --plum: #3d2439;
  --copper: #c88451;
  --copper-light: #efbd7d;
  --vellum: #e8dcc4;
  --mist: #afa7b3;
  --line: rgba(221, 161, 97, .24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; overflow-x: hidden; color: var(--vellum); background: var(--ink); font-family: var(--serif); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
::selection { color: #090712; background: var(--copper-light); }

.reading-progress { position: fixed; z-index: 200; inset: 0 0 auto; height: 2px; background: rgba(255, 255, 255, .04); }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #78442d, #e5a760, #f1d49f); box-shadow: 0 0 14px rgba(226, 151, 77, .9); }

.star-field { position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .62; background-image: radial-gradient(circle, rgba(255,255,255,.68) 0 1px, transparent 1.2px), radial-gradient(circle, rgba(215,164,104,.42) 0 1px, transparent 1.3px); background-position: 0 0, 73px 41px; background-size: 137px 137px, 211px 211px; animation: star-drift 50s linear infinite; mask-image: linear-gradient(to bottom, #000 0, transparent 88%); }
body::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .14; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); mix-blend-mode: soft-light; }

.atlas-header { position: fixed; z-index: 100; inset: 0 0 auto; min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 13px clamp(22px, 4.3vw, 72px); border-bottom: 1px solid rgba(218, 153, 89, .17); background: linear-gradient(180deg, rgba(5,6,16,.96), rgba(5,6,16,.82)); backdrop-filter: blur(18px); }
.atlas-header::after { content: ""; position: absolute; inset: auto 7% -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 177, 111, .5), transparent); }
.atlas-brand { display: inline-flex; width: max-content; flex-direction: column; }
.atlas-brand small { color: #817a86; font: 7px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.atlas-brand strong { margin-top: 4px; color: #e8d5b8; font: 22px/.95 var(--serif); font-weight: 400; letter-spacing: .08em; }
.atlas-header > p { margin: 0; color: #c99a6d; font: 8px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.atlas-header > p span { display: inline-block; margin: 0 9px; color: #edc284; animation: lantern-pulse 3.5s ease-in-out infinite; }
.atlas-header > nav { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.atlas-header > nav a,
.story-menu-toggle { position: relative; padding: 8px 0; border: 0; background: none; color: #c8bdad; cursor: pointer; font: 7px/1 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.story-menu-toggle { display: inline-flex; align-items: center; gap: 9px; }
.story-menu-toggle i { width: 11px; height: 14px; border: 1px solid #b87342; border-radius: 6px 6px 1px 1px; box-shadow: inset 0 0 7px rgba(227,139,73,.35), 0 0 8px rgba(227,139,73,.22); }
.story-menu-toggle::after,
.atlas-header > nav a::after { content: ""; position: absolute; inset: auto 50% 1px; height: 1px; background: var(--copper-light); transition: left .24s ease, right .24s ease; }
.story-menu-toggle:hover::after,
.story-menu-toggle:focus-visible::after,
.atlas-header > nav a:hover::after,
.atlas-header > nav a:focus-visible::after { left: 0; right: 0; }
.atlas-return { display: inline-flex; align-items: center; gap: 8px; color: #e8c28d !important; }
.atlas-return i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }

.story-cabinet { position: fixed; z-index: 120; inset: 0; display: grid; align-content: center; padding: clamp(30px, 6vw, 90px); opacity: 0; visibility: hidden; transform: translateY(-18px); background: radial-gradient(circle at 50% 45%, rgba(63,40,71,.96), rgba(5,6,16,.99) 60%); transition: opacity .35s ease, visibility .35s ease, transform .35s ease; }
.story-cabinet::before { content: ""; position: absolute; inset: clamp(20px, 3vw, 48px); border: 1px solid rgba(214, 150, 87, .22); pointer-events: none; }
.story-cabinet::after { content: ""; position: absolute; inset: 0; opacity: .21; pointer-events: none; background: radial-gradient(circle at 10% 15%, #d98f4c 0 1px, transparent 2px), radial-gradient(circle at 80% 70%, #ceb079 0 1px, transparent 2px); background-size: 180px 180px, 230px 230px; }
.story-cabinet.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.cabinet-heading { position: relative; z-index: 2; width: min(1120px, 100%); display: flex; justify-content: space-between; align-items: flex-end; margin: 0 auto 35px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.cabinet-heading div { display: flex; flex-direction: column; }
.cabinet-heading small { color: #9b8a7f; font: 8px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.cabinet-heading strong { margin-top: 9px; color: #efddc0; font: clamp(31px, 4vw, 55px)/1 var(--serif); font-weight: 400; }
.story-menu-close { position: relative; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(224, 163, 101, .45); border-radius: 50%; background: rgba(0,0,0,.18); cursor: pointer; }
.story-menu-close::before,
.story-menu-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: #e1ad73; }
.story-menu-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.story-menu-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.story-cabinet > nav { position: relative; z-index: 2; width: min(1120px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; border-top: 1px solid rgba(220,158,96,.13); border-left: 1px solid rgba(220,158,96,.13); }
.story-cabinet > nav a { position: relative; min-height: 146px; display: grid; align-content: center; padding: 26px 28px 26px 64px; overflow: hidden; border-right: 1px solid rgba(220,158,96,.13); border-bottom: 1px solid rgba(220,158,96,.13); background: rgba(8,8,22,.34); transition: background .25s ease, transform .25s ease; }
.story-cabinet > nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--copper), transparent); transition: transform .3s ease; }
.story-cabinet > nav a:hover,
.story-cabinet > nav a:focus-visible { z-index: 2; transform: translateY(-3px); background: rgba(76,45,66,.52); }
.story-cabinet > nav a:hover::after,
.story-cabinet > nav a:focus-visible::after,
.story-cabinet > nav a.is-active::after { transform: scaleX(1); }
.story-cabinet > nav a > span { position: absolute; left: 24px; top: 29px; color: #9a6950; font: 9px/1 var(--sans); letter-spacing: .12em; }
.story-cabinet > nav strong { color: #e5d5bd; font: 20px/1.12 var(--serif); font-weight: 400; }
.story-cabinet > nav small { margin-top: 11px; color: #897f85; font: 7px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }

.journey-hero { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: center; gap: 5vw; padding: 145px clamp(30px, 7vw, 120px) 90px; overflow: hidden; background: #090a17; }
.journey-hero::before { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(90deg, #080916 0%, rgba(8,9,22,.94) 34%, rgba(8,9,22,.2) 68%, rgba(8,9,22,.5)), linear-gradient(0deg, #090a17 0%, transparent 25%); }
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; filter: saturate(.76) contrast(1.08) brightness(.65) hue-rotate(6deg); transform: scale(1.04); animation: portal-breathe 14s ease-in-out infinite alternate; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(circle at 68% 51%, transparent 0 23%, rgba(4,5,14,.16) 40%, rgba(4,5,14,.82) 94%); }
.constellation { position: absolute; z-index: 2; width: 320px; height: 320px; border: 1px solid rgba(237,182,113,.22); border-radius: 50%; }
.constellation::before,
.constellation::after { content: ""; position: absolute; inset: 15%; border: 1px dashed rgba(237,182,113,.18); border-radius: inherit; }
.constellation::after { inset: 42%; background: rgba(244,190,119,.64); box-shadow: 0 0 25px #d98749; }
.constellation-one { right: 16%; top: 20%; animation: rotate-slow 34s linear infinite; }
.constellation-two { right: -8%; bottom: -18%; transform: scale(1.5); opacity: .4; animation: rotate-reverse 48s linear infinite; }
.orbit { position: absolute; z-index: 3; right: 22%; top: 27%; width: 190px; height: 190px; border: 1px solid rgba(243,189,120,.27); border-radius: 50%; animation: rotate-slow 12s linear infinite; }
.orbit i { position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #f0c281; box-shadow: 0 0 14px #e79350; }
.orbit-two { width: 450px; height: 450px; right: 12.7%; top: 11%; opacity: .42; animation-duration: 28s; animation-direction: reverse; }
.hero-copy { position: relative; z-index: 5; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 15px; margin: 0 0 27px; color: #9f9191; font: 8px/1 var(--sans); letter-spacing: .21em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 43px; height: 1px; background: linear-gradient(90deg, var(--copper), transparent); }
.eyebrow span { color: #edb775; }
.hero-copy h1 { max-width: 730px; margin: 0; color: #eadcc8; font: clamp(48px, 6vw, 91px)/.93 var(--serif); font-weight: 400; letter-spacing: -.045em; text-shadow: 0 8px 45px rgba(0,0,0,.55); }
.hero-copy h1 em { color: #e1a46d; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 685px; margin: 33px 0 0; color: #beb4ad; font-size: clamp(15px, 1.35vw, 19px); line-height: 1.72; }
.hero-copy > p strong { color: #f0ddc1; font-weight: 400; }
.begin-journey { display: inline-flex; align-items: center; gap: 22px; margin-top: 34px; color: #e6bc83; font: 8px/1 var(--sans); letter-spacing: .21em; text-transform: uppercase; }
.begin-journey span { min-width: 174px; padding: 15px 20px; border: 1px solid rgba(224,155,91,.55); background: rgba(10,8,20,.42); text-align: center; transition: background .25s ease, color .25s ease; }
.begin-journey i { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(224,155,91,.26); border-radius: 50%; font-style: normal; animation: arrow-drift 2.2s ease-in-out infinite; }
.begin-journey:hover span,
.begin-journey:focus-visible span { color: #130c13; background: var(--copper-light); }
.hero-marker { position: relative; z-index: 5; justify-self: center; width: 220px; height: 220px; display: grid; place-items: center; margin-left: auto; color: #e8b876; }
.marker-rings,
.marker-rings span { position: absolute; inset: 0; border: 1px solid rgba(230,168,99,.25); border-radius: 50%; }
.marker-rings span:nth-child(1) { inset: 12%; border-style: dashed; animation: rotate-slow 19s linear infinite; }
.marker-rings span:nth-child(2) { inset: 29%; border-color: rgba(238,191,129,.48); }
.marker-rings span:nth-child(3) { inset: 45%; border-color: #e0a566; box-shadow: 0 0 28px rgba(222,130,66,.36); }
.hero-marker strong { position: relative; font: 66px/1 var(--serif); font-weight: 400; }
.hero-marker small { position: absolute; top: calc(100% + 8px); white-space: nowrap; color: #9d8d86; font: 7px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll { position: absolute; z-index: 5; left: clamp(30px, 7vw, 120px); bottom: 29px; display: flex; align-items: center; gap: 12px; color: #736c78; font: 7px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll span { width: 42px; height: 1px; background: linear-gradient(90deg, #b26f47, transparent); }

.atlas-shell { position: relative; z-index: 3; width: min(1500px, 100%); display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: clamp(45px, 7vw, 115px); margin: 0 auto; padding: 0 clamp(24px, 5vw, 80px); background: linear-gradient(180deg, #090a17 0, #070812 65%, #060710 100%); }
.atlas-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: radial-gradient(circle at 89% 20%, rgba(89,55,89,.38), transparent 26%), radial-gradient(circle at 10% 71%, rgba(117,64,47,.2), transparent 24%); }
.soul-docket { position: sticky; z-index: 3; top: 112px; align-self: start; margin-top: 115px; padding: 0 0 30px 21px; border-left: 1px solid rgba(212,143,79,.24); }
.soul-docket > p { margin: 0 0 26px; color: #b7784c; font: 8px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.soul-docket nav { display: grid; }
.soul-docket nav a { position: relative; display: grid; grid-template-columns: 27px 1fr; align-items: center; min-height: 42px; color: #716b75; font: 7px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: color .22s ease, transform .22s ease; }
.soul-docket nav a::before { content: ""; position: absolute; left: -25px; width: 7px; height: 7px; transform: rotate(45deg) scale(0); border: 1px solid #d49157; background: #090a17; transition: transform .22s ease; }
.soul-docket nav a span { color: #835940; font-size: 6px; }
.soul-docket nav a:hover,
.soul-docket nav a:focus-visible,
.soul-docket nav a.is-current { color: #e0cbb1; transform: translateX(4px); }
.soul-docket nav a.is-current::before { transform: rotate(45deg) scale(1); }
.docket-status { display: flex; align-items: center; gap: 10px; margin-top: 27px; padding-top: 18px; border-top: 1px solid rgba(199,130,75,.15); }
.docket-status i { width: 6px; height: 6px; border-radius: 50%; background: #cf8250; box-shadow: 0 0 11px #d8834d; animation: lantern-pulse 2s ease infinite; }
.docket-status span { color: #635f68; font: 6px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.docket-status strong { display: block; margin-top: 4px; color: #b5a38e; font-weight: 400; }
.atlas-content { position: relative; z-index: 2; min-width: 0; }

.passage { position: relative; padding: 115px 0; border-bottom: 1px solid rgba(215,148,86,.14); scroll-margin-top: 70px; }
.passage:last-child { border-bottom: 0; }
.chapter-heading { margin: 0 0 48px; }
.chapter-heading > p { display: flex; align-items: center; gap: 15px; margin: 0 0 18px; color: #9e7e6a; font: 7px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.chapter-heading > p::after { content: ""; width: 65px; height: 1px; background: linear-gradient(90deg, rgba(206,132,76,.7), transparent); }
.chapter-heading > p span { color: #d59964; }
.chapter-heading h2 { margin: 0; color: #eadcc9; font: clamp(40px, 5.1vw, 72px)/.98 var(--serif); font-weight: 400; letter-spacing: -.035em; }
.prose-card { position: relative; padding: clamp(31px, 5vw, 61px); overflow: hidden; border: 1px solid rgba(211,143,78,.19); background: linear-gradient(135deg, rgba(34,27,48,.58), rgba(10,10,23,.65)); }
.prose-card::before { content: ""; position: absolute; left: 0; top: 0; width: 70px; height: 70px; border-left: 1px solid #b96f43; border-top: 1px solid #b96f43; clip-path: polygon(0 0, 100% 0, 0 100%); opacity: .6; }
.prose-card p { margin: 0 0 25px; color: #bcb2ad; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.86; }
.prose-card p:last-child { margin-bottom: 0; }
.prose-card strong { color: #e7cfad; font-weight: 400; }
.prose-card em { color: #e1b67d; }
.lead-card p:first-child::first-letter { float: left; margin: 7px 11px 0 0; color: #d7925a; font-size: 63px; line-height: .68; }
.continuum { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 2vw, 28px); margin-top: 38px; padding: 20px; border: 1px solid rgba(208,136,78,.13); color: #887e82; background: rgba(18,17,32,.5); font: 6px/1 var(--sans); letter-spacing: .11em; text-align: center; text-transform: uppercase; }
.continuum i { width: 5px; height: 5px; flex: 0 0 5px; transform: rotate(45deg); border: 1px solid #9c6545; }
.section-intro { margin: 0 0 29px; color: #c5b7ab; font-size: 18px; line-height: 1.7; }
.memory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 25px; padding: 0; list-style: none; }
.memory-fragment { position: relative; min-height: 235px; display: grid; align-content: end; padding: 27px; overflow: hidden; border: 1px solid rgba(216,145,78,.2); background: radial-gradient(circle at 30% 20%, rgba(133,80,88,.28), transparent 42%), #101023; transition: transform .3s ease, border-color .3s ease; }
.memory-fragment::before { content: ""; position: absolute; width: 120px; height: 120px; left: calc(50% - 60px); top: 25px; border: 1px solid rgba(226,165,98,.18); border-radius: 50%; box-shadow: 0 0 0 18px rgba(226,165,98,.035), 0 0 0 38px rgba(226,165,98,.025); }
.memory-fragment::after { content: ""; position: absolute; left: 50%; top: 84px; width: 7px; height: 7px; border-radius: 50%; background: #d9985e; box-shadow: 0 0 20px #d87e46; }
.memory-fragment:hover { transform: translateY(-7px); border-color: rgba(230,165,97,.55); }
.memory-fragment > span { position: absolute; left: 20px; top: 20px; color: #81583e; font: 7px/1 var(--sans); letter-spacing: .15em; }
.memory-fragment strong { position: relative; z-index: 2; color: #d8c6b4; font-size: 17px; font-weight: 400; line-height: 1.45; }
.signal-quote { position: relative; min-height: 260px; display: grid; place-items: center; margin: 30px 0; padding: clamp(46px, 7vw, 88px); overflow: hidden; border: 1px solid rgba(216,150,85,.27); background: radial-gradient(circle at 50% 50%, rgba(104,57,86,.38), transparent 62%), #0b0b1b; text-align: center; }
.signal-quote::before,
.signal-quote::after { content: ""; position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%,-50%); border: 1px solid rgba(220,156,90,.12); border-radius: 50%; }
.signal-quote::after { width: 300px; height: 300px; border-style: dashed; animation: rotate-slow 31s linear infinite; }
.signal-quote > span { position: absolute; left: 33px; top: 15px; color: rgba(222,158,93,.15); font: 150px/.8 var(--serif); }
.signal-quote p { position: relative; z-index: 2; max-width: 860px; margin: 0; color: #e7d2b7; font-size: clamp(21px, 2.3vw, 31px); font-style: italic; line-height: 1.5; }
.section-afterword { max-width: 890px; margin: 30px auto 0; color: #aba1a1; font-size: 17px; line-height: 1.8; text-align: center; }
.section-afterword strong { color: #e2c39c; font-weight: 400; }
.philosophy-passage { min-height: 900px; }
.philosophy-orbit { position: relative; width: min(440px, 78vw); aspect-ratio: 1; display: grid; place-items: center; margin: 44px auto; }
.cycle-core { width: 180px; height: 180px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px solid rgba(226,161,97,.5); border-radius: 50%; background: radial-gradient(circle, rgba(108,65,84,.55), rgba(11,11,27,.9) 68%); box-shadow: 0 0 80px rgba(151,76,62,.16); }
.cycle-core span { color: #ddc6a7; font: 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.cycle-core i { color: #ce8954; font-style: normal; font-size: 8px; }
.cycle-ring { position: absolute; inset: 7%; border: 1px solid rgba(217,150,86,.2); border-radius: 50%; }
.cycle-ring::before,
.cycle-ring::after { content: ""; position: absolute; width: 11px; height: 11px; border: 1px solid #ca8051; transform: rotate(45deg); background: #111022; box-shadow: 0 0 15px rgba(221,125,71,.6); }
.cycle-ring::before { left: calc(50% - 6px); top: -6px; }
.cycle-ring::after { left: calc(50% - 6px); bottom: -6px; }
.cycle-ring-one { animation: rotate-slow 18s linear infinite; }
.cycle-ring-two { inset: 18%; border-style: dashed; animation: rotate-reverse 25s linear infinite; }
.question-constellation { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.question-constellation::before { content: ""; position: absolute; left: 12%; right: 12%; top: 48%; height: 1px; background: linear-gradient(90deg, transparent, rgba(218,147,80,.35), transparent); }
.question-card { position: relative; z-index: 2; min-height: 245px; display: grid; align-content: center; margin: 0; padding: 38px 28px; border: 1px solid rgba(218,147,80,.22); background: radial-gradient(circle at 50% 0%, rgba(96,62,96,.35), transparent 55%), #0d0e20; color: #d4c4b4; font-size: 18px; line-height: 1.6; text-align: center; transition: border-color .28s ease, transform .28s ease; }
.question-card:hover { transform: translateY(-6px); border-color: rgba(230,164,96,.57); }
.question-card > span { position: absolute; left: 18px; top: 16px; color: #81583f; font: 7px/1 var(--sans); letter-spacing: .12em; }
.conclusion-card { margin-top: 25px; text-align: center; }
.portal-quote { min-height: 340px; background: radial-gradient(ellipse at center, rgba(143,76,63,.24), rgba(31,20,44,.5) 45%, #0a0a19 75%); }
.portal-quote::before { width: 610px; height: 340px; border-radius: 50%; box-shadow: inset 0 0 70px rgba(213,125,70,.09), 0 0 80px rgba(109,61,94,.12); }
.portal-quote::after { width: 470px; height: 260px; border-radius: 50%; }
.book-passage { padding-bottom: 135px; }
.book-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 22px; }
.book-card { position: relative; min-width: 0; display: grid; grid-template-columns: minmax(110px, .34fr) minmax(0, .66fr); gap: clamp(23px, 3vw, 43px); align-items: center; min-height: 510px; padding: clamp(30px, 4vw, 53px); overflow: hidden; border: 1px solid rgba(216,148,82,.24); background: radial-gradient(circle at 16% 42%, rgba(152,83,72,.22), transparent 32%), linear-gradient(135deg, #171329, #080916); }
.book-card::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(214,147,81,.1); pointer-events: none; }
.wind-book { grid-template-columns: minmax(130px, .3fr) minmax(0, .7fr); background: radial-gradient(circle at 13% 44%, rgba(49,112,134,.23), transparent 32%), linear-gradient(135deg, #11172b, #080916); }
.book-cover { position: relative; z-index: 2; perspective: 700px; }
.book-cover img { width: 100%; transform: rotateY(7deg); box-shadow: -14px 24px 45px rgba(0,0,0,.55); transition: transform .35s ease; }
.book-card:hover .book-cover img { transform: rotateY(0) translateY(-5px); }
.book-card > div:last-child { position: relative; z-index: 2; }
.book-card p { margin: 0 0 25px; color: #b3a7a2; font-size: 14px; line-height: 1.68; }
.book-card h3 { margin: 0; color: #ebd8ba; font-size: clamp(23px, 2.2vw, 35px); font-weight: 400; line-height: 1.08; }
.book-card > div > span { display: block; margin-top: 10px; color: #857a7c; font: 7px/1 var(--sans); letter-spacing: .15em; }
.book-card > div > a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 24px; padding: 0 20px; border: 1px solid #cf8955; background: linear-gradient(135deg, #d69a60, #8b4d37); color: #0d0910; font: 700 8px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transition: transform .22s ease, filter .22s ease; }
.book-card > div > a:hover,
.book-card > div > a:focus-visible { transform: translateY(-3px); filter: brightness(1.14); }

.atlas-footer { position: relative; z-index: 4; min-height: 95px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 25px clamp(24px, 5vw, 80px); border-top: 1px solid rgba(211,143,78,.17); background: #04050d; color: #716c74; font: 7px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.atlas-footer > a { justify-self: start; color: #dec9ab; font: 21px/1 var(--serif); letter-spacing: .08em; text-transform: none; }
.atlas-footer p { margin: 0; }
.atlas-footer p:last-child { justify-self: end; }
.atlas-footer p a { color: #c88755; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes star-drift { to { background-position: 380px -320px, -260px 390px; } }
@keyframes rotate-slow { to { transform: rotate(360deg); } }
@keyframes rotate-reverse { to { transform: rotate(-360deg); } }
@keyframes portal-breathe { from { transform: scale(1.04); } to { transform: scale(1.11); } }
@keyframes lantern-pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes arrow-drift { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

@media (max-width: 1180px) {
  .atlas-header { grid-template-columns: 1fr auto; }
  .atlas-header > p { display: none; }
  .journey-hero { grid-template-columns: minmax(0, 1fr) 220px; }
  .atlas-shell { grid-template-columns: 200px minmax(0,1fr); gap: 45px; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 190px minmax(0,1fr); min-height: 430px; }
  .wind-book { grid-template-columns: 190px minmax(0,1fr); }
}

@media (max-width: 900px) {
  .atlas-header { min-height: 70px; padding: 10px 20px; }
  .atlas-brand strong { font-size: 19px; }
  .atlas-header > nav { gap: 16px; }
  .story-menu-toggle { font-size: 0; }
  .story-menu-toggle i { width: 14px; height: 18px; }
  .atlas-return { font-size: 6px !important; }
  .story-cabinet { padding: 70px 28px 35px; align-content: start; overflow-y: auto; }
  .story-cabinet::before { inset: 15px; }
  .story-cabinet > nav { grid-template-columns: repeat(2, 1fr); }
  .story-cabinet > nav a { min-height: 125px; }
  .journey-hero { grid-template-columns: 1fr; align-content: end; padding: 130px 30px 92px; }
  .journey-hero::before { background: linear-gradient(0deg, #080916 5%, rgba(8,9,22,.82) 60%, rgba(8,9,22,.38)); }
  .hero-art > img { object-position: 63% 40%; }
  .hero-copy { max-width: 680px; }
  .hero-marker { display: none; }
  .atlas-shell { display: block; padding: 0 30px; }
  .soul-docket { position: relative; top: auto; margin: 0 -30px; padding: 18px 30px; overflow-x: auto; border-left: 0; border-bottom: 1px solid rgba(211,143,78,.17); background: rgba(6,7,16,.92); }
  .soul-docket > p,
  .docket-status { display: none; }
  .soul-docket nav { display: flex; width: max-content; gap: 24px; }
  .soul-docket nav a { display: flex; grid-template-columns: none; gap: 8px; min-height: 34px; }
  .soul-docket nav a::before { display: none; }
  .memory-grid,
  .question-constellation { grid-template-columns: 1fr; }
  .memory-fragment { min-height: 190px; }
  .question-card { min-height: 170px; }
  .question-constellation::before { display: none; }
  .continuum { flex-wrap: wrap; }
  .atlas-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .atlas-footer > a,
  .atlas-footer p:last-child { justify-self: center; }
}

@media (max-width: 620px) {
  .atlas-header > nav { gap: 12px; }
  .atlas-return { font-size: 0 !important; }
  .atlas-return i { width: 12px; height: 12px; }
  .story-cabinet { padding: 65px 20px 25px; }
  .cabinet-heading { align-items: center; margin-bottom: 20px; }
  .cabinet-heading strong { font-size: 29px; }
  .story-cabinet > nav { grid-template-columns: 1fr; }
  .story-cabinet > nav a { min-height: 105px; padding-left: 57px; }
  .journey-hero { min-height: 780px; padding: 125px 22px 80px; }
  .hero-art > img { object-position: 59% 50%; opacity: .8; }
  .hero-copy h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .eyebrow { flex-wrap: wrap; gap: 9px; }
  .hero-scroll { left: 22px; }
  .atlas-shell { padding: 0 20px; }
  .soul-docket { margin: 0 -20px; padding-inline: 20px; }
  .passage { padding: 82px 0; }
  .chapter-heading { margin-bottom: 34px; }
  .chapter-heading h2 { font-size: 42px; }
  .prose-card { padding: 30px 23px; }
  .prose-card p { font-size: 15px; line-height: 1.77; }
  .signal-quote { min-height: 290px; padding: 50px 23px; }
  .signal-quote p { font-size: 21px; }
  .signal-quote::before { width: 370px; height: 370px; }
  .signal-quote::after { width: 240px; height: 240px; }
  .section-afterword { font-size: 15px; }
  .book-card,
  .wind-book { grid-template-columns: 1fr; padding: 35px 28px; }
  .book-cover { width: min(210px, 65%); margin: 0 auto; }
  .book-card { min-height: 0; }
  .book-card p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
