/* ═════════════════════════════════════════════════════════════
   BAXY//DESIGN — industrial blueprint / CNC control panel
   Dark, technical, brutalist. Strong departure from anything else.
   ═════════════════════════════════════════════════════════════ */

:root {
  /* Palette — dark control panel + hot laser */
  --bg:           #08080b;
  --bg-2:         #0f0f15;
  --bg-3:         #16161e;
  --bg-4:         #1d1d28;
  --line:         #2a2a38;
  --line-2:       #353548;
  --line-strong:  #4a4a60;
  --fg:           #f4f4f8;
  --fg-2:         #c8c8d8;
  --muted:        #7a7a92;
  --dim:          #565668;

  --laser:        #ff1f1f;
  --laser-2:      #d10c0c;
  --laser-glow:   rgba(255, 31, 31, 0.45);
  --beam:         #00e0ff;
  --warn:         #ffd34d;

  /* Type — Syne (display) + Familjen Grotesk (body) + JetBrains Mono (tech) */
  --f-display:  "Syne", -apple-system, sans-serif;
  --f-body:     "Familjen Grotesk", -apple-system, sans-serif;
  --f-mono:     "JetBrains Mono", "SF Mono", monospace;
}

/* ─── reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol, dl { list-style: none; padding: 0; margin: 0; }
dl, dd { padding: 0; margin: 0; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--laser); color: var(--bg); }

/* base grid background — subtle blueprint feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* status dot */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--laser);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--laser-glow);
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ─── SCAN BAR ─── */
.scanbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 32px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.scanbar__cell {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.scanbar__cell--accent {
  color: var(--laser);
  margin-left: auto;
}

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 4vw, 56px);
  max-width: 1700px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg);
}
.nav__icon {
  width: 36px;
  height: 36px;
  color: var(--fg);
}
.nav__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav__slash {
  color: var(--laser);
  font-weight: 700;
  margin: 0 1px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav__links a {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--fg-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.nav__links a:hover { color: var(--laser); border-bottom-color: var(--laser); }
.nav__num {
  font-size: 9px;
  color: var(--laser);
  font-weight: 600;
}
.nav__cta {
  background: var(--laser) !important;
  color: var(--bg) !important;
  padding: 12px 18px !important;
  border: 1px solid var(--laser) !important;
  display: inline-flex !important;
  gap: 10px !important;
  transition: all 0.2s !important;
}
.nav__cta:hover {
  background: transparent !important;
  color: var(--laser) !important;
  border-color: var(--laser) !important;
  box-shadow: 0 0 24px var(--laser-glow);
}
.nav__cta-arrow {
  font-family: var(--f-mono);
  font-size: 12px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  max-width: 1700px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 140px) clamp(24px, 4vw, 56px);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}
.hero__crosshair {
  position: absolute;
  top: 80px;
  right: 0;
  width: clamp(280px, 32vw, 480px);
  height: clamp(280px, 32vw, 480px);
  z-index: -1;
  opacity: 0.7;
  animation: rotate-slow 60s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }

.bracket {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 28px;
  color: var(--laser);
  line-height: 1;
  z-index: 2;
}
.bracket--tl { top: 24px; left: 24px; }
.bracket--tr { top: 24px; right: 24px; }
.bracket--bl { bottom: 24px; left: 24px; }
.bracket--br { bottom: 24px; right: 24px; }

.hero__content {
  position: relative;
  max-width: 1100px;
  z-index: 1;
}
.hero__meta { margin-bottom: 36px; }
.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--laser);
  padding: 8px 14px;
  border: 1px solid var(--laser);
  background: rgba(255, 31, 31, 0.06);
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  text-transform: uppercase;
  color: var(--fg);
}
.hero__line {
  display: block;
  position: relative;
}
.hero__line[data-line]::before {
  content: attr(data-line);
  position: absolute;
  top: 0.55em;
  left: -3em;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16em;
  line-height: 1;
}
.hero__line--accent {
  color: var(--laser);
  text-shadow:
    0 0 50px var(--laser-glow),
    3px 0 0 rgba(255, 31, 31, 0.4);
  padding-left: clamp(28px, 5vw, 80px);
}

