/* ═══════════════════════════════════════════════════════════
   SCHMUSERKADSER — the real name of the cashcat
   palette: gruft black / knochen bone / tränenblau / altgold / nasenrosa
   ═══════════════════════════════════════════════════════════ */

:root {
  --gruft: #100d0a;
  --gruft-2: #171310;
  --gruft-3: #1f1a15;
  --bone: #eae0ce;
  --bone-dim: #b0a48d;
  --blue: #8fc3e8;
  --glint: #d6ecff;
  --gold: #c9973b;
  --gold-2: #e8c15c;
  --rosa: #d68e93;
  --line: rgba(234, 224, 206, 0.14);

  --font-black: "Pirata One", "UnifrakturCook", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--gruft);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

::selection { background: var(--gold); color: var(--gruft); }

a { color: inherit; }

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

/* faint candle-grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.92 0 0 0 0 0.88 0 0 0 0 0.8 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ PRELOADER ═══════════ */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--gruft);
}

#preloader.done { display: none; }

.pre-inner { text-align: center; position: relative; z-index: 2; }

.pre-name {
  font-family: var(--font-black);
  font-size: clamp(2rem, 7vw, 5.5rem);
  letter-spacing: 0.04em;
  color: var(--bone);
  min-height: 1.2em;
}
.pre-name .pre-letter { display: inline-block; }

.pre-sub {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.pre-dots i { font-style: normal; animation: dotblink 1.2s infinite; }
.pre-dots i:nth-child(2) { animation-delay: 0.2s; }
.pre-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotblink { 0%, 60% { opacity: 0; } 61%, 100% { opacity: 1; } }

.pre-veil {
  position: absolute;
  inset: 0;
  background: var(--gruft-2);
  transform: scaleY(0);
  transform-origin: top;
}

/* ═══════════ CURSOR ═══════════ */

.cursor-dot, .cursor-ring {
  display: none;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99;
  border-radius: 50%;
}

@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
  .cursor-dot {
    width: 7px; height: 7px;
    background: var(--gold-2);
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(201, 151, 59, 0.55);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease;
  }
  body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    border-color: var(--blue);
    border-radius: 46% 54% 52% 48% / 40% 42% 58% 60%; /* tear-ish blob */
  }
}

/* ═══════════ BUTTONS ═══════════ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

.btn .btn-label { position: relative; z-index: 2; }

.btn-gold {
  background: linear-gradient(160deg, var(--gold-2), var(--gold) 60%);
  color: #241a0b;
  box-shadow: 0 0 0 1px rgba(232, 193, 92, 0.35), 0 12px 34px -14px rgba(201, 151, 59, 0.65);
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 250, 235, 0.75), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s ease;
}
.btn-gold:hover::before { left: 130%; }

.btn-ghost {
  border-color: var(--line);
  color: var(--bone);
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 151, 59, 0.08); }

.btn-small { padding: 0.6rem 1.2rem; font-size: 0.68rem; }

/* ═══════════ NAV ═══════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad-x);
  opacity: 0;
  transform: translateY(-12px);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.on { opacity: 1; transform: none; transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s, background 0.4s ease; }
.nav.scrolled {
  background: rgba(16, 13, 10, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-seal { color: var(--gold); display: inline-flex; }
.seal-mono {
  font-family: var(--font-black);
  font-size: 17px;
  fill: var(--bone);
}

.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-dim);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--gold-2); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ═══════════ SHARED SECTION SCAFFOLD ═══════════ */

.section { padding: clamp(6rem, 12vh, 9rem) var(--pad-x); position: relative; }

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 7vh, 5rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.eyebrow-rule { width: 3rem; height: 1px; background: var(--gold); opacity: 0.6; flex: none; }

.section-title {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  margin-top: 1.1rem;
  color: var(--bone);
}

.section-sub {
  margin-top: 0.9rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bone-dim);
}

