/* ============================================================
   YVRMUN — Design System v3
   Dark editorial. Chartreuse. Custom cursor. Watermark footer.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --ink: #0a0a0a;
  --ink-soft: #121212;
  --ink-elevated: #1a1a1a;
  --paper: #f2efe8;
  --accent: #d4f542;
  --accent-soft: #b8db2a;
  --live: #ff4530;
  --muted: #6b6b6b;
  --muted-dark: #a8a8a8;
  --line: rgba(242, 239, 232, 0.1);
  --line-bright: rgba(212, 245, 66, 0.35);
  --hair: rgba(242, 239, 232, 0.05);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Helvetica Neue", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Times New Roman", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  --fs-xs: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --fs-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  --fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-3xl: clamp(2.75rem, 1.8rem + 4.75vw, 5.5rem);
  --fs-hero: clamp(4rem, 1.5rem + 12vw, 13rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  --max-w: 1440px;
  --max-w-narrow: 800px;
  --max-w-prose: 55ch;
  --header-h: 68px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px,
      var(--hair) 79px, var(--hair) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px,
      var(--hair) 79px, var(--hair) 80px);
  mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 90%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0,
      rgba(255, 255, 255, 0.8) 1px, transparent 2px);
  background-size: 3px 3px;
}

main, header, footer { position: relative; z-index: 2; }

@media (hover: none), (pointer: coarse) { body { cursor: auto; } }

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: none; }
a {
  color: inherit;
  text-decoration: none;
  cursor: none;
  transition: color 0.25s var(--ease-out);
}
ul, ol { list-style: none; }

@media (hover: none), (pointer: coarse) {
  button, a { cursor: pointer; }
}

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: rgba(212, 245, 66, 0.35);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- TYPE ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { max-width: var(--max-w-prose); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- LAYOUT ---------- */
.section {
  padding: var(--space-16) 0;
  position: relative;
}

.section--dark { background: var(--ink); color: var(--paper); }

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section__inner--prose { max-width: var(--max-w-prose); }
.section__inner--narrow { max-width: var(--max-w-narrow); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.section__label::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-6);
  max-width: 18ch;
  color: var(--paper);
  text-transform: uppercase;
}

.section__title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.section__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.05em;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out) 0.5s;
}

[data-reveal].is-visible .section__title-accent::after {
  transform: scaleX(1);
}

.section__body {
  font-size: var(--fs-lg);
  color: var(--muted-dark);
  max-width: var(--max-w-prose);
  margin-bottom: var(--space-8);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out),
              background 0.3s var(--ease-out),
              transform 0.45s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header__brand:hover { color: var(--accent); }

.site-header__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.site-header__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-header__brand:hover .site-header__mark {
  transform: scale(1.08);
}

.site-header__brand:hover .site-header__mark,
.site-header.is-scrolled .site-header__mark {
  transform: rotate(225deg);
}



.site-header__brand:hover .site-header__mark span,
.site-header.is-scrolled 

/* Nav with sliding pill */




@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- SCROLL PROGRESS ---------- */
.scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  overflow: hidden;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: none;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: color 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
  z-index: 1;
}

@media (hover: none) { .btn { cursor: pointer; } }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn:hover::before { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn--primary::before { background: var(--paper); }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}

.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { color: var(--ink); border-color: var(--accent); }

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

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out),
              height 0.25s var(--ease-out);
  will-change: transform;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  opacity: 0.5;
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
  will-change: transform;
}

.cursor-dot.is-hover { width: 6px; height: 6px; }
.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  opacity: 0.9;
}

.cursor-corners {
  position: fixed;
  top: 0; left: 0;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out),
              width 0.35s var(--ease-spring),
              height 0.35s var(--ease-spring);
  will-change: transform;
}

.cursor-corners.is-hover {
  opacity: 1;
  width: 72px;
  height: 72px;
}

.cursor-corners span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}

