/* ==========================================================================
   LFG Incorporated — site design system  (v2, "Mission Control")
   Rebuilt 2026-06-27. Aerospace / mission-control institutional aesthetic:
   sharp geometry, a monospace telemetry-label system, surgical orange,
   hairline grids. Class names preserved so every page re-skins from this file.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Gotham"; src: url("../fonts/Gotham-Book.otf") format("opentype");   font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/Gotham-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/Gotham-Bold.otf") format("opentype");   font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/Gotham-Black.otf") format("opentype");  font-weight: 900; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/Gotham-Light.otf") format("opentype");  font-weight: 300; font-display: swap; }
@font-face { font-family: "GothamUltra"; src: url("../fonts/Gotham-Ultra.otf") format("opentype"); font-weight: 900; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* surfaces — deeper, cooler, less purple than v1 */
  --bg:        #05070e;
  --bg-2:      #090d18;
  --bg-3:      #0c1120;
  --panel:     #0a0f1c;
  --navy:      #001264;            /* brand navy, for fills/accents */
  --navy-2:    #0a1c52;

  /* ink */
  --ink:       #f3f6fc;
  --muted:     #aeb6c8;
  --muted-2:   #717a90;
  --faint:     #4d5468;

  /* hairlines + grid */
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.18);
  --grid:      rgba(255,255,255,.035);

  /* brand orange — Launch Orange primary, surgical use */
  --orange:    #FF4D12;            /* primary accent */
  --orange-2:  #FF7A33;            /* lighter, hover / gradient stop */
  --orange-dim:rgba(255,77,18,.14);
  --orange-ink:#1a0700;

  /* status (kept for support + cert pages) */
  --blue:      #5aa6ff;
  --purple:    #AF78FF;
  --green:     #18c98b;

  /* geometry — SHARP. the v1 16/24 + 999px pill is gone. */
  --radius:    4px;
  --radius-lg: 8px;
  --radius-pill: 4px;

  --maxw:      1200px;
  --gutter:    28px;

  /* type */
  --mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --display: "GothamUltra", "Gotham", sans-serif;

  /* legacy gradient token kept for support.css; restyled flatter */
  --space-grad: radial-gradient(1100px 520px at 72% -8%, #0e1838 0%, #090d18 46%, var(--bg) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Gotham", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
/* thin mission-control status bar pinned to the very top of every page */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 40%, transparent 40%, transparent 100%);
  background-size: 240px 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0; line-height: 1.05; letter-spacing: -.015em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: var(--mono); }

/* ---------- Mono telemetry label (replaces the old .eyebrow) ---------- */
.eyebrow {
  font-family: var(--mono); font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  font-size: 11.5px; color: var(--orange);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--orange); flex: 0 0 auto;
}
.eyebrow.bare::before { display: none; }
.eyebrow.muted-label { color: var(--muted-2); }
.eyebrow.muted-label::before { background: var(--muted-2); }

/* index number, e.g. 01 / 02 / 03 on section heads */
.ix { font-family: var(--mono); font-size: 12px; color: var(--orange); letter-spacing: .12em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: 12.5px;
  padding: 13px 24px; border-radius: var(--radius); cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: 10px 18px; font-size: 11.5px; }

/* mono "command" link with trailing arrow */
.cmd-link {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); display: inline-flex; align-items: center; gap: 8px;
}
.cmd-link::after { content: "→"; transition: transform .15s ease; }
.cmd-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5,7,14,.82);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; }
.brand span { font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.brand em { font-style: normal; color: var(--muted-2); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); transition: color .15s; position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 104px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--space-grad) center/cover no-repeat;
}
.hero-bg.has-img {
  background-image:
    linear-gradient(90deg, var(--bg) 0%, rgba(5,7,14,.92) 30%, rgba(5,7,14,.58) 48%, rgba(5,7,14,.12) 66%, rgba(5,7,14,0) 84%),
    var(--hero-img, none);
  background-size: cover, cover; background-position: center, center right;
  background-repeat: no-repeat;
}
/* subtle vertical floor fade so the data strip seam reads clean */
.hero-bg.has-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,14,0) 60%, rgba(5,7,14,.5) 100%);
}
/* faint engineering grid overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; padding-bottom: 72px; }
.hero h1 {
  font-family: "Gotham", sans-serif; font-weight: 900;
  font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -.025em;
  margin-top: 26px; text-transform: none;
}
.hero h1 .accent { color: var(--orange); }
.hero p { color: var(--muted); font-size: clamp(15px,1.4vw,18px); max-width: 600px; margin: 22px 0 0; }
.hero .lede2 { margin-top: 12px; color: var(--muted-2); font-size: 15px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
/* corner ticks for the blueprint feel */
.hero-inner::before, .hero-inner::after {
  content: ""; position: absolute; width: 10px; height: 10px; border-color: var(--line-2); border-style: solid;
}
.hero-inner::before { top: 4px; left: -2px; border-width: 1px 0 0 1px; }
.hero-inner::after { bottom: 64px; right: 0; border-width: 0 1px 1px 0; }

