/* ═══════════════════════════════════════════════════════════════════════════
 * FUSION DATA COMPANY — STOREFRONT
 * Register: ELITE SOLAR DARK (the default register in the owner's DESIGN.md)
 *
 * MEASURED CONTRAST (WCAG 2.1, computed by storefront/contrast.py on 2026-09-09)
 *   ground #0a0f1a · panel #0e1420 · glass #111a28
 *   tier       hex        ground   panel   glass
 *   ink        #f2f6fc     17.66   16.99   16.11
 *   ink-2      #c2cfe0     12.13   11.67   11.06
 *   ink-3      #9fb0c6      8.67    8.34    7.90
 *   accent     #f59e0b      8.92    8.58    8.13
 *   trim       #fbbf24     11.48   11.04   10.46
 *   ok         #34d399      9.97    9.59    9.09
 *   bad        #fda4af     10.13    9.75    9.24
 *   info       #38bdf8      8.94    8.60    8.15
 *   blue       #60a5fa      7.54    7.25    6.87
 *   Button label on the accent fill: #0a0f1a on #f59e0b = 8.92 : 1
 *   Worst tier anywhere on the page: 6.87 : 1. AA floor is 4.5, house target 7.
 *   Heading gradient stops on the ground, display type only (AA large is 3:1):
 *   #f97316 6.83 · #fb923c 8.46 · #ea580c 5.38 · #f59e0b 8.92 · #60a5fa 7.54
 * ═══════════════════════════════════════════════════════════════════════════ */

@import "./elite.css";

:root {
  /* ── the kit contract ─────────────────────────────────────────────────── */
  --elite-bg:            #0a0f1a;
  --elite-surface:       #0e1420;
  --elite-ink:           #f2f6fc;
  --elite-ink-2:         #c2cfe0;
  --elite-ink-3:         #9fb0c6;
  --elite-accent:        #f59e0b;
  --elite-accent-2:      #3b82f6;
  --elite-accent-deep:   #ea580c;
  --elite-accent-on:     #0a0f1a;
  --elite-trim:          #fbbf24;
  --elite-ok:            #34d399;
  --elite-warn:          #fbbf24;
  --elite-bad:           #fda4af;
  --elite-info:          #38bdf8;
  --elite-rule:          rgba(255,255,255,.08);
  --elite-sheen:         rgba(255,255,255,.86);
  --elite-shade:         rgba(0,0,0,.55);
  --elite-radius:        28px;
  --elite-font-mono:     "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --elite-grain-opacity: .05;
  --elite-dust-opacity:  .45;

  /* ── the page's own vocabulary ────────────────────────────────────────── */
  --glass:        rgba(14,20,32,.72);
  --glass-strong: rgba(17,26,40,.86);
  --hair:         rgba(255,255,255,.08);
  --hair-strong:  rgba(255,255,255,.16);
  --amber:        #f59e0b;
  --orange:       #ea580c;
  --cyan:         #38bdf8;
  --green:        #34d399;
  --gold:         #fbbf24;
  --blue:         #3b82f6;
  --ease:         cubic-bezier(.4,0,.2,1);
  --shell:        1240px;
  --gutter:       clamp(20px, 5vw, 48px);

  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body:    "Open Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono:    "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: dark;
}

/* This page commits to one register deliberately: it is a dark cinematic shop
   window and a light repaint of it would not be the same product. Both grounds
   and every colour are painted explicitly, so nothing borrows the host theme. */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--elite-bg);
  color: var(--elite-ink);
  font-family: var(--f-body);
  font-size: var(--elite-t3);
  line-height: var(--elite-lh3);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* `clip`, never `hidden`: overflow-x:hidden on body makes body the scroll
   container and freezes window.scrollY at 0, which kills every scroll-driven
   behaviour in motion.js with nothing in the console to say why. */
