@layer reset, base, components, pages, motion, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, blockquote { margin: 0; }
  img { display: block; max-width: 100%; }
  button, a { font: inherit; }
}

@layer base {
  :root {
    --ink: #07070a;
    --ink-soft: #0d0c12;
    --paper: #f3f0e9;
    --muted: #aaa4af;
    --violet: #a87aff;
    --ember: #e35f3d;
    --gold: #d7ad62;
    --line: rgb(255 255 255 / 0.14);
    --gutter: clamp(1.25rem, 4vw, 4.5rem);
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  }

  html { background: var(--ink); color-scheme: dark; }
  body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--paper);
    font: 400 1rem/1.7 var(--sans);
    text-rendering: optimizeLegibility;
  }
  body::before {
    position: fixed; z-index: 20; inset: 0; pointer-events: none; content: "";
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  }
  ::selection { background: var(--violet); color: var(--ink); }
  a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .94; text-wrap: balance; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-200%); }
  .skip-link:focus { transform: none; }
  :focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
  [data-parallax] { transform: translate3d(0, var(--parallax-y, 0), 0); will-change: transform; }
}

@layer components {
  .site-header {
    position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 7rem; padding: 0 var(--gutter);
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid transparent;
    transition: height .35s ease, background-color .35s ease, border-color .35s ease, transform .35s ease;
  }
  .site-header[data-compact] { height: 5rem; background: rgb(7 7 10 / .88); border-color: var(--line); backdrop-filter: blur(18px); }
  .site-header[data-hidden] { transform: translateY(-100%); }
  .wordmark { display: inline-flex; flex-direction: column; color: var(--paper); text-decoration: none; text-transform: uppercase; font-size: .67rem; line-height: .86; letter-spacing: .19em; }
  .wordmark strong { font-size: 1.08rem; font-weight: 800; letter-spacing: .05em; }
  .site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.8rem); }
  .site-nav a { position: relative; color: #d7d2d9; text-decoration: none; text-transform: uppercase; font-size: .67rem; font-weight: 700; letter-spacing: .15em; }
  .site-nav a::after { position: absolute; right: 0; bottom: -.55rem; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
  .site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .menu-toggle { display: none; width: 2.75rem; height: 2.75rem; padding: .65rem; border: 0; background: transparent; color: white; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 1px; margin: .32rem 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

  .eyebrow { color: var(--violet); text-transform: uppercase; font-size: .68rem; font-weight: 750; line-height: 1.4; letter-spacing: .23em; }
  .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
  .button { display: inline-flex; min-height: 3.6rem; align-items: center; justify-content: center; gap: 2rem; padding: .9rem 1.4rem; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; font-size: .67rem; font-weight: 750; letter-spacing: .16em; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
  .button:hover { transform: translateY(-3px); }
  .button--light { background: var(--paper); color: var(--ink); }
  .button--outline { border-color: var(--line); color: var(--paper); }
  .button--outline:hover { background: var(--paper); color: var(--ink); }
  .text-link, .arrow-link { text-transform: uppercase; text-decoration: none; font-size: .68rem; font-weight: 750; letter-spacing: .15em; }
  .text-link span, .arrow-link span { display: inline-block; margin-left: .45rem; transition: transform .2s ease; }
  .text-link:hover span { transform: translate(3px, -3px); }
  .arrow-link:hover span { transform: translateX(5px); }

  .site-footer { min-height: 19rem; padding: 5rem var(--gutter) 2rem; display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 3rem; border-top: 1px solid var(--line); background: #050507; }
  .wordmark--footer { margin-bottom: 1.5rem; }
  .site-footer p { color: var(--muted); font-size: .78rem; }
  .footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: .55rem; }
  .footer-links a { color: var(--muted); text-decoration: none; font-size: .76rem; }
  .footer-links a:hover { color: var(--paper); }
  .social-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
  .social-links a { display: inline-flex; min-height: 2.65rem; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: #aaa3ae; text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease; }
  .social-links a:hover, .social-links a:focus-visible { border-color: rgb(196 163 250 / .48); background: rgb(196 163 250 / .07); color: var(--paper); transform: translateY(-2px); }
  .social-links svg { width: 1.15rem; height: 1.15rem; flex: none; fill: currentColor; }
  .social-links svg rect, .social-links svg circle:not(.social-icon-fill) { fill: none; stroke: currentColor; stroke-width: 1.8; }
  .social-links .social-icon-fill { fill: currentColor; stroke: none; }
  .copyright { grid-column: 1 / -1; align-self: end; border-top: 1px solid var(--line); padding-top: 1.3rem; }
}

@layer pages {
  .hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 9rem var(--gutter) 5rem; isolation: isolate; }
  .hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #07070a 0%, rgb(7 7 10 / .86) 42%, transparent 72%), linear-gradient(0deg, #07070a, transparent 25%); }
  .hero-sky { position: absolute; z-index: -3; inset: -15%; background: radial-gradient(circle at 78% 43%, rgb(96 61 154 / .52), transparent 24%), radial-gradient(circle at 76% 43%, rgb(213 197 255 / .22), transparent 2%), radial-gradient(circle at 56% 75%, rgb(86 48 114 / .22), transparent 30%), #07070a; }
  .hero-sky::before, .hero-sky::after { position: absolute; inset: 0; content: ""; background-image: radial-gradient(circle, rgb(255 255 255 / .7) 0 1px, transparent 1.2px); background-size: 83px 83px; opacity: .28; }
  .hero-sky::after { background-size: 137px 137px; background-position: 31px 17px; opacity: .18; }
  .orb { position: absolute; z-index: -2; border: 1px solid rgb(190 157 255 / .18); border-radius: 50%; }
  .orb--one { width: 38vw; aspect-ratio: 1; right: -8vw; top: 5vh; box-shadow: inset 0 0 80px rgb(126 77 210 / .05); }
  .orb--two { width: 8vw; aspect-ratio: 1; right: 37vw; bottom: 16vh; background: rgb(162 112 245 / .05); }
  .hero-copy { position: relative; z-index: 3; max-width: 49rem; }
  .hero h1 { margin: 1.4rem 0 1.6rem; font-size: clamp(5rem, 10vw, 10.5rem); letter-spacing: -.075em; }
  .hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgb(243 240 233 / .58); font-size: .62em; line-height: .75; letter-spacing: -.03em; }
  .hero-line { margin: 0 0 2.4rem; font: italic clamp(1.35rem, 2.2vw, 2.2rem)/1.25 var(--serif); color: #d6d0d9; }
  .hero-cover { position: relative; z-index: 2; justify-self: center; width: min(31vw, 31rem); perspective: 900px; }
  .hero-cover img { position: relative; z-index: 2; filter: drop-shadow(0 3rem 4rem rgb(0 0 0 / .62)); transform: rotateY(-7deg) rotateZ(1.4deg); }
  .cover-halo { position: absolute; inset: 7% -20%; border-radius: 50%; background: rgb(157 103 247 / .3); filter: blur(70px); }
  .scroll-cue { position: absolute; right: var(--gutter); bottom: 2rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; text-transform: uppercase; font-size: .58rem; letter-spacing: .18em; writing-mode: vertical-rl; }
  .scroll-cue i { display: block; width: 1px; height: 3.5rem; background: linear-gradient(var(--paper) 50%, transparent 50%); background-size: 100% 200%; animation: scroll-cue 1.8s ease infinite; }

  .signal { position: relative; min-height: 105svh; padding: 12rem var(--gutter); display: grid; grid-template-columns: minmax(16rem, .8fr) 1fr; align-items: center; overflow: hidden; background: #ece8df; color: #17151a; }
  .signal-number { position: absolute; left: -2vw; top: 50%; color: transparent; font: 400 min(38vw, 34rem)/1 var(--serif); -webkit-text-stroke: 1px rgb(15 12 18 / .1); }
  .signal-copy { position: relative; z-index: 2; grid-column: 2; max-width: 42rem; }
  .signal h2 { margin: 1.4rem 0 2.2rem; font-size: clamp(3.5rem, 7vw, 7.4rem); letter-spacing: -.06em; }
  .signal-copy > p:not(.eyebrow) { max-width: 35rem; margin-top: 1.2rem; color: #504a54; font-size: clamp(1rem, 1.35vw, 1.2rem); }
  .meteor-scene { position: absolute; inset: 0; pointer-events: none; }
  .meteor { position: absolute; top: 15%; left: 12%; width: .5rem; aspect-ratio: 1; border-radius: 50%; background: white; box-shadow: 0 0 2rem .4rem #b47aff; }
  .meteor::before { position: absolute; width: 26vw; height: 2px; right: 0; top: 50%; content: ""; transform: rotate(-35deg); transform-origin: right; background: linear-gradient(90deg, transparent, #bd8bff); filter: blur(1px); }
  .horizon { position: absolute; left: -10%; bottom: -30%; width: 75%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgb(30 23 35 / .15); box-shadow: 0 -2rem 7rem rgb(143 102 181 / .12); }

  .threat { min-height: 100svh; padding: 10rem var(--gutter); background: #09080b; display: flex; flex-direction: column; justify-content: center; }
  .threat-line { color: var(--paper); font: 400 clamp(4.5rem, 12.5vw, 13rem)/.85 var(--serif); letter-spacing: -.065em; }
  .threat-line:nth-child(2) { align-self: center; }
  .threat-line--outline { align-self: flex-end; color: transparent; -webkit-text-stroke: 1px rgb(243 240 233 / .42); }
  .threat-copy { width: min(34rem, 90%); margin: 6rem 8vw 0 auto; padding-left: 2rem; border-left: 1px solid var(--violet); color: var(--muted); }

  .books-preview { padding: 10rem var(--gutter) 12rem; background: #100e13; }
  .section-heading { display: grid; grid-template-columns: .65fr 1.35fr; align-items: end; margin-bottom: 8rem; }
  .section-heading h2 { font-size: clamp(3.7rem, 7vw, 7.5rem); letter-spacing: -.055em; }
  .book-stack { max-width: 84rem; margin-inline: auto; }
  .book-card { min-height: 88svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); padding: 7rem 0; border-top: 1px solid var(--line); }
  .book-card:nth-child(even) .book-art { order: 2; }
  .book-art { position: relative; display: block; width: min(29vw, 25rem); justify-self: center; text-decoration: none; }
  .book-art img { position: relative; z-index: 2; box-shadow: 0 3rem 5rem rgb(0 0 0 / .5); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
  .book-art:hover img { transform: translateY(-1rem) rotate(1deg); }
  .book-index { position: absolute; z-index: 1; right: 75%; top: -4rem; font: 400 clamp(10rem, 20vw, 19rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .11); }
  .book-copy h3 { margin: .7rem 0 1.6rem; font-size: clamp(4.2rem, 8vw, 8rem); letter-spacing: -.065em; }
  .book-copy > p:not(.eyebrow) { max-width: 29rem; margin-bottom: 2rem; color: var(--muted); }
  .book-card--ember .eyebrow, .book-card--ember .arrow-link { color: #f18466; }
  .book-card--gold .eyebrow, .book-card--gold .arrow-link { color: #e4c382; }

  .quote-scene { position: relative; min-height: 92svh; overflow: hidden; padding: 8rem var(--gutter); display: grid; place-content: center; text-align: center; background: #e9e4da; color: #151217; }
  .quote-scene blockquote { position: relative; z-index: 2; font: italic 400 clamp(3.5rem, 8vw, 8.5rem)/1.02 var(--serif); letter-spacing: -.045em; }
  .quote-scene > p { position: relative; z-index: 2; margin-top: 2rem; text-transform: uppercase; font-size: .65rem; font-weight: 700; letter-spacing: .2em; }
  .quote-rings { position: absolute; width: 72vw; aspect-ratio: 1; left: 14vw; top: -15%; border: 1px solid rgb(80 44 106 / .16); border-radius: 50%; box-shadow: 0 0 0 10vw rgb(104 70 126 / .025), 0 0 0 20vw rgb(104 70 126 / .02); }

  .author-tease { min-height: 90svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding: 8rem var(--gutter); background: radial-gradient(circle at 23% 53%, rgb(137 80 224 / .16), transparent 28%), #08070a; }
  .author-monogram { justify-self: center; color: transparent; font: 400 clamp(11rem, 27vw, 28rem)/.7 var(--serif); letter-spacing: -.18em; -webkit-text-stroke: 1px rgb(204 178 248 / .32); }
  .author-copy h2 { margin: 1rem 0 2rem; font-size: clamp(4rem, 8vw, 8rem); letter-spacing: -.06em; }
  .author-copy > p:not(.eyebrow) { max-width: 32rem; margin-bottom: 2.5rem; color: var(--muted); }

  .page-hero { position: relative; min-height: 83svh; padding: 11rem var(--gutter) 7rem; display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(circle at 75% 33%, rgb(134 78 221 / .27), transparent 23%), #09080b; }
  .page-hero > div:not(.page-hero-orbit) { position: relative; z-index: 2; }
  .page-hero h1 { margin: 1.2rem 0 2rem; font-size: clamp(4.8rem, 10vw, 11rem); letter-spacing: -.07em; }
  .page-hero h1 em { color: transparent; font-weight: 400; -webkit-text-stroke: 1px rgb(243 240 233 / .55); }
  .page-hero p:last-child { color: var(--muted); font-size: 1.1rem; }
  .page-hero-orbit { position: absolute; width: 62vw; aspect-ratio: 1; right: -15vw; top: -25%; border: 1px solid rgb(196 163 250 / .16); border-radius: 50%; box-shadow: inset 0 0 10rem rgb(105 58 182 / .08); }
  .timeline-book { position: relative; min-height: 115svh; padding: 10rem var(--gutter); display: grid; grid-template-columns: .25fr .75fr 1fr; align-items: center; gap: 5vw; overflow: hidden; border-top: 1px solid var(--line); background: #0b0a0d; }
  .timeline-book:nth-child(even) { background: #e8e3da; color: #151217; }
  .timeline-number { font: 400 clamp(8rem, 16vw, 17rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .15); }
  .timeline-book:nth-child(even) .timeline-number { -webkit-text-stroke-color: rgb(20 16 23 / .15); }
  .timeline-cover { width: min(28vw, 25rem); justify-self: center; }
  .timeline-cover img { box-shadow: none; filter: drop-shadow(0 2.25rem 2.25rem rgb(0 0 0 / .3)); }
  .timeline-copy h2 { margin: .7rem 0 1.2rem; font-size: clamp(4.4rem, 8vw, 8rem); letter-spacing: -.06em; }
  .tagline { margin-bottom: 1.5rem; font: italic 1.55rem/1.3 var(--serif); }
  .timeline-copy > p:not(.eyebrow):not(.tagline) { max-width: 32rem; margin-bottom: 2.5rem; color: var(--muted); }
  .timeline-book:nth-child(even) .timeline-copy > p:not(.eyebrow):not(.tagline) { color: #5c5660; }
  .timeline-book:nth-child(even) .button--light { background: #17141a; color: var(--paper); }
  .timeline-book:nth-child(even) .text-link { color: #17141a; }

  .book-page { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(4rem, 10vw, 11rem); padding: 10rem calc(var(--gutter) + 5vw) 7rem; background: #0b090d; }
  .book-page-glow { position: absolute; z-index: 0; left: -10vw; top: 8%; width: 55vw; aspect-ratio: 1; border-radius: 50%; background: rgb(132 72 224 / .24); filter: blur(100px); }
  .book-page--ember .book-page-glow { background: rgb(184 60 30 / .18); }
  .book-page--gold .book-page-glow { background: rgb(184 133 47 / .18); }
  .book-page-cover { position: relative; z-index: 2; width: min(33vw, 29rem); justify-self: end; }
  .book-page-cover img { box-shadow: none; filter: drop-shadow(0 2.25rem 2.25rem rgb(0 0 0 / .38)); transform: rotate(-1deg); }
  .book-page-copy { position: relative; z-index: 2; max-width: 43rem; }
  .book-page-copy h1 { margin: .5rem 0 1.5rem; font-size: clamp(5rem, 10vw, 10rem); letter-spacing: -.07em; }
  .book-page-copy > p:not(.eyebrow):not(.tagline) { max-width: 35rem; margin-bottom: 1.3rem; color: var(--muted); }
  .book-page-copy .actions { margin-top: 2.5rem; }
  .breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; color: var(--muted); font-size: .72rem; letter-spacing: .06em; }
  .breadcrumbs a { color: inherit; text-underline-offset: .2em; }
  .vertical-title { position: absolute; right: 1rem; bottom: 4rem; color: rgb(255 255 255 / .16); text-transform: uppercase; writing-mode: vertical-rl; font-size: .65rem; letter-spacing: .4em; }
  .reader-praise { padding: 9rem var(--gutter); background: #e8e3da; color: #17141a; }
  .reader-praise__heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 3vw; align-items: end; padding-bottom: 4rem; border-bottom: 1px solid rgb(23 20 26 / .2); }
  .reader-praise__heading .eyebrow { color: #6d3ea5; }
  .reader-praise--ember .reader-praise__heading .eyebrow { color: #a53e28; }
  .reader-praise--gold .reader-praise__heading .eyebrow { color: #7b5a1e; }
  .reader-praise__heading h2 { max-width: 50rem; font-size: clamp(3.5rem, 7vw, 7rem); letter-spacing: -.055em; }
  .reader-praise__heading > p:last-child:not(.eyebrow) { grid-column: 2; max-width: 34rem; margin-top: 1.25rem; color: #655d68; }
  .reader-praise__reviews { display: grid; grid-template-columns: 1fr 1fr; }
  .reader-review { margin: 0; padding: clamp(3rem, 6vw, 6rem); border-bottom: 1px solid rgb(23 20 26 / .2); }
  .reader-review + .reader-review { border-left: 1px solid rgb(23 20 26 / .2); }
  .reader-review blockquote { max-width: 31rem; font: italic 400 clamp(2rem, 3.8vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.035em; }
  .reader-review figcaption { margin-top: 2rem; color: #655d68; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .reader-review figcaption a { color: #3f2751; }
  .reader-praise__cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3rem; }
  .reader-praise__cta p { font: italic 1.35rem/1.3 var(--serif); }
  .reader-praise__cta .button { flex: none; background: #17141a; color: var(--paper); }
  .book-switcher { display: grid; grid-template-columns: 1fr 1fr; }
  .book-switcher a { min-height: 13rem; padding: 3rem var(--gutter); display: flex; flex-direction: column; justify-content: center; position: relative; background: #e8e3da; color: #17141a; text-decoration: none; font: 400 2.5rem/1 var(--serif); transition: background-color .2s ease; }
  .book-switcher a:nth-child(2) { background: #d9d2c7; }
  .book-switcher a:hover { background: white; }
  .book-switcher span { margin-bottom: .8rem; font: 700 .6rem/1 var(--sans); text-transform: uppercase; letter-spacing: .2em; }
  .book-switcher i { position: absolute; right: var(--gutter); font-style: normal; }

  .author-page { position: relative; min-height: 110svh; overflow: hidden; padding: 12rem var(--gutter) 9rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; background: radial-gradient(circle at 27% 45%, rgb(125 68 214 / .2), transparent 26%), #08070a; }
  .author-backdrop { position: absolute; inset: 15% 0 auto; display: flex; flex-direction: column; color: transparent; font: 400 clamp(8rem, 23vw, 23rem)/.7 var(--serif); letter-spacing: -.1em; opacity: .15; -webkit-text-stroke: 1px white; white-space: nowrap; }
  .author-backdrop span:last-child { align-self: flex-end; }
  .author-intro, .author-story { position: relative; z-index: 2; }
  .author-intro h1 { margin-top: 1rem; font-size: clamp(5rem, 10vw, 10rem); letter-spacing: -.07em; }
  .author-intro .lead { margin-top: 2rem; color: var(--violet); font: italic 1.4rem/1.3 var(--serif); }
  .author-story { max-width: 38rem; padding-top: 8rem; }
  .author-story p { margin-bottom: 1.3rem; color: #c2bcc6; font-size: clamp(1rem, 1.3vw, 1.15rem); }
  .author-story .button { margin-top: 1.5rem; }
  .author-books { padding: 8rem var(--gutter) 10rem; background: #e8e3da; color: #17141a; }
  .author-books > div { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; }
  .author-book { display: flex; align-items: center; flex-direction: column; text-align: center; text-decoration: none; perspective: 1200px; }
  .book-object { position: relative; width: calc(100% - 1.5rem); margin: 0 0 2.3rem 1.5rem; display: grid; place-items: center; aspect-ratio: 600 / 938; transform-style: preserve-3d; transform: rotateY(-3deg) rotateX(1deg); filter: drop-shadow(-1rem 2.4rem 1.6rem rgb(33 25 37 / .28)); transition: transform .5s cubic-bezier(.2,.75,.2,1), filter .5s ease; }
  .book-object::before { position: absolute; z-index: -1; width: 82%; aspect-ratio: 1; content: ""; border-radius: 50%; background: rgb(112 65 153 / .18); filter: blur(2.5rem); transform: translateY(7%); }
  .author-book--ember .book-object::before { background: rgb(157 61 41 / .14); }
  .author-book--gold .book-object::before { background: rgb(163 122 55 / .15); }
  .book-object__render { width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; transform: translateZ(.8rem); box-shadow: none; }
  .author-book:hover .book-object, .author-book:focus-visible .book-object { transform: translateY(-.8rem) rotateY(1deg) rotateX(0); filter: drop-shadow(-.5rem 3rem 2rem rgb(33 25 37 / .34)); }
  .author-book__title { display: block; font: 400 2.25rem/1 var(--serif); }
  .author-book__tagline { display: block; max-width: 17rem; margin-top: .8rem; color: #655d68; font: italic 1rem/1.45 var(--serif); }

  .contact-page { position: relative; min-height: 100svh; overflow: hidden; padding: 11rem var(--gutter) 9rem; background: radial-gradient(circle at 78% 18%, rgb(124 70 198 / .16), transparent 28%), #08070a; }
  .contact-page { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(4rem, 9vw, 10rem); align-items: start; }
  .contact-orbit { position: absolute; width: 52vw; aspect-ratio: 1; left: -20vw; top: 12%; border: 1px solid rgb(196 163 250 / .11); border-radius: 50%; box-shadow: 0 0 0 9vw rgb(196 163 250 / .018), 0 0 0 18vw rgb(196 163 250 / .012); pointer-events: none; }
  .contact-intro, .contact-panel { position: relative; z-index: 1; }
  .contact-intro { position: sticky; top: 8rem; }
  .contact-intro h1 { margin: 1rem 0 2rem; font-size: clamp(4.2rem, 8vw, 8rem); letter-spacing: -.065em; }
  .contact-intro h1 em { color: transparent; font-weight: 400; -webkit-text-stroke: 1px rgb(243 240 233 / .55); }
  .contact-intro > p:last-child { max-width: 31rem; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
  .contact-panel { padding: clamp(2rem, 5vw, 4.5rem); border: 1px solid var(--line); background: rgb(14 12 17 / .82); box-shadow: 0 2rem 6rem rgb(0 0 0 / .22); backdrop-filter: blur(16px); }
  .contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-field { display: grid; gap: .65rem; }
  .contact-field--wide, .contact-form__footer { grid-column: 1 / -1; }
  .contact-field label { color: #ddd7e0; text-transform: uppercase; font-size: .67rem; font-weight: 750; letter-spacing: .16em; }
  .contact-field label span { margin-left: .5rem; color: #77717a; font-weight: 500; letter-spacing: .08em; }
  .contact-field input, .contact-field textarea { width: 100%; border: 1px solid #39333d; border-radius: 0; padding: .9rem 0; background: transparent; color: var(--paper); font: inherit; transition: border-color .2s ease; }
  .contact-field input { border-width: 0 0 1px; }
  .contact-field textarea { min-height: 12rem; padding: 1rem; resize: vertical; line-height: 1.55; }
  .contact-field input:hover, .contact-field textarea:hover { border-color: #6d6471; }
  .contact-field input:focus, .contact-field textarea:focus { border-color: var(--violet); outline: 0; box-shadow: 0 1px 0 var(--violet); }
  .contact-field [aria-invalid="true"] { border-color: #e18c7b; }
  .field-error { color: #eda08f; font-size: .75rem; }
  .contact-field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .contact-form__footer { display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding-top: 1rem; }
  .contact-form__footer p { max-width: 25rem; color: #8f8894; font-size: .72rem; line-height: 1.55; }
  .contact-form button { border: 0; cursor: pointer; flex: none; }
  .form-notice { margin-bottom: 2rem; padding: 1rem 1.2rem; border-left: 2px solid #e18c7b; background: rgb(225 140 123 / .08); color: #edc0b6; font-size: .88rem; }
  .contact-confirmation { min-height: 30rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .contact-confirmation h2 { margin: 1rem 0 1.5rem; font-size: clamp(3.5rem, 7vw, 6.5rem); letter-spacing: -.055em; }
  .contact-confirmation > p:not(.eyebrow) { max-width: 28rem; color: var(--muted); }
  .contact-confirmation .text-link { margin-top: 2.5rem; }

  .lost-page { position: relative; min-height: 100svh; padding: 10rem var(--gutter); display: grid; place-items: center; text-align: center; overflow: hidden; }
  .lost-page h1 { margin: 1rem 0 2rem; font-size: clamp(4rem, 9vw, 9rem); letter-spacing: -.07em; }
  .lost-page p:not(.eyebrow) { margin-bottom: 2rem; color: var(--muted); }
  .lost-signal { position: absolute; color: transparent; font: 400 45vw/1 var(--serif); opacity: .12; -webkit-text-stroke: 1px white; }
}

@layer motion {
  .js .reveal { opacity: 0; transform: translateY(3rem); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  @keyframes scroll-cue { 0% { background-position: 0 100%; } 100% { background-position: 0 -100%; } }
}

@layer responsive {
  @media (max-width: 900px) {
    .site-header { height: 5rem; }
    .menu-toggle { display: block; position: relative; z-index: 2; }
    .site-nav { position: fixed; inset: 0; padding: 7rem var(--gutter) 3rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: rgb(7 7 10 / .98); visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s; }
    .site-nav[data-open] { visibility: visible; opacity: 1; }
    .site-nav a { font: 400 clamp(2.6rem, 8vw, 5rem)/1 var(--serif); text-transform: none; letter-spacing: -.04em; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.42rem) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.42rem) rotate(-45deg); }
    .hero { grid-template-columns: 1fr .75fr; }
    .hero-cover { width: 38vw; }
    .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
    .timeline-book { grid-template-columns: .2fr .8fr 1fr; gap: 3vw; }
  }

  @media (max-width: 700px) {
    [data-parallax] { transform: none !important; will-change: auto; }
    .hero { min-height: 55rem; grid-template-columns: 1fr; align-content: center; padding-top: 7rem; }
    .hero::after { background: linear-gradient(0deg, #07070a 4%, rgb(7 7 10 / .8) 45%, rgb(7 7 10 / .2)); }
    .hero-copy { align-self: end; padding-top: 25rem; }
    .hero h1 { font-size: clamp(4.5rem, 23vw, 7rem); }
    .hero-cover { position: absolute; z-index: -1; width: min(58vw, 20rem); right: -2rem; top: 6rem; opacity: .72; }
    .scroll-cue { display: none; }
    .signal { min-height: auto; padding-block: 9rem; grid-template-columns: 1fr; }
    .signal-copy { grid-column: 1; }
    .signal-number { top: 5%; }
    .threat { min-height: 50rem; padding-block: 8rem; }
    .threat-line { font-size: clamp(3.8rem, 17vw, 6rem); }
    .threat-copy { margin-top: 4rem; }
    .books-preview { padding-block: 8rem; }
    .section-heading { margin-bottom: 5rem; }
    .book-card { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-block: 5rem; }
    .book-card:nth-child(even) .book-art { order: 0; }
    .book-art { width: min(68vw, 20rem); }
    .book-index { right: 68%; }
    .quote-scene { min-height: 43rem; }
    .author-tease { min-height: auto; grid-template-columns: 1fr; padding-block: 8rem; }
    .author-monogram { justify-self: start; }
    .page-hero { min-height: 45rem; }
    .timeline-book { min-height: auto; padding-block: 8rem; grid-template-columns: 1fr; }
    .timeline-number { position: absolute; right: -.5rem; top: 5rem; }
    .timeline-cover { width: min(70vw, 22rem); justify-self: start; }
    .book-page { min-height: auto; padding: 8rem var(--gutter) 6rem; grid-template-columns: 1fr; gap: 5rem; }
    .book-page-cover { width: min(70vw, 23rem); justify-self: center; }
    .book-page-copy h1 { font-size: clamp(4.5rem, 20vw, 7rem); }
    .vertical-title { display: none; }
    .reader-praise { padding-block: 7rem; }
    .reader-praise__heading { grid-template-columns: 1fr; gap: 1.5rem; }
    .reader-praise__heading > p:last-child:not(.eyebrow) { grid-column: 1; margin-top: 0; }
    .reader-praise__reviews { grid-template-columns: 1fr; }
    .reader-review { padding-inline: 0; }
    .reader-review + .reader-review { border-left: 0; }
    .reader-praise__cta { align-items: flex-start; flex-direction: column; }
    .book-switcher { grid-template-columns: 1fr; }
    .author-page { min-height: auto; padding-block: 9rem 7rem; grid-template-columns: 1fr; gap: 2rem; }
    .author-story { padding-top: 1rem; }
    .author-books > div { grid-template-columns: 1fr; gap: 5rem; }
    .book-object { width: min(calc(100% - 1.5rem), 22rem); }
    .contact-page { grid-template-columns: 1fr; padding-block: 8rem 6rem; gap: 3rem; }
    .contact-intro { position: relative; top: auto; }
    .contact-panel { padding: 1.5rem; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-field--wide, .contact-form__footer { grid-column: 1; }
    .contact-form__footer { align-items: flex-start; flex-direction: column; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-links { align-items: flex-start; }
    .copyright { grid-column: 1; }
  }

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

/* Illustrated scene refresh: original cosmic-horror artwork and tactile section framing. */
@layer refresh {
  .hero {
    min-height: 110svh;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    padding-bottom: 9rem;
    background: #050408;
  }
  .hero::after {
    z-index: -1;
    background:
      linear-gradient(90deg, rgb(4 4 7 / .96) 0%, rgb(4 4 7 / .76) 37%, rgb(4 4 7 / .05) 68%),
      linear-gradient(0deg, #07070a 0%, transparent 32%);
  }
  .hero-sky {
    position: absolute;
    z-index: -3;
    inset: -7% -4%;
    width: 108%;
    height: 114%;
    background: #07070a;
  }
  .hero-sky img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.07) saturate(.92);
  }
  .hero-sky::before, .hero-sky::after { display: none; }
  .hero-tendrils {
    position: absolute;
    z-index: 1;
    left: -12vw;
    bottom: -11vw;
    width: min(72vw, 78rem);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 2rem 3rem rgb(0 0 0 / .65));
  }
  .hero-copy { padding-top: 5vh; }
  .hero h1 {
    margin-block: 1.15rem 1.8rem;
    text-shadow: 0 .1em .5em rgb(0 0 0 / .4);
  }
  .hero-cover {
    width: min(44vw, 48.625rem);
    align-self: center;
    justify-self: end;
    margin-right: -2vw;
  }
  .hero-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
    transform: none;
    filter: drop-shadow(0 3rem 4rem rgb(0 0 0 / .72));
  }

  .signal {
    isolation: isolate;
    min-height: 112svh;
    background:
      radial-gradient(circle at 16% 70%, rgb(104 58 126 / .13), transparent 27%),
      linear-gradient(135deg, #eeeae1, #dcd5ca);
  }
  .section-tendrils {
    position: absolute;
    z-index: 0;
    width: min(68vw, 76rem);
    height: auto;
    pointer-events: none;
    user-select: none;
  }
  .section-tendrils--signal {
    left: -22vw;
    bottom: -10vw;
    filter: grayscale(.15) sepia(.1) drop-shadow(1rem 2rem 2rem rgb(47 31 54 / .2));
  }
  .signal-copy { padding: 4rem; background: rgb(240 236 227 / .74); border: 1px solid rgb(35 27 40 / .1); box-shadow: 0 2rem 6rem rgb(52 34 61 / .1); backdrop-filter: blur(8px); }

  .threat {
    position: relative;
    background:
      linear-gradient(rgb(7 6 9 / .72), rgb(7 6 9 / .94)),
      url("/static/images/vesta-storm-v2.webp") center / cover;
    border-block: 1px solid rgb(185 145 250 / .17);
  }
  .threat::before {
    position: absolute;
    inset: 0;
    content: "";
    background: radial-gradient(circle at center, transparent, #070609 79%);
    pointer-events: none;
  }
  .threat > * { position: relative; }

  .books-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
      radial-gradient(circle at 80% 20%, rgb(110 71 139 / .1), transparent 26%),
      #e9e4da;
    color: #17141a;
  }
  .books-preview::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: .2;
    background-image: radial-gradient(circle at 1px 1px, #44384c 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, black, transparent 28%);
  }
  .section-tendrils--books {
    z-index: -1;
    right: -30vw;
    top: 20rem;
    opacity: .18;
    filter: grayscale(1) contrast(1.4);
    transform: scaleX(-1) translate3d(0, var(--parallax-y, 0), 0);
  }
  .books-preview .section-heading .eyebrow,
  .books-preview .book-card--violet .eyebrow,
  .books-preview .book-card--violet .arrow-link { color: #6d3ea5; }
  .books-preview .book-card { border-color: rgb(25 20 28 / .16); }
  .books-preview .book-copy > p:not(.eyebrow) { color: #5e5762; }
  .books-preview .book-index { -webkit-text-stroke-color: rgb(28 20 32 / .15); }
  .books-preview .book-art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 2.5rem 4rem rgb(46 31 51 / .3);
  }

  .page-hero--trilogy { isolation: isolate; background: #08070a; }
  .page-hero-art {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
  }
  .page-hero--trilogy::after {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #07070a 4%, rgb(7 7 10 / .7) 48%, transparent), linear-gradient(0deg, #07070a, transparent 45%);
  }
  .page-hero-tendrils {
    position: absolute;
    z-index: 0;
    right: -26vw;
    bottom: -23vw;
    width: 76vw;
    pointer-events: none;
  }
  .page-hero--trilogy > div:not(.page-hero-orbit) { z-index: 2; }
  .timeline-cover img,
  .book-page-cover img {
    width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
  }

  @media (max-width: 700px) {
    .hero { min-height: 58rem; grid-template-columns: 1fr; padding-bottom: 6rem; }
    .hero::after { background: linear-gradient(0deg, #07070a 6%, rgb(7 7 10 / .72) 50%, rgb(7 7 10 / .12)); }
    .hero-sky { inset: 0; width: 100%; height: 100%; }
    .hero-sky img { object-position: 62% center; }
    .hero-copy { padding-top: 28rem; }
    .hero-cover { position: absolute; z-index: 0; top: 5.5rem; right: -18vw; width: clamp(24rem, 118vw, 38rem); margin: 0; opacity: .97; }
    .hero-tendrils { z-index: 0; left: -35vw; bottom: -3rem; width: 125vw; opacity: .78; }
    .signal-copy { padding: 2.2rem 1.5rem; }
    .section-tendrils--signal { left: -55vw; bottom: -4rem; width: 130vw; opacity: .58; }
    .section-tendrils--books { width: 130vw; right: -75vw; }
    .page-hero-tendrils { width: 130vw; right: -65vw; bottom: -20vw; }
  }

  @media (prefers-reduced-motion: reduce) {
    .section-tendrils--books { transform: scaleX(-1) !important; }
  }
}
