/* ─────────────────────────────────────────────────────────────
   The Bride of Christ · RCF Ikole Bible Study Conference
   Palette pulled from the official flyer: poster orange, ember
   black, ivory, gold script and the slate of the big letters.
   ───────────────────────────────────────────────────────────── */
:root {
  --ember-950: #0f0605;
  --ember-900: #140806;
  --ember-850: #1a0b07;
  --ember-800: #22100a;
  --ember-700: #2f160d;
  --line: rgba(247, 236, 220, 0.12);
  --line-strong: rgba(247, 236, 220, 0.22);

  --orange: #f0561d;
  --orange-hot: #ff7a2e;
  --orange-deep: #c7360f;
  --gold: #f6a646;
  --gold-soft: #ffd27a;
  --ivory: #f7ecdc;
  --ivory-dim: rgba(247, 236, 220, 0.7);
  --ivory-faint: rgba(247, 236, 220, 0.5);
  --slate: #17212a;
  --slate-2: #0e151b;

  --f-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --f-script: "Mr Dafoe", "Brush Script MT", cursive;
  --f-label: "Montserrat", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ember-900);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ivory); color: var(--ember-900); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ─── buttons ─────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-label); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, border-color 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 15px; }
.btn-ink { background: var(--slate); color: var(--ivory); box-shadow: 0 10px 30px -10px rgba(14, 21, 27, 0.8); }
.btn-ink:hover { background: #0b1116; }
.btn-ghost-dark { color: var(--slate); border: 1.5px solid rgba(23, 33, 42, 0.7); background: rgba(255, 236, 200, 0.32); backdrop-filter: blur(6px); }
.btn-ghost-dark:hover { background: rgba(255, 236, 200, 0.55); }
.btn-fire {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange) 60%, var(--orange-deep));
  color: #fff; box-shadow: 0 12px 34px -12px rgba(240, 86, 29, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-fire:hover { box-shadow: 0 16px 40px -12px rgba(255, 122, 46, 1), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-outline { border-color: var(--line-strong); color: var(--ivory); background: rgba(247, 236, 220, 0.03); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ─── nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  transition: background-color 0.35s, backdrop-filter 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
  color: var(--slate);
}
.nav.scrolled { background: rgba(20, 8, 6, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); color: var(--ivory); padding-block: 10px; }
.nav.scrolled .btn-ink { background: var(--orange); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-label); font-size: 13px; line-height: 1.25; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #e9f0f3; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.brand b { font-weight: 800; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 28px; font-family: var(--f-label); font-size: 13px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ─── hero ────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  padding: 110px var(--gutter) 70px;
  color: var(--slate);
  background:
    radial-gradient(120% 70% at 50% 8%, #ffe9b0 0%, #ffbf63 14%, #ff8a3d 32%, #f0561d 55%, #c7360f 82%, #8e230a 100%);
}
.hero-bg, .hero-bg > * { position: absolute; inset: 0; pointer-events: none; }
.hero-bg { z-index: -1; }
.hero-clouds {
  background:
    radial-gradient(40% 30% at 18% 30%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(35% 28% at 82% 22%, rgba(255, 230, 190, 0.2), transparent 70%),
    radial-gradient(50% 35% at 15% 85%, rgba(90, 20, 0, 0.35), transparent 70%),
    radial-gradient(45% 35% at 90% 80%, rgba(90, 20, 0, 0.3), transparent 70%),
    radial-gradient(30% 25% at 65% 55%, rgba(255, 210, 160, 0.16), transparent 70%);
  mix-blend-mode: soft-light;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero-light {
  background:
    radial-gradient(18% 48% at 50% 34%, rgba(255, 252, 235, 0.85), rgba(255, 240, 200, 0.35) 45%, transparent 75%),
    radial-gradient(40% 22% at 50% 0%, rgba(255, 255, 240, 0.7), transparent 80%);
  animation: breathe 7s ease-in-out infinite;
}
.grain {
  opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.embers { width: 100%; height: 100%; }
.hero::after { /* fade into the dark page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(20, 8, 6, 0.55));
}

.hero-inner { width: min(1100px, 100%); min-width: 0; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.38em; font-size: clamp(11px, 1.3vw, 15px); color: rgba(23, 33, 42, 0.9);
  margin-bottom: clamp(10px, 2vw, 22px);
  padding-left: 0.38em;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: 0.55; }

.title { position: relative; display: grid; justify-items: center; line-height: 0.84; }
.t-line {
  display: block;
  font-family: var(--f-display); font-size: clamp(96px, 22vw, 290px); letter-spacing: -0.005em;
  background: linear-gradient(180deg, #2a3945 0%, #17212a 55%, #0b1116 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 26px rgba(20, 8, 2, 0.45));
  opacity: 0; transform: translateY(40px) scale(0.98);
  animation: rise 1.1s var(--ease) forwards;
}
.t2 { animation-delay: 0.15s; }
.script {
  position: absolute; z-index: 2;
  font-family: var(--f-script); color: #ffb347; font-size: clamp(64px, 13vw, 180px); line-height: 1;
  text-shadow: 0 3px 0 rgba(80, 20, 0, 0.35), 0 8px 30px rgba(60, 15, 0, 0.55);
  opacity: 0; animation: ink 1.2s var(--ease) forwards;
}
.s-the { top: -0.12em; left: 50%; transform: translateX(-62%) rotate(-9deg); animation-delay: 0.55s; }
.s-of { top: 41%; left: 50%; transform: translateX(10%) rotate(-7deg); animation-delay: 0.75s; }

.hero-meta {
  list-style: none; padding: 0; margin: clamp(24px, 4vw, 40px) 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.hero-meta li {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 20px; border-radius: 14px;
  background: rgba(23, 33, 42, 0.86); color: var(--ivory);
  box-shadow: 0 14px 30px -16px rgba(14, 21, 27, 0.9);
}
.hero-meta span { font-family: var(--f-label); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.hero-meta b { font-family: var(--f-display); font-weight: 400; font-size: clamp(17px, 2vw, 22px); letter-spacing: 0.03em; text-transform: uppercase; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.countdown { display: flex; gap: clamp(14px, 3vw, 34px); margin-top: 34px; color: var(--ivory); text-shadow: 0 2px 18px rgba(60, 12, 0, 0.45); }
.countdown div { display: grid; justify-items: center; min-width: 54px; }
.countdown b { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 4.4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--f-label); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; opacity: 0.8; margin-top: 6px; }

.butterfly {
  position: absolute; right: 7%; bottom: 14%; width: clamp(40px, 5vw, 64px); color: #ffb347;
  filter: drop-shadow(0 0 14px rgba(255, 210, 120, 0.8)); opacity: 0.9;
  animation: flutter 9s ease-in-out infinite;
}

@keyframes rise { to { opacity: 1; transform: none; } }
/* negative insets: script swashes (the tail of the "f") reach outside the text box */
@keyframes ink { from { opacity: 0; filter: blur(8px); clip-path: inset(-60% 100% -60% -30%); } to { opacity: 1; filter: blur(0); clip-path: inset(-60% -40% -60% -30%); } }
@keyframes breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.05); } to { transform: translate3d(2%, 1%, 0) scale(1.1); } }
@keyframes flutter {
  0%, 100% { transform: translate(0, 0) rotate(-8deg) scaleX(1); }
  25% { transform: translate(-30px, -40px) rotate(4deg) scaleX(0.82); }
  50% { transform: translate(-70px, -20px) rotate(-6deg) scaleX(1); }
  75% { transform: translate(-30px, 10px) rotate(6deg) scaleX(0.85); }
}

/* ─── marquee ─────────────────────────────────────────── */
.marquee { overflow: hidden; background: var(--slate); border-block: 1px solid rgba(255, 255, 255, 0.06); }
.marquee-track { display: flex; width: max-content; gap: 28px; align-items: center; padding: 16px 0; animation: scroll 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: clamp(18px, 2.4vw, 26px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--orange); font-size: 14px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── sections ────────────────────────────────────────── */
.section { position: relative; padding-block: clamp(72px, 10vw, 130px); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker {
  font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.section h2 {
  font-family: var(--f-display); font-size: clamp(44px, 6.6vw, 84px); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.005em;
}
.section h2 em {
  font-family: var(--f-script); font-style: normal; text-transform: none; color: var(--orange-hot);
  font-size: 1.08em; letter-spacing: 0; padding-left: 0.04em; display: inline-block; transform: rotate(-4deg) translateY(0.04em);
}
.lede { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ivory-dim); max-width: 58ch; }

/* ─── maker ───────────────────────────────────────────── */
.maker { background:
  radial-gradient(60% 50% at 85% 10%, rgba(240, 86, 29, 0.16), transparent 70%),
  radial-gradient(50% 40% at 0% 100%, rgba(240, 86, 29, 0.1), transparent 70%),
  var(--ember-900); }
.maker-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) {
  .maker-grid { grid-template-columns: 1fr; }
  .preview-col { order: -1; }
}

.panel {
  background: linear-gradient(180deg, rgba(47, 22, 13, 0.7), rgba(26, 11, 7, 0.7));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.step { border: 0; margin: 0; padding: 0 0 24px; min-width: 0; }
.step + .step { padding-top: 22px; border-top: 1px solid var(--line); }
.step:last-child { padding-bottom: 0; }
.step > legend + * { clear: both; }
.step legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px;
  font-family: var(--f-label); font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
}
.step legend i {
  font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 800;
}
.step legend small { font-weight: 500; color: var(--ivory-faint); }

.drop {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 22px; border-radius: var(--radius);
  border: 1.5px dashed rgba(246, 166, 70, 0.45);
  background: rgba(240, 86, 29, 0.06);
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.drop:hover, .drop.is-over { border-color: var(--gold); background: rgba(240, 86, 29, 0.14); }
.drop.is-over { transform: scale(1.01); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(240, 86, 29, 0.9); }
.drop-text { display: grid; line-height: 1.35; }
.drop-text b { font-family: var(--f-label); font-size: 15px; }
.drop-text span { font-size: 14px; color: var(--ivory-dim); }
.drop.has-photo { padding-block: 14px; }
.drop.has-photo .drop-icon { width: 40px; height: 40px; }

.adjust { margin-top: 16px; display: grid; gap: 12px; }
.range-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; font-family: var(--f-label); font-size: 13px; font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--orange) var(--p, 0%), rgba(247, 236, 220, 0.15) var(--p, 0%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory); border: 4px solid var(--orange); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 4px solid var(--orange); cursor: grab; }
.hint { font-size: 13px; color: var(--ivory-faint); }
.name-hint { margin-top: 10px; }
.name-hint span { color: var(--gold); font-weight: 600; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--gold); font-family: var(--f-label); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle span { position: relative; width: 40px; height: 22px; border-radius: 22px; background: rgba(247, 236, 220, 0.18); transition: background-color 0.2s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); transition: transform 0.25s var(--ease); }
.toggle input:checked + span { background: var(--orange); }
.toggle input:checked + span::after { transform: translateX(18px); }
.toggle input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

