/* ============================================================================
   BID the goat — enhanced
   Spine: SCRIPTURE (runic, warm) vs TERMINAL (mono, cold teal).
   Restraint: every motion is slow, breathing, earned. Nothing strobes.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=VT323&family=Space+Mono:wght@400;700&display=swap");

/* Self-hosted custom fonts — drop files in assets/fonts/. If absent, the stack
   below falls through to the CDN faces, so nothing breaks. */
@font-face {
  font-family: "Departure Mono";
  src: url("assets/fonts/DepartureMono-1.500/DepartureMono-Regular.woff2")
      format("woff2"),
    url("assets/fonts/DepartureMono-1.500/DepartureMono-Regular.woff")
      format("woff"),
    url("assets/fonts/DepartureMono-1.500/DepartureMono-Regular.otf")
      format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "BID Runic";
  src: url("assets/fonts/runic.woff2") format("woff2"),
    url("assets/fonts/runic.woff") format("woff"),
    url("assets/fonts/runic.ttf") format("truetype"),
    url("assets/fonts/runic.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "BID Body";
  src: url("assets/fonts/body.woff2") format("woff2");
  font-display: swap;
}

:root {
  --black: #000;
  --bg: #040506;
  --teal: #3fb6b6;
  --teal-deep: #2e8b8b;
  --blood: #5c1010;
  --blood-hi: #7a1515;
  --text: #ededed;
  --body: #b8b8b8;
  --muted: #6b6b6b;
  --red: #c0392b;
  --scripture: "Departure Mono", "BID Runic", "Boxcase", "Major Mono Display",
    "VT323", ui-monospace, monospace;
  --terminal: "BID Body", "Space Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--terminal);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}
a {
  color: inherit;
  text-decoration: none;
}
main {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: pageIn 0.7s ease both;
}
footer {
  position: relative;
  z-index: 2;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.leaving {
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- atmosphere overlays (injected by JS) ------------------------------- */
.fx-grain {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background: repeating-linear-gradient(
    0deg,
    #000 0,
    #000 1px,
    transparent 1px,
    transparent 3px
  );
}
body.silent .fx-grain {
  opacity: 0.02;
}
.fx-vignette {
  position: fixed;
  inset: 0;
  z-index: 9991;
  pointer-events: none;
  background: radial-gradient(
    125% 105% at 50% 38%,
    transparent 48%,
    rgba(0, 0, 0, 0.9) 100%
  );
  animation: flicker 9s ease-in-out infinite;
}
@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  45% {
    opacity: 0.94;
  }
  55% {
    opacity: 0.99;
  }
  70% {
    opacity: 0.9;
  }
}
.fx-fog {
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(46px);
  background: radial-gradient(
      38% 42% at 28% 62%,
      rgba(63, 182, 182, 0.06),
      transparent 70%
    ),
    radial-gradient(
      46% 50% at 72% 38%,
      rgba(63, 182, 182, 0.05),
      transparent 72%
    );
  animation: fogDrift 46s ease-in-out infinite alternate;
}
.fx-fog.two {
  opacity: 0.4;
  animation-duration: 64s;
  animation-direction: alternate-reverse;
  background: radial-gradient(
    40% 44% at 60% 70%,
    rgba(46, 139, 139, 0.05),
    transparent 72%
  );
}
@keyframes fogDrift {
  from {
    transform: translate3d(-3%, 2%, 0) scale(1.05);
  }
  to {
    transform: translate3d(4%, -3%, 0) scale(1.12);
  }
}

/* ---- summoning intro veil ---------------------------------------------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
  transition: opacity 1s ease;
}
.veil.gone {
  opacity: 0;
  pointer-events: none;
}
.veil .veil-mark {
  font-family: var(--scripture);
  font-size: clamp(40px, 8vw, 84px);
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(63, 182, 182, 0.4);
  opacity: 0;
  animation: veilRise 2.4s ease forwards;
}
.veil .veil-sub {
  margin-top: 18px;
  color: var(--muted);
  opacity: 0;
  animation: veilRise 2.4s 0.5s ease forwards;
}
@keyframes veilRise {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* ---- TYPE SCALE --------------------------------------------------------- */
.s-hero {
  font-family: var(--scripture);
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.s-section {
  font-family: var(--scripture);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.s-section-red {
  font-family: var(--scripture);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--red);
  text-shadow: 0 0 30px rgba(192, 57, 43, 0.35);
  text-transform: uppercase;
}
.s-commandment {
  font-family: var(--scripture);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.s-task {
  font-family: var(--scripture);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.s-oath {
  font-family: var(--scripture);
  font-size: 16px;
  line-height: 1.6;
  color: var(--red);
}
.s-cta {
  font-family: var(--scripture);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.s-logo {
  font-family: var(--scripture);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.s-watermark {
  font-family: var(--scripture);
  font-size: 120px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-body {
  font-family: var(--terminal);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--body);
}
.t-caption {
  font-family: var(--terminal);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.t-nav {
  font-family: var(--scripture);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}
.t-readout {
  font-family: var(--terminal);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.t-input {
  font-family: var(--terminal);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text);
}
.t-button {
  font-family: var(--terminal);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.t-utility {
  font-family: var(--terminal);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
}
.t-copyright {
  font-family: var(--terminal);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.scrambling {
  color: var(--teal) !important;
}

/* ---- HEADER / FOOTER ---------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px 32px;
  background: transparent;
  border-bottom: none;
}
.site-header .nav {
  margin-left: auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.brand small {
  font-family: var(--terminal);
  font-size: 11px;
  color: var(--muted);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  padding: 5px 9px;
  border-radius: 5px;
  transition: 0.2s;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.audio-toggle {
  background: none;
  border: 1px solid #242424;
  border-radius: 4px;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--body);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.25s;
}
.audio-toggle:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.audio-toggle.on {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 14px rgba(63, 182, 182, 0.3);
}
/* Floating variant — sits fixed at bottom-right of the viewport on every page */
.audio-toggle.audio-toggle-fixed {
  position: fixed;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  left: calc(20px + env(safe-area-inset-left, 0px));
  z-index: 9000;
  padding: 9px 14px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: #2a2a2a;
}
.audio-toggle.audio-toggle-fixed.hint {
  animation: hintPulse 3s ease-in-out infinite;
}
.audio-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}
/* When sound is off, dim the waves to signal mute state */
.audio-toggle:not(.on) .audio-wave-1,
.audio-toggle:not(.on) .audio-wave-2 {
  opacity: 0.25;
}
.audio-toggle.on .audio-wave-1,
.audio-toggle.on .audio-wave-2 {
  opacity: 1;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--scripture);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  transition: 0.2s;
}
.menu-toggle:hover {
  color: var(--teal);
}

/* Milk-carton cursor — replaces OS cursor on hover-capable devices */
@media (hover: hover) and (min-width: 761px) {
  html,
  body,
  a,
  button,
  input,
  textarea,
  select,
  label,
  .ca-line,
  .btn,
  .btn-task,
  .menu-toggle,
  .audio-toggle,
  .faq-item summary,
  .recaptcha,
  [role="button"] {
    cursor: none !important;
  }
}
.cursor-goat,
.cursor-goat * {
  pointer-events: none !important;
}
.cursor-goat {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}
.cursor-goat.visible {
  opacity: 1;
}
.cursor-goat-label {
  font-family: var(--scripture);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #04100e;
  background: var(--teal);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.3;
}
.cursor-goat-icon {
  width: 48px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.6));
}
@media (hover: none), (max-width: 760px) {
  .cursor-goat {
    display: none;
  }
}
.audio-toggle.hint {
  animation: hintPulse 3s ease-in-out infinite;
}
@keyframes hintPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(63, 182, 182, 0);
  }
  50% {
    box-shadow: 0 0 16px rgba(63, 182, 182, 0.35);
  }
}
.site-footer {
  position: relative;
  width: 100%;
  padding: 48px 32px 0;
  border-top: 1px solid #121212;
  overflow: hidden;
}
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-watermark {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  opacity: 0.13;
  text-shadow: 0 0 40px rgba(63, 182, 182, 0.4);
  white-space: nowrap;
  user-select: none;
}
.footer-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---- LAYOUT + reveal ---------------------------------------------------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  text-align: center;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.spacer {
  height: 40px;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.9s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---- PROGRESS (descent) ------------------------------------------------- */
.progress {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 12px;
  max-width: 760px;
  position: relative;
  z-index: 2;
}
.descent-label {
  display: block;
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
}
.pstep {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid #1c1c1c;
  border-radius: 30px;
  background: #070707;
  transition: 0.4s;
}
.pstep .pnum {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--terminal);
  font-size: 12px;
  color: var(--muted);
  border: 1px solid #2a2a2a;
  transition: 0.4s;
}
.pstep .plabel {
  font-family: var(--terminal);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: 0.4s;
}
.pconnector {
  width: 34px;
  height: 1px;
  background: #1c1c1c;
  transition: 0.4s;
}
.pstep.done {
  opacity: 0.55;
  border-color: var(--teal-deep);
}
.pstep.done .pnum {
  color: #000;
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.pstep.done .plabel {
  color: var(--teal-deep);
}
.pstep.active {
  border-color: var(--teal);
  box-shadow: 0 0 20px rgba(63, 182, 182, 0.28);
}
.pstep.active .pnum {
  color: #000;
  background: var(--teal);
  border-color: var(--teal);
}
.pstep.active .plabel {
  color: var(--teal);
}
.pstep.active .pnum,
.pstep.active {
  animation: breathe 5s ease-in-out infinite;
}
.pstep.active + .pconnector,
.pstep.done + .pconnector {
  background: var(--teal-deep);
}

/* ---- BUTTONS ------------------------------------------------------------ */
.btn {
  font-family: var(--scripture);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 34px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-block;
  position: relative;
  transition: transform 0.15s, box-shadow 0.3s, background 0.25s, opacity 0.4s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(180deg, var(--blood-hi), var(--blood));
  color: #f3dede;
  border-color: #3a0c0c;
  animation: ember 4.5s ease-in-out infinite;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #8f1a1a, var(--blood-hi));
}
@keyframes ember {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(92, 16, 16, 0.5);
  }
  50% {
    box-shadow: 0 0 34px rgba(122, 21, 21, 0.8);
  }
}
.btn-teal {
  background: var(--teal-deep);
  color: #021414;
  border-color: #1f6a6a;
  box-shadow: 0 0 18px rgba(63, 182, 182, 0.3);
}
.btn-teal:hover {
  background: var(--teal);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal-deep);
  overflow: hidden;
}
.btn-ghost:hover {
  background: rgba(63, 182, 182, 0.08);
  box-shadow: 0 0 18px rgba(63, 182, 182, 0.25);
}
.btn.is-disabled {
  opacity: 0.32;
  pointer-events: none;
  filter: grayscale(0.6);
  animation: none;
}
.btn-task {
  font-family: var(--terminal);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: #0c0c0c;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 9px 16px;
  cursor: pointer;
  transition: 0.25s;
}
.btn-task:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-task.done {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
  background: rgba(46, 139, 139, 0.06);
}
@keyframes unlockPulse {
  0% {
    box-shadow: 0 0 0 rgba(63, 182, 182, 0);
  }
  40% {
    box-shadow: 0 0 48px rgba(63, 182, 182, 0.7);
  }
  100% {
    box-shadow: 0 0 14px rgba(63, 182, 182, 0.22);
  }
}
.just-unlocked {
  animation: unlockPulse 1.4s ease-out;
}

/* ---- ALTAR -------------------------------------------------------------- */
.altar {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 0%, #1a0606 0%, #0a0303 70%);
  border: 1px solid #2a0d0d;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(120, 40, 40, 0.25), 0 0 50px rgba(40, 5, 5, 0.5);
  overflow: hidden;
}
.altar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background: repeating-linear-gradient(
    45deg,
    #000 0,
    #000 1px,
    transparent 1px,
    transparent 4px
  );
}
.task {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #220a0a;
  text-align: left;
}
.task:last-child {
  border-bottom: none;
}
.task .dial {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #3a1414;
  transition: 0.4s;
}
.task.done .dial {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 12px rgba(63, 182, 182, 0.55);
}
.task .task-main {
  flex: 1;
}
.task .task-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ---- reCAPTCHA + field -------------------------------------------------- */
.recaptcha {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0b0b0b;
  border: 1px solid #242424;
  border-radius: 6px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  transition: 0.25s;
}
.recaptcha:hover {
  border-color: #3a3a3a;
}
.recaptcha .box {
  width: 22px;
  height: 22px;
  border: 2px solid #444;
  border-radius: 3px;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.recaptcha.checked .box {
  background: var(--teal);
  border-color: var(--teal);
}
.recaptcha .box svg {
  opacity: 0;
  transition: 0.2s;
}
.recaptcha.checked .box svg {
  opacity: 1;
}
.recaptcha .rc-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.field {
  width: 100%;
  max-width: 440px;
  background: #070707;
  border: 1px solid #242424;
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--terminal);
  font-size: 15px;
  letter-spacing: 0.02em;
  outline: none;
  transition: 0.2s;
}
.field::placeholder {
  color: var(--muted);
}
.field:focus {
  border-color: var(--teal);
  box-shadow: 0 0 14px rgba(63, 182, 182, 0.2);
}
.readout-flash {
  animation: readoutFlash 0.7s ease;
}
@keyframes readoutFlash {
  0% {
    text-shadow: 0 0 0 rgba(63, 182, 182, 0);
  }
  40% {
    text-shadow: 0 0 22px rgba(63, 182, 182, 0.9);
  }
  100% {
    text-shadow: 0 0 0 rgba(63, 182, 182, 0);
  }
}

/* ---- HERO + SIGIL ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  text-align: center;
  background: #050a09;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    70% 80% at 50% 38%,
    transparent 34%,
    rgba(2, 6, 5, 0.88) 92%
  );
}
.hero.has-cave::after {
  display: none;
}
.hero-sigil {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-sigil svg {
  width: min(78vmin, 640px);
  height: min(78vmin, 640px);
}
.sigil-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 140s linear infinite;
}
.sigil-ring.rev {
  animation: spinRev 100s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spinRev {
  to {
    transform: rotate(-360deg);
  }
}
.goat-glow {
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.6;
    filter: drop-shadow(0 0 12px rgba(63, 182, 182, 0.3));
  }
  50% {
    opacity: 0.95;
    filter: drop-shadow(0 0 30px rgba(63, 182, 182, 0.6));
  }
}
.goat-eye {
  filter: drop-shadow(0 0 8px var(--teal));
  transition: transform 0.18s ease-out;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  z-index: 5;
  padding: 0;
  text-align: left;
  max-width: 600px;
}
.hero-content .s-hero {
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.85), 0 2px 30px rgba(0, 0, 0, 0.9);
  margin-bottom: 18px;
}
.hero-sub {
  font-family: var(--terminal);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #dfe9e8;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 28px;
  max-width: 350px;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.btn-enter {
  font-family: var(--scripture);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f1ebde;
  color: #161616;
  padding: 14px 26px;
  border: 1px solid #d8d2c4;
  border-radius: 0;
  transition: 0.2s;
}
.btn-enter:hover {
  background: #fff;
}
.btn-faq {
  font-family: var(--scripture);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #0e0e0e;
  color: #fff;
  padding: 14px 26px;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  transition: 0.2s;
}
.btn-faq:hover {
  border-color: #555;
  background: #1a1a1a;
}
/* left-side gradient so text reads cleanly over the cave image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 38%,
    transparent 64%
  );
}
/* drop-in real art (assets/img/goat-hero.png) — revealed by its onload */
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  max-width: min(72vmin, 560px);
  max-height: 78vh;
  object-fit: contain;
  display: none;
  filter: drop-shadow(0 0 40px rgba(0, 0, 0, 0.85));
}
.hero.has-art .hero-sigil {
  opacity: 0.45;
}
.hero.has-bg {
  background-image: url("assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.bidmandments.has-bg {
  background-image: url("assets/img/bidmandments-bg.png");
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 48px 24px 100px;
}
.brand-logo {
  height: 30px;
  width: auto;
  display: none;
}
/* BIDMANDMENTS over the cult-cave (assets/img/cult.png) */
.bidmandments::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 12%,
    rgba(2, 8, 8, 0.22),
    rgba(2, 6, 6, 0.82) 80%
  );
}
.bidmandments-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

/* Pharmaicy-style top-left section label with down-pointing triangle */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}
.section-label .s-section {
  margin: 0;
}
.label-arrow {
  font-family: var(--scripture);
  font-size: 22px;
  color: var(--text);
  line-height: 1;
  display: inline-block;
  transform: translateY(2px);
}
.section-sublabel {
  text-align: left;
  margin-top: 8px;
  margin-bottom: 38px;
}

