/* ============================================================
   KILLSY — Pitch Deck Stylesheet
   "Music that sounds like a cathedral built inside a machine."
   ============================================================ */

@font-face {
  font-family: "Kenjo";
  src: url("fonts/Kenjo I.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* Custom candle flame cursor */
html, body, button, a { cursor: none; }
.cursor-flame {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 44px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
.cursor-flame .glow {
  position: absolute; inset: -40%;
  background: radial-gradient(circle, rgba(212,134,26,0.7) 0%, rgba(200,134,11,0.2) 40%, transparent 70%);
  filter: blur(10px);
  animation: flameGlow 0.65s ease-in-out infinite alternate;
}
.cursor-flame .core {
  position: absolute; left: 50%; top: 25%;
  transform: translate(-50%, 0);
  width: 14px; height: 22px;
  background: radial-gradient(ellipse at 50% 100%, #FFF5C8 0%, #FBD37A 30%, #C8860B 70%, transparent 100%);
  border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%;
  filter: blur(0.6px);
  animation: flameFlicker 0.18s ease-in-out infinite alternate;
}
.cursor-flame .wick {
  position: absolute; left: 50%; bottom: 12%;
  transform: translateX(-50%);
  width: 2px; height: 8px;
  background: #1a1208;
}
@keyframes flameGlow {
  0%   { opacity: 0.55; transform: scale(0.9); }
  100% { opacity: 0.95; transform: scale(1.1); }
}
@keyframes flameFlicker {
  0%   { transform: translate(-50%, 0) scale(0.96, 1.03) rotate(-1deg); }
  100% { transform: translate(-50%, -1px) scale(1.04, 0.97) rotate(1deg); }
}
.cursor-flame.click .core { transform: translate(-50%, 0) scale(1.4); }
@media (hover: none) {
  html, body, button, a { cursor: auto; }
  .cursor-flame { display: none; }
}


:root {
  /* Palette */
  --obsidian:   #050404;
  --shadow:     #0d0a09;
  --pitch:      #14100d;
  --bone:       #e8e1d4;
  --bone-soft:  #cdc4b3;
  --ash:        #6b625b;
  --oxblood:    #6e0c1c;
  --oxblood-2:  #3a0710;
  --gold:       #c4a35a;
  --gold-soft:  #8c7740;
  --candle:     #f0c47a;
  --cathedral:  #1a2638;
  --grain:      0.08;

  /* Type scale */
  --t-hero:     clamp(72px, 9vw, 168px);
  --t-display:  clamp(48px, 6vw, 104px);
  --t-title:    clamp(32px, 3.6vw, 64px);
  --t-sub:      clamp(20px, 1.5vw, 28px);
  --t-body:     clamp(15px, 1.05vw, 19px);
  --t-small:    clamp(11px, 0.75vw, 13px);

  /* Spacing */
  --gutter:     clamp(32px, 5vw, 96px);

  /* Easing */
  --ease-out-cinema: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-cinema:  cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:       cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

/* Hide scrollbar but keep functional */
html::-webkit-scrollbar { width: 0; background: transparent; }
html { scrollbar-width: none; }

::selection { background: var(--oxblood); color: var(--bone); }

/* Kill iOS Safari tap-highlight across the deck */
* { -webkit-tap-highlight-color: transparent; }

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ============================================================
   THE ENTRANCE GATE
   ============================================================ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 1800ms var(--ease-out-cinema),
              visibility 0s linear 1800ms;
}
.gate.is-open { opacity: 0; visibility: hidden; pointer-events: none; }

.gate__candle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--candle);
  box-shadow:
    0 0 24px 6px rgba(240, 196, 122, 0.7),
    0 0 80px 20px rgba(240, 196, 122, 0.25),
    0 0 200px 60px rgba(240, 196, 122, 0.08);
  margin-bottom: 96px;
  animation: candleflicker 3.6s ease-in-out infinite;
}

@keyframes candleflicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  20% { opacity: 0.82; transform: scale(0.94); }
  40% { opacity: 1; transform: scale(1.04); }
  62% { opacity: 0.88; transform: scale(0.97); }
  80% { opacity: 1; transform: scale(1.02); }
}

.gate__prelude {
  font-family: "Inter Tight", sans-serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 32px;
}

.gate__title {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 76px);
  letter-spacing: 0.06em;
  color: var(--bone);
  margin-bottom: 24px;
  text-align: center;
}

