/* Kelfirius — stage fire */

@font-face {
  font-family: "Gloock";
  src: url("../assets/fonts/gloock-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; 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;
}
@font-face {
  font-family: "Gloock";
  src: url("../assets/fonts/gloock-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; 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;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Russian. Gloock and Archivo have no basic Cyrillic. Russian pages set their display text
   wholly in Playfair Display (a high-contrast serif close to Gloock), so digits and dashes
   match the Cyrillic; body text takes its Cyrillic letters from Golos Text. Both OFL, and
   only downloaded by pages that use them. */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; 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;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-cyrillic.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --soot: #0b0605;
  --char: #170c09;
  --ember: #b3261e;
  --flame: #ff6a13;
  --gold: #ffb830;
  --hot: #fff3d6;
  --ivory: #f6e7d2;
  --ash: #c2ae9b;
  --line: rgba(246, 231, 210, 0.16);
  --uv: #9b5cff;
  --cyan: #2de2ff;

  --display: "Gloock", "Times New Roman", serif;
  --body: "Archivo", system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --space-section: clamp(6rem, 14vw, 11rem);

  color-scheme: dark;
  accent-color: var(--gold);
  scrollbar-color: #5a2a14 var(--soot);
}
/* Russian pages: Playfair for display text, Gloock kept for the wordmark */
:lang(ru) { --display: "Playfair Display", "Gloock", "Times New Roman", serif; }
:lang(ru) .wordmark, :lang(ru) .foot-mark { font-family: "Gloock", "Times New Roman", serif; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--soot);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  caret-color: var(--gold);
}

::selection { background: var(--flame); color: var(--soot); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--soot); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ember), #5a2a14); border-radius: 10px; border: 2px solid var(--soot); }

img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:not(.btn):hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--soot); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }
a.skip:hover, a.skip:focus { color: var(--soot); }

/* ---------- fire layers ---------- */

/* the fire and the lasers sit under the page in the root stacking context, so the
   phoenix video's screen blend reaches the live fire behind it */
#fire {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  display: block;
}
.fire-fallback {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 45% at 50% 108%, rgba(255, 106, 19, 0.55), rgba(179, 38, 30, 0.25) 45%, transparent 70%),
    radial-gradient(60% 30% at 20% 104%, rgba(255, 184, 48, 0.4), transparent 70%),
    radial-gradient(60% 30% at 80% 104%, rgba(255, 184, 48, 0.32), transparent 70%);
  display: none;
}
html.no-webgl .fire-fallback, html.reduced .fire-fallback { display: block; }
html.no-webgl #fire, html.reduced #fire { display: none; }
#lasers {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}
html.reduced #lasers, html.no-webgl #lasers { display: none; }

#cursor {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 60;
  pointer-events: none;
}

html.fire-cursor, html.fire-cursor * { cursor: none !important; }
html.fire-cursor input:not([type="date"]),
html.fire-cursor textarea { cursor: text !important; }
html.fire-cursor input[type="date"], html.fire-cursor select { cursor: pointer !important; }

main, .foot { position: relative; }

/* ---------- top bar ---------- */

.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.9rem var(--pad);
  transition: background-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.bar.is-solid {
  background-color: rgba(11, 6, 5, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.8);
}
.wordmark {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-size: 1.5rem; text-decoration: none; color: var(--hot);
  margin-right: auto;
}
.wordmark img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; mix-blend-mode: screen; }
.nav { display: flex; gap: 1.75rem; }
.nav a {
  font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86rem;
  text-decoration: none; color: var(--ivory); padding: 0.35rem 0;
  background: linear-gradient(var(--flame), var(--gold)) no-repeat left bottom / 0 2px;
  transition: background-size 0.35s var(--ease-out), color 0.2s;
}
.nav a:hover { background-size: 100% 2px; color: var(--hot); }
.bar-actions { display: flex; align-items: center; gap: 0.75rem; }

.sound {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: none; border: 1px solid var(--line); color: var(--ivory);
  border-radius: 999px; padding: 0.45rem 0.85rem 0.45rem 0.6rem;
  font: 600 0.8rem/1 var(--body); font-stretch: 78%; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.sound:hover { border-color: var(--gold); color: var(--hot); }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound .spk { fill: currentColor; stroke: none; }
.sound .wave { display: none; }
.sound[aria-pressed="true"] { border-color: var(--flame); color: var(--gold); }
.sound[aria-pressed="true"] .wave { display: block; animation: wave 1.2s ease-in-out infinite; }
.sound[aria-pressed="true"] .w2 { animation-delay: 0.2s; }
.sound[aria-pressed="true"] .mute { display: none; }
@keyframes wave { 50% { opacity: 0.35; } }

.menu { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 42px; height: 42px; color: var(--ivory); padding: 0; place-items: center; }
.menu svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; fill: none; }

/* ---------- buttons ---------- */

