/* Layout: left-aligned spec sheet. Near-monochrome; red appears only on the hero cursor, grade A and primary actions. */
:root {
  --bg: #0a0a0b;
  --surface: #111113;
  --line: #242427;
  --fg: #ececee;
  --muted: #94949b;
  --accent: #e8392f;
  --accent-ink: #0a0a0b;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { overflow-x: clip; }
[hidden] { display: none !important; }
img { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--font-body);
  padding-block: 0 40px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1040px; margin: 0 auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.label {
  font: 500 0.72rem/1.4 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.logo { font: 500 1rem var(--font-mono); text-decoration: none; letter-spacing: -0.01em; }
.logo i { color: var(--accent); font-style: normal; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.nav a { white-space: nowrap; font: 400 0.8rem var(--font-mono); color: var(--muted); text-decoration: none; letter-spacing: 0.04em; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }

/* Hero */
.hero { padding-block: 88px 24px; display: flex; flex-direction: column; gap: 28px; }
.hero.compact { padding-block: 64px 0; }
h1 { margin: 0; max-width: 17ch; font: 600 clamp(2.4rem, 5vw, 3.7rem)/1.04 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
h1.sm { max-width: none; font-size: clamp(2.2rem, 6vw, 3.4rem); }
.cursor { display: inline-block; width: 0.5em; height: 0.11em; margin-left: 0.08em; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .cursor { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
}
.lede { margin: 0; max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--fg); font: 500 0.9rem var(--font-body); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.solid:hover { filter: brightness(1.1); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact b { font: 500 1.25rem var(--font-display); letter-spacing: -0.01em; }
.fact span { font: 400 0.78rem var(--font-mono); color: var(--muted); }

/* Sections */
.sec { padding-top: 96px; display: flex; flex-direction: column; gap: 32px; }
.sec.tight { padding-top: 64px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
h2 { margin: 0; font: 600 1.6rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.more { font: 400 0.8rem var(--font-mono); color: var(--muted); text-decoration: none; letter-spacing: 0.04em; }
.more:hover { color: var(--fg); }

/* Stock list */
.list { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1.9fr 1.4fr 1fr 64px 112px; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.row.head { padding: 12px 0; }
.cell { min-width: 0; }
.model { font: 500 1.02rem var(--font-display); letter-spacing: -0.01em; }
.sub { font: 400 0.78rem var(--font-mono); color: var(--muted); margin-top: 2px; }
.specs { font: 400 0.82rem/1.5 var(--font-mono); color: var(--fg); }
.batt { display: flex; align-items: center; gap: 10px; font: 400 0.82rem var(--font-mono); font-variant-numeric: tabular-nums; }
.meter { flex: 1; min-width: 40px; height: 3px; background: var(--line); }
.meter span { display: block; height: 100%; background: var(--fg); }
.meter.low span { background: var(--muted); }
.grade { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding-inline: 8px; border-radius: 4px; font: 500 0.9rem var(--font-mono); }
.g-New { background: var(--fg); color: var(--bg); }
.g-A { background: var(--accent); color: var(--accent-ink); }
.g-B { border: 1px solid var(--fg); color: var(--fg); }
.g-C { border: 1px solid var(--line); color: var(--muted); }
.ask { padding: 9px 14px; font-size: 0.82rem; width: 100%; }
.note { margin: 0; font: 400 0.78rem var(--font-mono); color: var(--muted); }

/* Hero: text on the left, line drawing of the kit on the right */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-art { min-width: 0; }
.art { display: block; width: 100%; height: auto; max-width: 460px; margin-inline: auto; }
.art .l, .art .m, .art .k, .art .a { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .l { stroke: var(--fg); stroke-width: 2.2; }
.art .m { stroke: var(--fg); stroke-width: 1.5; }
.art .a { stroke: var(--accent); stroke-width: 2; }
.art .s { fill: var(--bg); }
.art .scr { fill: var(--surface); }
.art .dim { opacity: 0.6; }
.art .af { fill: var(--accent); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .art .blink { animation: blink 1.1s steps(1) infinite; }
}
@media (max-width: 820px) {
  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .art { max-width: 360px; }
}

/* Character: live counts, terminal block, bench log, hover lines */
.num { font: 500 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gs { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 4px; }
.term { max-width: 640px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font: 400 0.85rem/1.8 var(--font-mono); display: flex; flex-direction: column; }
.tl { overflow-wrap: anywhere; }
.tl .pr, .tl i { color: var(--accent); font-style: normal; }
.tl.dim { color: var(--muted); }
.term .cursor { width: 0.55em; height: 1em; margin-left: 6px; vertical-align: text-bottom; }
.log { margin-top: 6px; color: var(--muted); font: 400 0.76rem/1.5 var(--font-mono); }
.log i { color: var(--accent); font-style: normal; }
.list .row:not(.head), .svc li { position: relative; }
.list .row:not(.head)::after, .svc li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.list .row:not(.head):hover::after, .list .row:not(.head):focus-within::after, .svc li:hover::after { transform: scaleX(1); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .list .row:not(.head)::after, .svc li::after { transition: transform 0.35s ease; }
  .list .row:not(.head) { animation: rise 0.45s ease-out both; animation-delay: calc(var(--i, 0) * 70ms); }
  .tl { animation: rise 0.4s ease-out both; animation-delay: calc(var(--i, 0) * 140ms); }
}

/* Download panel */
.art .f { fill: var(--fg); stroke: none; }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: default; }
.dlbox { padding: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.dlrow { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.dltext { margin: 0; min-width: 0; color: var(--muted); font: 400 0.9rem var(--font-mono); overflow-wrap: anywhere; }
.dlinfo { margin: 0; display: flex; gap: 16px 48px; flex-wrap: wrap; padding-top: 4px; }
.dlinfo > div { min-width: 0; }
.dlinfo dd { margin: 4px 0 0; font: 500 1rem var(--font-mono); }
.hashbox { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); min-width: 0; }
.hash { font: 400 0.8rem/1.6 var(--font-mono); overflow-wrap: anywhere; user-select: all; }
.bar2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Photos */
.mwrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mtext { min-width: 0; }
.thumb { position: relative; flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font: 400 0.62rem/1.2 var(--font-mono); text-align: center; letter-spacing: 0.04em; }
button.thumb { cursor: pointer; }
button.thumb:hover { border-color: var(--muted); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-n { position: absolute; right: 4px; bottom: 4px; min-width: 18px; padding: 1px 5px; border-radius: 3px; background: var(--bg); color: var(--fg); font: 500 0.68rem/1.4 var(--font-mono); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(5, 5, 6, 0.94); padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb-inner { display: flex; flex-direction: column; gap: 12px; width: min(960px, 100%); max-height: 100%; min-width: 0; }
.lb-img { display: block; max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; object-fit: contain; border-radius: 4px; background: var(--surface); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lb-cap { font: 500 0.95rem var(--font-display); letter-spacing: -0.01em; min-width: 0; overflow-wrap: anywhere; }
.lb-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lb-count { min-width: 5ch; text-align: center; font: 400 0.78rem var(--font-mono); color: var(--muted); }
.btn.sm { padding: 7px 12px; font-size: 0.8rem; }

/* Grades */
.grades { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.gcard { padding: 24px 20px 8px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gcard + .gcard { padding-left: 20px; border-left: 1px solid var(--line); }
.gcard h3 { margin: 0; font: 500 1.05rem var(--font-display); }
.gcard p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.gcard .range { font: 400 0.78rem var(--font-mono); color: var(--fg); }

/* Checks */
.checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.checks b { font: 500 0.78rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.checks span { color: var(--muted); font-size: 0.93rem; }

/* Services */
.svc { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc li { display: grid; grid-template-columns: 200px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc b { font: 500 1.05rem var(--font-display); letter-spacing: -0.01em; }
.svc span { color: var(--muted); font-size: 0.93rem; min-width: 0; }
.svc a { font: 400 0.8rem var(--font-mono); color: var(--muted); text-decoration: none; white-space: nowrap; letter-spacing: 0.04em; }
.svc a:hover { color: var(--fg); }

/* Gadget rows reuse the stock row with four columns */
.row.gadget { grid-template-columns: 2fr 2.2fr 64px 112px; }

/* Closing call to action */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cta-text p { margin: 0; color: var(--muted); font: 400 0.9rem var(--font-mono); overflow-wrap: anywhere; }

/* Enquiry */
.enq { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 0.72rem var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 14px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 4px; font: 400 0.95rem var(--font-body); }
input:hover, select:hover, textarea:hover { border-color: #3a3a3f; }
textarea { resize: vertical; min-height: 120px; }
form .btn { grid-column: 1 / -1; justify-self: start; }

.out { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.out textarea { background: var(--bg); font: 400 0.82rem/1.6 var(--font-mono); min-height: 190px; }
.out .bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.status { font: 400 0.78rem var(--font-mono); color: var(--muted); }

.direct { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.direct dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.direct dt { margin-bottom: 4px; }
.direct dd { margin: 0; font: 500 1rem var(--font-mono); overflow-wrap: anywhere; user-select: all; }
.direct p { margin: 0; color: var(--muted); font-size: 0.93rem; }

footer { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 0.78rem var(--font-mono); color: var(--muted); }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (max-width: 820px) {
  .hero { padding-block: 56px 16px; }
  .hero.compact { padding-block: 48px 0; }
  .sec { padding-top: 72px; }
  .sec.tight { padding-top: 48px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 16px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .row { grid-template-columns: 1fr auto; row-gap: 12px; }
  .row.head { display: none; }
  .row .c-model, .row .c-specs, .row .c-batt { grid-column: 1 / -1; }
  .row .c-grade { grid-column: 1; }
  .row .c-ask { grid-column: 2; }
  .grades { grid-template-columns: 1fr; }
  .gcard, .gcard + .gcard { padding: 20px 0; border-left: 0; }
  .gcard + .gcard { border-top: 1px solid var(--line); }
  .checks { grid-template-columns: 1fr; }
  .row.gadget { grid-template-columns: 1fr auto; }
  .svc li { grid-template-columns: 1fr; gap: 6px; }
  .enq { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  form { grid-template-columns: 1fr; }
  .checks li { grid-template-columns: 1fr; gap: 4px; }
  .nav { gap: 16px; }
}

/* ───────── Polish and motion layer (fx.js) ───────── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Atmosphere: a faint red glow, a fading blueprint grid and film grain behind everything */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  background:
    radial-gradient(60vmax 45vmax at 85% -10%, rgba(232, 57, 47, 0.16), transparent 60%),
    radial-gradient(50vmax 40vmax at -10% 30%, rgba(120, 120, 140, 0.08), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(120vmax 70vmax at 50% 0%, #000 0%, rgba(0,0,0,0.35) 35%, transparent 70%);
          mask-image: radial-gradient(120vmax 70vmax at 50% 0%, #000 0%, rgba(0,0,0,0.35) 35%, transparent 70%);
  opacity: 0.55;
}
body::after {
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: linear-gradient(90deg, var(--accent), #ff7a5c); transform: scaleX(0); transform-origin: left; pointer-events: none; box-shadow: 0 0 12px rgba(232, 57, 47, 0.6); }

/* Sticky glass header that tightens once you scroll */
.top { position: sticky; top: 0; z-index: 40; background: rgba(10, 10, 11, 0.62); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 0 0 100vmax rgba(10, 10, 11, 0.62); clip-path: inset(0 -100vmax); transition: padding 0.35s ease, border-color 0.35s ease; }
.top.scrolled { padding-block: 14px; border-bottom-color: rgba(232, 57, 47, 0.28); }
.logo { transition: letter-spacing 0.4s ease; }
.logo:hover { letter-spacing: 0.02em; }
.logo i { display: inline-block; transition: transform 0.4s cubic-bezier(.3,1.6,.5,1); }
.logo:hover i { transform: rotate(20deg) scale(1.2); }
.nav a { position: relative; border-bottom: 0; transition: color 0.25s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* Headline: gradient sheen and word-by-word rise */
h1 { background: linear-gradient(180deg, #fff 30%, #a9a9b2 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .cursor { -webkit-text-fill-color: initial; }
h1.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; margin-bottom: -0.06em; }
h1.split { background: none; }
h1.split .w > span { display: inline-block; -webkit-background-clip: text; background-clip: text; transform: translateY(105%); animation: wordUp 0.9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(0.08s + var(--k) * 55ms); }
@keyframes wordUp { to { transform: none; } }
h1.split .w > span { background-image: linear-gradient(180deg, #fff 30%, #b4b4bc 130%); color: transparent; }

/* Hero parallax and tilt */
.hero-copy, .hero-art { translate: 0 var(--py, 0px); }
.hero-art { perspective: 900px; }
.art { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 30px 60px rgba(232, 57, 47, 0.12)); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 57, 47, 0.22), transparent); filter: blur(30px); z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-art::before { animation: breathe 6s ease-in-out infinite; }
  @keyframes breathe { 50% { opacity: 0.55; transform: scale(0.92); } }
}

/* Line drawing draws itself in */
.art.draw .l, .art.draw .m, .art.draw .a { transition: stroke-dashoffset 1.4s cubic-bezier(.6,.05,.25,1) var(--dd, 0s); }
.art.draw .s, .art.draw .scr, .art.draw .af, .art.draw .f { opacity: 0; transition: opacity 0.8s ease 1.2s; }
.art.drawn .l, .art.drawn .m, .art.drawn .a { stroke-dashoffset: 0 !important; }
.art.drawn .s, .art.drawn .scr, .art.drawn .af, .art.drawn .f { opacity: 1; }
.art.drawn .dim { opacity: 0.6; }

/* Buttons: shine sweep, lift and a magnetic lean */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease; transform: translate(var(--bx, 0px), var(--by, 0px)); }
.btn:hover { background-color: rgba(255, 255, 255, 0.04); }
.btn.solid { box-shadow: 0 8px 28px -10px rgba(232, 57, 47, 0.7), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn.solid:hover { filter: none; box-shadow: 0 14px 40px -10px rgba(232, 57, 47, 0.9), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn.solid::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%); transform: translateX(-120%); }
.btn.solid:hover::after { transform: translateX(120%); transition: transform 0.75s ease; }
.btn:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }

/* Arrow links nudge forward */
.svc a, .more { display: inline-block; transition: color 0.25s ease, transform 0.3s cubic-bezier(.2,.8,.2,1); }
.svc li:hover a, .more:hover { color: var(--accent); transform: translateX(4px); }

/* Cursor spotlight on cards and rows */
.svc li, .checks li, .gcard, .dlbox, .term, .list .row:not(.head), .cta, .fact { position: relative; }
.svc li::before, .checks li::before, .gcard::before, .dlbox::before, .term::before, .list .row:not(.head)::before, .cta::before, .fact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 57, 47, 0.10), transparent 70%);
}
.svc li:hover::before, .checks li:hover::before, .gcard:hover::before, .dlbox:hover::before, .term:hover::before, .list .row:not(.head):hover::before, .cta:hover::before, .fact:hover::before { opacity: 1; }
.svc li, .checks li { transition: padding-left 0.35s cubic-bezier(.2,.8,.2,1); }
.svc li:hover, .checks li:hover { padding-left: 12px; }
.svc li:hover b { color: #fff; }

/* Cards and panels get depth */
.term, .dlbox { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)), var(--surface); box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 50px -30px rgba(0,0,0,0.9); }
.term { position: relative; padding-top: 40px; }
.term::after { content: ""; position: absolute; top: 14px; left: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 15px 0 0 #3a3a3f, 30px 0 0 #3a3a3f; }
.grade { transition: transform 0.35s cubic-bezier(.3,1.6,.5,1); }
.gcard:hover .grade, .row:hover .grade { transform: scale(1.12) rotate(-4deg); }
.g-A { box-shadow: 0 0 18px -4px rgba(232, 57, 47, 0.8); }
.meter { border-radius: 2px; overflow: hidden; }
.meter span { background: linear-gradient(90deg, #8a8a92, var(--fg)); }
.thumb { transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.2,.8,.2,1); }
.row:hover .thumb { transform: scale(1.06); border-color: var(--muted); }
input, select, textarea { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 57, 47, 0.15); }

/* Facts: big numbers glow faintly */
.num { background: linear-gradient(180deg, #fff, #8d8d96); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Call to action band glows */
.cta { border-radius: 6px; padding-inline: 28px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, rgba(232, 57, 47, 0.14), transparent 55%), var(--surface); overflow: hidden; }

/* Scrolling ticker of what we do */
.marquee { margin: 72px calc(50% - 50vw) 0; padding-block: 18px; border-block: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 48px; font: 500 clamp(1.3rem, 3vw, 2rem)/1 var(--font-display); letter-spacing: -0.02em; color: #4a4a52; white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "/"; color: var(--accent); }
.marquee-track span:nth-child(odd) { color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: tick 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes tick { to { transform: translateX(-50%); } }
}

/* Scroll reveals (only when JS has tagged elements) */
@media (prefers-reduced-motion: no-preference) {
  .fx .rv { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), transform 0.9s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), filter 0.9s ease var(--d, 0ms); }
  .fx .rv.in { opacity: 1; transform: none; filter: none; }
  .fx .sweep { position: relative; }
  .fx .sweep::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.6,.05,.25,1); z-index: 1; }
  .fx .sweep.in::before { transform: scaleX(1); }
}

@media (max-width: 820px) {
  .marquee { margin-top: 48px; }
  .cta { padding-inline: 20px; }
}
@media (max-width: 820px) {
  .top { flex-wrap: nowrap; gap: 16px; padding-block: 14px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding-block: 10px; }
}
.fact .num { font: 500 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-mono); letter-spacing: -0.04em; padding-bottom: 6px; }
.logo { white-space: nowrap; }
@media (max-width: 820px) { .hero-copy, .hero-art { translate: none; } }
.fact .grade { font: 500 0.9rem var(--font-mono); }
.fact .g-New { color: var(--bg); }
.fact .g-A { color: var(--accent-ink); }
.fact .g-B { color: var(--fg); }
