:root {
  --ink: #050610;
  --night: #090b1b;
  --indigo: #15162f;
  --violet: #29203d;
  --copper: #c78250;
  --copper-light: #efbd7d;
  --vellum: #e9dcc5;
  --mist: #b6abb0;
  --line: rgba(221, 157, 93, .23);
  --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: 210; 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, #74422c, #e5a05f, #f2d9a9); box-shadow: 0 0 14px rgba(224,143,73,.9); }
.star-field { position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(circle, rgba(255,255,255,.68) 0 1px, transparent 1.2px), radial-gradient(circle, rgba(213,159,99,.4) 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 90%); }
body::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); mix-blend-mode: soft-light; }

.library-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); }
.library-header::after { content: ""; position: absolute; inset: auto 7% -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,177,111,.48), transparent); }
.library-brand { display: inline-flex; width: max-content; flex-direction: column; }
.library-brand small { color: #817a86; font: 7px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.library-brand strong { margin-top: 4px; color: #e8d5b8; font: 22px/.95 var(--serif); font-weight: 400; letter-spacing: .08em; }
.library-header > p { margin: 0; color: #c99a6d; font: 8px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.library-header > p span { display: inline-block; margin: 0 9px; color: #edc284; animation: glow-pulse 3.5s ease-in-out infinite; }
.library-header > nav { display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.library-header > nav a,
.cabinet-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; }
.cabinet-toggle { display: inline-flex; align-items: center; gap: 9px; }
.cabinet-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); }
.cabinet-toggle::after,
.library-header > nav a::after { content: ""; position: absolute; inset: auto 50% 1px; height: 1px; background: var(--copper-light); transition: left .24s ease, right .24s ease; }
.cabinet-toggle:hover::after,
.cabinet-toggle:focus-visible::after,
.library-header > nav a:hover::after,
.library-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; }
.cabinet-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; }
.cabinet-close::before,
.cabinet-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; background: #e1ad73; }
.cabinet-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.cabinet-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; }