.btn {
  --glow: rgba(255, 106, 19, 0.0);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0.95rem 1.6rem;
  background: var(--gold); color: #1b0b04;
  border: 0; border-radius: 999px;
  font: 700 0.95rem/1 var(--body); font-stretch: 85%; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px var(--glow);
  transition: background-color 0.25s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:hover { background: var(--hot); color: #1b0b04; --glow: rgba(255, 106, 19, 0.75); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-small { min-height: 2.6rem; padding: 0.7rem 1.1rem; font-size: 0.8rem; }
.btn-ghost { background: rgba(11, 6, 5, 0.62); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(246, 231, 210, 0.45); }
.btn-ghost:hover { background: rgba(246, 231, 210, 0.08); color: var(--hot); box-shadow: inset 0 0 0 1px var(--gold), 0 10px 30px -10px rgba(255, 106, 19, 0.5); }
.btn:hover { box-shadow: 0 8px 20px -10px var(--glow), 0 0 0 1px rgba(255, 106, 19, 0.95), 0 -2px 8px -3px rgba(255, 140, 30, 0.9); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 1px rgba(255, 106, 19, 0.75), 0 -2px 8px -3px rgba(255, 140, 30, 0.85); }
.btn[disabled] { opacity: 0.6; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem;
  text-decoration: none; color: var(--gold);
  padding-block: 0.4rem;
}
.link-arrow::after {
  content: ""; width: 1.6rem; height: 1px; background: currentColor;
  transition: width 0.35s var(--ease-out);
}
.link-arrow:hover { color: var(--hot); }
.link-arrow:hover::after { width: 2.6rem; }

/* ---------- ignite: headings catch fire once, from a visible default ---------- */

.ignite { transition: color 1.4s var(--ease-out), text-shadow 2.2s var(--ease-out); }
html.motion .ignite.pre {
  color: #ffb15c;
  text-shadow: 0 0 18px rgba(255, 120, 20, 0.85), 0 0 48px rgba(255, 70, 10, 0.55);
}

/* ---------- hero ---------- */

.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: 6.5rem var(--pad) 7rem;
  max-width: 1480px; margin-inline: auto;
  position: relative;
}
.phoenix {
  justify-self: center;
  width: min(66vh, 560px, 100%);
  aspect-ratio: 1;
  padding: 0; border: 0; background: none; color: inherit;
  border-radius: 50%;
}
/* the logo animation (Logo 6) is screen-blended, so its darks let the live fire show through,
   and masked to a soft circle so its square edges melt away */
.phoenix { position: relative; }
.phoenix video {
  display: block;
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}
.hero-copy { max-width: 40rem; }
.hero h1 {
  font-size: clamp(3rem, 6.4vw, 6rem);
  color: var(--hot);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
}
.lede {
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ivory);
  max-width: 34rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

.hint {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  font-stretch: 78%; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem;
  color: var(--hot); white-space: nowrap;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
  transition: opacity 1.2s var(--ease-out);
}
.hint.gone { opacity: 0; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }

/* ---------- section scaffolding ---------- */

section { position: relative; }
.shows, .programmes, .events, .clients, .faq, .book { padding-block: var(--space-section); }
/* back-to-back section paddings stacked into a void; the seams get one gap, not two */
.shows, .programmes { padding-bottom: clamp(3rem, 6vw, 5rem); }

.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 46rem; }
.section-head h2, .clients h2, .faq h2, .book h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); color: var(--hot); }
.section-head p { color: var(--ash); font-size: 1.15rem; max-width: 38rem; }

/* ---------- show types ---------- */

.family + .family { margin-top: clamp(4rem, 8vw, 7rem); }
.family h3 {
  font-family: var(--body); font-stretch: 78%; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.9rem; color: var(--gold);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1rem;
}
.family h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 184, 48, 0.5), transparent); }
.family-light h3 { color: var(--cyan); }
.family-light h3::after { background: linear-gradient(90deg, rgba(45, 226, 255, 0.5), transparent); }

.show-list { list-style: none; margin: 0; padding: 0; }
.show-list a {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: baseline;
  gap: 1rem 2rem;
  padding: clamp(1.1rem, 2.2vw, 1.75rem) 0;
  border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ivory);
}
.show-list li:last-child a { border-bottom: 1px solid var(--line); }
.show-list img { display: none; }
.show-list .name {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1;
  transition: color 0.3s var(--ease-out), transform 0.5s var(--ease-out), text-shadow 0.5s var(--ease-out);
}
.show-list .desc { color: var(--ash); font-size: 1.05rem; max-width: 28rem; justify-self: end; transition: color 0.3s; }
.shows .wrap { position: relative; z-index: 1; }
.show-list .name { text-shadow: 0 2px 18px rgba(11, 6, 5, 0.8); }
.show-list a:hover .name, .show-list a:focus-visible .name {
  color: var(--gold); transform: translateX(0.6rem);
  text-shadow: 0 0 28px rgba(255, 106, 19, 0.55);
}
.show-list a:hover .desc { color: var(--ivory); }
.family-light .show-list a:hover .name, .family-light .show-list a:focus-visible .name {
  color: var(--cyan); text-shadow: 0 0 28px rgba(155, 92, 255, 0.7);
}

.peek {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: clamp(220px, 19vw, 300px); aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.85) rotate(-3deg);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(255, 106, 19, 0.5);
  will-change: transform, opacity;
}
.peek.on { opacity: 0.9; }

/* ---------- programmes ---------- */