.gate__title em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--candle);
  letter-spacing: 0.02em;
}

.gate__sub {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--bone-soft);
  margin-bottom: 64px;
  text-align: center;
  max-width: 520px;
}

.gate__enter {
  font-family: "Inter Tight", sans-serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 20px 56px;
  border: 1px solid rgba(196, 163, 90, 0.4);
  background: transparent;
  transition: all 600ms var(--ease-out-cinema);
  position: relative;
}
.gate__enter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--candle);
  opacity: 0;
  transition: opacity 600ms var(--ease-out-cinema);
  z-index: -1;
}
.gate__enter:hover {
  color: var(--obsidian);
  border-color: var(--candle);
  letter-spacing: 0.55em;
}
.gate__enter:hover::before { opacity: 1; }

.gate__foot {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(232, 225, 212, 0.3);
}

/* ============================================================
   GLOBAL OVERLAYS (grain, vignette, audio, counter, brand)
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.9  0 0 0 0 0.82  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainshift 1.4s steps(8) infinite;
}
@keyframes grainshift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-5%, -3%); }
  20%  { transform: translate(3%, -7%); }
  30%  { transform: translate(-4%, 4%); }
  40%  { transform: translate(7%, 2%); }
  50%  { transform: translate(-2%, -5%); }
  60%  { transform: translate(4%, 6%); }
  70%  { transform: translate(-6%, -2%); }
  80%  { transform: translate(2%, 5%); }
  90%  { transform: translate(-3%, -4%); }
  100% { transform: translate(0, 0); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.45) 75%, rgba(0,0,0,0.85) 100%);
}

/* Audio control */
.audio {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms var(--ease-out-cinema) 800ms;
}
.audio.is-revealed { opacity: 1; pointer-events: auto; }

.audio__label {
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(232, 225, 212, 0.6);
}
.audio__label em {
  font-style: normal;
  color: var(--candle);
  margin-right: 8px;
}

.audio__btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 400ms var(--ease-soft);
}
.audio__btn:hover { border-color: var(--candle); transform: scale(1.06); }

.audio__btn::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--bone);
  margin-left: 3px;
  transition: opacity 200ms;
}
.audio.is-playing .audio__btn::before {
  width: 4px;
  height: 12px;
  border: 0;
  background:
    linear-gradient(var(--bone), var(--bone)) left/4px 12px no-repeat,
    linear-gradient(var(--bone), var(--bone)) right/4px 12px no-repeat;
  margin-left: 0;
}

.audio__ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 122, 0.25);
  opacity: 0;
}
.audio.is-playing .audio__ring {
  opacity: 1;
  animation: audioring 2.4s ease-out infinite;
}
@keyframes audioring {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Slide counter */
.counter {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 100;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: rgba(232, 225, 212, 0.55);
  opacity: 0;
  transition: opacity 1200ms var(--ease-out-cinema) 600ms;
}
.counter.is-revealed { opacity: 1; }
.counter__current { color: var(--candle); }
.counter__divider { margin: 0 10px; color: rgba(232, 225, 212, 0.3); }

/* Brand mark (top-left) */
.brand {
  position: fixed;
  top: 32px;
  left: 32px;
  z-index: 100;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--bone);
  opacity: 0;
  transition: opacity 1200ms var(--ease-out-cinema) 400ms;
}
.brand.is-revealed { opacity: 1; }
.brand small {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--ash);
  margin-top: 6px;
  font-weight: 400;
}

