/* ============================================================
   Alice's Adventures in Wonderland Launch Site
   Victorian Storybook / Tenniel Wood-Engraving Register
   Fonts: Playfair Display (display), Cormorant Garamond (body/italic)
   Palette: warm ochre, Wonderland teal, ink on cream
   ============================================================ */

/* ---- Self-hosted fonts: latin + latin-ext, font-display:swap ---- */
@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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-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: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-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: 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;
}

/* ================================================================
   WONDERLAND PALETTE - :root variables
   ================================================================ */
:root {
  /* Backgrounds: aged paper and deep ink */
  --ink:         #1a1209;
  --ink-bg:      #120d07;
  --ink-2:       #1e1710;
  --ink-3:       #2a2016;
  --paper:       #fdf6e3;
  --paper-2:     #f5ead0;
  --paper-line:  #e0cfab;

  /* Wonderland accent colours */
  --ochre:       #c8922a;
  --ochre-soft:  #e3b45a;
  --ochre-dim:   #8a5f14;
  --teal:        #2e8b8b;
  --teal-soft:   #4db6b6;
  --teal-dim:    #1d5e5e;
  --rose:        #a0402a;
  --rose-soft:   #c45a3e;

  /* Text hierarchy */
  --muted:       #a89070;
  --muted-2:     #7a6548;
  --text:        #ede0c4;
  --text-2:      #d5c5a2;
  --text-3:      #a89070;

  /* Typography */
  --font-display: "Playfair Display", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body:    "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --font-italic:  "Cormorant Garamond", "Palatino Linotype", Georgia, serif;

  --radius:      4px;
  --radius-lg:   8px;
  --max-w:       1080px;
  --section-gap: 100px;
}

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(130% 90% at 60% 6%, #201608 0%, #120d07 55%, #080503 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Aged-paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient ochre glow upper-left, teal lower-right */
body::after {
  content: "";
  position: fixed;
  top: -12vh;
  left: -8vw;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,146,42,.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Teal ambient glow, lower-right */
.ambient-teal {
  position: fixed;
  bottom: -15vh;
  right: -10vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,139,.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
a { color: var(--teal-soft); text-decoration: none; }
a:hover { color: var(--ochre-soft); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ---- Engraving ornament (playing-card suit motifs via CSS) -- */
/* Used as decorative ::before/::after on section headers */
.section-heading::before,
.section-heading::after {
  content: "\2666"; /* diamond suit */
  display: inline-block;
  font-size: .55em;
  color: var(--teal);
  vertical-align: middle;
  margin: 0 .6em;
  opacity: .6;
}

/* ---- 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 shells ---------------------------------------- */
.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;
  /* Engraving-style rule lines above/below heading */
  position: relative;
  padding: 0 0 6px;
}
.section-header::before {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ochre), transparent);
  margin: 0 auto 20px;
  opacity: .55;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre-soft);
  margin: 0 0 10px;
}
.section-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

/* ---- Site header ------------------------------------------ */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(200,146,42,.12);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-brand {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.header-brand:hover { color: var(--ochre-soft); }
.header-demo-badge {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(46,139,139,.18);
  color: var(--teal-soft);
  border: 1px solid rgba(46,139,139,.38);
  border-radius: 2px;
  padding: 2px 7px;
}

/* ---- Inspect hint ----------------------------------------- */
.inspect-hint {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--muted-2);
  text-transform: uppercase;
  padding: 18px 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.inspect-hint strong { color: var(--ochre-soft); 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(--ochre-soft), var(--ochre) 60%, var(--ochre-dim));
  color: #1a0e02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 0 0 3px rgba(200,146,42,.2);
  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 .35s, transform .35s;
}
.inspectable:focus-visible {
  outline: 2px solid var(--ochre-soft);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.inspectable:hover { filter: drop-shadow(0 0 20px rgba(46,139,139,.22)); }

.seal {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--ochre-soft), var(--ochre) 60%, var(--ochre-dim));
  color: #1a0e02;
  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 10px rgba(0,0,0,.55), inset 0 1px 1px rgba(255,255,255,.4);
  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 10px rgba(0,0,0,.55), 0 0 0 0 rgba(200,146,42,.55); }
  50%       { box-shadow: 0 2px 10px rgba(0,0,0,.55), 0 0 0 8px rgba(200,146,42,0); }
}

/* ---- Dim + spotlight -------------------------------------- */
.scrim {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 44%, rgba(10,7,3,.6), rgba(3,2,1,.94));
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s;
  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(.28) saturate(.55);
  transition: filter .42s;
}
.inspectable.is-active {
  filter: none !important;
}

