/* ═══════════════════════════════════════════════════════════
   FLYNN // SIGNAL  —  v2 design language
   Warm obsidian void · bone type · volt-lime signal · vermilion flare
   Bricolage Grotesque · Instrument Serif · JetBrains Mono
═══════════════════════════════════════════════════════════ */

:root {
  /* ── core palette (Tweaks can override --volt / --flare) ── */
  --void:    #0A0A0C;
  --void-2:  #0E0E12;
  --panel:   #141419;
  --panel-2: #1B1B22;
  --bone:    #ECE7DD;
  --bone-2:  #C9C4BA;

  --volt:    #B69DFF;   /* signature signal (Plasma default) */
  --flare:   #FF5A2C;   /* heat accent */
  --volt-rgb: 182,157,255;
  --flare-rgb: 255,90,44;

  /* derived inks */
  --ink-90: rgba(236,231,221,0.90);
  --ink-70: rgba(236,231,221,0.70);
  --ink-50: rgba(236,231,221,0.50);
  --ink-35: rgba(236,231,221,0.35);
  --ink-20: rgba(236,231,221,0.20);
  --ink-12: rgba(236,231,221,0.12);
  --ink-08: rgba(236,231,221,0.08);
  --ink-04: rgba(236,231,221,0.04);

  /* type */
  --display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --serif:   'Instrument Serif', Georgia, serif;
  --hand:    'Caveat', 'Segoe Script', cursive;
  --mono:    'JetBrains Mono', ui-monospace, monospace;
  --sans:    'Bricolage Grotesque', system-ui, -apple-system, sans-serif;

  /* motion (0..1, driven by Tweaks) */
  --motion: 0.7;

  --nav-h: 72px;
  --nav-h-scrolled: 60px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --nav-offset: calc(var(--nav-h) + var(--safe-top));
  --nav-offset-scrolled: calc(var(--nav-h-scrolled) + var(--safe-top));
  --v2-bodhi-fab-size: 64px;
  --v2-bodhi-offset: 20px;
  --v2-bodhi-panel-gap: 0px;
  --v2-bodhi-top-clearance: 36px;
  --v2-floating-clearance: calc(var(--v2-bodhi-fab-size) + var(--v2-bodhi-offset) + var(--safe-bottom) + 36px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1320px;
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.has-lenis, html.has-lenis body { height: auto; }
body {
  font-family: var(--display);
  background: var(--void);
  color: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  line-height: 1.5;
  font-weight: 400;
}

/* The safe-area cap is independent of the hide-on-scroll nav transform, so
   iOS never exposes moving page imagery around the sensor housing. */
@supports (height: env(safe-area-inset-top)) {
  body::before {
    content: '';
    position: fixed;
    z-index: 65;
    top: 0;
    right: 0;
    left: 0;
    height: var(--safe-top);
    background: var(--void);
    pointer-events: none;
  }
}
img, canvas { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
::selection { background: var(--volt); color: #000; }
::-webkit-scrollbar { width: 0; height: 0; }

/* ── global texture layers ── */
#v2-grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.no-grain #v2-grain { display: none; }
#v2-vignette {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
  background: radial-gradient(ellipse 130% 100% at 50% 40%, transparent 55%, rgba(0,0,0,0.42) 100%);
}
/* fixed WebGL canvas behind everything */
#v2-gl {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--gl-op, 0);
}
body.no-3d #v2-gl,
body.v2-gl-fallback #v2-gl { display: none; }
/* Above hero photographs; the scrim and copy still hold the foreground. */
body.v2-gl-over-hero #v2-gl { z-index: 1; }
.v2-motion-label { display:flex; justify-content:space-between; font-size:13px; margin-bottom:8px; }
.v2-visuals input[type="range"] { width:100%; min-height:32px; accent-color:var(--volt); cursor:pointer; }
.v2-visuals .v2-bodhi-toggle { margin-top:12px; }
.v2-visuals .bo-note { font-size:11px; line-height:1.5; }

/* ── shared atoms ── */
.v2-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .v2-wrap { padding: 0 48px; } }

.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--volt);
}
.v2-eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--volt);
  box-shadow: 0 0 8px var(--volt);
}
.v2-eyebrow.muted { color: var(--ink-50); }
.v2-eyebrow.muted::before { background: var(--ink-35); box-shadow: none; }

.v2-display {
  font-family: var(--display); font-weight: 800;
  letter-spacing: -0.035em; line-height: 0.92;
  text-wrap: balance;
}
.v2-serif-it { font-family: var(--font-quote, var(--serif)); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.v2-volt { color: var(--volt); }
.v2-flare { color: var(--flare); }

/* handwritten annotation layer — the organic / penmanship counterpoint */
.v2-hand {
  font-family: var(--hand); font-weight: 600;
  color: var(--volt); line-height: 1; display: inline-block;
}
.v2-note {
  font-family: var(--hand); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px);
  color: var(--volt); line-height: 0.95; display: inline-flex; align-items: center; gap: 8px;
  transform: rotate(-4deg);
}
.v2-note .arr { font-size: 1.4em; transform: translateY(2px); }
.v2-ink-underline { position: relative; white-space: nowrap; }
.v2-ink-underline::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.5em;
  background: no-repeat center/100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 18' fill='none'%3E%3Cpath d='M3 11c40-7 120-9 194-4' stroke='%23C8FF34' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.9; pointer-events: none;
}

/* buttons */
.v2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 2px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.v2-btn-solid { background: var(--volt); color: #000; }
.v2-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--volt); }
.v2-btn-ghost { border: 1px solid var(--ink-20); color: var(--ink-70); }
.v2-btn-ghost:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); }
.v2-btn svg { transition: transform 0.25s var(--ease); }
.v2-btn:hover svg { transform: translateX(4px); }

/* Visible by default. JS adds short, one-shot entrances without owning layout. */
[data-reveal] {
  opacity: 1;
  transform: none;
}
[data-reveal][data-rv] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ═════════════════ NAV ═════════════════ */
.v2-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-offset); padding-top: var(--safe-top);
  display: flex; align-items: center;
  transition: transform 0.3s var(--ease), background 0.4s, backdrop-filter 0.4s, border-color 0.4s, height 0.4s;
  border-bottom: 1px solid transparent;
}
.v2-nav.scrolled {
  height: var(--nav-offset-scrolled);
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--ink-08);
}
@media (max-width: 879px) {
  .v2-nav, .v2-nav.scrolled {
    background: var(--void);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--ink-08);
    height: var(--nav-offset);
  }
  .v2-nav.nav-hidden { transform: none; pointer-events: auto; }
  .v2-nav.nav-hidden:focus-within { transform: none; pointer-events: auto; }
  .v2-nav-inner { padding-left: max(24px, var(--safe-left)); padding-right: max(24px, var(--safe-right)); }
}
@media (prefers-reduced-motion: reduce) {
  .v2-nav { transition: none; }
}
.v2-nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .v2-nav-inner { padding: 0 48px; } }
@media (max-width: 340px) {
  .v2-nav-inner { padding-right: 16px; padding-left: 16px; }
  .v2-logo { gap: 9px; }
  .v2-logo img.lmark { height: 27px; }
}
.v2-logo { display: flex; align-items: center; gap: 12px; }
.v2-logo img.lmark {
  height: 30px; width: auto; flex-shrink: 0;
  transition: transform 0.5s var(--ease), filter 0.4s;
  filter: drop-shadow(0 0 0 transparent);
}
.v2-logo:hover img.lmark { transform: rotate(-8deg) scale(1.05); filter: drop-shadow(0 0 14px rgba(var(--volt-rgb),0.45)); }
.v2-logo .mark {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--volt); position: relative; flex-shrink: 0;
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.v2-logo .mark::after {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--volt); box-shadow: 0 0 12px var(--volt);
  animation: voltPulse 2.6s ease-in-out infinite;
}
.v2-logo:hover .mark { transform: rotate(140deg); box-shadow: 0 0 22px -4px var(--volt); }
@keyframes voltPulse { 0%,100% { opacity: 0.6; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.1); } }
.v2-logo .word { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.v2-logo .word span { color: var(--ink-35); }

.v2-nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 880px) { .v2-nav-links { display: flex; } }
.v2-nav-link {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ink-50);
  padding: 9px 14px; border-radius: 2px; transition: color 0.2s; position: relative;
  white-space: nowrap;
}
.v2-nav-link:hover { color: var(--bone); }
.v2-nav-link.signal { color: var(--volt); }