.text-input {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 14px;
  background: rgba(15, 6, 5, 0.6); border: 1px solid var(--line-strong);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.text-input::placeholder { color: rgba(247, 236, 220, 0.35); }
.text-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240, 86, 29, 0.2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  font-family: var(--f-script); font-size: 24px; line-height: 1; color: var(--ivory);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-checked="true"] { background: var(--ivory); color: var(--ember-900); border-color: var(--ivory); }

.swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.swatch {
  display: grid; gap: 8px; padding: 8px 8px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: rgba(15, 6, 5, 0.4); cursor: pointer;
  font-family: var(--f-label); font-size: 13px; font-weight: 700; text-align: center; transition: border-color 0.2s, transform 0.2s;
}
.swatch i { display: block; height: 54px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-checked="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 86, 29, 0.22); }

.segmented { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(15, 6, 5, 0.6); border: 1px solid var(--line); }
.segmented button {
  border: 0; background: transparent; padding: 10px; border-radius: 10px; cursor: pointer;
  display: grid; line-height: 1.2; font-family: var(--f-label); font-weight: 700; font-size: 14px; transition: background-color 0.2s, color 0.2s;
}
.tone-row { display: grid; gap: 8px; }
.tone-label { font-family: var(--f-label); font-size: 13px; font-weight: 600; }
.segmented.tone { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
.segmented.tone button { padding: 9px 6px; font-size: 13px; }
.adjust .link-btn { justify-self: start; }
.segmented button small { font-weight: 500; font-size: 11px; color: var(--ivory-faint); }
.segmented button[aria-checked="true"] { background: var(--ivory); color: var(--ember-900); }
.segmented button[aria-checked="true"] small { color: rgba(20, 8, 6, 0.6); }

.preview-col { position: sticky; top: 90px; display: grid; gap: 18px; justify-items: center; }
@media (max-width: 900px) { .preview-col { position: static; } }
.preview-stage {
  position: relative; width: 100%; max-width: 480px; border-radius: 22px; overflow: hidden;
  background: var(--ember-800);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line), 0 0 90px -20px rgba(240, 86, 29, 0.45);
  transition: max-width 0.4s var(--ease);
  /* the page scrolls normally over the preview; only Adjust mode captures touches */
  touch-action: pan-y; cursor: default;
}
.preview-stage.story { max-width: 380px; }
.preview-stage.adjusting {
  touch-action: none; cursor: grab;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 0 3px var(--orange), 0 0 90px -10px rgba(240, 86, 29, 0.7);
}
@media (hover: hover) and (pointer: fine) { .preview-stage.can-drag { cursor: grab; } }
.preview-stage.dragging { cursor: grabbing; }
.stage-pill {
  margin-top: -4px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: rgba(247, 236, 220, 0.05); color: var(--ivory);
  font-family: var(--f-label); font-weight: 700; font-size: 14px; cursor: pointer;
  touch-action: manipulation; transition: background-color 0.2s, border-color 0.2s;
}
.stage-pill:hover { border-color: var(--gold); }
.stage-pill[aria-pressed="true"] { background: var(--orange); border-color: transparent; color: #fff; }
.stage-tip {
  position: absolute; left: 50%; top: 14px; transform: translate(-50%, -8px); opacity: 0; pointer-events: none;
  padding: 7px 14px; border-radius: 999px; background: rgba(15, 6, 5, 0.78); color: var(--ivory);
  font-family: var(--f-label); font-weight: 600; font-size: 12px; white-space: nowrap;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.adjusting .stage-tip { opacity: 1; transform: translate(-50%, 0); }
.preview-stage canvas { display: block; width: 100%; height: auto; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-label); font-size: 13px; color: var(--ivory-dim); background: var(--ember-800); transition: opacity 0.3s; }
.stage-loading.done { opacity: 0; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.actions .btn { flex: 1 1 200px; max-width: 280px; }
.privacy { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory-faint); text-align: center; max-width: 420px; }
.privacy svg { flex: none; color: var(--gold); }

/* ─── theme ───────────────────────────────────────────── */
.theme { overflow: hidden; background: var(--ember-950); }
.theme-glow { position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255, 196, 120, 0.18), transparent); pointer-events: none; }
.theme-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .theme-grid { grid-template-columns: 1fr; } }
.verses { display: grid; gap: 18px; }
.verse {
  margin: 0; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(240, 86, 29, 0.14), rgba(240, 86, 29, 0.02));
  border: 1px solid rgba(246, 166, 70, 0.22);
  position: relative;
}
.verse::before { content: "“"; position: absolute; top: -18px; right: 22px; font-family: var(--f-display); font-size: 120px; line-height: 1; color: var(--orange); opacity: 0.35; }
.verse blockquote { margin: 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55; color: var(--ivory); }
.verse figcaption { margin-top: 14px; font-family: var(--f-label); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

/* ─── speaker ─────────────────────────────────────────── */
.speaker { background: linear-gradient(180deg, var(--ember-950), var(--ember-850)); }
.speaker-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 800px) { .speaker-grid { grid-template-columns: 1fr; } }
.speaker-photo { position: relative; max-width: 340px; justify-self: center; width: 100%; }
.speaker-photo img {
  width: 100%; aspect-ratio: 412 / 536; object-fit: cover;
  border-radius: 999px 999px 26px 26px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(247, 236, 220, 0.92);
}
.speaker-ring { position: absolute; inset: -22px; border-radius: 999px 999px 40px 40px; border: 1.5px solid rgba(246, 166, 70, 0.4); pointer-events: none; }
.small-title { display: block; font-family: var(--f-script); text-transform: none; color: var(--orange-hot); font-size: 0.62em; line-height: 0.9; transform: rotate(-4deg); transform-origin: left; }
.speaker-copy .btn { margin-top: 28px; }