.cursor-corners span:nth-child(1) {
  top: 0; left: 0;
  border-top-width: 1px; border-left-width: 1px;
}
.cursor-corners span:nth-child(2) {
  top: 0; right: 0;
  border-top-width: 1px; border-right-width: 1px;
}
.cursor-corners span:nth-child(3) {
  bottom: 0; left: 0;
  border-bottom-width: 1px; border-left-width: 1px;
}
.cursor-corners span:nth-child(4) {
  bottom: 0; right: 0;
  border-bottom-width: 1px; border-right-width: 1px;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .cursor-corners { display: none; }
}

/* ---------- LOCKSCREEN ---------- */
.lockscreen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-10);
  overflow: hidden;
}

body.has-lockscreen { overflow: hidden; }

.lockscreen__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 79px,
      rgba(10,10,10,0.6) 79px, rgba(10,10,10,0.6) 80px),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px,
      rgba(10,10,10,0.6) 79px, rgba(10,10,10,0.6) 80px);
  animation: grid-drift 40s linear infinite;
}

@keyframes grid-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

.lockscreen__inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-10);
  align-items: center;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.lockscreen__left { display: flex; flex-direction: column; }

.lockscreen__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-10);
}

.lockscreen__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 var(--space-8);
}

.lockscreen__title-line {
  display: block;
  overflow: hidden;
}

.lockscreen__lede {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  max-width: 44ch;
  margin-bottom: var(--space-8);
}

.lockscreen__enter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--accent);
  border: none;
  cursor: none;
  white-space: nowrap;
  align-self: flex-start;
  transform: skewX(-6deg);
  transition: transform 0.3s var(--ease-spring),
              background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
}

.lockscreen__enter > * { transform: skewX(6deg); display: inline-block; }

.lockscreen__enter:hover {
  transform: skewX(-6deg) translate(-2px, -2px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.lockscreen__enter .lockscreen__arrow {
  transition: transform 0.25s var(--ease-spring);
}

.lockscreen__enter:hover .lockscreen__arrow {
  transform: translate(3px, -3px);
}

.lockscreen__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-left: var(--space-8);
  border-left: 1px solid rgba(10,10,10,0.15);
}

.lockscreen__countdown-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
}

.lockscreen__countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.lockscreen__countdown-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.lockscreen__countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.lockscreen__countdown-key {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
}

.lockscreen__stamp {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(10,10,10,0.15);
  line-height: 1.8;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-12)) 0 var(--space-16);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__art-bg {
  position: absolute;
  top: 50%;
  right: -8%;
  width: 60vw;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero__art-bg svg { width: 100%; height: 100%; overflow: visible; }

.art-circle {
  fill: none;
  stroke: rgba(242, 239, 232, 0.14);
  stroke-width: 0.5;
}

.art-circle--inner { stroke: rgba(242, 239, 232, 0.22); }

.art-diamond {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw-line 2.8s var(--ease-out) 0.8s forwards;
}

.art-diamond-dashed {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.75;
  stroke-dasharray: 4 6;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 2.4s forwards;
}

.art-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  fill: var(--accent);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 2.8s forwards;
}

.art-dot {
  fill: var(--accent);
  opacity: 0;
  animation: fade-in 0.6s var(--ease-out) 3s forwards,
             dot-pulse 2.6s ease-in-out 3.4s infinite;
  transform-origin: center;
}

.art-orbit {
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.75;
  stroke-dasharray: 3 6;
  transform-origin: 300px 300px;
  animation: orbit-spin 60s linear infinite;
  opacity: 0.6;
}

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes dot-pulse {
  0%, 100% { r: 4; opacity: 1; }
  50% { r: 6; opacity: 0.6; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 var(--space-8);
  display: block;
  max-width: 12ch;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  position: relative;
}

.hero__title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}

.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 3px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  animation: hero-underline 1.3s var(--ease-out) 1.6s forwards;
}

@keyframes hero-underline { to { transform: scaleX(1); } }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  max-width: 900px;
}

.hero__col h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.hero__col p {
  color: var(--muted-dark);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.hero__cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.hero__progress {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-6);
  right: var(--space-6);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__progress-bar {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.hero__progress-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--accent);
  animation: progress-fill 3s var(--ease-out) 1s forwards;
}

@keyframes progress-fill {
  to { inset: 0 33.34% 0 0; }
}

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--space-5) 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-dark);
  animation: marquee-scroll 55s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { flex-shrink: 0; }

