:root {
  --ink: #060914;
  --ink-soft: #0b1323;
  --cream: #f7edcf;
  --cream-soft: #d7ceb7;
  --gold: #eecb69;
  --coral: #f15f4f;
  --blue: #25b8d5;
  --line: rgba(247, 237, 207, .22);
  --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; background: var(--ink); color: var(--cream); font-family: var(--sans); overflow-x: hidden; }
body.preview-mode { background: #02050c; }
a { color: inherit; }
button, input { font: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; background: var(--cream); color: var(--ink); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 80; inset: 0 0 auto; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.site-header.is-scrolled, body.preview-mode .site-header { background: rgba(3, 7, 15, .88); backdrop-filter: blur(16px); border-color: var(--line); }
.brand { justify-self: start; text-decoration: none; text-transform: uppercase; letter-spacing: .27em; font-size: 11px; font-weight: 700; white-space: nowrap; }
.site-nav { display: flex; gap: clamp(18px, 2.5vw, 38px); }
.site-nav a, .header-cta, .preview-exit { color: var(--cream-soft); text-decoration: none; text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 700; }
.site-nav a:hover { color: var(--gold); }
.header-cta { justify-self: end; padding: 13px 17px; border: 1px solid var(--line); }
.preview-exit { display: none; justify-self: end; border: 1px solid var(--line); background: transparent; padding: 13px 17px; cursor: pointer; }
.preview-progress { display: none; position: absolute; left: 50%; transform: translateX(-50%); width: min(34vw, 480px); height: 24px; align-items: center; gap: 14px; }
.preview-progress::before { content: ''; height: 1px; flex: 1; background: rgba(247,237,207,.25); }
.preview-progress i { position: absolute; left: 0; top: 11px; width: 0%; height: 2px; background: var(--gold); }
.preview-progress span { font-size: 9px; letter-spacing: .2em; color: var(--cream-soft); white-space: nowrap; }
body.preview-mode .site-nav, body.preview-mode .header-cta { display: none; }
body.preview-mode .preview-exit, body.preview-mode .preview-progress { display: flex; }
body.preview-mode .site-header { grid-template-columns: minmax(150px, 1fr) minmax(220px, 480px) minmax(150px, 1fr); column-gap: 28px; }
body.preview-mode .brand { grid-column: 1; grid-row: 1; }
body.preview-mode .preview-progress { position: relative; left: auto; transform: none; width: 100%; grid-column: 2; grid-row: 1; }
body.preview-mode .preview-exit { grid-column: 3; grid-row: 1; }

.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-wash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(4,8,16,.08), rgba(3,6,13,.38) 56%, rgba(3,6,13,.72) 100%), linear-gradient(180deg, rgba(3,6,13,.18), transparent 35%, rgba(3,6,13,.48)); }
.hero-content { position: relative; z-index: 2; text-align: center; width: min(1100px, 90vw); padding-top: 40px; }
.eyebrow, .kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .26em; font-size: 10px; font-weight: 700; }
.hero h1 { margin: 10px 0 4px; color: var(--cream); font: 400 clamp(74px, 11vw, 164px)/.88 var(--serif); letter-spacing: -.055em; text-shadow: 0 4px 30px rgba(0,0,0,.48); }
.hero-subtitle { margin: 20px 0 32px; font: 400 clamp(20px, 2vw, 30px)/1.25 var(--serif); text-shadow: 0 3px 20px rgba(0,0,0,.75); }
.hero-actions { display: flex; justify-content: center; gap: 10px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; border: 0; text-decoration: none; text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--gold); color: #101018; box-shadow: 0 8px 34px rgba(0,0,0,.25); }
.button-primary:hover { background: #f8da7c; }
.button-quiet { color: var(--cream); border: 1px solid rgba(247,237,207,.35); background: rgba(4,7,14,.28); backdrop-filter: blur(8px); }
.hero-meta { position: absolute; z-index: 2; left: clamp(20px, 4vw, 64px); bottom: 25px; display: flex; gap: 30px; color: var(--cream-soft); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }
.hero-meta span + span::before { content: '·'; margin-right: 30px; color: var(--gold); }
.scroll-mark, .preview-scroll-cue { position: absolute; z-index: 3; right: clamp(20px, 4vw, 64px); bottom: 25px; display: flex; align-items: center; gap: 12px; color: var(--cream-soft); text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }
.scroll-mark i, .preview-scroll-cue i { display: block; width: 38px; height: 1px; background: var(--gold); }
.preview-scroll-cue { display: none; right: 50%; transform: translateX(50%); flex-direction: column; bottom: 30px; }
.preview-scroll-cue i { width: 1px; height: 32px; animation: cue 1.8s ease-in-out infinite; }
body.preview-mode .hero-actions, body.preview-mode .hero-meta, body.preview-mode .scroll-mark { opacity: 0; pointer-events: none; }
body.preview-mode .preview-scroll-cue { display: flex; }
@keyframes cue { 0%,100% { transform: scaleY(.35); transform-origin: top; opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }

.marketing-flow { display: block; }
body.preview-mode .marketing-flow, body.preview-mode .site-footer { display: none; }

.section-heading { width: min(1180px, 88vw); margin: 0 auto; padding: 130px 0 80px; }
.section-heading h2, .book-promise h2, .ideas-intro h2, .portal-copy h2, .grown-copy h2, .reading-copy h2, .waitlist-inner h2, .preview-finish h2 { margin: 14px 0 0; font: 400 clamp(48px, 6vw, 92px)/.98 var(--serif); letter-spacing: -.045em; }
.story-act { background: radial-gradient(circle at 20% 20%, #132b3a 0, transparent 36%), var(--ink); }
.story-beats { width: min(1320px, 92vw); margin: 0 auto; padding-bottom: 140px; }
.story-beat { min-height: 78vh; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-beat-reverse { grid-template-columns: minmax(320px, .65fr) minmax(0, 1.35fr); }
.story-beat-reverse figure { order: 2; }
.story-beat figure { margin: 0; position: relative; }
.story-beat figure::before { content: ''; position: absolute; inset: -10px; border: 1px solid rgba(238,203,105,.35); pointer-events: none; }
.story-beat img { width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.story-beat span { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: 10px; }
.story-beat h3 { margin: 14px 0 20px; font: 400 clamp(34px, 4vw, 62px)/1.02 var(--serif); letter-spacing: -.035em; }
.story-beat p, .promise-grid p, .ideas-intro > p, .portal-copy > p, .grown-copy > p, .reading-copy > p, .waitlist-inner > p { color: var(--cream-soft); font: 400 clamp(17px, 1.45vw, 22px)/1.65 var(--serif); }

.book-promise { padding: 150px max(6vw, 24px); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a111f; }
.book-promise h2 { max-width: 1100px; margin-left: auto; margin-right: auto; }
.promise-grid { width: min(900px, 90vw); margin: 55px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; text-align: left; }
.promise-grid p { margin: 0; }

.ideas-section { padding: 150px max(5vw, 22px); overflow: hidden; background: radial-gradient(circle at 90% 20%, #1a223c 0, transparent 32%), var(--ink); }
.ideas-intro { width: min(900px, 90vw); margin: 0 auto 80px; text-align: center; }
.idea-current { width: min(1360px, 94vw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.idea-card { position: relative; min-height: 310px; padding: 34px; display: flex; justify-content: space-between; align-items: flex-end; overflow: hidden; background: #0b1220; isolation: isolate; }
.idea-card::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--art) center/cover; filter: saturate(.78); transition: transform .9s ease, filter .7s; }
.idea-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,7,14,.18), rgba(4,7,14,.92)); }
.idea-card:hover::before { transform: scale(1.045); filter: saturate(1.1); }
.idea-card b { align-self: flex-start; color: var(--gold); font: 400 12px/1 var(--sans); letter-spacing: .2em; }
.idea-card small { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }
.idea-card h3 { max-width: 460px; margin: 10px 0 0; font: 400 clamp(28px, 3vw, 43px)/1.08 var(--serif); }

.preview-portal { position: relative; min-height: 92vh; display: grid; place-items: center; overflow: hidden; }
.preview-portal > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portal-shade { position: absolute; inset: 0; background: radial-gradient(circle at 62% 50%, rgba(3,6,13,.1), rgba(3,6,13,.85) 76%); }
.portal-copy { position: relative; width: min(720px, 86vw); text-align: center; }
.portal-copy > p { max-width: 620px; margin: 24px auto 34px; }

.grown-section { padding: 150px max(7vw, 28px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 10vw; align-items: center; background: #f2ead5; color: #101521; }
.grown-copy > p { color: #535467; max-width: 760px; }
.grown-section .kicker { color: #8d6b20; }
.origin-note { margin: 0; padding: 50px; border-left: 1px solid #b89546; font: 400 clamp(24px, 2.7vw, 39px)/1.4 var(--serif); }
.origin-note cite { display: block; margin-top: 28px; color: #77705f; font: 700 9px/1.4 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .2em; }

.reading-section { min-height: 90vh; display: grid; grid-template-columns: 1fr 1fr; background: #07101b; }
.reading-section figure { margin: 0; min-height: 760px; }
.reading-section figure img { width: 100%; height: 100%; object-fit: cover; }
.reading-copy { padding: clamp(70px, 9vw, 150px); align-self: center; }
.reading-copy dl { margin: 50px 0 0; border-top: 1px solid var(--line); }
.reading-copy dl div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.reading-copy dt { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 9px; }
.reading-copy dd { margin: 0; color: var(--cream-soft); font-family: var(--serif); }

.waitlist-section { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 100px 24px; background: radial-gradient(circle at 50% 50%, #133240 0, #091321 45%, #040812 100%); }
.waitlist-inner { width: min(850px, 92vw); }
.waitlist-inner > p { max-width: 630px; margin: 24px auto 38px; }
.waitlist-inner form label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.waitlist-inner form > div { display: flex; max-width: 650px; margin: 0 auto; }
.waitlist-inner input { flex: 1; min-width: 0; border: 1px solid var(--line); border-right: 0; background: rgba(3,7,15,.58); color: var(--cream); padding: 0 20px; font-family: var(--serif); font-size: 17px; }
.form-status { min-height: 20px; color: var(--gold); font-size: 12px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 34px 5vw; border-top: 1px solid var(--line); color: var(--cream-soft); }
.site-footer a { text-decoration: none; text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 700; }
.site-footer p { font-family: var(--serif); }
.site-footer small { justify-self: end; }

.preview-reader { display: none; position: relative; background: #02050c; }
body.preview-mode .preview-reader { display: block; }
.preview-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.preview-media { position: absolute; inset: 0; opacity: 0; transition: opacity .75s ease; }
.preview-media.is-active { opacity: 1; }
.preview-media img, .preview-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-media video { opacity: 0; transition: opacity .6s ease; }
.preview-media.video-ready video { opacity: 1; }
.preview-vignette { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,5,12,.56) 0, rgba(2,5,12,.18) 46%, rgba(2,5,12,.1) 100%), linear-gradient(180deg, rgba(2,5,12,.28), transparent 25%, rgba(2,5,12,.34)); }
.preview-chapter { position: absolute; top: 110px; right: 5vw; width: 40vw; text-align: right; font: 400 clamp(34px, 5vw, 70px)/1 var(--serif); text-shadow: 0 4px 30px rgba(0,0,0,.7); transition: opacity .3s; }
.preview-scenes { position: relative; z-index: 2; margin-top: -100svh; }
.preview-scene { min-height: 145svh; display: flex; align-items: center; padding: 12vh 5vw; }
.text-leaf { width: min(510px, 41vw); margin-top: 20vh; padding: clamp(30px, 4vw, 55px); background: rgba(4,8,16,.83); border: 1px solid rgba(238,203,105,.38); box-shadow: 0 30px 90px rgba(0,0,0,.4); backdrop-filter: blur(14px); }
.text-leaf::before, .text-leaf::after { content: ''; display: block; width: 44px; height: 1px; background: var(--gold); margin: 0 auto 25px; }
.text-leaf::after { margin: 25px auto 0; }
.text-leaf small { display: block; margin-bottom: 16px; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }
.text-leaf p { margin: 0 0 16px; color: #fff6dc; font: 400 clamp(17px, 1.5vw, 23px)/1.55 var(--serif); text-wrap: pretty; }
.text-leaf p:last-of-type { margin-bottom: 0; }
.text-leaf.dense p { font-size: clamp(15px, 1.25vw, 20px); line-height: 1.45; }
.preview-finish { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 100px 24px; background: radial-gradient(circle, #153343 0, #050a13 65%); }
.preview-finish p:not(.kicker) { color: var(--cream-soft); font: 400 21px/1.5 var(--serif); }

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

@media (max-width: 900px) {
  .site-header { height: 62px; grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .header-cta { display: none; }
  .hero h1 { font-size: clamp(62px, 19vw, 94px); max-width: 90vw; margin-inline: auto; }
  .hero-content { padding-top: 10px; }
  .hero-meta { left: 20px; right: 20px; justify-content: space-between; gap: 10px; }
  .hero-meta span + span::before { display: none; }
  .scroll-mark { display: none; }
  .story-beat, .story-beat-reverse { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding: 50px 0; }
  .story-beat-reverse figure { order: 0; }
  .story-beat div { padding: 0 5vw; }
  .promise-grid, .grown-section, .reading-section { grid-template-columns: 1fr; }
  .promise-grid { gap: 24px; }
  .idea-current { grid-template-columns: 1fr; }
  .grown-section { gap: 70px; }
  .reading-section figure { min-height: 54vh; }
  body.preview-mode .site-header { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  body.preview-mode .brand { grid-column: 1; }
  body.preview-mode .preview-exit { grid-column: 2; }
  body.preview-mode .preview-progress { position: absolute; grid-column: auto; top: 62px; left: 20px; transform: none; width: calc(100vw - 40px); height: 22px; background: rgba(3,7,15,.88); }
  .preview-progress i { top: 10px; }
  .preview-chapter { top: 102px; right: 20px; width: 78vw; font-size: clamp(32px, 10vw, 52px); }
  .preview-vignette { background: linear-gradient(180deg, rgba(2,5,12,.15) 0, rgba(2,5,12,.05) 44%, rgba(2,5,12,.7) 100%); }
  .preview-scene { align-items: flex-end; padding: 12vh 18px 8vh; }
  .text-leaf { width: 100%; margin-top: 45vh; max-height: 55vh; overflow: auto; padding: 28px; }
  .text-leaf p, .text-leaf.dense p { font-size: clamp(17px, 4.7vw, 21px); }
}

@media (max-width: 560px) {
  .brand { font-size: 9px; letter-spacing: .22em; }
  .preview-exit { padding: 10px; font-size: 8px; }
  .hero { min-height: 100svh; }
  .hero-video { object-position: 44% center; }
  .eyebrow { max-width: 300px; margin-inline: auto; line-height: 1.6; }
  .hero h1 { line-height: .92; }
  .hero-subtitle { margin-top: 18px; }
  .hero-actions { flex-direction: column; width: calc(100vw - 44px); margin: 0 auto; }
  .hero-meta { font-size: 7px; letter-spacing: .14em; }
  .section-heading { padding: 100px 0 45px; }
  .section-heading h2, .book-promise h2, .ideas-intro h2, .portal-copy h2, .grown-copy h2, .reading-copy h2, .waitlist-inner h2 { font-size: clamp(43px, 13vw, 66px); }
  .story-beats { padding-bottom: 90px; }
  .book-promise, .ideas-section, .grown-section { padding-top: 100px; padding-bottom: 100px; }
  .idea-card { min-height: 250px; padding: 24px; }
  .origin-note { padding: 30px 0 30px 28px; }
  .reading-copy { padding: 80px 24px; }
  .waitlist-inner form > div { flex-direction: column; gap: 10px; }
  .waitlist-inner input { min-height: 56px; border-right: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .site-footer small { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-video { display: none; }
  .preview-media video { display: none; }
  .hero { background: url('/assets/images/cover-hero.png') 44% center/cover; }
}