/* ═══════════ HERO ═══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--pad-x) 0;
  overflow: hidden;
}

#tearCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(115% 90% at 72% 38%, rgba(201, 151, 59, 0.09), transparent 55%),
    radial-gradient(90% 80% at 28% 70%, rgba(143, 195, 232, 0.05), transparent 60%),
    radial-gradient(140% 120% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex: 1;
}

.hero-name {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(3.4rem, 10.5vw, 9rem);
  line-height: 0.92;
  letter-spacing: 0.015em;
  color: var(--bone);
  margin: 1.4rem 0 1.8rem;
  text-shadow: 0 0 60px rgba(234, 224, 206, 0.08);
}
.hero-name .name-line { display: block; overflow: hidden; }
.hero-name .name-line-2 { color: var(--gold-2); padding-left: clamp(1.5rem, 4vw, 4.5rem); }
.hero-name .char { display: inline-block; will-change: transform; }

.hero-decree {
  max-width: 34rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--bone-dim);
}
.hero-decree strong { color: var(--bone); font-weight: 600; }
.hero-decree em { color: var(--rosa); }

.hero-prophecy {
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.4;
  color: var(--blue);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* CA chip */
.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.7rem 1.1rem;
  background: rgba(23, 19, 16, 0.75);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.3s ease;
  max-width: 100%;
}
.ca-chip:hover { border-color: var(--gold); }
.ca-label { color: var(--gold); letter-spacing: 0.2em; }
.ca-value { min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bone-dim); }
.ca-copy { color: var(--blue); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.62rem; }

/* the seal */
.hero-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.seal-wrap {
  position: relative;
  width: min(30rem, 78vw, 46vh);
  aspect-ratio: 1;
}

.seal-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: ringspin 70s linear infinite;
}
@keyframes ringspin { to { transform: rotate(360deg); } }

.ring-text {
  font-family: var(--font-mono);
  font-size: 21px;
  letter-spacing: 6px;
  fill: var(--gold);
  opacity: 0.85;
}

.portrait {
  position: absolute;
  inset: 11.5%;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--gruft-2);
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(201, 151, 59, 0.4),
    0 0 90px -18px rgba(234, 224, 206, 0.28),
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
  border-radius: 50%;
  filter: sepia(0.18) contrast(1.06) brightness(0.96);
}
.portrait-fallback { display: none; }
.portrait.img-missing img { display: none; }
.portrait.img-missing .portrait-fallback { display: block; }
.portrait-fallback svg { width: 100%; height: 100%; display: block; }
.fb-name { font-family: var(--font-black); font-size: 64px; fill: var(--bone); }
.fb-note { font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; fill: var(--gold); text-transform: uppercase; }

.sob-layer { position: absolute; inset: 0; pointer-events: none; }
.sob-word {
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--glint);
  text-shadow: 0 2px 18px rgba(143, 195, 232, 0.5);
  white-space: nowrap;
  pointer-events: none;
}

.tear-ledger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.ledger-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.ledger-count {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--glint);
  font-variant-numeric: tabular-nums;
}
.ledger-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--bone-dim);
}

/* ticker */
.ticker {
  position: relative;
  z-index: 2;
  margin: 3.5rem calc(var(--pad-x) * -1) 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(16, 13, 10, 0.6);
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: tickerscroll 36s linear infinite;
}
.ticker-seg {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--bone-dim);
  padding-right: 0;
}
.ticker-seg:nth-child(even) { color: var(--gold); }
@keyframes tickerscroll { to { transform: translateX(-50%); } }

/* ═══════════ PROPHECY ═══════════ */

.prophecy { position: relative; background: var(--gruft-2); }

.prophecy-pin { overflow: hidden; }

.prophecy-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(234, 224, 206, 0.08);
  z-index: 5;
}
.prophecy-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
}

.chapters { display: flex; }

.chapter {
  flex: none;
  width: 100vw;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem var(--pad-x);
  position: relative;
  border-right: 1px solid rgba(234, 224, 206, 0.06);
}

.chapter-inner {
  position: relative;
  max-width: 40rem;
  z-index: 2;
}

.chapter-numeral {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  font-family: var(--font-black);
  font-size: clamp(16rem, 42vw, 34rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 151, 59, 0.22);
  z-index: -1;
  user-select: none;
}

.chapter-kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.chapter-title {
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1.6rem;
  color: var(--bone);
}

.chapter-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--bone-dim);
}
.chapter-text em { color: var(--blue); }

.chapter .btn { margin-top: 2.2rem; }

.chapter-artifact { margin-top: 2.4rem; }

.stamp-2014 {
  display: inline-grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  border: 2px solid var(--rosa);
  border-radius: 50%;
  transform: rotate(-9deg);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-align: center;
  line-height: 1.3;
  color: var(--rosa);
  opacity: 0.85;
  box-shadow: inset 0 0 0 4px var(--gruft-2), inset 0 0 0 5px rgba(214, 142, 147, 0.5);
}