/* ---- Explain card (light paper, engraving border) --------- */
.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 .42s, transform .42s;
  background: linear-gradient(172deg, #fdf8ee 0%, #f5e9ce 100%);
  color: #3a2a10;
  border-radius: var(--radius-lg);
  /* Engraving-register border: thin outer rule, teal accent left */
  border: 1px solid #c8a868;
  border-left: 4px solid var(--teal);
  box-shadow:
    0 0 0 1px rgba(200,146,42,.3),
    0 50px 100px rgba(0,0,0,.75),
    0 0 80px rgba(46,139,139,.12);
  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: #8a6a30;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.explain-close:hover { background: rgba(46,139,139,.1); color: var(--teal); }
.explain-label {
  font-family: var(--font-display);
  letter-spacing: .22em;
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.explain-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 3vw, 24px);
  margin: 0 0 14px;
  color: #241806;
  line-height: 1.15;
}
.explain-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: #4a3a18;
  margin: 0 0 18px;
}
.smmb-card {
  background: #fff;
  border: 1px solid #d8c39a;
  border-left: 4px solid var(--ochre);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 18px;
}
.smmb-src {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8a6a30;
  margin-bottom: 8px;
}
.smmb-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 18px;
  line-height: 1.58;
  color: #3a2a10;
}
.explain-rejected {
  font-size: 14px;
  color: #6a3818;
  border-top: 1px dashed #c8a868;
  padding-top: 14px;
  line-height: 1.55;
}
.explain-rejected strong { color: #4a1e08; }

/* ---- HERO ------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 60px 0 var(--section-gap);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Cover plate: CSS placeholder (no image reference) */
.hero-cover-wrap { display: block; }
.cover-plate {
  aspect-ratio: 3 / 4.4;
  border-radius: 3px;
  overflow: hidden;
  /* Engraving register: warm cream with hatching pattern */
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(200,146,42,.04) 0px,
      rgba(200,146,42,.04) 1px,
      transparent 1px,
      transparent 6px
    ),
    linear-gradient(175deg, #f8f0dc 0%, #ede0bf 60%, #e0cfa0 100%);
  box-shadow:
    0 30px 70px rgba(0,0,0,.65),
    inset 0 0 0 1px rgba(200,146,42,.3),
    inset 0 0 0 8px rgba(200,146,42,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 16px;
  position: relative;
}

/* Decorative engraving border inside the cover plate */
.cover-plate::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(139,90,30,.25);
  border-radius: 1px;
  pointer-events: none;
  z-index: 1;
}
.cover-plate::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(139,90,30,.12);
  border-radius: 1px;
  pointer-events: none;
  z-index: 1;
}

/* 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: warm cream at top for legibility, dark band at bottom for title contrast */
.cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(248,240,220,.65) 0%,
      rgba(248,240,220,.32) 30%,
      rgba(248,240,220,.08) 52%,
      rgba(10,6,2,.0) 58%,
      rgba(10,6,2,.60) 74%,
      rgba(10,6,2,.88) 100%
    );
  pointer-events: none;
}

.cover-top {
  font-family: var(--font-display);
  letter-spacing: .18em;
  font-size: 10px;
  color: #7a5a28;
  text-align: center;
  position: relative;
  z-index: 3;
}
.cover-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 3;
  margin-top: auto;
}
.cover-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 3.2vw, 20px);
  color: #f2e8d0;
  letter-spacing: .06em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.98), 0 2px 20px rgba(0,0,0,.92), 0 0 44px rgba(0,0,0,.82);
}
.cover-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 10px;
  color: #d4b882;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.98), 0 2px 14px rgba(0,0,0,.88), 0 0 28px rgba(0,0,0,.75);
}

/* Hero text */
.kicker {
  font-family: var(--font-display);
  letter-spacing: .32em;
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.book-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 76px);
  line-height: .92;
  color: #f0e4c8;
  letter-spacing: .02em;
  margin: 0;
}
.book-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--ochre-soft);
  margin: 10px 0 28px;
  font-weight: 400;
}
.tagline-wrap { display: inline-block; }
.tagline {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: #e8dcca;
  max-width: 34ch;
  margin: 0;
  border-left: 2px solid rgba(46,139,139,.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(--muted);
  margin-top: 14px;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  font-family: var(--font-display);
  letter-spacing: .12em;
  font-size: 12px;
  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(--ochre-soft), var(--ochre));
  color: #1a0e02;
  box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.3);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--teal-soft);
  border: 1px solid rgba(46,139,139,.5);
}
.btn-ghost:hover { background: rgba(46,139,139,.08); }