/* services dropdown */
.v2-nav-dd { position: relative; }
.v2-nav-ddbtn { display: inline-flex; align-items: center; gap: 5px; background: none; cursor: pointer; }
.v2-nav-ddbtn .chev { transition: transform 0.2s; opacity: 0.7; }
.v2-nav-dd:hover .v2-nav-ddbtn,
.v2-nav-dd:focus-within .v2-nav-ddbtn { color: var(--bone); }
.v2-nav-dd:hover .v2-nav-ddbtn .chev,
.v2-nav-dd:focus-within .v2-nav-ddbtn .chev { transform: rotate(180deg); }
.v2-nav-ddmenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 12px; min-width: 268px; padding: 8px;
  background: rgba(14,14,18,0.96); backdrop-filter: blur(18px);
  border: 1px solid var(--ink-12); border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.75);
  display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.v2-nav-ddmenu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.v2-nav-dd:hover .v2-nav-ddmenu,
.v2-nav-dd:focus-within .v2-nav-ddmenu { display: flex; }
.v2-nav-dditem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background 0.18s; }
.v2-nav-dditem:hover { background: rgba(var(--volt-rgb),0.08); }
.v2-nav-dditem .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--volt); background: rgba(var(--volt-rgb),0.05); }
.v2-nav-dditem .tx { display: flex; flex-direction: column; gap: 1px; }
.v2-nav-dditem .tx b { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--bone); letter-spacing: -0.01em; }
.v2-nav-dditem .tx i { font-family: var(--mono); font-style: normal; font-size: 10px; letter-spacing: 0.04em; color: var(--ink-50); }
.v2-nav-cta {
  display: none;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 2px;
  background: var(--bone); color: #000; transition: background 0.2s, color 0.2s;
}
@media (min-width: 600px) { .v2-nav-cta { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } }
.v2-nav-cta:hover { background: var(--volt); }
.v2-burger { width: 42px; height: 42px; display: grid; place-items: center; color: var(--bone); }
@media (min-width: 880px) { .v2-burger { display: none; } }

/* mobile sheet */
.v2-sheet { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.v2-sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.6); opacity: 0; }
.v2-sheet.open .v2-sheet-scrim { opacity: 1; }
.v2-sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 90vw);
  background: var(--void-2); border-left: 1px solid var(--ink-08);
  transform: translateX(100%);
  display: flex; flex-direction: column;
  padding: calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(24px + var(--safe-left));
  overflow-y: auto; overscroll-behavior: contain;
}
.v2-sheet.open { pointer-events: auto; }
.v2-sheet.open .v2-sheet-scrim { opacity: 1; }
.v2-sheet.open .v2-sheet-panel { transform: translateX(0); }
.v2-sheet-link {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 20px 4px; border-bottom: 1px solid var(--ink-08);
  font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--bone); transition: color 0.2s, padding-left 0.2s;
}
.v2-sheet-link:hover { color: var(--volt); padding-left: 12px; }
.v2-sheet-link .n { font-family: var(--mono); font-size: 11px; color: var(--ink-35); letter-spacing: 0.1em; }

/* ═════════════════ HERO (content-first WebP wall) ═════════════════ */
.v2-hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-offset) + 14px) 0 30px;
}
/* tilted parallax video wall */
.v2-hero-wall {
  position: absolute; top: -18%; left: -16%; right: -16%; bottom: -18%;
  z-index: 0; display: flex; gap: clamp(10px, 1.4vw, 20px);
  justify-content: center; will-change: transform; pointer-events: none;
}
.v2-hero-col {
  flex: 1 1 0; min-width: 0; max-width: 320px;
  display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 20px);
  animation: colDrift 40s linear infinite;
}
@keyframes colDrift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.v2-hero-tile { border-radius: 8px; overflow: hidden; background: var(--panel); aspect-ratio: 4/5; box-shadow: 0 16px 50px -20px rgba(0,0,0,0.7); }
.v2-hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.v2-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.35) 30%, rgba(10,10,12,0.72) 72%, var(--void) 100%),
    radial-gradient(120% 90% at 18% 42%, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.35) 55%, transparent 78%);
}
.v2-hero-decal {
  position: absolute; z-index: 2; pointer-events: none;
  right: -4%; bottom: 8%; width: clamp(280px, 42vw, 620px); height: auto;
  opacity: 0.05; filter: drop-shadow(0 0 60px rgba(var(--volt-rgb),0.4));
  mix-blend-mode: screen;
}
@media (max-width: 760px) { .v2-hero-decal { right: -12%; bottom: auto; top: 16%; width: 78vw; opacity: 0.045; } }
.v2-hero-hud { position: relative; z-index: 3; width: 100%; pointer-events: none; margin-bottom: 8px; }
.v2-hud-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-50);
}
.v2-hud-row .col { display: flex; flex-direction: column; gap: 6px; }
.v2-hud-row .col span { white-space: nowrap; }
.v2-hud-row .col.r { text-align: right; }
.v2-hud-row .live { color: var(--volt); display: inline-flex; align-items: center; gap: 7px; }
.v2-hud-row .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); animation: voltPulse 1.8s ease-in-out infinite; }