/* Scroll hint (only on first slide) */
.scroll-hint {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(232, 225, 212, 0.45);
  opacity: 0;
  transition: opacity 800ms var(--ease-out-cinema);
  pointer-events: none;
}
.scroll-hint.is-shown { opacity: 1; }
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--candle), transparent);
  margin: 16px auto 0;
  animation: scrolllinepulse 2.2s var(--ease-soft) infinite;
}
@keyframes scrolllinepulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   DECK + SLIDES
   ============================================================ */
.deck {
  position: relative;
  z-index: 1;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--obsidian);
}

.slide__bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.05) saturate(0.85);
  transform: scale(1.04);
  transition: transform 4s var(--ease-soft), opacity 1600ms var(--ease-soft);
  z-index: 0;
}
.slide.is-active .slide__bg {
  transform: scale(1) translateY(-1.5%);
}

/* per-slide background grade overlays */
.slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.55) 100%);
}

.slide__godray {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% -10%, rgba(240, 196, 122, 0.12) 0%, transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 2400ms var(--ease-soft);
}
.slide.is-active .slide__godray { opacity: 1; }

.slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  padding: 0 var(--gutter);
}

/* Cinematic reveal primitive */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1400ms var(--ease-out-cinema), transform 1400ms var(--ease-out-cinema); }
.slide.is-active .reveal { opacity: 1; transform: translateY(0); }
.slide.is-active .reveal[data-delay="100"] { transition-delay: 100ms; }
.slide.is-active .reveal[data-delay="200"] { transition-delay: 200ms; }
.slide.is-active .reveal[data-delay="300"] { transition-delay: 300ms; }
.slide.is-active .reveal[data-delay="400"] { transition-delay: 400ms; }
.slide.is-active .reveal[data-delay="500"] { transition-delay: 500ms; }
.slide.is-active .reveal[data-delay="600"] { transition-delay: 600ms; }
.slide.is-active .reveal[data-delay="800"] { transition-delay: 800ms; }
.slide.is-active .reveal[data-delay="1000"] { transition-delay: 1000ms; }
.slide.is-active .reveal[data-delay="1200"] { transition-delay: 1200ms; }
.slide.is-active .reveal[data-delay="1400"] { transition-delay: 1400ms; }

/* Hairline reveal — for separator lines */
.hairline {
  width: 0;
  height: 1px;
  background: var(--candle);
  opacity: 0.5;
  transition: width 1800ms var(--ease-out-cinema);
}
.slide.is-active .hairline { width: 64px; }
.slide.is-active .hairline.hairline--wide { width: 160px; }

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */
.eyebrow {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--candle);
}
.eyebrow--ash { color: var(--ash); }

.numeral {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: rgba(232, 225, 212, 0.5);
}

.h-hero {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: var(--t-hero);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--bone);
}

.h-display {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: var(--t-display);
  letter-spacing: 0.03em;
  line-height: 1.0;
  color: var(--bone);
}

.h-display em,
.h-hero em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--candle);
  letter-spacing: 0;
}

.h-title {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: var(--t-title);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--bone);
}

.h-italian {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-display);
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--bone);
}

.lede {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-sub);
  line-height: 1.45;
  color: var(--bone-soft);
  max-width: 720px;
}

.body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.7;
  color: var(--bone-soft);
  letter-spacing: 0.01em;
  max-width: 580px;
}

.foreign {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 1.8vw, 32px);
  color: var(--candle);
  letter-spacing: 0.01em;
  display: block;
}
.foreign small {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 8px;
}

/* ============================================================
   SLIDE 01 — OVERTURE (post-gate landing)
   ============================================================ */
.s-overture .slide__bg {
  background-image: url("images/2BBE84CE-A47F-4788-A3EF-269444A8D6A2.png");
  background-position: center 30%;
  filter: brightness(0.42) contrast(1.1) saturate(0.7);
}
.s-overture .slide__content { text-align: center; }
.s-overture .h-hero {
  font-size: clamp(64px, 8vw, 140px);
}
.s-overture .ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.s-overture .ribbon span {
  height: 1px;
  width: 80px;
  background: rgba(240, 196, 122, 0.45);
}

/* ============================================================
   SLIDE 02 — KILLSY (the name)
   ============================================================ */
