/* ── NAV ────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,4,10,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(168,159,212,0.12);
  transition: background .25s, border-color .25s;
}
/* Equal side columns keep the desktop links centred on the viewport. */
@media (min-width: 981px) {
  nav:has(> .nav-center) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 16px;
  }
  nav > .logo { justify-self: start; }
  nav > .nav-center { justify-self: center; }
  nav > .nav-right { justify-self: end; }
}
/* FabFilter-style square logo tile */
.logo {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none;
}
/* Engraved mark — no tile/border/background; sits directly in the header.
   The centre dot of the JFET mark is neon: the "point" in null.point,
   echoing the hero headline's neon dot. */
.logo-mark {
  width: 38px; height: 38px; flex-shrink: 0; display: block;
  color: var(--white);
  opacity: 0.9;
  transition: opacity .25s, filter .25s;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
/* Halo around the whole mark, on top of the per-route glow below. A filter
   over an animating layer is the one thing backdrop.css deliberately avoids,
   because there it would re-rasterise the full viewport every frame; over a
   38px box it is nothing. */
.logo:hover .logo-mark,
.logo:focus-visible .logo-mark {
  opacity: 1;
  filter: drop-shadow(0 0 9px rgba(77,255,170,0.4));
}
.logo-word {
  display: block; white-space: nowrap;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 2.5px; color: var(--white); text-transform: uppercase;
  line-height: 1;
  /* Align the visible capitals with the mark, accounting for the font's ascenders. */
  transform: translateY(0.09em);
}
.logo-word em { color: var(--purple); font-style: normal; transition: color .2s; }
.logo:hover .logo-word em { color: var(--pu-hot); }
.logo-word .logo-dot { color: var(--neon); }
.logo-audio { margin-left: 7px; color: var(--white); }

/* ── LOGO MOTION — the mark broadcasts from its null point ──────────── */
/* Neon centre dot in the SVG mark, pulsing on the same 2.6s rhythm as
   the hero's ".point" period. */
.logo-mark circle[r="5.65"] {
  fill: var(--neon);
  animation: logodot 2.6s ease-in-out infinite;
}
/* The faint concentric rings ping outward like an emitted signal:
   inner ring lights first, then the wave travels out. */
.logo-mark g[opacity="0.1"] { opacity: 1; }
.logo-mark g[opacity="0.1"] circle {
  opacity: 0.07;
  animation: logoping 5.2s ease-in-out infinite;
}
.logo-mark g[opacity="0.1"] circle:nth-child(1) { animation-delay: .7s; }   /* outer */
.logo-mark g[opacity="0.1"] circle:nth-child(2) { animation-delay: .35s; }
.logo-mark g[opacity="0.1"] circle:nth-child(3) { animation-delay: 0s; }    /* inner */
@keyframes logodot  { 0%, 100% { opacity: .95; } 50% { opacity: .35; } }
@keyframes logoping { 0%, 24%, 100% { opacity: .07; } 10% { opacity: .4; } }
/* ── LOGO HOVER — the mark powers up ────────────────────────────────── */
/* Was a 1px hop plus a 22° spin. At 38px that mostly read as a wobble, and it
   said nothing about what the mark is. The mark IS a circuit — three terminal
   pads wired back to the null point at the centre — so hovering runs current
   out to them instead, and nothing moves.

   Same mechanism as the page backdrop's circuit pulse (see backdrop.css):
   a soft wide stroke under a narrow bright one for the glow, pathLength=100
   so one keyframe drives routes of different lengths, only stroke-dashoffset
   animating. The routes themselves are built in js/main.js from the mark's own
   line coordinates, so the current runs INSIDE strokes that are already drawn. */
.logo-spark { opacity: 0; transition: opacity .3s ease; }
.logo:hover .logo-spark,
.logo:focus-visible .logo-spark { opacity: 1; }

.logo-spark-trace {
  fill: none;
  stroke: var(--neon);
  stroke-linecap: round;
  stroke-linejoin: round;
  /* 18 lit, 82 dark. Each route flashes briefly and then rests, so five of
     them staggered read as a trickle of current rather than racing stripes. */
  stroke-dasharray: 18 82;
  stroke-dashoffset: 100;
}
/* Declared only on hover, so the charge always starts from the centre instead
   of being caught halfway along a route it has been running unseen. */
.logo:hover .logo-spark-trace,
.logo:focus-visible .logo-spark-trace {
  animation: logospark var(--ls-dur, 1.6s) linear var(--ls-delay, 0s) infinite;
}
/* Core matched to the mark's own 4.71–5.65 unit traces so the wire itself
   reads as lit, with the glow only a halo around it. Both were wider and
   denser first, and the result was fat neon capsules sitting ON the lines
   rather than current running through them — at this scale the glow turns
   solid long before it turns soft. */
.logo-spark-glow { stroke-width: 11; opacity: 0.22; }
.logo-spark-core { stroke-width: 4.8; opacity: 1; }
@keyframes logospark {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* The three pads light as the current reaches them — the delays are roughly
   each route's travel time. They sit on the hover rule only, so letting go
   drops all three at once instead of unwinding in slow motion. */
.logo-mark g[fill="currentColor"] circle { transition: fill .45s ease; }
.logo:hover .logo-mark g[fill="currentColor"] circle,
.logo:focus-visible .logo-mark g[fill="currentColor"] circle { fill: var(--neon); }
.logo:hover .logo-mark g[fill="currentColor"] circle:nth-child(1),
.logo:focus-visible .logo-mark g[fill="currentColor"] circle:nth-child(1) { transition-delay: 1.2s; }
.logo:hover .logo-mark g[fill="currentColor"] circle:nth-child(2),
.logo:focus-visible .logo-mark g[fill="currentColor"] circle:nth-child(2) { transition-delay: 1.85s; }
.logo:hover .logo-mark g[fill="currentColor"] circle:nth-child(3),
.logo:focus-visible .logo-mark g[fill="currentColor"] circle:nth-child(3) { transition-delay: 1.9s; }

@media (prefers-reduced-motion: reduce) {
  /* No travel — the routes just come up lit, which still reads as powered. */
  .logo:hover .logo-spark-trace,
  .logo:focus-visible .logo-spark-trace { animation: none; }
  .logo-spark-trace { stroke-dasharray: none; stroke-dashoffset: 0; }
  .logo-mark g[fill="currentColor"] circle { transition-delay: 0s !important; }
}

/* Wordmark: the "." pulses in sync with the mark; soft glow on hover */
.logo-word .logo-dot,
.footer-logo .logo-dot { animation: logodot 2.6s ease-in-out infinite; }
.logo-word { transition: text-shadow .25s ease; }
.logo:hover .logo-word { text-shadow: 0 0 16px rgba(168,159,212,0.45); }

/* ── WORDMARK MOTION — the signal arrives at the letters ────────────── */
/* The other half of the mark's sentence. The mark broadcasts from its null
   point (dot pulses, rings ping outward); here that signal reaches the
   wordmark and travels through it, null → . → point → audio, as a crest of
   light that blooms and fades. Passive — nothing to hover, nothing to click.

   10.4s is deliberately every OTHER ring ping: locked to the mark's rhythm
   but half as often, because at 5.2s a glow this close to the eye nags.
   Delays start at 1.25s, which is when the outermost ring finishes its own
   ping (logoping crests at 10% of 5.2s, and that ring is delayed .7s) — the
   signal leaves the mark first, then lands on the letters.

   filter, not text-shadow, and the distinction matters: every glyph now sits
   inside a child span, and text-shadow inherits, so an animated text-shadow
   on the children would permanently override the halo .logo:hover puts on
   .logo-word — an animated value beats an inherited one. filter does not
   inherit, so the wave and the hover halo stack instead of fighting.

   No brightness() in the crest on purpose: lifting #f0ecff by any useful
   amount clips it to pure white, which the palette does not allow. The
   bloom alone carries it.

   Motion off needs nothing here — base.css already reduces every animation
   on the page to a single .001ms pass, and the 0%/100% state is the resting
   one, so the wordmark simply sits still. */
.logo-null,
.logo-word em,
.logo-audio { animation: logowave 10.4s ease-in-out infinite; }
.logo-null   { --glow: rgba(240,236,255,0.50); animation-delay: 1.25s; }
.logo-word em { --glow: rgba(168,159,212,0.60); animation-delay: 1.55s; }
.logo-audio  { --glow: rgba(240,236,255,0.34); animation-delay: 1.72s; }
/* The dot keeps its own 2.6s pulse and takes the wave as a second
   animation — one drives opacity, the other filter, so they compose rather
   than replace one another. Declared as a shorthand because the rule above
   sets `animation` too, and a lone animation-delay here would be reset by
   it. */
.logo-word .logo-dot {
  --glow: rgba(77,255,170,0.60);
  animation: logodot 2.6s ease-in-out infinite,
             logowave 10.4s ease-in-out 1.4s infinite;
}
/* Short crest, long dark: lit for ~1.7s, then 8.7s of nothing. */
@keyframes logowave {
  0%, 16%, 100% { filter: drop-shadow(0 0 0 transparent); }
  5%            { filter: drop-shadow(0 0 10px var(--glow)); }
}

/* Touch devices don't get the wave.
   An animated `filter` cannot be handed to the compositor: it repaints the
   element on the main thread every frame it runs, forever. These four sit
   inside a position:sticky bar that also carries a backdrop-filter, so each
   repaint dirties the bar and makes the blur behind it re-resolve too — for a
   glow that crests for 1.7s in every 10.4 and is the first thing to disappear
   under a thumb. The mark's own dot and rings keep pulsing; those animate
   opacity, which the compositor does for free. */
@media (pointer: coarse), (max-width: 620px) {
  .logo-null,
  .logo-word em,
  .logo-audio { animation: none; }
  .logo-word .logo-dot { animation: logodot 2.6s ease-in-out infinite; }
}

/* Desktop inline nav links (hidden on mobile, replaced by hamburger menu) */
.nav-center {
  display: flex; align-items: center;
  list-style: none; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: var(--fw-med);
}
.nav-center a { color: var(--dim); text-decoration: none; padding: 0 16px; transition: color .15s; }
.nav-center a:hover, .nav-center a.active { color: var(--white); }
.nav-star { color: var(--purple); font-size: 8px; padding: 0 2px; }
.nav-right { display: flex; align-items: center; gap: 16px; }

/* "menu" + hamburger trigger (FabFilter pattern) */
.menu-trigger {
  display: none; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px; letter-spacing: 1px; color: var(--white); text-transform: uppercase;
}
.menu-trigger .bars { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-trigger .bars span { height: 2px; width: 100%; background: var(--white); transition: transform .25s, opacity .25s; }

/* ── FULL-SCREEN MENU OVERLAY ───────────────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 300;
  /* No backdrop-filter. The ground here is 97% opaque, so a full-screen
     18px blur was being computed to soften the 3% of the page still showing
     through — invisible, and one of the most expensive things a phone can be
     asked to do, at exactly the moment someone taps the menu. */
  background: rgba(8,7,14,0.97);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  display: flex; flex-direction: column;
  padding: 18px 28px 40px;
  overflow-y: auto;
}
.menu-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
.menu-overlay-head { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-bottom: 30px; }
.menu-overlay-label { font-size: 14px; letter-spacing: 1px; color: var(--white); text-transform: uppercase; }
.menu-close {
  background: none; border: none; cursor: pointer; color: var(--white);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.menu-close svg { width: 26px; height: 26px; }
.menu-links { list-style: none; display: flex; flex-direction: column; }
.menu-links li { border-top: 1px solid rgba(168,159,212,0.14); }
.menu-links li:last-child { border-bottom: 1px solid rgba(168,159,212,0.14); }
.menu-links a {
  display: block; text-align: center; padding: 26px 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 20px; letter-spacing: 1px;
  color: var(--white); text-decoration: none; transition: color .18s, letter-spacing .18s;
}
.menu-links a:hover, .menu-links a.active { color: var(--purple); letter-spacing: 3px; }
.menu-account {
  margin-top: 30px; display: block; text-align: center;
  border: 1px solid rgba(168,159,212,0.5); border-radius: 12px;
  padding: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 18px; letter-spacing: 1px;
  color: var(--white); text-decoration: none; transition: all .18s;
}
.menu-account:hover { background: var(--purple); color: var(--black); border-color: var(--purple); }
.menu-overlay-footer { margin-top: auto; padding-top: 36px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.menu-overlay-footer a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); text-decoration: none; transition: color .15s; }
.menu-overlay-footer a:hover { color: var(--purple); }
body.menu-open { overflow: hidden; }

/* Legacy nav-buy button kept for compatibility */
.nav-buy {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid var(--purple); color: var(--purple);
  padding: 9px 20px; background: rgba(168,159,212,0.04); border-radius: 40px;
  font-family: 'IBM Plex Mono', monospace; font-weight: 700; transition: all .18s;
}
.nav-buy:hover { background: var(--purple); color: var(--black); box-shadow: 0 0 18px rgba(168,159,212,0.45); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 12px 20px; background: var(--neon); color: var(--black); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* ── SCOPE BAND ─────────────────────────────────────────────────────── */
/* Replaces the old scrolling news-wire strip that used to sit here. A
   perspective oscilloscope trace: the waveform recedes into the distance as
   a waterfall of its own history, morphing sine → saw → square. Built
   and driven by js/main.js, injected straight after <nav>, so there is no
   markup to keep in sync across pages.

   Canvas 2D, no library — ~18 polylines per frame, which is nothing. The
   loop stops dead when the band scrolls out of view or the tab is hidden. */
/* NO background and NO border: the band is a window onto the page's own
   circuit backdrop, not a panel sitting on top of it. A ground colour or a
   bottom rule here draws two hard horizontal lines across the page and the
   whole thing reads as a boxed-in widget instead of part of the backdrop.
   The traces feather out on all four edges — that fade is done in canvas
   (destination-out) rather than with a CSS mask, so there is no
   mask-composite support question to worry about. */
/* The extra height over the original 96px is the indicator's own room. It
   used to sit tucked up in the trace; it is a control now, so it gets a row
   of its own under the waterfall rather than sharing one with it.
   That row is a real one: a flex column, canvas on top, control beneath. It
   was previously only nominal — the canvas still filled the whole band and
   the control was absolutely positioned over it, so the near trace ran
   straight under the chip and the chip's ground covered it. The trace keeps
   the 96px it was drawn for; the band is taller by the strip, not the
   canvas. */
.scope-band {
  position: relative;
  height: 132px;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
}
/* min-height:0 so the canvas can be measured smaller than its own content
   box — without it a flex item refuses to shrink and the strip is pushed
   out of the band. */
.scope-band canvas.scope-trace { display: block; width: 100%; flex: 1 1 auto; min-height: 0; }

/* Morph indicator, and the handle for it: one live cycle of the waveform as
   it actually is right now, mid-blend. Replaces the old text readout — it
   shows the morph rather than naming it — and a click on it drops the band
   into the next shape and restarts the cycle there.
   Left gutter matches the nav's (28px / 18px), so it lines up with the logo.
   It sits in the strip below the canvas, not over it, so no trace can cross
   the glyph at any width — the horizontal feather is 13% of the band's
   WIDTH, a long way in on a desktop but barely past the gutter on a phone,
   so relying on that fade to clear the corner never worked on narrow
   screens. The smoked-glass ground stays: it is the nav's own treatment and
   it holds the chip legible against the starfield backdrop. */
.scope-shape {
  align-self: flex-start;
  margin: 2px 0 2px 28px;
  display: block; padding: 6px 9px;
  border: 1px solid rgba(168,159,212,0.28);
  border-radius: 0;
  background: rgba(5,4,10,0.88);
  backdrop-filter: blur(10px) saturate(140%);
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
/* Resting dimness lives on the glyph, not on the button: fading the whole
   element would take the smoked-glass background and the border down with
   it, and the chip would stop reading as a control at rest. */
.scope-shape canvas.scope-glyph {
  display: block; width: 52px; height: 18px;
  opacity: 0.78; transition: opacity .18s;
}
/* Neon, not purple, on hover: this is the one control in the band and neon is
   the site's "this does something" colour. */
.scope-shape:hover,
.scope-shape:focus-visible {
  border-color: rgba(77,255,170,0.45);
  background: rgba(5,4,10,0.94);
  box-shadow: 0 0 16px rgba(77,255,170,0.16);
}
.scope-shape:hover canvas.scope-glyph,
.scope-shape:focus-visible canvas.scope-glyph { opacity: 1; }
.scope-shape:focus-visible { outline: 1px solid var(--neon); outline-offset: 2px; }
.scope-shape:active { background: rgba(77,255,170,0.10); }

@media (max-width: 620px) {
  /* 65px of trace once the 35px strip is taken out. */
  .scope-band { height: 100px; }
  /* Padding stays generous rather than scaling with the glyph: this is a
     touch target on a phone, and 15px of canvas alone is nowhere near one. */
  .scope-shape { margin: 2px 0 2px 18px; padding: 7px 8px; }
  .scope-shape canvas.scope-glyph { width: 42px; height: 15px; }
}

/* ── TICKERS ────────────────────────────────────────────────────────── */
.bottom-ticker {
  overflow: hidden; height: 38px;
  background: var(--near);
  border-top: 1px solid rgba(77,255,170,0.16);
  border-bottom: 1px solid rgba(77,255,170,0.16);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.bottom-ticker-inner {
  display: flex; align-items: center; height: 100%;
  white-space: nowrap; width: max-content;
  animation: tickerscroll 38s linear infinite;
  /* No will-change. A running transform animation is promoted to its own layer
     anyway, so all the hint bought was keeping that layer — a strip two to four
     viewports wide, with a mask on it — resident even while it is paused and
     off screen. On a phone that is real texture memory for nothing. */
}
.bottom-ticker:hover .bottom-ticker-inner { animation-play-state: paused; }
/* Parked by js/main.js whenever the strip is off screen. Same declaration as
   the hover rule, so the two compose instead of fighting. */
.bottom-ticker-inner.is-idle { animation-play-state: paused; }
.bottom-ticker-item {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--neon); font-weight: var(--fw-med); padding: 0 26px;
}
.bottom-ticker-dash { color: rgba(77,255,170,0.3); padding: 0 4px; }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.cta-primary {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  background: var(--purple); color: var(--black);
  border: none; padding: 14px 38px; font-weight: 700; border-radius: 50px;
  transition: background .18s, transform .18s;
}
.cta-primary:hover { background: var(--pu-hot); transform: translateY(-1px); }
.cta-primary:active { transform: translateY(0); }

.drop-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.buy-btn,
.buy-btn-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--neon); color: var(--black);
  font-family: 'IBM Plex Mono', monospace; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--neon);
  transition: box-shadow .2s ease, transform .2s ease;
}
.buy-btn { font-size: 11px; padding: 14px 28px; }
.buy-btn-lg { font-size: 13px; letter-spacing: 3px; padding: 18px 40px; }
.buy-btn:hover,
.buy-btn:focus-visible,
.buy-btn-lg:hover,
.buy-btn-lg:focus-visible {
  box-shadow: 0 0 28px rgba(77,255,170,0.55);
  transform: translateY(-2px);
  outline: none;
}
.owned-label,
.buy-btn.owned-label,
.buy-btn-lg.owned-label {
  background: transparent;
  border-color: rgba(77,255,170,0.55);
  color: var(--neon);
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer { background: var(--black); border-top: 1px solid rgba(168,159,212,0.28); padding: 36px 2.5rem 24px; }
.footer-main {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(168,159,212,0.07);
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px; text-transform: uppercase; }
.footer-logo em { color: var(--purple); font-style: normal; }
.footer-logo .logo-dot { color: var(--neon); }
.footer-tagline { font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin-top: 5px; }
.footer-socials { display: flex; gap: 20px; align-items: center; }
.footer-socials a { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); text-decoration: none; transition: color .15s; }
.footer-socials a:hover { color: var(--purple); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 9px; letter-spacing: 1px; color: var(--faint); text-transform: uppercase; }
.footer-legal { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); text-decoration: none; }
.footer-legal:hover { color: var(--purple); }

