/* =====================================================================
   SONG PRECISION SYSTEMS — stylesheet
   Colours and sizes are tokens at the top; change them once here.
   ===================================================================== */
:root {
  --bg: #08090a;
  --bg-2: #0d0e10;
  --bg-3: #131417;
  --fg: #e9e7e2;
  --fg-dim: #9a9893;
  --fg-mute: #5e5d5a;
  --line: rgba(233, 231, 226, 0.08);
  --line-2: rgba(233, 231, 226, 0.16);
  --red: #e5132b;
  --red-deep: #8f0a1a;
  --red-glow: rgba(229, 19, 43, 0.14);

  --topo-line: rgba(233, 231, 226, 0.11);
  --topo-major: rgba(229, 19, 43, 0.55);

  --wrap: 1360px;
  --gut: clamp(16px, 4vw, 48px);
  --cut: 14px; /* chamfer size */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
img, svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; }
/* clip-path (cut corners) hides an outside outline, so draw it inside instead */
.btn:focus-visible, a.build:focus-visible { outline: 2px solid var(--red); outline-offset: -5px; }
/* text fields: focus = thicker red underline (missing fields keep the thin red line + red label) */
input[type=text]:focus-visible, textarea:focus-visible { outline: 0; box-shadow: 0 1px 0 var(--red); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- labels: small caps-style metadata ---------- */
.eyebrow, .sec-head, .status, .spec dt, .step__top, .invoice__head, .ticket__head,
.field > span, .field legend, .toolkit__cap, .contact__meta dt, .player__hud, .player__chapters,
.notice__kicker, .footer__base, .faq__n, .scope__head, .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-feature-settings: 'tnum', 'cv11', 'ss01';
}