.prog {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.prog + .prog { margin-top: clamp(5rem, 10vw, 8.5rem); }
.prog-img { grid-column: 2 / span 5; margin: 0; position: relative; width: 100%; max-width: 480px; justify-self: end; }
.prog-img img {
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}
.prog-text { grid-column: 8 / span 5; display: grid; gap: 1.25rem; justify-items: start; }
.prog:nth-of-type(even) .prog-img { grid-column: 7 / span 5; order: 2; justify-self: start; }
.prog:nth-of-type(even) .prog-text { grid-column: 2 / span 5; order: 1; }
.prog h3 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); color: var(--hot); }
.prog p { color: var(--ash); }
.price {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6rem); line-height: 0.95;
  color: var(--gold) !important;
  text-shadow: 0 0 40px rgba(255, 106, 19, 0.45);
  display: flex; align-items: baseline; gap: 0.75rem;
  font-variant-numeric: lining-nums tabular-nums;
}
.price span {
  font-family: var(--body); font-size: 0.95rem; font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ash); text-shadow: none;
}
.prog-uv .price { color: var(--cyan) !important; text-shadow: 0 0 40px rgba(155, 92, 255, 0.6); }
.prog-uv .link-arrow { color: var(--cyan); }

/* ---------- special events ---------- */

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: start;
  max-width: 1040px; margin-inline: auto;
}
.event { position: relative; overflow: hidden; border-radius: 4px; isolation: isolate; }
.event:nth-child(2) { margin-top: clamp(2rem, 6vw, 5.5rem); }
.event:nth-child(3) { margin-top: clamp(1rem, 3vw, 2.5rem); }
.event img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out);
  filter: saturate(1.05) brightness(0.92);
}
.event::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to top, rgba(11, 6, 5, 0.97) 0%, rgba(11, 6, 5, 0.85) 30%, rgba(11, 6, 5, 0) 62%);
  pointer-events: none;
}
.event:hover img { transform: scale(1.05); filter: saturate(1.2) brightness(1); }
.event-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 0.75rem; justify-items: start; }
.event h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); color: var(--hot); }
.event p { color: var(--ivory); font-size: 1rem; }

/* ---------- energize + reel ---------- */

.energize { padding-block: clamp(4rem, 8vw, 7rem) var(--space-section); overflow: hidden; }
.energize-line {
  font-family: var(--display);
  font-size: clamp(3rem, 11vw, 10.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--hot);
  margin: 0 var(--pad) clamp(2rem, 4vw, 3rem);
  text-shadow: 0 0 60px rgba(255, 106, 19, 0.45);
}
.reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1rem; width: max-content;
  animation: reel 115s linear infinite;
}
.reel:hover .reel-track { animation-play-state: paused; }
.reel li { flex: none; }
.reel img { height: clamp(220px, 36vh, 380px); width: auto; aspect-ratio: auto; border-radius: 4px; object-fit: cover; }
.reel li:nth-child(odd) img { aspect-ratio: 4 / 5; }
.reel li:nth-child(even) img { aspect-ratio: 3 / 2; }
.reel li:nth-child(3n) { margin-top: 2.5rem; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
}

/* ---------- clients ---------- */