/* ─── details ─────────────────────────────────────────── */
.details { background: var(--ember-850); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 16px; }
@media (max-width: 900px) { .details-grid { grid-template-columns: 1fr 1fr; } .venue-card { grid-column: 1 / -1; } }
.day-card, .venue-card {
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line); background: rgba(47, 22, 13, 0.5);
  display: grid; align-content: start; gap: 4px;
}
.day-card { background: linear-gradient(170deg, var(--orange) 0%, var(--orange-deep) 100%); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.day-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 0%, rgba(255, 240, 200, 0.45), transparent); pointer-events: none; }
.day-label { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; opacity: 0.85; }
.venue-card .day-label { color: var(--gold); opacity: 1; }
.day-num { font-family: var(--f-display); font-weight: 400; font-size: clamp(72px, 9vw, 120px); line-height: 0.95; margin-top: 10px; color: var(--slate); }
.day-month { font-family: var(--f-display); font-size: clamp(17px, 2vw, 22px); text-transform: uppercase; letter-spacing: 0.03em; }
.day-meta { font-size: 14px; opacity: 0.9; }
.venue-card h3 { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 44px); line-height: 1; text-transform: uppercase; margin-top: 12px; }
.venue-card p { color: var(--ivory-dim); margin-top: 6px; }
.venue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ─── poster ──────────────────────────────────────────── */
.poster { background: var(--ember-900); overflow: hidden; }
.poster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 800px) { .poster-grid { grid-template-columns: 1fr; } }
.poster-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.poster-frame { position: relative; max-width: 460px; justify-self: center; transform: rotate(2.5deg); transition: transform 0.6s var(--ease); }
.poster-frame:hover { transform: rotate(0deg) scale(1.02); }
.poster-frame::before { content: ""; position: absolute; inset: 8% -8% -6%; background: radial-gradient(closest-side, rgba(240, 86, 29, 0.55), transparent); filter: blur(30px); z-index: -1; }
.poster-frame img { border-radius: 14px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95); }