@media (max-width: 767px) { html, body { overflow-x: clip; max-width: 100vw; } }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: rgba(245,158,11,.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── layout ───────────────────────────────────────────────────────────────── */
.shell { width: min(var(--shell), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vh, 84px) 0; }

/* ── type ─────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(33px, 5.9vw, 80px); line-height: 1.04; }
h2 { font-size: clamp(26px, 4.1vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.2; letter-spacing: -.01em; }
h4 { font-size: var(--elite-t2); line-height: var(--elite-lh2); letter-spacing: -.005em; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.62; color: var(--elite-ink-2); max-width: 62ch; }
.muted  { color: var(--elite-ink-2); }
.muted-2{ color: var(--elite-ink-3); }
.small  { font-size: var(--elite-t5); line-height: var(--elite-lh5); }
.tiny   { font-size: var(--elite-t6); line-height: var(--elite-lh6); }

.kicker {
  font-family: var(--f-mono);
  font-size: var(--elite-t6);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--elite-ink-3);
}
.kicker--accent { color: var(--gold); }

.gradient-head {
  background: linear-gradient(135deg,#f97316,#fb923c,#ea580c,#f59e0b,#60a5fa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .06em;
}

/* ── the eyebrow pill ─────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--elite-radius-pill);
  background: var(--glass); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--hair);
  font-family: var(--f-mono); font-size: var(--elite-t6);
  letter-spacing: .16em; text-transform: uppercase; color: var(--elite-ink-2);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px 2px rgba(52,211,153,.55);
}

/* ── buttons ──────────────────────────────────────────────────────────────── */
.button {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--elite-radius-pill);
  font-family: var(--f-display); font-weight: 700; font-size: var(--elite-t4);
  letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  overflow: hidden;
}
.button--primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #0a0f1a;
  box-shadow: 0 10px 30px -12px rgba(245,158,11,.7), inset 0 1px 0 rgba(255,255,255,.28);
}
/* The fill wipes in from the left on a negative-z pseudo element, so the label
   never repaints and never flickers mid-transition. */
.button--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateX(-101%); transition: transform .42s var(--ease);
}
.button--primary:hover::before { transform: translateX(0); }
.button--primary:hover { transform: translateY(-2px); }
.button--primary:active { transform: translateY(0); }

.button--ghost {
  background: var(--glass); color: var(--elite-ink);
  box-shadow: inset 0 0 0 1px var(--hair-strong);
  backdrop-filter: blur(20px) saturate(180%);
}
.button--ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(251,191,36,.5); color: #fff; }

.button .arrow { transition: transform .3s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }

/* ── glass cards ──────────────────────────────────────────────────────────── */
.pane {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--elite-radius);
  box-shadow: inset 0 0 0 1px var(--hair), 0 24px 60px -34px rgba(0,0,0,.9);
}
.pane--pad { padding: clamp(22px, 3vw, 34px); }

/* Corner brackets on mini-cards — the north-star card's tell. */
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border: 1.5px solid var(--gold); opacity: .55;
  transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
}
.brackets::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 5px 0 0 0; }
.brackets::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 5px 0; }
.brackets:hover::before, .brackets:hover::after { opacity: 1; width: 24px; height: 24px; }

/* Per-card edge glow. One rule, re-pointed per card by --edge. */
.edged { --edge: 245,158,11; }
.edged::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(var(--edge), .28), 0 0 34px -6px rgba(var(--edge), .30);
  opacity: .55; transition: opacity .4s var(--ease), box-shadow .4s var(--ease);
}
.edged:hover::after { opacity: 1; box-shadow: 0 0 0 1px rgba(var(--edge), .5), 0 0 56px -4px rgba(var(--edge), .5); }
.edge-amber  { --edge: 245,158,11; }
.edge-cyan   { --edge: 56,189,248; }
.edge-orange { --edge: 234,88,12; }
.edge-green  { --edge: 52,211,153; }
.edge-blue   { --edge: 59,130,246; }
.edge-gold   { --edge: 251,191,36; }

.lift { transition: transform .38s var(--ease); }
.lift:hover { transform: translateY(-3px); }
.lift-lg:hover { transform: translateY(-6px); }

/* ── ambient ──────────────────────────────────────────────────────────────── */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient .orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .30;
  animation: orbDrift 34s var(--ease) infinite;
}
.ambient .orb:nth-child(1) { width: 46vw; height: 46vw; left: -14vw; top: -12vw;  background: radial-gradient(circle, rgba(245,158,11,.55), transparent 70%); }
.ambient .orb:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 22vh;  background: radial-gradient(circle, rgba(59,130,246,.45), transparent 70%); animation-delay: -12s; }
.ambient .orb:nth-child(3) { width: 30vw; height: 30vw; left: 34vw; bottom: -14vw; background: radial-gradient(circle, rgba(234,88,12,.40), transparent 70%);  animation-delay: -23s; }
@keyframes orbDrift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  33%     { transform: translate3d(4vw,-3vh,0) scale(1.09); }
  66%     { transform: translate3d(-3vw,4vh,0) scale(.94); }
}

.grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, #000 30%, transparent 78%);
}

/* ── header ───────────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,15,26,.72);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 -1px 0 var(--hair);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.masthead.is-stuck { background: rgba(10,15,26,.94); box-shadow: inset 0 -1px 0 rgba(251,191,36,.24), 0 14px 34px -26px #000; }
.masthead__in { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__mark {
  position: relative; overflow: hidden;
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg,#f59e0b,#ea580c);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 15px; color: #0a0f1a;
  box-shadow: 0 6px 18px -8px rgba(245,158,11,.9);
}
/* The bar crosses and then WAITS. Without the hold a header logo reads as a
   loading spinner. */
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.65) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: logoShine 6.5s var(--ease) infinite;
}
@keyframes logoShine { 0%,20% { transform: translateX(-120%); } 34%,80% { transform: translateX(120%); } 100% { transform: translateX(120%); } }
.brand__name { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.brand__name span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 10px; text-decoration: none;
  font-size: var(--elite-t5); color: var(--elite-ink-2);
  transition: color .22s var(--ease), background .22s var(--ease);
}
.nav a:hover { color: var(--elite-ink); background: rgba(255,255,255,.05); }
.masthead .button { padding: 10px 20px; font-size: var(--elite-t5); }
@media (max-width: 900px) { .nav { display: none; } }

/* ── hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vh, 104px) 0 clamp(64px, 9vh, 112px); }
.hero__plate { position: absolute; inset: 0; z-index: 0; }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero__plate::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,26,.44) 0%, rgba(10,15,26,.70) 48%, var(--elite-bg) 100%),
    linear-gradient(90deg, rgba(10,15,26,.93) 0%, rgba(10,15,26,.86) 34%, rgba(10,15,26,.24) 66%, rgba(10,15,26,.58) 100%);
}
/* transform ONLY — an opacity fade on the largest above-the-fold element gates
   the LCP, because a fully transparent element is not counted as painted. */
.hero__in { position: relative; z-index: 2; animation: heroRise 1s var(--ease) both; }
@keyframes heroRise { from { transform: translate3d(0,26px,0); } to { transform: none; } }

.hero h1 { margin: 20px 0 22px; max-width: 17ch; }
@media (max-width: 560px) {
  .hero h1 br { display: none; }
  .hero h1 { max-width: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 14px; }
  .stat__v { font-size: 21px; letter-spacing: -.03em; }
  .stat__l { font-size: 10px; letter-spacing: .12em; }
}
.hero .lede { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin-top: 20px; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 1px; margin-top: clamp(38px, 6vw, 62px);
  background: var(--hair); border-radius: var(--elite-radius-card); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.stat { background: rgba(14,20,32,.80); backdrop-filter: blur(14px); padding: 22px 20px; }
.stat__v {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(26px, 3.1vw, 38px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--gold);
}
.stat__l { margin-top: 9px; font-family: var(--f-mono); font-size: var(--elite-t7); letter-spacing: .17em; text-transform: uppercase; color: var(--elite-ink-3); }

.cue { margin-top: 42px; display: inline-flex; align-items: center; gap: 10px; }
.cue__rail { width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); }
.cue span { font-family: var(--f-mono); font-size: var(--elite-t7); letter-spacing: .2em; text-transform: uppercase; color: var(--elite-ink-3); animation: bob 2.6s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ── marquee ──────────────────────────────────────────────────────────────── */
.band {
  position: relative; overflow: hidden;
  padding: 17px 0; background: rgba(14,20,32,.62);
  box-shadow: inset 0 1px 0 var(--hair), inset 0 -1px 0 var(--hair);
}
.band__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.band:hover .band__track, .band:focus-within .band__track { animation-play-state: paused; }
.band__half { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.band__item { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-mono); font-size: var(--elite-t6); letter-spacing: .18em; text-transform: uppercase; color: var(--elite-ink-2); white-space: nowrap; }
.band__item i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px 1px rgba(251,191,36,.6); font-style: normal; }
@keyframes marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ── section headings ─────────────────────────────────────────────────────── */
.head { max-width: 74ch; margin-bottom: clamp(34px, 5vw, 52px); }
.head h2 { margin: 14px 0 16px; }
.rule { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.rule__line { height: 1px; flex: 1; background: linear-gradient(90deg, var(--gold), transparent); max-width: 120px; }
.rule__mark { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 10px 2px rgba(251,191,36,.5); }

/* ── service cards ────────────────────────────────────────────────────────── */
.services { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.svc { display: flex; flex-direction: column; overflow: hidden; }
.svc__plate { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #070b13; }
.svc__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover .svc__plate img { transform: scale(1.05); }
.svc__plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,15,26,.15), rgba(14,20,32,.94)); }
.svc__body { padding: 24px clamp(20px,2.4vw,28px) 26px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--elite-ink-2); font-size: var(--elite-t4); line-height: var(--elite-lh4); }
.svc__price {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  box-shadow: inset 0 1px 0 var(--hair);
}
.svc__price b { font-family: var(--f-display); font-weight: 800; font-size: 21px; color: var(--gold); font-variant-numeric: tabular-nums; }
.svc__price span { font-size: var(--elite-t5); color: var(--elite-ink-3); }