.clients h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.quotes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem); }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--display); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.32; color: var(--ivory); }
.quote-lead { grid-column: 1 / -1; max-width: 62rem; }
.quote-lead p { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.18; color: var(--hot); }
.quote-lead p::before { content: "“"; color: var(--flame); margin-right: 0.05em; }
.quote-lead p::after { content: "”"; color: var(--flame); }
.quote:nth-child(2) { grid-column: 2 / span 5; }
.quote:nth-child(3) { grid-column: 8 / span 5; margin-top: 3rem; }
.quote figcaption {
  margin-top: 1rem; color: var(--gold);
  font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.quote figcaption::before { content: ""; width: 2rem; height: 1px; background: currentColor; }

/* ---------- faq ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-head { position: sticky; top: 7rem; display: grid; gap: 1.25rem; }
.faq-head p { color: var(--ash); }
.faq-head a { color: var(--gold); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3;
  color: var(--hot);
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-4px) rotate(45deg);
  transition: transform 0.4s var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-list summary:hover { color: var(--gold); }
.faq-list details p { padding: 0 0 1.5rem; color: var(--ash); max-width: 38rem; }
.faq-list details[open] p { animation: reveal 0.5s var(--ease-out); }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- book ---------- */

.book { padding-bottom: clamp(8rem, 16vw, 14rem); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.book-intro { display: grid; gap: 1.5rem; }
.book-intro > p { color: var(--ivory); font-size: 1.15rem; max-width: 30rem; }
.contact { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.contact li { display: grid; gap: 0.15rem; }
.contact span {
  font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold);
}
.contact a { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-decoration: none; color: var(--hot); word-break: break-word; }
.contact a:not(.btn):hover { color: var(--gold); }
.social { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem 0.6rem 0.75rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: box-shadow 0.25s, color 0.25s;
}
.social a:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(17, 9, 7, 0.88);
  border-radius: 8px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(255, 184, 48, 0.16);
}
.field { display: grid; gap: 0.45rem; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ivory); }
.opt { color: var(--ash); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--hot);
  background: rgba(11, 6, 5, 0.9);
  border: 1px solid rgba(246, 231, 210, 0.2);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select { appearance: none; background: rgba(11, 6, 5, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffb830' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 12px 8px; padding-right: 2.75rem; }
.field input::placeholder, .field textarea::placeholder { color: #a8927f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 184, 48, 0.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 184, 48, 0.22), 0 8px 30px -10px rgba(255, 106, 19, 0.55);
}
.field input[aria-invalid="true"] { border-color: #ff6b5a; }
.field .err { color: #ff9a8a; font-size: 0.88rem; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(4) hue-rotate(-10deg); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.status { color: var(--ash); font-size: 0.98rem; }
.status.ok { color: var(--gold); }
.status.bad { color: #ff9a8a; }
.form.sent { display: grid; place-items: center; text-align: center; min-height: 24rem; grid-template-columns: 1fr; }
.sent-msg { display: grid; gap: 1rem; justify-items: center; max-width: 28rem; }
.sent-msg h3 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--hot); }
.sent-msg p { color: var(--ash); }

/* ---------- footer ---------- */

.foot {
  padding: 5rem 0 2.5rem;
  background: linear-gradient(to bottom, rgba(11, 6, 5, 0) 0, rgba(11, 6, 5, 0.92) 4.5rem, var(--soot) 100%);
}
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: 2rem; }
.foot-grid p { color: var(--ash); font-size: 0.95rem; }
.foot-mark { font-family: var(--display); font-size: 1.8rem; color: var(--hot) !important; }
.foot-mark span { font-family: var(--body); font-size: 0.8rem; font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-left: 0.4rem; }
.foot-links { display: flex; gap: 1.25rem; }
.foot-links a { text-decoration: none; color: var(--ivory); }
.copy { grid-column: 1 / 3; font-size: 0.85rem !important; }
.credit { grid-column: 3; justify-self: end; font-size: 0.85rem !important; }
.credit a { color: var(--ivory); text-decoration: none; transition: color 0.3s var(--ease-out); }
.credit a:hover, .credit a:focus-visible { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 1.25rem; }
  .hero { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 5.5rem; gap: 0; }
  .phoenix { width: min(48vh, 440px, 92vw); margin-bottom: -1rem; }
  .hero-copy { display: grid; justify-items: center; }
  .cta-row { justify-content: center; }
  .lede { margin-inline: auto; }
}

@media (max-width: 860px) {
  .menu { display: grid; }
  .sound-label { display: none; }
  .sound { padding: 0; width: 42px; height: 42px; justify-content: center; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(11, 6, 5, 0.97);
    padding: 0.5rem var(--pad) 1.5rem;
    box-shadow: 0 20px 40px -20px #000;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); background: none; }
  .bar { gap: 1rem; }

  .show-list a { grid-template-columns: 76px minmax(0, 1fr); gap: 0.25rem 1rem; align-items: center; }
  .show-list img { display: block; grid-row: span 2; width: 76px; height: 76px; object-fit: cover; border-radius: 4px; }
  .show-list .desc { justify-self: start; text-align: left; font-size: 0.95rem; }
  .peek { display: none; }

  .prog { grid-template-columns: 1fr; }
  .prog-img, .prog-text, .prog:nth-of-type(even) .prog-img, .prog:nth-of-type(even) .prog-text { grid-column: 1; order: 0; justify-self: start; }

  .event-grid { grid-template-columns: 1fr; }
  .event:nth-child(n) { margin-top: 0; }
  .event img { aspect-ratio: 4 / 5; }

  .quotes { grid-template-columns: 1fr; }
  .quote:nth-child(n) { grid-column: 1; margin-top: 0; }

  .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }

  .foot-grid { grid-template-columns: 1fr; }
  .copy, .credit { grid-column: 1; justify-self: start; }
}

@media (max-width: 560px) {
  .btn-small { display: none; }
  .form { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
}

/* ---------- heat gauge: a fire take on a surveyor's staff, right edge ---------- */

.gauge {
  position: fixed; top: 76px; bottom: 0; right: 0; z-index: 40;
  width: 92px;
  pointer-events: none;
  display: none;
  font-family: var(--body); font-stretch: 72%; font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
}
.gauge__track {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.gauge__strip, .gauge__nums { position: absolute; top: 0; will-change: transform; }
.gauge__strip {
  right: 10px; width: 24px;
  /* colour comes from JS (cold ash at the top, white-hot at the end of the page);
     the ticks are cut out of it with masks: minor every 10px, major every 100px */
  -webkit-mask-image:
    linear-gradient(#000, #000),
    repeating-linear-gradient(to bottom, #000 0 2px, transparent 2px 100px),
    repeating-linear-gradient(to bottom, #000 0 1px, transparent 1px 10px);
  -webkit-mask-size: 1px 100%, 24px 100%, 11px 100%;
  -webkit-mask-position: right top, right top, right top;
  -webkit-mask-repeat: no-repeat;
  mask-image:
    linear-gradient(#000, #000),
    repeating-linear-gradient(to bottom, #000 0 2px, transparent 2px 100px),
    repeating-linear-gradient(to bottom, #000 0 1px, transparent 1px 10px);
  mask-size: 1px 100%, 24px 100%, 11px 100%;
  mask-position: right top, right top, right top;
  mask-repeat: no-repeat;
}
.gauge__nums { right: 38px; width: 34px; }
.gauge__nums span {
  position: absolute; right: 0; transform: translateY(-50%);
  font-size: 11px; font-stretch: 85%; letter-spacing: 0.04em;
  /* the ramp tints the numbers, ivory keeps them legible on the dim red stretch */
  color: color-mix(in oklab, var(--c, var(--ash)) 65%, var(--ivory));
  text-shadow: 0 0 3px #0b0605, 0 1px 2px #0b0605;
}
.gauge__marker {
  position: absolute; top: 50%; right: 6px;
  display: grid; justify-items: end; gap: 1px;
  transform: translateY(-50%);
  padding: 6px 40px 6px 10px;
  white-space: nowrap;
  background: linear-gradient(90deg, rgba(11, 6, 5, 0), rgba(11, 6, 5, 0.92) 30%);
  border-radius: 4px;
}
.gauge__marker::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 36px; height: 2px; margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--heat, var(--gold)));
  box-shadow: 0 -2px 10px -1px var(--heat, var(--gold));
}
.gauge__pct { font-size: 12px; letter-spacing: 0.08em; color: var(--hot); }
.gauge__temp { font-size: 11px; letter-spacing: 0.06em; color: color-mix(in oklab, var(--heat, var(--gold)) 70%, var(--ivory)); }
.gauge__label {
  position: absolute; bottom: 22px; right: 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory);
  white-space: nowrap;
}
.gauge__n { color: var(--heat, var(--gold)); }
.gauge__name.scrambling, .gauge__n.scrambling { color: var(--flame); }

@media (min-width: 1100px) and (hover: hover) {
  .gauge { display: block; }
  html.has-gauge main, html.has-gauge .foot { padding-right: 76px; }
  html.has-gauge .peek { margin-left: -32px; }
}

/* ---------- burned photo edges ----------
   each photo is cut by a turbulence-torn mask (three tears, cycled so neighbours differ)
   and carries a matching char-and-ember rim drawn from the same noise */
.prog-img, .event, .reel li {
  -webkit-mask: var(--burn) center / 100% 100% no-repeat;
  mask: var(--burn) center / 100% 100% no-repeat;
  --burn: url("../assets/burn/burn-1.svg");
  --rim: url("../assets/burn/rim-1.svg");
}
.prog:nth-of-type(3n+2) .prog-img, .event:nth-child(3n+2), .reel li:nth-child(3n+2) { --burn: url("../assets/burn/burn-2.svg"); --rim: url("../assets/burn/rim-2.svg"); }
.prog:nth-of-type(3n) .prog-img, .event:nth-child(3n), .reel li:nth-child(3n) { --burn: url("../assets/burn/burn-3.svg"); --rim: url("../assets/burn/rim-3.svg"); }
.reel li { position: relative; }
.prog-img::after, .event::before, .reel li::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--rim) center / 100% 100% no-repeat;
}
.prog-img img, .reel img { border-radius: 0; display: block; }
/* in the UV element the char rim turns violet: the light show owns that row */
.prog-uv .prog-img::after { filter: hue-rotate(245deg) saturate(1.4) brightness(1.1); }
.prog-img img { box-shadow: none; }

/* ---------- copy stays legible when the fire climbs behind it ---------- */
main p, main h3, main summary, .show-list .desc, .event-text, .faq-head {
  text-shadow: 0 1px 2px rgba(11, 6, 5, 0.9), 0 0 14px rgba(11, 6, 5, 0.85), 0 0 34px rgba(11, 6, 5, 0.6);
}
.price { text-shadow: 0 0 40px rgba(255, 106, 19, 0.45), 0 1px 2px rgba(11, 6, 5, 0.9); }
.prog-uv .price { text-shadow: 0 0 40px rgba(155, 92, 255, 0.6), 0 1px 2px rgba(11, 6, 5, 0.9); }

/* ---------- date field: dark native picker, gold calendar glyph ---------- */
.field input, .field select, .field textarea { color-scheme: dark; }
.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1; cursor: pointer;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffb830' stroke-width='1.5'%3E%3Crect x='1.75' y='3' width='12.5' height='11.25' rx='1.5'/%3E%3Cpath d='M1.75 6.75h12.5M5 1.25v3.5M11 1.25v3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

/* ---------- utilities ---------- */
[hidden] { display: none !important; }

/* ---------- language switch ---------- */
.langs { display: flex; gap: 0.15rem; margin-right: 0.25rem; }
.langs a {
  font: 700 0.74rem/1 var(--body); font-stretch: 78%; letter-spacing: 0.1em;
  padding: 0.5rem 0.4rem; border-radius: 6px; text-decoration: none; color: var(--ash);
  transition: color 0.2s;
}
.langs a:hover { color: var(--hot); }
.langs a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--flame); border-radius: 0; }
@media (max-width: 860px) {
  .langs { position: absolute; top: calc(100% + 0.25rem); right: var(--pad); display: none; }
  .nav.open ~ .bar-actions .langs, .bar:has(.nav.open) .langs { display: flex; z-index: 2; }
}

/* ---------- ember headings ---------- */
#embers {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 45; pointer-events: none;
}
html.motion .ember-wait { color: transparent !important; text-shadow: none !important; }
html.motion .ember-wait::selection { color: transparent; }

