/* ============================================================
   Pride and Prejudice Launch Site: Regency Letter-Writing Paper
   Fonts: Playfair Display (display), EB Garamond (body/italic)
   Palette: cream, sage green, warm sepia ink, gold
   Register: watercolour wash, Regency broadsheet, letterpress
   ============================================================ */

/* ---- Self-hosted fonts: reuse from shared /fonts/ pool ---- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-400-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-400-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-600-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-600-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-700-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-normal-700-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-400-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-400-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/eb-garamond-italic-400-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/eb-garamond-italic-400-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-400-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-400-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-500-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-500-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-600-latin-ext-s1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/eb-garamond-normal-600-latin-s1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   REGENCY PALETTE: cream, sage, sepia ink, gold
   The look is letter-writing paper held up to a winter window.
   ============================================================ */
:root {
  /* Paper tones */
  --cream:        #F7F2E8;
  --cream-2:      #EFE8D6;
  --cream-3:      #E5DBC7;
  --cream-4:      #D8CEBC;
  --vellum:       #F0EAD6;

  /* Ink and sepia */
  --ink:          #2C1810;
  --ink-2:        #3D2518;
  --ink-3:        #4E3020;
  --sepia:        #6B4226;
  --sepia-light:  #8A5E3C;
  --sepia-faint:  #B8916A;

  /* Sage and botanical */
  --sage:         #7A9B76;
  --sage-dark:    #4E6B4A;
  --sage-light:   #A8C4A4;
  --sage-faint:   #D4E4D2;
  --moss:         #3D5C38;

  /* Gold accents */
  --gold:         #B8960C;
  --gold-soft:    #D4AD28;
  --gold-dim:     #8C7010;
  --gold-pale:    #E8D070;

  /* Text on paper */
  --text:         #2C1810;
  --text-2:       #4A3020;
  --text-3:       #6B5040;
  --text-muted:   #8A6C56;
  --text-faint:   #B09880;

  /* Fonts */
  --font-display: "Playfair Display", "Palatino Linotype", Georgia, serif;
  --font-body:    "EB Garamond", "Garamond", Georgia, serif;
  --font-italic:  "EB Garamond", "Garamond", Georgia, serif;

  /* Structure */
  --radius:       3px;
  --radius-lg:    6px;
  --max-w:        1080px;
  --section-gap:  88px;
}

/* ---- Reset and base --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Laid paper texture: subtle diagonal crosshatch of cream lines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .045;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(44,24,16,.18) 27px,
      rgba(44,24,16,.18) 28px
    );
}

/* Sage watercolour wash: top-right corner bloom */
body::after {
  content: "";
  position: fixed;
  top: -8vh;
  right: -8vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,155,118,.10) 0%, rgba(122,155,118,.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
}
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--gold-dim); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ---- Utility ---------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Layout ----------------------------------------------- */
.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.section-inner--narrow { max-width: 680px; }

.section-header { text-align: center; margin-bottom: 54px; }
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}
.section-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  color: var(--text-3);
  margin: 0;
}

/* Decorative rule used under section headings */
.section-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  margin: 14px auto 0;
  border: none;
}

/* ---- Site header ------------------------------------------ */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(122,155,118,.2);
  background: rgba(247,242,232,.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-brand {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.header-brand:hover { color: var(--sage-dark); }
.header-demo-badge {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(122,155,118,.14);
  color: var(--sage-dark);
  border: 1px solid rgba(122,155,118,.35);
  border-radius: 2px;
  padding: 2px 7px;
}

/* ---- Inspect hint ----------------------------------------- */
.inspect-hint {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 16px 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.inspect-hint strong { color: var(--sage-dark); font-weight: 500; }
.hint-seal-example {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 60%, var(--gold-dim));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 0 0 3px rgba(184,150,12,.18);
  animation: seal-pulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}
.hint-seal-example::after { content: "i"; transform: translateY(-1px); }

/* ---- Inspectable affordance ------------------------------- */
.inspectable {
  position: relative;
  cursor: pointer;
  transition: filter .3s, transform .3s;
}
.inspectable:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.inspectable:hover { filter: drop-shadow(0 0 14px rgba(122,155,118,.3)); }

.seal {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold) 60%, var(--gold-dim));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,.22), inset 0 1px 1px rgba(255,255,255,.55);
  animation: seal-pulse 2.6s ease-in-out infinite;
  pointer-events: none;
  transition: transform .3s;
}
.seal::after { content: "i"; transform: translateY(-1px); display: block; }
.inspectable:hover .seal,
.inspectable:focus-visible .seal { transform: scale(1.15); }