.wrong-names {
  list-style: none;
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.wrong-names .wrong s { color: rgba(176, 164, 141, 0.55); text-decoration-color: var(--rosa); text-decoration-thickness: 1.5px; }
.wrong-names .right { color: var(--gold-2); font-size: 1rem; margin-top: 0.4rem; }

/* mobile prophecy: vertical */
@media (max-width: 899px) {
  .chapters { flex-direction: column; }
  .chapter { width: 100%; min-height: auto; padding: 5rem var(--pad-x); border-right: 0; border-bottom: 1px solid rgba(234, 224, 206, 0.06); }
  .prophecy-progress { display: none; }
}

/* ═══════════ THE RELICS ═══════════ */

.relics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}

.relic { position: relative; }
.relic:nth-child(2) { margin-top: clamp(1.5rem, 4vh, 3.5rem); }
.relic:nth-child(4) { margin-top: clamp(1.5rem, 4vh, 3.5rem); }

.relic-frame {
  position: relative;
  border: 1px solid rgba(201, 151, 59, 0.55);
  padding: clamp(0.5rem, 1vw, 0.8rem);
  background: var(--gruft-3);
  box-shadow:
    inset 0 0 0 1px rgba(16, 13, 10, 0.9),
    0 24px 50px -22px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.relic-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 151, 59, 0.28);
  pointer-events: none;
  z-index: 2;
}
.relic-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.relic:hover .relic-frame {
  transform: translateY(-8px) rotate(-0.6deg);
  box-shadow:
    inset 0 0 0 1px rgba(16, 13, 10, 0.9),
    0 34px 60px -20px rgba(0, 0, 0, 0.9),
    0 0 40px -8px rgba(201, 151, 59, 0.25);
}
.relic:hover .relic-frame img { transform: scale(1.045); }

/* treatments */
.relic[data-relic="original"] img { filter: sepia(0.35) contrast(1.05) brightness(0.94); }
.relic[data-relic="gold"] img { filter: sepia(1) saturate(1.7) hue-rotate(-12deg) contrast(1.08) brightness(0.9); }
.relic[data-relic="doubt"] img { filter: sepia(0.5) saturate(0.7) contrast(1.02) brightness(0.9); }
.relic[data-relic="blue"] img { filter: grayscale(1) sepia(1) hue-rotate(165deg) saturate(1.9) brightness(0.78) contrast(1.1); }
.relic:hover img { filter: sepia(0.1) contrast(1.04) brightness(1); }

.relic figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.1rem;
}
.relic-no {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.relic-name {
  font-family: var(--font-black);
  font-size: 1.7rem;
  color: var(--bone);
}
.relic-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--bone-dim);
}

@media (max-width: 980px) {
  .relics-grid { grid-template-columns: repeat(2, 1fr); }
  .relic:nth-child(4) { margin-top: 0; }
}
@media (max-width: 520px) {
  .relics-grid { grid-template-columns: 1fr; }
  .relic:nth-child(even) { margin-top: 0; }
}

/* ═══════════ TEARCONOMICS ═══════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-card {
  background: var(--gruft);
  padding: 2.2rem 1.8rem 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.stat-card:hover { background: var(--gruft-3); }
.stat-card::after {
  content: "";
  position: absolute;
  left: 1.8rem;
  bottom: 1.4rem;
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.stat-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  color: var(--bone);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat-word { color: var(--rosa); letter-spacing: 0.04em; }

.stat-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--bone-dim);
}

@media (max-width: 980px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

.tearchart {
  margin-top: clamp(3rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border: 1px solid var(--line);
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(80% 100% at 20% 50%, rgba(143, 195, 232, 0.06), transparent 60%),
    var(--gruft-2);
}

.tearchart-visual svg { width: min(15rem, 100%); display: block; margin: 0 auto; filter: drop-shadow(0 0 34px rgba(143, 195, 232, 0.25)); }

.tearchart-number {
  font-family: var(--font-black);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 1;
  color: var(--glint);
  display: block;
}

.tearchart-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.8rem 0 1.2rem;
}

.tearchart-text {
  font-size: 1.02rem;
  color: var(--bone-dim);
  max-width: 34rem;
}

@media (max-width: 760px) { .tearchart { grid-template-columns: 1fr; } }

/* ═══════════ HOW TO BUY ═══════════ */

