/* ============================================================
   VELQUORA — system v3 (kinetic + bold palette)
   Plum-ink default, Bone inverse, Phosphor/Rose/Butter accents
   ============================================================ */

:root {
  --plum:    #1a0f23;
  --plum-2:  #251530;
  --plum-3:  #311b3d;
  --bone:    #f3e9d2;
  --bone-2:  #ebdfc1;
  --bone-3:  #e0d2ac;

  --phos:    #caff00;     /* phosphor chartreuse */
  --phos-dk: #9bc500;
  --rose:    #ff4d7e;     /* hot rose */
  --butter:  #f9d56e;
  --cobalt:  #3548ff;

  --muted:   #8a7da0;
  --muted-2: #5f5237;
  --line:    #3b2549;
  --line-2:  #cdbc94;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Space Grotesk", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --t-display: clamp(72px, 12vw, 240px);
  --t-h1: clamp(48px, 6.5vw, 130px);
  --t-h2: clamp(36px, 4.4vw, 84px);

  --pad-x: clamp(20px, 4.5vw, 72px);

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  /* legacy aliases (will be removed once all pages migrated) */
  --cream:    var(--plum);
  --cream-2:  var(--plum-2);
  --cream-3:  var(--plum-3);
  --ink:      var(--bone);
  --ink-2:    var(--bone-2);
  --ink-3:    var(--bone-3);
  --muted-2-legacy: var(--muted);
  --line-dk:  var(--line);
  --accent:   var(--phos);
  --accent-2: var(--phos-dk);
  --accent-soft: color-mix(in oklab, var(--phos) 20%, var(--plum));
  --rule:     1px solid var(--line);
  --rule-dk:  1px solid var(--line);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--plum);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--phos); color: var(--plum); }

/* ---------- Grain overlay ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--phos);
  transition: width .25s var(--ease-spring), height .25s var(--ease-spring);
}
.cursor-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--phos);
  transition: width .35s var(--ease-spring), height .35s var(--ease-spring), background .2s;
}
.cursor-ring.hover { width: 72px; height: 72px; background: color-mix(in oklab, var(--phos) 25%, transparent); }
.cursor-ring.text { width: 4px; height: 28px; border-radius: 2px; background: var(--phos); border-color: var(--phos); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Type ---------- */
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.012em; }
.mono  { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--phos);
}
h1, h2, h3, h4 { font-weight: 500; line-height: 1.02; letter-spacing: -0.025em; }

.hl-phos  { color: var(--phos); font-style: italic; }
.hl-rose  { color: var(--rose); font-style: italic; }
.hl-butter{ color: var(--butter); font-style: italic; }
.txt-phos { color: var(--phos); }
.txt-rose { color: var(--rose); }
.txt-butter { color: var(--butter); }

/* ---------- Topbar (floating pill nav) ---------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px var(--pad-x);
  pointer-events: none;
  transition: transform .35s var(--ease-out), padding .25s, background .25s;
}
.topbar > * { pointer-events: auto; }
.topbar.scrolled { padding-top: 14px; padding-bottom: 14px; }
.topbar.hidden { transform: translateY(-110%); }

.topbar .brand {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--serif); font-style: italic;
  font-size: 28px; letter-spacing: -0.02em;
  color: var(--bone);
  justify-self: start;
  padding: 6px 0;
}
.topbar .brand::after {
  content: "®";
  font-family: var(--mono); font-style: normal;
  font-size: 9px; letter-spacing: 0;
  color: var(--phos);
  align-self: flex-start;
  margin-left: 2px;
  margin-top: 6px;
}

/* nav pill */
.topbar nav {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 2px;
  padding: 6px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--plum) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--bone) 14%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 8px 24px -12px color-mix(in oklab, var(--plum) 60%, transparent);
}
.topbar nav .live-dot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 14px;
  margin-right: 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bone);
  border-right: 1px solid color-mix(in oklab, var(--bone) 14%, transparent);
}
.topbar nav .live-dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--phos); box-shadow: 0 0 8px var(--phos);
  animation: pulse 1.8s infinite;
}
.topbar nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 999px;
  color: color-mix(in oklab, var(--bone) 78%, var(--plum));
  transition: color .2s, background .2s;
}
.topbar nav a:hover { color: var(--bone); }
.topbar nav a.active {
  color: var(--plum);
  background: var(--phos);
}