/* ---------- topo ---------- */
.topo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.topo .c { fill: none; stroke: var(--topo-line); stroke-width: 1; stroke-linejoin: round; }
.topo .c--major { stroke: var(--topo-major); stroke-width: 1.25; }
/* lines fade in from low ground to high ground on page load */
.topo.is-drawn .c {
  opacity: 0;
  animation: fadein 1.2s var(--ease) forwards;
  animation-delay: calc(var(--i) * 40ms);
}
@media (prefers-reduced-motion: reduce) { .topo.is-drawn .c, .topo.is-drawn .topo__peak { animation: none; opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* content is injected by render.js; hide the page until it's filled to avoid a flash of empty boxes */
html.loading:not(.is-rendered) body { opacity: 0; }
body { transition: opacity .25s; }
.noscript { padding: 40px var(--gut); color: var(--fg-dim); }

/* the "//" separator used throughout */
/* ONE rule for every "//" separator on the site: grey, light, same relative spacing.
   Numbers next to a // are red; words stay their normal colour. */
.sl, .sec-head__sl, .step__sl, .build__sl, .nav__links a i, .filter button i {
  color: var(--fg-mute); font-weight: 300; font-style: normal; margin-inline: .45em;
}
.build__big .sl { margin: 0; color: inherit; font-weight: inherit; }   /* H//0001 stays tight */

/* ---------- buttons (chamfered) ---------- */
.btn {
  --c: var(--cut);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px;
  font: 600 13px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: background .2s, color .2s;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 12px; --c: 10px; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #ff2a40; }
/* ghost = 1px outline that follows the chamfer: outer layer is the "border",
   ::before is the fill inset by 1px with the same cut */
.btn--ghost { background: rgba(233, 231, 226, .22); color: var(--fg); isolation: isolate; }
.btn--ghost::before {
  content: ''; position: absolute; inset: 1px; z-index: -1; background: var(--ghost-bg, var(--bg));
  clip-path: polygon(0 0, calc(100% - var(--c) + .5px) 0, 100% calc(var(--c) - .5px), 100% 100%, calc(var(--c) - .5px) 100%, 0 calc(100% - var(--c) + .5px));
  transition: background .2s;
}
.btn--ghost:hover::before { background: var(--bg-3); }
.section--alt { --ghost-bg: var(--bg-2); }
.btn--dark { background: var(--bg); color: var(--fg); }
.btn--dark:hover { background: #000; color: #fff; }
.btn__arrow { font-weight: 400; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- status bar ---------- */
.status { border-bottom: 1px solid var(--line); color: var(--fg-mute); background: var(--bg); }
.status__row { display: flex; align-items: center; gap: 32px; height: 30px; font-size: 10px; }
.status__item { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.status__clock { margin-left: auto; }
.status__clock time { color: var(--fg-dim); }
.led { width: 6px; height: 6px; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 2.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 9, 10, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__row { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--fg); }
.brand__mark { width: 26px; height: 26px; }
.brand__name { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a {
  position: relative; white-space: nowrap; text-decoration: none; color: var(--fg-dim);
  font-size: 13px; font-weight: 500; padding: 6px 0; transition: color .2s;
}
/* site-wide rule: numbers are red, the // separator is grey (same as [08] // FAQ, STEP // 01) */
.nav__links a span { color: var(--red); font-size: 10px; font-feature-settings: 'tnum'; }
.nav__links a i { font-size: 10px; }
.nav__links a b { font-weight: 500; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--red); transition: right .3s var(--ease); }
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--fg); }
.nav__toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(calc(100svh - 94px), 940px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: clamp(64px, 11vh, 140px);
}
.topo--hero {
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, rgba(0,0,0,.35) 34%, #000 62%);
          mask-image: linear-gradient(100deg, transparent 8%, rgba(0,0,0,.35) 34%, #000 62%);
}
.topo--hero .c { stroke: rgba(233, 231, 226, .16); }
.topo--hero .c--major { stroke: rgba(229, 19, 43, .7); stroke-width: 1.3; }
.hero__reg i { position: absolute; width: 11px; height: 11px; }
.hero__reg i::before, .hero__reg i::after { content: ''; position: absolute; background: var(--fg-mute); }
.hero__reg i::before { left: 5px; top: 0; width: 1px; height: 11px; }
.hero__reg i::after { top: 5px; left: 0; height: 1px; width: 11px; }
.hero__reg i:nth-child(1) { top: 28px; right: 32%; }
.hero__reg i:nth-child(2) { top: 28px; right: 32px; }
.hero__reg i:nth-child(3) { bottom: 168px; right: 32%; }
.hero__reg i:nth-child(4) { bottom: 168px; right: 32px; }
.hero > .wrap { position: relative; width: 100%; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--fg-dim); margin: 0 0 32px; }
.eyebrow__bar { width: 32px; height: 1px; background: var(--red); }
.hero__title {
  margin: 0; max-width: 15ch;
  font-size: clamp(44px, 7vw, 112px);
  font-weight: 700; line-height: .92; letter-spacing: -0.05em;
}
.hero__title em { display: block; font-style: normal; }
em { font-style: normal; }

/* lead-time indicator (Protocol section) */
.protocol__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.lead { margin: 0; display: inline-flex; align-items: center; gap: 0; padding: 12px 16px; border: 1px solid var(--line-2);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.lead b { color: var(--fg); font-weight: 600; }
.lead .led { margin-right: 10px; }
.led { display: inline-block; width: 6px; height: 6px; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 2.4s steps(2) infinite; }
.hero__lede { max-width: 46ch; margin: 36px 0 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-dim); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.spec {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(64px, 10vh, 120px) 0 0; border-top: 1px solid var(--line-2);
  background: linear-gradient(to bottom, rgba(8,9,10,.6), var(--bg));
}
/* values pinned to the bottom so they line up even when a label wraps */
/* equal-width cells: dividers are drawn in the middle of the column gap */
.spec { column-gap: 48px; }
.spec__cell { position: relative; display: flex; flex-direction: column; padding: 22px 0 30px; }
.spec__cell:not(:last-child)::after { content: ''; position: absolute; top: 0; bottom: 0; right: -24px; width: 1px; background: var(--line); }
.spec__cell dd { margin-top: auto; }

/* no lone last word in big headings */
h1, h2, .notice__title, .clip__title, .plat__code { text-wrap: balance; }
.spec dt { color: var(--fg-mute); margin-bottom: 10px; text-wrap: balance; }
.spec dd { margin: auto 0 0; font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-feature-settings: 'tnum'; }
.spec dd em { font-style: normal; color: var(--red); font-weight: 500; margin-right: 2px; }
/* "CAD" after the price, sitting on the number's baseline */
.spec__unit { display: inline; margin-left: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; color: var(--fg-mute); vertical-align: baseline; }
.spec__unit:empty { display: none; }

/* ---------- section scaffolding ---------- */
/* overflow: clip (not hidden) so sticky headings inside sections still stick */
/* --pt = top padding. scroll-margin uses it so a nav jump always lands the
   section heading 32px below the nav bar, whatever the section's padding. */
.section { --pt: clamp(88px, 12vw, 168px); position: relative; padding: var(--pt) 0 clamp(88px, 12vw, 168px);
  border-top: 1px solid var(--line); overflow: clip; scroll-margin-top: calc(32px - var(--pt)); }
.section--alt { background: var(--bg-2); }
.section > .wrap { position: relative; }
.topo--section { opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 100% 0%, #000 0%, transparent 70%); }

.sec-head { display: flex; align-items: center; gap: 0; margin-bottom: clamp(40px, 6vw, 72px); color: var(--fg); }
.sec-head__idx { color: var(--red); }
.sec-head__rule { flex: 1; height: 1px; background: var(--line-2); margin-left: 24px; }
.lede { margin: 0; color: var(--fg-dim); font-size: 17px; max-width: 52ch; }
.record__copy .lede, .rates__intro .lede, .contact__copy .lede { margin-top: 28px; }
.record__copy .btn { margin-top: 32px; }

.h2 {
  margin: 0; max-width: 17ch;
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 650; line-height: 1.0; letter-spacing: -0.042em;
}
.h2 em { font-style: normal; }
.prose p { margin: 0 0 1.1em; color: var(--fg-dim); font-size: 17px; max-width: 58ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---------- 01 doctrine: ledger ---------- */
.ledger { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-2); }
.ledger__row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; color: var(--fg); transition: background .2s;
}
.ledger__row > :nth-child(2) { color: var(--fg-dim); }
.ledger__row--head { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); padding: 14px 0; }
.ledger__row--head > :nth-child(2) { color: var(--fg-mute); }
.ledger__row--head > :nth-child(3) { color: var(--red); }
.ledger__row:not(.ledger__row--head):not(.ledger__row--total):hover { background: linear-gradient(90deg, transparent, var(--red-glow)); }
.nil { position: relative; color: var(--fg-mute); display: inline-flex; align-items: center; gap: 12px; }
.nil::before { content: ''; width: 18px; height: 1px; background: var(--red); }
.ledger__row--total { border-bottom: 1px solid var(--line-2); padding: 26px 0; font-weight: 600; }
.ledger__row--total > :last-child { color: var(--red); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; line-height: 1; font-feature-settings: 'tnum'; }

/* ---------- 01 doctrine: DIY ---------- */
.diy { margin-top: clamp(88px, 10vw, 140px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.diy__said { margin: 0; font-size: clamp(26px, 3vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--fg); }
.diy__reply { margin: 10px 0 36px; font-size: clamp(38px, 4.6vw, 66px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--fg); }

/* ---------- chamfered panels with an unbroken 1px outline ----------
   The panel's own background IS the outline colour (--edge); ::before sits
   1px inside with the fill colour and the same cut, so the outline follows
   the diagonal. Inner cut = outer cut − 0.59px keeps the diagonal 1px thick. */
.toolkit, .invoice, .build, .ticket, .plat, .clip {
  --tr: 0px; --bl: 0px; --edge: var(--line-2); --fill: var(--bg);
  position: relative; isolation: isolate; border: 0; background: var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--tr)) 0, 100% var(--tr), 100% 100%, var(--bl) 100%, 0 calc(100% - var(--bl)));
  transition: background .25s;
}
.toolkit::before, .invoice::before, .build::before, .ticket::before, .plat::before, .clip::before {
  content: ''; position: absolute; inset: 1px; z-index: -1; background: var(--fill);
  clip-path: polygon(0 0, calc(100% - var(--tr) + .59px) 0, 100% calc(var(--tr) - .59px), 100% 100%, calc(var(--bl) - .59px) 100%, 0 calc(100% - var(--bl) + .59px));
}
.toolkit { --tr: 22px; --fill: var(--bg-2); margin: 0; padding: 28px; }
.toolkit__cap { display: flex; justify-content: space-between; color: var(--fg-dim); padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.toolkit__cap span { color: var(--fg-mute); }
.toolkit__list { list-style: none; margin: 0; padding: 0; }
.toolkit__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--fg-dim); }
.toolkit__list b { color: var(--fg); font-weight: 500; font-feature-settings: 'tnum'; white-space: nowrap; }
.toolkit__bars { margin-top: 26px; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 132px 1fr 96px; gap: 14px; align-items: center; font-size: 13px; }
.bar__label { white-space: nowrap; color: var(--fg-dim); font-size: 11px; font-weight: 500; letter-spacing: .16em; }
.bar__track { position: relative; height: 10px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8.33%); border-left: 1px solid var(--line-2); }
.bar__fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--red); }
.bar__fill--fee { width: var(--fee); }
/* solid = minimum cost, hatched = range up to maximum (widths set by render.js) */
.bar__fill--range { width: 100%; background: none; }
.bar__fill--range::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: var(--tool-lo); background: var(--fg-dim); }
.bar__fill--range::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--tool-lo); right: calc(100% - var(--tool-hi)); background: repeating-linear-gradient(45deg, var(--fg-dim) 0 1.5px, transparent 1.5px 5px); }
.toolkit__foot { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--fg-mute); }
.bar__val { text-align: right; font-weight: 600; font-feature-settings: 'tnum'; }
.bar__val--red { color: var(--red); }

