/* ==========================================================================
   Ghost Stories: Is Seeing Really Believing?
   Haunted-luxury speakeasy theme. Mobile first. No framework.
   ========================================================================== */

/* ---------- Fonts ----------
   TODO (Enigma): the file is /assets/fonts/enigma.woff2. If you receive other
   formats (woff/ttf/otf), add them to the src list below. */
@font-face {
  font-family: "Enigma";
  src: url("../fonts/enigma.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
  font-weight: 100 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Special Elite";
  src: url("../fonts/special-elite-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0B1315;
  --bg-2: #111C1F;
  --oxblood: #4A0F14;
  --oxblood-deep: #2E080C;
  --gold: #C9AB81;
  --candle: #E8C48A;
  --parchment: #E9DFC9;
  --white: #FFFFFF;
  --mist: rgba(210, 220, 215, 0.08);

  --ink: #0B1315;                         /* text on light surfaces */
  --text: var(--parchment);
  --text-soft: rgba(233, 223, 201, 0.78);
  --text-faint: rgba(233, 223, 201, 0.6);
  --line: rgba(201, 171, 129, 0.28);
  --line-strong: rgba(201, 171, 129, 0.55);

  --f-title: "Enigma", "Limelight", "Bodoni Moda", serif;
  --f-display: "Josefin Sans", "Futura", "Century Gothic", sans-serif;
  --f-body: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --f-type: "Special Elite", "Courier New", monospace;

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --z-nav: 95;                            /* above the tape band (91) and the texture layers (90) */
  --z-menu: 60;
  --z-texture: 90;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--gold);
  accent-color: var(--gold);
}
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
strong, b { font-weight: 700; }
::selection { background: var(--oxblood); color: var(--candle); }

html { scrollbar-color: rgba(201, 171, 129, 0.45) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201, 171, 129, 0.35); border: 3px solid var(--bg); border-radius: 10px; }