.v2-hero-head { position: relative; z-index: 3; margin-top: auto; margin-bottom: 26px; }
.v2-hero-title {
  font-family: var(--font-hero, var(--display)); font-weight: 800;
  font-size: clamp(34px, 6.6vw, 92px); line-height: 0.98;
  letter-spacing: -0.04em; margin: 18px 0; text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.v2-hero-title .l { display: block; position: relative; }
.v2-hero-title .l.ind { padding-left: clamp(18px, 6vw, 110px); }
.v2-note.hero-note {
  font-size: clamp(17px, 2vw, 26px); margin-left: 14px; vertical-align: middle;
  color: var(--volt); opacity: 0.95;
}
@media (max-width: 640px) { .v2-note.hero-note { display: none; } }
.v2-hero-sub {
  display: grid; gap: 26px; margin-top: 28px; padding-top: 26px;
  border-top: 1px solid var(--ink-12); max-width: 880px;
}
@media (min-width: 760px) { .v2-hero-sub { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; } }
.v2-rotor-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 10px; }
.v2-rotor {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 4vw, 40px); line-height: 1.05; color: var(--bone);
  min-height: 1.1em;
}
.v2-rotor .w { display: inline-block; animation: rotorIn 0.6s var(--ease); }
@keyframes rotorIn { from { opacity: 0; transform: translateY(0.4em) rotate(2deg); } to { opacity: 1; transform: none; } }
.v2-hero-blurb p { font-size: clamp(14px, 1.5vw, 16px); font-weight: 400; color: var(--ink-70); line-height: 1.7; margin-bottom: 20px; max-width: 440px; }
.v2-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.v2-hero-stats {
  position: relative; z-index: 3; margin-top: 28px; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-08);
  border: 1px solid var(--ink-08); border-radius: 4px; overflow: hidden;
}
@media (min-width: 680px) { .v2-hero-stats { grid-template-columns: repeat(4, 1fr); } }
.v2-hero-stats .hs { background: rgba(10,10,12,0.66); backdrop-filter: blur(8px); padding: 18px 22px; }
.v2-hero-stats .v { font-family: var(--font-stats, var(--hand)); font-weight: 700; font-size: clamp(40px, 5vw, 58px); letter-spacing: -0.01em; line-height: 0.8; color: var(--volt); }
.v2-hero-stats .l { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-50); margin-top: 12px; }

.v2-scrollcue {
  position: relative; z-index: 3; flex-shrink: 0;
  display: inline-flex; flex-direction: row; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-50);
}
.v2-scrollcue .bar { width: 34px; height: 1px; background: linear-gradient(90deg, var(--volt), transparent); overflow: hidden; }
.v2-scrollcue .bar::after { content:''; display:block; height:100%; width:40%; background: var(--volt); box-shadow: 0 0 8px var(--volt); animation: cueSlide 2.2s var(--ease) infinite; }
@keyframes cueSlide { 0% { transform: translateX(-100%);} 60%,100% { transform: translateX(260%);} }

/* logo farm embedded in hero bottom — credibility, no big label */
.v2-hero-farm {
  position: relative; z-index: 3; margin-top: 22px;
  display: flex; align-items: center; gap: 22px;
  border-top: 1px solid var(--ink-12); padding-top: 18px;
  max-width: 100%; overflow: hidden;
}
.v2-hero-farm-cap {
  flex-shrink: 0; font-family: var(--mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-35);
  padding-left: var(--gutter, 0);
}
.v2-hero-farm .v2-farm-track-wrap { flex: 1; min-width: 0; }
.v2-hero-farm .v2-farm-cell { height: 38px; padding: 0 30px; }
.v2-hero-farm .v2-farm-cell img { max-height: 26px; }
.v2-hero-farm .v2-farm-cell span { font-size: 16px; }
@media (max-width: 760px) {
  .v2-hero-farm { gap: 12px; padding-top: 14px; margin-top: 16px; }
  .v2-hero-farm-cap { display: none; }
}

/* ═════════════════ MARQUEE STRIP ═════════════════ */
.v2-strip { border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); background: rgba(10,10,12,0.4); overflow: hidden; backdrop-filter: blur(6px); }
.v2-strip-track { display: flex; align-items: center; gap: 0; width: max-content; animation: stripScroll 38s linear infinite; }
.v2-strip:hover .v2-strip-track { animation-play-state: paused; }
@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.v2-strip-item { display: inline-flex; align-items: center; gap: 18px; padding: 16px 0; }
.v2-strip-item .t { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-50); white-space: nowrap; }
.v2-strip-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--flare); margin: 0 34px; flex-shrink: 0; }

/* ═════════════════ CLIENT LOGO FARM (dark · minimal · lets logos pop) ═════════════════ */
.v2-farm { background: var(--void); position: relative; overflow: hidden; padding: 36px 0 40px; border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); }
.v2-farm-label {
  font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-35); text-align: center; margin-bottom: 26px;
}
.v2-farm-track-wrap { position: relative; overflow: hidden; }
.v2-farm-track-wrap::before, .v2-farm-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.v2-farm-track-wrap::before { left: 0; background: linear-gradient(to right, var(--void), transparent); }
.v2-farm-track-wrap::after { right: 0; background: linear-gradient(to left, var(--void), transparent); }
.v2-farm-track { display: flex; align-items: center; width: max-content; animation: stripScroll 44s linear infinite; }
.v2-farm-cell { flex-shrink: 0; padding: 0 38px; display: flex; align-items: center; justify-content: center; height: 44px; }
.v2-farm-cell img { max-height: 32px; width: auto; object-fit: contain; opacity: 0.92; transition: opacity 0.3s, transform 0.3s; }
.v2-farm-cell:hover img { opacity: 1; transform: scale(1.06); }
.v2-farm-cell span { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: rgba(236,231,221,0.72); white-space: nowrap; transition: color 0.3s; }
.v2-farm-cell:hover span { color: var(--bone); }
body.v2-calm .v2-farm-track { animation-play-state: paused; }

/* ═════════════════ VISITOR THEME SWITCHER ═════════════════ */
.v2-theme { display: none; align-items: center; gap: 7px; padding: 0 4px; }
@media (min-width: 980px) { .v2-theme { display: flex; } }
.v2-theme .sw {
  width: 16px; height: 16px; border-radius: 50%; padding: 0; flex-shrink: 0;
  border: 1.5px solid var(--ink-20); position: relative; cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
/* Invisible 26px hit target: the 16px dot stays the visual size but clears the
   WCAG 24px minimum pointer-target size. */
.v2-theme .sw::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; }
.v2-theme .sw:hover { transform: scale(1.18); }
.v2-theme .sw.on { border-color: var(--bone); transform: scale(1.1); }
.v2-theme .sw.on::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ink-20); }
.v2-theme-sheet { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.v2-theme-sheet .sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink-20); cursor: pointer; }
.v2-theme-sheet .sw.on { border-color: var(--bone); }

/* font / type picker (Bodhi) */
.v2-font-list { display: flex; flex-direction: column; gap: 6px; }
.v2-font-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--ink-12); background: var(--void); cursor: pointer; transition: border-color 0.16s, background 0.16s; }
.v2-font-opt:hover { border-color: var(--ink-20); background: rgba(255,255,255,0.02); }
.v2-font-opt.on { border-color: var(--volt); background: rgba(var(--volt-rgb),0.08); }
.v2-font-spec { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--void-2); border: 1px solid var(--ink-08); font-size: 19px; font-weight: 700; color: var(--bone); line-height: 1; }
.v2-font-opt.on .v2-font-spec { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.v2-font-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.v2-font-meta b { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--bone); }
.v2-font-meta i { font-family: var(--mono); font-style: normal; font-size: 10px; color: var(--ink-50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-font-on { color: var(--volt); font-size: 13px; flex-shrink: 0; }

/* ═════════════════ MANIFESTO ═════════════════ */
.v2-manifesto { padding: clamp(90px, 16vh, 200px) 0; position: relative; }
.v2-manifesto-text {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -0.035em;
  max-width: 16ch;
}
.v2-manifesto-text .word { display: inline-block; }
/* Dim-unlit arms only once the scroll subscription is live (body class set in V2Generalism); without JS the manifesto stays readable. */
body.v2-word-reveal-ready .v2-manifesto-text .word:not([data-lit]) { opacity: 0.12; }
.v2-manifesto-text .word[data-lit] { opacity: 1; animation: v2powerup 0.95s var(--ease); }
.v2-manifesto-text em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); text-shadow: 0 0 22px rgba(var(--volt-rgb),0.4); }
.v2-manifesto-text .word[data-lit] em { animation: v2neon 6s ease-in-out 1s infinite; }
/* smooth power-up — eases opacity in with one gentle flicker; resting state is fully lit (safe for no-anim renderers) */
@keyframes v2powerup {
  0%  { opacity: 0.12; filter: brightness(0.7); }
  55% { opacity: 0.78; filter: brightness(0.95); }
  66% { opacity: 0.52; }
  78% { opacity: 1; }
  87% { opacity: 0.82; }
  100%{ opacity: 1; filter: brightness(1); }
}
@keyframes v2neon {
  0%, 86%, 100% { text-shadow: 0 0 22px rgba(var(--volt-rgb),0.4); }
  91% { text-shadow: 0 0 34px rgba(var(--volt-rgb),0.75), 0 0 6px rgba(var(--volt-rgb),0.5); }
  94% { text-shadow: 0 0 14px rgba(var(--volt-rgb),0.35); }
  97% { text-shadow: 0 0 30px rgba(var(--volt-rgb),0.7); }
}
body.v2-calm .v2-manifesto-text .word[data-lit],
body.v2-calm .v2-manifesto-text .word[data-lit] em { animation: none; }
.v2-manifesto-foot {
  margin-top: 52px; display: flex; flex-wrap: wrap; gap: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-35);
}
.v2-manifesto-foot span { display: inline-flex; align-items: center; gap: 8px; }
.v2-manifesto-foot b { color: var(--volt); font-weight: 600; }