/* ---------- DASHBOARD ---------- */
.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-8);
}

.dash-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--ink);
  overflow: hidden;
}

.dash-tile--wide {
  grid-column: span 2;
}

.dash-tile__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.dash-tile__value {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.dash-tile__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: auto;
}

.dash-tile__tick {
  position: absolute;
  left: var(--space-8);
  bottom: var(--space-4);
  width: 0;
  height: 1px;
  background: var(--accent);
  animation: tick-grow 1.6s var(--ease-out) 0.4s forwards;
}

.dash-tile[data-count="2"] .dash-tile__tick { --w: 10%; }
.dash-tile[data-count="40"] .dash-tile__tick { --w: 40%; }
.dash-tile[data-count="300"] .dash-tile__tick { --w: 80%; }
.dash-tile[data-count="2005"] .dash-tile__tick { --w: 60%; }

@keyframes tick-grow { to { width: var(--w, 30%); } }

.dash-tile__dots {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.dash-tile__dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

.dash-tile__dots span.is-empty {
  background: transparent;
  border: 1px solid var(--line);
}

.dash-tile__sparkline {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  width: 200px;
  height: 40px;
  color: var(--accent);
  opacity: 0.6;
}

/* ---------- QUOTES TICKER ---------- */
.quotes {
  margin-top: var(--space-10);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quotes__track {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-8) 0;
  animation: quotes-scroll 80s linear infinite;
  width: max-content;
}

.quotes:hover .quotes__track { animation-play-state: paused; }

.quote {
  flex-shrink: 0;
  width: 400px;
  padding: var(--space-6);
  border-left: 2px solid var(--accent);
  background: var(--ink-soft);
}

.quote__body {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-style: italic;
  line-height: 1.4;
  color: var(--paper);
  margin-bottom: var(--space-4);
  max-width: none;
}

.quote__cite {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

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

/* ---------- ROOM SELECTOR ---------- */
.room-selector {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-8);
}

.room-list {
  display: flex;
  flex-direction: column;
  background: var(--ink);
}

.room-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--muted-dark);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  cursor: none;
  transition: background 0.25s var(--ease-out),
              color 0.25s var(--ease-out);
}

@media (hover: none) { .room-list__item { cursor: pointer; } }

.room-list__item:last-child { border-bottom: none; }

.room-list__item:hover {
  background: var(--ink-soft);
  color: var(--paper);
}

.room-list__item.is-active {
  background: var(--accent);
  color: var(--ink);
}

.room-list__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.room-list__name { flex: 1; }

.room-preview {
  position: relative;
  padding: var(--space-10);
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.room-preview__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.room-preview__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.room-preview__desc {
  color: var(--muted-dark);
  font-size: var(--fs-base);
  line-height: 1.7;
  max-width: 44ch;
}

.room-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
  transition: gap 0.25s var(--ease-out);
}

.room-preview__cta:hover { gap: var(--space-4); }

.room-preview__diagram {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-8);
  width: 160px;
  height: 160px;
  color: var(--accent);
  opacity: 0.7;
}

/* ---------- STAFF CTA ---------- */
.staff-cta {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-10);
  margin-top: var(--space-8);
  align-items: start;
}

.staff-cta__number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.staff-cta__number-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--space-3);
}

.staff-cta__sub {
  color: var(--muted-dark);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-top: var(--space-6);
  max-width: 36ch;
}

.staff-cta__btn { margin-top: var(--space-6); }

.staff-roles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.staff-role {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: var(--ink);
  text-align: left;
  color: var(--paper);
  cursor: none;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: none) { .staff-role { cursor: pointer; } }

.staff-role:hover {
  background: var(--accent);
  color: var(--ink);
}

.staff-role__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}

.staff-role:hover .staff-role__num { color: var(--ink); }

.staff-role__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.staff-role__desc {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  text-align: right;
}

.staff-role:hover .staff-role__desc { color: var(--ink); }

/* ---------- PULL QUOTE ---------- */
.pull-quote-section {
  padding: var(--space-16) 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pull-quote {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-6);
  max-width: 22ch;
  color: var(--paper);
  text-transform: uppercase;
}

