/* ==========================================================================
   slipperysign v2 — same metal, different voltage
   satin black · anodized titanium spectrum · full-page video layer
   ========================================================================== */

:root {
  --ink: #08090C;
  --panel: rgba(13, 15, 20, 0.8);
  --panel-solid: #10121A;
  --text: #EDEDF2;
  --muted: #A9AEB9;
  --hairline: rgba(255, 255, 255, 0.09);

  /* global anodization hue — driven by scroll in JS */
  --hue: 265;
  --accent: hsl(var(--hue) 75% 64%);
  --accent-soft: hsl(var(--hue) 75% 64% / 0.16);
  --accent-line: hsl(var(--hue) 70% 60% / 0.45);

  --irid: linear-gradient(100deg, #A78BFA 0%, #7DA5F5 32%, #5EEAD4 62%, #F0CD70 100%);

  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", monospace;

  --nav-h: 64px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* iridescent text */
.irid {
  background: var(--irid);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

/* ==========================================================================
   Fixed background video stack
   ========================================================================== */

.bg-stack { position: fixed; inset: 0; z-index: 0; background: var(--ink); }
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease, filter 1.1s ease;
  will-change: opacity;
}
.bg-video.is-active { opacity: 0.72; }
.bg-video--mobile { display: none; }

.bg-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(8,9,12,0.3) 0%, rgba(8,9,12,0.72) 70%),
    linear-gradient(180deg, rgba(8,9,12,0.55) 0%, rgba(8,9,12,0.38) 45%, rgba(8,9,12,0.8) 100%);
}

main, .site-nav, .mobile-nav, .site-footer, .volt-hud { position: relative; z-index: 2; }

/* ==========================================================================
   Voltage HUD
   ========================================================================== */

.volt-hud {
  position: fixed;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.volt-readout { color: var(--text); }
.volt-readout b { color: var(--accent); font-weight: 700; font-size: 1.2rem; }
.volt-track {
  width: 2px; height: 34vh; min-height: 180px;
  background: var(--hairline);
  position: relative;
  border-radius: 2px;
}
.volt-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, #8B5CF6, #4C7DF0, #2DD4BF, #E8C15A);
  border-radius: 2px;
  will-change: height;
}
.volt-fill::after {
  content: "";
  position: absolute; bottom: -3px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  background: rgba(8, 9, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--irid);
  opacity: 0.55;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.28em;
  color: var(--text);
}
.wordmark span {
  background: var(--irid);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); border-bottom-color: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--accent); transition: transform .25s ease, opacity .25s ease; display: block; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  flex-direction: column;
  background: rgba(10, 11, 15, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav a {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); padding: 16px 30px; border-bottom: 1px solid var(--hairline);
}
.mobile-nav.open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { height: 260vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) 28px 20px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  padding: 9px 16px;
  border-radius: 100px;
  margin-bottom: 30px;
  backdrop-filter: blur(6px);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--irid);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}

.hero-sub { max-width: 54ch; font-size: 1.1rem; color: var(--text); opacity: .86; margin-bottom: 36px; font-weight: 400; }
.hero-sub strong { font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }

.btn-solid {
  background: linear-gradient(120deg, hsl(var(--hue) 70% 58%), hsl(var(--hue) 80% 48%));
  color: #0A0A0E;
  box-shadow: 0 6px 24px hsl(var(--hue) 75% 55% / 0.35);
}
.btn-solid:hover { box-shadow: 0 10px 32px hsl(var(--hue) 75% 55% / 0.5); color: #0A0A0E; }

.btn-line { border-color: var(--hairline); color: var(--text); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

.meta-strip { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); }

/* portrait */
.hero-portrait { justify-self: end; width: 100%; max-width: 380px; }
.portrait-frame {
  position: relative;
  border-radius: 18px;
  padding: 1px;
  background: var(--irid);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 60px hsl(var(--hue) 75% 55% / 0.14);
}
.portrait-frame img {
  display: block; width: 100%; height: auto;
  border-radius: 17px;
  filter: saturate(0.92) contrast(1.04);
}
.portrait-plate {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.28em; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.scroll-hint span { color: var(--accent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 130px 0; position: relative; }

.volt-chip {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: rgba(8,9,12,0.5);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.section h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin-bottom: 28px;
}

.section-intro { max-width: 66ch; font-size: 1.1rem; color: var(--text); opacity: .84; margin-bottom: 56px; }

/* the sign — split */
.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.split-main p { margin-bottom: 20px; color: var(--text); opacity: .88; max-width: 60ch; }
.split-main em { font-family: var(--font-serif); font-style: italic; font-size: 1.1em; }
.split-aside {
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(160deg, hsl(var(--hue) 70% 60% / .55), transparent 60%);
}
.aside-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.42;
  color: var(--text);
  background: var(--panel);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 34px 32px;
}

/* two modes — builder / strategist */
.modes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 64px;
}
.mode {
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 34px 30px;
  transition: border-color .25s ease, transform .25s ease;
}
.mode:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.mode-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 14px;
}
.mode h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.mode p { color: var(--muted); font-size: 0.98rem; }
.mode-core {
  align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.3em;
  color: var(--muted);
  padding: 0 6px;
}
.mode-core b {
  color: var(--accent);
  font-size: 1rem;
  text-shadow: 0 0 16px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.modes-caption {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  opacity: .85;
  margin-top: 10px;
}

@media (max-width: 860px) {
  .modes { grid-template-columns: 1fr; }
  .mode-core { flex-direction: row; padding: 4px 0; }
}

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 34px 30px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--hue) 80% 65% / 0.10), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }

.card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 4px 10px;
}
.card h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* stats */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.stat {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px 28px;
  transition: border-color .25s ease;
}
.stat:hover { border-color: var(--accent-line); }
.stat-num {
  display: block;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: var(--irid);
  background-size: 300% 100%;
  background-position: 40% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { color: var(--muted); font-size: 0.92rem; }

/* marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.marquee-track i { color: var(--accent); font-style: normal; font-size: 0.55rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Story timeline
   ========================================================================== */

.timeline { position: relative; max-width: 860px; padding-left: 58px; }
.tl-rail {
  position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px;
  background: var(--hairline); border-radius: 2px;
}
.tl-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, #B08D57, #8B5CF6, #4C7DF0, #2DD4BF, #E8C15A);
  border-radius: 2px;
  will-change: height;
}
.tl-node {
  position: absolute; left: 50%; top: 0%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  font-size: 0.8rem;
  text-shadow: 0 0 14px var(--accent);
  will-change: top;
}

.tl-item { position: relative; padding-bottom: 62px; }
.tl-item::before {
  content: "";
  position: absolute; left: -50px; top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px hsl(var(--hue) 75% 60% / .5);
}

.tl-volt {
  font-family: var(--font-mono);
  font-size: 0.76rem; letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 10px;
}
.tl-item h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 10px; }
.tl-meta { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; }
.tl-item > p:not(.tl-volt):not(.tl-meta), .tl-item div > p:not(.tl-volt) { color: var(--muted); max-width: 62ch; }
.tl-item strong { color: var(--text); font-weight: 600; }

/* origin item with childhood plate */
.tl-item--origin {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: start;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 62px;
}
.tl-item--origin::before { left: -66px; }
.kid-plate {
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(150deg, #B08D57, rgba(176,141,87,0.15));
}
.kid-plate img {
  display: block; width: 100%;
  border-radius: 11px;
  filter: sepia(0.45) contrast(1.05) brightness(0.96);
}
.kid-plate figcaption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.26em;
  color: #B08D57;
  padding: 10px 0 6px;
}

/* copper aside */
.tl-item--metal {
  background: linear-gradient(140deg, rgba(64,42,20,0.5), rgba(16,18,24,0.6));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 149, 76, 0.35);
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 62px;
}
.tl-item--metal::before { left: -66px; border-color: #D6954C; box-shadow: 0 0 10px rgba(214,149,76,.5); }
.tl-item--metal .tl-volt { color: #D6954C; }

.closing-reflection { max-width: 640px; margin: 40px auto 0; }
.closing-reflection p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   Toolkit
   ========================================================================== */

.toolkit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 40px; }
.toolkit-group {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px 28px;
}
.toolkit-group h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.toolkit-group ul { list-style: none; }
.toolkit-group li { color: var(--text); opacity: .85; font-size: 0.96rem; padding: 5px 0 5px 20px; position: relative; }
.toolkit-group li::before { content: "◆"; position: absolute; left: 0; top: 8px; color: var(--accent); font-size: 0.55rem; }

.toolkit-footnote { font-size: 0.9rem; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.contact-portrait {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
}
.contact-portrait img { display: block; width: 100%; filter: saturate(0.94); }

.contact-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
  opacity: .9;
  max-width: 46ch;
  margin-bottom: 40px;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 44px; }
.contact-card {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
.contact-card--primary { border-color: var(--accent-line); box-shadow: 0 0 50px hsl(var(--hue) 75% 55% / 0.1); }
.contact-card h3 { font-size: 1.25rem; font-weight: 600; }
.contact-card p { color: var(--muted); flex-grow: 1; font-size: 0.97rem; }

.contact-list { list-style: none; display: flex; gap: 48px; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: 30px; }
.contact-list li { display: flex; flex-direction: column; gap: 6px; font-size: 0.95rem; }
.contact-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 44px 28px;
  text-align: center;
  background: rgba(8,9,12,0.7);
  backdrop-filter: blur(10px);
}
.site-footer p { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--muted); }

