/* Cerberus Technical Group — design tokens */
:root {
  /* Surface — steel/navy defense-corporate palette */
  --bg:           #0a0f17;
  --bg-2:         #0d131c;
  --surface:      #131a26;
  --surface-2:    #1a2333;
  --surface-3:    #232e43;
  --border:       #2a3346;
  --border-soft:  #1d2433;
  --border-strong:#3a4458;

  --fg:           #ecf0f6;
  --fg-2:         #c5cdda;
  --muted:        #8b95a9;
  --subtle:       #5d6678;
  --dim:          #3d4658;

  /* Brand */
  --brand:        #c8102e;          /* deep cerberus red — sparing */
  --brand-2:      #e6233e;          /* hover/highlight red */
  --brand-soft:   rgba(200, 16, 46, 0.10);
  --steel:        #4a6a8a;          /* steel-blue secondary */
  --steel-2:      #6b8caf;
  --steel-soft:   rgba(74, 106, 138, 0.16);
  --gold:         #c89c5a;          /* warm operational accent */
  --good:         #4ade80;
  --warn:         #f5a524;
  --info:         #5eaad9;

  /* Type */
  --f-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max-w: 1320px;
  --rad:    10px;
  --rad-sm: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

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

/* Engineering grid backdrop — subtle, drifts off at edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, black 0%, transparent 85%);
}

main, header, footer, section { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(200,16,46,0.30); color: #fff; }

/* ===== Type ===== */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.22; }
h4 { font-size: 17px; font-weight: 600; line-height: 1.3; }
p  { margin: 0; }

.mono { font-family: var(--f-mono); font-size: 0.93em; }
.display { font-family: var(--f-display); }
.muted { color: var(--muted); }
.fg-muted { color: var(--fg-2); }
.subtle { color: var(--subtle); }

/* Defense-corporate "stencil" header — uppercase, tracked, with a hairline rule */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--brand);
}
.eyebrow .ord {
  color: var(--brand-2);
  font-weight: 600;
}

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
  text-wrap: pretty;
}

/* ===== Layout ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .container { padding: 0 24px; } }

.section { padding: 120px 0; }
.section.tight { padding: 80px 0; }
.section.dense { padding: 140px 0; }
.section + .section { border-top: 1px solid var(--border-soft); }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
@media (max-width: 1000px) {
  .g-3, .g-4, .g-6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
}

/* ===== Card ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 24px;
  position: relative;
}
.card.elev { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.card.lift { transition: border-color 200ms, transform 200ms; }
.card.lift:hover { border-color: var(--border-strong); }

/* ===== Pills ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-2);
  white-space: nowrap;
  text-transform: uppercase;
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 1px;
}
.pill.brand   { color: #ff8a99; background: var(--brand-soft); border-color: rgba(200,16,46,0.4); }
.pill.brand::before   { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.pill.steel   { color: #a3c4e8; background: var(--steel-soft); border-color: rgba(107,140,175,0.4); }
.pill.steel::before   { background: var(--steel-2); }
.pill.gold    { color: var(--gold); background: rgba(200,156,90,0.12); border-color: rgba(200,156,90,0.4); }
.pill.gold::before    { background: var(--gold); }
.pill.good    { color: #7eecaa; background: rgba(74,222,128,0.10); border-color: rgba(74,222,128,0.32); }
.pill.good::before    { background: var(--good); box-shadow: 0 0 8px var(--good); }
.pill.warn    { color: #fac362; background: rgba(245,165,36,0.10); border-color: rgba(245,165,36,0.32); }
.pill.warn::before    { background: var(--warn); }
.pill.plain   { color: var(--muted); }
.pill.plain::before { display: none; }
.pill.plain   { padding-left: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 4px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--fg);
  cursor: pointer;
  transition: all 160ms;
}
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); }
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn.ghost {
  background: transparent;
  border-color: var(--border-strong);
}
.btn .arrow { font-family: var(--f-mono); margin-left: 4px; transition: transform 160ms; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 23, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-header .brand img {
  height: 36px;
  width: auto;
  display: block;
}
.site-header .brand .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-header .brand .name span {
  color: var(--muted);
  font-weight: 500;
}
.site-header nav { display: flex; gap: 2px; }
.site-header nav a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 120ms, background 120ms;
}
.site-header nav a:hover { color: var(--fg); background: var(--surface-2); }
.site-header .header-cta {
  display: flex; align-items: center; gap: 16px;
}

/* Hamburger button — only shown on mobile */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--fg);
  transition: transform 220ms, opacity 180ms;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer — hidden by default; activated by .is-open.
   Padding-top must clear both the .status-bar (~30px) AND the sticky
   .site-header (~54px on mobile). Using 120px gives breathing room
   for status-bar wrap on narrow screens. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 15, 23, 0.96);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 120px 24px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 200ms ease, transform 220ms ease, visibility 0s linear 220ms;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 220ms ease, visibility 0s;
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; max-width: 480px; margin: 0 auto; }
.mobile-nav nav a {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding: 16px 8px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav nav a:active { color: var(--brand-2); }
.mobile-nav .mobile-nav-cta {
  margin-top: 24px;
  justify-content: center;
  padding: 16px 22px;
  font-size: 14px;
  border-bottom: 0;
}
.mobile-nav .mobile-nav-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg-2);
}
.mobile-nav .mobile-nav-meta a { color: var(--fg-2); padding: 0; border: 0; font-size: 14px; font-family: var(--f-mono); font-weight: 500; }
.mobile-nav .mobile-nav-meta a:hover { color: var(--brand-2); }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .site-header .header-cta { display: none; }
  .hamburger { display: inline-flex; }
}