/* ---------- 02 scope ---------- */
.scope { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); }
.scope__head { display: flex; align-items: center; gap: 12px; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); color: var(--fg); }
.sq { width: 8px; height: 8px; border: 1px solid var(--fg-mute); }
.sq--red { background: var(--red); border-color: var(--red); }
.scope__list { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.scope__list li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.scope__list b { font-weight: 600; font-size: 16px; }
.scope__list span { color: var(--fg-dim); font-size: 15px; }
.scope__col--off .scope__head { color: var(--fg-dim); }
.scope__col--off .scope__list li { grid-template-columns: 1fr; gap: 4px; }
.scope__col--off .scope__list b { color: var(--fg-dim); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1px; }
.scope__col--off .scope__list span { color: var(--fg-mute); }
.scope__note { margin: 24px 0 0; font-size: 14px; color: var(--fg-dim); padding-left: 16px; border-left: 1px solid var(--red); }

/* ---------- 02 scope: two clipboards ---------- */
.clipboards { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.clip { --tr: 18px; --fill: #17181b; padding: 30px 16px 16px; display: flex; flex-direction: column; }
/* the metal clamp at the top */
.clip__clamp { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 150px; height: 40px; z-index: 2;
  background: linear-gradient(180deg, #2a2b2f, #1d1e21); border: 1px solid var(--line-2); border-top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 12% 100%, 0 70%); }
.clip__clamp i { position: absolute; top: 10px; left: 50%; width: 34px; height: 10px; transform: translateX(-50%);
  border: 1px solid var(--fg-mute); border-radius: 6px; background: #0d0e10; }
.clip__paper { position: relative; flex: 1; display: flex; flex-direction: column; padding: 34px 26px 22px; background: #0f1012; border: 1px solid var(--line); }
.clip__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
  font-size: 10px; font-weight: 500; letter-spacing: .16em; color: var(--fg-mute); }
.clip__head span:first-child { color: var(--red); }
.clip__title { margin: 18px 0 10px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.clip__list { list-style: none; margin: 0; padding: 0; }
.clip__list { border-top: 1px solid var(--line); }
.clip__list li { display: flex; align-items: center; gap: 14px; min-height: 48px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.clip__box { position: relative; flex: none; width: 18px; height: 18px; border: 1px solid var(--fg-dim); }
.clip__box::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); }
.clip__n { flex: none; width: 26px; font-size: 12px; color: var(--fg-mute); font-feature-settings: 'tnum'; }
.clip--no .clip__list li span:not(.clip__n) { color: var(--fg-dim); flex: 1; }
.clip__x { position: relative; flex: none; width: 14px; height: 14px; margin-left: auto; }
.clip__x::before, .clip__x::after { content: ''; position: absolute; left: 6px; top: -1px; width: 2px; height: 16px; background: var(--red); }
.clip__x::before { transform: rotate(45deg); } .clip__x::after { transform: rotate(-45deg); }
.clip__note { margin: auto 0 0; padding-top: 22px; font-size: 13px; color: var(--fg-dim); }
@media (max-width: 800px) { .clipboards { grid-template-columns: 1fr; } }

/* terms */
/* the heading block sticks as one unit, so "Last updated" never slides under the title */
.terms__intro { position: sticky; top: 120px; }
.terms .h2 { position: static; }
.terms__updated { margin: 20px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }
@media (max-width: 960px) { .terms__intro { position: static; } }
.terms .faq__list summary { font-size: 17px; }

/* ---------- 03 protocol ---------- */
.steps { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.step { position: relative; padding: 28px 28px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 280px; transition: background .25s; }
.step::before { content: ''; position: absolute; left: -1px; top: -1px; width: 0; height: 2px; background: var(--red); transition: width .4s var(--ease); }
.step:hover { background: var(--bg-2); }
.step:hover::before { width: calc(100% + 1px); }
.step__top { display: flex; align-items: center; gap: 0; margin-bottom: 56px; }
.step__word { color: var(--fg-dim); }
.step__n { color: var(--red); }
.step__who { color: var(--fg-mute); padding: 4px 8px; border: 1px solid var(--line-2); }
.step__title { margin: 0 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.step p { margin: 0; color: var(--fg-dim); font-size: 15px; }

/* shipping panel under the steps */
.ship { display: grid; grid-template-columns: 1fr 2.4fr; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.ship__label { display: block; color: var(--red); font-size: 11px; font-weight: 500; letter-spacing: .16em; margin-bottom: 12px; }
.ship__title { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.ship__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ship__list li { padding-left: 14px; border-left: 1px solid var(--line-2); }
.ship__list b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; margin-bottom: 8px; }
.ship__list span { display: block; font-size: 14px; color: var(--fg-dim); }
@media (max-width: 960px) {
  .ship { grid-template-columns: 1fr; gap: 24px; }
  .ship__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .ship__list { grid-template-columns: 1fr; } }

/* ---------- 04 record ---------- */
.record { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.player { position: relative; aspect-ratio: 16 / 10; background: #050506; border: 1px solid var(--line-2); overflow: hidden; }
.topo--player .c { stroke: rgba(233, 231, 226, .09); }
.topo--player .c--major { stroke: rgba(229, 19, 43, .4); }
.player::after { /* scanline-free vignette */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.7) 100%);
}
.player__corners i { position: absolute; width: 18px; height: 18px; border-color: var(--fg-dim); border-style: solid; border-width: 0; z-index: 2; }
.player__corners i:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.player__corners i:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.player__corners i:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.player__corners i:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.player__hud { position: absolute; z-index: 3; color: var(--fg-dim); font-size: 10px; display: flex; align-items: center; gap: 8px; }
.player__hud--tl { top: 26px; left: 30px; color: var(--fg); }
.player__hud--tr { top: 26px; right: 30px; font-feature-settings: 'tnum'; }
.player__hud--bl { bottom: 74px; left: 30px; letter-spacing: .08em; text-transform: none; font-size: 12px; color: var(--fg); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(2) infinite; }
.player__play { position: absolute; z-index: 3; left: 50%; top: 46%; width: 72px; height: 72px; transform: translate(-50%, -50%);
  display: grid; place-items: center; color: var(--fg); border: 1px solid var(--line-2); background: rgba(8,9,10,.5); }
.player__play svg { width: 26px; height: 26px; }
.player__scrub { position: absolute; z-index: 3; left: 44px; right: 44px; bottom: 40px; }
.player__bar { height: 2px; background: var(--line-2); }
.player__bar span { display: block; height: 100%; background: var(--red); }
.player__chapters { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); font-size: 9px; color: var(--fg-mute); letter-spacing: .06em; }
.player__chapters li { border-left: 1px solid var(--line-2); padding-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.player__chapters li.on { color: var(--red); border-color: var(--red); }
.record__copy .prose { margin-top: 32px; }
.ticks { list-style: none; margin: 32px 0 40px; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 50%; width: 10px; height: 5px; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: translateY(-70%) rotate(-45deg); }

/* ---------- 05 builds archive ---------- */
.archive { margin-top: clamp(56px, 7vw, 96px); }
.archive__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.archive__count { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); font-feature-settings: 'tnum'; }
.filter { display: flex; border: 1px solid var(--line-2); }
.filter button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 500 11px/1 'Inter', sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-dim); padding: 0 18px; min-height: 44px; display: inline-flex; gap: 10px; align-items: center;
  transition: background .2s, color .2s;
}
.filter button + button { border-left: 1px solid var(--line-2); }
.filter button { gap: 0; font-family: inherit; }
.filter button b { font-weight: 500; color: var(--red); font-feature-settings: 'tnum'; }
.filter button[aria-pressed="true"] i { color: rgba(8, 9, 10, .45); }
.builds__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.builds__set { display: contents; }
.filter button:hover { color: var(--fg); }
.filter button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.filter button[aria-pressed="true"] b { color: var(--red); }

.builds { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.build {
  --tr: 22px; --fill: var(--bg);
  display: flex; flex-direction: column; padding: 1px;
}
.build[hidden] { display: none; }
/* only the clickable YOURS // NEXT card lights its outline red on hover */
.build--slot:hover { --edge: rgba(229, 19, 43, .55); }
.build__art { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background: #050506; border-bottom: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--tr) + .59px) 0, 100% calc(var(--tr) - .59px), 100% 100%, 0 100%); }
.build__art .topo .c { stroke: rgba(233, 231, 226, .12); }
.build__art .topo .c--major { stroke: rgba(229, 19, 43, .5); transition: stroke .3s; }
.build:hover .build__art .topo .c--major { stroke: rgba(229, 19, 43, .9); }
.build__code, .build__status { position: absolute; top: 16px; z-index: 2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-feature-settings: 'tnum'; }
.build__code { left: 20px; color: var(--fg-dim); }
.build__status { right: 34px; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }
.build__status i { width: 6px; height: 6px; background: var(--fg-dim); }
.build__status--open i { background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 2.4s steps(2) infinite; }
.build__big {
  position: absolute; right: 16px; bottom: -0.2em; z-index: 1;
  font-size: clamp(56px, 6.4vw, 104px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 231, 226, .28); font-feature-settings: 'tnum';
}
.build__body { padding: 26px 28px 8px; flex: 1; }
.build__id { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; word-break: break-word; }
.build__pre { color: var(--fg-mute); font-weight: 500; }
.build__num { color: var(--red); font-feature-settings: 'tnum'; }
.build__sub { margin: 8px 0 0; color: var(--fg-dim); font-size: 14px; }
.sheet { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 1px solid var(--line-2); }
.sheet div { padding: 11px 0 12px; border-bottom: 1px dashed var(--line); min-width: 0; }
.sheet dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 3px; }
.sheet dd { margin: 0; font-size: 14px; color: var(--fg); }
.sheet dd.yes { color: var(--red); }
.build__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 28px 20px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute);
  font-feature-settings: 'tnum';
}
.build__foot a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.build__foot a:hover { color: var(--fg); }

.build--slot { --fill: var(--bg); --edge: var(--line); text-decoration: none; color: var(--fg); }
.build--slot .build__art { opacity: .55; transition: opacity .3s; }
.build--slot:hover .build__art { opacity: 1; }
.build--slot .build__body { display: flex; flex-direction: column; padding-bottom: 28px; }
.sheet--blank dd { color: var(--fg-mute); }
.sheet--blank dd::after { content: ' _'; color: var(--red); animation: blink 1.2s steps(2) infinite; }
.build__slot-cta { margin: auto 0 0; padding-top: 32px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.build__slot-cta span { display: inline-block; transition: transform .25s var(--ease); }
.build--slot:hover .build__slot-cta span { transform: translateX(4px); }

/* ---------- 06 platforms (house builds for sale) ---------- */
.platforms { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plat { --tr: 22px; --fill: var(--bg); display: flex; flex-direction: column; padding: 1px; }

.plat__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050506; border-bottom: 1px solid var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--tr) + .59px) 0, 100% calc(var(--tr) - .59px), 100% 100%, 0 100%); }
.plat__art .topo .c { stroke: rgba(233, 231, 226, .12); }
.plat__art .topo .c--major { stroke: rgba(229, 19, 43, .5); }
.plat__status { position: absolute; top: 16px; left: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.plat__status i { width: 6px; height: 6px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.plat__mark { position: absolute; right: 18px; bottom: -0.18em; z-index: 1; font-size: clamp(64px, 7vw, 112px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(233, 231, 226, .3); }
.plat__body { padding: 24px 26px 8px; flex: 1; }
.plat__code { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.plat__name { margin: 6px 0 0; color: var(--fg-dim); font-size: 14px; }
.plat__config { margin: 18px 0 0; padding: 10px 12px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.plat__parts { margin-top: 22px; }
.plat__parts-title { display: block; font-size: 10px; letter-spacing: .16em; color: var(--fg-mute); padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.plat__parts dl { margin: 0; }
.plat__parts dl > div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.plat__parts dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }
.plat__parts dd { margin: 0; font-size: 14px; }
.plat__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 18px 26px 24px; }
.plat__lead { white-space: nowrap; }
.plat__price { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-feature-settings: 'tnum'; }
/* ---------- card photos (SPS Rifles + Archive) ----------
   A photo replaces the topo pattern. The dark fade at the bottom keeps the
   overlaid code/status readable on bright pictures. */
.card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease), filter .3s; filter: saturate(.92) contrast(1.03); }
.has-photo .topo { display: none; }
.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,10,.45) 0%, rgba(8,9,10,0) 30%, rgba(8,9,10,0) 55%, rgba(8,9,10,.75) 100%); }
.has-photo .build__big, .has-photo .plat__status, .has-photo .build__status { z-index: 2; }
.has-photo .build__big { -webkit-text-stroke-color: rgba(233, 231, 226, .55); }
.build:hover .card__photo, .plat:hover .card__photo { transform: scale(1.03); }
.plat.is-placeholder .has-photo .card__photo { filter: grayscale(1) brightness(.6); }

/* "See previous builds": centred under the cards, equal rules either side */
.platforms__more { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 40px; }
.platforms__rule { height: 1px; background: var(--line-2); }
.platforms__more .btn { --ghost-bg: var(--bg-2); }
.plat__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* matches the Process lead-time chip: 11px, same label colour */
.plat__lead { display: inline-flex; align-items: center; gap: 0; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--fg-dim); }
.plat__lead .led { margin-right: 10px; }
.plat__lead b { color: var(--fg); font-weight: 600; }
.plat.is-placeholder .plat__lead .led { background: var(--fg-mute); box-shadow: none; animation: none; }
.plat.is-placeholder .plat__lead b { color: var(--fg-mute); }
.plat__soon { display: none; height: 40px; align-items: center; font-size: 11px; letter-spacing: .16em; color: var(--fg-mute); padding: 0 14px; border: 1px dashed var(--line-2); white-space: nowrap; }
/* placeholder platforms: dimmed, no Inquire */
.plat.is-placeholder .plat__art { opacity: .45; }
.plat.is-placeholder .plat__status i { background: var(--fg-mute); box-shadow: none; }
.plat.is-placeholder .plat__config { color: var(--fg-mute); }
.plat.is-placeholder .plat__parts dd, .plat.is-placeholder .plat__price { color: var(--fg-mute); }
.plat.is-placeholder .plat__inquire { display: none; }
.plat.is-placeholder .plat__soon { display: inline-flex; }
/* 3 across, then straight to 1 column, so no card is ever left alone in a row */
@media (max-width: 980px) { .platforms { grid-template-columns: 1fr; } .plat__art { aspect-ratio: 16 / 7; } }

/* ---------- 07 rates ---------- */
.rates { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.rates__intro .prose { margin-top: 32px; }
.invoice { --tr: 28px; --bl: 28px; }
.invoice__head { display: flex; justify-content: space-between; padding: 18px 28px; border-bottom: 1px solid var(--line-2); color: var(--fg-dim); }
.invoice__head span:last-child { color: var(--fg-mute); }
.invoice__row { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: baseline; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.invoice__no { color: var(--fg-mute); font-size: 12px; font-feature-settings: 'tnum'; }
.invoice__desc { font-size: 17px; font-weight: 500; }
.invoice__desc small { display: block; font-size: 13px; color: var(--fg-dim); font-weight: 400; margin-top: 4px; }
.invoice__amt { font-feature-settings: 'tnum'; color: var(--fg-dim); font-size: 15px; white-space: nowrap; }
.invoice__row--big { padding-block: 30px; align-items: center; }
.invoice__row--big .invoice__amt { font-size: clamp(32px, 3.4vw, 48px); font-weight: 650; letter-spacing: -0.045em; color: var(--fg); line-height: 1; }
.invoice__row--big:first-of-type .invoice__amt { color: var(--red); }
.tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 6px; font-size: 9px; font-style: normal; color: var(--fg-dim); border: 1px solid var(--line-2); }
.invoice__foot { display: grid; grid-template-columns: repeat(3, 1fr); }
.invoice__foot div { padding: 20px 28px 26px; border-right: 1px solid var(--line); }
.invoice__foot div:last-child { border-right: 0; }
.invoice__foot span { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 6px; }
.invoice__foot b { font-weight: 600; font-size: 15px; }

/* ---------- notice band ---------- */
.notice { position: relative; overflow: hidden; background: var(--red); color: #0a0000; padding-block: clamp(72px, 9vw, 128px); }
.topo--notice .c { stroke: rgba(0, 0, 0, .16); }
.topo--notice .c--major { stroke: rgba(0, 0, 0, .38); }
.notice__inner { position: relative; }
.notice__kicker { margin: 0 0 24px; color: rgba(10, 0, 0, .7); }
.notice__title { margin: 0; max-width: 16ch; font-size: clamp(40px, 6.4vw, 100px); font-weight: 700; letter-spacing: -0.05em; line-height: .94; }
.notice__grid { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-top: 28px; border-top: 1px solid rgba(0,0,0,.3); }
.notice__grid p { margin: 0; font-size: 17px; font-weight: 500; max-width: 40ch; }

/* ---------- 06 faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .h2 { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 20px; gap: 16px; align-items: baseline;
  padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-weight: 300; font-size: 22px; color: var(--fg-mute); text-align: right; transition: transform .3s var(--ease), color .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq__list summary:hover { color: var(--fg); }
.faq__n { color: var(--fg-mute); font-size: 11px; }
.faq__n .faq__num { color: var(--red); }
.faq__list details[open] .faq__n { color: var(--fg); }
.faq__a { padding: 0 36px 26px 72px; }
.faq__a p { margin: 0; color: var(--fg-dim); max-width: 60ch; }

/* ---------- 07 contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy .prose { margin-top: 32px; }
.contact__meta { margin: 48px 0 0; border-top: 1px solid var(--line-2); }
.contact__meta div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__meta .contact__rows { display: contents; }
.contact__meta dt { color: var(--fg-mute); }
.contact__meta dd { margin: 0; font-size: 16px; }
.contact__meta a { text-decoration: none; border-bottom: 1px solid var(--red); transition: color .2s; }
.contact__meta a:hover { color: var(--fg); }

.ticket { --tr: 28px; --ghost-bg: var(--bg); padding: 0 28px 28px; }
.ticket__head { display: flex; justify-content: space-between; margin: 0 -28px 8px; padding: 18px 28px; border-bottom: 1px solid var(--line-2); color: var(--fg-dim); }
.ticket__head { flex-wrap: wrap; gap: 6px 16px; }
#ticket-id { white-space: nowrap; font-feature-settings: 'tnum'; }
/* build number: word white, // grey, number red (site-wide rule) */
.bn__pre { color: var(--fg); }
.bn__num { color: var(--red); }
.field { display: block; border: 0; margin: 0; padding: 18px 0 0; min-width: 0; }
.field > span, .field legend { display: block; color: var(--fg-mute); margin-bottom: 8px; padding: 0; }
.field legend { float: left; width: 100%; }
.field input[type=text], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--fg); font: 400 16px/1.5 'Inter', sans-serif; padding: 8px 0 12px; border-radius: 0; resize: vertical;
  transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--red); }