/* ═════════════════ CAPABILITIES (responsive photo-card grid) ═════════════════ */
.v2-caps { padding: clamp(70px, 11vh, 130px) 0; }
.v2-caps-head { display: grid; gap: 20px; margin-bottom: 40px; }
@media (min-width: 860px) { .v2-caps-head { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; } }
.v2-caps-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 64px); letter-spacing: -0.04em; line-height: 0.92; margin-top: 14px; }
.v2-caps-intro { font-size: 15px; color: var(--ink-50); line-height: 1.7; max-width: 42ch; }

/* the grid: mobile = stacked bars · tablet = 2-up · desktop = 5 tall cards */
.v2-caps-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
@media (min-width: 560px) { .v2-caps-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 768px) { .v2-caps-grid { padding: 0 48px; } }
@media (min-width: 1000px) { .v2-caps-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.v2-cap {
  position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--ink-08);
  min-height: 88px; display: block; isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
@media (min-width: 560px) { .v2-cap { min-height: 300px; } }
@media (min-width: 1000px) { .v2-cap { min-height: min(58vh, 480px); } }
.v2-cap:hover { border-color: var(--ink-20); }
@media (min-width: 1000px) { .v2-cap.on { transform: translateY(-4px); } }
.v2-cap-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  filter: brightness(0.4) saturate(0.7); transition: filter 0.55s var(--ease), transform 0.7s var(--ease); }
.v2-cap:hover .v2-cap-bg, .v2-cap.on .v2-cap-bg { filter: brightness(0.62) saturate(1); transform: scale(1.05); }
.v2-cap-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,12,0.5) 0%, rgba(10,10,12,0.15) 38%, rgba(10,10,12,0.78) 100%); transition: opacity 0.4s; }
.v2-cap-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); z-index: 2; }
.v2-cap:hover .v2-cap-line, .v2-cap.on .v2-cap-line { transform: scaleX(1); }
.v2-cap-body { position: relative; z-index: 1; height: 100%; min-height: inherit; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.v2-cap-top { display: flex; align-items: center; justify-content: space-between; }
.v2-cap .ic { width: 40px; height: 40px; border: 1px solid var(--ink-20); border-radius: 50%; display: grid; place-items: center; color: var(--volt); background: rgba(10,10,12,0.4); backdrop-filter: blur(6px); }
.v2-cap .idx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-70); }
.v2-cap .cap-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-bottom: 5px; }
.v2-cap h3 { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.025em; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,0.7); }
.v2-cap-reveal { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.4s, margin-top 0.4s; }
.v2-cap:hover .v2-cap-reveal, .v2-cap.on .v2-cap-reveal { max-height: 260px; opacity: 1; margin-top: 12px; }
.v2-cap-reveal p { font-size: 12.5px; color: var(--ink-70); line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,0.9); }
.v2-cap-reveal .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.v2-cap-reveal .tags span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(var(--volt-rgb),0.35); padding: 3px 8px; border-radius: 2px; }
.v2-cap-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--volt); }
/* mobile bars: icon hidden, single-row layout, reveal collapsed */
@media (max-width: 559px) {
  .v2-cap-body { flex-direction: row; align-items: center; gap: 12px; padding: 0 18px; }
  .v2-cap-top { flex-direction: column; align-items: flex-start; gap: 0; }
  .v2-cap .idx { display: none; }
  .v2-cap-foot { flex: 1; }
  .v2-cap h3 { font-size: 20px; }
  .v2-cap-reveal { display: none; }
  .v2-cap::after { content: '→'; color: var(--volt); font-size: 18px; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 1; }
}
.v2-caps-footrow { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-50); }
.v2-cap-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; color: var(--volt); transition: gap 0.2s; }
.v2-cap-cta:hover { gap: 14px; }

/* ═════════════════ WORK (motion loops + stills) ═════════════════ */
.v2-work { padding: clamp(80px, 12vh, 160px) 0; position: relative; }
.v2-work-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 44px; }
.v2-work-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5.4vw, 68px); letter-spacing: -0.04em; line-height: 0.92; }
.v2-tabs { display: inline-flex; gap: 4px; border: 1px solid var(--ink-12); border-radius: 3px; padding: 4px; }
.v2-tabs button { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-50); padding: 9px 18px; border-radius: 2px; transition: color 0.2s, background 0.2s; }
.v2-tabs button.on { background: var(--volt); color: #000; }

.v2-motion-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 680px) { .v2-motion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .v2-motion-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; } }
.v2-motion-card { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--ink-08); background: var(--panel); min-height: 220px; display: block; }
@media (min-width: 1000px) { .v2-motion-card { min-height: 0; } .v2-motion-card.feat { grid-column: span 2; grid-row: span 2; } }
.v2-motion-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.86) brightness(0.82); transition: transform 0.8s var(--ease), filter 0.5s; will-change: transform; }
.v2-motion-card:hover img { transform: scale(1.05); filter: saturate(1.05) brightness(1); }
.v2-motion-play { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,12,0.6); backdrop-filter: blur(8px); border: 1px solid var(--ink-20); display: grid; place-items: center; color: var(--volt); }
.v2-motion-meta { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.12) 56%, transparent 100%); }
.v2-motion-meta .logo { height: 18px; width: auto; object-fit: contain; margin-bottom: 10px; opacity: 0.92; filter: brightness(0) invert(1); align-self: flex-start; }
.v2-motion-meta .title { font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.06; }
.v2-motion-meta .sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-70); margin-top: 7px; }

.v2-stills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 760px) { .v2-stills-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.v2-stills-card { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--ink-08); background: var(--panel); min-height: 180px; }
@media (min-width: 760px) { .v2-stills-card { min-height: 0; } .v2-stills-card.tall { grid-row: span 2; } .v2-stills-card.wide { grid-column: span 2; } }
.v2-stills-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) brightness(0.86); transition: transform 0.7s var(--ease), filter 0.4s; }
.v2-stills-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.v2-stills-card .lbl { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); background: rgba(10,10,12,0.7); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 2px; }
.v2-work-foot { margin-top: 40px; display: flex; justify-content: center; }