.play-ico { width: 18px; height: 18px; fill: currentColor; margin-left: -0.2rem; }

/* ---------- showreel ---------- */
.film { padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 1080px;
  border-radius: 4px; overflow: hidden; background: #000;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 120px -50px rgba(255, 106, 19, 0.55);
}
.film-frame:not(.playing) {
  -webkit-mask: url("../assets/burn/burn-2.svg") center / 100% 100% no-repeat;
  mask: url("../assets/burn/burn-2.svg") center / 100% 100% no-repeat;
}
.film-frame:not(.playing)::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: url("../assets/burn/rim-2.svg") center / 100% 100% no-repeat;
}
.film-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.72) saturate(1.1);
  transition: transform 1.4s var(--ease-out), filter 0.8s var(--ease-out);
}
.film-frame:hover .film-poster { transform: scale(1.03); filter: brightness(0.85) saturate(1.2); }
.film-play {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-end; gap: 1.25rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 0; background: linear-gradient(to top, rgba(11, 6, 5, 0.85), rgba(11, 6, 5, 0) 55%);
  color: var(--hot); text-align: left; font: inherit;
}
.film-disc {
  flex: none; display: grid; place-items: center;
  width: clamp(64px, 8vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: #1b0b04;
  box-shadow: 0 0 0 0 rgba(255, 106, 19, 0.6), 0 12px 40px -10px rgba(255, 106, 19, 0.8);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
  animation: disc 2.6s var(--ease-out) infinite;
}
.film-disc svg { width: 42%; fill: currentColor; margin-left: 8%; }
@keyframes disc { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0.55), 0 12px 40px -10px rgba(255, 106, 19, 0.8); } 70%, 100% { box-shadow: 0 0 0 22px rgba(255, 106, 19, 0), 0 12px 40px -10px rgba(255, 106, 19, 0.8); } }
.film-play:hover .film-disc { transform: scale(1.08); background: var(--hot); }
.film-text { display: grid; gap: 0.35rem; padding-bottom: 0.4rem; }
.film-title { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.05; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8); }
.film-meta { font-stretch: 78%; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.film-frame.playing .film-play, .film-frame.playing .film-poster { visibility: hidden; }
.film-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; max-width: 1080px; }
.film-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.film-list button {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  padding: 0.55rem 0.95rem; border-radius: 999px; border: 0;
  background: rgba(11, 6, 5, 0.7); color: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 0.9rem/1.2 var(--body);
  transition: box-shadow 0.25s, color 0.25s;
}
.film-list button span { font-size: 0.78rem; color: var(--ash); font-variant-numeric: tabular-nums; }
.film-list button:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--hot); }
.film-list button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--flame); color: var(--gold); }