.pull-quote__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.pull-quote cite {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: var(--fs-base);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out),
              transform 0.3s var(--ease-out),
              background 0.2s var(--ease-out);
  cursor: none;
}

@media (hover: none) { .back-to-top { cursor: pointer; } }

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--paper);
  transform: translateY(-3px);
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-12) 0 var(--space-6);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer__watermark {
  position: absolute;
  left: -2%;
  bottom: -18%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 24vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--paper);
  opacity: 0.025;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-8);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.site-footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: var(--fs-base);
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer__links a { color: var(--muted-dark); }
.site-footer__links a:hover { color: var(--accent); }

.site-footer__contact-block p {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  margin-bottom: var(--space-2);
}

.site-footer__contact-block a { color: var(--accent); }
.site-footer__contact-block a:hover { color: var(--paper); }

.site-footer__location {
  text-transform: uppercase;
  color: var(--muted) !important;
}

.site-footer__clock {
  text-transform: uppercase;
  color: var(--muted) !important;
  letter-spacing: 0.2em;
}

.site-footer__legal-block {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: var(--space-10) auto 0;
  padding: var(--space-6) var(--space-6) 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.site-footer__legal {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.site-footer__legal--assets {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-footer__legal--assets strong {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .dashboard { grid-template-columns: repeat(2, 1fr); }
  .dash-tile--wide { grid-column: span 2; }
  .room-selector { grid-template-columns: 1fr; }
  .staff-cta { grid-template-columns: 1fr; }
  .lockscreen__inner { grid-template-columns: 1fr; }
  .lockscreen__right { padding-left: 0; padding-top: var(--space-8); border-left: none; border-top: 1px solid rgba(10,10,10,0.15); }
  .hero__art-bg { opacity: 0.4; right: -20%; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 56px; }

    .site-header__toggle { display: flex; }

  .section { padding: var(--space-12) 0; }

  .lockscreen { padding: var(--space-5); }
  .lockscreen__title { font-size: clamp(3rem, 16vw, 6rem); }
  .lockscreen__countdown-value { font-size: 1.5rem; }

  .hero { padding-top: calc(var(--header-h) + var(--space-8)); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__progress { position: static; margin-top: var(--space-10); padding: 0 var(--space-6); }

  .dashboard { grid-template-columns: 1fr; }
  .dash-tile--wide { grid-column: span 1; }
  .dash-tile__sparkline { display: none; }

  .quote { width: 280px; }

  .room-list__item { font-size: var(--fs-base); }

  .staff-role { grid-template-columns: 40px 1fr; }
  .staff-role__desc { grid-column: 1 / -1; text-align: left; }

  .pull-quote p { font-size: var(--fs-xl); }

  .site-footer__inner { grid-template-columns: 1fr; }
}
/* ---------- TIMELINE ---------- */
.timeline-wrap {
  position: relative;
  margin-top: var(--space-8);
}

.timeline__progress {
  position: absolute;
  left: 148px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}

.timeline__progress-line {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.15s linear;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.timeline__item {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: var(--space-6);
  align-items: start;
  position: relative;
  padding-left: 24px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline__time {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 4px;
  white-space: nowrap;
}

.timeline__content h3,
.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1.1;
}

.timeline__desc {
  color: var(--muted-dark);
  line-height: 1.6;
  font-size: var(--fs-sm);
}

/* Break rows — quieter, muted */
.timeline__item--break .timeline__title {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
}

.timeline__item--break::before {
  background: var(--muted);
}

.timeline__item--break .timeline__desc {
  display: none;
}

@media (max-width: 720px) {
  .timeline__progress { left: 4px; }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding-left: 24px;
  }
  .timeline__time { font-size: var(--fs-xs); }
}
/* Cursor on lock screen — swap to ink for contrast on chartreuse */
body.has-lockscreen .cursor-dot {
  background: var(--ink);
}

body.has-lockscreen .cursor-ring {
  border-color: var(--ink);
}

body.has-lockscreen .cursor-corners span {
  border-color: var(--ink);
}
/* Cursor on lock screen — swap to ink for contrast on chartreuse */
body.has-lockscreen .cursor-dot {
  background: var(--ink);
}

body.has-lockscreen .cursor-ring {
  border-color: var(--ink);
}

body.has-lockscreen .cursor-corners span {
  border-color: var(--ink);
}

/* ============================================================
   INNER PAGES — page hero, committees, FAQ, contact, staff
   ============================================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-10);
  position: relative;
}

.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-hero__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  max-width: 18ch;
  color: var(--paper);
}

.page-hero__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.page-hero__lede {
  font-size: var(--fs-lg);
  color: var(--muted-dark);
  max-width: 55ch;
  line-height: 1.5;
}

/* ---------- COMMITTEES GRID ---------- */
.committees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-8);
}

.committee-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--ink);
  cursor: none;
  text-align: left;
  transition: background 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

@media (hover: none) { .committee-card { cursor: pointer; } }

.committee-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.committee-card:hover { background: var(--ink-soft); }
.committee-card:hover::before { width: 3px; }

.committee-card__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.committee-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
}

