/* ==========================================================================
   A Nightmare on Jumeirah Street
   Mobile first. The hero switches layout by screen shape (portrait vs
   landscape) so it always lines up with whichever backdrop image is showing.
   ========================================================================== */

/* ---------- Fonts ---------- */
/* Display faces are subset to the glyphs that actually have drawings.
   Anything else (digits, punctuation) falls through to the next font. */
@font-face {
  font-family: "Another Danger";
  src: url("../fonts/another-danger.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0020-0021, U+003F, U+0041-005A, U+0061-007A;
}
@font-face {
  font-family: "Friday13";
  src: url("../fonts/friday13.woff2") format("woff2");
  font-display: swap;
  /* Friday13 draws 4-9 as roman numerals, so only 0-3 are kept */
  unicode-range: U+0020-0021, U+0028-0029, U+002C, U+002E, U+0030-0033, U+003A-003B, U+003F, U+0041-005A, U+0061-007A;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  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;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #070403;
  --ink: #f3e9dc;
  --ink-soft: #cdbca6;
  --ink-mute: #a08f7b;
  --ember: #ff7b1c;
  --ember-hot: #ffb35c;
  --blood: #b9200f;
  --line: rgb(255 140 60 / .16);
  --line-hot: rgb(255 140 60 / .45);

  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-horror: "Friday13", "Another Danger", Impact, "Arial Narrow", sans-serif;
  --f-brush: "Another Danger", "Friday13", Impact, "Arial Narrow", sans-serif;

  --gutter: clamp(1rem, 5vw, 3rem);
  --maxw: 74rem;
  --radius: 18px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html.is-loading { overflow: hidden; }
/* Big screens: scale the whole rem-based layout up a notch */
@media (min-width: 1800px) and (min-height: 900px) { html { font-size: 112.5%; } }
@media (min-width: 2300px) and (min-height: 1200px) { html { font-size: 131.25%; } }

body {
  margin: 0;
  min-height: 100vh;
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Film grain over everything except the cursor glow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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 .85 0 0 0 0 .7 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember-hot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ember); color: #1a0802; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 120;
  padding: .6rem 1rem; border-radius: 999px;
  background: var(--ember); color: #1a0802; font-weight: 700; text-decoration: none;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* ---------- Type ---------- */
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.kicker svg { width: 2em; height: 1em; fill: currentColor; flex: none; }

.h2 {
  margin: 0 0 .35em;
  font-family: var(--f-brush);
  font-weight: 400;
  font-size: clamp(2.9rem, 1.7rem + 5.4vw, 6rem);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--ember);
  text-shadow: 0 0 30px rgb(255 100 20 / .35), 0 3px 0 rgb(0 0 0 / .55);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.lead mark {
  color: var(--ember-hot);
  background: linear-gradient(transparent 62%, rgb(255 123 28 / .28) 62%, rgb(255 123 28 / .28) 92%, transparent 92%);
  padding-left: .1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: .01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, color .25s, background-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn--primary {
  color: #1a0802;
  background: linear-gradient(180deg, #ffbd6e 0%, #ff7b1c 55%, #e0530b 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 225 180 / .6),
    0 10px 30px -10px rgb(255 100 20 / .75),
    0 0 42px -12px rgb(255 120 30 / .9);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgb(255 225 180 / .6),
    0 14px 34px -10px rgb(255 100 20 / .85),
    0 0 64px -8px rgb(255 120 30 / 1);
}
.btn--ghost {
  color: var(--ink);
  border-color: rgb(255 210 170 / .3);
  background: rgb(10 5 3 / .45);
}
.btn--ghost:hover { color: var(--ember-hot); border-color: var(--ember); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: .95rem 2rem; font-size: 1.08rem; }
.btn:active { transform: translateY(0) scale(.98); }

/* ==========================================================================
   Intro loader
   ========================================================================== */
.loader { display: none; }
.intro .loader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  cursor: pointer;
  /* Safety net: never let the intro outstay its welcome */
  animation: loader-failsafe .4s linear 10s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 52%, rgb(120 38 8 / .55), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, #1d0905 0%, #0b0504 60%, #050302 100%);
  transition: opacity .55s ease;
}
.loader__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .35rem;
  padding: var(--gutter);
  text-align: center;
  transition: opacity .9s ease, transform 1.4s var(--ease);
}
.loader__eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.loader__title {
  margin: 0;
  font-family: var(--f-brush);
  font-size: clamp(3.6rem, 17vw, 9rem);
  line-height: 1;
  color: var(--ember);
  text-shadow: 0 0 40px rgb(255 90 20 / .55);
  animation: flicker 5s linear infinite;
}
.loader__status {
  margin: .6rem 0 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  animation: breathe 1.8s ease-in-out infinite;
}
.loader__bats {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.loader__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: .75;
  transition: opacity .4s;
}
.loader.is-playing .loader__inner { opacity: 0; transform: scale(.9); }
.is-revealed .loader { pointer-events: none; cursor: auto; }
.is-revealed .loader__bg,
.is-revealed .loader__hint { opacity: 0; }
.loader.is-skipped { opacity: 0; transition: opacity .45s ease; }

@keyframes breathe { 50% { opacity: .35; } }

/* ==========================================================================
   Backdrop (fixed). The frame mimics object-fit: cover so the pumpkin glow
   can be pinned to the pumpkin at any screen size.
   ========================================================================== */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
}
.backdrop__frame {
  --ar: 1.7768;      /* 1672 / 941 */
  --fx: .72;         /* horizontal focus: keep the scarecrow in frame */
  --w: max(100cqw, 100cqh * var(--ar));
  position: absolute;
  width: var(--w);
  aspect-ratio: 1672 / 941;
  left: calc((100cqw - var(--w)) * var(--fx));
  top: calc((100cqh - var(--w) / var(--ar)) * .5);
}
.backdrop__frame img { width: 100%; height: 100%; max-width: none; }

/* Candle flicker over the jack-o'-lantern's face */
.backdrop__glow {
  position: absolute;
  left: 72%;
  top: 48%;
  width: 15%;
  aspect-ratio: 1 / 1.25;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 170 60 / .55), rgb(255 100 20 / .22) 50%, transparent 100%);
  mix-blend-mode: screen;
  opacity: .6;
  animation: candle 4.6s steps(1, end) infinite;
  transition: scale .6s var(--ease);
}
html:has(.btn--primary:hover) .backdrop__glow { scale: 1.25; animation-duration: 1.2s; }