/* ---------- secondary links next to the main arrow ---------- */
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.link-more {
  font-weight: 600; font-size: 0.92rem; color: var(--ivory);
  text-decoration: underline; text-decoration-color: rgba(246, 231, 210, 0.35);
}
.link-more:hover { text-decoration-color: currentColor; }

/* ---------- seen at ---------- */
.seen { margin-top: clamp(3.5rem, 7vw, 5.5rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.seen-label { font-stretch: 78%; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold); }
.seen-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.seen-list li { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--ivory); }
.seen-list li + li::before { content: "✦"; font-size: 0.6em; color: var(--flame); margin-right: 2rem; vertical-align: 0.2em; }

/* ---------- finale ---------- */
.finale { padding-block: clamp(5rem, 10vw, 8rem); text-align: center; }
.finale-inner { display: grid; justify-items: center; gap: 1.5rem; }
.finale h2 { font-size: clamp(3.5rem, 10vw, 8.5rem); color: var(--hot); line-height: 0.9; }
.finale-copy { color: var(--ivory); font-size: 1.15rem; max-width: 30rem; }
.finale-btn {
  --charge: 0;
  position: relative; width: 150px; height: 150px; border-radius: 50%;
  margin-top: 1rem; padding: 0; border: 0;
  background: radial-gradient(circle at 50% 60%, rgba(255, 184, 48, calc(0.15 + 0.75 * var(--charge))), rgba(179, 38, 30, calc(0.2 + 0.5 * var(--charge))) 55%, rgba(11, 6, 5, 0.9) 72%);
  color: var(--hot);
  box-shadow: 0 0 calc(30px + 90px * var(--charge)) calc(-6px + 18px * var(--charge)) rgba(255, 106, 19, calc(0.35 + 0.6 * var(--charge)));
  transform: scale(calc(1 + 0.08 * var(--charge)));
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 0.3s var(--ease-out);
}
.finale-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.finale-ring circle { fill: none; stroke-width: 3; }
.ring-track { stroke: rgba(246, 231, 210, 0.18); }
.ring-fill { stroke: var(--gold); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--charge)); stroke-linecap: round; filter: drop-shadow(0 0 6px var(--flame)); }
.finale-label {
  position: relative;
  font: 700 0.95rem/1.1 var(--body); font-stretch: 80%; letter-spacing: 0.14em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(11, 6, 5, 0.9);
}
.finale-btn.holding { animation: shake 0.09s linear infinite; }
@keyframes shake { 25% { translate: calc(1px * var(--charge)) 0; } 75% { translate: calc(-1px * var(--charge)) calc(1px * var(--charge)); } }
.finale-after { display: grid; justify-items: center; gap: 1.25rem; animation: reveal 1s var(--ease-out) 1.8s both; }
.finale-after p { text-shadow: 0 1px 2px rgba(11, 6, 5, 0.95), 0 0 18px rgba(11, 6, 5, 0.9), 0 0 42px rgba(11, 6, 5, 0.8); }
.finale-after p { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--hot); max-width: 34rem; line-height: 1.2; }
.finale-flash {
  position: fixed; inset: 0; z-index: 44; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 50% 100%, rgba(255, 220, 150, 0.85), rgba(255, 106, 19, 0.45) 40%, rgba(179, 38, 30, 0) 75%);
  mix-blend-mode: screen;
}
.finale-flash.go { animation: flash 1.4s var(--ease-out); }
@keyframes flash { 0% { opacity: 0; } 8% { opacity: 1; } 100% { opacity: 0; } }