.committee-card__premise {
  color: var(--muted-dark);
  line-height: 1.6;
  font-size: var(--fs-sm);
  max-width: none;
}

.committee-card__open {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: auto;
  transition: transform 0.3s var(--ease-spring);
}

.committee-card:hover .committee-card__open {
  transform: translateX(6px);
}

/* ---------- FAQ ACCORDION ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: var(--space-6);
  background: var(--line);
  border: 1px solid var(--line);
}

.faq__item {
  background: var(--ink);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  cursor: none;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  list-style: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
  color: var(--paper);
}

@media (hover: none) { .faq__question { cursor: pointer; } }

.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { background: var(--ink-soft); color: var(--accent); }

.faq__icon {
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--muted-dark);
  line-height: 1.7;
  font-size: var(--fs-sm);
}

.faq__answer a { color: var(--accent); font-weight: 500; }
.faq__answer a:hover { text-decoration: underline; }

.faq__more {
  margin-top: var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.faq__more a { color: var(--accent); font-weight: 500; }

/* ---------- CONTACT CARDS ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-6);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: none;
}

@media (hover: none) { .contact-card { cursor: pointer; } }

.contact-card:hover { background: var(--accent); color: var(--ink); }
.contact-card--static { cursor: default; }
.contact-card--static:hover { background: var(--ink); color: var(--paper); }

.contact-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.contact-card:hover .contact-card__label { color: var(--ink); }

.contact-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.contact-card__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card:hover .contact-card__note { color: var(--ink); }

.contact-card__arrow {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  font-size: var(--fs-xl);
  transition: transform 0.3s var(--ease-spring);
}

.contact-card:hover .contact-card__arrow {
  transform: translate(6px, -6px);
}

.contact-note {
  margin-top: var(--space-10);
  max-width: var(--max-w-prose);
}

.contact-note p {
  color: var(--muted-dark);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
}

.contact-note a { color: var(--accent); font-weight: 500; }
.contact-note a:hover { text-decoration: underline; }

/* ---------- SECTION WRAPPERS FOR INNER PAGES ---------- */
.section--cta {
  background: var(--accent);
  color: var(--ink);
  padding: var(--space-12) 0;
  text-align: center;
}

.section--cta .section__title,
.section--cta .section__title-accent { color: var(--ink); }

.section--cta p {
  color: var(--ink);
  margin-left: auto;
  margin-right: auto;
}

.section__inner--center { text-align: center; }
.section__inner--center p { margin-left: auto; margin-right: auto; }
.section__inner--narrow { max-width: var(--max-w-narrow); }

/* CTA button inside yellow section — invert */
.section--cta .btn--primary {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}
.section--cta .btn--primary::before { background: var(--accent); }
.section--cta .btn--primary:hover { color: var(--ink); }

/* ---------- PAGE-LEVEL HEADER FIX (side pages) ---------- */
@media (max-width: 1100px) {
  }


/* ============================================================
   INNER PAGES v2 — staff CTA, staff roles, room selector,
   page hero, committees, FAQ, contact
   ============================================================ */

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-10);
  position: relative;
}

.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.page-hero__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  max-width: 18ch;
  color: var(--paper);
}