/* Shared site footer */
.site-footer { padding: 52px 6vw 24px; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; }
.site-footer-columns {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 1.4fr);
  align-items: start; gap: 40px; padding-bottom: 40px;
}
.site-footer-heading {
  margin-bottom: 16px; color: var(--purple);
  font-family: var(--font-mono); font-size: 12px; font-weight: var(--fw-bold);
  letter-spacing: 2px; line-height: 1.6; text-transform: uppercase;
}
.site-footer-links { list-style: none; }
.site-footer-links :is(a, [role="link"]) {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--faint); font-size: 13px; letter-spacing: .2px;
  transition: color .18s ease;
}
.site-footer a:hover, .site-footer a:focus-visible { color: var(--neon); }
.site-footer [aria-disabled="true"] { cursor: default; }
.site-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 20px;
  border-top: 1px solid rgba(168,159,212,0.22);
  color: var(--faint); font-size: 11px; line-height: 1.8;
}
.site-footer-copyright { max-width: 100%; }
.site-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.site-footer-legal :is(a, [role="link"]) {
  display: inline-flex; align-items: center; min-height: 28px;
  transition: color .18s ease;
}
.site-footer-separator { color: var(--pu-mid); }

.site-footer-newsletter { min-width: 0; }
.site-footer-newsletter .site-footer-heading { letter-spacing: 1px; }
.site-footer-newsletter-intro { color: var(--faint); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.newsletter-label { display: block; color: var(--faint); font-size: 12px; margin-bottom: 8px; }
.newsletter-fields { display: flex; gap: 8px; }
.newsletter-email {
  width: 100%; min-width: 0; flex: 1 1 auto; min-height: 44px;
  padding: 10px 12px; border: 1px solid var(--pu-low); border-radius: 0;
  background: var(--coal); color: var(--white); font: inherit; font-size: 13px;
}
.newsletter-email::placeholder { color: var(--faint); opacity: .8; }
.newsletter-email:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.newsletter-submit {
  flex: none; min-height: 44px; padding: 10px 14px; border: 1px solid var(--neon);
  background: var(--neon); color: var(--black); font-weight: var(--fw-bold);
}
.newsletter-submit:hover { background: var(--white); border-color: var(--white); }
.newsletter-submit:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.newsletter-submit:disabled { opacity: .6; cursor: wait; }
.newsletter-trap { display: none; }
.newsletter-status { display: block; color: var(--neon); font-size: 12px; line-height: 1.7; margin-top: 12px; }
.newsletter-status:empty { display: none; }
.newsletter-status.is-error { color: var(--error); }

@media (max-width: 900px) {
  .site-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .site-footer-newsletter { grid-column: 1 / -1; max-width: 480px; }
  .site-footer-bottom { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-footer { padding-top: 36px; }
  .site-footer-columns { gap: 24px; padding-bottom: 28px; }
  .site-footer-heading { font-size: 11px; letter-spacing: 1px; }
  .site-footer-links :is(a, [role="link"]) { min-height: 44px; }
  .site-footer-bottom { justify-content: flex-start; text-align: left; }
  .site-footer-legal { justify-content: flex-start; gap: 0 16px; }
  .site-footer-separator { display: none; }
  .site-footer-legal :is(a, [role="link"]) { min-height: 44px; }
}

/* ── PLUGIN VIEWER ──────────────────────────────────────────────────── */
/* The product shot, wired to behave the way the product does. Null Rhythm's
   own info panel reads "Hover over a control to see what it does" — so the
   preview on the site does exactly that: neon pads sit on the real controls,
   pointing at one drops the rest of the panel back and names it in the bar
   underneath. The interaction IS the demo. Nothing here is ornament.

   Shared by software.html and null-rhythm.html. Each used to carry its own copy
   of these rules and its own absolutely-positioned caption, and that caption
   is what this replaces: it sat at bottom:14px inside a box whose image
   already reached down to bottom:27px, so the two overlapped by 3px at the
   default width and worse as the column narrowed. A bar in normal flow under
   the image cannot collide with it at any size. */

/* Registered so the spotlight can EASE to the next control instead of
   snapping. Unregistered custom properties are not interpolatable; where
   @property is unsupported the position simply jumps, which is survivable. */
@property --pgv-x { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }
@property --pgv-y { syntax: '<length-percentage>'; inherits: true; initial-value: 50%; }

.pgv { display: block; margin: 0; transition: --pgv-x .28s ease, --pgv-y .28s ease; }

.pgv-frame {
  position: relative;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;                 /* the spotlight has to clip to the shot */
  /* box-shadow, not drop-shadow(): the shape being shadowed is an opaque
     rounded rectangle, so the two render identically — but `filter` puts the
     frame and everything inside it (the spotlight gradient and every pad, all
     of them animated) into a filter surface that has to be re-rendered
     whenever any of them changes. A box-shadow is painted once and never
     again. */
  box-shadow: 0 0 26px rgba(0,0,0,0.55);
}
.pgv-frame img { display: block; width: 100%; height: auto; }

/* Everything but the control under the pointer drops back.
   An ellipse at 18%/24% rather than a fixed pixel radius: the controls
   themselves scale with the shot, so the lit patch has to as well. At a fixed
   92px it was right on a desktop column and useless at 280px wide, where it
   covered two thirds of the panel and dimmed almost nothing. Those two
   percentages are a circle at this image's 1.34 aspect ratio (0.18 × 1.34 ≈
   0.24), so it reads as a spotlight, not an oval. */
.pgv-frame::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 18% 24% at var(--pgv-x) var(--pgv-y),
              rgba(5,4,11,0) 0%, rgba(5,4,11,0.74) 100%);
  opacity: 0;
  transition: opacity .28s ease;
}
.pgv.is-lit .pgv-frame::after { opacity: 1; }