/* ==========================================================================
   Media bands (card / mode / contact graphics)
   ========================================================================== */

.card-media {
  margin: -34px -30px 24px;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid var(--hairline);
}
.card-media img, .mode-media img, .contact-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
  transition: transform .6s ease, opacity .3s ease;
}
.card:hover .card-media img, .mode:hover .mode-media img { transform: scale(1.04); opacity: 1; }

.mode-media {
  margin: -34px -30px 24px;
  aspect-ratio: 21 / 8;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid var(--hairline);
}

.contact-band {
  aspect-ratio: 21 / 5;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  margin-bottom: 22px;
}

/* ==========================================================================
   Voltage surge — flash when crossing a section threshold
   ========================================================================== */

#surge {
  position: fixed; inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, hsl(var(--hue) 90% 62% / 0.5), transparent 60%),
    linear-gradient(180deg, hsl(var(--hue) 90% 62% / 0.2), transparent 35%);
}
#surge.zap { animation: surge .85s ease-out; }
@keyframes surge {
  0% { opacity: 0; }
  16% { opacity: 1; }
  100% { opacity: 0; }
}

.volt-readout b { display: inline-block; }
.volt-hud.zap .volt-readout b { animation: jolt .55s cubic-bezier(.2, 1.6, .4, 1); }
.volt-hud.zap .volt-fill::after { animation: sparkdot .55s ease-out; }
@keyframes jolt {
  0% { transform: scale(1); }
  35% { transform: scale(1.5); text-shadow: 0 0 18px var(--accent); }
  100% { transform: scale(1); }
}
@keyframes sparkdot {
  0% { box-shadow: 0 0 12px var(--accent); }
  35% { box-shadow: 0 0 30px 6px var(--accent); }
  100% { box-shadow: 0 0 12px var(--accent); }
}

/* portrait presence */
.portrait-frame { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   v3 — exploding verse hero (centered, no side portrait)
   ========================================================================== */

.hero-inner { display: flex; justify-content: center; }
.hero-copy {
  max-width: 980px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.8rem, 7.2vw, 6rem);
  max-width: none;
  letter-spacing: -0.02em;
}
.hero-sub { text-align: center; }
.hero-ctas { justify-content: center; }

/* each glyph carries its own scatter vector; --sc goes 1 (exploded) -> 0 (assembled) */
#verse .vch {
  display: inline-block;
  white-space: pre;
  transform:
    translate(calc(var(--sx) * var(--sc, 0)), calc(var(--sy) * var(--sc, 0)))
    rotate(calc(var(--sr) * var(--sc, 0)));
  opacity: calc(1 - var(--sc, 0) * 0.4);
  will-change: transform, opacity;
}

/* sub + CTAs + meta materialize after the verse assembles */
.reveal-late {
  opacity: var(--late, 1);
  transform: translateY(calc((1 - var(--late, 1)) * 18px));
  will-change: opacity, transform;
}

/* ==========================================================================
   v3 — portrait in The Sign
   ========================================================================== */

.sign-portrait {
  border-radius: 18px;
  padding: 1px;
  background: var(--irid);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 50px hsl(var(--hue) 75% 55% / 0.12);
}
.sign-portrait img { display: block; width: 100%; border-radius: 17px; filter: saturate(0.92) contrast(1.04); }
.sign-portrait figcaption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem; letter-spacing: 0.24em;
  color: var(--muted);
  padding: 14px 0 10px;
}
.aside-quote--inline {
  border-left: 3px solid var(--accent);
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 6px 0 6px 24px;
  margin-top: 10px;
  font-size: 1.3rem;
  max-width: 56ch;
}