/* Top status banner — defense corp coordinate readout */
.status-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-bar .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 40px;
  display: flex; justify-content: space-between;
  gap: 24px;
  color: var(--subtle);
}
.status-bar .inner b { color: var(--fg-2); font-weight: 500; }
.status-bar .inner .live { color: var(--good); }
.status-bar .inner .live::before {
  content: "● ";
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 60%, 100% { opacity: 1 } 70% { opacity: 0.35 } }
@media (max-width: 720px) {
  .status-bar .inner { flex-wrap: wrap; gap: 12px; padding: 8px 24px; }
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero h1 .red {
  color: var(--brand-2);
  position: relative;
}
.hero h1 .red::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 4px;
  background: var(--brand);
  opacity: 0.7;
}
.hero .lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.hero .lockup img {
  width: 92px;
  height: auto;
  display: block;
}
.hero .lockup .lockup-text {
  display: flex; flex-direction: column;
  gap: 4px;
}
.hero .lockup .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.hero .lockup .sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero .top-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1000px) {
  .hero .top-grid { grid-template-columns: 1fr; }
}
.hero .meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero .meta {
  display: flex; flex-direction: column; gap: 4px;
}
.hero .meta .l {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero .meta .v {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg);
}

/* Ops scene frame */
.ops-frame {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(74,106,138,0.18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.ops-frame .head-meta {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 12px;
}
.ops-frame .head-meta b { color: var(--fg-2); font-weight: 500; }
.ops-frame .corner-tl, .ops-frame .corner-tr, .ops-frame .corner-bl, .ops-frame .corner-br {
  position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--brand);
}
.ops-frame .corner-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ops-frame .corner-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.ops-frame .corner-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.ops-frame .corner-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.ops-frame .footer-bar {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--subtle);
}

/* Animated flow */
@keyframes flow { to { stroke-dashoffset: -28; } }

/* Indicator */
.indicator {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.indicator .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 10px var(--good);
  animation: blink 2.4s ease-in-out infinite;
}

/* Section head */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head .head-l { max-width: 720px; }
.section-head .head-r { max-width: 420px; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Capability card */
.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms, background 200ms;
}
.cap-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.cap-card .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brand-2);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.cap-card h3 {
  margin-bottom: 14px;
}
.cap-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--muted);
}
.cap-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.cap-card .tags .tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--surface-3);
}

/* Stats / metrics block */
.metric {
  display: flex; flex-direction: column; gap: 4px;
}
.metric .num {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.metric .num .u {
  font-size: 0.5em; color: var(--muted); margin-left: 6px; font-weight: 500;
}
.metric .label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 4px;
}
.metric .sub { color: var(--fg-2); font-size: 13px; line-height: 1.5; }

/* Banner / quote */
.quote-block {
  position: relative;
  padding: 56px 48px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 30px;
  font-family: var(--f-display);
  font-size: 180px;
  color: var(--brand);
  opacity: 0.25;
  line-height: 1;
  font-weight: 700;
}
.quote-block .q {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  font-weight: 500;
}