/* Pads sit ABOVE the spotlight (z-index 2 vs 1), so the one you are pointing
   at stays lit while the panel behind it dims. */
.pgv-hot {
  position: absolute;
  left: var(--x); top: var(--y);
  z-index: 2;
  width: 28px; height: 28px;        /* touch target; the pad itself is 9px */
  margin: -14px 0 0 -14px;          /* centre the target on the coordinate */
  display: grid; place-items: center;
  padding: 0; border: none; background: none;
  -webkit-tap-highlight-color: transparent;
}
/* Round, not square. The square-corners rule is about panels and cards; the
   logo mark's three terminal pads are circles, and that is already this
   site's shape for "a node on a circuit", which is exactly what these are. */
.pgv-hot::before {
  content: '';
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 2px rgba(5,4,11,0.9), 0 0 10px rgba(77,255,170,0.5);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pgv-hot:hover::before,
.pgv-hot:focus-visible::before,
.pgv-hot.is-on::before {
  transform: scale(1.6);
  box-shadow: 0 0 0 2px rgba(5,4,11,0.9), 0 0 16px rgba(77,255,170,0.95);
}
.pgv-hot:focus-visible { outline: 1px solid var(--neon); outline-offset: 2px; }

/* Every state is stacked in one grid cell, so the bar is as tall as its
   longest line from the start and the page never reflows as you move between
   controls. */
.pgv-bar {
  display: grid;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1.7;
}
.pgv-bar > * { grid-area: 1 / 1; }
.pgv-cue,
.pgv-item { transition: opacity .2s ease, visibility .2s; }
.pgv-cue { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }
.pgv-item { opacity: 0; visibility: hidden; }
.pgv-item.is-on { opacity: 1; visibility: visible; }
.pgv.is-lit .pgv-cue { opacity: 0; visibility: hidden; }
.pgv-item-label {
  display: block;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: var(--fw-bold); color: var(--neon);
}
.pgv-item-text { color: var(--dim); letter-spacing: 0.3px; }

/* No pointer to hover with — say "tap". Done in CSS so there is no
   user-agent sniffing and no flash of the wrong word. */
.pgv-cue-tap { display: none; }
@media (hover: none) {
  .pgv-cue-hover { display: none; }
  .pgv-cue-tap { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .pgv, .pgv-frame::after, .pgv-hot::before, .pgv-cue, .pgv-item { transition: none; }
}