/* CTA */
.topbar .cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 6px 10px 18px;
  background: transparent; color: var(--bone);
  border: 1px solid color-mix(in oklab, var(--bone) 30%, transparent);
  border-radius: 999px; font-size: 13.5px; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s, padding-right .25s;
}
.topbar .cta:hover {
  background: var(--bone); color: var(--plum);
  border-color: var(--bone);
}
.topbar .cta .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--phos); color: var(--plum);
  font-size: 13px;
  transition: transform .3s var(--ease-spring), background .25s;
}
.topbar .cta:hover .arrow { transform: rotate(-45deg); background: var(--plum); color: var(--phos); }

@media (max-width: 1080px) {
  .topbar nav .live-dot { display: none; }
  .topbar nav a { padding: 8px 12px; font-size: 13px; }
}
/* ---------- Mobile menu toggle (hamburger) ---------- */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--bone) 28%, transparent);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease-spring);
  pointer-events: auto;
}
.menu-toggle:hover { background: var(--bone); border-color: var(--bone); }
.menu-toggle .bars {
  position: relative;
  width: 18px; height: 12px;
  display: inline-block;
}
.menu-toggle .bars span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--bone);
  border-radius: 1px;
  transition: transform .3s var(--ease-out), opacity .2s, top .25s, background .25s;
}
.menu-toggle:hover .bars span { background: var(--plum); }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 5px; }
.menu-toggle .bars span:nth-child(3) { top: 10px; }
body.menu-open .menu-toggle .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ---------- Mobile menu drawer ---------- */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 99;
  background: var(--plum);
  display: flex; flex-direction: column;
  padding: clamp(80px, 14vw, 110px) var(--pad-x) clamp(40px, 6vw, 60px);
  transform: translateY(-100%);
  transition: transform .45s var(--ease-out);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(40% 50% at 20% 20%, color-mix(in oklab, var(--phos) 30%, transparent) 0%, transparent 60%),
    radial-gradient(40% 50% at 85% 85%, color-mix(in oklab, var(--rose) 35%, transparent) 0%, transparent 60%);
  filter: blur(50px) saturate(1.2);
  opacity: 0.35;
  pointer-events: none;
}
body.menu-open .mobile-menu {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
body.menu-open { overflow: hidden; }
.mobile-menu > * { position: relative; z-index: 2; }
.mm-nav {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.mm-nav a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(36px, 9vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--bone);
  transition: color .2s, padding .25s;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.mm-nav a:last-child { border-bottom: none; }
.mm-nav a .num {
  font-family: var(--mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  align-self: center;
}
.mm-nav a.active { color: var(--phos); }
.mm-nav a:hover { color: var(--phos); padding-left: 8px; }
.mm-legal {
  margin-top: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.mm-legal .l {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.mm-legal .row {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.mm-legal .row a {
  font-size: 14px;
  color: color-mix(in oklab, var(--bone) 78%, var(--plum));
  border-bottom: 1px solid color-mix(in oklab, var(--line) 80%, transparent);
  padding-bottom: 1px;
}
.mm-legal .row a:hover { color: var(--phos); border-color: var(--phos); }
.mm-contact {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.mm-contact .l {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.mm-contact a {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  color: var(--bone);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mm-contact a:hover { color: var(--phos); }
.mm-cta {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 14px;
  align-self: flex-start;
  padding: 16px 20px 16px 26px;
  border-radius: 999px;
  background: var(--phos); color: var(--plum);
  font-weight: 500; font-size: 15px;
}
.mm-cta .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--plum); color: var(--phos);
}

@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 12px var(--pad-x);
    background: color-mix(in oklab, var(--plum) 78%, transparent);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
    pointer-events: auto;
  }
  .topbar nav { display: none; }
  .topbar .cta { display: none; }
  .topbar .brand { font-size: 22px; padding: 0; }
  .topbar .brand::after { font-size: 8px; margin-top: 2px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  body.menu-open .topbar { background: var(--plum); border-bottom-color: var(--line); }
}
@media (min-width: 881px) {
  .mobile-menu { display: none; }
}

/* ---------- Section ---------- */
.section { padding: clamp(80px, 10vw, 160px) var(--pad-x); position: relative; }
.section.tight { padding: clamp(40px, 5vw, 80px) var(--pad-x); }
.section.bone { background: var(--bone); color: var(--plum); }
.section.bone .eyebrow { color: var(--muted-2); }
.section.bone .eyebrow::before { background: var(--rose); }
.section.phos { background: var(--phos); color: var(--plum); }
.section.rose { background: var(--rose); color: var(--plum); }
.section.dark { background: var(--plum-2); color: var(--bone); }
.section.dark .eyebrow { color: var(--muted); }
.section.dark .eyebrow::before { background: var(--phos); }

/* ---------- Grid utility (12-col) ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
@media (max-width: 980px) {
  .grid-12 { grid-template-columns: 1fr; }
  .grid-12 > * { grid-column: 1 / -1 !important; padding-left: 0 !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  transition: background .25s, color .25s, transform .25s var(--ease-spring);
  position: relative;
}
.btn .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  transition: transform .3s var(--ease-spring);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: rotate(-45deg); }

.btn.primary { background: var(--phos); color: var(--plum); }
.btn.primary .arrow { background: var(--plum); color: var(--phos); }
.btn.primary:hover { background: var(--bone); }

.btn.rose { background: var(--rose); color: var(--bone); }
.btn.rose .arrow { background: var(--plum); color: var(--rose); }

.btn.ghost { border: 1.5px solid var(--bone); color: var(--bone); }
.btn.ghost .arrow { background: var(--bone); color: var(--plum); }
.btn.ghost:hover { background: var(--bone); color: var(--plum); }
.btn.ghost:hover .arrow { background: var(--plum); color: var(--bone); }

.btn.on-bone.primary { background: var(--plum); color: var(--bone); }
.btn.on-bone.primary .arrow { background: var(--phos); color: var(--plum); }
.btn.on-bone.ghost { border: 1.5px solid var(--plum); color: var(--plum); }
.btn.on-bone.ghost .arrow { background: var(--plum); color: var(--bone); }
.btn.on-bone.ghost:hover { background: var(--plum); color: var(--bone); }

/* ---------- Image slot ---------- */
.img-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--rose) 18%, var(--plum)) 0%, var(--plum-3) 100%);
  border: 1px solid var(--line);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px;
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.img-slot::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab, var(--phos) 10%, transparent) 11px 12px);
  pointer-events: none;
}
.img-slot .caption,
.img-slot .meta {
  position: relative; z-index: 2;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--plum); color: var(--bone);
  padding: 6px 10px;
  border: 1px solid var(--line);
}
.img-slot.bone {
  background: linear-gradient(135deg, color-mix(in oklab, var(--butter) 20%, var(--bone)) 0%, var(--bone-3) 100%);
}
.img-slot.bone::before {
  background: repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in oklab, var(--plum) 12%, transparent) 11px 12px);
}
.img-slot.bone .caption,
.img-slot.bone .meta { background: var(--bone); color: var(--plum); border-color: var(--line-2); }
.img-slot.rose-bg {
  background: linear-gradient(135deg, var(--rose) 0%, color-mix(in oklab, var(--rose) 60%, var(--plum)) 100%);
}
.img-slot.phos-bg {
  background: linear-gradient(135deg, var(--phos) 0%, color-mix(in oklab, var(--phos) 50%, var(--butter)) 100%);
}
.img-slot.phos-bg .caption, .img-slot.phos-bg .meta { background: var(--plum); color: var(--phos); }
.img-slot.tall   { aspect-ratio: 3 / 4; }
.img-slot.wide   { aspect-ratio: 16 / 9; }
.img-slot.square { aspect-ratio: 1 / 1; }

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.marquee {
  display: inline-flex; gap: 0;
  animation: marq 36s linear infinite;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.05;
}
.marquee span { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; }
.marquee .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--phos); display: inline-block; flex-shrink: 0; }
.marquee.reverse { animation-direction: reverse; animation-duration: 42s; }
.marquee.sans { font-family: var(--sans); font-style: normal; font-weight: 500; font-size: clamp(24px, 2.6vw, 44px); letter-spacing: -0.02em; text-transform: uppercase; }
@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap.tilt-up { transform: rotate(-2.5deg) scale(1.04); margin: 0 -4vw; position: relative; z-index: 2; }
.marquee-wrap.tilt-dn { transform: rotate(2.5deg) scale(1.04); margin: 0 -4vw; position: relative; z-index: 2; }
.marquee-wrap.phos { background: var(--phos); color: var(--plum); border-color: var(--plum); }
.marquee-wrap.phos .marquee .dot { background: var(--plum); }
.marquee-wrap.rose { background: var(--rose); color: var(--plum); border-color: var(--plum); }
.marquee-wrap.rose .marquee .dot { background: var(--plum); }
.marquee-wrap.bone { background: var(--bone); color: var(--plum); border-color: var(--line-2); }
.marquee-wrap.bone .marquee .dot { background: var(--rose); }
.marquee-wrap.butter { background: var(--butter); color: var(--plum); border-color: var(--plum); }
.marquee-wrap.butter .marquee .dot { background: var(--rose); }