/* ═════════════════ TESTIMONIALS ═════════════════ */
.v2-testi { padding: clamp(70px, 11vh, 140px) 0; border-top: 1px solid var(--ink-08); }
.v2-testi-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .v2-testi-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; } }
.v2-testi-list { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.v2-testi-item { display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 4px; text-align: left; transition: background 0.2s; width: 100%; }
.v2-testi-item:hover { background: var(--ink-04); }
.v2-testi-item .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-20); flex-shrink: 0; transition: background 0.2s, box-shadow 0.2s; }
.v2-testi-item.on .dot { background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.v2-testi-item .meta { display: flex; flex-direction: column; gap: 2px; }
.v2-testi-item .n { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink-70); transition: color 0.2s; }
.v2-testi-item.on .n { color: var(--bone); }
.v2-testi-item .r { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--ink-35); }
.v2-testi-card { position: relative; border: 1px solid var(--ink-08); border-radius: 10px; background: linear-gradient(180deg, var(--panel), var(--void-2)); padding: clamp(28px, 4vw, 48px); overflow: hidden; }
.v2-testi-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--volt); margin-bottom: 18px; }
.v2-testi-card .qmark { font-family: var(--serif); font-size: 120px; line-height: 0; color: var(--ink-08); position: absolute; top: 60px; right: 26px; pointer-events: none; }
.v2-testi-card blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.4; color: var(--bone); letter-spacing: -0.01em; margin-bottom: 26px; position: relative; z-index: 1; }
.v2-testi-card .who .n { font-family: var(--display); font-weight: 700; font-size: 16px; }
.v2-testi-card .who .r { font-family: var(--mono); font-size: 11px; color: var(--ink-50); margin-top: 3px; }
.v2-testi-card .who { display: flex; flex-direction: column; }

/* ═════════════════ ABOUT PREVIEW ═════════════════ */
.v2-about { padding: clamp(70px, 11vh, 140px) 0; }
.v2-about-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 860px) { .v2-about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.v2-about-photo { position: relative; border-radius: 10px; overflow: visible; }
.v2-about-photo img { width: 100%; border-radius: 10px; filter: saturate(0.9) contrast(1.03); aspect-ratio: 4/5; object-fit: cover; }
.v2-about-bar { position: absolute; left: -10px; top: 28px; bottom: 28px; width: 4px; background: var(--volt); box-shadow: 0 0 20px var(--volt); border-radius: 2px; }
.v2-about-quote { position: absolute; right: -10px; bottom: 22px; background: var(--void-2); border: 1px solid var(--ink-12); border-radius: 8px; padding: 16px 20px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8); }
.v2-about-quote .v2-hand { font-size: 26px; line-height: 1.05; }
.v2-about-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.04em; line-height: 0.92; margin: 16px 0 22px; }
.v2-about-body { font-size: 15px; color: var(--ink-70); line-height: 1.8; max-width: 480px; margin-bottom: 30px; }
.v2-tl { display: flex; flex-direction: column; gap: 2px; }
.v2-tl-row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--ink-08); align-items: baseline; }
.v2-tl-row .bar { width: 3px; align-self: stretch; background: var(--volt); flex-shrink: 0; border-radius: 2px; opacity: 0.8; }
.v2-tl-row .y { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-50); }
.v2-tl-row .r { font-family: var(--display); font-weight: 600; font-size: 16px; margin-top: 2px; }
.v2-tl-row .co { font-family: var(--mono); font-size: 11px; color: var(--volt); margin-top: 2px; }

/* ═════════════════ BRANDS ═════════════════ */
.v2-brands { padding: clamp(70px, 11vh, 140px) 0; border-top: 1px solid var(--ink-08); }
.v2-brands-hd { margin-bottom: 40px; }
.v2-brands-hd h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 60px); letter-spacing: -0.04em; line-height: 0.92; }
.v2-brands-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .v2-brands-grid { grid-template-columns: 1fr 1fr; } }
.v2-brand { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--ink-08); min-height: 320px; display: block; }
.v2-brand .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.32) saturate(0.7); transition: filter 0.5s, transform 0.6s var(--ease); }
.v2-brand:hover .bg { filter: brightness(0.46) saturate(0.95); transform: scale(1.04); }
.v2-brand-grad { position: absolute; inset: 0; background: var(--brand-grad, linear-gradient(135deg, var(--volt), var(--flare))); opacity: 0.16; mix-blend-mode: screen; transition: opacity 0.5s var(--ease); pointer-events: none; }
.v2-brand:hover .v2-brand-grad { opacity: 0.6; }
.v2-brand .brand-logo { height: 38px; width: auto; max-width: 70%; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 4px; }
.v2-brand-content { position: relative; z-index: 1; height: 100%; min-height: 320px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; background: linear-gradient(to top, rgba(10,10,12,0.92), rgba(10,10,12,0.1) 70%); }
.v2-brand-content .badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(var(--volt-rgb),0.3); padding: 4px 10px; border-radius: 2px; margin-bottom: 14px; }
.v2-brand-content .name { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1; }
.v2-brand-content .tag { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--volt); margin: 6px 0 12px; }
.v2-brand-content .desc { font-size: 13.5px; color: var(--ink-70); line-height: 1.65; max-width: 36ch; margin-bottom: 16px; }
.v2-brand-content .link { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.2s, color 0.2s; }
.v2-brand:hover .link { color: var(--volt); gap: 14px; }

/* ═════════════════ J-HOLE PORTAL ═════════════════ */
.v2-portal { position: relative; padding: clamp(90px, 16vh, 200px) 0; overflow: hidden; }
.v2-portal-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .v2-portal-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.v2-portal h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 8vw, 92px); letter-spacing: -0.05em; line-height: 0.9; margin: 18px 0 22px; }
.v2-portal h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); display: block; }
.v2-portal-note {
  position: relative; display: inline-block;
  background-image: linear-gradient(105deg, var(--volt) 0%, var(--volt) 42%, #fff 50%, var(--volt) 58%, var(--volt) 100%);
  background-size: 260% 100%; background-position: 200% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: noteShimmer 7s ease-in-out infinite;
}
@keyframes noteShimmer {
  0%, 80% { background-position: 200% 0; }
  92%, 100% { background-position: -60% 0; }
}
body.v2-calm .v2-portal-note { animation: none; }
.v2-portal p { font-size: 15px; color: var(--ink-50); line-height: 1.8; max-width: 420px; margin-bottom: 26px; }
.v2-portal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.v2-portal-tags span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(var(--volt-rgb),0.25); padding: 5px 11px; border-radius: 2px; }
.v2-portal-visual { position: relative; aspect-ratio: 4/3; max-width: 540px; margin: 0 auto; width: 100%; display: grid; place-items: center; }

/* J-Hole title loop — the WebGL planet remains visible around the media window. */
.v2-yt-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; perspective: 900px; }
.v2-yt-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--volt-rgb),0.24), rgba(var(--volt-rgb),0.05) 45%, transparent 70%);
  filter: blur(6px); animation: ytGlow 4.5s ease-in-out infinite; }