.backdrop__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(7 4 3 / .6) 0%, rgb(7 4 3 / .15) 24%, transparent 50%, rgb(7 4 3 / .55) 72%, rgb(7 4 3 / .9) 100%);
}

@media (max-aspect-ratio: 1/1) {
  .backdrop__frame { --ar: .5622; --fx: .78; aspect-ratio: 940 / 1672; }
  .backdrop__glow { left: 72.6%; top: 48.9%; width: 30%; aspect-ratio: 1 / .85; }
}
@media (min-aspect-ratio: 1001/1000) {
  .backdrop__shade {
    background:
      linear-gradient(90deg, rgb(7 4 3 / .82) 0%, rgb(7 4 3 / .5) 34%, transparent 58%),
      linear-gradient(180deg, rgb(7 4 3 / .5) 0%, transparent 22%, transparent 70%, rgb(7 4 3 / .75) 100%);
  }
}

@keyframes candle {
  0%   { opacity: .6; }
  9%   { opacity: .85; }
  13%  { opacity: .5; }
  21%  { opacity: .78; }
  34%  { opacity: .62; }
  41%  { opacity: .92; }
  44%  { opacity: .55; }
  58%  { opacity: .74; }
  67%  { opacity: .5; }
  73%  { opacity: .88; }
  86%  { opacity: .64; }
}