/* Mog-style scrolling ticker — full-width band of memetic phrases */
.ticker {
  position: relative;
  z-index: 3;
  background: var(--teal);
  color: #040506;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  border-top: 1px solid #1a3a3a;
  border-bottom: 1px solid #1a3a3a;
}
.ticker-track {
  display: inline-block;
  padding: 13px 0;
  animation: ticker-scroll 42s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: var(--scripture);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 16px;
  color: #040506;
}
.ticker-dot {
  padding: 0 2px;
  color: #040506;
  opacity: 0.55;
}
.ticker-logo {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin: -3px 10px 0;
  border-radius: 5px;
  object-fit: cover;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* TOKENOMICS — supply allocation panel */
.tokenomics {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 84px 32px 64px;
}
.tokenomics-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.tok-panel {
  max-width: 660px;
  margin: 34px auto 0;
  padding: 30px 40px;
  border: 1px solid rgba(120, 200, 195, 0.1);
  border-radius: 6px;
  background: rgba(3, 12, 12, 0.55);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.tok-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(120, 200, 195, 0.08);
}
.tok-row:last-child {
  border-bottom: none;
}
.tok-label {
  font-family: var(--scripture);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}
.tok-value {
  font-family: var(--terminal);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-align: right;
  text-transform: lowercase;
}
.tok-footnote {
  margin-top: 22px;
  font-style: italic;
}

/* THE FIRST NINE — fee-distribution cohort */
.first-nine {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 32px 32px 92px;
}
.first-nine-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.nine-prose {
  max-width: 560px;
  margin: 22px auto 32px;
}
.nine-prose .t-body {
  line-height: 1.8;
}
.nine-prose strong {
  color: var(--teal);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.nine-slot {
  position: relative;
  padding: 18px 12px;
  border: 1px solid rgba(120, 200, 195, 0.12);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: 0.25s;
}
.nine-slot:hover {
  border-color: rgba(63, 182, 182, 0.35);
  background: rgba(3, 12, 12, 0.72);
}
.nine-slot.claimed {
  border-color: rgba(63, 182, 182, 0.45);
  box-shadow: 0 0 14px rgba(63, 182, 182, 0.18);
}
.slot-num {
  font-family: var(--scripture);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.slot-addr {
  font-family: var(--terminal);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.nine-slot.claimed .slot-addr {
  color: var(--teal);
}
.nine-footnote {
  margin-top: 30px;
  font-style: italic;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 520px) {
  .tok-panel {
    padding: 24px 22px;
  }
  .tok-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .tok-value {
    text-align: left;
  }
  .nine-grid {
    gap: 8px;
  }
  .nine-slot {
    padding: 14px 6px;
  }
  .slot-num {
    font-size: 22px;
  }
  .slot-addr {
    font-size: 10px;
  }
}

/* THE FIRST TEN — airdrop cohort */
.first-ten {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 32px 32px 88px;
}
.first-ten-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ten-eligibility {
  max-width: 580px;
  margin: 24px auto 28px;
}
.ten-eligibility .t-body {
  line-height: 1.75;
}
.ten-eligibility strong {
  color: var(--teal);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.ten-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 auto 28px;
  padding: 14px 24px;
  border: 1px solid rgba(120, 200, 195, 0.16);
  border-radius: 6px;
  background: rgba(3, 12, 12, 0.55);
}
.counter-num {
  font-family: var(--scripture);
  font-size: 32px;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.02em;
}
.counter-total {
  font-family: var(--scripture);
  font-size: 20px;
  color: var(--muted);
  line-height: 1;
}
.counter-label {
  font-family: var(--terminal);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-left: 10px;
}
.ten-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
  max-width: 720px;
  margin: 0 auto;
}
.ten-slot {
  padding: 10px 4px;
  border: 1px solid rgba(120, 200, 195, 0.12);
  border-radius: 4px;
  background: rgba(3, 12, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}
.ten-slot:hover {
  border-color: rgba(63, 182, 182, 0.35);
}
.ten-slot.claimed {
  border-color: rgba(63, 182, 182, 0.5);
  background: rgba(63, 182, 182, 0.12);
  box-shadow: 0 0 10px rgba(63, 182, 182, 0.25);
}
.ten-slot .slot-num {
  font-family: var(--scripture);
  font-size: 14px;
  color: var(--muted);
  transition: 0.25s;
  letter-spacing: 0.04em;
}
.ten-slot.claimed .slot-num {
  color: var(--teal);
}
.ten-slot .slot-addr {
  display: none;
}
.first-ten-footnote {
  margin-top: 26px;
  font-style: italic;
}

/* proof-form layout */
.proof-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.proof-form .field {
  max-width: 480px;
}

@media (max-width: 520px) {
  .first-ten {
    padding: 32px 22px 72px;
  }
  .ten-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    max-width: none;
  }
  .ten-slot {
    padding: 7px 2px;
  }
  .ten-slot .slot-num {
    font-size: 11px;
  }
  .counter-num {
    font-size: 26px;
  }
  .counter-label {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }
}

/* THE BURNS — deflationary ledger */
.burns {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 32px 32px 92px;
}
.burns-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.burns-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
  margin: 30px auto 28px;
}
.burn-stat {
  padding: 18px 12px;
  border: 1px solid rgba(120, 200, 195, 0.14);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.burn-stat-value {
  font-family: var(--scripture);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--teal);
}
.burn-stat-label {
  font-family: var(--terminal);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.burns-ledger {
  max-width: 660px;
  margin: 0 auto;
  border: 1px solid rgba(120, 200, 195, 0.12);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.5);
  overflow: hidden;
}
.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr 100px;
  gap: 14px;
  padding: 12px 18px;
  align-items: center;
  text-align: left;
}
.ledger-head {
  font-family: var(--scripture);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(120, 200, 195, 0.1);
  background: rgba(0, 0, 0, 0.32);
}
.ledger-row {
  font-family: var(--terminal);
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px dashed rgba(120, 200, 195, 0.07);
}
.ledger-row:last-child {
  border-bottom: none;
}
.ledger-pending {
  color: var(--muted);
  font-style: italic;
}
.ledger-row a {
  color: var(--teal);
}
.burns-footnote {
  margin-top: 24px;
  font-style: italic;
}
@media (max-width: 520px) {
  .burns {
    padding: 32px 22px 72px;
  }
  .burns-stats {
    grid-template-columns: 1fr;
  }
  .burn-stat {
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 16px;
  }
  .ledger-head {
    display: none;
  }
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .ledger-row > span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .ledger-row > span::before {
    content: attr(data-label);
    font-family: var(--scripture);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-transform: uppercase;
  }
}

/* ADMIN PAGE — pending queue with approve/reject */
.admin-page {
  padding: 60px 32px 80px;
  background: #040506;
  min-height: 80vh;
}
.admin-inner {
  max-width: 840px;
  margin: 0 auto;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}
.admin-stat {
  padding: 18px 14px;
  border: 1px solid rgba(120, 200, 195, 0.14);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.admin-stat-num {
  font-family: var(--scripture);
  font-size: 30px;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.04em;
}
.admin-stat-label {
  font-family: var(--terminal);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.admin-section-title {
  font-size: 22px;
  margin: 40px 0 12px;
  text-align: left;
}
.admin-queue {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-empty {
  font-family: var(--terminal);
  color: var(--muted);
  font-style: italic;
  text-align: center;
  padding: 36px 0;
}
.admin-row {
  padding: 18px 20px;
  border: 1px solid rgba(120, 200, 195, 0.14);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.55);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.admin-row-data {
  font-family: var(--terminal);
  font-size: 13px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.admin-field {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.admin-field strong {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  min-width: 60px;
}
.admin-field code {
  color: var(--teal);
  font-family: var(--terminal);
  font-size: 12px;
  word-break: break-all;
}
.admin-row-meta {
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
  margin-top: 4px;
}
.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.btn-approve,
.btn-reject {
  font-family: var(--scripture);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
  min-width: 110px;
}
.btn-approve {
  background: var(--teal);
  color: #04100e;
}
.btn-approve:hover:not(:disabled) {
  background: #5fd0c6;
}
.btn-reject {
  background: #1a0808;
  color: #c47272;
  border: 1px solid #441010;
}
.btn-reject:hover:not(:disabled) {
  background: #2a0c0c;
  color: #e89090;
}
.btn-approve:disabled,
.btn-reject:disabled {
  opacity: 0.5;
  cursor: wait;
}
@media (max-width: 520px) {
  .admin-page {
    padding: 48px 16px 64px;
  }
  .admin-stats {
    gap: 8px;
  }
  .admin-stat {
    padding: 14px 6px;
  }
  .admin-stat-num {
    font-size: 24px;
  }
  .admin-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 14px;
  }
  .admin-row-actions {
    flex-direction: row;
  }
  .btn-approve,
  .btn-reject {
    flex: 1;
  }
}

/* COHORT PAGE — public ledger of the first 33 */
.cohort-page {
  padding: 80px 32px 96px;
  background: #040506;
  min-height: 80vh;
}
.cohort-page-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.cohort-ledger {
  max-width: 680px;
  margin: 36px auto 0;
  border: 1px solid rgba(120, 200, 195, 0.14);
  border-radius: 5px;
  background: rgba(3, 12, 12, 0.55);
  overflow: hidden;
  text-align: left;
}
.cohort-head,
.cohort-row {
  display: grid;
  grid-template-columns: 48px 1fr 90px 90px;
  gap: 14px;
  padding: 13px 20px;
  align-items: center;
}
.cohort-head {
  font-family: var(--scripture);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(120, 200, 195, 0.1);
  background: rgba(0, 0, 0, 0.34);
}
.cohort-row {
  font-family: var(--terminal);
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px dashed rgba(120, 200, 195, 0.06);
}
.cohort-row:last-child {
  border-bottom: none;
}
.cohort-row .seat-num {
  font-family: var(--scripture);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.cohort-row .wallet {
  color: var(--teal);
  letter-spacing: 0.02em;
}
.cohort-row .tx-link {
  text-align: right;
}
.cohort-row .tx-link a {
  color: var(--teal);
  text-decoration: none;
}
.cohort-row .tx-link a:hover {
  text-decoration: underline;
}
.cohort-row.awaiting .seat-num,
.cohort-row.awaiting .wallet,
.cohort-row.awaiting .tx-link {
  color: var(--muted);
  font-style: italic;
}
@media (max-width: 520px) {
  .cohort-page {
    padding: 64px 16px 80px;
  }
  .cohort-head,
  .cohort-row {
    grid-template-columns: 28px 1fr 50px 50px;
    gap: 8px;
    padding: 11px 10px;
    font-size: 10px;
  }
  .cohort-row .seat-num,
  .cohort-head {
    font-size: 10px;
  }
}

/* FAQ — minimal accordion */
.faq {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 80px 32px 96px;
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.faq-list {
  max-width: 660px;
  margin: 32px auto 0;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid rgba(120, 200, 195, 0.08);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--scripture);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--terminal);
  font-size: 16px;
  color: var(--teal);
  transition: 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover {
  color: var(--teal);
}
.faq-item p {
  margin-top: 14px;
  color: var(--body);
  line-height: 1.7;
  font-family: var(--terminal);
  font-size: 14px;
}

/* WHISPERS FROM BELOW — lore + goat-at-terminal */
.whispers {
  position: relative;
  z-index: 2;
  background: #040506;
  padding: 84px 32px 90px;
}
.whispers-title {
  text-align: center;
  color: var(--teal);
  text-shadow: 0 0 28px rgba(63, 182, 182, 0.55);
  margin-bottom: 46px;
}
.whispers-row {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
}
.whispers-text {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.whispers-text .t-body {
  color: #dfe9e8;
  line-height: 1.7;
}
.whispers-art {
  flex: 1;
  display: flex;
  justify-content: center;
}
.whispers-art img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 6px;
}

/* BIDLIEVE — full-width banner + overlaid words */
.bidlieve {
  position: relative;
  z-index: 2;
  background: #000;
  line-height: 0;
}
.bidlieve-art {
  display: block;
  width: 100%;
  height: auto;
}
.bidlieve-text {
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translateY(-50%);
  text-align: right;
  line-height: 0.98;
  font-family: var(--scripture);
  text-transform: uppercase;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: clamp(40px, 6vw, 92px);
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.65);
}
/* feature illustrations on step pages (assets/img/bid.png, bidden.png) */
.feature-art {
  display: block;
  margin: 0 auto 28px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #14201f;
  box-shadow: 0 0 60px rgba(63, 182, 182, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.45);
}

/* hero recreation: cave waterfall + backlit goat. Drop assets/img/hero-cave.png
   (the real Framer export) to replace all of this with the exact illustration. */
.hero-cave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: none;
}
.hero.has-cave .hero-cave {
  display: block;
}
.hero.has-cave .waterfall,
.hero.has-cave .mist,
.hero.has-cave .cave-floor,
.hero.has-cave .hero-goat {
  display: none;
}
.waterfall {
  position: absolute;
  top: -4%;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 80%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(150, 240, 234, 0.6) 0%,
    rgba(63, 182, 182, 0.34) 45%,
    rgba(63, 182, 182, 0.12) 78%,
    transparent 100%
  );
  filter: blur(26px);
  animation: breathe 8s ease-in-out infinite;
}
.waterfall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 88%;
  background: linear-gradient(
    180deg,
    #cffaf5,
    rgba(180, 245, 240, 0.25) 55%,
    transparent
  );
  filter: blur(16px);
}
.mist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    120% 120% at 50% 100%,
    rgba(80, 210, 200, 0.45),
    rgba(63, 182, 182, 0.1) 45%,
    transparent 72%
  );
  filter: blur(10px);
}
.cave-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #020605 80%);
}
.hero-goat {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  padding-bottom: 30%;
  pointer-events: none;
  transition: transform 0.2s ease-out;
}
.hero-goat svg {
  width: min(22vmin, 178px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(63, 182, 182, 0.5));
}