.memory-hero { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); align-items: center; gap: 5vw; padding: 140px clamp(30px,7vw,120px) 90px; overflow: hidden; background: #090a17; }
.memory-hero::before { content: ""; position: absolute; z-index: 3; inset: 0; pointer-events: none; background: linear-gradient(90deg, #080916 0%, rgba(8,9,22,.94) 35%, rgba(8,9,22,.22) 68%, rgba(8,9,22,.55)), linear-gradient(0deg,#090a17 0%,transparent 27%); }
.hero-art { position: absolute; inset: 0; overflow: hidden; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; object-position: 69% 50%; filter: saturate(.72) contrast(1.08) brightness(.64) hue-rotate(8deg); transform: scale(1.04); animation: portal-breathe 15s ease-in-out infinite alternate; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(circle at 68% 52%, transparent 0 21%, rgba(4,5,14,.15) 39%, rgba(4,5,14,.82) 95%); }
.memory-arc { position: absolute; z-index: 2; right: 18%; top: 18%; width: 350px; height: 350px; border: 1px solid rgba(237,182,113,.21); border-radius: 50%; animation: rotate-forward 34s linear infinite; }
.memory-arc::before,
.memory-arc::after { content: ""; position: absolute; border-radius: 50%; }
.memory-arc::before { inset: 13%; border: 1px dashed rgba(237,182,113,.18); }
.memory-arc::after { left: 50%; top: -4px; width: 8px; height: 8px; background: #e3a66b; box-shadow: 0 0 18px #dd8249; }
.arc-two { right: 10%; top: 7%; width: 530px; height: 530px; opacity: .38; animation-direction: reverse; animation-duration: 48s; }
.arc-three { right: -13%; top: 30%; width: 700px; height: 700px; opacity: .2; animation-duration: 65s; }
.memory-motes i { position: absolute; z-index: 3; width: 5px; height: 5px; border-radius: 50%; background: #f0bc77; box-shadow: 0 0 14px #de7d45, 0 0 31px rgba(232,151,78,.55); animation: mote-wander 8s ease-in-out infinite alternate; }
.memory-motes i:nth-child(1) { right: 39%; top: 22%; animation-delay: -1s; }
.memory-motes i:nth-child(2) { right: 18%; top: 37%; width: 3px; height: 3px; animation-delay: -3.5s; animation-duration: 11s; }
.memory-motes i:nth-child(3) { right: 31%; top: 69%; animation-delay: -5s; animation-duration: 9s; }
.memory-motes i:nth-child(4) { right: 10%; top: 61%; width: 4px; height: 4px; animation-delay: -7s; animation-duration: 13s; }
.memory-motes i:nth-child(5) { right: 48%; top: 49%; width: 3px; height: 3px; animation-delay: -2s; animation-duration: 10s; }
.hero-copy { position: relative; z-index: 5; max-width: 790px; }
.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: 780px; margin: 0; color: #eadcc8; font: clamp(50px,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 { display: block; margin-top: 17px; color: #dfa36d; font-size: .43em; font-weight: 400; line-height: 1.15; letter-spacing: -.015em; }
.hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 32px 0 0; color: #beb4ad; font-size: clamp(15px,1.35vw,19px); line-height: 1.72; }
.hero-copy > p strong { color: #f0ddc1; font-weight: 400; }
.follow-question { display: inline-flex; align-items: center; gap: 22px; margin-top: 34px; color: #e6bc83; font: 8px/1 var(--sans); letter-spacing: .21em; text-transform: uppercase; }
.follow-question span { min-width: 175px; 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; }
.follow-question 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; }
.follow-question:hover span,
.follow-question:focus-visible span { color: #130c13; background: var(--copper-light); }
.belief-compass { position: relative; z-index: 5; justify-self: center; width: min(390px,34vw); aspect-ratio: 1; display: grid; place-items: center; color: #e9b978; }
.compass-rings,
.compass-rings span { position: absolute; inset: 0; border: 1px solid rgba(230,168,99,.26); border-radius: 50%; }
.compass-rings::before,
.compass-rings::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(230,168,99,.2); transform: translate(-50%,-50%); }
.compass-rings::before { width: 1px; height: 100%; }
.compass-rings::after { width: 100%; height: 1px; }
.compass-rings span:nth-child(1) { inset: 12%; border-style: dashed; animation: rotate-forward 22s linear infinite; }
.compass-rings span:nth-child(2) { inset: 29%; border-color: rgba(238,191,129,.45); animation: rotate-backward 17s linear infinite; }
.compass-rings span:nth-child(3) { inset: 43%; border-color: #df9c61; box-shadow: 0 0 35px rgba(222,130,66,.28); }
.belief-compass > strong { position: relative; font: clamp(66px,8vw,105px)/1 var(--serif); font-weight: 400; text-shadow: 0 0 30px rgba(223,136,73,.4); }
.compass-label { position: absolute; color: #ac9690; font: 7px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.label-beliefs { left: -5px; top: 49%; }
.label-evidence { right: -19px; top: 49%; }
.label-experiences { left: 50%; bottom: -20px; transform: translateX(-50%); }

.library-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%); }
.library-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%); }
.story-threads { position: sticky; z-index: 3; top: 112px; align-self: start; margin-top: 112px; padding: 0 0 30px 21px; border-left: 1px solid rgba(212,143,79,.24); }
.story-threads > p { margin: 0 0 26px; color: #b7784c; font: 8px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.story-threads nav { display: grid; }
.story-threads nav a { position: relative; display: grid; grid-template-columns: 27px 1fr; align-items: center; min-height: 40px; color: #716b75; font: 7px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: color .22s ease,transform .22s ease; }
.story-threads 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; }
.story-threads nav a span { color: #835940; font-size: 6px; }
.story-threads nav a:hover,
.story-threads nav a:focus-visible,
.story-threads nav a.is-current { color: #e0cbb1; transform: translateX(4px); }
.story-threads nav a.is-current::before { transform: rotate(45deg) scale(1); }
.thread-status { display: flex; align-items: center; gap: 10px; margin-top: 27px; padding-top: 18px; border-top: 1px solid rgba(199,130,75,.15); }
.thread-status i { width: 6px; height: 6px; border-radius: 50%; background: #cf8250; box-shadow: 0 0 11px #d8834d; animation: glow-pulse 2s ease infinite; }
.thread-status span { color: #635f68; font: 6px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.thread-status strong { display: block; margin-top: 4px; color: #b5a38e; font-weight: 400; }
.story-content { position: relative; z-index: 2; min-width: 0; }
.story-section { position: relative; padding: 112px 0; border-bottom: 1px solid rgba(215,148,86,.14); scroll-margin-top: 70px; }
.story-section:last-child { border-bottom: 0; }
.section-heading { margin: 0 0 46px; }
.section-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; }
.section-heading > p::after { content: ""; width: 65px; height: 1px; background: linear-gradient(90deg,rgba(206,132,76,.7),transparent); }
.section-heading > p span { color: #d59964; }
.section-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; }
.section-intro { margin: 0 0 29px; color: #c5b7ab; font-size: 18px; line-height: 1.7; }
.closing-line { max-width: 910px; margin: 31px auto 0; color: #aaa0a3; font-size: 17px; line-height: 1.8; text-align: center; }

.three-lenses { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 27px; }
.three-lenses > span { position: relative; min-height: 112px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(213,143,80,.2); background: rgba(15,14,30,.72); }
.three-lenses i { position: absolute; width: 68px; height: 68px; border: 1px solid rgba(220,152,87,.17); border-radius: 50%; box-shadow: 0 0 0 13px rgba(220,152,87,.025),0 0 0 26px rgba(220,152,87,.015); }
.three-lenses > span:nth-child(1) i { animation: lens-breathe 4.5s ease-in-out infinite; }
.three-lenses > span:nth-child(2) i { animation: lens-breathe 4.5s ease-in-out -1.5s infinite; }
.three-lenses > span:nth-child(3) i { animation: lens-breathe 4.5s ease-in-out -3s infinite; }
.three-lenses strong { position: relative; z-index: 2; color: #d8c5ac; font: 8px/1 var(--sans); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.belief-grid,
.memory-grid,
.outcome-grid,
.skeptic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.belief-card,
.memory-card,
.outcome-card,
.skeptic-card { position: relative; min-height: 220px; display: grid; align-content: end; padding: 28px; 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; color: #c9b9ac; font-size: 16px; line-height: 1.55; transition: transform .3s ease,border-color .3s ease; }
.belief-card::before,
.memory-card::before,
.outcome-card::before,
.skeptic-card::before { content: ""; position: absolute; width: 115px; height: 115px; left: calc(50% - 58px); top: 26px; border: 1px solid rgba(226,165,98,.18); border-radius: 50%; box-shadow: 0 0 0 17px rgba(226,165,98,.035),0 0 0 36px rgba(226,165,98,.02); }
.belief-card::after,
.memory-card::after,
.outcome-card::after,
.skeptic-card::after { content: ""; position: absolute; inset: 0; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(90deg,transparent,rgba(235,178,112,.08),transparent); animation: card-glimmer 8s ease-in-out infinite; }
.belief-card:nth-child(2)::after,
.memory-card:nth-child(2)::after,
.outcome-card:nth-child(2)::after,
.skeptic-card:nth-child(2)::after { animation-delay: -2.6s; }
.belief-card:nth-child(3)::after,
.memory-card:nth-child(3)::after,
.outcome-card:nth-child(3)::after,
.skeptic-card:nth-child(3)::after { animation-delay: -5.2s; }
.belief-card:hover,
.memory-card:hover,
.outcome-card:hover,
.skeptic-card:hover { transform: translateY(-7px); border-color: rgba(230,165,97,.55); }
.belief-card > span,
.outcome-card > span,
.skeptic-card > span { position: absolute; left: 20px; top: 20px; color: #81583e; font: 7px/1 var(--sans); letter-spacing: .15em; }
.belief-card strong,
.memory-card strong,
.outcome-card strong,
.skeptic-card strong { position: relative; z-index: 2; color: #e0cdb7; font-weight: 400; }
.memory-card { align-content: center; min-height: 205px; text-align: center; }
.memory-card i { position: relative; z-index: 2; width: 7px; height: 7px; margin: 0 auto 22px; border-radius: 50%; background: #dc945c; box-shadow: 0 0 19px #d87b46; }
.portal-quote { position: relative; min-height: 295px; display: grid; place-items: center; margin: 29px 0 0; padding: clamp(48px,7vw,88px); overflow: hidden; border: 1px solid rgba(216,150,85,.27); background: radial-gradient(circle at 50% 50%,rgba(104,57,86,.39),transparent 62%),#0b0b1b; text-align: center; }
.portal-quote::before,
.portal-quote::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px solid rgba(220,156,90,.12); border-radius: 50%; }
.portal-quote::before { width: 590px; height: 340px; box-shadow: inset 0 0 70px rgba(213,125,70,.08); }
.portal-quote::after { width: 430px; height: 250px; border-style: dashed; animation: rotate-forward-centered 31s linear infinite; }
.portal-quote > span { position: absolute; left: 33px; top: 15px; color: rgba(222,158,93,.15); font: 150px/.8 var(--serif); }
.portal-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; }
.regression-path { display: grid; grid-template-columns: repeat(3,1fr); margin: 26px 0; padding: 0; border-top: 1px solid rgba(214,145,80,.18); border-left: 1px solid rgba(214,145,80,.18); list-style: none; }
.regression-path li { position: relative; min-height: 154px; display: grid; align-content: center; padding: 28px 26px 28px 60px; border-right: 1px solid rgba(214,145,80,.18); border-bottom: 1px solid rgba(214,145,80,.18); background: rgba(16,15,31,.65); }
.regression-path li::after { content: ""; position: absolute; right: -5px; top: 50%; z-index: 2; width: 9px; height: 9px; transform: translateY(-50%) rotate(45deg); border: 1px solid #a66745; background: #0b0b19; }
.regression-path li:last-child::after { display: none; }
.regression-path span { position: absolute; left: 22px; top: 26px; color: #875c43; font: 7px/1 var(--sans); letter-spacing: .13em; }
.regression-path strong { color: #d7c4af; font-size: 17px; font-weight: 400; line-height: 1.45; }
.outcome-grid { margin-top: 25px; }
.outcome-card { min-height: 170px; align-content: center; text-align: center; }
.skeptic-grid { margin-top: 25px; }
.skeptic-card { min-height: 200px; }
.curiosity-card { position: relative; min-height: 225px; display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 35px; margin-top: 25px; padding: 40px 48px; overflow: hidden; border: 1px solid rgba(215,146,81,.25); background: radial-gradient(circle at 10% 50%,rgba(158,84,66,.26),transparent 28%),linear-gradient(135deg,#151329,#0a0a18); }
.curiosity-card i { position: relative; z-index: 2; display: grid; place-items: center; width: 110px; height: 110px; border: 1px solid rgba(229,161,94,.43); border-radius: 50%; color: #e4ad72; font: 67px/1 var(--serif); font-style: normal; box-shadow: 0 0 0 18px rgba(219,140,79,.035),0 0 55px rgba(181,91,65,.16); }
.curiosity-card p { position: relative; z-index: 2; margin: 0; color: #c3b5ad; font-size: 17px; line-height: 1.8; }
.meaning-stage { position: relative; width: min(650px,92vw); aspect-ratio: 1; display: grid; place-items: center; margin: 42px auto; }
.meaning-rings { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 0 13px rgba(211,129,65,.22)); }
.meaning-rings span { position: absolute; border-radius: 50%; }
.meaning-rings span:nth-child(1) { inset: 2%; border: 1px solid rgba(236,178,105,.46); animation: rotate-forward 31s linear infinite; }
.meaning-rings span:nth-child(1)::before,
.meaning-rings span:nth-child(2)::before,
.meaning-rings span:nth-child(3)::before { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; transform: translateX(-50%) rotate(45deg); border: 1px solid #e2a769; background: #0b0a18; box-shadow: 0 0 16px #dc7f47; }
.meaning-rings span:nth-child(2) { inset: 21%; border: 1px dashed rgba(236,178,105,.38); animation: rotate-backward 22s linear infinite; }
.meaning-rings span:nth-child(3) { inset: 38%; border: 1px solid rgba(242,191,122,.28); box-shadow: inset 0 0 50px rgba(201,105,58,.08), 0 0 45px rgba(201,105,58,.06); animation: ring-pulse 5s ease-in-out infinite; }
.meaning-rings i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #efbd7d; box-shadow: 0 0 15px #e08649; }
.meaning-rings i:nth-of-type(1) { animation: orbit-dot-one 14s linear infinite; }
.meaning-rings i:nth-of-type(2) { animation: orbit-dot-two 19s linear infinite reverse; }
.meaning-rings i:nth-of-type(3) { animation: orbit-dot-three 11s linear infinite; }
.meaning-orbit { position: relative; z-index: 2; width: 100%; height: 100%; margin: 0; padding: 0; list-style: none; }
.meaning-orbit li { position: absolute; z-index: 2; width: 235px; min-height: 125px; display: grid; align-content: center; padding: 22px; border: 1px solid rgba(215,146,81,.28); background: rgba(14,13,29,.92); text-align: center; }
.meaning-orbit li:nth-child(1) { top: 0; left: calc(50% - 118px); animation: panel-float 5.2s ease-in-out infinite; }
.meaning-orbit li:nth-child(2) { bottom: 55px; left: 0; animation: panel-float 5.2s ease-in-out -1.7s infinite; }
.meaning-orbit li:nth-child(3) { bottom: 55px; right: 0; animation: panel-float 5.2s ease-in-out -3.4s infinite; }
.meaning-orbit li span { color: #a56d4c; font: 7px/1 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.meaning-orbit li strong { margin-top: 11px; color: #ddc8b0; font-size: 16px; font-weight: 400; line-height: 1.4; }
.book-section { 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); }

.library-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; }
.library-footer > a { justify-self: start; color: #dec9ab; font: 21px/1 var(--serif); letter-spacing: .08em; text-transform: none; }
.library-footer p { margin: 0; }
.library-footer p:last-child { justify-self: end; }
.library-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-forward { to { transform: rotate(360deg); } }
@keyframes rotate-backward { to { transform: rotate(-360deg); } }
@keyframes rotate-forward-centered { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes portal-breathe { from { transform: scale(1.04); } to { transform: scale(1.11); } }
@keyframes glow-pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes arrow-drift { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@keyframes mote-wander { from { transform: translate3d(-8px,-15px,0); opacity: .35; } to { transform: translate3d(16px,18px,0); opacity: 1; } }
@keyframes lens-breathe { 0%,100% { transform: scale(.88); opacity: .42; } 50% { transform: scale(1.22); opacity: .95; } }
@keyframes card-glimmer { 0%,62% { transform: translateX(-130%) skewX(-18deg); } 86%,100% { transform: translateX(130%) skewX(-18deg); } }
@keyframes ring-pulse { 0%,100% { transform: scale(.92); opacity: .35; } 50% { transform: scale(1.08); opacity: .92; } }
@keyframes panel-float { 0%,100% { transform: translateY(0); box-shadow: 0 0 0 rgba(219,137,73,0); } 50% { transform: translateY(-8px); box-shadow: 0 16px 42px rgba(196,103,57,.14); } }
@keyframes orbit-dot-one { from { transform: rotate(0deg) translateX(315px) rotate(0deg); } to { transform: rotate(360deg) translateX(315px) rotate(-360deg); } }
@keyframes orbit-dot-two { from { transform: rotate(40deg) translateX(195px) rotate(-40deg); } to { transform: rotate(400deg) translateX(195px) rotate(-400deg); } }
@keyframes orbit-dot-three { from { transform: rotate(120deg) translateX(105px) rotate(-120deg); } to { transform: rotate(480deg) translateX(105px) rotate(-480deg); } }

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

@media (max-width: 900px) {
  .library-header { min-height: 70px; padding: 10px 20px; }
  .library-brand strong { font-size: 19px; }
  .library-header > nav { gap: 16px; }
  .cabinet-toggle { font-size: 0; }
  .cabinet-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; }
  .memory-hero { grid-template-columns: 1fr; align-content: end; padding: 130px 30px 92px; }
  .memory-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%; }
  .belief-compass { display: none; }
  .library-shell { display: block; padding: 0 30px; }
  .story-threads { 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); }
  .story-threads > p,
  .thread-status { display: none; }
  .story-threads nav { display: flex; width: max-content; gap: 24px; }
  .story-threads nav a { display: flex; grid-template-columns: none; gap: 8px; min-height: 34px; }
  .story-threads nav a::before { display: none; }
  .belief-grid,
  .memory-grid,
  .outcome-grid,
  .skeptic-grid { grid-template-columns: 1fr; }
  .belief-card,
  .memory-card,
  .outcome-card,
  .skeptic-card { min-height: 175px; }
  .curiosity-card { grid-template-columns: 90px 1fr; padding: 35px; }
  .curiosity-card i { width: 82px; height: 82px; font-size: 50px; }
  .library-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .library-footer > a,
  .library-footer p:last-child { justify-self: center; }
}

@media (max-width: 620px) {
  .library-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; }
  .memory-hero { min-height: 800px; padding: 125px 22px 80px; }
  .hero-art > img { object-position: 59% 50%; opacity: .8; }
  .hero-copy h1 { font-size: clamp(46px,14vw,66px); }
  .hero-copy h1 em { font-size: .44em; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .eyebrow { flex-wrap: wrap; gap: 9px; }
  .library-shell { padding: 0 20px; }
  .story-threads { margin: 0 -20px; padding-inline: 20px; }
  .story-section { padding: 82px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 42px; }
  .prose-card { padding: 30px 23px; }
  .prose-card p { font-size: 15px; line-height: 1.77; }
  .three-lenses { grid-template-columns: 1fr; }
  .three-lenses > span { min-height: 85px; }
  .portal-quote { min-height: 290px; padding: 50px 23px; }
  .portal-quote p { font-size: 21px; }
  .portal-quote::before { width: 370px; height: 260px; }
  .portal-quote::after { width: 270px; height: 190px; }
  .regression-path { grid-template-columns: 1fr; }
  .regression-path li { min-height: 120px; }
  .regression-path li::after { right: auto; left: 50%; top: auto; bottom: -5px; transform: translateX(-50%) rotate(45deg); }
  .curiosity-card { grid-template-columns: 1fr; text-align: center; }
  .curiosity-card i { margin: 0 auto; }
  .meaning-stage { width: 100%; aspect-ratio: auto; margin: 30px 0; }
  .meaning-rings { display: none; }
  .meaning-orbit { height: auto; display: grid; gap: 14px; }
  .meaning-orbit li { position: relative; inset: auto !important; width: 100%; min-height: 125px; }
  .book-card,
  .wind-book { grid-template-columns: 1fr; padding: 35px 28px; min-height: 0; }
  .book-cover { width: min(210px,65%); margin: 0 auto; }
  .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; }
}

/* Can People Remember Past Lives — page-specific memory archive */
.memory-hero { grid-template-columns: minmax(0,1.12fr) minmax(300px,.88fr); }
.memory-hero::before { background: linear-gradient(90deg,#070815 0%,rgba(7,8,21,.95) 37%,rgba(7,8,21,.3) 66%,rgba(7,8,21,.5)),linear-gradient(0deg,#090a17 0%,transparent 31%); }
.memory-hero .hero-art > img { object-position: 68% 50%; filter: saturate(.75) contrast(1.09) brightness(.7); }
.memory-hero .hero-vignette { background: radial-gradient(circle at 72% 49%,transparent 0 19%,rgba(5,6,16,.1) 38%,rgba(5,6,16,.8) 98%); }
.memory-hero .hero-copy { max-width: 765px; }
.memory-hero .hero-copy h1 { font-size: clamp(49px,6.1vw,94px); }
.memory-hero .hero-copy h1 em { display: inline; margin: 0; color: #dfa36d; font-size: 1em; line-height: inherit; letter-spacing: inherit; }
.memory-hero .hero-copy .hero-subtitle { margin-top: 19px; color: #e6b77c; font: clamp(17px,1.6vw,23px)/1.35 var(--serif); letter-spacing: .035em; }
.memory-hero .hero-copy .hero-subtitle + p { max-width: 690px; margin-top: 25px; }
.memory-hero .hero-copy p + p { margin-top: 12px; }

.memory-gate { position: absolute; z-index: 2; right: 16%; top: 14%; width: 29vw; max-width: 470px; aspect-ratio: .72; border: 1px solid rgba(239,184,112,.26); border-radius: 48% 48% 8% 8% / 34% 34% 8% 8%; box-shadow: inset 0 0 70px rgba(210,119,65,.06),0 0 32px rgba(210,119,65,.06); animation: gate-drift 9s ease-in-out infinite alternate; }
.memory-gate::before,.memory-gate::after { content: ""; position: absolute; inset: 8%; border: 1px dashed rgba(236,179,106,.19); border-radius: inherit; }
.memory-gate::after { inset: 19%; border-style: solid; opacity: .7; }
.memory-gate i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #efbd7d; box-shadow: 0 0 18px #dc7b43; animation: gate-light 8s ease-in-out infinite; }
.gate-two { right: 7%; top: 24%; width: 23vw; opacity: .42; animation-delay: -3s; animation-duration: 12s; }
.gate-three { right: 29%; top: 7%; width: 20vw; opacity: .28; animation-delay: -6s; animation-duration: 14s; }
.memory-motes i:nth-child(6) { right: 24%; top: 15%; width: 4px; height: 4px; animation-delay: -8s; animation-duration: 12s; }

.memory-seal { position: relative; z-index: 5; justify-self: center; width: min(370px,32vw); aspect-ratio: 1; display: grid; place-items: center; color: #e9b978; }
.seal-rings,.seal-rings span { position: absolute; inset: 0; border: 1px solid rgba(230,168,99,.28); border-radius: 50%; }
.seal-rings::before,.seal-rings::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(230,168,99,.18); transform: translate(-50%,-50%); }
.seal-rings::before { width: 1px; height: 100%; }
.seal-rings::after { width: 100%; height: 1px; }
.seal-rings span:nth-child(1) { inset: 9%; border-style: dashed; animation: rotate-forward 24s linear infinite; }
.seal-rings span:nth-child(2) { inset: 25%; border-color: rgba(238,191,129,.42); animation: rotate-backward 18s linear infinite; }
.seal-rings span:nth-child(3) { inset: 41%; box-shadow: 0 0 33px rgba(222,130,66,.25); animation: ring-pulse 5s ease-in-out infinite; }
.seal-rings i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #efbd7d; box-shadow: 0 0 15px #e08649; }
.seal-rings i:nth-of-type(1) { animation: seal-dot-one 12s linear infinite; }
.seal-rings i:nth-of-type(2) { animation: seal-dot-two 17s linear infinite reverse; }
.seal-rings i:nth-of-type(3) { animation: seal-dot-three 9s linear infinite; }
.memory-seal > strong { position: relative; z-index: 2; color: #efc88d; font: clamp(55px,6vw,85px)/1 var(--serif); font-weight: 400; text-shadow: 0 0 27px rgba(223,136,73,.55); }
.seal-label { position: absolute; color: #c0aaa0; font: 7px/1 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.label-dreams { left: 50%; top: -18px; transform: translateX(-50%); }
.label-emotion { right: -26px; top: 50%; }
.label-knowledge { left: 50%; bottom: -18px; transform: translateX(-50%); }
.label-dejavu { left: -27px; top: 50%; }

.memory-type-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.memory-type-card { position: relative; min-height: 270px; display: grid; align-content: end; padding: 31px; overflow: hidden; border: 1px solid rgba(219,151,85,.22); background: radial-gradient(circle at 50% 26%,rgba(143,78,86,.24),transparent 35%),linear-gradient(145deg,#151329,#0a0a18); transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease; }
.memory-type-card::after { content: ""; position: absolute; inset: 0; transform: translateX(-130%) skewX(-16deg); background: linear-gradient(90deg,transparent,rgba(240,188,122,.11),transparent); animation: card-glimmer 8s ease-in-out infinite; }
.memory-type-card:nth-child(2)::after { animation-delay: -2s; }.memory-type-card:nth-child(3)::after { animation-delay: -4s; }.memory-type-card:nth-child(4)::after { animation-delay: -6s; }
.memory-type-card:hover { transform: translateY(-8px); border-color: rgba(236,175,103,.57); box-shadow: 0 21px 55px rgba(0,0,0,.23); }
.memory-type-card > span { position: absolute; left: 22px; top: 21px; color: #946346; font: 7px/1 var(--sans); letter-spacing: .16em; }
.memory-type-card h3 { position: relative; z-index: 2; margin: 0 0 12px; color: #e8d3b8; font: clamp(22px,2.1vw,31px)/1.05 var(--serif); font-weight: 400; }
.memory-type-card p { position: relative; z-index: 2; margin: 0; color: #aba1a0; font-size: 15px; line-height: 1.62; }
.memory-icon { position: absolute; left: 50%; top: 35px; width: 92px; height: 92px; transform: translateX(-50%); border: 1px solid rgba(233,172,103,.24); border-radius: 50%; box-shadow: 0 0 0 15px rgba(226,154,88,.035),0 0 42px rgba(178,89,67,.12); animation: icon-breathe 5s ease-in-out infinite; }
.memory-type-card:nth-child(2) .memory-icon { animation-delay: -1.25s; }.memory-type-card:nth-child(3) .memory-icon { animation-delay: -2.5s; }.memory-type-card:nth-child(4) .memory-icon { animation-delay: -3.75s; }
.memory-icon::before,.memory-icon::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.dream-icon::before { width: 38px; height: 38px; border: 1px solid #d9985e; border-radius: 50%; box-shadow: inset -11px 0 0 #151329; }
.pulse-icon::before { width: 43px; height: 28px; border: 1px solid #d9985e; border-radius: 50% 50% 45% 45%; transform: translate(-50%,-50%) rotate(-45deg); }
.pulse-icon::after { width: 6px; height: 6px; border-radius: 50%; background: #edb473; box-shadow: 0 0 14px #da7943; }
.script-icon::before { width: 42px; height: 29px; border-top: 1px solid #d9985e; border-bottom: 1px solid #d9985e; box-shadow: 0 9px 0 -8px #d9985e,0 -9px 0 -8px #d9985e; }
.echo-icon::before { width: 12px; height: 12px; border: 1px solid #e4aa6c; border-radius: 50%; box-shadow: 0 0 0 11px rgba(224,157,93,.28),0 0 0 23px rgba(224,157,93,.12); }

.trigger-orbit { position: relative; min-height: 650px; display: grid; place-items: center; margin: 27px 0 42px; }
.trigger-rings { position: absolute; width: min(610px,64vw); aspect-ratio: 1; }
.trigger-rings span { position: absolute; border-radius: 50%; }
.trigger-rings span:nth-child(1) { inset: 0; border: 1px solid rgba(235,175,103,.43); animation: rotate-forward 33s linear infinite; }
.trigger-rings span:nth-child(2) { inset: 19%; border: 1px dashed rgba(235,175,103,.33); animation: rotate-backward 23s linear infinite; }
.trigger-rings span:nth-child(3) { inset: 38%; border: 1px solid rgba(235,175,103,.23); animation: ring-pulse 5.5s ease-in-out infinite; }
.trigger-rings i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #efbd7d; box-shadow: 0 0 16px #e08649; }
.trigger-rings i:nth-of-type(1) { animation: trigger-dot-one 15s linear infinite; }.trigger-rings i:nth-of-type(2) { animation: trigger-dot-two 21s linear infinite reverse; }
.trigger-orbit ul { position: relative; z-index: 2; width: min(720px,100%); height: 590px; margin: 0; padding: 0; list-style: none; }
.trigger-orbit li { position: absolute; width: 245px; min-height: 125px; display: grid; align-content: center; padding: 24px; border: 1px solid rgba(218,148,82,.32); background: rgba(13,12,27,.94); text-align: center; animation: panel-float 5.5s ease-in-out infinite; }
.trigger-orbit li:nth-child(1) { left: calc(50% - 122px); top: 0; }.trigger-orbit li:nth-child(2) { right: 0; top: 225px; animation-delay: -1.4s; }.trigger-orbit li:nth-child(3) { left: calc(50% - 122px); bottom: 0; animation-delay: -2.8s; }.trigger-orbit li:nth-child(4) { left: 0; top: 225px; animation-delay: -4.2s; }
.trigger-orbit li span,.view-panel > span,.question-constellation li span { color: #a46b49; font: 7px/1 var(--sans); letter-spacing: .16em; }
.trigger-orbit li strong { margin-top: 10px; color: #ddc8b0; font-size: 17px; font-weight: 400; line-height: 1.4; }

.view-panels { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; margin-top: 28px; }
.view-panel { position: relative; min-height: 355px; padding: 46px 42px; overflow: hidden; border: 1px solid rgba(218,148,82,.26); background: linear-gradient(145deg,rgba(27,24,45,.93),rgba(9,9,21,.96)); }
.view-panel::before { content: ""; position: absolute; width: 250px; height: 250px; right: -95px; top: -105px; border: 1px solid rgba(225,160,95,.15); border-radius: 50%; box-shadow: 0 0 0 23px rgba(225,160,95,.025),0 0 0 46px rgba(225,160,95,.014); animation: rotate-forward 31s linear infinite; }
.view-panel h3 { position: relative; margin: 18px 0 32px; color: #ead6bb; font: clamp(28px,3vw,42px)/1 var(--serif); font-weight: 400; }
.view-panel ul { position: relative; margin: 0; padding: 0; list-style: none; }
.view-panel li { position: relative; margin: 0 0 18px; padding-left: 20px; color: #b8ada7; font-size: 16px; line-height: 1.5; }
.view-panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid #bd774c; }
.spiritual { background: radial-gradient(circle at 95% 15%,rgba(166,92,65,.18),transparent 42%),linear-gradient(145deg,rgba(29,23,43,.93),rgba(9,9,21,.96)); }
.view-axis { display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; gap: 15px; color: #8e6954; }
.view-axis span { width: 1px; background: linear-gradient(transparent,#a96f4c); }.view-axis span:last-child { background: linear-gradient(#a96f4c,transparent); }
.view-axis i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(216,151,87,.4); border-radius: 50%; color: #d3a26f; font: italic 14px/1 var(--serif); animation: ring-pulse 4s ease-in-out infinite; }

.intensity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin: 26px 0 0; padding: 0; list-style: none; }
.intensity-card { position: relative; min-height: 190px; display: grid; place-items: center; padding: 30px; overflow: hidden; border: 1px solid rgba(218,148,82,.22); background: radial-gradient(circle at 50% 50%,rgba(100,58,87,.31),transparent 62%),#0d0d20; text-align: center; }
.intensity-card::before { content: ""; position: absolute; left: 50%; top: 50%; width: 115px; height: 115px; border: 1px solid rgba(232,173,104,.17); border-radius: 50%; animation: intensity-breathe 5s ease-in-out infinite; }
.intensity-card i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #e8ae6c; box-shadow: 0 0 17px #dc7c44; animation: mote-wander 7s ease-in-out infinite alternate; }
.intensity-card strong { position: relative; z-index: 2; color: #e0ccb2; font-size: 18px; font-weight: 400; }

.question-constellation { position: relative; min-height: 480px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 18px; margin: 32px 0; padding: 0; list-style: none; }
.question-constellation::before,.question-constellation::after { content: ""; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(230,168,99,.22); border-radius: 50%; transform: translate(-50%,-50%); animation: rotate-forward-centered 31s linear infinite; }
.question-constellation::before { width: 430px; height: 430px; }.question-constellation::after { width: 265px; height: 265px; border-style: dashed; animation-direction: reverse; animation-duration: 22s; }
.question-constellation li { position: relative; z-index: 2; min-height: 145px; display: grid; align-content: center; padding: 26px; border: 1px solid rgba(217,148,82,.3); background: rgba(13,12,27,.95); text-align: center; animation: panel-float 5.6s ease-in-out infinite; }
.question-constellation li:nth-child(2) { animation-delay: -1.8s; }.question-constellation li:nth-child(3) { animation-delay: -3.6s; }
.question-constellation li strong { margin-top: 12px; color: #e2ceb4; font-size: 18px; font-weight: 400; line-height: 1.4; }

@keyframes gate-drift { from { transform: translate3d(-8px,-5px,0) scale(.98); opacity: .38; } to { transform: translate3d(10px,8px,0) scale(1.03); opacity: .78; } }
@keyframes gate-light { 0%,100% { transform: translateX(-50%); opacity: .3; } 50% { transform: translateX(-50%) translateY(18px); opacity: 1; } }
@keyframes icon-breathe { 0%,100% { transform: translateX(-50%) scale(.88); opacity: .45; } 50% { transform: translateX(-50%) scale(1.08); opacity: 1; } }
@keyframes intensity-breathe { 0%,100% { transform: translate(-50%,-50%) scale(.88); opacity: .45; } 50% { transform: translate(-50%,-50%) scale(1.08); opacity: 1; } }
@keyframes seal-dot-one { from { transform: rotate(0deg) translateX(175px) rotate(0deg); } to { transform: rotate(360deg) translateX(175px) rotate(-360deg); } }
@keyframes seal-dot-two { from { transform: rotate(55deg) translateX(115px) rotate(-55deg); } to { transform: rotate(415deg) translateX(115px) rotate(-415deg); } }
@keyframes seal-dot-three { from { transform: rotate(160deg) translateX(62px) rotate(-160deg); } to { transform: rotate(520deg) translateX(62px) rotate(-520deg); } }
@keyframes trigger-dot-one { from { transform: rotate(0deg) translateX(305px) rotate(0deg); } to { transform: rotate(360deg) translateX(305px) rotate(-360deg); } }
@keyframes trigger-dot-two { from { transform: rotate(80deg) translateX(190px) rotate(-80deg); } to { transform: rotate(440deg) translateX(190px) rotate(-440deg); } }

@media (max-width: 1180px) {
  .memory-seal { width: min(300px,27vw); }
  .memory-type-card { min-height: 250px; }
}

@media (max-width: 900px) {
  .memory-seal { display: none; }
  .memory-gate { width: 48vw; right: 10%; }
  .memory-type-grid { grid-template-columns: 1fr; }
  .memory-type-card { min-height: 235px; }
  .trigger-orbit { min-height: 590px; }
  .view-panels { grid-template-columns: 1fr; gap: 17px; }
  .view-axis { grid-template: none; grid-template-columns: 1fr auto 1fr; align-items: center; }
  .view-axis span { width: auto; height: 1px; background: linear-gradient(90deg,transparent,#a96f4c); }.view-axis span:last-child { background: linear-gradient(90deg,#a96f4c,transparent); }
  .intensity-grid { grid-template-columns: 1fr; }
  .intensity-card { min-height: 150px; }
}

@media (max-width: 620px) {
  .memory-hero .hero-copy h1 { font-size: clamp(44px,13.2vw,64px); }
  .memory-hero .hero-copy .hero-subtitle { font-size: 17px; }
  .memory-gate { width: 69vw; right: -5%; top: 12%; }
  .gate-two { right: -18%; top: 20%; }.gate-three { right: 22%; top: 8%; }
  .trigger-orbit { min-height: 0; display: block; margin-top: 28px; }
  .trigger-rings { display: none; }
  .trigger-orbit ul { width: 100%; height: auto; display: grid; gap: 14px; }
  .trigger-orbit li { position: relative; inset: auto !important; width: 100%; min-height: 120px; }
  .view-panel { min-height: 0; padding: 36px 27px; }
  .question-constellation { min-height: 0; grid-template-columns: 1fr; }
  .question-constellation::before,.question-constellation::after { display: none; }
}
