:root {
  --ivory: #f7f1e5;
  --paper: #fffaf0;
  --forest: #153d32;
  --forest-deep: #082c25;
  --charcoal: #20211f;
  --muted: #686860;
  --gold: #b8893f;
  --gold-light: #d9bb77;
  --line: rgba(25, 46, 39, .16);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --shadow: 0 30px 70px rgba(28, 31, 25, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 10vw, 6.7rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(2.5rem, 8vw, 5.8rem); }
p { margin-bottom: 1rem; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 1rem 5vw;
}
.brand { width: 96px; height: 54px; display: flex; align-items: center; overflow: hidden; flex: 0 0 auto; }
.brand img { width: auto; height: 100%; object-fit: contain; filter: brightness(.4) sepia(.18) saturate(1.2); }
.footer-brand img { filter: brightness(.4) sepia(.18) saturate(1.2); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 58px;
  padding: 1rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .site-footer a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.button-small { min-height: 42px; padding: .62rem .72rem; font-size: .7rem; white-space: nowrap; color: var(--forest); border-color: rgba(21,61,50,.45); background: rgba(255,255,255,.42); backdrop-filter: blur(12px); }
.button-primary { color: #fff; background: var(--forest); box-shadow: 0 12px 30px rgba(15,57,45,.23); }
.button-primary:hover { background: var(--forest-deep); box-shadow: 0 15px 40px rgba(15,57,45,.3); }
.button-outline { color: var(--forest); border-color: var(--forest); }
.button-gold { color: var(--forest-deep); background: var(--gold-light); }
.button-wide { width: 100%; }
.button.is-downloaded { color: #fff; background: #65786f; pointer-events: none; box-shadow: none; }

.hero { position: relative; min-height: 100svh; padding: 7rem 5vw 5rem; background: radial-gradient(circle at 80% 12%, #fff 0, rgba(255,255,255,.4) 20%, transparent 43%), linear-gradient(145deg, #f4ecd9, #fbf8f0 52%, #e6dbc2); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 1px; height: 34vh; top: 0; left: 50%; background: linear-gradient(transparent, rgba(184,137,63,.48)); }
.hero-glow { position: absolute; width: 48rem; height: 48rem; border: 1px solid rgba(184,137,63,.18); border-radius: 50%; right: -18rem; bottom: -20rem; box-shadow: 0 0 0 8rem rgba(184,137,63,.04), 0 0 0 16rem rgba(184,137,63,.025); }
.hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: auto; display: grid; gap: 3rem; align-items: center; }
.book-stage { width: min(86vw, 340px); max-width: 100%; min-width: 0; margin: auto; text-align: center; }
.book-shell { position: relative; width: 100%; min-width: 0; transform: perspective(1200px) rotateY(3deg) rotateX(1deg); filter: drop-shadow(0 32px 30px rgba(22,31,26,.24)); }
.book-shell::before { content: ""; position: absolute; inset: 1.5% -4% 1.5% auto; width: 6%; background: repeating-linear-gradient(90deg, #d9ceb8 0 1px, #faf6eb 1px 3px); transform: skewY(3deg); z-index: -1; }
.book-shell img { width: 100%; height: auto; border-radius: 2px; }
.eyebrow, .section-number { font-size: .74rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--gold); }
.book-eyebrow { display: block; margin-bottom: 1rem; }
.cover-caption { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; color: var(--muted); }
.hero-copy { max-width: 700px; }
.hero-copy .eyebrow { margin-bottom: 1.1rem; }
.hero-turn { max-width: 580px; margin: 0 0 1.5rem; padding-left: 1rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: clamp(1.45rem, 5vw, 2.35rem); font-style: italic; line-height: 1.25; color: var(--forest); }
.hero-text { max-width: 630px; font-size: 1.03rem; color: #4f504b; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; align-items: stretch; }
.text-link { align-self: center; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-underline-offset: 5px; }
.trust-line { margin: 1rem 0 0; text-align: center; color: var(--muted); font-size: .78rem; }
.trust-line i { display: inline-block; width: 3px; height: 3px; margin: 0 .45rem; border-radius: 50%; background: var(--gold); vertical-align: middle; }

.section { padding: 6.5rem 6vw; }
.narrow { max-width: 900px; margin: auto; }
.section-number { margin-bottom: 1.5rem; }
.lead { font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.35; }
.identification { background: var(--paper); }
.identification h2 { max-width: 800px; margin-bottom: 2rem; }
.word-field { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2.5rem 0; }
.word-field span { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 99px; color: var(--forest); background: #fffdf7; font-size: .88rem; }
.editorial-copy { margin: 3rem 0; max-width: 720px; font-size: 1.08rem; }

.questions { background: #e8e2d4; }
.section-grid { max-width: 1200px; margin: auto; display: grid; gap: 3rem; }
.sticky-heading h2 { margin-bottom: 1.5rem; }
.sticky-heading > p:last-child { max-width: 460px; font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--forest); }
.question-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.question-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.question-list span { padding-top: .3rem; color: var(--gold); font-size: .75rem; letter-spacing: .14em; }
.question-list p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 4vw, 1.8rem); line-height: 1.3; }

.method { position: relative; color: #f9f2e6; background: var(--forest-deep); overflow: hidden; }
.method::after { content: ""; position: absolute; width: 30rem; height: 30rem; border: 1px solid rgba(217,187,119,.2); border-radius: 50%; right: -12rem; top: -12rem; box-shadow: 0 0 0 6rem rgba(217,187,119,.04), 0 0 0 12rem rgba(217,187,119,.025); }
.method-inner { position: relative; z-index: 1; max-width: 1060px; margin: auto; }
.section-number.light { color: var(--gold-light); }
.method h2 em { color: var(--gold-light); font-weight: 500; }
.method-lines { margin: 3rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.method-lines p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.15); font-family: var(--serif); font-size: clamp(1.1rem, 4vw, 1.6rem); }
.method-lines span { color: var(--gold-light); }
.method-copy { max-width: 760px; color: rgba(255,255,255,.76); }
.method blockquote { margin: 3rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--gold); font-family: var(--serif); font-size: clamp(2rem, 7vw, 4.5rem); font-style: italic; color: var(--gold-light); }

.download-section { background: linear-gradient(110deg, #fbf7ee 0, #fbf7ee 55%, #ece2cd 55%); }
.download-card { max-width: 1120px; margin: auto; display: grid; gap: 3rem; align-items: center; }
.download-cover { max-width: 410px; margin: auto; box-shadow: var(--shadow); }
.download-cover img { width: 100%; height: auto; }
.download-copy h2 { margin-bottom: 2rem; }
.download-copy h3 { font-size: clamp(1.55rem, 5vw, 2.5rem); line-height: 1.12; color: var(--forest); }
.subtitle { font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.details { margin: 2rem 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 5.5rem 1fr; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.details dd { margin: 0; font-weight: 600; }
.download-note { margin: .8rem 0 0; text-align: center; color: var(--muted); font-size: .82rem; }
.after-download { display: none; margin: 1.25rem 0 0; padding: 1rem; border-left: 3px solid var(--gold); color: var(--forest); background: rgba(184,137,63,.1); }
.after-download.is-visible { display: block; }

.site-footer { padding: 3.5rem 6vw 7rem; background: #f1eadc; }
.footer-brand { max-width: 560px; }
.footer-brand img { width: 180px; height: 68px; object-fit: contain; object-position: left center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 2rem 0; }
.site-footer nav a { font-size: .85rem; font-weight: 600; text-underline-offset: 4px; }
.copyright { color: var(--muted); font-size: .75rem; }
.mobile-download { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: .75rem; background: rgba(247,241,229,.92); border-top: 1px solid var(--line); backdrop-filter: blur(12px); transition: transform .25s; }
.mobile-download .button { width: 100%; }
.mobile-download.is-hidden { transform: translateY(110%); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 799px) {
  body { font-size: 1.6rem; line-height: 1.65; }
  .button { font-size: 1.16rem; }
  .button-small { font-size: 1.1rem; }
  .eyebrow, .section-number { font-size: 1.28rem; line-height: 1.45; }
  .cover-caption { font-size: 1.4rem; }
  .hero-text { font-size: 1.51rem; line-height: 1.65; }
  .text-link { font-size: 1.34rem; }
  .trust-line { font-size: 1.26rem; line-height: 1.55; }
  .word-field span { font-size: 1.36rem; }
  .editorial-copy { font-size: 1.36rem; line-height: 1.7; }
  .sticky-heading > p:last-child { font-size: 1.95rem; }
  .question-list span { font-size: 1.15rem; }
  .question-list p { font-size: 2.1rem; }
  .method-lines p { flex-direction: column; gap: .2rem; font-size: 1.9rem; line-height: 1.35; }
  .method-copy { font-size: 1.6rem; line-height: 1.65; }
  .subtitle { font-size: 1.8rem; line-height: 1.45; }
  .download-copy > p:not(.section-number):not(.download-note):not(.after-download) { font-size: 1.48rem; line-height: 1.65; }
  .details div { grid-template-columns: 7.5rem 1fr; gap: 1rem; }
  .details dt { font-size: 1.25rem; }
  .details dd { font-size: 1.32rem; }
  .download-note { font-size: 1.34rem; }
  .site-footer nav a { font-size: 1.25rem; }
  .copyright { font-size: 1.25rem; }
}
@media (min-width: 800px) {
  .site-header { padding-top: 1.4rem; }
  .brand { width: 112px; height: 62px; }
  .hero { padding-top: 8rem; }
  .hero-inner { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 6vw; }
  .hero-copy { order: -1; }
  .hero-copy h1 { font-size: clamp(4rem, 6.2vw, 5.6rem); }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .button { min-width: 230px; }
  .text-link { align-self: auto; }
  .trust-line { text-align: left; }
  .section-grid { grid-template-columns: .9fr 1.1fr; gap: 8vw; }
  .sticky-heading { position: sticky; top: 4rem; align-self: start; }
  .download-card { grid-template-columns: .78fr 1.22fr; gap: 8vw; }
  .site-footer { padding-bottom: 3.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
  .site-footer nav { justify-content: flex-end; }
  .copyright { grid-column: 1 / -1; }
  .mobile-download { display: none; }
}

@media (min-width: 1100px) {
  .hero { padding-left: 7vw; padding-right: 7vw; }
  .section { padding-top: 9rem; padding-bottom: 9rem; }
  .book-stage { max-width: 440px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