/* Product card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.product-card .preview {
  background: var(--bg-2);
  padding: 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
  min-height: 220px;
}
.product-card .body { padding: 28px; }
.product-card .row { display: flex; gap: 18px; align-items: baseline; }

/* Team card */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  overflow: hidden;
}
.team-card .photo {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, var(--surface-3) 0%, var(--surface-2) 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.team-card .photo svg { width: 50%; height: 50%; opacity: 0.18; }
.team-card .photo .badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-card .body { padding: 20px; }
.team-card .body .name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 2px;
}
.team-card .body .role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-2);
}
.team-card .body .bio {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 10px;
}

/* CTA section */
.cta-band {
  background:
    radial-gradient(ellipse at top right, rgba(200,16,46,0.16), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--rad);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  top: 0; right: 0; width: 220px; height: 100%;
  background: url("assets/ctg-icon.png") no-repeat right center;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
}
.cta-band h2 { max-width: 760px; }
.cta-band .lede { margin-top: 16px; }
.cta-band .actions {
  display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.site-footer .top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer ul a { color: var(--fg-2); font-size: 14px; }
.site-footer ul a:hover { color: var(--fg); }
.site-footer .brand-block { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.site-footer .brand-block img { height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.site-footer .brand-block p { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 36ch; }
.site-footer .bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}

/* WARHAMMER spec grid + CTA registration grid — responsive defaults */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 720px) {
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

/* ===== Mobile polish ===== */
@media (max-width: 720px) {
  body { font-size: 15px; }

  /* Tighten section rhythm */
  .section       { padding: 64px 0; }
  .section.tight { padding: 44px 0; }
  .section.dense { padding: 72px 0; }

  /* Header */
  .site-header .inner { padding: 12px 20px; gap: 12px; }
  .site-header .brand img { height: 30px; }
  .site-header .brand .name { font-size: 13px; letter-spacing: 0.05em; }
  .site-header .brand .name span { display: none; }

  /* Status bar — let the two halves stack and wrap */
  .status-bar { font-size: 9.5px; }
  .status-bar .inner > div { flex-wrap: wrap; gap: 10px 16px; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero .top-grid { gap: 36px; }
  .hero .lockup { gap: 14px; margin-bottom: 20px; }
  .hero .lockup img { width: 64px; }
  .hero .lockup .name { font-size: 17px; }
  .hero .meta-bar { gap: 20px 28px; margin-top: 28px; padding-top: 22px; }
  .hero .meta .v { font-size: 16px; }

  /* OpsDiagram corner header text — too dense to read at small sizes */
  .ops-frame .head-meta { font-size: 9px; gap: 8px; top: 10px; left: 12px; right: 12px; flex-wrap: wrap; }
  .ops-frame .footer-bar { font-size: 8px; left: 12px; right: 12px; bottom: 10px; gap: 8px; }

  /* Section heads */
  .section-head { margin-bottom: 32px; gap: 20px; }
  .section-head .head-r { font-size: 14px; }

  /* Cards */
  .card { padding: 20px; }
  .cap-card { padding: 22px; }
  .cap-card h3 { margin-bottom: 10px; }

  /* Mission band cards & quote block */
  .quote-block { padding: 36px 24px; }
  .quote-block::before { font-size: 120px; top: -10px; left: 16px; }
  .card.elev { padding: 24px !important; }

  /* Flagship product cards — override inline 32px paddings on inner sections */
  .pd-flag > div { padding-left: 20px !important; padding-right: 20px !important; }
  .pd-flag > div:first-child { padding-top: 24px !important; padding-bottom: 20px !important; }
  .pd-flag > div h3 { font-size: 22px !important; }

  /* CTA band */
  .cta-band { padding: 36px 24px; }
  .cta-band::after { width: 140px; opacity: 0.05; }
  .cta-band .actions { gap: 10px; margin-top: 24px; }
  .cta-band .actions .btn { width: 100%; justify-content: center; }

  /* Tighter button defaults — finger-friendly without going clunky */
  .btn { padding: 14px 18px; font-size: 13px; }

  /* Hero pills + button rows breathe better */
  .hero h1 { letter-spacing: -0.025em; }

  /* Footer */
  .site-footer .top { padding: 44px 24px 32px; gap: 28px; }
  .site-footer .brand-block img { height: 60px; }
  .site-footer .bottom { padding: 18px 24px; font-size: 10px; gap: 10px; }

  /* OpsDiagram label inside body — center mono caption shrinks */
  .indicator { font-size: 10px; }
}

/* Extra-narrow phones */
@media (max-width: 380px) {
  .status-bar .inner > div:last-child { display: none; }
  .hero h1 { font-size: 38px; }
  .site-header .brand .name { display: none; }
}