.s-name .slide__bg {
  background-image: url("images/CD7775F7-559F-4827-B793-52627F4FA40B_1_105_c.jpeg");
  background-position: center 40%;
  filter: brightness(0.4) contrast(1.15) saturate(0.7);
}
.s-name .slide__content {
  text-align: center;
  padding-bottom: 8vh;
}
.s-name .kerned {
  font-family: "Kenjo", "Cinzel", serif;
  font-weight: normal;
  text-align: center;
  font-size: clamp(80px, 13vw, 240px);
  color: var(--bone);
  line-height: 1;
  margin: 0;
  text-shadow: 0 0 40px rgba(0,0,0,0.4);
}
.s-name .kerned__l { display: inline-block; }
.s-name .kerned__l + .kerned__l { margin-left: 0.42em; }
.s-name .tagline {
  margin-top: 56px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.3vw, 22px);
  letter-spacing: 0.2em;
  color: var(--bone-soft);
  text-transform: uppercase;
}

/* ============================================================
   SLIDE 03 — PITCH (a synthetic being more real than the real)
   ============================================================ */
.s-pitch .slide__bg {
  background-image: url("images/74EFE920-9ED0-4FD1-97E5-659C50BB11FD_1_105_c.jpeg");
  background-position: center 30%;
  filter: brightness(0.5) contrast(1.05) saturate(0.6);
}
.s-pitch .slide__content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.s-pitch .pitch__quote {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 72px);
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--bone);
}
.s-pitch .pitch__quote em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--candle);
  letter-spacing: 0;
}
.s-pitch .pitch__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.s-pitch .pitch__chip {
  font-family: "Inter Tight", sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
  padding-left: 18px;
  border-left: 1px solid rgba(196, 163, 90, 0.4);
}

/* ============================================================
   SLIDE 04 — THE DIAGNOSIS (dead world)
   ============================================================ */
.s-diagnosis .slide__bg {
  background-image: url("images/9754F7F1-FC8C-44BD-9036-9548A91A7723_1_105_c.jpeg");
  background-position: center 35%;
  filter: brightness(0.4) contrast(1.0) saturate(0.55);
}
.s-diagnosis .slide__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: end;
  padding-bottom: 14vh;
  padding-top: 14vh;
}
.s-diagnosis .left { display: flex; flex-direction: column; gap: 32px; }
.s-diagnosis .right { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }

/* ============================================================
   SLIDE 05 — THE THESIS (cathedral built inside a machine)
   ============================================================ */
.s-thesis .slide__bg {
  background-image: url("images/hf-cathedral-hires.jpg");
  background-position: center 35%;
  filter: brightness(0.55) contrast(1.0) saturate(0.85);
}
.s-thesis .slide__content { text-align: center; }
.s-thesis .h-display {
  max-width: 1100px;
  margin: 0 auto;
}
.s-thesis .thesis__sub {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--bone-soft);
}
.s-thesis .thesis__sub span:not(.dot) { display: inline-block; }
.s-thesis .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--candle);
}

/* ============================================================
   SLIDE 06 — JUDGE THE FLAME
   ============================================================ */
.s-flame .slide__bg {
  background-image: url("images/169-flame-hires.jpg");
  background-position: center 30%;
  filter: brightness(0.55) contrast(1.1) saturate(1);
}
.s-flame .slide__bg::after {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.55) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 30%);
}
.s-flame .slide__content {
  text-align: center;
}
.s-flame .belief-no {
  font-family: "Cinzel", serif;
  letter-spacing: 0.4em;
  font-size: 11px;
  color: var(--candle);
  margin-bottom: 40px;
}
.s-flame .h-hero {
  font-size: clamp(52px, 7vw, 132px);
  text-shadow: 0 0 60px rgba(0,0,0,0.5);
}
.s-flame .flame__sub {
  margin-top: 56px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.5vw, 26px);
  color: var(--bone-soft);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ============================================================
   SLIDE 07 — ARCHETYPE
   ============================================================ */