:focus-visible { outline: 2px solid var(--candle); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
[hidden] { display: none !important; }
.center { text-align: center; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 0.6rem 1rem;
  font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 1.05em; height: 1.05em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 1.6rem; height: 1.6rem; }

/* ---------- Film grain + vignette (fixed, pointer-events none, never on scrollers) ---------- */
body::before, body::after {
  content: ""; position: fixed; pointer-events: none; z-index: var(--z-texture);
}
body::before {
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(3, 7, 8, 0.55) 100%);
}
body::after {
  inset: -60%;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Drifting fog ---------- */
.fog { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fog span {
  position: absolute; left: 0; bottom: -10%; width: 200%; height: 75%;
  background: repeat-x left bottom / 50% 100%;
  opacity: 0.55;
  animation: drift 110s linear infinite;
  will-change: transform;
}
.fog-ready .fog span { background-image: url("../img/fog-layer.webp"); }   /* added after load so it never competes with the hero */
.fog span + span { height: 55%; bottom: 8%; opacity: 0.35; animation-duration: 170s; animation-direction: reverse; }
.fog--low span { opacity: 0.3; }
.fog--low span + span { opacity: 0.2; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- Type primitives ---------- */
.eyebrow, .section-head__sub {
  font-family: var(--f-display);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--parchment);
}
.h2 strong { font-weight: 700; }
.h2--xl { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.4rem); }
.h3 {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h3 span {
  display: block; margin-top: 0.45rem;
  font-family: var(--f-body); font-style: italic; font-weight: 500;
  font-size: 1.2rem; text-transform: none; letter-spacing: 0;
  color: var(--gold);
}
.lede { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem); line-height: 1.4; color: var(--parchment); font-weight: 500; }
.caption, .reel__caption {
  font-family: var(--f-type); font-size: 0.92rem; letter-spacing: 0.04em; color: var(--text-soft);
}
.link { color: var(--gold); text-decoration: underline; text-decoration-color: var(--line-strong); transition: color 180ms ease, text-decoration-color 180ms ease; }
.link:hover { color: var(--candle); text-decoration-color: currentColor; }

.section { position: relative; padding-block: var(--section-y); }
.section-head { text-align: center; display: grid; justify-items: center; gap: 1rem; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.divider { width: 160px; height: 14px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1; }
.divider--left { margin-inline: 0; }

/* Materialize: JS adds .mat-pending to word spans only when motion is allowed */
.mat-word { display: inline-block; }
.mat-pending { opacity: 0; }

/* ---------- Buttons ---------- */
.btn {
  --glow: rgba(232, 196, 138, 0.5);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.95rem 1.7rem;
  font-family: var(--f-display); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--gold); border-radius: 1px;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::after {   /* candle glow: opacity-only flicker, compositor friendly */
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  box-shadow: 0 6px 28px -6px var(--glow);
  animation: candle 5.5s ease-in-out infinite;
}
.btn--gold:hover { background: var(--candle); border-color: var(--candle); }
.btn--ghost { background: rgba(11, 19, 21, 0.35); color: var(--gold); }
.btn--ghost:hover { background: rgba(201, 171, 129, 0.12); color: var(--candle); border-color: var(--candle); }
.btn--sm { min-height: 2.6rem; padding: 0.7rem 1.2rem; font-size: 0.72rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.btn[aria-busy="true"] .btn__label { animation: gaslight-soft 1.4s ease-in-out infinite; }
@keyframes candle {
  0%, 100% { opacity: 0.75; }
  18% { opacity: 1; }
  22% { opacity: 0.6; }
  30% { opacity: 0.95; }
  55% { opacity: 0.7; }
  61% { opacity: 1; }
  78% { opacity: 0.8; }
}
@keyframes gaslight-soft { 50% { opacity: 0.45; } }

/* ---------- Candle bullet list ---------- */
.candle-list { display: grid; gap: 0.7rem; margin: 1.6rem 0 2.2rem; }
.candle-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text); font-size: 1.12rem; line-height: 1.45; }
.candle-list .icon { color: var(--gold); margin-top: 0.12em; width: 1.15em; height: 1.15em; }

/* ==========================================================================
   1. Utility bar
   ========================================================================== */
.utility { border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.utility__inner { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; min-height: 2.4rem; }
.utility__item { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; color: var(--text-soft); padding-block: 0.4rem; transition: color 180ms ease; }
.utility__item:hover { color: var(--candle); }
.utility__item--cta { color: var(--gold); }
.icon--seat { width: 1.35em; height: 1.35em; stroke-width: 2.1; }
.utility__item--email { display: none; }
.utility__item span { text-transform: none; letter-spacing: 0.04em; font-size: 0.78rem; }
.utility__item--cta span { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }

/* ==========================================================================
   2. Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  transition: background-color 400ms ease, border-color 400ms ease, backdrop-filter 400ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 19, 21, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
/* Ghost Stories text logo. main.js fits the subtitle's width to the title (see fitLockups). */
.logo { display: inline-grid; justify-items: center; gap: 0.32rem; text-decoration: none; line-height: 1; color: var(--gold); }
.logo__title { display: inline-block; margin-right: -0.02em; font-family: var(--f-title); font-size: 1.55rem; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap; }
.logo__sub { display: block; text-align: center; font-family: var(--f-type); font-size: 0.62rem; text-transform: uppercase; white-space: nowrap; }
.logo--footer { gap: 0.5rem; margin-bottom: 1.8rem; }
.logo--footer .logo__title { font-size: 1.75rem; }
.logo--footer .logo__sub { font-size: 0.64rem; }
.lockup-fit { display: inline-block; white-space: nowrap; }
/* The quiet discovery, wherever the subtitle appears: plain white, no glow, no shadow, no motion. */
.lie { color: var(--white); text-shadow: none; animation: none; }

.nav__links {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem;
  background: radial-gradient(ellipse at 50% 40%, var(--oxblood) 0%, var(--oxblood-deep) 55%, var(--bg) 100%);
  font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--ease-out), visibility 0s linear 280ms;
}
.nav__links a:not(.btn) { text-decoration: none; color: var(--parchment); padding: 0.4rem 0.6rem; }
.nav[data-open] .nav__links { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease-out), visibility 0s; }
.nav__menu-cta { margin-top: 1rem; }
.nav__cta { display: none; }
.nav__toggle {
  position: relative; z-index: calc(var(--z-menu) + 1);
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-right: -0.55rem;
  background: transparent; border: 0; color: var(--gold);
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle:active .nav__bars { transform: scale(0.9); }
/* Three bars that fold into an X: top and bottom meet in the middle, then rotate; the middle fades */
.nav__bars { position: relative; display: block; width: 24px; height: 16px; transition: transform 160ms var(--ease-out); }
.nav__bars span {
  position: absolute; left: 0; height: 1.5px; width: 100%; border-radius: 2px; background: currentColor;
  transition: transform 380ms var(--ease-out), top 240ms var(--ease-out) 140ms, opacity 200ms ease, width 300ms var(--ease-out);
}
.nav__bars span:nth-child(1) { top: 0; }
.nav__bars span:nth-child(2) { top: 7.25px; }
.nav__bars span:nth-child(3) { top: 14.5px; width: 66%; }
.nav[data-open] .nav__bars span { transition: top 240ms var(--ease-out), transform 380ms var(--ease-out) 180ms, opacity 200ms ease, width 300ms var(--ease-out); }
.nav[data-open] .nav__bars span:nth-child(1) { top: 7.25px; transform: rotate(45deg); }
.nav[data-open] .nav__bars span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav[data-open] .nav__bars span:nth-child(3) { top: 7.25px; width: 100%; transform: rotate(-45deg); }

/* ==========================================================================
   3. Hero
   ========================================================================== */
/* Layers, back to front: background photo -> fog -> shade (with text scrim) -> copy.
   The copy is vertically centred by two flexible spacers. The top spacer can grow but never
   shrinks below --face-clear (just under Kent's chin in the photo), so the face is never covered;
   when the copy is too tall to centre (phones), it is pushed down instead. */
.hero {
  --hero-h: max(calc(100svh - 6.65rem), 560px);
  --face-clear: calc(var(--hero-h) * 0.35);
  position: relative; isolation: isolate;
  min-height: var(--hero-h);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero::before, .hero::after { content: ""; flex: 1 1 0; }
.hero::before { min-height: var(--face-clear); }
.hero::after { min-height: clamp(2.5rem, 6vh, 4.5rem); }
.hero__sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.hero__bg {   /* sized to the screen, not the content: the chin line stays put when the copy makes the hero taller (small phones) */
  position: absolute; top: 0; left: 0; z-index: -4;
  width: 100%; height: var(--hero-h); object-fit: cover; object-position: 52% 20%;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.hero .fog { z-index: -3; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%); mask-image: linear-gradient(180deg, #000 65%, transparent 100%); }   /* fade out before the hero's edge: no clipped mist line */
/* hero smoke drifts a little quicker than the section fog, still slow enough to read as atmosphere */
.hero .fog span { animation-duration: 72s; }
.hero .fog span + span { animation-duration: 112s; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 58% 34% at 50% 60%, rgba(11, 19, 21, 0.55), transparent 75%),   /* scrim behind the copy */
    radial-gradient(ellipse at 50% 42%, transparent 38%, rgba(5, 9, 10, 0.8) 100%),
    linear-gradient(180deg, rgba(11, 19, 21, 0.45) 0%, rgba(11, 19, 21, 0.05) 24%, rgba(11, 19, 21, 0.3) 55%, rgba(6, 10, 11, 0.8) 82%, #060a0b 100%);   /* ends on the About stage's dark (#060a0b): one continuous scene */
}
.hero__content { text-align: center; display: grid; justify-items: center; }
/* dark halo keeps small copy readable over the photo */
.hero__subtitle, .hero__lede, .hero__facts { text-shadow: 0 1px 2px rgba(5, 9, 10, 0.95), 0 0 14px rgba(5, 9, 10, 0.9), 0 0 28px rgba(5, 9, 10, 0.7); }
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(3.5rem, 8.2vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  animation: gaslight 11s linear 3.2s infinite;
}
.hero__title-glow { display: inline-block; margin-right: -0.02em; text-shadow: 0 0 24px rgba(255, 255, 255, 0.2), 0 0 60px rgba(232, 196, 138, 0.14); }
.hero__subtitle {
  font-family: var(--f-type);
  font-size: clamp(1rem, 0.75rem + 1.3vw, 1.65rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero__lede { max-width: 40rem; color: var(--parchment); font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 1.06rem + 0.5vw, 1.45rem); line-height: 1.6; letter-spacing: 0.01em; margin-bottom: 2.2rem; }
.hero__facts {   /* two columns of key show facts, read top-to-bottom per column */
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto);
  column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 0.35rem;
  margin: -0.6rem 0 2.2rem; text-align: left;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.02rem, 0.94rem + 0.3vw, 1.18rem); line-height: 1.4;
  color: var(--gold);
}
.hero__subtitle + .hero__facts { margin-top: 0.4rem; }
.hero__facts { color: var(--white); }

/* Phone-only play button above the title (replaces "Watch the Trailer") */
.hero__play { display: none; }
@media (max-width: 699.98px) {
  .hero__trailer { display: none; }
  .hero__play {
    position: relative; display: grid; place-items: center;
    width: 3.6rem; height: 3.6rem; margin: 0 0 1rem; padding: 0;
    border-radius: 50%; border: 1px solid var(--candle);
    background: rgba(74, 15, 20, 0.78); color: var(--candle);
    box-shadow: 0 0 0 0 rgba(232, 196, 138, 0.45);
    animation: play-breathe 2.8s ease-in-out infinite;
    transition: transform 160ms var(--ease-out);
    -webkit-tap-highlight-color: transparent;
  }
  .hero__play .icon { width: 1.25rem; height: 1.25rem; margin-left: 3px; }
  .hero__play:active { transform: scale(0.94); }
  .hero__play::before, .hero__play::after {   /* rings that burst outward on tap */
    content: ""; position: absolute; inset: -1px; border-radius: 50%;
    border: 1px solid var(--candle); opacity: 0; pointer-events: none;
  }
  .hero__play.is-launching { animation: play-press 520ms var(--ease-out); }
  .hero__play.is-launching::before { animation: play-ring 620ms var(--ease-out); }
  .hero__play.is-launching::after { animation: play-ring 620ms var(--ease-out) 120ms; }
}
@keyframes play-breathe { 50% { box-shadow: 0 0 0 9px rgba(232, 196, 138, 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 196, 138, 0.35); } }
@keyframes play-press { 0% { transform: scale(1); } 35% { transform: scale(0.86); } 70% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes play-ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
/* The player grows out of the button that opened it */
.video-dialog.is-from-origin[open] { animation: dialog-grow 480ms var(--ease-out); transform-origin: var(--ox, 50%) var(--oy, 50%); }
@keyframes dialog-grow { from { opacity: 0; transform: scale(0.12); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* The one authored moment: the title materializes out of the dark on load */
@media (prefers-reduced-motion: no-preference) {
  .hero__subtitle, .hero__lede, .hero__facts, .hero__actions {
    animation: rise 1100ms var(--ease-out) both;
  }
  .hero__title-glow { animation: summon 2200ms var(--ease-out) 250ms both; }
  .hero__subtitle { animation-delay: 1500ms; }
  .hero__lede { animation-delay: 1850ms; }
  .hero__facts { animation-delay: 1950ms; }
  .hero__actions { animation-delay: 2100ms; }
}
@keyframes summon {   /* transform + blur only: no per-frame layout */
  0% { opacity: 0; filter: blur(18px); transform: scale(1.14); }
  55% { opacity: 0.7; filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
/* Failing gaslight: long steady burn, then a stutter */
@keyframes gaslight {
  0%, 88%, 100% { opacity: 1; }
  89% { opacity: 0.55; }
  89.6% { opacity: 1; }
  90.4% { opacity: 0.35; }
  91.2% { opacity: 0.9; }
  92% { opacity: 0.6; }
  93% { opacity: 1; }
}

/* ==========================================================================
   4 + 10. Marquee bands
   ========================================================================== */
.marquee {
  position: relative; z-index: 2;
  background: var(--oxblood);
  border-block: 1px solid rgba(201, 171, 129, 0.4);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  margin-inline: -2vw;
}
.marquee--tilt { transform: rotate(-1.6deg); margin-block: -1.5rem 0; }
.marquee--tilt-reverse { transform: rotate(1.4deg); }
.marquee__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.marquee__track--reverse { animation-direction: reverse; animation-duration: 80s; }
.marquee__list { display: flex; flex: none; }
.marquee__list li {
  display: flex; align-items: center; gap: 2.2rem; padding: 1.05rem 0 1.05rem 2.2rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 0.9rem + 1vw, 1.7rem);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
.marquee__list li::after { content: "✦"; font-size: 0.7em; color: var(--candle); opacity: 0.85; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Band 1: aged gold tape with torn, burnt edges (see _source/build_tape.py).
   The texture rides on the track so it scrolls with the words; main.js sizes the tile so
   it divides the list width exactly, keeping the loop seamless. */
.marquee--tape {
  background: none; border: 0; box-shadow: none;
  overflow: visible;                       /* the torn edges and shadow spill past the band; <main> clips the sides */
  margin-block: -1.1rem 0.4rem;
  z-index: calc(var(--z-texture) + 1);    /* above the vignette + grain: on this light surface they rendered as a hard grey patch */
}
.marquee--tape::before {                   /* cast shadow under the tape (static, rasterised once) */
  content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 80%; z-index: -1;
  background: rgba(0, 0, 0, 0.6); filter: blur(16px);
}
.marquee--tape .marquee__track { background: url("../img/marquee-tape.webp") repeat-x left center / auto 100%; }
.marquee--tape .marquee__list li {
  gap: 2rem; padding: 1.4rem 0 1.4rem 2rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 0.9rem + 1vw, 1.7rem);
  letter-spacing: 0.1em; color: #20170d;
  text-shadow: 0 1px 0 rgba(255, 238, 205, 0.28);   /* faint letterpress */
}
.marquee--tape .marquee__list li::after {  /* black four-point star */
  content: ""; width: 0.82em; height: 0.82em; opacity: 1;
  background: #1a120a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 8 3.8 11 12 12-8.2 1-11 4-12 12-1-8-3.8-11-12-12 8.2-1 11-4 12-12z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c1 8 3.8 11 12 12-8.2 1-11 4-12 12-1-8-3.8-11-12-12 8.2-1 11-4 12-12z'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==========================================================================
   5. Intro
   ========================================================================== */
.intro { overflow: hidden; }
.intro .fog { opacity: 0.8; }
.intro__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
.intro__copy > p:not(.lede) { color: var(--text-soft); max-width: 36rem; }
.intro__copy .lede { max-width: 30rem; }
.intro__title-line { display: block; }          /* heading sits on two lines: lead-in, then the question */
.intro__cta { margin: 0; }
.features { display: grid; gap: 1.5rem; margin: 0 0 2.2rem; max-width: 34rem; }
.feature { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; row-gap: 0.3rem; align-items: baseline; }
.feature__icon { grid-row: 1 / 3; align-self: start; width: 1.35em; height: 1.35em; margin-top: 0.05em; color: var(--gold); }
.feature__title {
  font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}
.feature__text { margin: 0; color: var(--text-soft); font-size: 1.12rem; line-height: 1.5; }

.trailer { margin: 0; display: grid; gap: 0.8rem; }
.trailer__frame {
  position: relative; padding: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(201, 171, 129, 0.16), rgba(201, 171, 129, 0.02));
}
.trailer__frame::before {  /* inner deco rule */
  content: ""; position: absolute; inset: 4px; border: 1px solid rgba(201, 171, 129, 0.22); pointer-events: none;
}
.trailer__frame::after {   /* flickering lamp glow behind the frame */
  content: ""; position: absolute; inset: -18px; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(232, 196, 138, 0.22), transparent 70%);
  animation: candle 6.5s ease-in-out infinite;
}
.trailer__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: sepia(0.25) brightness(0.85); }
.trailer .caption { text-align: right; }

.play {
  position: absolute; left: 50%; top: 50%;
  width: 4.6rem; height: 4.6rem; margin: -2.3rem 0 0 -2.3rem;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--candle);
  background: rgba(74, 15, 20, 0.82); color: var(--candle);
  transition: transform 220ms var(--ease-out), background-color 220ms ease;
}
.play .icon { width: 1.5rem; height: 1.5rem; margin-left: 3px; }
.play::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(232, 196, 138, 0.35);
  animation: candle 4s ease-in-out infinite;
}
.play:hover { background: var(--oxblood); transform: scale(1.06); }
.play:active { transform: scale(0.97); }
.play--sm { width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; pointer-events: none; }
.play--sm .icon { width: 1.1rem; height: 1.1rem; }

.reels { display: grid; gap: 2rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.reel {
  display: grid; gap: 0.9rem; width: 100%; padding: 0; text-align: center;
  background: none; border: 0;
}
.reel__photo {   /* aged photographic print: cream mat, worn toward the edges, clean around the photo */
  --wx: 12%; --wy: 88%;                               /* where this card's heaviest wear sits */
  position: relative; display: block; isolation: isolate;
  padding: 10px 10px 12px;
  background:
    radial-gradient(ellipse 30% 22% at var(--wx) var(--wy), rgba(92, 58, 24, 0.28), transparent 70%),        /* stain */
    radial-gradient(ellipse 18% 14% at calc(100% - var(--wx)) 8%, rgba(70, 44, 18, 0.22), transparent 70%),  /* faded spot */
    radial-gradient(circle at 0 0, rgba(50, 30, 10, 0.55), transparent 16%),                                  /* worn corners */
    radial-gradient(circle at 100% 100%, rgba(50, 30, 10, 0.5), transparent 15%),
    radial-gradient(circle at 100% 0, rgba(50, 30, 10, 0.18), transparent 12%),
    radial-gradient(circle at 0 100%, rgba(50, 30, 10, 0.22), transparent 14%),
    #d9ccb0 url("../img/parchment-texture.webp");
  box-shadow:
    inset 0 0 0 1px rgba(60, 38, 14, 0.25),          /* slightly darkened cut edge */
    inset 0 0 12px 2px rgba(70, 44, 16, 0.5),         /* edges yellowed with age */
    0 18px 34px -16px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: rotate(var(--tilt, -1deg));
  transition: transform 450ms var(--ease-out), box-shadow 450ms ease;
}
.reel__photo::before {   /* grain, dust and grime, faded out toward the photo */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .1 0 0 0 0 .04 0 0 0 1.6 -.72'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") var(--gx, 0) var(--gy, 0) / 160px 160px;
  opacity: 0.95;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 58%, #000 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 58%, #000 100%);
}
.reel__photo::after {    /* a few fine scratches on the border */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(104deg, transparent 49.6%, rgba(255, 250, 235, 0.35) 49.8%, transparent 50.1%) 0 0 / 60% 22% no-repeat,
    linear-gradient(81deg, transparent 49.7%, rgba(60, 38, 14, 0.25) 49.85%, transparent 50%) 100% 100% / 45% 30% no-repeat,
    linear-gradient(8deg, transparent 49.7%, rgba(60, 38, 14, 0.18) 49.85%, transparent 50%) 0 60% / 12% 50% no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 55%, #000 90%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, transparent 55%, #000 90%);
}
.reel__photo img { position: relative; z-index: 1; }
.reels li:nth-child(2) .reel__photo { --tilt: 0.8deg; --wx: 86%; --wy: 84%; --gx: 53px; --gy: 17px; }
.reels li:nth-child(3) .reel__photo { --tilt: -0.5deg; --wx: 20%; --wy: 12%; --gx: 101px; --gy: 71px; }
.reel__photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; filter: sepia(0.7) contrast(1.05) brightness(0.9); transition: filter 500ms ease; }
.reel:hover .reel__photo, .reel:focus-visible .reel__photo { transform: rotate(0deg) translateY(-4px); box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.95), 0 0 30px -8px rgba(232, 196, 138, 0.3); }
.reel:hover .reel__photo img { filter: sepia(0.2) contrast(1.05) brightness(1); }
.reel:focus-visible { outline: none; }
.reel:focus-visible .reel__photo { outline: 2px solid var(--candle); outline-offset: 4px; }
.reel { cursor: zoom-in; }
.reel__caption { font-size: 1rem; color: var(--parchment); }

/* ==========================================================================
   6. Venue strip (the only parchment surface)
   ========================================================================== */
/* The paper is a separate layer cut by an inline SVG clip path (#venue-tear), so the dark page shows
   through the rips. A slightly larger pale layer behind it (#venue-tear-fiber) is the torn fibre rim,
   and the drop-shadow on the section follows the torn outline. */
.venue {
  position: relative; isolation: isolate; color: var(--ink);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  filter: drop-shadow(0 6px 9px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}
.venue__clips { position: absolute; width: 0; height: 0; }
.venue__paper, .venue__fiber { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.venue__fiber {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 250, 238, 0.95), rgba(236, 226, 206, 0.85) 30%, rgba(255, 250, 238, 0.95) 55%, rgba(226, 214, 190, 0.8) 80%, rgba(255, 250, 238, 0.95));
  clip-path: url(#venue-tear-fiber);
}
.venue__paper {
  background: var(--parchment) url("../img/parchment-texture.webp");
  box-shadow: inset 0 0 120px rgba(94, 58, 22, 0.35);
  clip-path: url(#venue-tear);
}
.venue__inner { text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.venue__kicker { font-style: italic; color: var(--oxblood); font-size: 1.15rem; margin: 0; }
.venue__title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.8rem, 1.1rem + 2.8vw, 3rem); line-height: 1.12;
  max-width: 22ch;
}
.venue__title strong { font-weight: 700; }
.venue__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.5rem 3rem; margin-top: 1.6rem;
}
.venue__logos li { display: grid; place-items: center; min-height: 3.5rem; }
.venue__logos img { width: 118px; filter: sepia(1) saturate(0.9) brightness(0.45) contrast(1.2); }
.mark { color: #4b3a22; filter: sepia(0.4); }
.mark--serif { font-family: var(--f-display); font-size: 1.55rem; font-weight: 500; letter-spacing: 0.06em; }
.mark--stack { display: grid; line-height: 1; text-align: center; }
.mark--stack b { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mark--stack small { font-family: var(--f-display); font-size: 0.66rem; letter-spacing: 0.5em; text-transform: uppercase; margin-top: 0.3rem; }
.mark--rating { display: grid; justify-items: center; gap: 0.2rem; font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.mark__stars { font-size: 1.1rem; letter-spacing: 0.2em; color: #7a5b2c; }

/* ==========================================================================
   6b. About Ghost Stories: curtain reveal
   Layers, back to front: stage photo (chair, right) -> copy (left) -> velvet curtains (top).
   The curtains are open by default; main.js adds .is-armed and drives them from scroll, so
   without JS or with reduced motion the stage simply shows open. Fully open, each curtain
   stays gathered as a narrow drape at its edge (--drape) framing the stage.
   ========================================================================== */
.about-stage {
  --stage-h: clamp(620px, 48vw, 920px);
  --drape: 6vw;                                  /* visible width of each gathered curtain when open */
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--stage-h);
  display: flex; align-items: center;
  padding-block: calc(var(--stage-h) * 0.12);
  background: #060a0b;
}
.about-stage__scene { position: absolute; inset: 0; z-index: 0; }
.about-stage__scene::before {   /* candlelight atmosphere around the chair */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 20% 34% at 70% 70%, rgba(232, 160, 80, 0.14), transparent 70%),     /* candle haze around the chair */
    radial-gradient(ellipse 12% 16% at 84% 40%, rgba(255, 180, 90, 0.08), transparent 70%),     /* distant candle */
    radial-gradient(ellipse 18% 70% at 100% 50%, rgba(140, 20, 26, 0.3), transparent 75%),     /* red velvet glow off the right drape */
    radial-gradient(ellipse 14% 70% at 0% 50%, rgba(140, 20, 26, 0.18), transparent 75%),
    radial-gradient(ellipse 40% 55% at 70% 45%, rgba(110, 18, 22, 0.16), transparent 75%);
  z-index: 1;
}
.about-stage__chair {   /* chair on the right, legs near the floor line */
  position: absolute; bottom: -1%; left: 70%;
  height: 130%; width: auto; max-width: none;
  transform: translateX(-51%);
  -webkit-mask-image: radial-gradient(ellipse 48% 60% at 51% 62%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 48% 60% at 51% 62%, #000 55%, transparent 100%);
}
.about-stage__scene::after {   /* keep the left dark for the copy, fade the floor into the page */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 10, 11, 0.6) 0%, transparent 45%),
    linear-gradient(180deg, #060a0b 0%, transparent 24%, transparent 82%, var(--bg) 100%);   /* continues the hero's dark at the top; into the page colour at the bottom */
}

.about-stage__inner { position: relative; z-index: 1; }
.about-stage__content {
  width: min(100%, 34rem, 54%);
  /* start clear of the left drape, whatever the container's own margin is */
  margin-left: max(0px, calc(var(--drape) + 1.5rem - (100vw - min(100vw - 2 * var(--gutter), var(--container))) / 2));
  text-align: left;
}
.about-stage__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.05;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
@media (min-width: 1024px) { .about-stage__title { white-space: nowrap; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); } }
.about-stage__copy {
  margin: 0 0 1.8rem;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.02rem, 0.95rem + 0.25vw, 1.15rem); line-height: 1.65;
  color: var(--text-faint);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.about-stage__copy::first-letter {   /* italic drop cap */
  float: left; margin: 0.05em 0.12em 0 0;
  font-family: var(--f-body); font-style: italic; font-weight: 500;
  font-size: 3.6em; line-height: 0.8; color: var(--gold);
}
.about-stage__lead { color: var(--parchment); font-weight: 500; }
.about-stage__cta { margin: 0; }

/* Curtains: the top layer, so they pass in front of the copy while opening */
.about-stage__curtain {
  position: absolute; top: -1%; bottom: -1%; width: 52%; z-index: 2;
  display: none; pointer-events: none;
  background: url("../img/about-curtain-panel.webp") center / auto 100% repeat-x, #3a070b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 1.6 C22 0.2 48 2.4 72 0.9 S94 1.8 100 0.6 L100 97.6 C84 99.6 64 97.4 42 99.2 S12 98 0 99.4 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat, linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.35) 7%, rgba(0, 0, 0, 0.8) 14%, #000 22%, #000 97%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 1.6 C22 0.2 48 2.4 72 0.9 S94 1.8 100 0.6 L100 97.6 C84 99.6 64 97.4 42 99.2 S12 98 0 99.4 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat intersect, linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.35) 7%, rgba(0, 0, 0, 0.8) 14%, #000 22%, #000 97%, transparent 100%);
  filter: brightness(1.4) saturate(1.1);   /* static: keeps the gathered folds reading as lit velvet */
  will-change: transform;
}
.about-stage.is-armed .about-stage__curtain { display: block; }
.about-stage__curtain--left { left: 0; transform-origin: 0 0; }
.about-stage__curtain--right { right: 0; transform-origin: 100% 0; }
.about-stage__curtain::before {   /* fabric shading: sheen on the folds, heavier at the top, dark at the leading edge */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 16%, transparent 80%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(255, 70, 60, 0.07) 55%, rgba(0, 0, 0, 0.12) 82%, rgba(0, 0, 0, 0.7) 100%);
}
.about-stage__curtain--right::before { transform: scaleX(-1); }   /* its leading edge is on the left */

/* Reveal steps: set by main.js as the curtains pass ~40%, ~50% and ~62% open */
.about-stage.is-armed [data-stage-step] {
  opacity: 0; transform: translateY(14px);
  transition: opacity 1100ms var(--ease-out), transform 1300ms var(--ease-out);
}
.about-stage.is-armed [data-stage-step].is-shown { opacity: 1; transform: none; }

@media (min-width: 768px) and (max-width: 1023.98px) { .about-stage__chair { left: 76%; } }   /* tablets: more room between copy and chair */
@media (max-width: 767.98px) {   /* phones: every call-to-action button centred */
  .intro__cta, .about-stage__cta { text-align: center; }
  .intro__cta .btn, .about-stage__cta .btn { margin-left: 0 !important; }
  .medium__copy > .btn { display: flex; width: fit-content; margin-inline: auto; }
  .showtime__cta { justify-self: center; }
}
@media (max-width: 767.98px) {   /* phones: copy first, then the stage; curtains still frame the whole section */
  .about-stage { --drape: 16px; display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: clamp(3.5rem, 12vw, 5rem) 0 0; }
  .about-stage__inner { order: 1; padding-inline: calc(var(--drape) + 0.5rem); }
  .about-stage__scene { order: 2; position: relative; inset: auto; aspect-ratio: 1 / 1; margin-top: 1.5rem;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); }   /* glows fade in, no top edge */
  .about-stage__content { margin-left: 0; width: 100%; }
  .about-stage__chair { left: 55%; height: 125%; }
  .about-stage.is-armed [data-stage-step] { transform: translateY(12px); transition-duration: 700ms, 800ms; }
  .about-stage.is-armed [data-stage-step="2"] { transition-delay: 140ms; }
  .about-stage.is-armed [data-stage-step="3"] { transition-delay: 280ms; }
}

/* ==========================================================================
   7. Featured testimonial (over the 1923 bar)
   ========================================================================== */
.seance-quote {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 50%, #5a141a 0%, var(--oxblood) 45%, var(--oxblood-deep) 100%);
  padding-block: clamp(5rem, 11vw, 8.5rem);
  text-align: center;
}
/* The bar itself, at 40% over the oxblood: the red underneath keeps the section's colour */
.seance-quote__bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.2;
}
.seance-quote__inner { display: grid; justify-items: center; gap: 1.6rem; }
.seance-quote__planchette { width: 2.6rem; height: 2.6rem; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.3; }
.seance-quote__text { margin: 0; max-width: 46rem; }
.seance-quote__text p {
  font-family: var(--f-type);
  font-size: clamp(1.45rem, 1rem + 2.1vw, 2.5rem);
  line-height: 1.35; color: var(--parchment); margin: 0;
  min-height: 2.7em;
}
.spell-char { opacity: 0; }
.spell-char.is-on { opacity: 1; transition: opacity 260ms ease, text-shadow 900ms ease; text-shadow: 0 0 18px rgba(232, 196, 138, 0.8); }
.spell-char.is-settled { text-shadow: none; }
.seance-quote__who { font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 0; }

/* ==========================================================================
   8. Choose your encounter (zig-zag)
   ========================================================================== */
.encounter { display: grid; gap: 2rem; align-items: center; }
.encounter + .encounter { margin-top: clamp(4rem, 8vw, 6.5rem); }
.encounter__copy > p { color: var(--text-soft); margin-top: 1.1rem; max-width: 34rem; }
.encounter .candle-list { margin-top: 1.4rem; }

/* Tarot-card frame: outer gold rule, inner rule, corner lozenges */
.tarot {
  position: relative; padding: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
}
.tarot::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(201, 171, 129, 0.25); pointer-events: none; z-index: 1;
}
.tarot::after {
  content: ""; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) top left / 10px 10px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) top right / 10px 10px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) bottom left / 10px 10px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--gold) 42% 58%, transparent 58%) bottom right / 10px 10px no-repeat;
}
.tarot img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; filter: saturate(0.9); }