.field.is-missing > span { color: var(--red); }
.field.is-missing > input { border-bottom-color: var(--red); }
/* grid with 1fr columns = options exactly equal width */
.seg { clear: both; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line-2); }
.seg label { position: relative; cursor: pointer; min-width: 0; }
.seg label + label { border-left: 1px solid var(--line-2); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 12px 8px; line-height: 20px; font-size: 13px; font-weight: 500; color: var(--fg-dim); transition: background .2s, color .2s; }
.seg label:hover input:not(:checked) + span, .src label:hover input:not(:checked) + span { background: rgba(233, 231, 226, .06); color: var(--fg); }
/* Toggle colour rule (whole form): neutral choice selected = white;
   a choice that adds SPS work/cost (SOURCE IT, test fire YES) selected = red. */
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg--cost label:first-child input:checked + span { background: var(--red); color: #fff; }   /* first option = "Yes" */
.seg input:focus-visible + span { outline: 1px solid var(--red); outline-offset: -4px; }
/* component fields */
.group { padding-top: 28px; }
.group > legend { color: var(--red); }
.group__hint { clear: both; margin: 0; padding-top: 2px; font-size: 13px; color: var(--fg-dim); max-width: 52ch; }
.field__label { display: block; color: var(--fg-mute); margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.spec2 { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.spec2 > .field { padding-top: 10px; }

.comps { clear: both; }
.comp { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-top: 16px; }
.comp__label, .spec2 .comp > span { display: block; min-width: 0; }
.spec2 .comp > span { display: block; }
.comp__label > span, .spec2 .comp > span { color: var(--fg-mute); margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.spec2 .comp { display: block; padding-top: 10px; }
.comp__input, .spec2 .comp input {
  display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--fg); font: 400 16px/1.5 'Inter', sans-serif; padding: 8px 0 12px; border-radius: 0; transition: border-color .2s;
}
.spec2 .comp input { height: 46px; }   /* same height as the Short/Long toggle beside it */
.comp__input::placeholder, .spec2 .comp input::placeholder { color: var(--fg-mute); }
.comp__input:focus, .spec2 .comp input:focus { outline: 0; border-bottom-color: var(--red); }
.comp .opt { display: none; margin-left: 8px; padding: 2px 5px; border: 1px solid var(--line-2); font-size: 9px; font-style: normal; letter-spacing: .14em; color: var(--fg-mute); vertical-align: 1px; }
.comp.is-optional .opt { display: inline-block; }
.comp.is-required-now .comp__label > span::after { content: ' *'; color: var(--red); }
.comp.is-missing input[type=text] { border-bottom-color: var(--red); }
.comp.is-missing .comp__label > span, .comp.is-missing > span { color: var(--red); }

/* per-part "I have it / Source it" toggle */
.src { display: flex; border: 1px solid var(--line-2); margin-bottom: 4px; }
.src label { position: relative; cursor: pointer; }
.src label + label { border-left: 1px solid var(--line-2); }
.src input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.src span { display: block; padding: 13px 12px; font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--fg-dim); white-space: nowrap; transition: background .2s, color .2s; }
.src input:checked + span { background: var(--fg); color: var(--bg); }
.src label:last-child input:checked + span { background: var(--red); color: #fff; }
.src input:focus-visible + span { outline: 1px solid var(--red); outline-offset: -3px; }
.seg.is-missing { border-color: var(--red); }
.ticket__missing { margin: 20px 0 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* SAVE BUILD | COPY BUILD side by side, OPEN IN EMAIL full width under them */
.ticket__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ticket__actions .btn { width: 100%; }
.ticket__actions .ticket__email { grid-column: 1 / -1; }
/* confirmation flash: solid light fill + dark text on every button type
   (ghost buttons paint their fill on ::before, so that layer changes too) */
.ticket__actions .btn.is-done { background: var(--fg); color: var(--bg); }
.ticket__actions .btn--ghost.is-done::before { background: var(--fg); }
.ticket__actions .btn:disabled { opacity: .6; cursor: progress; }

/* build number in the ticket header */
.ticket__num { display: inline-flex; align-items: center; gap: 10px; }
.ticket__num-label { color: var(--fg-mute); }
.ticket__note { margin: 14px 0 0; font-size: 12px; color: var(--fg-mute); text-align: center; }
@media (max-width: 600px) {
  .spec2 { grid-template-columns: 1fr; gap: 0; }
  .comp { grid-template-columns: 1fr; gap: 10px; }
  .src { justify-self: start; }
  .ticket__actions { grid-template-columns: 1fr 1fr; }
  .ticket__actions .btn { padding-inline: 10px; font-size: 12px; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 112px) 0 28px; }
.footer__mark { position: relative; inset: auto; width: 100%; height: auto; }
.footer__mark text { font: 800 92px 'Inter', sans-serif; letter-spacing: -0.02em; }
.footer__mark-bg { fill: #1b1c1f; }
.footer__mark .c { stroke: rgba(233, 231, 226, .55); stroke-width: .9; }
.footer__mark .c--major { stroke: var(--red); stroke-width: 1.1; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.footer__name { margin: 0 0 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__big { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; color: var(--fg-dim);
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer__big:hover { color: var(--fg); border-bottom-color: var(--red); }

/* platforms + build ticket read as one block */
.section--joined { border-top: 0; --pt: clamp(48px, 6vw, 88px); }

/* sec-head: "[06] // PLATFORMS" with breathing room around the // */

/* ---------- INQUIRE window ---------- */
.modal { padding: 0; border: 0; background: transparent; color: var(--fg); max-width: calc(100vw - 32px); width: 520px; }
.modal::backdrop { background: rgba(4, 4, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: fadein .25s var(--ease); }
.modal__box {
  --tr: 24px; position: relative; isolation: isolate; padding: 34px 34px 30px; background: var(--line-2);
  clip-path: polygon(0 0, calc(100% - var(--tr)) 0, 100% var(--tr), 100% 100%, 0 100%);
}
.modal__box::before { content: ''; position: absolute; inset: 1px; z-index: -1; background: var(--bg-2);
  clip-path: polygon(0 0, calc(100% - var(--tr) + .59px) 0, 100% calc(var(--tr) - .59px), 100% 100%, 0 100%); }
.modal__close { position: absolute; top: 10px; right: 26px; width: 44px; height: 44px; background: transparent; border: 0; color: var(--fg-dim);
  font: 300 28px/1 'Inter', sans-serif; cursor: pointer; }
.modal__close:hover { color: var(--red); }
.modal__label { margin: 0 0 14px; font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--red); }
.modal__title { margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.modal__text { margin: 14px 0 0; color: var(--fg-dim); font-size: 15px; }
.modal__lines { margin: 26px 0 24px; border-top: 1px solid var(--line-2); }
.modal__line { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; gap: 12px; padding: 18px 0;
  border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--fg); }
.modal__line span { font-size: 11px; letter-spacing: .16em; color: var(--fg-mute); }
.modal__line b { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; letter-spacing: -0.02em; overflow-wrap: normal; }
@media (max-width: 600px) {
  .modal__line { grid-template-columns: 1fr; gap: 6px; }       /* label above value, so the email never breaks mid-word */
  .modal__line b { font-size: 17px; }
}
.modal__line:hover b { color: var(--red); }
.modal__ticket { --ghost-bg: var(--bg-2); }
.footer__dim, .footer__legal p { margin: 0; color: var(--fg-dim); font-size: 14px; }
.footer__nav { display: block; }
.footer__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 40px; }
.footer__links + .footer__links { margin-top: 8px; }
.footer__nav a { text-decoration: none; color: var(--fg-dim); font-size: 14px; }
.footer__nav a:hover { color: var(--fg); }
.footer__base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 64px; color: var(--fg-mute); font-size: 10px; }
.footer__base a { text-decoration: none; }
.footer__year { color: var(--red); }
.footer__base a:hover { color: var(--fg); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
/* nav: numbers hide below 1500px, menu button takes over below 1200px */
@media (max-width: 1500px) {
  .nav__links a span, .nav__links a i { display: none; }
}
@media (max-width: 1100px) {
  .scope__list li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 1200px) {
  .nav__links {
    /* the nav's backdrop blur makes it the containing block, so size from the viewport explicitly */
    position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px); overflow-y: auto; flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line-2); padding: 8px var(--gut) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__links a span, .nav__links a i { display: inline; font-size: 12px; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; flex: none; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1px solid var(--line-2); cursor: pointer;
  }
  html.menu-open { overflow: hidden; }       /* page doesn't scroll behind the open menu */
  .player__chapters { display: none; }        /* chapter labels get clipped below this width */
  .player__hud--bl { bottom: 56px; }
  .nav__toggle span:not(.sr) { width: 16px; height: 1px; background: var(--fg); transition: transform .25s var(--ease); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .spec { margin-top: 64px; }
  .split, .diy, .scope, .record, .rates, .faq, .contact { grid-template-columns: 1fr; }
  .faq .h2 { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .builds { grid-template-columns: 1fr; }
  .spec { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .spec__cell:not(:last-child)::after { right: -16px; }
  .spec__cell:nth-child(2n)::after { display: none; }
  .spec__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  /* bridge the column gap so the row divider runs unbroken */
  .spec__cell:nth-child(3)::before { content: ''; position: absolute; top: -1px; right: -32px; width: 32px; height: 1px; background: var(--line); }
  .notice__grid { grid-template-columns: 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__reg, .topo__peak { display: none; }
  .topo--hero { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, #000 80%); mask-image: linear-gradient(180deg, rgba(0,0,0,.25) 0%, #000 80%); }
}
@media (max-width: 600px) {
  /* tighter vertical rhythm on phones */
  .section { --pt: 60px; padding-bottom: 60px; }
  .section--joined { --pt: 36px; }
  .sec-head { margin-bottom: 28px; }
  .ledger, .clipboards, .steps, .platforms, .scope { margin-top: 36px; }
  .diy { margin-top: 64px; }
  .ship { margin-top: 40px; }
  .builds__top { margin-bottom: 28px; }
  .notice { padding-block: 56px; }
  .notice__grid { margin-top: 32px; }
  .hero { padding-top: 48px; }
  .spec { margin-top: 48px; }

  /* comfortable tap targets */
  .footer__links a, .footer__base a, .build__foot a, .contact__meta a { display: inline-block; padding-block: 10px; }
  .footer__links { gap: 0 32px; }

  .hide-sm { display: none; }
  .brand__name { font-size: 11px; letter-spacing: .14em; }
  .nav__row { gap: 12px; }
  .nav__cta { height: 40px; padding: 0 12px; font-size: 11px; flex: none; }
  .nav__row { padding-inline: 16px; }
  .brand { gap: 8px; }
  .brand__mark { width: 22px; height: 22px; flex: none; }
  .brand__name { font-size: 10px; letter-spacing: .1em; }
  .nav__toggle { margin-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .build__art { aspect-ratio: 16 / 8; }
  .build__body { padding-inline: 20px; }
  .build__foot { padding-inline: 20px; }
  .sheet { column-gap: 16px; }
  .filter { width: 100%; }
  .filter button { flex: 1; justify-content: center; padding-inline: 8px; }
  .step__top { margin-bottom: 28px; }
  .ledger__row { grid-template-columns: 1.3fr 1fr; font-size: 15px; }
  .ledger__row > :nth-child(2) { display: none; }
  .bar { grid-template-columns: 1fr 80px; }
  .bar__label { grid-column: 1 / -1; }
  .invoice__row { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .invoice__no { display: none; }
  .invoice__head { padding-inline: 20px; }
  .invoice__foot { grid-template-columns: 1fr; }
  .invoice__foot div { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 20px; }
  .faq__list summary { grid-template-columns: 1fr 20px; font-size: 17px; }
  .faq__n { display: none; }
  .faq__a { padding: 0 24px 22px 0; }
  .player__chapters { display: none; }
  .player__hud--bl { bottom: 44px; font-size: 10px; }
  .player__hud--tr { display: none; }
  .ticket { padding-inline: 20px; }
  .ticket__head { margin-inline: -20px; padding-inline: 20px; }
  .contact__meta div { grid-template-columns: 90px 1fr; }
}

/* touch screens (phone + tablet): comfortable tap targets on small links */
@media (max-width: 960px) {
  .footer__links a, .footer__base a, .build__foot a, .contact__meta a, .footer__big { display: inline-block; padding-block: 10px; }
}