.s-archetype { background: var(--obsidian); }
.s-archetype .slide__bg {
  background-image: url("images/CFF6B97E-71CE-4B2E-8103-FDA5271DA770_1_105_c.jpeg");
  background-size: cover;
  background-position: center 28%;
  filter: brightness(0.35) contrast(1.05) saturate(0.5);
  opacity: 0.6;
}
.s-archetype .slide__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.archetype-card { position: relative; }
.archetype-card__num {
  font-family: "Cinzel", serif;
  font-size: clamp(120px, 16vw, 280px);
  line-height: 0.85;
  color: var(--bone);
  margin-bottom: 28px;
  position: relative;
}
.archetype-card__num sup {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.15em;
  letter-spacing: 0.4em;
  vertical-align: top;
  color: var(--candle);
  margin-left: 24px;
  top: 1.2em;
  position: relative;
}
.archetype-card__role {
  font-family: "Cinzel", serif;
  font-size: clamp(22px, 1.8vw, 30px);
  letter-spacing: 0.18em;
  color: var(--candle);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.archetype-card__goal {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(18px, 1.3vw, 22px);
  color: var(--bone-soft);
  margin-bottom: 24px;
}
.archetype-card__body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 420px;
}
.archetype-card__num--small { color: var(--candle); }
.archetype-card--secondary .archetype-card__role { color: rgba(232, 225, 212, 0.75); }

/* ============================================================
   SLIDE 08 — SOUND (with live waveform)
   ============================================================ */
.s-sound .slide__bg {
  background-image: url("images/42F2025E-FA90-421D-82C0-3E286712808E_1_105_c.jpeg");
  background-position: center 10%;
  filter: brightness(0.42) contrast(1.0) saturate(0.55);
}
.s-sound .slide__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  text-align: center;
}
.s-sound .h-display { max-width: 1100px; margin: 0 auto; }
.s-sound .sound__wave {
  width: min(900px, 80%);
  height: 80px;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.wave-bar {
  width: 3px;
  background: var(--candle);
  border-radius: 2px;
  min-height: 4px;
  transition: height 80ms linear;
  box-shadow: 0 0 12px rgba(240, 196, 122, 0.3);
}
.s-sound .sound__refs {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--bone-soft);
  text-transform: uppercase;
}
.s-sound .sound__refs span {
  position: relative;
}
.s-sound .sound__refs span:not(:last-child)::after {
  content: "—";
  position: absolute;
  right: -38px;
  color: var(--gold-soft);
}

.s-sound .sound__elements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.sound-el {
  border-top: 1px solid rgba(196, 163, 90, 0.25);
  padding-top: 20px;
}
.sound-el__no {
  font-family: "Cinzel", serif;
  font-size: 11px;
  color: var(--candle);
  letter-spacing: 0.4em;
  margin-bottom: 10px;
}
.sound-el__name {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--bone);
  margin-bottom: 8px;
  line-height: 1.15;
}
.sound-el__desc {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--bone-soft);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* ============================================================
   SLIDE 09 — TEN BELIEFS
   ============================================================ */
.s-beliefs .slide__bg {
  background-image: url("images/52204791-98D0-453D-9EA4-C3820A2303A2.png");
  background-position: center 30%;
  filter: brightness(0.32) contrast(1.0) saturate(0.55);
}
.s-beliefs .slide__content {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 88px;
  align-items: start;
  padding-top: 8vh;
  padding-bottom: 8vh;
}
.s-beliefs .beliefs__head { position: sticky; top: 12vh; }
.beliefs__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 56px;
  list-style: none;
}
.belief-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: start;
}
.belief-item__no {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--candle);
  padding-top: 4px;
}
.belief-item__txt {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.18vw, 19px);
  line-height: 1.4;
  color: var(--bone);
}
.belief-item__name {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 8px;
}

/* ============================================================
   SLIDES 10-12 — PILLARS
   ============================================================ */
