:root {
  --paper: #f6f0e4;
  --paper-deep: #e9dec9;
  --ink: #263b31;
  --muted: #667066;
  --coral: #d96f52;
  --coral-dark: #a94a32;
  --sage: #718171;
  --charcoal: #14231c;
  --line: rgba(38, 59, 49, 0.17);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 8%, rgba(217, 111, 70, 0.12), transparent 24rem),
    linear-gradient(rgba(25, 23, 19, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 32px, auto;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; background: var(--ink); color: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; letter-spacing: -.03em; font-size: 1.08rem; }
.brand img { border-radius: 11px; box-shadow: 0 5px 16px rgba(38,59,49,.14); }
nav { display: flex; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 600; }
nav a:not(.nav-cta) { color: var(--muted); }
nav a:hover { color: var(--coral-dark); }
.nav-cta { border: 1px solid var(--ink); padding: .65rem 1rem; border-radius: 999px; }
.hero {
  width: min(1240px, calc(100% - 3rem));
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 5.5rem 0 7rem;
}
.eyebrow { margin: 0 0 1.15rem; color: var(--coral-dark); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 780px; margin: 0; font: 500 clamp(4rem, 7vw, 7.6rem)/.85 var(--serif); letter-spacing: -.055em; }
h1 em { color: var(--coral-dark); font-weight: 400; }
.hero-lede { max-width: 590px; margin: 2.1rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .8rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(38,59,49,.12); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-secondary { background: rgba(255,255,255,.35); }
.availability { margin-top: 1rem; color: var(--muted); font-size: .76rem; }
.reader-stage { position: relative; min-height: 610px; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; z-index: -1; border: 1px solid rgba(217,111,70,.35); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 650px; height: 340px; transform: rotate(-24deg); border-color: rgba(129,133,108,.35); }
.reader-card { width: min(430px, 88vw); overflow: hidden; transform: rotate(2deg); border: 1px solid rgba(38,59,49,.2); border-radius: 28px; background: #fbf6ec; box-shadow: 0 38px 80px rgba(38,59,49,.2); }
.reader-toolbar, .player-bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; background: var(--charcoal); color: #f9f0df; font-size: .72rem; }
.reader-page { min-height: 390px; padding: 3rem 2.5rem; }
.chapter-label { color: var(--coral-dark); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.reader-page h2 { max-width: 320px; margin: .8rem 0 1.7rem; font: 500 2.25rem/1 var(--serif); letter-spacing: -.035em; }
.reader-text { font: 400 1.04rem/1.75 var(--serif); }
mark { margin: 0 -.15rem; padding: .06rem .15rem; background: #f5c874; color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.player-bar { justify-content: space-around; padding: 1.2rem; background: var(--coral); color: #1f1712; }
.player-bar strong { padding: .4rem 1rem; border: 1px solid rgba(38,59,49,.45); border-radius: 999px; }
.stage-note { position: absolute; right: 0; bottom: 3.6rem; margin: 0; padding: .65rem 1rem; transform: rotate(-4deg); background: var(--sage); color: white; font: 500 1.2rem var(--serif); }
.manifesto { padding: 7rem max(1.5rem, calc((100vw - 1240px)/2)); background: var(--ink); color: var(--paper); }
.manifesto p { margin: 0 0 .7rem; color: #d7c8b2; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.manifesto h2 { max-width: 930px; margin: 0; font: 400 clamp(3.3rem, 7vw, 7rem)/.95 var(--serif); letter-spacing: -.045em; }
.process, .features { width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: 8rem 0; }
.section-heading { display: grid; grid-template-columns: .48fr 1fr; align-items: start; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.section-heading h2 { max-width: 770px; margin: 0; font: 500 clamp(3rem, 5vw, 5.5rem)/.95 var(--serif); letter-spacing: -.045em; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 5rem 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid li { min-height: 290px; padding: 2rem; border-right: 1px solid var(--line); }
.process-grid li:last-child { border-right: 0; }
.process-grid span, .feature-index { color: var(--coral-dark); font-family: var(--serif); font-size: 1rem; }
.process-grid h3, .feature h3 { margin: 3rem 0 .8rem; font: 500 2rem/1.05 var(--serif); }
.process-grid p, .feature p:not(.feature-index) { max-width: 35ch; color: var(--muted); font-size: .92rem; }
.artwork { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.artwork img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(61,48,34,.13); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 5rem; }
.feature { min-height: 330px; padding: 2rem; border: 1px solid var(--line); background: rgba(255,255,255,.22); }
.feature-wide { grid-column: span 2; min-height: 300px; }
.feature-accent { background: var(--coral); }
.feature-accent .feature-index, .feature-accent p:not(.feature-index) { color: #382017; }
.feature h3 { max-width: 590px; margin-top: 4rem; font-size: clamp(2.2rem, 4vw, 4.2rem); }
.line-demo { display: flex; gap: .5rem; align-items: center; margin-top: 2rem; }
.line-demo span { display: block; width: 22%; height: 8px; border-radius: 999px; background: var(--paper-deep); }
.line-demo .active { width: 46%; background: #f5c874; }
.closing { text-align: center; padding: 9rem 1.5rem; background: var(--paper-deep); }
.closing h2 { max-width: 800px; margin: 0 auto 2.5rem; font: 500 clamp(3.4rem, 7vw, 7rem)/.9 var(--serif); letter-spacing: -.05em; }
footer { width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: 2rem 0 3rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; color: var(--muted); font-size: .78rem; }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; gap: 1.2rem; }
.build { display: none; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .reader-stage { min-height: 570px; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid li:last-child { border-bottom: 0; }
  .process-grid h3 { margin-top: 1.5rem; }
}
@media (max-width: 620px) {
  .site-header, .hero, .process, .features, footer { width: min(100% - 2rem, 1240px); }
  .site-header { min-height: 72px; }
  .brand { font-size: .95rem; }
  .brand img { width: 38px; height: 38px; }
  .nav-cta { padding: .55rem .75rem; font-size: .78rem; }
  .hero { min-height: 0; padding: 3.5rem 0 5rem; gap: 2.5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .reader-stage { min-height: 500px; overflow: hidden; }
  .reader-card { width: 88%; }
  .reader-page { min-height: 320px; padding: 2rem 1.5rem; }
  .reader-page h2 { font-size: 1.8rem; }
  .reader-text { font-size: .9rem; }
  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 490px; height: 260px; }
  .stage-note { right: .4rem; bottom: 1rem; }
  .manifesto, .process, .features { padding-top: 5rem; padding-bottom: 5rem; }
  .process-grid, .feature-grid { margin-top: 3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature-wide { grid-column: span 1; min-height: 280px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
