:root {
  --bg: #000000;
  --fg: #f2f2f2;
  --muted: #6e6e6e;
  --faint: #3a3a3a;
  --line: #1a1a1a;
  --tear: #3b82f6;
  --hell: #ff4d00;
  --hell-hot: #ffb347;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Syne", "IBM Plex Mono", system-ui, sans-serif;
  --radius: 2px;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  cursor: crosshair;
}

img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.mono { font-family: var(--mono); }
.faint { color: var(--muted); }

/* ambient layers */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.75) 100%);
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: 5;
  background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

body:hover .cursor-glow { opacity: 1; }

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.brand-mark {
  color: var(--hell);
  animation: pulse-mark 2.4s ease-in-out infinite;
}

@keyframes pulse-mark {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 transparent; }
  50% { opacity: 0.7; text-shadow: 0 0 12px var(--hell); }
}

.nav { display: flex; gap: 1.25rem; font-size: 0.78rem; letter-spacing: 0.06em; }
.nav a { color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--fg); }
.nav-ca { color: var(--hell-hot) !important; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 1.25rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding: 4rem 2rem 5rem;
    min-height: calc(100dvh - 60px);
  }
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.blink {
  color: var(--hell);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.sticky-bio {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #cfcfcf 55%, var(--hell-hot) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.sub {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--fg);
  color: #000;
}
.btn-primary:hover {
  background: var(--hell);
  border-color: var(--hell);
  color: #000;
  box-shadow: 0 0 28px rgba(255,77,0,0.35);
}

.btn-ghost { border-color: var(--faint); color: var(--muted); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.7rem; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* face stage */
.hero-art { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

.face-stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 900 / 710;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.face-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(255,77,0,0.15));
  transition: transform 0.15s ease-out, filter 0.3s ease;
  will-change: transform;
}

.face-stage:hover .face-img,
.face-stage.is-staring .face-img {
  filter: drop-shadow(0 0 55px rgba(255,77,0,0.4)) brightness(1.05);
}

.hell-veil {
  position: absolute;
  inset: 48% 8% 4% 8%;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0%, rgba(255,77,0,0.08) 40%, rgba(255,77,0,0.22) 100%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 40% 40% 45% 45%;
}

.face-stage:hover .hell-veil,
.face-stage.is-staring .hell-veil,
body.scrolled-deep .hell-veil {
  opacity: 1;
}

.stare-ring {
  position: absolute;
  inset: -6%;
  border: 1px solid transparent;
  border-radius: 50%;
  z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
  pointer-events: none;
}

.face-stage:hover .stare-ring,
.face-stage.is-staring .stare-ring {
  border-color: rgba(255,77,0,0.35);
  box-shadow: 0 0 60px rgba(255,77,0,0.2), inset 0 0 40px rgba(59,130,246,0.08);
  animation: ring-pulse 2.8s ease-in-out infinite;
}

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

/* fake pupils that track — subtle glints over eyes region */
.eye-overlay {
  position: absolute;
  z-index: 4;
  top: 18%;
  left: 50%;
  width: 42%;
  height: 14%;
  transform: translateX(-50%);
  pointer-events: none;
}

.pupil {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.9), 0 0 14px var(--tear);
  opacity: 0.85;
  transition: transform 0.08s linear;
  top: 38%;
}

.pupil-l { left: 18%; }
.pupil-r { right: 18%; left: auto; }

.art-caption {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}

/* marquee */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.7rem 0;
  background: #050505;
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 28s linear infinite;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span { padding-right: 2rem; }

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

/* panels */
.panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.panel-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.panel h2 {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.badge {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hell);
  border: 1px solid rgba(255,77,0,0.4);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius);
}

.ca-box {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem;
  border: 1px dashed var(--faint);
  background: #070707;
  border-radius: var(--radius);
}

.ca-slot {
  flex: 1;
  min-width: 0;
  font-size: 0.72rem;
  color: var(--muted);
  word-break: break-all;
  letter-spacing: 0.04em;
}

.hint { margin-top: 0.85rem; font-size: 0.72rem; color: var(--faint); }

.dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .dual { grid-template-columns: 1fr 1fr; }
}