/* ---- Section dividers ------------------------------------- */
section + section {
  border-top: 1px solid rgba(200,146,42,.1);
}
section { padding: var(--section-gap) 0; }

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

/* ================================================================
   CAST SECTION: typographic dossier cards
   No portrait images (none exist in SMMB for this book).
   Each card has: engraving-register monogram, name, role, desc,
   plus a verbatim canon quote strip at the bottom.
   ================================================================ */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) {
  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

.cast-card {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(200,146,42,.025) 0px,
      rgba(200,146,42,.025) 1px,
      transparent 1px,
      transparent 7px
    ),
    linear-gradient(162deg, rgba(32,22,10,.85), rgba(18,12,6,.92));
  border: 1px solid rgba(200,146,42,.2);
  border-top: 3px solid var(--teal-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s, filter .3s;
  display: flex;
  flex-direction: column;
}
.cast-card:hover {
  border-color: rgba(200,146,42,.45);
  border-top-color: var(--teal-soft);
  transform: translateY(-3px);
}

/* Monogram / initial block: styled as a Victorian chapter-drop-cap */
.cast-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(46,139,139,.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(200,146,42,.06), transparent);
  border-bottom: 1px solid rgba(200,146,42,.12);
  position: relative;
}
/* Decorative engraving oval frame around monogram */
.cast-monogram::before {
  content: "";
  position: absolute;
  width: 58px;
  height: 72px;
  border: 1px solid rgba(200,146,42,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200,146,42,.07);
}
.cast-initial {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--ochre-soft);
  line-height: 1;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}

.cast-info {
  padding: 14px 16px 0;
  flex: 1;
}
.cast-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ochre-soft);
  margin: 0 0 2px;
  line-height: 1.2;
}
.cast-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--teal-soft);
  margin: 0 0 8px;
}
.cast-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-3);
  margin: 0;
}

/* Verbatim canon quote strip at card base */
.cast-quote-strip {
  margin: 14px 0 0;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(200,146,42,.1);
}
.cast-quote-label {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ochre-dim);
  margin-bottom: 5px;
}
.cast-quote-text {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}
.cast-quote-cite {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-top: 5px;
  display: block;
  text-transform: uppercase;
}

/* ---- Trailer placeholder ---------------------------------- */
.trailer-placeholder {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(200,146,42,.22);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(46,139,139,.02) 0px,
      rgba(46,139,139,.02) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(162deg, rgba(22,15,8,.9), rgba(10,7,4,.96));
  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: .65; }
.trailer-label {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ochre-soft);
  margin: 0;
}
.trailer-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  max-width: 40ch;
  margin: 0;
}
.staged-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(46,139,139,.12);
  color: var(--teal-soft);
  border: 1px solid rgba(46,139,139,.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: 20px;
}
.social-frame {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(200,146,42,.02) 0px,
      rgba(200,146,42,.02) 1px,
      transparent 1px,
      transparent 14px
    ),
    linear-gradient(160deg, rgba(28,20,10,.88), rgba(14,10,5,.92));
  border: 1px solid rgba(200,146,42,.18);
  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: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.social-copy {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}
.social-copy-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---- Join the list ---------------------------------------- */
.join-form-wrap {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(46,139,139,.02) 0px,
      rgba(46,139,139,.02) 1px,
      transparent 1px,
      transparent 8px
    ),
    linear-gradient(160deg, rgba(28,19,10,.82), rgba(14,9,5,.92));
  border: 1px solid rgba(200,146,42,.22);
  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,.06);
  border: 1px solid rgba(200,146,42,.3);
  border-radius: 2px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.join-input:focus {
  border-color: rgba(46,139,139,.7);
  background: rgba(255,255,255,.09);
}
.join-input::placeholder { color: var(--muted-2); }
.btn-join { flex-shrink: 0; }
.join-note {
  font-size: 12px;
  color: var(--muted-2);
  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(--ochre-soft);
  margin: 0;
}

/* ---- Footer ----------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(200,146,42,.12);
  padding: 40px 0 48px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 680px;
  margin: 0;
}
.footer-back {
  font-size: 12px;
  color: var(--muted-2);
  margin: 0;
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 600px) {
  :root { --section-gap: 64px; }
  .hero { padding: 40px 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; }
}