/* ─── footer ──────────────────────────────────────────── */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--ember-950); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer .brand { color: var(--ivory-dim); }
.footer .brand b { color: var(--ivory); letter-spacing: 0.01em; }
.footer-tag { font-family: var(--f-display); font-size: 22px; letter-spacing: 0.06em; color: var(--orange-hot); }

/* ─── toast ───────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ivory); color: var(--ember-900); padding: 12px 20px; border-radius: 999px;
  font-family: var(--f-label); font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s, transform 0.3s var(--ease); max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── reveal on scroll ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.6s; }
.hero .reveal + .reveal { transition-delay: 0.75s; }
.hero .reveal + .reveal + .reveal { transition-delay: 0.9s; }

/* ─── small screens ───────────────────────────────────── */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .t-line { font-size: 27vw; }
  .script { font-size: 16vw; }
  .hero-meta li { padding: 8px 14px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; white-space: normal; text-align: center; font-size: 14px; padding: 10px 20px; }
  .eyebrow { letter-spacing: 0.3em; gap: 10px; }
  .eyebrow::before, .eyebrow::after { width: 20px; }
  .nav .btn { --h: 36px; padding: 0 14px; font-size: 12px; }
  .brand span span { display: none; }
  .butterfly { right: 6%; bottom: 6%; }
  .swatch i { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .t-line, .script { opacity: 1; transform: none; }
  .s-the { transform: translateX(-62%) rotate(-9deg); }
  .s-of { transform: translateX(10%) rotate(-7deg); }
  .reveal { opacity: 1; transform: none; }
}