/* ── infographic ──────────────────────────────────────────────────────────── */
.flow { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.flow figure { margin: 0; }
.flow svg { width: 100%; height: auto; }

/* ── the pinned moment ────────────────────────────────────────────────────── */
.pin { position: relative; height: 260vh; }
@media (max-width: 768px) { .pin { height: 190vh; } }
.pin__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.pin__plate { position: absolute; inset: 0; }
.pin__plate img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.pin__plate::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(10,15,26,.55), rgba(10,15,26,.94) 78%); }
.pin__type { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); max-width: 1000px; }
.pin__type h2 { font-size: clamp(34px, 6.4vw, 82px); line-height: 1.03; }
.pin__line { opacity: 0; transform: translate3d(0,34px,0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.pin__line.is-in { opacity: 1; transform: none; }

/* ── product portfolio ────────────────────────────────────────────────────── */
.folio { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.card__shot {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #05080e; box-shadow: inset 0 -1px 0 var(--hair);
}
.card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.card:hover .card__shot img { transform: scale(1.035); }
.card__shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10,15,26,.55) 100%);
}
.card__tag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: var(--elite-radius-pill);
  background: rgba(10,15,26,.82); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--hair);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--elite-ink-2);
}
.card__tag i { width: 6px; height: 6px; border-radius: 50%; font-style: normal; background: currentColor; }
.tag-live  i { background: var(--green); box-shadow: 0 0 7px 1.5px rgba(52,211,153,.6); }
.tag-demo  i { background: var(--cyan);  box-shadow: 0 0 7px 1.5px rgba(56,189,248,.6); }
.card__body { padding: 22px clamp(20px,2.4vw,26px) 24px; display: flex; flex-direction: column; flex: 1; gap: 11px; }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card h3 { font-size: 21px; }
.card__who { font-family: var(--f-mono); font-size: var(--elite-t7); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card p { color: var(--elite-ink-2); font-size: var(--elite-t4); line-height: var(--elite-lh4); margin: 0; }
.card__foot {
  margin-top: auto; padding-top: 16px; box-shadow: inset 0 1px 0 var(--hair);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card__link { font-family: var(--f-mono); font-size: var(--elite-t6); letter-spacing: .1em; color: var(--elite-ink); display: inline-flex; align-items: center; gap: 8px; }
.card:hover .card__link { color: var(--gold); }
.card__host { font-family: var(--f-mono); font-size: 10.5px; color: var(--elite-ink-3); letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── the table ────────────────────────────────────────────────────────────── */
.grid-wrap {
  overflow-x: auto; border-radius: var(--elite-radius);
  background: var(--glass); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--hair), 0 24px 60px -34px rgba(0,0,0,.9);
  -webkit-overflow-scrolling: touch;
}
table.grid { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 780px; }
table.grid th, table.grid td { padding: 15px 18px; text-align: left; vertical-align: top; }
table.grid thead th {
  position: sticky; top: 0; z-index: 2;
  background: rgba(12,18,29,.97); backdrop-filter: blur(10px);
  font-family: var(--f-mono); font-size: var(--elite-t7); letter-spacing: .17em;
  text-transform: uppercase; color: var(--elite-ink-3); font-weight: 400;
  /* inset, NOT border-bottom: a border on a sticky header changes the row box
     and the whole grid jumps by a pixel the moment the header sticks. */
  box-shadow: inset 0 -1px 0 var(--hair);
}
table.grid tbody tr { transition: background .2s var(--ease); }
table.grid tbody tr:hover { background: rgba(255,255,255,.035); }
table.grid tbody td { box-shadow: inset 0 -1px 0 rgba(255,255,255,.05); font-size: var(--elite-t5); line-height: var(--elite-lh5); color: var(--elite-ink-2); }
table.grid tbody tr:last-child td { box-shadow: none; }
table.grid td.name { color: var(--elite-ink); font-family: var(--f-display); font-weight: 700; font-size: var(--elite-t4); white-space: nowrap; }
table.grid td.num, table.grid th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--f-mono); color: var(--gold); white-space: nowrap; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 4px 10px; border-radius: var(--elite-radius-pill);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1px currentColor;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px 1.5px currentColor; font-style: normal; }
.badge-buy  { color: var(--green); }
.badge-call { color: var(--cyan); }
.badge-own  { color: var(--gold); }