/* ---------- Data strip (mono telemetry bar) ---------- */
.data-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.data-strip .wrap { display: flex; gap: 0; flex-wrap: wrap; padding: 0; }
.data-strip .cell {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); padding: 16px 24px; flex: 1 1 auto;
  border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 180px;
}
.data-strip .cell:first-child { border-left: 0; }
.data-strip .cell b { color: var(--ink); font-weight: 500; font-size: 12.5px; letter-spacing: .06em; }
.data-strip .cell .k { color: var(--orange); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-family: "Gotham", sans-serif; font-size: clamp(26px,3.4vw,40px); font-weight: 900;
  text-transform: none; letter-spacing: -.02em;
}
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* hairline divider with end ticks */
.rule { height: 1px; background: var(--line); position: relative; margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.gap { gap: 20px; background: transparent; border: 0; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: border-color .2s ease, background .2s ease, transform .15s ease;
  position: relative;
}
.card:hover { border-color: var(--line-2); background: var(--bg-3); transform: translateY(-2px); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.01em; }
.card p { color: var(--muted); margin: 0; }
.card .medal { width: 76px; height: 76px; margin-bottom: 18px; }
.card .card-ix { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.card .card-link, .card-link { display:inline-flex; align-items:center; gap:8px; margin-top: 20px; color: var(--orange); font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing:.06em; text-transform: uppercase; }
.card .card-link:hover, .card-link:hover { color: var(--orange-2); }
/* cards living inside a hairline .grid (no gap) shouldn't double-border */
.grid > .card { border: 0; border-radius: 0; }

/* product feature row */
.product-row { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.product-row .medal { width: 88px; height: 88px; }

/* ---------- Solutions split (home) ---------- */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
  position: relative;
}
.panel::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 36px; height: 2px; background: var(--orange);
}
.panel h3 { font-size: 20px; margin-bottom: 20px; text-transform: none; letter-spacing: -.01em; }

/* service chips list */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.svc-list li img { width: 18px; height: 18px; opacity: .85; }
.svc-list li::before { content: none; }

/* ---------- Why LFG ---------- */
.why { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-card { padding: 36px 30px; background: var(--bg-2); }
.why-card img { width: 40px; height: 40px; margin: 0 0 20px; opacity: .9; }
.why-card .ix { display: block; margin-bottom: 14px; }
.why-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.why-card p { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* ---------- Vision strip ---------- */
.vision { padding: 76px 0; border-top: 1px solid var(--line); }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vision-card { display: flex; gap: 18px; align-items: flex-start; padding-left: 20px; border-left: 1px solid var(--line-2); }
.vision-card img { width: 36px; height: 36px; flex: 0 0 auto; opacity: .9; }
.vision-card p { font-size: 18px; font-weight: 500; margin: 0; letter-spacing: -.01em; }
.vision-card p span { color: var(--muted); font-weight: 400; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: 84px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(80% 120% at 50% 50%, #000, transparent 75%);
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.cta-band h2 { font-family:"Gotham",sans-serif; font-weight: 900; font-size: clamp(24px,3.4vw,40px); text-transform: none; letter-spacing: -.02em; max-width: 760px; }
.cta-band .eyebrow { margin-bottom: 14px; }

/* ---------- Featured / Trusted ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 1px; align-items: stretch; justify-content: flex-start; background: var(--line); border: 1px solid var(--line); }
.logo-pill { height: 80px; flex: 1 1 150px; min-width: 150px; display: flex; align-items: center; justify-content: center; padding: 0 26px; background: var(--bg-2); color: var(--muted-2); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { overflow: hidden; padding: 0; border: 1px solid var(--line); background: var(--bg-2); border-radius: var(--radius-lg); transition: border-color .2s; }
.news-card:hover { border-color: var(--line-2); }
.news-card .thumb { aspect-ratio: 16/9; background: var(--bg-3) center/cover no-repeat; border-bottom: 1px solid var(--line); }
.news-card .news-body { padding: 22px; }
.news-card .date { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; }
.news-card h3 { font-size: 17px; margin: 12px 0 0; letter-spacing: -.01em; }
.news-empty { color: var(--muted); padding: 30px 0; font-family: var(--mono); font-size: 13px; }

/* ---------- Team ---------- */
.team-block { margin-top: 52px; }
.team-block > .eyebrow { display:inline-flex; margin-bottom: 24px; }
.team-grid { display: grid; gap: 20px; }
.member { text-align: left; }
.member .photo { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h4 { margin-top: 14px; font-size: 15px; font-weight: 700; }
.member .role { color: var(--muted-2); font-family: var(--mono); font-size: 11.5px; margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.founder-bio { margin-top: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); }

/* ---------- About intro ---------- */
.about-hero { background: var(--bg); padding: 96px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.about-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(100% 90% at 30% 0%, #000 35%, transparent 100%);
}
.about-hero .wrap { position: relative; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 16px; margin: 0 0 18px; }
.prose p.lead { color: var(--ink); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.domicile { margin-top: 14px; color: var(--muted-2); font-family: var(--mono); font-size: 12px; font-style: normal; letter-spacing: .04em; }

/* ---------- Services accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.acc + .acc { margin-top: 12px; }
.acc summary {
  list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .s-ix { font-family: var(--mono); font-size: 12px; color: var(--orange); }
.acc summary img { width: 20px; height: 20px; opacity: .85; }
.acc summary .chev { margin-left: auto; transition: transform .2s; color: var(--orange); font-size: 18px; line-height: 1; font-family: var(--mono); }
.acc[open] summary .chev { transform: rotate(45deg); }
.acc[open] summary { border-bottom: 1px solid var(--line); }
.acc .acc-body { padding: 20px 26px 26px 64px; color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4D12' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field-hint { font-size: 12.5px; color: var(--muted-2); margin: 6px 0 0; }
.field.hidden { display: none; }
.support-form-card { max-width: 660px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 34px; }
@media (max-width: 560px) { .support-form-card { padding: 26px 20px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-email { display:inline-flex; align-items:center; gap:10px; font-family: var(--mono); font-weight:500; color: var(--orange); font-size: 16px; letter-spacing: .02em; }
.form-note { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); margin-top: 12px; letter-spacing: .03em; }

/* ---------- Legal ---------- */
.legal { padding: 72px 0; }
.legal h1 { font-size: clamp(28px,3.6vw,42px); text-transform: none; margin-bottom: 12px; letter-spacing: -.02em; }
.legal .legal-meta { font-family: var(--mono); font-size: 12px; color: var(--muted-2); letter-spacing: .04em; margin-bottom: 28px; }
.legal h2 { font-size: 18px; margin: 34px 0 12px; color: var(--ink); letter-spacing: -.01em; }
.legal h2::before { content: ""; display: inline-block; width: 16px; height: 1px; background: var(--orange); vertical-align: middle; margin-right: 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal .callout { background: var(--bg-2); border-left: 2px solid var(--orange); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 76px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-family:"Gotham",sans-serif; font-weight: 900; font-size: clamp(28px,4vw,46px); text-transform: none; line-height: 1.02; letter-spacing: -.02em; }
.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input { flex: 1; min-width: 220px; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 18px; color: var(--ink); font-family: inherit; }
.subscribe-form input:focus { outline: none; border-color: var(--orange); }
.subscribe-msg { font-family: var(--mono); font-size: 12px; margin-top: 12px; min-height: 18px; }
.subscribe-msg.ok { color: var(--green); }
.subscribe-msg.err { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display:flex; align-items:center; gap: 14px; max-width: 300px; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand strong { font-size: 14px; letter-spacing: .03em; }
.footer-brand p { color: var(--muted-2); font-family: var(--mono); font-size: 11px; margin: 6px 0 0; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-bottom .copy { color: var(--muted-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--muted); transition: .15s; }
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open + .mobile-menu { display: block; }
  .cols-3, .cols-4, .why-grid, .news-grid, .solutions, .vision-grid, .contact-grid, .newsletter-inner, .team-grid.cols-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .svc-list { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; text-align: left; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .footer-links { gap: 36px; }
  .data-strip .cell { border-left: 0; border-top: 1px solid var(--line); }
  .data-strip .cell:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding-top: 80px; }
}

/* mobile menu */
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mobile-menu.show { display: block; }
.mobile-menu a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .btn { margin: 18px 24px; font-family: var(--mono); }

/* ==========================================================================
   Red Team Certification page
   ========================================================================== */
.cert-hero { background: var(--bg); padding: 100px 0 76px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cert-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(90% 90% at 70% 10%, #000 30%, transparent 100%);
}
.cert-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cert-hero h1 { font-family:"Gotham",sans-serif; font-weight: 900; font-size: clamp(32px,4.6vw,56px); text-transform: none; line-height: 1.04; letter-spacing: -.025em; }
.cert-hero h1 .accent { color: var(--orange); }
.cert-hero p { color: var(--muted); font-size: 18px; max-width: 540px; margin-top: 22px; }
.cert-hero-badge { display: grid; place-items: center; }
.cert-hero-badge img { width: 280px; max-width: 80%; filter: drop-shadow(0 20px 44px rgba(0,0,0,.55)); }
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 28px; font-family: var(--mono); }
.price-tag .amt { font-family:"Gotham",sans-serif; font-weight: 900; font-size: 40px; color: var(--ink); letter-spacing: -.02em; }
.price-tag .per { color: var(--muted-2); font-size: 13px; }

.incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.incl-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.incl-list li svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--green); margin-top: 2px; }
.incl-list li strong { color: var(--ink); font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
.step { background: var(--bg-2); padding: 28px; position: relative; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--orange); letter-spacing: .1em; }
.step h3 { font-size: 17px; margin: 12px 0 8px; letter-spacing: -.01em; }
.step p { color: var(--muted); margin: 0; font-size: 14px; }

.rating-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rating-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; text-align: center; transition: border-color .2s; }
.rating-item:hover { border-color: var(--line-2); }
.rating-item img { width: 120px; height: 120px; margin: 0 auto 14px; }
.rating-item .rt-grade { font-weight: 900; font-size: 17px; letter-spacing: .01em; }
.rating-item .rt-word { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.rating-item p { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.rating-band { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius); margin-bottom: 22px; border: 1px solid var(--line-2); }
.rating-band.grade { color: var(--green); border-color: rgba(24,201,139,.4); background: rgba(24,201,139,.06); }
.rating-band.below { color: var(--orange); border-color: rgba(255,77,18,.4); background: var(--orange-dim); }

.price-card { max-width: 720px; margin: 0 auto; text-align: center; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 48px 40px; position: relative; overflow: hidden; }
.price-card::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--orange); }
.price-card .big { font-family:"Gotham",sans-serif; font-weight: 900; font-size: 60px; line-height: 1; margin: 10px 0; letter-spacing: -.03em; }
.price-card .big small { font-size: 20px; color: var(--muted-2); font-family: var(--mono); font-weight: 400; }
.price-card .btn { margin-top: 24px; }

.rt-promo { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.rt-promo img { width: 150px; height: 150px; }

@media (max-width: 760px) {
  .rt-promo { grid-template-columns: 1fr; text-align: left; }
  .rt-promo img { display: none; }
}
@media (max-width: 960px) {
  .cert-hero-grid { grid-template-columns: 1fr; }
  .cert-hero-badge { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rating-grid { grid-template-columns: 1fr 1fr; }
  .incl-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .rating-grid { grid-template-columns: 1fr; }
}

/* ---------- Methodology: compact grade ladder ---------- */
.ladder-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.ladder-item { text-align: center; }
.ladder-item img { width: 100%; max-width: 88px; height: auto; margin: 0 auto; }
.ladder-item span { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }
.ladder-item strong { color: var(--ink); }
@media (max-width: 900px) { .ladder-row { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 560px) { .ladder-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Glossary ---------- */
.gloss { border-top: 1px solid var(--line); }
.gloss-item { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.gloss-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.gloss-item h3::before { content: "//"; font-family: var(--mono); color: var(--orange); font-size: 13px; margin-right: 10px; }
.gloss-item p { color: var(--muted); margin: 0; }

/* ---------- Badge kit ---------- */
#badge-preview { background: var(--bg-3); border-radius: var(--radius); }

/* ---------- Spec table (Aegis) ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table th { font-weight: 700; color: var(--ink); width: 45%; }
.spec-table td { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