.hero__sub {
  font-family: var(--f-body);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 40px;
  max-width: 60ch;
  font-weight: 400;
}
.hero__sub em {
  color: var(--laser);
  font-style: normal;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  color: var(--fg);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn:hover {
  background: var(--bg-4);
  border-color: var(--fg);
  transform: translate(-2px, -2px);
}
.btn--laser {
  background: var(--laser);
  color: var(--bg);
  border-color: var(--laser);
  box-shadow: 0 0 0 0 var(--laser-glow);
}
.btn--laser:hover {
  background: var(--laser-2);
  border-color: var(--laser);
  box-shadow:
    -3px -3px 0 var(--bg),
    -3px -3px 0 1px var(--laser),
    0 0 32px var(--laser-glow);
  transform: translate(-3px, -3px);
}
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--big { padding: 20px 36px; font-size: 13px; }
.btn__arrow {
  font-family: var(--f-mono);
  font-size: 14px;
}

/* readout panel */
.readout {
  background: var(--bg-2);
  border: 1px solid var(--line);
  max-width: 720px;
  font-family: var(--f-mono);
}
.readout__row--head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.readout__pulse {
  color: var(--laser);
  font-size: 14px;
  animation: pulse 1.6s ease-in-out infinite;
}
.readout__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.readout__cell {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.readout__cell:last-child { border-right: none; }
.readout__k {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.readout__v {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.readout__v small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
  vertical-align: super;
}

/* ─── SPEC STRIP — static, hard-bordered, NOT a marquee ─── */
.specstrip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1700px;
  margin: 0 auto;
}
.specstrip__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--f-mono);
}
.specstrip__cell:last-child { border-right: none; }
.specstrip__k {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.specstrip__v {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
}
.specstrip__cell--accent .specstrip__v { color: var(--laser); }

/* ─── SECTIONS ─── */
.section {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px) clamp(80px, 10vw, 160px);
  position: relative;
}
.section--alt {
  background: var(--bg-2);
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-left: 0;
  padding-right: 0;
}
.section--alt > * {
  max-width: 1700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 4vw, 56px);
  padding-right: clamp(24px, 4vw, 56px);
}
.section--alt > .section__head { padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); }

/* sticky head — pins for ~1 scroll-screen as you move through the section */
.section__head {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr;
  gap: clamp(30px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 100px);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.section--alt .section__head {
  background: var(--bg-2);
}
.section__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}
.section__num-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--laser);
  padding-left: 16px;
}
.section__num {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--laser);
  letter-spacing: 0.1em;
}
.section__sub {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.section__title {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-transform: uppercase;
  margin: 0;
}
.section__title em {
  color: var(--laser);
  font-style: normal;
  text-shadow: 0 0 50px var(--laser-glow);
}
.section__lede {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
}

/* ─── §01 CAPABILITY ─── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap {
  background: var(--bg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.25s;
  min-height: 280px;
}
.cap:hover {
  background: var(--bg-2);
}
.cap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--laser);
  transition: width 0.4s ease;
}
.cap:hover::before { width: 100%; }
.cap__id {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.cap__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cap__name {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-transform: uppercase;
  margin: 0;
}
.cap__amt {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--laser);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cap__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}
.cap__specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.cap__specs dt {
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cap__specs dd {
  color: var(--fg);
  text-align: right;
}
.cap--special {
  background: var(--bg-3);
}
.cap--special .cap__name { color: var(--laser); }
.cap--special:hover { background: var(--bg-4); }

/* ─── §02 MATERIALS table ─── */
.mat-table {
  border: 1px solid var(--line);
  background: var(--bg);
}
.mat-table__head {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 1fr 140px;
  padding: 14px 24px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  gap: 16px;
}
.mat-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 1fr 140px;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.2s;
}
.mat-row:last-child { border-bottom: none; }
.mat-row:hover { background: var(--bg-2); }
.mat-row__id {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.mat-row__name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mat-row__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.mat-row__sub {
  font-size: 13px;
  color: var(--muted);
}
.mat-row__stock,
.mat-row__thick {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}
.mat-row__status {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mat-row__status--ok { color: #4dff7c; }
.mat-row__status--warn { color: var(--warn); }

/* ─── §03 PROTOCOL ─── */
.proto {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--bg);
}
.proto__rail { display: none; }
.proto__step {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background 0.25s;
}
.proto__step:last-child { border-right: none; }
.proto__step:hover { background: var(--bg-2); }
.proto__step::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--laser);
  z-index: 2;
}
.proto__step:last-child::after { display: none; }
.proto__num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--laser);
  letter-spacing: 0.16em;
}
.proto__body h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--fg);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.proto__body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ─── §04 TERMINAL FORM ─── */
.terminal {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--f-body);
}
.terminal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.terminal__head-left {
  display: flex;
  align-items: center;
}
.terminal__title { color: var(--fg); }
.terminal__head-right {
  display: flex;
  gap: 10px;
}
.dim { color: var(--dim); }