/* ── pricing ──────────────────────────────────────────────────────────────── */
.prices { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.price { display: flex; flex-direction: column; gap: 14px; }
.price__amt { display: flex; align-items: baseline; gap: 8px; }
.price__amt b { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px,3.6vw,44px); line-height: 1; color: var(--elite-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price__amt span { font-size: var(--elite-t5); color: var(--elite-ink-3); }
.price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.price li { position: relative; padding-left: 22px; font-size: var(--elite-t5); line-height: var(--elite-lh5); color: var(--elite-ink-2); }
.price li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.price .button { margin-top: auto; }

/* ── close ────────────────────────────────────────────────────────────────── */
.close { position: relative; overflow: hidden; }
.close__in { display: grid; gap: clamp(28px,4vw,52px); grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; }
@media (max-width: 880px) { .close__in { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--elite-radius-input); background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--hair); text-decoration: none; transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.contact-row:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(251,191,36,.4); }
.contact-row .k { font-family: var(--f-mono); font-size: var(--elite-t7); letter-spacing: .16em; text-transform: uppercase; color: var(--elite-ink-3); width: 74px; flex: none; }
.contact-row .v { font-size: var(--elite-t4); color: var(--elite-ink); }

/* ── footer ───────────────────────────────────────────────────────────────── */
.foot { padding: 54px 0 44px; box-shadow: inset 0 1px 0 var(--hair); position: relative; }
.foot__in { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__links a { font-size: var(--elite-t5); color: var(--elite-ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--gold); }

/* ── reveals (driven by the one shared rAF pass in motion.js) ─────────────── */
.rv { opacity: 0; transform: translate3d(0,26px,0); transition: opacity .85s var(--ease), transform .85s var(--ease); will-change: opacity, transform; }
.rv.is-in { opacity: 1; transform: none; }
.rv-group > * { opacity: 0; transform: translate3d(0,26px,0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv-group.is-in > * { opacity: 1; transform: none; }
/* nth-child, never Math.random(): a random delay produces a different value on
   the server and in the browser and throws a hydration mismatch. */
.rv-group.is-in > *:nth-child(1) { transition-delay: 0ms; }
.rv-group.is-in > *:nth-child(2) { transition-delay: 80ms; }
.rv-group.is-in > *:nth-child(3) { transition-delay: 160ms; }
.rv-group.is-in > *:nth-child(4) { transition-delay: 240ms; }
.rv-group.is-in > *:nth-child(5) { transition-delay: 320ms; }
.rv-group.is-in > *:nth-child(6) { transition-delay: 400ms; }
.rv-group.is-in > *:nth-child(7) { transition-delay: 480ms; }
.rv-group.is-in > *:nth-child(8) { transition-delay: 560ms; }
.rv-group.is-in > *:nth-child(9) { transition-delay: 640ms; }
.rv-group.is-in > *:nth-child(10){ transition-delay: 720ms; }

.rail { position: fixed; left: 0; top: 0; height: 2px; z-index: 90; width: 0;
        background: linear-gradient(90deg,#f59e0b,#fbbf24,#3b82f6); box-shadow: 0 0 12px rgba(245,158,11,.6); }

/* ── reduced motion: REMOVE, never shorten ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-group > *, .pin__line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__in { animation: none; }
  .band__track { animation: none; }
  .band__half + .band__half { display: none; }   /* else half the row hangs off the edge */
  .ambient .orb { animation: none; }
  .brand__mark::after { display: none; }
  .cue span { animation: none; }
  .pin { height: auto; }
  .pin__stage { position: static; height: auto; min-height: 100svh; }
  .card:hover .card__shot img, .svc:hover .svc__plate img { transform: none; }
  .button, .lift, .card, .svc { transition: none !important; }
}