/* Torn-edge photo: the picture shows through a ragged hole ripped in the dark page, with ink
   splatter breaking the edge. No frame or border: the shape is an SVG mask. The drop-shadow sits
   on the wrapper so it follows the torn outline and lifts the page edge slightly off the photo. */
.torn-photo {
  position: relative;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75));
}
.torn-photo::before {   /* torn paper fibres: a faint pale fringe peeking just outside the rip */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(233, 223, 201, 0.16);
  -webkit-mask: url("../img/torn-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/torn-mask.svg") center / 100% 100% no-repeat;
  transform: scale(1.018);
}
.torn-photo img {
  position: relative;
  width: 100%; aspect-ratio: 6 / 5; object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  -webkit-mask: url("../img/torn-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/torn-mask.svg") center / 100% 100% no-repeat;
}
@media (max-width: 1023.98px) {
  .torn-photo { margin-bottom: -12%; }   /* the bottom of the tear is empty page: close the gap to the heading */
}
@media (min-width: 1024px) {
  .torn-photo { transform: scale(1.08); transform-origin: right center; }   /* let the tear breathe into the gutter */
}

/* ==========================================================================
   9. Meet your medium
   ========================================================================== */
.medium {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section-y) 0;
  background:
    radial-gradient(ellipse 55% 60% at 22% 60%, rgba(232, 196, 138, 0.13), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, #16100c 100%);
  border-top: 1px solid rgba(201, 171, 129, 0.12);
}
.medium .fog { z-index: -1; }
.medium__grid { display: grid; gap: 2.5rem; align-items: end; }
.medium__portrait { position: relative; order: 2; justify-self: center; width: min(100%, 420px); }
.medium__portrait::before {  /* candle halo behind the cut-out */
  content: ""; position: absolute; inset: 12% -10% 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(232, 196, 138, 0.3), transparent 65%);
  animation: candle 7s ease-in-out infinite;
}
.medium__portrait img { width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.medium__copy { padding-bottom: 0; }
.medium__copy .eyebrow { margin-top: 1.1rem; }
.medium__copy .divider { margin: 1.2rem 0 1.8rem; }
.medium__copy > p:not(.eyebrow) { color: var(--text-soft); max-width: 36rem; }
.medium__note { color: var(--parchment) !important; }
.medium__note em { color: var(--candle); font-style: italic; }
.medium__copy .btn { margin-top: 1rem; }
.h2--left { text-align: left; }
.medium__logo { margin: 0; }
.medium__logo img { width: min(100%, 19rem); height: auto; }

/* ==========================================================================
   11. Witness accounts
   ========================================================================== */
.witnesses { padding-top: calc(var(--section-y) + 1rem); }
.case-files { display: grid; gap: 2rem; grid-auto-rows: 1fr; }   /* every card the height of the tallest */
.case-file {   /* aged parchment card, laid out like a Google review */
  position: relative; display: flex; flex-direction: column;
  padding: 1.25rem 1.3rem 1rem;
  color: #2a241b;
  background: #e4d7ba url("../img/parchment-texture.webp");
  box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.35);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 500ms var(--ease-out);
}
.case-file:nth-child(3n+1) { --tilt: -0.5deg; }
.case-file:nth-child(3n) { --tilt: 0.4deg; }
.stars { display: inline-flex; gap: 2px; }   /* Google's own star: plain yellow, small */
.stars svg { width: 20px; height: 20px; fill: #fbbc04; }
.review__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__avatar--letter { display: grid; place-items: center; background: #0f8574; color: #fff; font: 500 1.4rem/1 "Roboto", "Segoe UI", Arial, sans-serif; }
.review__who { margin: 0; display: grid; font-family: "Roboto", "Segoe UI", Arial, sans-serif; line-height: 1.25; }
.review__who b { font-size: 1.08rem; font-weight: 600; color: #202124; }
.review__who span { font-size: 0.9rem; color: #5f6368; }
.review__kebab { width: 22px; height: 22px; fill: #3c4043; }
.review__rating { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.5rem; font-family: "Roboto", "Segoe UI", Arial, sans-serif; font-size: 0.95rem; color: #5f6368; }
.review { margin: 0 0 1rem; }
.review__text {
  margin: 0; font-family: "Roboto", "Segoe UI", Arial, sans-serif; font-size: 1.02rem; line-height: 1.5; color: #3c4043; font-weight: 400;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
  min-height: calc(1.5em * 6);                    /* every card reserves the same text height */
}
.review.is-open .review__text { display: block; -webkit-line-clamp: none; line-clamp: none; }
.review__more {
  margin-top: 0.35rem; padding: 0.2rem 0; background: none; border: 0;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif; font-size: 0.92rem; font-weight: 500; color: #1a5fb4;
}
.review__more:hover { text-decoration: underline; }
.review__more[data-off] { visibility: hidden; }   /* keeps its line, so photos and controls align across cards */
.review__more:focus-visible { outline-color: #1a5fb4; }
.review__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 1rem; }
.review__photos:empty { display: none; }
.review__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.review__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 400ms var(--ease-out); }
.review__photo:hover img { transform: scale(1.05); }
.review__photo:focus-visible { outline: 2px solid #1a5fb4; outline-offset: 2px; }
.review__more-photos { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); color: #fff; font: 500 1.3rem "Roboto", Arial, sans-serif; }
.review__actions {   /* Google-style controls */
  display: flex; align-items: center; gap: 1.1rem; margin-top: auto; padding-top: 0.9rem;
  border-top: 1px dashed rgba(42, 36, 27, 0.35);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif; font-size: 0.95rem; font-weight: 400; color: #3c4043;
}
.review__actions svg { width: 18px; height: 18px; }
.review__like, .review__share {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.25rem; padding: 0 0.2rem;
  background: none; border: 0; color: inherit; font: inherit;
}
.review__like svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.review__like[aria-pressed="true"] svg { fill: #d93025; stroke: #d93025; }
.review__hearts { display: inline-flex; align-items: center; gap: 0.35rem; }
.review__hearts svg { fill: #d93025; }
.review__share svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.review__like:hover, .review__share:hover { color: #000; }
.witnesses__more { text-align: center; margin-top: 2.6rem; font-size: 1.1rem; }

/* ==========================================================================
   12. Gallery (spirit photography)
   ========================================================================== */
.plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.plate {
  --develop: 700ms;
  position: relative; overflow: hidden;
  border: 1px solid rgba(201, 171, 129, 0.2);
  background: #000;
}
.plate__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.plate__open:focus-visible { outline: 2px solid var(--candle); outline-offset: -4px; }
.plate__open > img:first-child {
  width: 100%; height: auto; aspect-ratio: 1;   /* photos are square: shown whole, never cropped */
  filter: sepia(0.85) saturate(0.7) contrast(1.05) brightness(0.82);
  transition: filter var(--develop) ease, transform 1400ms var(--ease-out);
}
.plate::after {  /* double exposure: the same plate, offset and ghosted */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: center / cover no-repeat;   /* image attached on hover only, so it never loads early */
  mix-blend-mode: screen; filter: grayscale(1) blur(1px);
  opacity: 0; transform: translate(14px, -8px) scale(1.06);
  transition: opacity 900ms ease, transform 1600ms var(--ease-out);
}
.plate__visitor {  /* the figure that isn't in the original photo */
  position: absolute; bottom: -4%; left: 50%; width: 42%;
  transform: translateX(-30%) scale(1.05);
  mix-blend-mode: screen; filter: grayscale(1) brightness(1.4) blur(1.5px);
  opacity: 0; pointer-events: none;
  transition: opacity 1800ms ease 400ms, transform 2600ms var(--ease-out) 400ms;
}
@media (hover: hover) and (pointer: fine) {
  .plate:hover .plate__open > img:first-child { filter: sepia(0) saturate(1) contrast(1) brightness(1); transform: scale(1.02); }
  .plate:hover::after { background-image: var(--src); opacity: 0.2; transform: translate(9px, -5px) scale(1.04); }
  .plate--visitor:hover .plate__visitor { opacity: 0.2; transform: translateX(-38%) scale(1); }
}
.gallery .center { margin-top: 2.8rem; }

/* ==========================================================================
   12b. Showtimes: a theatrical schedule. The portrait photo sits behind the
   right/middle of the rows and dissolves into the dark on every side.
   ========================================================================== */
.showtimes { position: relative; isolation: isolate; overflow: hidden; background: #070c0d; }
.showtimes .fog { z-index: -1; }
.showtimes__media {
  position: absolute; z-index: -2; top: 0; bottom: 0; right: 4%; width: min(52%, 760px);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 55% 48%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 55% 48%, #000 35%, transparent 100%);
}
.showtimes__media img {
  width: 100%; height: 118%; margin-top: -9%;             /* room for the slow drift */
  object-fit: cover; object-position: 50% 40%;
  filter: brightness(0.62) saturate(0.85) sepia(0.15);
}
.showtimes__media::after {   /* burgundy haze + a long fade toward the copy on the left */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 55%, rgba(74, 15, 20, 0.25), transparent 70%),
    linear-gradient(90deg, #070c0d 0%, rgba(7, 12, 13, 0.55) 30%, transparent 60%);
}
.showtimes__inner { position: relative; }
.showtimes__head { max-width: 36rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.showtimes__title { font-weight: 700; letter-spacing: 0.06em; }
.showtimes__head .divider { margin: 1.1rem 0 1.4rem; }
.showtimes__intro { color: var(--text-soft); font-size: 1.14rem; line-height: 1.65; margin: 0; }

.showtimes__list { display: grid; grid-auto-rows: 1fr; border-top: 1px solid var(--line); }   /* rows always equal height */
.showtime {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2.5rem;
  min-height: 11rem; padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.showtime__info { max-width: 34rem; }
.showtime__day {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: 0.08em; line-height: 1; color: var(--parchment);
}
.showtime__time {
  margin: 0.55rem 0 0.7rem; font-family: var(--f-type); font-size: 1.15rem; letter-spacing: 0.12em; color: var(--gold);
}
.showtime__desc { margin: 0; color: var(--text-soft); font-size: 1.08rem; line-height: 1.55; }
.showtime__cta { justify-self: end; }

/* Reveal (set by main.js when the section enters the viewport) */
.showtimes.is-armed [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 1200ms var(--ease-out) var(--d, 0ms), transform 1400ms var(--ease-out) var(--d, 0ms);
}
.showtimes.is-armed .showtimes__media { opacity: 0; transition: opacity 2400ms ease 200ms; }
.showtimes.is-armed.is-shown [data-reveal] { opacity: 1; transform: none; }
.showtimes.is-armed.is-shown .showtimes__media { opacity: 1; }
/* Very slow drift, tied to scroll where the browser supports it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .showtimes__media img { animation: showtimes-drift linear both; animation-timeline: view(); }
    @keyframes showtimes-drift { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
  }
}

@media (max-width: 767.98px) {
  .showtimes__media { right: -20%; width: 110%; opacity: 0.8; }
  .showtimes__media::after { background: radial-gradient(ellipse at 60% 50%, rgba(74, 15, 20, 0.2), transparent 70%), linear-gradient(90deg, rgba(7, 12, 13, 0.6), rgba(7, 12, 13, 0.35)); }
  .showtime { grid-template-columns: 1fr; min-height: 0; padding: 1.6rem 0; }
  .showtime__cta { justify-self: center; }
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.faq__panel {
  max-width: 68rem; margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 5vw, 3.75rem);
  background: var(--bg-2); border: 1px solid rgba(201, 171, 129, 0.18); border-radius: 6px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.faq__panel .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.faq__list { display: grid; gap: 0.7rem; }
.faq__more { text-align: center; margin: 2.6rem 0 0; }
.qa {
  border: 1px solid rgba(201, 171, 129, 0.12); border-radius: 3px;
  background: #0d1618;
  transition: border-color 400ms ease, background-color 400ms ease;
}
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--parchment);
  transition: color 200ms ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { color: var(--gold); flex: none; transition: transform 400ms var(--ease-out); }
.qa summary:hover { color: var(--candle); }
.qa:hover { border-color: rgba(201, 171, 129, 0.4); }
.qa[open] { border-color: rgba(201, 171, 129, 0.4); }
.qa[open] summary { color: var(--candle); }
.qa[open] summary .icon { transform: rotate(180deg); }
.qa__body { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }
.qa__body p { margin: 0; max-width: 62ch; }
/* Slow candle-glow open, where the browser can animate <details> content */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .qa::details-content {
    height: 0; overflow: clip; opacity: 0;
    transition: height 600ms var(--ease-out), opacity 700ms ease, content-visibility 600ms allow-discrete;
  }
  .qa[open]::details-content { height: auto; opacity: 1; }
}

/* ==========================================================================
   14. Summon us (booking form)
   ========================================================================== */
.summon { overflow: hidden; isolation: isolate; border-top: 1px solid rgba(201, 171, 129, 0.12); }
.summon__bg { position: absolute; inset: 0; z-index: -2; }
.summon__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: blur(2px) sepia(0.4); }
.summon__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 19, 21, 0.75) 50%, var(--bg) 100%); }
.summon .fog { z-index: -1; }
.summon__grid { display: grid; gap: 3rem; align-items: start; }
.summon__copy .eyebrow { margin-top: 1rem; }
.summon__copy .divider { margin: 1.2rem 0 1.8rem; }
.summon__copy .candle-list { margin-bottom: 2.2rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.contact-list dt { font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.contact-list dd { margin: 0.15rem 0 0; color: var(--parchment); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--candle); text-decoration: underline; }

.form-card {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: rgba(17, 28, 31, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.95);
}
.form__grid { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--f-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--parchment); }
.optional { color: var(--text-faint); letter-spacing: 0.1em; }
input, select, textarea {
  width: 100%; min-height: 3rem;
  padding: 0.75rem 0.9rem;
  font: 500 1.08rem/1.4 var(--f-body);
  color: var(--parchment);
  background: rgba(11, 19, 21, 0.8);
  border: 1px solid rgba(201, 171, 129, 0.32);
  border-radius: 1px;
  transition: border-color 200ms ease, box-shadow 300ms ease, background-color 200ms ease;
}
input::placeholder, textarea::placeholder { color: rgba(233, 223, 201, 0.55); }
input:hover, select:hover, textarea:hover { border-color: rgba(201, 171, 129, 0.55); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--candle);
  box-shadow: 0 0 0 1px var(--candle), 0 0 22px -6px rgba(232, 196, 138, 0.55);
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #e39a8f; }
input[type="date"] { color-scheme: dark; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(78%) sepia(24%) saturate(520%) hue-rotate(354deg); cursor: pointer; }
textarea { resize: vertical; min-height: 7rem; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.6rem; cursor: pointer; }
.select select:invalid { color: rgba(233, 223, 201, 0.55); }
.select option { color: var(--parchment); background: var(--bg-2); }
.select .icon { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.field__error { margin: 0; font-family: var(--f-type); font-size: 0.86rem; color: #f0b3a8; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 0.95rem; line-height: 1.5; color: var(--text-faint); margin: 1.3rem 0 1.4rem; }
.form__legal a { color: var(--gold); }
.form__status { margin: 0.9rem 0 0; font-family: var(--f-type); font-size: 0.92rem; color: var(--candle); min-height: 1.2em; }
.form__status.is-error { color: #f0b3a8; }
.form-success { text-align: center; padding: 3rem 1rem; display: grid; justify-items: center; gap: 0.6rem; }
.form-success:focus { outline: none; }
.form-success__icon { width: 2.6rem; height: 2.6rem; color: var(--candle); animation: candle 3s ease-in-out infinite; }
.form-success__title { font-family: var(--f-type); font-size: 1.5rem; color: var(--gold); margin: 0; }

/* ==========================================================================
   15. Newsletter
   ========================================================================== */
.newsletter { background: var(--bg-2); border-block: 1px solid rgba(201, 171, 129, 0.12); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.newsletter__grid { display: grid; gap: 2rem; }
.newsletter__title { font-family: var(--f-display); font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 300; line-height: 1.05; text-transform: uppercase; }
.newsletter__title strong { font-weight: 700; display: block; }
.newsletter__copy { color: var(--text-soft); margin: 0.9rem 0 0; max-width: 26rem; }
.newsletter__row { display: grid; gap: 0.7rem; position: relative; }
.newsletter .form__legal { margin: 0.9rem 0 0; }
.newsletter .field__error { margin-top: 0.5rem; }

/* ==========================================================================
   16. Footer
   ========================================================================== */
.footer { padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: 1.05rem; }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); filter: grayscale(0.35) brightness(0.9); }
.footer__map-link { display: inline-block; margin-top: 0.6rem; font-size: 0.95rem; color: var(--gold); text-decoration: none; }
.footer__map-link:hover { color: var(--candle); text-decoration: underline; }
.footer__label { font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.footer__links, .footer__social { display: grid; gap: 0.55rem; color: var(--text-soft); }
.footer__links a, .footer__social a { text-decoration: none; transition: color 180ms ease; }
.footer__links a:hover, .footer__social a:hover { color: var(--candle); }
.footer__social a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer__bottom {
  display: grid; gap: 0.6rem; margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 171, 129, 0.16);
  font-size: 0.92rem; color: var(--text-faint);
}
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--candle); text-decoration: underline; }

/* Planchette easter egg */
.planchette { margin-top: 1.6rem; }
.planchette__btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  background: none; border: 0; color: rgba(201, 171, 129, 0.55);
  transition: color 1200ms ease;
}
.planchette__btn svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: currentColor; stroke-width: 1.2; }
.planchette.is-holding .planchette__btn { color: var(--candle); }
.planchette.is-holding .planchette__btn svg { animation: tremble 180ms steps(2) infinite; }
.planchette__secret { font-family: var(--f-type); font-size: 0.95rem; color: var(--candle); margin: 0.4rem 0 0; min-height: 1.4em; }
.planchette__secret.is-revealed { animation: rise 1400ms var(--ease-out) both; }
@keyframes tremble { 0% { transform: translate(0.4px, -0.3px) rotate(-1deg); } 100% { transform: translate(-0.4px, 0.3px) rotate(1deg); } }

/* ==========================================================================
   Video dialog
   ========================================================================== */
.video-dialog {
  width: min(100% - 2rem, 1100px); padding: 0; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--parchment);
}
.video-dialog::backdrop { background: rgba(5, 9, 10, 0.88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-dialog[open] { animation: dialog-in 320ms var(--ease-out); }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-dialog__title { font-family: var(--f-type); margin: 0; padding: 0.9rem 4rem 0.9rem 1.1rem; color: var(--gold); }
.video-dialog__close { position: absolute; top: 0.35rem; right: 0.35rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; background: none; border: 0; color: var(--gold); }
.video-dialog__close:hover { color: var(--candle); }
@keyframes dialog-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* Gallery lightbox: full photo, no captions */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent;
  place-items: center; touch-action: pan-y;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(5, 9, 10, 0.94); }
.lightbox__img {
  width: auto; height: auto; max-width: min(92vw, 1080px); max-height: 86dvh;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}
.lightbox[open] .lightbox__img { animation: dialog-in 260ms var(--ease-out); }
.lightbox__btn {
  position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem;
  background: rgba(11, 19, 21, 0.72); border: 1px solid var(--line); color: var(--gold);
  transition: color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}
.lightbox__btn:hover { color: var(--candle); border-color: var(--candle); }
.lightbox__btn:active { transform: scale(0.95); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -1.5rem; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev .icon { transform: rotate(90deg); }
.lightbox__next .icon { transform: rotate(-90deg); }
.lightbox[data-single] .lightbox__prev, .lightbox[data-single] .lightbox__next { display: none; }
@media (max-width: 699.98px) {
  .logo__title { font-size: 1.22rem; }
  .logo__sub { font-size: 0.5rem; }
  .logo--footer .logo__title { font-size: 1.45rem; }
  .logo--footer .logo__sub { font-size: 0.55rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.2rem; margin-top: 0; }
  .lightbox__prev { left: calc(50% - 3.6rem); }
  .lightbox__next { right: calc(50% - 3.6rem); }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding-block: clamp(3rem, 8vw, 6rem); }
.legal__head { text-align: center; display: grid; justify-items: center; gap: 1rem; margin-bottom: 3rem; }
.legal__body { max-width: 44rem; margin-inline: auto; color: var(--text-soft); }
.legal__body h2 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; color: var(--parchment); margin: 2.6rem 0 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.legal__body ul { list-style: none; margin: 0 0 1em; display: grid; gap: 0.4rem; }
.legal__body li { padding-left: 1.2rem; position: relative; }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.legal__body a { color: var(--gold); }
.legal__updated { font-family: var(--f-type); color: var(--gold); font-size: 0.95rem; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 699.98px) {
  .hero { --face-clear: calc(var(--hero-h) * 0.36 - 3.2rem); }   /* the play button now sits between the chin and the title */
  .hero__lede { font-size: 1.12rem; margin-bottom: 1.6rem; }
  .hero__facts { grid-auto-flow: row; grid-template-rows: none; text-align: center; margin-bottom: 1.8rem; font-size: 1rem; }
  .hero__facts li:nth-child(3) { margin-bottom: 0.9rem; }
}
@media (max-width: 699.98px) and (max-height: 660px) {   /* very short phones */
  .hero .hero__title { font-size: 2.6rem; }
  .hero .hero__facts { font-size: 0.9rem; line-height: 1.2; margin-bottom: 0.9rem; }
  .hero .hero__facts li:nth-child(3) { margin-bottom: 0.3rem; }
}
@media (max-width: 699.98px) and (max-height: 760px) {   /* short phones: keep Get Tickets on the first screen */
  .hero { --face-clear: calc(var(--hero-h) * 0.33 - 1.6rem); }
  .hero__play { width: 3rem; height: 3rem; margin-bottom: 0.6rem; }
  .hero__title { font-size: 2.9rem; margin-bottom: 0.5rem; }
  .hero__subtitle { margin-bottom: 0.9rem; }
  .hero__facts { font-size: 0.93rem; line-height: 1.3; row-gap: 0; margin-bottom: 1.2rem; }
  .hero__facts li:nth-child(3) { margin-bottom: 0.55rem; }
}
@media (min-width: 700px) and (max-height: 980px) {   /* common laptop heights: compact the stack so the facts and buttons fit */
  .hero__title { font-size: clamp(3.5rem, 7.2vw, 6.6rem); margin-bottom: 0.6rem; }
  .hero__subtitle { margin-bottom: 1.1rem; }
  .hero__lede { max-width: 50rem; line-height: 1.45; margin-bottom: 1.3rem; }
  .hero__facts { margin: -0.3rem 0 1.4rem; row-gap: 0.1rem; }
}
@media (min-width: 700px) and (max-height: 820px) {   /* short laptop screens: keep the buttons above the fold */
  .hero { --face-clear: calc(var(--hero-h) * 0.32); }
  .hero__title { font-size: clamp(3.5rem, 6.6vw, 6rem); }
  .hero__lede { font-size: 1.22rem; line-height: 1.5; margin-bottom: 1.6rem; }
  .hero__facts { margin-bottom: 1.6rem; font-size: 1rem; row-gap: 0.15rem; }
  .hero__subtitle { margin-bottom: 1.2rem; }
}
@media (min-width: 560px) {
  .utility__item--email { display: inline-flex; }
  .reels { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .newsletter__row { grid-template-columns: 1fr auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 768px) {
  .case-files { max-width: 34rem; margin-inline: auto; }
  .reels { gap: 2rem; }
}
@media (min-width: 1024px) {
  .case-files { grid-template-columns: repeat(3, 1fr); max-width: none; }   /* three per row */
  .nav__toggle { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__links {
    position: static; flex-direction: row; gap: clamp(1.1rem, 2.2vw, 2.1rem);
    background: none; opacity: 1; visibility: visible; transition: none;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em;
    margin-left: auto; margin-right: 1.8rem;
  }
  .nav__links a:not(.btn) { position: relative; padding: 0.4rem 0; color: var(--text-soft); transition: color 200ms ease; }
  .nav__links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
  }
  .nav__links a:not(.btn):hover, .nav__links a[aria-current="true"] { color: var(--parchment); }
  .nav__links a:not(.btn):hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
  .nav__menu-cta { display: none; }

  .intro__grid { grid-template-columns: 1fr 1.08fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .encounter { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .encounter--flip .tarot { order: 2; }
  .medium__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
  .medium__portrait { order: 0; width: 100%; align-self: end; }
  .medium__copy { padding-bottom: var(--section-y); }
  .plates { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .summon__grid { grid-template-columns: 0.95fr 1.05fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .newsletter__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: 4rem; }
  .footer__grid { grid-template-columns: 1.2fr 0.8fr 1.1fr 1.5fr; }
}
@media (hover: hover) and (pointer: fine) {
  .case-file:hover { transform: rotate(0deg) translateY(-4px); }
}

/* ==========================================================================
   Reduced motion: every ambient animation stops; state changes stay as fades
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  body::after { animation: none; }
  .fog span { animation: none; }
  .hero__title { animation: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee__list + .marquee__list { display: none; }
  .marquee__list { flex-wrap: wrap; justify-content: center; }
  .spell-char { opacity: 1; }
  .mat-pending { opacity: 1; }
  .qa, .plate__open > img:first-child, .plate::after, .reel__photo img { transition: opacity 200ms ease, filter 200ms ease, border-color 200ms ease !important; }
}