@keyframes ytGlow { 0%,100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.06); } }
.v2-jhole-loop {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: #04151a; border: 1px solid rgba(var(--volt-rgb),0.32); border-radius: 10px;
  box-shadow: 0 26px 80px -28px rgba(var(--volt-rgb),0.62), 0 22px 50px -32px rgba(0,0,0,0.95);
}
.v2-jhole-loop > video { position: absolute; top: -4px; left: -4px; width: calc(100% + 20px); height: calc(100% + 20px); max-width: none; object-fit: cover; opacity: 0.9; filter: brightness(1.16) saturate(1.1); transition: opacity 0.18s var(--ease); }
.v2-jhole-loop > video.is-ready { opacity: 1; }
.v2-jhole-loop > video > img { width: 100%; height: 100%; object-fit: cover; }
.v2-jhole-loop::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 54px rgba(4,12,20,0.44);
}
.v2-jhole-youtube {
  position: absolute; right: 14px; bottom: 13px; z-index: 2;
  width: 70px; height: 49px; display: grid; place-items: center;
  border: 1px solid var(--ink-20); border-radius: 14px;
  background: rgba(6,6,8,0.88); box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.v2-jhole-youtube img { width: 46px; height: auto; }
.v2-jhole-youtube:hover, .v2-jhole-youtube:focus-visible {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 15px 38px rgba(255,0,51,0.28);
  outline: 2px solid var(--volt); outline-offset: 3px;
}
@media (max-width: 520px) {
  .v2-jhole-youtube { right: 9px; bottom: 9px; width: 58px; height: 41px; border-radius: 11px; }
  .v2-jhole-youtube img { width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-jhole-loop > video { opacity: 1; transition: none; }
}
.v2-yt-crate { position: relative; width: 58%; transform-style: preserve-3d;
  animation: ytCrate 1.7s cubic-bezier(0.16,1,0.3,1) both; }
.v2-yt-logo { width: 100%; height: auto; display: block;
  filter: drop-shadow(0 14px 28px rgba(255,0,51,0.35));
  animation: ytFloat 5.5s ease-in-out 1.7s infinite; }
@keyframes ytCrate {
  0%   { transform: rotateY(900deg) scale(0.2); opacity: 0; }
  60%  { opacity: 1; }
  80%  { transform: rotateY(40deg) scale(1.08); }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes ytFloat {
  0%,100% { transform: translateY(-7px) rotateZ(-1.5deg); }
  50%     { transform: translateY(9px) rotateZ(1.5deg); }
}
.v2-yt-shadow { position: absolute; bottom: 12%; width: 38%; height: 16px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%); filter: blur(3px);
  animation: ytShadow 5.5s ease-in-out 1.7s infinite; }
@keyframes ytShadow { 0%,100% { transform: scale(0.82); opacity: 0.4; } 50% { transform: scale(1.1); opacity: 0.6; } }
body.v2-calm .v2-yt-crate { animation: ytCrate 1.7s cubic-bezier(0.16,1,0.3,1) both; }
body.v2-calm .v2-yt-logo, body.v2-calm .v2-yt-shadow, body.v2-calm .v2-yt-glow { animation: none; }
.v2-portal-status { margin-top: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; color: var(--ink-50); white-space: nowrap; text-align: center; }

/* ═════════════════ STATS ═════════════════ */
.v2-stats { padding: clamp(70px, 10vh, 120px) 0; border-top: 1px solid var(--ink-08); }
.v2-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-08); border: 1px solid var(--ink-08); }
@media (min-width: 760px) { .v2-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.v2-stat { background: var(--void); padding: 36px 28px; }
.v2-stat .v { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; color: var(--bone); }
.v2-stat .v .u { color: var(--volt); }
.v2-stat .l { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-35); margin-top: 12px; }

/* ═════════════════ CTA ═════════════════ */
.v2-cta { padding: clamp(100px, 18vh, 220px) 0; text-align: center; position: relative; }
.v2-cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 10vw, 140px); letter-spacing: -0.05em; line-height: 0.86; margin-bottom: 30px; }
.v2-cta h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.v2-cta p { font-size: 16px; color: var(--ink-50); max-width: 480px; margin: 0 auto 38px; line-height: 1.75; }
.v2-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═════════════════ EMAIL LIST CTA (pre-footer, global) ═════════════════ */
.v2-sub { padding: clamp(40px, 7vh, 80px) 0 0; }
.v2-sub-card {
  position: relative; overflow: hidden;
  display: grid; gap: 26px; align-items: center;
  border: 1px solid var(--ink-12); border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--volt-rgb),0.07), var(--void-2) 60%);
  padding: clamp(28px, 4vw, 52px);
}
@media (min-width: 820px) { .v2-sub-card { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.v2-sub-glow { position: absolute; top: -40%; right: -10%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(var(--volt-rgb),0.16), transparent 70%); pointer-events: none; }
.v2-sub-copy { position: relative; z-index: 1; }
.v2-sub-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; line-height: 0.98; margin: 12px 0 12px; }
.v2-sub-copy h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--volt); }
.v2-sub-copy p { font-size: 15px; color: var(--ink-70); line-height: 1.65; max-width: 440px; }
.v2-sub-form-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.v2-sub-status { display: flex; align-items: flex-start; gap: 10px; max-width: 420px; margin-bottom: 18px; color: var(--ink-70); font-size: 14px; line-height: 1.55; }
.v2-sub-status svg { color: var(--volt); flex: 0 0 auto; margin-top: 2px; }
.v2-sub-contact {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0A0A0C; background: var(--volt); border: 1px solid var(--volt); border-radius: 10px; padding: 14px 22px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.v2-sub-contact:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(var(--volt-rgb),0.6); }
.v2-sub-contact:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
.v2-sub-fine { display: block; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-35); }

/* ═════════════════ FOOTER ═════════════════ */
.v2-footer { border-top: 1px solid var(--ink-08); padding: 72px 0 36px; background: var(--void-2); }
.v2-footer-grid { display: grid; gap: 44px; grid-template-columns: 1fr; margin-bottom: 56px; }
@media (min-width: 760px) { .v2-footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.v2-footer-brand .word { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; margin-bottom: 16px; }
.v2-footer-brand p { font-size: 14px; color: var(--ink-50); line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.v2-footer-soc { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-footer-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--ink-50); transition: all 0.2s; }
.v2-footer-soc a:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); transform: translateY(-2px); }
.v2-footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-35); margin-bottom: 18px; }
.v2-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.v2-footer-col a { font-size: 14px; color: var(--ink-70); transition: color 0.2s; }
.v2-footer-col a:hover { color: var(--volt); }
.v2-footer-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--ink-08); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-35); }

