@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #090908;
  --coal: #11100e;
  --ash: #b6afa4;
  --paper: #eee6d7;
  --gold: #d3a361;
  --ember: #a84e27;
  --line: rgba(238, 230, 215, .17);
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); line-height: 1.7; }
a { color: inherit; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -4rem; background: var(--paper); color: var(--ink); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.hero { min-height: 100svh; position: relative; overflow: hidden; display: grid; align-items: center; }
.hero-image { position: absolute; inset: 0; background: url("assets/long-dawn-hero-2200.webp") 64% center / cover no-repeat; transform: scale(1.015); animation: breathe 14s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,6,.96) 0%, rgba(7,7,6,.85) 32%, rgba(7,7,6,.12) 70%), linear-gradient(0deg, var(--ink) 0%, transparent 22%); }
.nav { position: absolute; z-index: 5; inset: 0 0 auto; height: 88px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 600; }
.brand-mark { width: 22px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; position: relative; box-shadow: inset 0 0 10px rgba(211,163,97,.25); }
.brand-mark::after { content: ""; position: absolute; width: 3px; height: 3px; background: var(--paper); border-radius: 50%; inset: 50% auto auto 50%; transform: translate(-50%,-50%); box-shadow: 0 0 7px var(--paper); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--ash); transition: color .2s; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { padding: .7rem 1rem; border: 1px solid var(--line); }