.page-hero__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.page-hero__lede {
  font-size: var(--fs-lg);
  color: var(--muted-dark);
  max-width: 55ch;
  line-height: 1.5;
}

/* ---------- COMMITTEES GRID ---------- */
.committees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-8);
}

.committee-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--ink);
  cursor: none;
  text-align: left;
  transition: background 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

@media (hover: none) { .committee-card { cursor: pointer; } }

.committee-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.committee-card:hover { background: var(--ink-soft); }
.committee-card:hover::before { width: 3px; }

.committee-card__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.committee-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
  line-height: 1;
}

.committee-card__premise {
  color: var(--muted-dark);
  line-height: 1.6;
  font-size: var(--fs-sm);
  max-width: none;
}

.committee-card__open {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-top: auto;
  transition: transform 0.3s var(--ease-spring);
}

.committee-card:hover .committee-card__open {
  transform: translateX(6px);
}

/* ---------- STAFF CTA ---------- */
.staff-cta {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-10);
  margin-top: var(--space-8);
  align-items: start;
}

.staff-cta__big {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.staff-cta__number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.staff-cta__number-label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--space-3);
}

.staff-cta__sub {
  color: var(--muted-dark);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-top: var(--space-6);
  max-width: 36ch;
}

.staff-cta__btn { margin-top: var(--space-6); }

/* Staff roles — vertical list */
.staff-roles {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.staff-roles li { display: block; }

.staff-role {
  display: grid;
  grid-template-columns: 70px 1fr 1.6fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5) var(--space-6);
  background: var(--ink);
  text-align: left;
  color: var(--paper);
  cursor: none;
  width: 100%;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

@media (hover: none) { .staff-role { cursor: pointer; } }

.staff-role:hover {
  background: var(--accent);
  color: var(--ink);
}

.staff-role__num {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
}

.staff-role:hover .staff-role__num { color: var(--ink); }

.staff-role__name {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: inherit;
}

.staff-role__desc {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  text-align: right;
}

.staff-role:hover .staff-role__desc { color: var(--ink); }

/* ---------- FAQ ACCORDION ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: var(--space-6);
  background: var(--line);
  border: 1px solid var(--line);
}

.faq__item { background: var(--ink); overflow: hidden; }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) var(--space-6);
  cursor: none;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  list-style: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
  color: var(--paper);
}

@media (hover: none) { .faq__question { cursor: pointer; } }

.faq__question::-webkit-details-marker { display: none; }
.faq__question:hover { background: var(--ink-soft); color: var(--accent); }

.faq__icon {
  font-size: var(--fs-xl);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
}

.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--muted-dark);
  line-height: 1.7;
  font-size: var(--fs-sm);
}

.faq__answer a { color: var(--accent); font-weight: 500; }
.faq__answer a:hover { text-decoration: underline; }

.faq__more {
  margin-top: var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.faq__more a { color: var(--accent); font-weight: 500; }

/* ---------- CONTACT CARDS ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: var(--space-6);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: none;
}

@media (hover: none) { .contact-card { cursor: pointer; } }

.contact-card:hover { background: var(--accent); color: var(--ink); }
.contact-card--static { cursor: default; }
.contact-card--static:hover { background: var(--ink); color: var(--paper); }

.contact-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.contact-card:hover .contact-card__label { color: var(--ink); }

.contact-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.contact-card__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card:hover .contact-card__note { color: var(--ink); }

.contact-card__arrow {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  font-size: var(--fs-xl);
  transition: transform 0.3s var(--ease-spring);
}

.contact-card:hover .contact-card__arrow {
  transform: translate(6px, -6px);
}

.contact-note {
  margin-top: var(--space-10);
  max-width: var(--max-w-prose);
}

.contact-note p {
  color: var(--muted-dark);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
}

.contact-note a { color: var(--accent); font-weight: 500; }

/* ---------- SECTION-LEVEL CTA ---------- */
.section--cta {
  background: var(--accent);
  color: var(--ink);
  padding: var(--space-12) 0;
  text-align: center;
}

.section--cta .section__title,
.section--cta .section__title-accent { color: var(--ink); }

.section--cta p {
  color: var(--ink);
  margin-left: auto;
  margin-right: auto;
}

.section__inner--center { text-align: center; }
.section__inner--center p { margin-left: auto; margin-right: auto; }
.section__inner--narrow { max-width: var(--max-w-narrow); }

.section--cta .btn--primary {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}
.section--cta .btn--primary::before { background: var(--accent); }
.section--cta .btn--primary:hover { color: var(--ink); }

/* ---------- HEADER OVERFLOW FIX ---------- */
@media (max-width: 1100px) {
  }

@media (max-width: 900px) {
  .staff-cta { grid-template-columns: 1fr; }
  .staff-role { grid-template-columns: 60px 1fr; }
  .staff-role__desc { grid-column: 1 / -1; text-align: left; }
}


/* ---------- SCENARIO GAME ---------- */
.scenario {
  background: var(--ink-soft);
  color: var(--paper);
  padding: var(--space-10);
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.scenario__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.scenario__badge {
  padding: var(--space-2) var(--space-4);
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
}

.scenario__counter { color: var(--muted); }

.scenario__energy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--accent);
  font-weight: 500;
}