@keyframes seal-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,.22), 0 0 0 0 rgba(184,150,12,.5); }
  50% { box-shadow: 0 2px 8px rgba(0,0,0,.22), 0 0 0 7px rgba(184,150,12,0); }
}

/* ---- Scrim and spotlight ---------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s;
  z-index: 40;
}
body.dimmed .scrim {
  opacity: 1;
  pointer-events: auto;
}
body.dimmed main,
body.dimmed .site-header,
body.dimmed .inspect-hint,
body.dimmed .site-footer {
  filter: brightness(.55) saturate(.7);
  transition: filter .38s;
}
.inspectable.is-active {
  filter: none !important;
}

/* ---- Explain card ----------------------------------------- */
.explain-card {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(.95);
  width: min(560px, 94vw);
  max-height: 88vh;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s, transform .38s;
  /* Card is a formal letter on cream paper */
  background: linear-gradient(172deg, var(--cream) 0%, var(--vellum) 100%);
  color: var(--text);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122,155,118,.35);
  border-top: 3px solid var(--sage);
  box-shadow:
    0 0 0 1px rgba(184,150,12,.15),
    0 40px 80px rgba(44,24,16,.35),
    0 8px 24px rgba(44,24,16,.18);
  padding: 36px 36px 32px;
}
body.dimmed .explain-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.explain-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.explain-close:hover { background: rgba(122,155,118,.14); color: var(--sage-dark); }
.explain-label {
  font-family: var(--font-display);
  letter-spacing: .2em;
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 6px;
}
.explain-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 23px);
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.15;
}
.explain-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-2);
  margin: 0 0 18px;
}
.smmb-card {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(122,155,118,.25);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 18px;
}
.smmb-src {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 8px;
}
.smmb-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 17px;
  line-height: 1.58;
  color: var(--text-2);
}
.explain-rejected {
  font-size: 14px;
  color: var(--sepia);
  border-top: 1px dashed rgba(122,155,118,.3);
  padding-top: 14px;
  line-height: 1.58;
}
.explain-rejected strong { color: var(--ink); }

/* ---- HERO ------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 var(--section-gap);
  /* Subtle top-of-page gradient lift */
  background: linear-gradient(to bottom, rgba(122,155,118,.06) 0%, transparent 30%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Cover plate */
.hero-cover-wrap { display: block; }
.cover-plate {
  aspect-ratio: 3 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-3);
  box-shadow:
    0 24px 56px rgba(44,24,16,.28),
    inset 0 0 0 1px rgba(122,155,118,.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 18px;
  position: relative;
}

/* Cover art image: full-bleed behind typography */
.cover-plate picture { position: absolute; inset: 0; z-index: 0; }
.cover-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}

/* Gradient scrim: dark at top and base for legibility over photoreal art.
   The P&P cover art has bright cream open-book pages in its lower centre.
   The ramp reaches 0.60 opacity by 60% so the title block (title, subtitle,
   author) all sit on a clearly dark ground at both desktop and mobile.
   Verified by pixel luminance sampling at 1440px and 390px. */
.cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(20,12,8,.68) 0%,
      rgba(20,12,8,.32) 28%,
      rgba(20,12,8,.06) 46%,
      rgba(20,12,8,.0) 50%,
      rgba(20,12,8,.60) 62%,
      rgba(20,12,8,.86) 73%,
      rgba(20,12,8,.95) 100%
    );
  pointer-events: none;
}

/* Cover typography overlay */
.cover-top {
  font-family: var(--font-display);
  letter-spacing: .18em;
  font-size: 9.5px;
  color: rgba(212,192,152,.85);
  text-align: center;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.cover-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.cover-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 4vw, 26px);
  color: #f2e8d4;
  letter-spacing: .06em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 2px 18px rgba(0,0,0,.80);
  line-height: 1.1;
}
.cover-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 10.5px;
  color: rgba(210,185,138,.92);
  letter-spacing: .04em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.98), 0 2px 18px rgba(0,0,0,.90), 0 0 28px rgba(0,0,0,.75);
  /* Belt-and-braces local dark backing: warm-dark pill at 72% opacity so the
     subtitle is legible even if the scrim alone leaves a residual bright patch.
     No backdrop-filter: blur is omitted because blurring a bright source then
     overlaying at 50% leaves mid-grey; a solid high-opacity fill is more reliable. */
  background: rgba(15,9,6,.72);
  padding: 2px 8px;
  border-radius: 3px;
}
.cover-author-line {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(196,172,126,.70);
  text-align: center;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,.80);
}