/* ==========================================================================
   v3 — Work spec sheets
   ========================================================================== */

.spec-list { display: flex; flex-direction: column; }
.spec-row {
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr 110px;
  gap: 44px;
  align-items: center;
  padding: 52px 8px;
  border-top: 1px solid var(--hairline);
}
.spec-row:last-child { border-bottom: 1px solid var(--hairline); }
.spec-row--flip .spec-porthole { order: 3; }
.spec-row--flip .spec-body { order: 2; }
.spec-row--flip .spec-index { order: 1; justify-self: start; }

.spec-porthole {
  width: 250px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--accent-line);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.03), 0 0 46px hsl(var(--hue) 75% 55% / 0.14), inset 0 0 30px rgba(0,0,0,0.55);
}
.spec-porthole img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform .7s ease;
}
.spec-row:hover .spec-porthole img { transform: scale(1.24); }

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 12px;
}
.spec-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.spec-body > p:not(.spec-tag) { color: var(--muted); max-width: 58ch; margin-bottom: 20px; }

.spec-proof { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-proof span {
  font-family: var(--font-mono);
  font-size: 0.84rem; letter-spacing: 0.06em;
  color: var(--text);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  background: hsl(var(--hue) 75% 60% / 0.08);
  padding: 7px 13px;
  border-radius: 4px;
}

.spec-index {
  font-weight: 700;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px hsl(var(--hue) 70% 62% / 0.55);
  justify-self: end;
  user-select: none;
}

/* ==========================================================================
   v3 — Proof meters
   ========================================================================== */

.meter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 56px;
  margin-bottom: 64px;
}
.meter { padding: 6px 0; }
.meter .stat-num { margin-bottom: 8px; }
.meter p { color: var(--muted); font-size: 1rem; margin-bottom: 16px; max-width: 52ch; }
.meter-track {
  height: 4px;
  background: var(--hairline);
  border-radius: 4px;
  overflow: hidden;
}
.meter-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #8B5CF6, #4C7DF0, #2DD4BF, #E8C15A);
  box-shadow: 0 0 14px hsl(var(--hue) 80% 60% / 0.6);
  transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .15s;
}

/* ==========================================================================
   v3 — Toolkit chips
   ========================================================================== */

.chip-groups { display: flex; flex-direction: column; gap: 40px; margin-bottom: 44px; }
.chip-group h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.chip:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  background: linear-gradient(160deg, hsl(var(--hue) 75% 60% / 0.14), rgba(255,255,255,0.02));
}

/* ==========================================================================
   v3 — ghost voltage numerals + mobile voltage bar + surge arc
   ========================================================================== */

.section { overflow: hidden; }
.section .container { position: relative; z-index: 1; }
.volt-ghost {
  position: absolute;
  top: 54px; right: 2vw;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 15vw, 13rem);
  line-height: 1;
  color: transparent;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}

.volt-bar {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  height: 3px;
  z-index: 95;
  background: rgba(255,255,255,0.06);
}
.volt-bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #8B5CF6, #4C7DF0, #2DD4BF, #E8C15A);
  box-shadow: 0 0 10px hsl(var(--hue) 80% 60% / 0.7);
}

.surge-arc {
  position: absolute;
  left: 0; right: 0; top: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--hue) 95% 70%), hsl(var(--hue) 95% 85%), hsl(var(--hue) 95% 70%), transparent);
  box-shadow: 0 0 18px 2px hsl(var(--hue) 90% 65% / 0.8);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}