.dual-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #050505;
  border-radius: var(--radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dual-card.sad:hover {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 30px rgba(59,130,246,0.12);
}

.dual-card.hell:hover {
  border-color: rgba(255,77,0,0.55);
  box-shadow: 0 0 30px rgba(255,77,0,0.15);
}

.dual-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.dual-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.dual-card.sad h3 { color: #c8d9ff; }
.dual-card.hell h3 { color: var(--hell-hot); }

.dual-card p { color: var(--muted); font-size: 0.88rem; }

.manifesto { text-align: center; }
.manifesto blockquote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  line-height: 1.25;
  margin: 1.25rem 0 1.5rem;
  letter-spacing: -0.02em;
}

.foot {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}

.foot a:hover { color: var(--hell-hot); }

/* ===== /gaze page ===== */
body.gaze-page { overflow: hidden; height: 100dvh; }

.gaze-stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
}

.gaze-face {
  width: min(92vw, 520px);
  position: relative;
  z-index: 2;
  transition: transform 0.12s ease-out, filter 0.2s;
  will-change: transform;
  filter: drop-shadow(0 0 50px rgba(255,77,0,0.2));
}

.gaze-hud {
  position: fixed;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.gaze-hud a { pointer-events: auto; color: var(--fg); }
.gaze-hud a:hover { color: var(--hell-hot); }

.gaze-readout {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  width: min(90vw, 480px);
}

.gaze-readout .depth {
  display: block;
  margin-top: 0.4rem;
  color: var(--hell-hot);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.gaze-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

.gaze-warn {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-family: var(--display);
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,77,0,0);
  pointer-events: none;
  transition: color 0.6s, text-shadow 0.6s;
}

body.deep-gaze .gaze-warn {
  color: rgba(255,77,0,0.55);
  text-shadow: 0 0 30px rgba(255,77,0,0.4);
}

@media (prefers-reduced-motion: reduce) {
  .marquee, .blink, .stare-ring, .brand-mark { animation: none !important; }
  .face-img, .gaze-face { transition: none !important; }
}

/* ===== gaze score HUD + share card ===== */
.gaze-score-hud {
  position: fixed;
  z-index: 40;
  top: 3.5rem;
  left: 1rem;
  width: min(220px, 42vw);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  pointer-events: none;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.score-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.score-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.score-value.hell { color: var(--hell-hot); }

.score-bar {
  height: 2px;
  background: var(--line);
  margin: 0.45rem 0 0.5rem;
  overflow: hidden;
  border-radius: 1px;
}

.score-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hell), var(--hell-hot));
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
  transition: width 0.15s linear;
}

.score-rank {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hell);
}

