/* ============================================================
   Dracula Launch Site: Gothic Oxblood and Candlelight
   Fonts: Cinzel (display), EB Garamond (body), Cormorant Garamond (italic)
   Palette: oxblood, midnight ink, candlelight ivory, dried-blood crimson
   Register: Gothic Victorian wood-engraving; oppressive, illuminated from below
   ============================================================ */

/* ---- Self-hosted fonts: latin + latin-ext, font-display:swap ---- */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-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: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/cinzel-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: 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: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-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: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/eb-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: '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;
}

/* ---- Oxblood and Candlelight palette ---- */
:root {
  /* Backgrounds: deep midnight ink, not pure black */
  --ink-bg:     #080306;
  --ink-2:      #120910;
  --ink-3:      #1e0e1a;

  /* Oxblood: the dominant accent */
  --oxblood:        #6b1220;
  --oxblood-soft:   #912035;
  --oxblood-dim:    #3d0a12;
  --oxblood-glow:   rgba(107,18,32,0.55);

  /* Candlelight: warm ivory text and accent */
  --candle:         #f0e0b8;
  --candle-2:       #e8d4a0;
  --candle-line:    #c4a86e;

  /* Blood crimson: used sparingly for the seal and accent rule */
  --crimson:        #9b1a2a;
  --crimson-soft:   #c23344;
  --crimson-dim:    #5a0f17;

  /* Muted tones for body text and secondary copy */
  --muted:      #9a8272;
  --muted-2:    #6e5c4e;
  --text:       #e8d8c0;
  --text-2:     #c8b89a;
  --text-3:     #9a8878;

  /* Dossier card accent: aged parchment */
  --parchment:      #f5ead2;
  --parchment-2:    #ecddc0;
  --parchment-rule: #c8a86a;

  --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-body:    "EB Garamond", "Garamond", Georgia, serif;
  --font-italic:  "Cormorant Garamond", "Palatino Linotype", serif;

  --radius:      3px;
  --radius-lg:   6px;
  --max-w:       1080px;
  --section-gap: 100px;
}

/* ---- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(140% 95% at 70% 5%, #1a0510 0%, #080306 50%, #040203 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grain overlay: fine pressed-paper texture */
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='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Oxblood ambient glow: lower-left, as candlelight from below */
body::after {
  content: "";
  position: fixed;
  bottom: -15vh;
  left: -10vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,18,32,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Typography ------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1; }
a { color: var(--candle-2); text-decoration: none; }
a:hover { color: var(--crimson-soft); }
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 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; }
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--candle-2);
  margin: 0 0 10px;
  /* Decorative rule above heading */
  padding-top: 32px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--oxblood-soft), transparent);
}
.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(107,18,32,.2);
}
.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(--candle-2); }
.header-demo-badge {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(107,18,32,.25);
  color: var(--crimson-soft);
  border: 1px solid rgba(107,18,32,.45);
  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(--candle-2); 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(--crimson-soft), var(--oxblood) 60%, var(--oxblood-dim));
  color: var(--parchment);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 0 0 3px rgba(107,18,32,.25);
  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(--candle-2);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.inspectable:hover { filter: drop-shadow(0 0 22px rgba(155,26,42,.28)); }

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

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

/* Explain card: oxblood-ruled parchment */
.explain-card {
  position: fixed;
  z-index: 50;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(.95);
  width: min(580px, 94vw);
  max-height: 88vh;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .42s, transform .42s;
  background: linear-gradient(175deg, #f8edd8 0%, #eddfc5 100%);
  color: #2e1a12;
  border-radius: var(--radius-lg);
  border: 1px solid var(--parchment-rule);
  border-left: 4px solid var(--oxblood);
  box-shadow:
    0 0 0 1px rgba(107,18,32,.2),
    0 50px 100px rgba(0,0,0,.8),
    0 0 80px rgba(107,18,32,.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: #8a5040;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.explain-close:hover { background: rgba(107,18,32,.12); color: var(--oxblood); }
.explain-label {
  font-family: var(--font-display);
  letter-spacing: .22em;
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 6px;
}
.explain-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.8vw, 22px);
  margin: 0 0 14px;
  color: #200e08;
  line-height: 1.15;
}
.explain-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #3e2218;
  margin: 0 0 18px;
}
.smmb-card {
  background: #fff;
  border: 1px solid var(--parchment-rule);
  border-left: 4px solid var(--oxblood);
  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: var(--oxblood);
  margin-bottom: 8px;
}
.smmb-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: #3e2218;
}
.explain-rejected {
  font-size: 14px;
  color: #6a2010;
  border-top: 1px dashed var(--parchment-rule);
  padding-top: 14px;
  line-height: 1.55;
}
.explain-rejected strong { color: #4a1208; }
.placeholder-note {
  display: block;
  font-style: italic;
  font-size: 12px;
  color: #8a6040;
  margin-top: 6px;
}

/* ---- 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 missing image file */
.hero-cover-wrap { display: block; }
.cover-plate {
  aspect-ratio: 3 / 4.4;
  border-radius: 3px;
  overflow: hidden;
  /* Oxblood and midnight gradient: the placeholder IS the aesthetic */
  background:
    radial-gradient(ellipse at 50% 30%, #3d0a12 0%, #1a0408 50%, #080205 100%);
  box-shadow:
    0 30px 70px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(107,18,32,.35),
    inset 0 0 80px rgba(107,18,32,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 18px 16px;
  position: relative;
}

/* Gothic decorative rules within the cover plate */
.cover-plate::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,18,32,.5), var(--candle-line), rgba(107,18,32,.5), transparent);
  z-index: 2;
}
.cover-plate::after {
  content: "";
  position: absolute;
  bottom: 44px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,18,32,.5), var(--candle-line), rgba(107,18,32,.5), transparent);
  z-index: 2;
}