.scenario__energy-value { font-variant-numeric: tabular-nums; }

.scenario__energy-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: var(--space-8);
}

.scenario__energy-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.8s var(--ease-out);
}

.scenario__card + .scenario__card { margin-top: var(--space-6); }

.scenario__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.scenario__prompt {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.scenario__context {
  color: var(--muted-dark);
  margin-bottom: var(--space-8);
  max-width: 60ch;
  line-height: 1.6;
  font-size: var(--fs-base);
}

.scenario__choices {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.scenario__choice {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--fs-base);
  font-family: inherit;
  cursor: none;
  transition: background 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out),
              color 0.2s var(--ease-out),
              padding-left 0.2s var(--ease-out);
}

@media (hover: none) { .scenario__choice { cursor: pointer; } }

.scenario__choice:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  padding-left: var(--space-8);
}

.scenario__choice.is-selected {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  padding-left: var(--space-8);
}

.scenario__outcome {
  padding: var(--space-6);
  background: var(--ink-elevated);
  border-left: 2px solid var(--accent);
  margin-top: var(--space-6);
}

.scenario__outcome-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--accent);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.scenario__outcome-body {
  color: var(--muted-dark);
  margin-bottom: var(--space-5);
  line-height: 1.6;
  font-size: var(--fs-sm);
}

.scenario__next,
.scenario__reset {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding: var(--space-2) 0;
  background: none;
  border: none;
  cursor: none;
  transition: opacity 0.2s var(--ease-out);
}

@media (hover: none) {
  .scenario__next, .scenario__reset { cursor: pointer; }
}

.scenario__next:hover,
.scenario__reset:hover { opacity: 0.6; }

.scenario__result-actions {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-6);
}

/* ---------- PULL QUOTE ---------- */
.pull-quote {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  text-align: left;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-6);
  max-width: 22ch;
  color: var(--paper);
  text-transform: uppercase;
}

.pull-quote__accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  color: var(--accent);
}

.pull-quote cite {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}


/* ---------- TBD MEGA SECTION ---------- */
.section--tbd {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + var(--space-12)) var(--space-6) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.section--tbd .section__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

/* Chartreuse glow behind the TBD */
.section--tbd::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  background: radial-gradient(circle, rgba(212, 245, 66, 0.14) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: tbd-glow 6s ease-in-out infinite;
}

@keyframes tbd-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.tbd {
  font-family: var(--font-display);
  font-size: clamp(10rem, 42vw, 34rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--paper);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  user-select: none;
}

.tbd__letter {
  display: inline-block;
  transform-origin: 50% 80%;
  animation: tbd-breathe 4s var(--ease-in-out) infinite;
}

.tbd__letter:nth-child(1) { animation-delay: 0s; }
.tbd__letter:nth-child(2) { animation-delay: 0.15s; }
.tbd__letter:nth-child(3) { animation-delay: 0.3s; }

@keyframes tbd-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-2%) scale(1.03); }
}