#surge.zap .surge-arc { animation: arc .55s cubic-bezier(.3, 0, .2, 1); }
@keyframes arc {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* ==========================================================================
   Reveals + reduced motion
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .irid, .hero h1 em, .badge-dot, .scroll-hint span { animation: none; }
  .marquee-track { animation: none; }
  .portrait-frame { animation: none; }
  #verse .vch { transform: none; opacity: 1; }
  .reveal-late { opacity: 1; transform: none; }
  .meter-fill { transition: none; }
  #surge.zap, .volt-hud.zap .volt-readout b, .volt-hud.zap .volt-fill::after, #surge.zap .surge-arc { animation: none; }
  .card-media img, .mode-media img { transition: none; }
  .hero { height: auto; }
  .hero-sticky { position: relative; height: 100vh; }
  .bg-video { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
  .scroll-hint { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-portrait { justify-self: start; max-width: 300px; order: -1; }
  .split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-portrait { max-width: 300px; }
}

@media (max-width: 860px) {
  .card-grid, .toolkit-grid, .contact-cards { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .meter-grid { grid-template-columns: 1fr; gap: 28px; }
  .volt-hud { display: none; }
  .volt-bar { display: block; }
  .volt-ghost { top: 40px; opacity: 0.16; }

  .spec-row, .spec-row--flip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .spec-porthole { width: 180px; margin: 0 auto; }
  .spec-row--flip .spec-porthole, .spec-row--flip .spec-body, .spec-row--flip .spec-index { order: 0; }
  .spec-index { position: absolute; top: 28px; right: 0; font-size: 3.4rem; }
  .spec-body { text-align: left; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { padding: 0 20px; }

  .bg-video--desktop#bg-hero { display: none; }
  .bg-video--mobile { display: block; }

  .hero { height: 200vh; }
  .hero-inner { padding-top: calc(var(--nav-h) + 16px); }
  .hero-portrait { max-width: 210px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }

  .section { padding: 90px 0; }
  .stat-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 36px; }
  .tl-rail { left: 5px; }
  .tl-item::before { left: -29px; }
  .tl-item--origin { grid-template-columns: 1fr; padding: 24px; }
  .tl-item--origin::before, .tl-item--metal::before { left: -45px; }
  .kid-plate { max-width: 220px; }
  .tl-node { display: none; }

  .contact-list { flex-direction: column; gap: 22px; }
}

/* content must never depend on JS to be readable */
.no-js .reveal, .no-js .reveal-late { opacity: 1 !important; transform: none !important; }
.no-js .meter-fill { width: 100% !important; }

/* v3.1 — calm hero load-in (replaces the exploding verse) */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy > * { animation: riseIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-copy > *:nth-child(5) { animation-delay: .48s; }

/* contact: let the arc breathe */
#bg-spark { object-position: 70% center; }
.bg-scrim { transition: opacity .9s ease; }
body.bg-bright .bg-scrim { opacity: 0.45; }
body.bg-bright .bg-video.is-active { opacity: 0.9; }

/* closing plate */
.closing-plate { text-align: center; max-width: 760px; margin: 56px auto 0; }
.plate-kicker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.26em; color: var(--muted); margin-bottom: 18px; }
.plate-line { font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; }
.plate-sub { color: var(--muted); font-size: 1.02rem; max-width: 54ch; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy > * { animation: none; }
  .bg-scrim { transition: none; }
}

/* ==========================================================================
   v3.2 — split-portrait modes panel (text only on dark scrims)
   ========================================================================== */

.modes-portrait {
  position: relative;
  margin-top: 64px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.modes-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.modes-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 200px 44px 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,9,12,0.55) 38%, rgba(8,9,12,0.94) 78%);
}
.mode-side h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 10px; }
.mode-side p:not(.mode-tag) { color: #C6CAD3; font-size: 0.99rem; max-width: 46ch; }
.mode-side--right { text-align: right; justify-self: end; }
.mode-side--right p:not(.mode-tag) { margin-left: auto; }
.modes-caption { margin-top: 26px; }

.contact-cta { margin-bottom: 44px; }

@media (max-width: 860px) {
  .modes-portrait { min-height: 0; }
  .modes-overlay { grid-template-columns: 1fr; gap: 26px; padding: 260px 24px 30px; }
  .mode-side--right { text-align: left; justify-self: start; }
}

/* v3.5 — auto-hiding nav (mobile) + hero headroom */
.site-nav { transition: transform .3s ease; }
@media (max-width: 860px) {
  .site-nav.nav-hidden { transform: translateY(-110%); }
  .volt-bar { transition: transform .3s ease; }
  .site-nav.nav-hidden ~ .volt-bar, body:has(.site-nav.nav-hidden) .volt-bar { transform: translateY(-67px); }
}
@media (max-width: 720px) {
  .hero-inner { padding-top: calc(var(--nav-h) + 56px); }
  .modes-portrait { min-height: 600px; }
}