/* 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: deep shadow at top and bottom for text legibility */
.cover-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(8,2,4,.82) 0%,
      rgba(8,2,4,.50) 28%,
      rgba(8,2,4,.16) 55%,
      rgba(8,2,4,.0) 78%,
      rgba(8,2,4,.45) 100%
    );
  pointer-events: none;
}

.cover-top {
  font-family: var(--font-display);
  letter-spacing: .24em;
  font-size: 9px;
  color: rgba(196,168,110,.7);
  text-align: center;
  position: relative;
  z-index: 3;
  text-transform: uppercase;
}
.cover-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
}
.cover-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 5vw, 32px);
  color: var(--candle);
  letter-spacing: .12em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.95), 0 0 30px rgba(107,18,32,.4);
}
.cover-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 11px;
  color: rgba(196,168,110,.65);
  letter-spacing: .03em;
  text-align: center;
}

/* Hero text */
.kicker {
  font-family: var(--font-display);
  letter-spacing: .34em;
  font-size: 11px;
  color: var(--oxblood-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.book-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 8vw, 80px);
  line-height: .92;
  color: var(--candle);
  letter-spacing: .04em;
  margin: 0;
  text-shadow: 0 2px 40px rgba(107,18,32,.2);
}
.book-subtitle {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--candle-2);
  margin: 10px 0 28px;
  font-weight: 400;
}
.tagline-wrap { display: inline-block; }
.tagline {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.55;
  color: #deccb0;
  max-width: 34ch;
  margin: 0;
  border-left: 2px solid rgba(107,18,32,.5);
  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: .14em;
  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(--oxblood-soft), var(--oxblood));
  color: var(--parchment);
  box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 2px 8px rgba(107,18,32,.3);
}
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost {
  background: transparent;
  color: var(--candle-2);
  border: 1px solid rgba(196,168,110,.4);
}
.btn-ghost:hover { background: rgba(196,168,110,.06); }

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

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

/* ---- Cast: Typographic Dossier Cards ---------------------- */
/*
   No portrait images exist for Dracula. The cast section uses
   typographic dossier cards: name, role line, and a verbatim
   canon description quote as the visual hero of each card.
   Premium gothic register via typography, rules, and palette.
*/

.cast-intro-note {
  text-align: center;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--muted-2);
  max-width: 560px;
  margin: -24px auto 40px;
  line-height: 1.6;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
@media (max-width: 640px) {
  .cast-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Dossier card base */
.cast-card {
  background:
    linear-gradient(160deg, rgba(26,12,18,.88), rgba(12,5,9,.94));
  border: 1px solid rgba(107,18,32,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.cast-card:hover {
  border-color: rgba(107,18,32,.55);
  transform: translateY(-3px);
}
/* Subtle top rule: candlelight line */
.cast-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,168,110,.3), transparent);
}

.cast-dossier {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Header: name + role on ruled block */
.dossier-header {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(107,18,32,.3);
  position: relative;
}
/* Small decorative ornament left of name */
.dossier-header::before {
  content: "\2767";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 10px;
  color: rgba(107,18,32,.5);
}

.cast-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--candle-2);
  margin: 0 0 4px 18px;
  line-height: 1.2;
}
.cast-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--crimson-soft);
  margin: 0 0 0 18px;
}

/* Verbatim canon quote: the hero of the card */
.dossier-quote-block {
  background: rgba(0,0,0,.28);
  border-left: 2px solid var(--oxblood);
  padding: 14px 16px;
  border-radius: 0 2px 2px 0;
  margin-bottom: 12px;
}
.dossier-quote {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--candle-2);
  margin: 0 0 8px;
}
.dossier-citation {
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oxblood-soft);
  margin: 0;
}

.cast-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-3);
  margin: 0;
}

/* ---- Trailer placeholder ---------------------------------- */
.trailer-placeholder {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(107,18,32,.22);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18,6,12,.92), rgba(8,2,6,.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(--candle-2);
  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(107,18,32,.18);
  color: var(--crimson-soft);
  border: 1px solid rgba(107,18,32,.4);
  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: linear-gradient(160deg, rgba(26,10,16,.88), rgba(12,4,8,.92));
  border: 1px solid rgba(107,18,32,.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: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.social-copy {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 16px;
  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: linear-gradient(160deg, rgba(22,8,14,.85), rgba(10,4,7,.92));
  border: 1px solid rgba(107,18,32,.28);
  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,.05);
  border: 1px solid rgba(107,18,32,.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: rgba(107,18,32,.7);
  background: rgba(255,255,255,.07);
}
.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(--candle-2);
  margin: 0;
}

/* ---- Footer ----------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(107,18,32,.15);
  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: 700px;
  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: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
}