.gaze-actions {
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.gaze-actions[hidden] { display: none !important; }

.gaze-card-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.gaze-card-overlay[hidden] { display: none !important; }

.gaze-card-panel {
  width: min(92vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.gaze-card-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

#shareCanvas {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 77, 0, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(255, 77, 0, 0.18);
  background: #000;
}

.gaze-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.gaze-card-hint {
  font-size: 0.65rem;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-align: center;
}

body.card-open { overflow: hidden; }

@media (max-width: 520px) {
  .gaze-score-hud {
    top: auto;
    bottom: 5.5rem;
    left: 0.75rem;
    width: min(180px, 48vw);
  }
}

/* ===== polish: CTAs, CA live, gaze promo, social, mobile ===== */

.btn {
  flex-direction: column;
  gap: 0.15rem;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn-sub {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
  font-weight: 400;
  text-transform: uppercase;
}

.btn-sm {
  flex-direction: row;
  min-height: 36px;
}

.cta-nudge {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

/* face stage as link */
a.face-stage {
  color: inherit;
  text-decoration: none;
  cursor: crosshair;
}

.face-tap {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hell-hot);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(0,0,0,0.9);
}

.face-stage:hover .face-tap,
.face-stage.is-staring .face-tap {
  opacity: 0.9;
}

/* CA live state */
.badge-live {
  color: #4ade80 !important;
  border-color: rgba(74, 222, 128, 0.45) !important;
}

.ca-box.ca-live {
  border-style: solid;
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 0 24px rgba(255, 77, 0, 0.08);
}

.ca-box.ca-live .ca-slot {
  color: var(--fg);
}

.ca-links {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ca-links a:hover { color: var(--hell-hot); }

/* gaze promo panel */
.gaze-promo {
  border-bottom: 1px solid var(--line);
}

.gaze-promo-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 720px) {
  .gaze-promo-inner {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
  }
}

.gaze-promo h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
  text-transform: none;
}

.gaze-promo-body {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 42ch;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.gaze-steps {
  list-style: none;
  border: 1px solid var(--line);
  background: #050505;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.gaze-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.gaze-steps li:last-child { border-bottom: none; }

.step-n {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--hell);
  flex-shrink: 0;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.foot-links {
  display: flex;
  gap: 1rem;
}

.gaze-hud-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  pointer-events: auto;
}

.gaze-hud-right a {
  color: var(--muted);
  font-size: 0.65rem;
}
.gaze-hud-right a:hover { color: var(--hell-hot); }

/* safe areas + mobile polish */
.topbar {
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.gaze-hud {
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
}

.gaze-readout {
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.foot {
  padding-bottom: max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom)));
}

@media (max-width: 520px) {
  .hero {
    padding: 1.75rem 1rem 2.25rem;
    gap: 1.5rem;
  }

  .sticky-bio {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .sub { font-size: 0.85rem; }

  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 auto; min-width: 140px; }

  .face-stage {
    width: min(100%, 340px);
  }

  .face-tap { opacity: 0.75; }

  .ca-box {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
  }

  .ca-slot {
    font-size: 0.65rem;
    width: 100%;
  }

  .ca-box .btn { width: 100%; }

  .panel { padding: 2.25rem 1rem; }

  .gaze-score-hud {
    top: auto;
    bottom: max(5.75rem, calc(5rem + env(safe-area-inset-bottom)));
    left: max(0.75rem, env(safe-area-inset-left));
    width: min(168px, 46vw);
    padding: 0.6rem 0.7rem;
  }

  .score-value { font-size: 0.95rem; }

  .gaze-card-panel {
    width: min(96vw, 420px);
    max-height: 96dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gaze-card-actions {
    gap: 0.4rem;
  }

  .gaze-card-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 0;
  }

  .nav { gap: 0.9rem; font-size: 0.72rem; }

  .cursor-glow { display: none; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
  body { cursor: auto; }
  a.face-stage { cursor: pointer; }
}


/* —— roadmap —— */
.roadmap-page .roadmap-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.roadmap-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.roadmap-lede {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.65;
}

.roadmap-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: grid;
  gap: 1rem;
}

.phase {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  background: #050505;
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.phase::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--faint);
}

.phase-live::before { background: var(--hell); box-shadow: 0 0 12px rgba(255,77,0,0.5); }
.phase-next::before { background: var(--tear); }
.phase-later::before { background: var(--faint); }

.phase-live:hover {
  border-color: rgba(255,77,0,0.45);
  box-shadow: 0 0 28px rgba(255,77,0,0.12);
}
.phase-next:hover {
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 28px rgba(59,130,246,0.1);
}
.phase-later:hover {
  border-color: rgba(242,242,242,0.18);
}

.phase-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.phase-n {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.badge-live {
  color: var(--hell);
  border-color: rgba(255,77,0,0.45);
}
.badge-next {
  color: #93c5fd;
  border-color: rgba(59,130,246,0.4);
}
.badge-later {
  color: var(--muted);
  border-color: var(--faint);
}

.phase h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.phase-live h2 { color: var(--hell-hot); }
.phase-next h2 { color: #c8d9ff; }
.phase-later h2 { color: var(--fg); }

.phase-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}

.phase-bullets {
  list-style: none;
  margin-bottom: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.phase-bullets li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.phase-bullets li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--hell);
  opacity: 0.7;
}

.phase-next .phase-bullets li::before { color: var(--tear); }
.phase-later .phase-bullets li::before { color: var(--muted); }

.roadmap-foot-note {
  border-bottom: none;
  margin-top: 1rem;
}

.nav a[aria-current="page"] {
  color: var(--fg);
}

@media (max-width: 520px) {
  .roadmap-page .roadmap-hero {
    padding: 2.25rem 1rem 1.25rem;
  }
  .roadmap-list {
    padding: 1.25rem 1rem 0;
  }
  .phase {
    padding: 1.25rem 1rem;
  }
}

/* ===== abyss gaze hold + blink ===== */
body.gaze-page {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  overscroll-behavior: none;
}

body.gaze-page .gaze-stage,
body.gaze-page .gaze-face {
  -webkit-user-drag: none;
  user-select: none;
  touch-action: none;
}

.hold-state {
  font-size: 0.85rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hold-state[data-state="held"] { color: var(--hell-hot); }
.hold-state[data-state="paused"] { color: var(--muted); }
.hold-state[data-state="blink"] {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 77, 0, 0.9);
  animation: hold-blink-pulse 0.18s steps(2) infinite;
}
.hold-state[data-state="sealed"] { color: var(--fg); }

@keyframes hold-blink-pulse {
  from { opacity: 1; }
  to { opacity: 0.35; }
}

body.gaze-holding .gaze-score-hud {
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 0 24px rgba(255, 77, 0, 0.12);
}

body.gaze-paused .gaze-score-hud {
  border-color: var(--line);
}

.blink-flash {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(255, 77, 0, 0.55) 0%, rgba(255, 40, 0, 0.18) 42%, transparent 70%),
    rgba(255, 60, 0, 0.12);
  opacity: 0;
  mix-blend-mode: screen;
}
.blink-flash.is-on {
  animation: blink-flash-burst 0.55s ease-out forwards;
}
@keyframes blink-flash-burst {
  0% { opacity: 0; }
  12% { opacity: 1; }
  40% { opacity: 0.75; }
  100% { opacity: 0; }
}