.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 80px; pointer-events: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgb(7 4 3 / .86);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgb(0 0 0 / .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  filter: drop-shadow(0 0 8px rgb(255 120 30 / .55));
}
.brand__name {
  font-family: var(--f-horror);
  font-size: .98rem;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
}
.brand__name span { color: var(--ember-hot); }
.site-nav { display: flex; align-items: center; gap: 1.75rem; flex: none; }
.site-nav a:not(.btn) {
  display: none;
  font-size: .95rem;
  font-weight: 650;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.site-nav a:not(.btn):hover { color: var(--ember-hot); }

@media (max-width: 439px) {
  .brand { gap: .45rem; }
  .brand__mark { width: 26px; height: 26px; }
  .brand__name { font-size: .8rem; }
  .site-nav .btn--sm { min-height: 40px; padding: .5rem .95rem; font-size: .85rem; }
}
@media (max-width: 339px) {
  .brand__name { display: none; }
}
@media (min-width: 860px) {
  .site-nav a:not(.btn) { display: inline; }
  .brand__name { font-size: 1.1rem; }
}

/* ==========================================================================
   Main stacking: content sits above the fixed backdrop
   ========================================================================== */
main, .site-footer { position: relative; z-index: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + .75rem) 0 calc(1.5rem + env(safe-area-inset-bottom));
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgb(7 4 3 / .9));
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.hero__title {
  margin: 0;
  font-weight: 400;
  line-height: 1;
}
.t-line { display: block; }
.t-line:first-child {
  display: flex;
  align-items: flex-start;
  gap: .07em;
  /* Sized so the full word, spikes included, fits inside narrow screens */
  font-size: min(18.5vw, 10.5rem);
}
.t-small {
  font-family: var(--f-horror);
  font-size: .26em;
  color: var(--ember-hot);
  margin-right: .06em;
  letter-spacing: .04em;
  text-shadow: 0 2px 0 rgb(0 0 0 / .6);
}
.t-line:first-child .t-small { margin: .62em 0 0; margin-right: 0; }
.t-nightmare {
  display: inline-block;
  /* The gradient only paints inside this box, and Another Danger's spikes reach
     well past the line height. Padding grows the painted area to cover them;
     the matching negative margins keep the layout exactly where it was. */
  padding: .45em .5em .4em .15em;
  margin: -.45em -.5em -.4em -.15em;
  font-family: var(--f-brush);
  line-height: .9;
  letter-spacing: .005em;
  color: var(--ember);
  background: linear-gradient(180deg, #ffd79a 26%, #ff8a2a 45%, #ff6a12 58%, #b3200c 77%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgb(255 90 20 / .45)) drop-shadow(0 4px 0 rgb(0 0 0 / .6));
  animation: flicker 7s linear 3s infinite;
}
.t-line:last-child { font-size: min(9.6vw, 4.6rem); margin-top: .12em; }
.t-line:last-child .t-small { font-size: .5em; vertical-align: .55em; }
.t-street {
  font-family: var(--f-horror);
  letter-spacing: .03em;
  color: var(--ink);
  text-shadow: 0 2px 0 rgb(0 0 0 / .7), 0 0 24px rgb(0 0 0 / .8), 0 0 50px rgb(255 100 20 / .18);
}

.hero__lede {
  max-width: 34ch;
  margin-bottom: 1.1rem;
  font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem);
  font-weight: 550;
  line-height: 1.5;
  color: var(--ink);
  text-shadow: 0 1px 14px rgb(0 0 0 / .9);
}
.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  font-weight: 700;
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-shadow: 0 1px 10px rgb(0 0 0 / .9);
}
.hero__meta svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--ember);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 359px) {
  .hero__meta { grid-template-columns: 1fr; gap: .45rem; }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__cta .btn { flex: 1 1 10rem; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  translate: -50% 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-mute);
  white-space: nowrap;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--ember), transparent);
  transform-origin: top;
  animation: drip 2.2s var(--ease) infinite;
}
.scroll-cue:hover { color: var(--ember-hot); }
@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Embers drifting up out of the desert */
.hero__embers {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero__embers i {
  position: absolute;
  bottom: -12px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #ffc27a;
  box-shadow: 0 0 6px 2px rgb(255 120 30 / .75);
  opacity: 0;
  animation: ember var(--t) linear var(--d) infinite;
}
.hero__embers i:nth-child(even) { display: none; }
@keyframes ember {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  10%  { opacity: .9; }
  70%  { opacity: .55; }
  100% { transform: translate3d(var(--drift), -92vh, 0); opacity: 0; }
}
.hero__fog {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -6%;
  height: 42%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 55% at 28% 72%, rgb(160 72 28 / .16), transparent 70%),
    radial-gradient(34% 50% at 72% 80%, rgb(130 50 20 / .14), transparent 70%);
  animation: fog 26s ease-in-out infinite alternate;
}
@keyframes fog { to { transform: translate3d(9%, 0, 0); } }