/* ---------- Sticker ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: transparent;
  border: 1.5px solid var(--bone);
  color: var(--bone);
  border-radius: 999px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.sticker.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--phos); box-shadow: 0 0 8px var(--phos);
  animation: pulse 1.8s infinite;
}
.sticker.phos { background: var(--phos); color: var(--plum); border-color: var(--phos); }
.sticker.rose { background: var(--rose); color: var(--bone); border-color: var(--rose); }
.sticker.butter { background: var(--butter); color: var(--plum); border-color: var(--butter); }
.sticker.ink-bone { background: var(--bone); color: var(--plum); border-color: var(--bone); }

/* ---------- Reveal ---------- */
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.18em; }
.reveal-line > span { display: inline-block; transform: translateY(120%); transition: transform .9s var(--ease-out); }
.reveal-line.in > span { transform: translateY(0); }
.reveal-line.d1 > span { transition-delay: 0.08s; }
.reveal-line.d2 > span { transition-delay: 0.16s; }
.reveal-line.d3 > span { transition-delay: 0.24s; }
.reveal-line.d4 > span { transition-delay: 0.32s; }

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ---------- Live ticker ---------- */
.live-bar {
  display: flex; align-items: stretch;
  background: var(--plum-2); color: var(--bone);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  transition: transform .3s var(--ease-out);
}
.live-bar.hidden { transform: translateY(-100%); }
.live-bar .seg {
  padding: 9px 18px;
  border-right: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
}
.live-bar .seg .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--phos); box-shadow: 0 0 6px var(--phos); animation: pulse 1.6s infinite; }
.live-bar .seg em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: -0.01em; font-size: 13px; }
.live-bar .seg.phos { background: var(--phos); color: var(--plum); }
.live-bar .seg.rose { background: var(--rose); color: var(--bone); }
.live-bar .seg.spacer { flex: 1; border-right: none; overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  background: var(--plum-2); color: var(--bone);
  padding: 80px var(--pad-x) 40px;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
}
.footer-display {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(72px, 18vw, 320px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  white-space: nowrap;
}
.footer-display .dot { display: inline-block; width: 18px; height: 18px; background: var(--phos); border-radius: 50%; vertical-align: 0.2em; margin-left: 4px; box-shadow: 0 0 24px var(--phos); animation: pulse 2.2s infinite; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 60px;
}
.footer-grid h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-grid ul a { opacity: 0.85; transition: color .2s; }
.footer-grid ul a:hover { color: var(--phos); opacity: 1; }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom .live {
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-bottom .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--phos); box-shadow: 0 0 8px var(--phos);
  animation: pulse 1.5s infinite;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(160px, 16vw, 240px) var(--pad-x) clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero.bone { background: var(--bone); color: var(--plum); border-color: var(--line-2); }
.page-hero.bone .eyebrow { color: var(--muted-2); }
.page-hero.bone .eyebrow::before { background: var(--rose); }
.page-hero h1 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--t-display);
  line-height: 0.88;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.page-hero .lead {
  margin-top: 36px;
  font-size: 22px;
  max-width: 52ch;
  color: color-mix(in oklab, var(--bone) 80%, var(--plum));
  line-height: 1.45;
}
.page-hero.bone .lead { color: color-mix(in oklab, var(--plum) 75%, var(--bone)); }

/* ---------- Util ---------- */
.divider { border-top: 1px solid var(--line); }
.section.bone .divider { border-color: var(--line-2); }

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .live-bar { font-size: 10px; }
  .live-bar .seg { padding: 8px 12px; }
  .page-hero { padding-top: clamp(110px, 18vw, 160px); }
  .page-hero h1 { font-size: clamp(48px, 11vw, 96px); }
  .page-hero .lead { font-size: 18px; margin-top: 24px; }
}
@media (max-width: 640px) {
  .footer { padding: 60px var(--pad-x) 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-hero { padding-top: 100px; padding-bottom: 48px; }
  .page-hero h1 { font-size: clamp(40px, 13vw, 72px); line-height: 0.92; }
  .page-hero .lead { font-size: 16px; }
  .section { padding: clamp(56px, 14vw, 80px) var(--pad-x); }
}