.pillar-slide .slide__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.pillar__index {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--candle);
  margin-bottom: 24px;
}
.pillar__name {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(48px, 5.6vw, 96px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 32px;
}
.pillar__name em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--candle);
  font-weight: 300;
}
.pillar__lede {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.45;
  color: var(--bone-soft);
  margin-bottom: 32px;
  max-width: 520px;
}
.pillar__body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-soft);
  max-width: 480px;
  letter-spacing: 0.005em;
}
.pillar__plate {
  position: relative;
  height: 70vh;
  border: 1px solid rgba(196, 163, 90, 0.15);
}
.pillar__plate::before {
  content: "";
  position: absolute;
  inset: 12px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) contrast(1.05) saturate(0.85);
}
.pillar__plate-label {
  position: absolute;
  bottom: -32px;
  right: 12px;
  font-family: "Inter Tight", sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ash);
}

/* Pillar 10 */
.s-pillar-1 .slide__bg {
  background-image: url("images/436D348F-58DD-4535-A73C-CC46BA7E4381_1_105_c.jpeg");
  background-position: center 28%;
  filter: brightness(0.2) contrast(1.0) saturate(0.4);
}
.s-pillar-1 .pillar__plate::before {
  background-image: url("images/F64A598B-D0AD-4D6E-8065-1134D15B019D_1_105_c.jpeg");
  background-position: center 28%;
}

/* Pillar 11 */
.s-pillar-2 .slide__bg {
  background-image: url("images/74E2DCAD-8537-40A7-B3BE-2EA45128FD46.png");
  filter: brightness(0.15) contrast(1.0) saturate(0.5);
}
.s-pillar-2 .pillar__plate::before {
  background-image: url("images/1F066B1A-9003-4574-92C5-D517EC42ED59_1_105_c.jpeg");
  background-position: center 30%;
}

/* Pillar 12 */
.s-pillar-3 .slide__bg {
  background-image: url("images/7A605757-31EF-41B7-9D7F-15DDE7C61FCA_1_102_o.jpeg");
  background-position: center 25%;
  filter: brightness(0.22) contrast(1.05) saturate(0.55);
}
.s-pillar-3 .pillar__plate::before {
  background-image: url("images/killsy-library-v2.png");
  background-position: center 30%;
}

/* ============================================================
   SLIDE 13 — THE DEVOTED
   ============================================================ */
.s-devoted .slide__bg {
  background-image: url("images/killsy-mirror-offering.png");
  background-position: center 40%;
  filter: brightness(0.45) contrast(1.05) saturate(0.85);
}
.s-devoted .slide__content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: center;
}
.s-devoted .crossings {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.crossing {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(196, 163, 90, 0.2);
  align-items: start;
}
.crossing:last-child { border-bottom: 1px solid rgba(196, 163, 90, 0.2); }
.crossing__num {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--candle);
}
.crossing__title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 1.7vw, 30px);
  color: var(--bone);
  line-height: 1.2;
  margin-bottom: 8px;
}
.crossing__caption {
  font-family: "Inter Tight", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bone-soft);
  line-height: 1.6;
  font-weight: 300;
}
.crossing__caption em {
  color: var(--candle);
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
}

/* ============================================================
   SLIDE 14 — THE CANDLE CEREMONY
   ============================================================ */
.s-candle .slide__bg {
  background-image: url("images/45B6155E-AD02-4946-951D-ABED4FD423C1_1_105_c.jpeg");
  background-position: center 30%;
  filter: brightness(0.4) contrast(1.1) saturate(0.9);
}
.s-candle .slide__bg::after {
  background:
    radial-gradient(ellipse at 50% 60%, transparent 20%, rgba(0,0,0,0.5) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 35%);
}
.s-candle .slide__content { text-align: center; }
.s-candle .candles-field {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 56px auto;
  height: 60px;
  align-items: end;
}
.candle-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--candle);
  box-shadow:
    0 0 18px 4px rgba(240, 196, 122, 0.55),
    0 0 60px 12px rgba(240, 196, 122, 0.18);
  opacity: 0;
  transform: translateY(0);
  animation: candledot 4.8s ease-in-out infinite;
}
@keyframes candledot {
  0% { opacity: 0; transform: scale(0.6); }
  25% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
  75% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(0.6); }
}