/* Hero text */
.kicker {
  font-family: var(--font-display);
  letter-spacing: .28em;
  font-size: 11px;
  color: var(--sage-dark);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.book-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 7.5vw, 76px);
  line-height: .94;
  color: var(--ink);
  letter-spacing: .01em;
  margin: 0;
}
.book-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(17px, 2vw, 21px);
  color: var(--sepia-light);
  margin: 10px 0 28px;
  font-weight: 400;
}
.tagline-wrap { display: inline-block; }
.tagline {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.58;
  color: var(--text-2);
  max-width: 34ch;
  margin: 0;
  border-left: 2px solid rgba(122,155,118,.45);
  padding-left: 18px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-sub-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 14px;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  font-family: var(--font-display);
  letter-spacing: .12em;
  font-size: 11.5px;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .15s, background .2s;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--sage), var(--sage-dark));
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(44,24,16,.2), 0 2px 6px rgba(44,24,16,.12);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(44,24,16,.3);
}
.btn-ghost:hover { background: rgba(44,24,16,.05); }

/* ---- Section dividers ------------------------------------- */
section + section {
  border-top: 1px solid rgba(122,155,118,.18);
}
section { padding: var(--section-gap) 0; }

/* ---- Synopsis --------------------------------------------- */
.synopsis-wrap { padding: 4px; }
.synopsis-text {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  font-size: 18.5px;
  line-height: 1.74;
  color: var(--text-2);
}
.synopsis-text p + p { margin-top: 1.2em; }

/* ---- Cast ------------------------------------------------- */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 22px;
}
@media (max-width: 600px) {
  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.cast-card {
  background: var(--cream-2);
  border: 1px solid rgba(122,155,118,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.cast-card:hover {
  border-color: rgba(122,155,118,.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44,24,16,.12);
}
.cast-portrait-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream-3);
}
.cast-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: sepia(.18) contrast(1.04);
  transition: filter .4s, transform .4s;
}
.cast-card:hover .cast-portrait {
  filter: sepia(.06) contrast(1.08);
  transform: scale(1.03);
}
.cast-info {
  padding: 13px 15px 17px;
}
.cast-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.2;
}
.cast-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12.5px;
  color: var(--sage-dark);
  margin: 0 0 8px;
}
.cast-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-3);
  margin: 0;
}

/* ---- Trailer placeholder ---------------------------------- */
.trailer-placeholder {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(122,155,118,.25);
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trailer-inner {
  text-align: center;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.trailer-icon { opacity: .5; }
.trailer-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.trailer-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--text-3);
  max-width: 38ch;
  margin: 0;
}
.staged-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(122,155,118,.12);
  color: var(--sage-dark);
  border: 1px solid rgba(122,155,118,.3);
  border-radius: 2px;
  padding: 4px 10px;
}

/* ---- Social pack ------------------------------------------ */
.social-grid-wrap { display: block; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.social-frame {
  background: var(--cream-2);
  border: 1px solid rgba(122,155,118,.2);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.social-frame-label {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.social-copy {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  line-height: 1.52;
  color: var(--text);
  margin: 0;
}
.social-copy-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Join the list ---------------------------------------- */
.join-form-wrap {
  background: var(--cream-2);
  border: 1px solid rgba(122,155,118,.25);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
}
@media (max-width: 480px) {
  .join-form-wrap { padding: 28px 20px 24px; }
}
.join-form { display: flex; flex-direction: column; gap: 0; }
.join-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.join-input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(122,155,118,.35);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.join-input:focus {
  border-color: var(--sage);
  background: rgba(255,255,255,.88);
}
.join-input::placeholder { color: var(--text-faint); }
.btn-join { flex-shrink: 0; }
.join-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin: 10px 0 0;
}
.join-thanks { text-align: center; padding: 10px 0; }
.join-thanks-msg {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 17px;
  color: var(--sage-dark);
  margin: 0;
}

/* ---- Footer ----------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(122,155,118,.2);
  padding: 40px 0 48px;
  background: var(--cream-2);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.disclaimer {
  font-size: 12px;
  line-height: 1.72;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0;
}
.footer-back {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 600px) {
  :root { --section-gap: 60px; }
  .hero { padding: 36px 0 var(--section-gap); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
}