/* ═════════════════ MOBILE REFINEMENTS ═════════════════ */
@media (max-width: 560px) {
  .v2-hud-row { font-size: 9px; letter-spacing: 0.12em; gap: 10px; }
  .v2-hud-row .col { gap: 4px; }
  .v2-hero-title { font-size: clamp(30px, 9vw, 56px); }
  .v2-hero-title .l.ind { padding-left: 14px; }

  /* hero: let content breathe instead of cramming into 100svh */
  .v2-hero { min-height: auto; padding-top: calc(var(--nav-offset) + 18px); padding-bottom: 24px; }
  .v2-hero-head { margin-top: 30px; margin-bottom: 22px; }
  .v2-hero-wall { opacity: 0.5; }
  .v2-hero-sub { gap: 18px; margin-top: 22px; padding-top: 20px; }
  .v2-hero-stats { margin-top: 22px; }
  .v2-hero-stats .hs { padding: 15px 16px; }
  .v2-hero-stats .v { font-size: clamp(38px, 13vw, 50px); }
  .v2-hero-farm { flex-direction: column; align-items: flex-start; gap: 10px; }
  .v2-hero-farm .v2-scrollcue { display: none; }
  .v2-hero-cta { width: 100%; }
  .v2-hero-cta .v2-btn { flex: 1; justify-content: center; }

  .v2-manifesto-text { font-size: clamp(26px, 7.6vw, 44px); max-width: none; }
  .v2-cta h2 { font-size: clamp(40px, 14vw, 72px); }
  /* tighten the big vh-driven gaps between sections on mobile */
  .v2-manifesto, .v2-caps, .v2-work, .v2-testi, .v2-about, .v2-brands, .v2-portal, .v2-stats, .v2-cta { padding-top: 54px; padding-bottom: 54px; }
  .v2-cta { padding-top: 64px; padding-bottom: 64px; }
  .v2-farm { padding: 26px 0 30px; }
  .v2-manifesto-foot { margin-top: 32px; gap: 16px 22px; }
  .v2-caps-head, .v2-brands-hd, .v2-work-head { margin-bottom: 26px; }
  .v2-caps-footrow { margin-top: 22px; }
  .v2-portal-grid { gap: 32px; }
  .v2-portal-visual { max-width: 280px; }

  /* email band: stack cleanly */
  .v2-sub-card { padding: 24px 20px; }
  .v2-sub-contact { padding: 13px 18px; width: 100%; }
}
@media (max-width: 380px) {
  .v2-hud-row { font-size: 8px; letter-spacing: 0.08em; }
  .v2-hud-row .col { min-width: 0; }
  .v2-hud-row .col span { white-space: normal; line-height: 1.35; }
  .v2-hud-row .col:first-child > span:first-child { display: none; }
  .v2-hud-row .col.r { max-width: 144px; }
  .v2-hud-row .live { justify-content: flex-end; }
}

/* ═════════════════ NAV SOCIAL ICONS ═════════════════ */
.v2-nav-soc { display: none; align-items: center; gap: 4px; }
@media (min-width: 980px) { .v2-nav-soc { display: flex; } }
.v2-nav-soc a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-50); transition: color 0.2s, background 0.2s; }
.v2-nav-soc a:hover { color: var(--volt); background: var(--ink-08); }

/* ═════════════════ BODHI (floating panel) ═════════════════ */
.v2-bodhi-fab {
  position: fixed; right: calc(var(--v2-bodhi-offset) + var(--safe-right)); bottom: calc(var(--v2-bodhi-offset) + var(--safe-bottom)); z-index: 60;
  width: var(--v2-bodhi-fab-size); height: var(--v2-bodhi-fab-size); border-radius: 50%;
  background: var(--volt); color: #0A0A0C; display: grid; place-items: center;
  box-shadow: 0 14px 40px -8px rgba(var(--volt-rgb),0.6); transition: transform 0.3s var(--ease), background 0.3s;
}
.v2-bodhi-fab:hover { transform: translateY(-3px) scale(1.05); }
.v2-bodhi-fab.open { background: var(--panel-2); color: var(--bone); }
.v2-bodhi-fab svg { filter: drop-shadow(0 1px 2px rgba(10,10,12,0.25)); }
.v2-bodhi-fab .ring { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--volt); opacity: 0.5; animation: bodhiRing 2.8s ease-out infinite; pointer-events: none; }
.v2-bodhi-fab.open .ring { display: none; }
@keyframes bodhiRing { 0% { transform: scale(0.82); opacity: 0.55; } 100% { transform: scale(1.55); opacity: 0; } }

.v2-bodhi {
  position: fixed; right: calc(18px + var(--safe-right)); bottom: calc(var(--v2-bodhi-offset) + var(--v2-bodhi-fab-size) + var(--v2-bodhi-panel-gap) + var(--safe-bottom)); z-index: 60;
  width: min(340px, calc(100vw - 36px));
  background: rgba(16,16,20,0.92); backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--ink-12); border-radius: 16px; padding: 20px;
  opacity: 0; transform: translateY(16px) scale(0.96); pointer-events: none;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.8);
  max-height: calc(100vh - var(--v2-bodhi-offset) - var(--v2-bodhi-fab-size) - var(--v2-bodhi-panel-gap) - var(--v2-bodhi-top-clearance) - var(--safe-top) - var(--safe-bottom));
  max-height: calc(100dvh - var(--v2-bodhi-offset) - var(--v2-bodhi-fab-size) - var(--v2-bodhi-panel-gap) - var(--v2-bodhi-top-clearance) - var(--safe-top) - var(--safe-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
.v2-bodhi.open { opacity: 1; transform: none; pointer-events: auto; }
.v2-bodhi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.v2-bodhi-head .bo-mark { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(var(--volt-rgb),0.4); display: grid; place-items: center; color: var(--volt); flex-shrink: 0; background: rgba(var(--volt-rgb),0.06); }
.bo-name { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.bo-beta { font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(var(--volt-rgb),0.35); padding: 2px 6px; border-radius: 2px; }
.bo-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-50); margin-top: 3px; }
.v2-bodhi-sec { padding: 16px 0; border-top: 1px solid var(--ink-08); }
.v2-bodhi-sec:first-of-type { border-top: none; padding-top: 0; }
.bo-lbl { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 13px; }
.bo-lbl svg { color: var(--volt); }
.v2-bodhi .v2-theme-sheet { margin-top: 0; gap: 9px; }
.v2-bodhi-toggle { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 4px 0; }
.v2-bodhi-toggle .tg-knob { width: 40px; height: 22px; border-radius: 11px; background: var(--ink-12); position: relative; flex-shrink: 0; transition: background 0.25s; }
.v2-bodhi-toggle .tg-knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--bone); transition: transform 0.25s var(--ease); }
.v2-bodhi-toggle.on .tg-knob { background: var(--volt); }
.v2-bodhi-toggle.on .tg-knob::after { transform: translateX(18px); background: #0A0A0C; }
.v2-bodhi-toggle .tg-text { font-size: 12px; color: var(--ink-70); line-height: 1.35; }
.bo-note { font-size: 11px; color: var(--ink-50); line-height: 1.6; }
.bo-note a { color: var(--volt); }
.v2-bodhi-contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 11px; padding: 11px 13px; border: 1px solid var(--ink-12); border-radius: 8px; color: var(--bone); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.v2-bodhi-contact:hover { color: #0A0A0C; border-color: var(--volt); background: var(--volt); }
.v2-bodhi-contact:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
.v2-bodhi-foot { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--ink-08); }
.v2-bodhi-foot a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink-12); display: grid; place-items: center; color: var(--ink-50); transition: color 0.2s, border-color 0.2s; }
.v2-bodhi-foot a:hover { color: var(--volt); border-color: rgba(var(--volt-rgb),0.4); }
.v2-bodhi-seed { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--ink-35); margin-top: 14px; line-height: 1.5; }
@media (max-width: 600px) {
  :root {
    --v2-bodhi-offset: 16px;
    --v2-bodhi-panel-gap: 10px;
    --v2-bodhi-top-clearance: 30px;
  }

  .v2-bodhi { right: calc(14px + var(--safe-right)); }
}