.tbd__dot {
  display: inline-block;
  color: var(--accent);
  animation: tbd-pulse 2s var(--ease-in-out) infinite;
  transform-origin: 50% 90%;
}

@keyframes tbd-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.18); opacity: 0.65; }
}

.tbd__sub {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0;
  max-width: 50ch;
}

.tbd__cta { margin-top: var(--space-4); }

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .tbd__letter,
  .tbd__dot,
  .section--tbd::before { animation: none; }
}

@media (max-width: 720px) {
  .tbd { font-size: clamp(6rem, 45vw, 14rem); }
}

/* ============================================================
   HEADER — canonical definitions (single source of truth)
   ============================================================ */

/* ============================================================
   HEADER — canonical (do not duplicate below this line)
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out),
              background 0.3s var(--ease-out),
              transform 0.45s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.92);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
  box-sizing: border-box;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
  color: var(--paper);
  margin: 0;
  text-decoration: none;
}

.site-header__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}

.site-header__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-header__brand:hover .site-header__mark {
  transform: scale(1.08);
}

/* ---------- NAV HOVER (clean) ---------- */

/* ============================================================
   NAV — canonical (only definition in the file)
   ============================================================ */

.site-header__nav {
  position: relative;
  display: flex;
  gap: 0;
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.6);
}

.site-header__nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  color: rgba(242, 239, 232, 0.65);
  text-decoration: none;
  border-radius: 999px;
  z-index: 1;
  transition: color 0.2s var(--ease-out);
}

.site-header__nav a:hover {
  color: var(--accent);
}

.site-header__nav a.is-active {
  color: var(--accent);
}

.site-header__nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 720px) {
  .site-header__nav {
    padding: 3px;
  }
  .site-header__nav a {
    font-size: 0.65rem;
    padding: 0.4rem 0.5rem;
  }
}

/* ============================================================
   NAV SLIDING PILL — pure CSS, no JS
   The pill is positioned under whichever link is hovered,
   using data-pill-x and data-pill-w attributes set at build time.
   We compute per-link widths with CSS `:has()`.
   ============================================================ */

.site-header__nav {
  position: relative;
  isolation: isolate;
}

.site-header__nav-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--pill-w, 0);
  transform: translateX(var(--pill-x, 0));
  background: var(--accent);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: transform 0.35s var(--ease-spring),
              width 0.35s var(--ease-spring),
              opacity 0.2s var(--ease-out);
}

/* Show the pill when the nav is hovered */
.site-header__nav:hover .site-header__nav-pill { opacity: 1; }

/* Each link's hover drives the pill position via CSS variable overrides */
.site-header__nav:has(a:nth-child(2):hover) .site-header__nav-pill { --pill-x: 0; --pill-w: var(--pill-1-w, 60px); }
.site-header__nav:has(a:nth-child(3):hover) .site-header__nav-pill { --pill-x: var(--pill-2-x, 80px); --pill-w: var(--pill-2-w, 100px); }
.site-header__nav:has(a:nth-child(4):hover) .site-header__nav-pill { --pill-x: var(--pill-3-x, 200px); --pill-w: var(--pill-3-w, 100px); }
.site-header__nav:has(a:nth-child(5):hover) .site-header__nav-pill { --pill-x: var(--pill-4-x, 320px); --pill-w: var(--pill-4-w, 100px); }
.site-header__nav:has(a:nth-child(6):hover) .site-header__nav-pill { --pill-x: var(--pill-5-x, 440px); --pill-w: var(--pill-5-w, 100px); }
.site-header__nav:has(a:nth-child(7):hover) .site-header__nav-pill { --pill-x: var(--pill-6-x, 540px); --pill-w: var(--pill-6-w, 100px); }

/* Text sits above the pill */
.site-header__nav a {
  position: relative;
  z-index: 1;
}

/* When the nav is hovered, links over the pill turn ink */
.site-header__nav a:hover {
  color: var(--ink);
}

/* ---------- HEADER CTA (clean) ---------- */
.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--paper);
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out);
}

.site-header__cta:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.site-header__cta::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--live);
  border-radius: 50%;
  animation: live-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.site-header__cta:hover::before {
  background: var(--ink);
}