/* Landscape screens: copy on the left, scarecrow on the right */
@media (min-aspect-ratio: 1001/1000) {
  .hero { align-items: center; }
  .hero__inner { justify-content: center; gap: 1.75rem; }
  .hero__top, .hero__bottom { max-width: min(46rem, 56%); }
  .t-line:first-child { font-size: clamp(3.4rem, min(11.5vw, 22vh), 10.5rem); }
  .t-line:last-child { font-size: clamp(1.7rem, min(5.3vw, 10vh), 4.85rem); }
  .hero__meta { display: flex; flex-wrap: wrap; gap: .65rem 1.6rem; }
  .hero__cta .btn { flex: 0 0 auto; }
  .scroll-cue { display: flex; }
  .hero__embers i:nth-child(even) { display: block; }
}
/* Portrait tablets: keep the copy block from stretching edge to edge */
@media (max-aspect-ratio: 1/1) and (min-width: 600px) {
  .hero__bottom { max-width: 34rem; }
}
/* Short landscape screens (phones on their side) */
@media (min-aspect-ratio: 1001/1000) and (max-height: 560px) {
  :root { --header-h: 52px; }
  .site-nav .btn--sm { min-height: 36px; padding: .4rem .9rem; }
  .hero { padding-bottom: 1.25rem; }
  .hero__inner { gap: 1rem; }
  .hero__top, .hero__bottom { max-width: 62%; }
  .hero__lede { margin-bottom: .75rem; font-size: 1rem; }
  .hero__meta { margin-bottom: .9rem; font-size: .88rem; }
  .scroll-cue { display: none; }
}

/* Hero entrance once the bats clear */
.js-ready .rise { opacity: 0; transform: translateY(26px); }
.js-ready.is-revealed .rise {
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

@keyframes flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 1; }
  42% { opacity: .55; }
  43% { opacity: 1; }
  45% { opacity: .75; }
  46% { opacity: 1; }
  78% { opacity: 1; }
  79% { opacity: .6; }
  80.5% { opacity: 1; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(4.5rem, 3rem + 5.5vw, 7.5rem) 0;
  background: rgb(7 4 3 / .9);
}
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--line-hot), transparent);
}
.section-head { max-width: 44rem; }
.section-head__intro { max-width: 40ch; font-size: 1.12rem; color: var(--ink-soft); }

/* Scroll reveal (only once JS is confirmed running) */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Concept ---------- */
.concept {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.5rem;
}
.concept__body p:not(.lead) { max-width: 60ch; color: var(--ink-soft); }
.concept__date {
  position: absolute;
  right: -.05em;
  bottom: -.38em;
  z-index: -1;
  font-family: var(--f-horror);
  font-size: clamp(7rem, 30vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 123 28 / .16);
  pointer-events: none;
  user-select: none;
}
@media (min-width: 960px) {
  .concept { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
  .concept__head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Experience cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.card {
  --mx: 50%;
  --my: -30%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.4rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgb(38 19 11 / .78), rgb(13 7 5 / .9));
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
/* A lantern that follows the pointer inside each card */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgb(255 120 30 / .17), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { border-color: var(--line-hot); transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgb(255 90 20 / .6); }
.card:hover::before { opacity: 1; }
.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgb(255 140 60 / .28);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgb(255 123 28 / .28), rgb(255 123 28 / .05));
  color: var(--ember-hot);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--ink-mute);
}
.card__title {
  margin: .7rem 0 0;
  font-family: var(--f-horror);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: .03em;
  color: var(--ink);
}
.card__title .hy { font-family: var(--f-body); font-weight: 800; }
.card p { margin: 0; color: var(--ink-soft); }