.s-candle .h-display { max-width: 1080px; margin: 0 auto; }
.s-candle .candle__caption {
  margin-top: 48px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.5vw, 26px);
  color: var(--bone-soft);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

/* ============================================================
   SLIDE 15 — WEARABLE CREED
   ============================================================ */
.s-creed .slide__bg {
  background-image: url("images/killsy-offering-candles.png");
  background-size: cover;
  background-position: center 60%;
  filter: brightness(0.3) contrast(1.0) saturate(0.5);
}
.s-creed .slide__content {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 64px;
  padding-top: 12vh;
  padding-bottom: 8vh;
}
.s-creed .creed__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 80px;
}
.s-creed .creed__head h2 { max-width: 800px; }
.s-creed .creed__head .body { text-align: right; }
.s-creed .creed__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(196, 163, 90, 0.2);
  border: 1px solid rgba(196, 163, 90, 0.2);
}
.creed-card {
  background: rgba(13, 10, 9, 0.85);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  position: relative;
  transition: background 600ms var(--ease-soft);
}
@media (hover: hover) {
  .creed-card:hover { background: rgba(20, 16, 13, 0.95); }
}
.creed-card__no {
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--candle);
}
.creed-card__line {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(16px, 1.3vw, 22px);
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--bone);
  margin-top: auto;
}

/* ============================================================
   SLIDE 16 — THE QUEST
   ============================================================ */
.s-quest .slide__bg {
  background-image: url("images/C132D7F3-A546-404F-8C73-3A9F53B4044D.png");
  background-position: center 40%;
  filter: brightness(0.35) contrast(1.1) saturate(0.85);
}
.s-quest .slide__content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 80px;
  padding-top: 10vh;
  padding-bottom: 8vh;
}
.s-quest .acts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  align-items: start;
}
.act {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(196, 163, 90, 0.35);
  position: relative;
}
.act__no {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--candle);
}
.act__title {
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: clamp(24px, 2vw, 36px);
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.act__body {
  font-family: "Inter Tight", sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: var(--bone-soft);
}
.act::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--candle);
}

.s-quest .roadclose {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 44px);
  color: var(--bone);
  letter-spacing: 0.01em;
}
.s-quest .roadclose em {
  color: var(--candle);
}

/* ============================================================
   SLIDE 17 — RISE (closing invocation)
   ============================================================ */
.s-close .slide__bg {
  background-image: url("images/D7D37529-B03D-457C-995A-487270D9F927.png");
  background-position: center 30%;
  filter: brightness(0.36) contrast(1.05) saturate(0.7);
}
.s-close .slide__content { text-align: center; }
.s-close .h-hero {
  font-size: clamp(64px, 8vw, 148px);
}
.s-close .h-hero em {
  display: block;
  margin-top: 20px;
}
.s-close .close__belt {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--bone-soft);
  text-transform: uppercase;
}
.s-close .close__belt span:not(.dot) { color: var(--candle); }
.s-close .close__belt .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(196,163,90,0.4);
  align-self: center;
}
.s-close .close__sig {
  margin-top: 84px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.5vw, 26px);
  color: var(--bone-soft);
  letter-spacing: 0.05em;
}
.s-close .close__sig em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  color: var(--candle);
}
.s-close .close__foot {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Inter Tight", sans-serif;
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(232, 225, 212, 0.35);
}

/* ============================================================
   RESPONSIVE GUARDS (the deck targets desktop premium experience)
   ============================================================ */