@media (max-width: 520px) {
  :root {
    --v2-bodhi-fab-size: 50px;
    --v2-bodhi-offset: 14px;
    --v2-bodhi-panel-gap: 12px;
    --v2-bodhi-top-clearance: calc(var(--nav-h-scrolled) + 16px);
  }

  html,
  body { scroll-padding-bottom: var(--v2-floating-clearance); }

  .v2-footer { padding-bottom: var(--v2-floating-clearance); }

  .v2-bodhi-fab {
    transition: transform 0.22s var(--ease), background 0.22s;
  }

  .v2-bodhi-fab .ring { inset: -4px; }

  .v2-bodhi {
    right: calc(var(--v2-bodhi-offset) + var(--safe-right));
    width: min(350px, calc(100vw - 32px - var(--safe-left) - var(--safe-right)));
  }

  .v2-bodhi-fab:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-bodhi-fab:hover { transform: none; }
  .v2-bodhi-fab .ring { animation: none !important; }
}

/* ═════════════════ EXPERIENCE SWITCHER ═════════════════ */
/* compact switch inside Bodhi */
.v2-xp-switch { display: flex; flex-direction: column; gap: 6px; }
.v2-xp-switch.compact .v2-xp-opt {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px;
  border: 1px solid var(--ink-12); background: var(--void); transition: all 0.18s; cursor: pointer;
}
.v2-xp-switch.compact .v2-xp-opt:hover:not(:disabled) { border-color: var(--xa); background: rgba(255,255,255,0.03); }
.v2-xp-switch.compact .v2-xp-opt.on { border-color: var(--xa); background: color-mix(in srgb, var(--xa) 12%, transparent); }
.v2-xp-switch.compact .v2-xp-opt:disabled { opacity: 0.4; cursor: default; }
.v2-xp-opt .x-tag { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #0A0A0C; background: var(--xa); padding: 3px 6px; border-radius: 4px; }
.v2-xp-opt .x-l { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: var(--bone); }
.v2-xp-opt .x-v { font-family: var(--mono); font-size: 10px; color: var(--ink-50); }
.v2-xp-opt.on .x-v { color: var(--xa); }

/* first-visit chooser */
.v2-xp {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center;
  padding: calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(16px + var(--safe-left));
  pointer-events: none;
}
@media (min-width: 720px) { .v2-xp { align-items: center; padding: var(--safe-top) calc(16px + var(--safe-right)) var(--safe-bottom) calc(16px + var(--safe-left)); } }
.v2-xp-scrim { position: absolute; inset: 0; background: rgba(6,6,9,0.76); pointer-events: auto; }
.v2-xp-card {
  position: relative; pointer-events: auto; z-index: 1;
  width: min(640px, 100%); background: var(--panel-2, #121216);
  border: 1px solid var(--ink-12); border-radius: 20px;
  padding: clamp(24px, 4vw, 38px); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8);
}
@media (max-width: 719px) {
  .v2-xp-card {
    max-height: calc(100vh - var(--safe-top) - var(--safe-bottom) - 40px);
    max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 40px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
}
.v2-xp.closing .v2-xp-card { animation: xpDrop 0.36s var(--ease) forwards; }
.v2-xp.closing .v2-xp-scrim { animation: xpFade 0.36s var(--ease) reverse forwards; }
@keyframes xpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes xpRise { from { opacity: 0; transform: translateY(26px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes xpDrop { to { opacity: 0; transform: translateY(20px) scale(0.98); } }
.v2-xp-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-50); border: 1px solid var(--ink-12); transition: all 0.18s; }
.v2-xp-x:hover { color: var(--bone); border-color: var(--ink-20); }
.v2-xp-kick { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--volt); margin-bottom: 10px; }
.v2-xp-h { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.03em; line-height: 0.95; }
.v2-xp-h .v2-hand { font-size: 1.25em; color: var(--volt); }
.v2-xp-sub { font-size: 13.5px; color: var(--ink-70); line-height: 1.6; margin: 12px 0 22px; max-width: 460px; }
.v2-xp-opts { display: grid; gap: 12px; }
@media (min-width: 600px) { .v2-xp-opts { grid-template-columns: repeat(3, 1fr); } }
.v2-xp-c {
  position: relative; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 18px 16px; border-radius: 14px;
  border: 1px solid var(--ink-12); background: var(--void);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.v2-xp-c::before { content: ''; position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--xa) 22%, transparent), transparent 70%); transition: opacity 0.25s; pointer-events: none; }
.v2-xp-c:hover:not(:disabled) { transform: translateY(-3px); border-color: var(--xa); }
.v2-xp-c:hover:not(:disabled)::before { opacity: 1; }
.v2-xp-c.on { border-color: var(--xa); }
.v2-xp-c.soon { opacity: 0.55; cursor: default; }
.v2-xp-c .x-top { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; position: relative; z-index: 1; }
.v2-xp-c .x-tag { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #0A0A0C; background: var(--xa); padding: 3px 7px; border-radius: 4px; }
.v2-xp-c .x-now, .v2-xp-c .x-soon { font-family: var(--mono); font-size: 8.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--xa); border: 1px solid color-mix(in srgb, var(--xa) 45%, transparent); padding: 2px 6px; border-radius: 20px; }
.v2-xp-c .x-l { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--bone); position: relative; z-index: 1; }
.v2-xp-c .x-v { font-family: var(--hand); font-size: 20px; color: var(--xa); line-height: 0.9; position: relative; z-index: 1; }
.v2-xp-c .x-b { font-size: 11.5px; color: var(--ink-50); line-height: 1.5; margin-top: 4px; position: relative; z-index: 1; }
.v2-xp-stay { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-50); transition: color 0.18s; }
.v2-xp-stay:hover { color: var(--volt); }
@media (max-width: 480px) {
  .v2-xp-card { padding: 26px 20px 20px; }
  .v2-xp-x { top: 12px; right: 12px; }
  .v2-xp-kick { margin-bottom: 8px; padding-right: 42px; }
  .v2-xp-h { font-size: 34px; }
  .v2-xp-sub { margin: 10px 0 16px; font-size: 12.5px; line-height: 1.5; padding-right: 8px; }
  .v2-xp-opts { gap: 8px; }
  .v2-xp-c {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
    column-gap: 12px; row-gap: 2px; min-height: 66px; padding: 11px 13px;
  }
  .v2-xp-c .x-top { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; flex-direction: column; }
  .v2-xp-c .x-now { display: none; }
  .v2-xp-c .x-l { grid-column: 2; grid-row: 1; align-self: end; font-size: 18px; }
  .v2-xp-c .x-v { grid-column: 2; grid-row: 2; align-self: start; font-size: 16px; }
  .v2-xp-c .x-b { display: none; }
  .v2-xp-stay { margin-top: 14px; }
}

/* calm mode: pause decorative loops, soften reveals */
body.v2-calm .v2-strip-track, body.v2-calm .v2-farm-track { animation-play-state: paused !important; }
body.v2-calm .v2-hero-col { animation: none !important; }
body.v2-calm .v2-bodhi-fab .ring { animation: none; }
body.v2-calm .v2-rotor .w { animation: none; }

/* One dependable reduced-motion contract for the continuous SIGNAL loops.
   The JS reveal/WebGL paths also honor the media query; this catches the CSS
   marquees, pulses, scanlines, and page-level flourishes in one place. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