.card--party {
  background:
    radial-gradient(90% 60% at 50% 110%, rgb(255 90 20 / .3), transparent 70%),
    linear-gradient(160deg, rgb(44 20 11 / .82), rgb(13 7 5 / .92));
}
.card--party .card__title {
  margin: 1.3rem 0 .9rem;
  font-family: var(--f-brush);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.6rem);
  line-height: .95;
  color: var(--ember);
  text-shadow: 0 0 26px rgb(255 100 20 / .4);
}
.card--party p { max-width: 42ch; font-size: 1.08rem; }

.eq {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
  margin-top: auto;
  padding-top: 1.5rem;
}
.eq i {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(0deg, var(--blood), var(--ember) 55%, var(--ember-hot));
  transform-origin: bottom;
  animation: eq var(--t) ease-in-out var(--d) infinite alternate;
  opacity: .9;
}
@keyframes eq { from { transform: scaleY(.12); } to { transform: scaleY(1); } }

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card--party { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .card { padding: 1.75rem; }
  .card--party { grid-column: 1 / 3; grid-row: 1 / 3; padding: 2.25rem; }
  .card--party .eq { height: 190px; }
}

/* ---------- Details + FAQ ---------- */
.details { display: grid; gap: 3.5rem; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0 0;
}
.fact {
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 140 60 / .045);
}
.fact dt {
  margin-bottom: .4rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ember-hot);
}
.fact dd {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.3;
  color: var(--ink);
}
.fact small {
  display: block;
  margin-top: .3rem;
  font-size: .9rem;
  font-weight: 450;
  line-height: 1.45;
  color: var(--ink-mute);
}
.fact__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .55rem;
  padding: .2rem 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ember-hot);
  text-decoration: none;
}
.fact__link svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.fact__link:hover svg { transform: translateX(3px); }
@media (max-width: 370px) {
  .facts { grid-template-columns: 1fr; }
}

.faq-title {
  margin: 0 0 1rem;
  font-family: var(--f-horror);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: .03em;
}
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 1.05rem 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--ember);
  transition: transform .3s var(--ease);
}
.faq summary:hover { color: var(--ember-hot); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { max-width: 54ch; margin: -.25rem 0 1.2rem; color: var(--ink-soft); }

@media (min-width: 960px) {
  .details { grid-template-columns: 1.15fr 1fr; gap: 5rem; align-items: start; }
  .details__faq { padding-top: 5.25rem; }
}

/* ---------- Tickets ---------- */
.section--tickets {
  background: linear-gradient(180deg, rgb(7 4 3 / .9) 0%, rgb(7 4 3 / .45) 30%, rgb(7 4 3 / .5) 75%, rgb(7 4 3 / .92) 100%);
  padding-block: clamp(5rem, 3rem + 10vw, 11rem);
}
.tickets {
  max-width: 38rem;
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  border: 1px solid var(--line-hot);
  border-radius: 26px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgb(255 110 25 / .14), transparent 60%),
    rgb(9 5 4 / .82);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / .95), 0 0 80px -40px rgb(255 100 20 / .5), inset 0 1px 0 rgb(255 190 130 / .08);
}
.tickets__text { font-size: 1.12rem; color: var(--ink-soft); max-width: 36ch; }

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.price {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(0 0 0 / .4);
}
.price__tag {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price__amount {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}
.price__amount small {
  font-size: .42em;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink-mute);
}
.price__note { font-size: .88rem; line-height: 1.35; color: var(--ink-mute); }
.price--early {
  border-color: var(--ember);
  background:
    radial-gradient(120% 100% at 0% 0%, rgb(255 110 25 / .2), transparent 70%),
    rgb(0 0 0 / .45);
  box-shadow: 0 0 34px -14px rgb(255 110 25 / .8), inset 0 1px 0 rgb(255 190 130 / .12);
}
.price--early .price__tag { color: var(--ember-hot); }
.price--early .price__amount { color: var(--ink); text-shadow: 0 0 18px rgb(255 120 30 / .45); }