.blink-cue {
  position: fixed;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 3rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 20px rgba(255, 77, 0, 1),
    0 0 60px rgba(255, 40, 0, 0.8);
  animation: blink-cue-pop 0.2s ease-out;
}
.blink-cue[hidden] { display: none !important; }
@keyframes blink-cue-pop {
  from { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

body.gaze-blink .gaze-face {
  filter: drop-shadow(0 0 80px rgba(255, 77, 0, 0.95)) brightness(1.35) contrast(1.1) !important;
}

body.gaze-blink .gaze-warn {
  color: rgba(255, 77, 0, 0.95) !important;
  text-shadow: 0 0 40px rgba(255, 77, 0, 0.85) !important;
}

@media (prefers-reduced-motion: reduce) {
  .blink-flash.is-on { animation: none; opacity: 0.55; }
  .hold-state[data-state="blink"] { animation: none; }
  .blink-cue { animation: none; }
}

/* ===== /void — speak into the abyss ===== */
body.void-page {
  min-height: 100dvh;
}

.void-main {
  width: min(720px, 94vw);
  margin: 0 auto;
  padding: 5.5rem 0 7rem;
}

.void-hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.void-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--fg);
  text-shadow: 0 0 40px rgba(255, 77, 0, 0.25);
  margin: 0.4rem 0 0.75rem;
}

.void-lede {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.void-status {
  margin-top: 0.85rem;
  color: var(--hell-hot);
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.void-gate-card {
  border: 1px solid rgba(255, 77, 0, 0.35);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
  box-shadow: 0 0 48px rgba(255, 77, 0, 0.12);
  margin-bottom: 1.25rem;
}

.void-gate-line {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

.void-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.void-feed-wrap {
  position: relative;
  min-height: 220px;
}

.void-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.void-msg {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.void-msg header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.void-handle {
  color: var(--hell-hot);
  font-weight: 600;
}

.void-msg p {
  margin: 0;
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.45;
  word-break: break-word;
}

.void-msg.is-blurred {
  filter: blur(5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

.void-empty {
  text-align: center;
  color: var(--faint);
  padding: 2rem 0;
}

.void-teaser {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.55), rgba(0,0,0,0.82));
  z-index: 2;
  text-align: center;
}

.void-teaser-line {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 77, 0, 0.7);
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  max-width: 18rem;
}

.void-compose {
  position: sticky;
  bottom: 0.75rem;
  margin-top: 1.25rem;
  border: 1px solid rgba(255, 77, 0, 0.4);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: 0 0 40px rgba(255, 77, 0, 0.15);
  z-index: 5;
}

.void-compose-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hell);
  margin-bottom: 0.45rem;
}

.void-compose textarea {
  width: 100%;
  resize: vertical;
  min-height: 72px;
  background: #050505;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 0.9rem;
  line-height: 1.4;
}

.void-compose textarea:focus {
  outline: none;
  border-color: rgba(255, 77, 0, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 77, 0, 0.25);
}

.void-compose-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.void-foot {
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 520px) {
  .void-main { padding-top: 4.5rem; }
  .void-gate-actions { flex-direction: column; }
  .void-gate-actions .btn { width: 100%; }
}