/* BIDMANDMENTS — teal-bordered scripture panel */
.cmd-panel {
  max-width: 660px;
  margin: 34px auto 0;
  padding: 40px 48px 30px;
  border: 1px solid rgba(120, 200, 195, 0.07);
  border-radius: 4px;
  background: rgba(3, 12, 12, 0.62);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
}
.cmd-panel .cmd-list {
  margin-top: 0;
}
.cmd-closing {
  margin-top: 30px;
  color: var(--teal-deep);
  font-family: var(--scripture);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cmd-after {
  margin: 34px auto 0;
  max-width: 520px;
}
.cmd-whisper {
  font-style: italic;
  color: var(--muted);
}
.ca-line {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #1c2a2a;
  border-radius: 5px;
  cursor: pointer;
  color: var(--teal);
  transition: 0.2s;
}
.ca-line:hover {
  border-color: var(--teal);
  box-shadow: 0 0 14px rgba(63, 182, 182, 0.22);
}

/* ---- COMMANDMENTS ------------------------------------------------------- */
.bidmandments {
  position: relative;
  z-index: 2;
  padding: 0 0 90px;
  text-align: center;
  background: #040506 url("assets/img/cult.png") center / cover no-repeat;
}
.cmd-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cmd-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.cmd .cmd-sub {
  margin-top: 6px;
}

/* ---- UNDERWORLD payoff -------------------------------------------------- */
.underworld {
  min-height: 70vh;
  display: grid;
  place-items: center;
  position: relative;
}
.portal {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.portal-core {
  width: min(60vmin, 420px);
  height: min(60vmin, 420px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(63, 182, 182, 0.16) 0%,
    rgba(63, 182, 182, 0.04) 45%,
    transparent 70%
  );
  animation: portalBreathe 9s ease-in-out infinite;
}
@keyframes portalBreathe {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}
.underworld .btn {
  position: relative;
  z-index: 2;
}

/* ===================== RESPONSIVE ======================================== */
@media (max-width: 1024px) {
  .s-hero {
    font-size: 48px;
  }
  .s-section,
  .s-section-red {
    font-size: 32px;
  }
  .s-commandment {
    font-size: 20px;
  }
  .s-task {
    font-size: 18px;
  }
  .s-watermark {
    font-size: 88px;
  }
}
@media (max-width: 520px) {
  /* HEADER: brand left, audio+menu right; nav becomes a slide-down drawer */
  .site-header {
    padding: 12px 16px;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .menu-toggle {
    display: inline-block;
  }
  .site-header .nav {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 22px 24px;
    background: rgba(2, 6, 6, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(63, 182, 182, 0.15);
    transform: translateY(-110%);
    transition: transform 0.28s ease-out;
    visibility: hidden;
    z-index: 99;
  }
  body.menu-open .site-header .nav {
    transform: translateY(0);
    visibility: visible;
  }
  body.menu-open .site-header {
    background: rgba(2, 6, 6, 0.96);
    backdrop-filter: blur(10px);
  }
  .nav a {
    padding: 14px 6px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    text-align: left;
  }
  .nav a:last-child {
    border-bottom: none;
  }
  .audio-toggle {
    padding: 6px 10px;
    font-size: 11px;
  }
  .t-nav {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  /* TYPOGRAPHY: scaled for narrow viewport */
  .s-hero {
    font-size: 38px;
    line-height: 1;
  }
  .s-section,
  .s-section-red {
    font-size: 24px;
  }
  .s-commandment {
    font-size: 17px;
  }
  .s-task {
    font-size: 15px;
  }
  .s-oath {
    font-size: 15px;
  }
  .s-watermark {
    font-size: 52px;
  }
  .t-readout {
    font-size: 14px;
  }
  .page {
    padding: 40px 16px 72px;
  }
  .altar {
    padding: 28px 20px;
  }
  .progress {
    gap: 6px;
  }
  .pconnector {
    display: none;
  }

  /* HERO */
  .hero-content {
    left: 5%;
    right: 5%;
    max-width: none;
  }
  .hero-content .s-hero {
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .btn-enter,
  .btn-faq {
    padding: 12px 20px;
    font-size: 12px;
  }

  /* BIDMANDMENTS section label */
  .label-arrow {
    font-size: 18px;
  }
  .bidmandments-inner {
    padding: 40px 18px 0;
  }

  /* WHISPERS: stack to single column */
  .whispers {
    padding: 64px 22px 72px;
  }
  .whispers-row {
    flex-direction: column;
    gap: 30px;
  }
  .whispers-text {
    text-align: left;
  }
  .whispers-art img {
    max-width: 100%;
  }

  /* BIDLIEVE: image on top full-width, text below in centered band (no overlap) */
  .bidlieve {
    background: #000;
    line-height: 1.2;
  }
  .bidlieve-text {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    text-align: center;
    width: 100%;
    padding: 28px 16px 36px;
    font-size: clamp(34px, 11vw, 58px);
    box-sizing: border-box;
  }

  /* TOKENOMICS + FIRST NINE small tunes */
  .tokenomics,
  .first-nine {
    padding-left: 22px;
    padding-right: 22px;
  }
  .first-nine {
    padding-bottom: 72px;
  }

  /* FAQ touch targets */
  .faq {
    padding: 64px 22px 78px;
  }
  .faq-item summary {
    font-size: 14px;
    padding: 4px 0;
  }

  /* TICKER readability */
  .ticker-item {
    font-size: 12px;
    padding: 0 12px;
  }
  .ticker-logo {
    height: 18px;
    width: 18px;
    margin: -2px 7px 0;
  }
  .ticker-track {
    animation-duration: 34s;
  }
}