.countdown { display: none; margin: 1.6rem 0 1.8rem; }
.js-ready .countdown { display: block; }
.countdown__label {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.countdown__grid li {
  padding: .9rem .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(0 0 0 / .45);
  text-align: center;
}
.countdown__grid span {
  display: block;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-shadow: 0 0 18px rgb(255 120 30 / .45);
}
.countdown__grid small {
  display: block;
  margin-top: .45rem;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.countdown__open { display: none; margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--ember-hot); }
.countdown.is-open .countdown__grid,
.countdown.is-open .countdown__label { display: none; }
.countdown.is-open .countdown__open { display: block; }

.tickets__note { margin: 1.1rem 0 0; font-size: .9rem; color: var(--ink-mute); }

/* Price cards react to what's left */
.price.is-gone { opacity: .5; }
.price.is-gone .price__amount { text-decoration: line-through; text-decoration-thickness: 2px; }
.price.is-current {
  border-color: var(--ember);
  box-shadow: 0 0 34px -14px rgb(255 110 25 / .8);
}
.price.is-current .price__tag { color: var(--ember-hot); }
.price.is-current .price__amount { color: var(--ink); }

/* ---------- Ticket form ---------- */
.buy {
  margin: 1.8rem 0 1.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.buy[hidden] { display: none; }
.buy__title {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.buy__status { min-height: 1.4em; margin: 0 0 1.1rem; font-size: .95rem; color: var(--ember-hot); }
.buy__status:empty { display: none; }
.buy__fields { display: grid; gap: 1.05rem; }
.buy__submit { width: 100%; margin-top: 1.3rem; }
.buy__submit:disabled { cursor: progress; opacity: .75; transform: none; }
.buy__fine { margin: .8rem 0 0; font-size: .85rem; line-height: 1.45; color: var(--ink-mute); text-align: center; }

.alert {
  margin: 0 0 1.1rem;
  padding: .8rem 1rem;
  border: 1px solid rgb(255 90 60 / .55);
  border-radius: 12px;
  background: rgb(185 32 15 / .18);
  font-size: .95rem;
  color: #ffd2c4;
}
.alert[hidden] { display: none; }

.field { display: grid; gap: .4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label {
  padding: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__input {
  width: 100%;
  min-height: 50px;
  padding: .7rem .95rem;
  border: 1px solid rgb(255 210 170 / .22);
  border-radius: 12px;
  background: rgb(0 0 0 / .5);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px+ stops iOS zooming in on focus */
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: rgb(205 188 166 / .45); }
.field__input:hover { border-color: rgb(255 210 170 / .38); }
.field__input:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgb(255 123 28 / .25);
}
.field__input[aria-invalid="true"] { border-color: #ff6a4d; }
.field__hint { margin: 0; font-size: .82rem; line-height: 1.4; color: var(--ink-mute); }
.field__error { margin: 0; font-size: .86rem; font-weight: 650; line-height: 1.4; color: #ff8f73; }
.field__error[hidden] { display: none; }
.field__ok { margin: 0; font-size: .86rem; font-weight: 650; line-height: 1.4; color: #8ff0b0; }
.field__ok[hidden] { display: none; }
.field__optional { margin-left: .4em; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--ink-mute); }
.field__input--caps { text-transform: uppercase; letter-spacing: .08em; }
.field__input--caps::placeholder { text-transform: none; letter-spacing: 0; }

.promo-row { display: flex; gap: .5rem; }
.promo-row .field__input { flex: 1; min-width: 0; }
.promo-row__apply { flex: none; min-height: 50px; }
.promo-row__apply[hidden] { display: none; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .6rem .8rem;
  border: 1px solid rgb(255 210 170 / .22);
  border-radius: 12px;
  background: rgb(0 0 0 / .5);
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: rgb(255 210 170 / .38); }
.choice:has(input:checked) {
  border-color: var(--ember);
  background: rgb(255 110 25 / .14);
  color: var(--ink);
}
.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgb(255 123 28 / .35); }
.choice-row[aria-invalid="true"] .choice { border-color: #ff6a4d; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input,
.check input {
  width: 1.3rem;
  height: 1.3rem;
  margin: .1rem 0 0;
  accent-color: var(--ember);
}
.consent a { color: var(--ember-hot); }
.consent[aria-invalid="true"] input { outline: 2px solid #ff6a4d; outline-offset: 2px; }

/* Spam trap: kept off-screen, never shown to people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.buy-closed {
  margin: 1.8rem 0 1.4rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line-hot);
  border-radius: 14px;
  background: rgb(0 0 0 / .45);
}
.buy-closed[hidden] { display: none; }
.buy-closed__title { margin: 0 0 .3rem; font-size: 1.3rem; font-weight: 800; color: var(--ember-hot); }
.buy-closed p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.75rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgb(5 3 2 / .97);
  font-size: .92rem;
  color: var(--ink-mute);
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
}
.footer p { margin: 0; }
.footer__mark {
  margin-bottom: .3rem !important;
  font-family: var(--f-horror);
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--ink);
}
.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(160 143 123 / .3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.footer__credit a:hover { color: var(--ember-hot); text-decoration-color: currentColor; }
.footer__contact { margin-top: .6rem; font-style: normal; }
.footer__contact-item { white-space: nowrap; }
@media (max-width: 599px) {
  .footer__contact-item { display: block; }
  .footer__contact-item + .footer__contact-item, .footer__sep + .footer__contact-item { margin-top: .2rem; }
  .footer__sep { display: none; }
}
.footer__top { font-weight: 700; color: var(--ember-hot); text-decoration: none; }
.footer__top:hover { text-decoration: underline; text-underline-offset: 4px; }
.presenters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.presenters__label {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.presenters__logos { display: flex; align-items: center; justify-content: center; gap: 2.5rem; }
.presenters__logos a { display: block; border-radius: 8px; opacity: .88; transition: opacity .2s, transform .2s; }
.presenters__logos a:hover { opacity: 1; transform: translateY(-2px); }
.presenters__logos img { width: auto; height: 96px; }
@media (max-width: 439px) {
  .presenters__logos { gap: 2rem; }
  .presenters__logos img { height: 80px; }
}

/* ==========================================================================
   Cursor glow (fine pointers) and tap glow (touch)
   ========================================================================== */
.cursor-glow {
  --speed: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }
.cursor-glow__halo,
.cursor-glow__core {
  position: absolute;
  border-radius: 50%;
  translate: -50% -50%;
  mix-blend-mode: screen;
}
.cursor-glow__halo {
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgb(255 135 40 / .4), rgb(255 85 15 / .16) 45%, rgb(255 60 10 / .05) 75%, transparent 100%);
  opacity: calc(.5 + var(--speed) * .5);
  scale: calc(.82 + var(--speed) * .3);
  transition: scale .35s var(--ease);
}
.cursor-glow__core {
  width: 80px;
  height: 80px;
  background: radial-gradient(closest-side, rgb(255 215 160 / .75), rgb(255 130 35 / .28) 55%, transparent 100%);
  opacity: calc(.55 + var(--speed) * .45);
}
.cursor-glow.is-hot .cursor-glow__halo { scale: calc(1.15 + var(--speed) * .3); }
.cursor-glow.is-burst { animation: burst .7s ease-out forwards; }
.cursor-glow.is-burst .cursor-glow__halo { width: 280px; height: 280px; opacity: .9; }
@keyframes burst {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* ==========================================================================
   Reduced motion: keep the mood, drop the movement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__embers, .hero__fog { display: none; }
  .js-ready [data-reveal], .js-ready .rise { opacity: 1; transform: none; }
}