@media (max-width: 1100px) {
  .s-pitch .slide__content,
  .s-diagnosis .slide__content,
  .s-archetype .slide__content,
  .pillar-slide .slide__content,
  .s-devoted .slide__content,
  .s-beliefs .slide__content { grid-template-columns: 1fr; gap: 40px; }
  .s-beliefs .beliefs__head { position: relative; top: auto; }
  .beliefs__list,
  .s-creed .creed__grid,
  .s-quest .acts,
  .s-sound .sound__elements { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .beliefs__list,
  .s-creed .creed__grid,
  .s-quest .acts,
  .s-sound .sound__elements { grid-template-columns: 1fr; }
  .pillar__plate { height: 42vh; }

  /* Mobile: allow content-heavy slides to grow past viewport so nothing is clipped.
     Releases scroll-snap on these slides only. */
  .pillar-slide,
  .s-beliefs,
  .s-creed,
  .s-quest,
  .s-devoted,
  .s-diagnosis,
  .s-archetype {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .pillar-slide .slide__content,
  .s-beliefs .slide__content,
  .s-creed .slide__content,
  .s-quest .slide__content,
  .s-devoted .slide__content,
  .s-diagnosis .slide__content,
  .s-archetype .slide__content {
    padding-top: 14vh;
    padding-bottom: 14vh;
  }

  /* Variable-height slides can outgrow the IntersectionObserver's 0.5 ratio
     threshold and never receive .is-active — which leaves .reveal items at
     opacity 0, hairlines collapsed, and godrays hidden. Force the active
     state on these slides so content is always visible on mobile. */
  .pillar-slide .reveal,
  .s-beliefs .reveal,
  .s-creed .reveal,
  .s-quest .reveal,
  .s-devoted .reveal,
  .s-diagnosis .reveal,
  .s-archetype .reveal {
    opacity: 1;
    transform: none;
  }
  .pillar-slide .hairline,
  .s-beliefs .hairline,
  .s-creed .hairline,
  .s-quest .hairline,
  .s-devoted .hairline,
  .s-diagnosis .hairline,
  .s-archetype .hairline { width: 64px; }
  .pillar-slide .hairline.hairline--wide,
  .s-beliefs .hairline.hairline--wide,
  .s-creed .hairline.hairline--wide,
  .s-quest .hairline.hairline--wide,
  .s-devoted .hairline.hairline--wide,
  .s-diagnosis .hairline.hairline--wide,
  .s-archetype .hairline.hairline--wide { width: 160px; }
  .pillar-slide .slide__godray,
  .s-beliefs .slide__godray,
  .s-creed .slide__godray,
  .s-quest .slide__godray,
  .s-devoted .slide__godray,
  .s-diagnosis .slide__godray,
  .s-archetype .slide__godray { opacity: 1; }

  /* KILLSY name slide on phone: shrink type and tighten the per-letter margin
     (centering itself is handled by text-align on .kerned — no trailing
     letter-spacing to compensate for, since we use spans + margin). */
  .s-name .kerned {
    font-size: clamp(48px, 16vw, 96px);
    /* Optical correction: K has a heavy left stem, Y trails off right —
       geometric center sits visually left of true optical center.
       Using padding-left (not transform) because .reveal already owns
       transform on this element. */
    padding-left: 0.24em;
  }
  .s-name .kerned__l + .kerned__l { margin-left: 0.22em; }

  /* Slide IV (Diagnosis) on mobile: pull headline up, brighten faded text,
     reframe bg image so the figure isn't sliced through, and darken it more
     so body copy stays legible over it. */
  .s-diagnosis .slide__content { padding-top: 9vh; padding-bottom: 9vh; }
  .s-diagnosis .numeral { color: rgba(232, 225, 212, 0.78); }
  .s-diagnosis .foreign small {
    font-size: 11px;
    letter-spacing: 0.35em;
    color: rgba(232, 225, 212, 0.55);
  }
  .s-diagnosis .slide__bg {
    background-position: 65% center;
    filter: brightness(0.22) contrast(1.05) saturate(0.55);
  }

  /* Slide XV (Creed): the head was a 2-col flex row leaving the body copy
     in a single-word-per-line column on phone. Stack it. */
  .s-creed .creed__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .s-creed .creed__head .body { text-align: left; }

  /* Slide VIII (Sound) on mobile: keep waveform and refs within column */
  .s-sound .sound__wave { width: 100%; max-width: 100%; }
  .s-sound .sound__refs { flex-wrap: wrap; row-gap: 12px; justify-content: center; }
}