.hero-content { position: relative; z-index: 2; width: min(700px, 88vw); margin-left: clamp(1.25rem, 8vw, 9rem); padding-top: 5rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; font-weight: 600; }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: .88; letter-spacing: -.035em; margin: .55rem 0 1.5rem; }
h1 { font-size: clamp(4rem, 7.6vw, 8.2rem); }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
.hero-copy { max-width: 590px; color: #c9c2b7; font-family: var(--display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.45; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-width: 210px; padding: 1rem 1.25rem; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary:hover { background: var(--gold); }
.button-quiet { border: 1px solid var(--line); color: var(--paper); backdrop-filter: blur(8px); }
.microcopy { margin-top: 1.4rem; color: #868076; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue { position: absolute; z-index: 3; right: 3rem; bottom: 2rem; display: flex; align-items: center; gap: 1rem; color: #827c72; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 55px; background: linear-gradient(var(--gold), transparent); }

.section { position: relative; padding: clamp(6rem, 12vw, 12rem) clamp(1.25rem, 8vw, 9rem); border-top: 1px solid var(--line); }
.section-number { position: absolute; right: 8vw; top: 5rem; font-family: var(--display); font-size: 9rem; line-height: 1; color: rgba(238,230,215,.025); }
.premise { display: grid; grid-template-columns: 1.05fr .8fr; gap: 8vw; background: radial-gradient(circle at 80% 45%, rgba(168,78,39,.07), transparent 35%); }
h2 { font-size: clamp(3.6rem, 6vw, 7rem); }
.premise-copy { align-self: end; color: var(--ash); max-width: 570px; }
.premise-copy p:first-child::first-letter { float: left; color: var(--gold); font-family: var(--display); font-size: 5.2rem; line-height: .75; padding: .25rem .65rem 0 0; }
.manifesto { grid-column: 1 / -1; max-width: 950px; margin: 8rem auto 0; padding: 0; border: 0; position: relative; text-align: center; font: 500 clamp(2.1rem, 4vw, 4.3rem)/1.15 var(--display); }
.manifesto > span { position: absolute; color: var(--gold); font-size: 9rem; opacity: .3; left: -2rem; top: -4rem; }

.world { min-height: 900px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.world-art { background: linear-gradient(90deg, transparent 65%, var(--coal)), url("assets/long-dawn-hero-2200.webp") 68% center / cover no-repeat; filter: saturate(.75) contrast(1.05); }
.world-panel { display: flex; flex-direction: column; justify-content: center; padding: 8vw 8vw 8vw 5vw; background: var(--coal); }
.world-panel p:not(.eyebrow) { color: var(--ash); max-width: 580px; }
.signals { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.signals li { padding: 1rem 0; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .11em; font-size: .72rem; }
.signals span { color: var(--gold); display: inline-block; width: 3rem; }

.book { display: grid; grid-template-columns: minmax(280px, .85fr) 1fr; gap: 10vw; align-items: center; background: radial-gradient(circle at 24% 50%, rgba(211,163,97,.1), transparent 30%); }
.book-visual { position: relative; display: grid; place-items: center; min-height: 700px; }
.book-visual img { position: relative; z-index: 2; width: min(430px, 80%); height: auto; box-shadow: 0 40px 100px #000, 0 0 0 1px rgba(255,255,255,.12); transform: perspective(1100px) rotateY(7deg); }
.ring { position: absolute; width: min(610px, 100%); aspect-ratio: 1; border: 1px solid rgba(211,163,97,.45); border-radius: 50%; box-shadow: 0 0 40px rgba(168,78,39,.15), inset 0 0 55px rgba(168,78,39,.08); }
.ring::before, .ring::after { content: ""; position: absolute; inset: 5%; border: 1px dashed rgba(211,163,97,.15); border-radius: inherit; animation: turn 30s linear infinite; }
.ring::after { inset: 12%; animation-direction: reverse; }
.book-copy { max-width: 630px; }
.book-copy h2 { margin-bottom: 1rem; }
.subtitle { font: 500 1.4rem/1.45 var(--display); color: var(--gold); max-width: 480px; }
.book-copy > p:not(.eyebrow,.subtitle,.retailer-note) { color: var(--ash); margin: 2rem 0; }
.book-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.book-meta span { border: 1px solid var(--line); padding: .45rem .7rem; color: var(--ash); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.retailer-note { color: #716c64; font-size: .68rem; }

.final-cta { min-height: 75svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(circle at center, rgba(168,78,39,.14), transparent 38%); }
.final-cta::before { content: ""; position: absolute; width: min(780px, 86vw); aspect-ratio: 1; border: 1px solid rgba(211,163,97,.12); border-radius: 50%; box-shadow: 0 0 100px rgba(168,78,39,.08); }
.final-cta > * { position: relative; }
.final-cta h2 { max-width: 1100px; }
.author { margin-top: 3rem; color: var(--ash); font: italic 1.2rem var(--display); }
.author strong { color: var(--paper); font-weight: 500; }

footer { min-height: 100px; padding: 2rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #716c64; font-size: .68rem; }
.source-label { color: var(--gold); }
.link-notice { position: fixed; z-index: 20; left: 50%; bottom: -100px; transform: translateX(-50%); background: var(--paper); color: var(--ink); padding: .8rem 1rem; font-size: .72rem; box-shadow: 0 10px 40px #000; transition: bottom .3s; }
.link-notice.visible { bottom: 1.25rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes breathe { from { transform: scale(1.06); } to { transform: scale(1.015); } }
@keyframes turn { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .nav { height: 72px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .55rem .7rem; }
  .hero { min-height: 900px; align-items: end; }
  .hero-image { background-position: 67% center; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 3%, rgba(7,7,6,.85) 48%, rgba(7,7,6,.22) 100%); }
  .hero-content { margin: 0; width: auto; padding: 7rem 1.25rem 6rem; }
  h1 { font-size: clamp(3.6rem, 16vw, 5.6rem); }
  .hero-copy { max-width: 95%; }
  .button { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 6rem 1.25rem; }
  .premise, .book { grid-template-columns: 1fr; gap: 3rem; }
  .manifesto { margin-top: 4rem; }
  .world { grid-template-columns: 1fr; min-height: 0; }
  .world-art { min-height: 500px; background-image: linear-gradient(0deg, var(--coal), transparent 60%), url("assets/long-dawn-hero-2200.webp"); background-position: 67% center; }
  .world-panel { padding: 4rem 1.25rem 6rem; }
  .book-visual { min-height: 520px; }
  .book-visual img { width: min(320px, 78%); }
  footer { flex-direction: column; align-items: flex-start; }
}

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