/* music on: the sound button breathes with the bass */
.sound[aria-pressed="true"] { box-shadow: 0 0 calc(var(--beat, 0) * 26px) calc(var(--beat, 0) * 2px) rgba(255, 106, 19, 0.6); }

/* ---------- show pages ---------- */
.page-hero { padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem); min-height: 86vh; display: grid; align-items: center; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-copy { display: grid; gap: 1.4rem; justify-items: start; }
.page-hero h1 { font-size: clamp(3rem, 6.6vw, 6.2rem); color: var(--hot); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55); }
.page-hero .lede { margin-top: 0; margin-inline: 0; }
.page-hero .cta-row { margin-top: 0.5rem; }
.page-hero-img { grid-column: auto; max-width: 520px; justify-self: center; }
.page-hero-img img { aspect-ratio: 4 / 5; }
.page-hero[data-uv-zone] .price { color: var(--cyan) !important; text-shadow: 0 0 40px rgba(155, 92, 255, 0.6), 0 1px 2px rgba(11, 6, 5, 0.9); }
.page-hero[data-uv-zone] .prog-img::after { filter: hue-rotate(245deg) saturate(1.4) brightness(1.1); }
.crumbs { display: flex; gap: 0.6rem; font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; color: var(--ash); }
.crumbs a { text-decoration: none; color: var(--gold); }

.page-body { padding-block: clamp(3rem, 7vw, 6rem); }
.page-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.page-text { display: grid; gap: 1.2rem; max-width: 40rem; }
.page-text h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--hot); margin-top: 1.5rem; }
.page-text h2:first-child { margin-top: 0; }
.page-text p { color: var(--ivory); font-size: 1.12rem; }
.facts { margin: 0; display: grid; gap: 0; position: sticky; top: 7rem; padding: 1.5rem 1.75rem; background: rgba(17, 9, 7, 0.82); border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 184, 48, 0.16); }
.facts div { padding: 0.9rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.facts div:first-child { border-top: 0; }
.facts dt { font-stretch: 78%; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.76rem; color: var(--gold); }
.facts dd { margin: 0; color: var(--hot); font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.page-photos { margin-top: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); align-items: start; }
.page-photos .burnt { grid-column: span 2; }
.page-photos .burnt:nth-child(5n+1) { grid-column: span 3; }
.page-photos .burnt:nth-child(5n+2) { grid-column: span 3; margin-top: 3rem; }
.page-photos .burnt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.burnt {
  margin: 0; position: relative;
  -webkit-mask: var(--burn) center / 100% 100% no-repeat;
  mask: var(--burn) center / 100% 100% no-repeat;
  --burn: url("../assets/burn/burn-1.svg"); --rim: url("../assets/burn/rim-1.svg");
}
.burnt:nth-child(3n+2) { --burn: url("../assets/burn/burn-2.svg"); --rim: url("../assets/burn/rim-2.svg"); }
.burnt:nth-child(3n) { --burn: url("../assets/burn/burn-3.svg"); --rim: url("../assets/burn/rim-3.svg"); }
.burnt::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--rim) center / 100% 100% no-repeat; }
.burnt img { display: block; }
.page-others { padding-bottom: clamp(4rem, 8vw, 6rem); }
.show-page .book { padding-top: clamp(4rem, 8vw, 6rem); }

@media (max-width: 860px) {
  .page-hero { min-height: 0; }
  .page-hero-grid, .page-cols { grid-template-columns: 1fr; }
  .page-hero-img { justify-self: start; max-width: 420px; }
  .facts { position: static; }
  .page-photos { grid-template-columns: 1fr 1fr; }
  .page-photos .burnt:nth-child(n) { grid-column: span 1; margin-top: 0; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 7rem var(--pad) 5rem; }
.lost-inner { display: grid; justify-items: center; gap: 1.5rem; max-width: 40rem; }
.lost-code { font-family: var(--display); font-size: clamp(7rem, 26vw, 18rem); line-height: 0.8; color: var(--hot); text-shadow: 0 0 80px rgba(255, 106, 19, 0.6); }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--hot); }
.lost p { color: var(--ivory); font-size: 1.15rem; }
.lost .cta-row { justify-content: center; margin-top: 0.5rem; }