.how { background: var(--gruft-2); }

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  counter-reset: none;
}

.step {
  display: grid;
  grid-template-columns: clamp(5rem, 12vw, 10rem) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(2.2rem, 5vh, 3.4rem) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:nth-child(even) .step-body { transform: translateX(clamp(0rem, 4vw, 4rem)); }

.step-numeral {
  font-family: var(--font-black);
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--gold);
  user-select: none;
}

.step-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--bone);
  margin-bottom: 0.5rem;
}

.step-text { max-width: 36rem; color: var(--bone-dim); }

.inline-link {
  color: var(--blue);
  text-decoration-color: rgba(143, 195, 232, 0.4);
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.inline-link:hover { color: var(--glint); }

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 0.8rem; }
  .step:nth-child(even) .step-body { transform: none; }
}

/* ═══════════ CHOIR ═══════════ */

.choir-rows {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0 calc(var(--pad-x) * -1);
}

.choir-row { overflow: hidden; }

.choir-track {
  display: inline-flex;
  gap: 1.2rem;
  padding-right: 1.2rem;
  white-space: normal;
  will-change: transform;
  animation: choirleft 44s linear infinite;
}
.choir-row[data-dir="right"] .choir-track { animation-name: choirright; animation-duration: 52s; }

@keyframes choirleft { to { transform: translateX(-50%); } }
@keyframes choirright { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.quote {
  flex: none;
  width: clamp(18rem, 26vw, 24rem);
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  background: var(--gruft-2);
  border-radius: 3px;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--bone);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.quote-avatar {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 151, 59, 0.5);
  filter: sepia(0.3) brightness(0.95);
}

.choir-cta {
  margin-top: clamp(3.5rem, 8vh, 6rem);
  text-align: center;
}
.choir-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--blue);
  margin-bottom: 1.8rem;
}
.choir-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════ FOOTER ═══════════ */

.footer {
  padding: clamp(4rem, 9vh, 7rem) var(--pad-x) 3rem;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 50% 120%, rgba(201, 151, 59, 0.08), transparent 60%),
    var(--gruft);
  text-align: center;
}

.footer-name svg { width: 100%; height: auto; display: block; }
#footerText {
  font-family: var(--font-black);
  font-size: 150px;
  fill: transparent;
  stroke: rgba(234, 224, 206, 0.25);
  stroke-width: 1;
}

.footer-ca { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.footer-chain {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--bone-dim);
}
.ca-chip-big { font-size: 0.8rem; padding: 0.9rem 1.4rem; }

.footer-meta { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.1rem; align-items: center; }

.footer-motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-2);
}

.footer-social {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
}

.footer-disclaimer {
  max-width: 42rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(176, 164, 141, 0.75);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: rgba(176, 164, 141, 0.5);
}

/* ═══════════ TOAST ═══════════ */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, calc(100% + 2.5rem));
  z-index: 90;
  padding: 0.8rem 1.5rem;
  background: var(--bone);
  color: var(--gruft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  border-radius: 3px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ═══════════ RESPONSIVE HERO ═══════════ */

@media (max-width: 899px) {
  .hero { padding-top: 5.5rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    justify-items: center;
  }
  .hero-copy { min-width: 0; max-width: 100%; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy .eyebrow-rule { width: 1.6rem; }
  .hero-name { margin: 0.9rem 0 1.2rem; }
  .hero-name .name-line-2 { padding-left: 0; }
  .hero-decree { margin-inline: auto; }
  .hero-prophecy { margin-top: 1.1rem; }
  .hero-cta { justify-content: center; margin-top: 1.7rem; }
  .ca-chip { max-width: 100%; margin-top: 1.2rem; }
  .hero-seal { order: -1; gap: 1.1rem; }
  .seal-wrap { width: min(16.5rem, 66vw); }
  .ring-text { font-size: 26px; letter-spacing: 5px; }
  .tear-ledger .ledger-note { font-size: 0.85rem; }
  .ticker { margin-top: 2rem; }
}

/* ═══════════ REDUCED MOTION ═══════════ */

@media (prefers-reduced-motion: reduce) {
  .seal-ring { animation: none; }
  .ticker-track,
  .choir-track { animation: none; }
  .choir-row { overflow-x: auto; }
  .pre-dots i { animation: none; opacity: 1; }
  .btn-gold::before { display: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