.terminal__body {
  padding: clamp(28px, 4vw, 56px);
}
.t-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.t-row--three {
  grid-template-columns: 1.4fr 0.6fr 1fr;
}
.t-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.t-field--full { display: block; }
.t-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--laser);
  text-transform: uppercase;
}
.t-field input,
.t-field select,
.t-field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg);
  outline: none;
  width: 100%;
  transition: all 0.2s;
}
.t-field input::placeholder,
.t-field textarea::placeholder { color: var(--dim); font-style: italic; }
.t-field input:focus,
.t-field select:focus,
.t-field textarea:focus {
  border-color: var(--laser);
  background: var(--bg);
  box-shadow:
    inset 0 0 0 1px var(--laser),
    0 0 0 4px rgba(255, 31, 31, 0.08);
}
.t-field textarea { resize: vertical; }

/* drop */
.t-upload {
  margin: 28px 0;
}
.t-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.t-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 56px 30px;
  background: var(--bg-2);
  border: 2px dashed var(--line-strong);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
}
.t-drop__icon {
  width: 56px;
  height: 56px;
  color: var(--muted);
  transition: color 0.25s, transform 0.25s;
}
.t-drop:hover,
.t-upload.is-drag .t-drop {
  border-color: var(--laser);
  background: var(--bg);
}
.t-drop:hover .t-drop__icon,
.t-upload.is-drag .t-drop__icon {
  color: var(--laser);
  transform: translateY(-3px);
}
.t-drop__main {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.t-drop__sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-drop__file {
  display: none;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--laser);
  font-weight: 500;
  word-break: break-all;
}
.t-drop__file.is-set { display: block; }

/* FILE_SPEC panel — technical notes below the upload */
.filespec {
  margin-top: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
}
.filespec__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.filespec__id { color: var(--fg-2); }
.filespec__pulse {
  color: var(--laser);
  font-size: 10px;
  animation: pulse 1.6s ease-in-out infinite;
}
.filespec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.filespec__cell {
  background: var(--bg-2);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filespec__cell--span2 { grid-column: 1 / -1; }
.filespec__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--laser);
  text-transform: uppercase;
}
.filespec__v {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
}
@media (max-width: 720px) {
  .filespec__grid { grid-template-columns: 1fr; }
}

.terminal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 24px clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  flex-wrap: wrap;
}
.terminal__legal {
  font-family: var(--f-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--muted);
  max-width: 50ch;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
.foot {
  background: var(--bg-2);
  border-top: 12px solid;
  border-image: repeating-linear-gradient(
    90deg,
    var(--laser) 0 16px,
    var(--bg-2) 16px 32px
  ) 12;
  margin-top: 0;
}
.foot__top {
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding: clamp(80px, 9vw, 130px) clamp(24px, 4vw, 56px) 50px;
}
.foot__brand {
  display: flex;
  gap: 16px;
}
.foot__brand .nav__icon { width: 44px; height: 44px; flex-shrink: 0; }
.foot__brand-text .nav__word {
  font-size: 22px;
  display: block;
  margin-bottom: 14px;
}
.foot__brand-text p {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
}
.foot__col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--laser);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.foot__col p {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0;
  letter-spacing: 0.04em;
}
.foot__col ul li { margin: 5px 0; }
.foot__col ul a {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.foot__col ul a:hover { color: var(--laser); border-bottom-color: var(--laser); }
.foot__bottom {
  max-width: 1700px;
  margin: 0 auto;
  padding: 22px clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ─── responsive ─── */
@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .proto { grid-template-columns: repeat(2, 1fr); }
  .proto__step { border-bottom: 1px solid var(--line); }
  .proto__step::after { display: none; }
  .readout__grid { grid-template-columns: repeat(3, 1fr); }
  .readout__cell:nth-child(3n) { border-right: none; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .section__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 720px) {
  .scanbar { font-size: 9px; padding: 8px 16px; gap: 14px; }
  .scanbar__cell--accent { margin-left: 0; }
  .nav { flex-direction: column; gap: 22px; padding: 24px 20px; }
  .nav__links { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 50px 20px; }
  .hero__title { font-size: clamp(42px, 13vw, 72px); }
  .hero__line[data-line]::before { display: none; }
  .hero__line--accent { padding-left: 0; }
  .hero__crosshair { display: none; }
  .bracket { display: none; }
  .readout__grid { grid-template-columns: 1fr 1fr; }
  .readout__cell:nth-child(2n) { border-right: none; }
  .marquee__track { font-size: 22px; }
  .cap-grid { grid-template-columns: 1fr; }
  .proto { grid-template-columns: 1fr; }
  .mat-table__head { display: none; }
  .mat-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }
  .t-row, .t-row--three { grid-template-columns: 1fr; }
  .terminal__foot { flex-direction: column; align-items: stretch; }
  .terminal__foot .btn { width: 100%; justify-content: center; }
  .foot__top { grid-template-columns: 1fr; gap: 36px; padding: 60px 20px 30px; }
  .foot__bottom { flex-direction: column; gap: 6px; text-align: center; }
}