/* ---------- cookie consent (js/consent.js) ---------- */
.foot-links { flex-wrap: wrap; }
.foot-cookie {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--ivory); cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.foot-cookie:hover, .foot-cookie:focus-visible { color: var(--gold); }

.cc {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 55;
  width: min(27rem, calc(100vw - 2.5rem));
  padding: 1.5rem 1.5rem 1.3rem;
  background: rgba(23, 12, 9, 0.94);
  border: 1px solid var(--line); border-radius: 1.25rem;
  box-shadow: 0 28px 60px -24px rgba(0, 0, 0, 0.9), 0 -14px 44px -26px rgba(255, 106, 19, 0.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--ivory); font: 400 0.92rem/1.5 var(--body);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.cc.is-open { opacity: 1; transform: none; }
.cc[hidden] { display: none; }
.cc::before {
  content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--flame), var(--gold), transparent);
}
.cc-title { margin: 0 0 0.5rem; font: 400 1.4rem/1.15 var(--display); color: var(--hot); }
.cc p { margin: 0 0 1.1rem; color: var(--ash); }
.cc-details { display: grid; gap: 0.75rem; margin: 0 0 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cc-details[hidden] { display: none; }
.cc-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start; color: var(--ash); font-size: 0.86rem; cursor: pointer; }
.cc-opt input { width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; }
.cc-opt input:disabled { opacity: 0.55; }
.cc-opt strong { display: block; color: var(--ivory); font-weight: 600; font-size: 0.92rem; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.cc-actions .btn { flex: 1 1 8rem; }
.cc .cc-btn { min-height: 2.75rem; padding: 0.75rem 1.1rem; font-size: 0.8rem; }
.cc-actions .btn[hidden], .cc-link[hidden] { display: none; }
.cc-link {
  flex-basis: 100%; justify-self: start; text-align: left;
  background: none; border: 0; padding: 0.35rem 0 0;
  font: 600 0.85rem/1.4 var(--body); color: var(--ivory); cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(246, 231, 210, 0.4); text-underline-offset: 3px;
}
.cc-link:hover, .cc-link:focus-visible { color: var(--gold); text-decoration-color: var(--gold); }

@media (max-width: 560px) {
  .cc { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; width: auto; padding: 1.25rem 1.2rem 1.1rem; }
  .cc-title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cc { transition: opacity 0.2s linear; transform: none; }
}
.cc-policy { color: var(--ivory); text-decoration-color: rgba(246, 231, 210, 0.4); text-underline-offset: 3px; white-space: nowrap; }
.cc-policy:hover, .cc-policy:focus-visible { color: var(--gold); text-decoration-color: var(--gold); }

/* ---------- privacy & cookie policy page ---------- */
.page-hero--short { min-height: 0; padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.page-hero--short .page-hero-copy { max-width: 48rem; }
.page-hero--short h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.policy h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.policy p, .policy li { color: var(--ivory); font-size: 1.06rem; }
.policy ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.45rem; }
.policy li::marker { color: var(--flame); }
.policy a { color: var(--gold); text-underline-offset: 3px; }
.policy a:hover, .policy a:focus-visible { color: var(--hot); }
.policy code { font: 600 0.88em/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--hot); background: rgba(246, 231, 210, 0.08); padding: 0.18em 0.4em; border-radius: 4px; white-space: nowrap; }
.policy-table-wrap { overflow-x: auto; border-radius: 8px; background: rgba(17, 9, 7, 0.82); box-shadow: inset 0 0 0 1px rgba(255, 184, 48, 0.16); }
.policy-table { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: 0.92rem; line-height: 1.45; }
.policy-table th { text-align: left; padding: 0.85rem 1rem; font-stretch: 78%; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); }
.policy-table td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); color: var(--ash); vertical-align: top; }
.policy-table td:first-child { color: var(--ivory); }
.policy-page .facts dd { overflow-wrap: anywhere; }
.policy-page .facts dd a { color: var(--hot); text-decoration-color: rgba(255, 184, 48, 0.5); text-underline-offset: 3px; font-size: 1.05rem; }
.policy-btn { min-height: 2.75rem; padding: 0.75rem 1.2rem; font-size: 0.8rem; margin-top: 0.35rem; }
@media (max-width: 640px) {
  .policy-table-wrap { overflow: visible; background: none; box-shadow: none; }
  .policy-table { min-width: 0; }
  .policy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; }
  .policy-table tr { margin-bottom: 0.75rem; padding: 0.4rem 1rem; border-radius: 8px; background: rgba(17, 9, 7, 0.82); box-shadow: inset 0 0 0 1px rgba(255, 184, 48, 0.16); }
  .policy-table td { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.55rem 0; }
  .policy-table tr td:first-child { border-top: 0; }
  .policy-table td::before { content: attr(data-label); font-stretch: 78%; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem; color: var(--gold); padding-top: 0.2rem; }
}
