/* Comera Group — styles.
   Design system from the approved concept (sample 1/2): navy + gold, Bebas Neue
   display / Barlow Condensed labels / Barlow body, hairline borders, light body
   with dark navy bands.

   Layout/a11y structure per the starter kit (LAYOUT.md):
   - every full-bleed band shares the same centered .wrap container
   - grids step 4 → 2 (≤1180px) → 1 (≤920px), tighter spacing ≤540px
   - WCAG-AA verified tokens: --gold-ink is the accent for text on LIGHT
     surfaces (mid gold #C8892A fails 4.5:1 there); low-alpha white labels on
     navy are lifted to passing values. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B2A;
  --navy-mid: #162436;
  --navy-light: #1E3248;
  --steel: #1B4F7A;
  --steel-light: #2563A8;
  --gold: #C8892A;        /* accent on DARK surfaces + fills */
  --gold-light: #E5A93C;  /* small gold text on dark, hovers */
  --gold-ink: #8A5A14;    /* accent TEXT on light surfaces (AA 4.5:1) */
  --white: #FFFFFF;
  --off-white: #F4F2EE;
  --grey-100: #E8E6E1;
  --grey-400: #9A9690;
  --grey-600: #5C5954;
  --text-primary: #0D1B2A;
  --text-muted: #5C5954;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1240px;
  --gutter: 4rem;
}
@media (min-width: 1600px) { :root { --maxw: 1400px; } }
@media (max-width: 720px)  { :root { --gutter: 1.5rem; } }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--off-white);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* One centered container for EVERYTHING — sections, nav, hero, footer — so
   full-bleed bands can't drift out of line on wide monitors. */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-condensed); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.8rem 1.4rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.hero a:focus-visible, .platform-section a:focus-visible,
.track-section a:focus-visible, footer a:focus-visible {
  outline-color: var(--gold-light);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* anchored sections clear the fixed header */
section[id], [id="how"], [id="capabilities"], [id="platform"], [id="brands"],
[id="track"], [id="businesses"], [id="contact"] { scroll-margin-top: 84px; }

/* ---------- header / nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.nav-logo {
  font-family: var(--font-condensed); font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold-ink); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-condensed); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-600);
  text-decoration: none; transition: color 0.2s; padding: 0.5rem 0;
}
.nav-links a:hover { color: var(--gold-ink); }
.nav-cta {
  font-family: var(--font-condensed); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.55rem 1.4rem;
  background: var(--navy); color: var(--white); border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--steel); }
.menu-btn {
  display: none;
  font-family: var(--font-condensed); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: none; border: 1px solid var(--grey-100); color: var(--navy);
  padding: 0.5rem 1rem; cursor: pointer; min-height: 44px;
}

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-100);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem var(--gutter); }
}

/* ---------- hero ---------- */
.hero {
  min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 8rem; padding-bottom: 4rem; position: relative; overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(27,79,122,0.3) 0%, transparent 65%),
    linear-gradient(170deg, #0D1B2A 0%, #0D1B2A 60%, #111F30 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(27,79,122,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,79,122,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 980px; }
.hero-eyebrow {
  font-family: var(--font-condensed); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5.5vw, 5.2rem); font-weight: 400;
  line-height: 1.05; letter-spacing: 0.01em; color: var(--white); margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--gold); }
.hero-subtitle {
  font-family: var(--font-body); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 300;
  line-height: 1.65; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 680px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.btn-primary {
  font-family: var(--font-condensed); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 2.2rem;
  background: var(--gold); color: var(--navy); border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
/* light-bordered variant — DARK backgrounds only */
.btn-outline {
  font-family: var(--font-condensed); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 2.2rem;
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.45);
  cursor: pointer; text-decoration: none; transition: border-color 0.2s, background 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.hero-trust {
  display: flex; flex-wrap: wrap; position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.trust-item { padding-right: 3rem; margin-right: 3rem; border-right: 1px solid rgba(255,255,255,0.1); }
.trust-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.trust-label {
  font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}
.trust-value {
  font-family: var(--font-condensed); font-size: 0.95rem; font-weight: 600; color: var(--white);
}

/* ---------- services ticker (decorative) ---------- */
.ticker-strip { background: var(--gold); padding: 1.1rem 0; overflow: hidden; }
.ticker-wrap { display: flex; gap: 3.5rem; animation: ticker 38s linear infinite; white-space: nowrap; width: max-content; }
.ticker-item {
  font-family: var(--font-condensed); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy);
  display: flex; align-items: center; gap: 3.5rem;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--navy); opacity: 0.45; flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-wrap { animation: none; }
}

/* ---------- section base ---------- */
section { position: relative; }
.tag-eyebrow {
  font-family: var(--font-condensed); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.tag-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.section-heading {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400;
  line-height: 1; letter-spacing: 0.01em; color: var(--navy);
}
.section-body {
  font-family: var(--font-body); font-size: 1rem; font-weight: 300;
  line-height: 1.75; color: var(--text-muted); max-width: 640px;
}
/* eyebrows inside dark bands use the light gold (passes on navy) */
.platform-section .tag-eyebrow, .track-section .tag-eyebrow { color: var(--gold-light); }
.platform-section .tag-eyebrow::before, .track-section .tag-eyebrow::before { background: var(--gold-light); }

/* ---------- how it fits together ---------- */
.fits-section { padding: 7rem 0; background: var(--off-white); }
.fits-lead {
  font-family: var(--font-body); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300;
  line-height: 1.55; color: var(--navy); max-width: 880px; margin-top: 2.5rem;
}
.fits-lead strong { font-weight: 500; color: var(--navy); }
.fits-lead .hl { color: var(--gold-ink); font-weight: 500; }
.fits-flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3.5rem; border: 1px solid var(--grey-100); background: var(--white);
}
.fits-node { padding: 2rem 1.6rem; border-right: 1px solid var(--grey-100); position: relative; }
.fits-node:last-child { border-right: none; }
.fits-node-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-ink); line-height: 1; margin-bottom: 0.8rem; }
.fits-node-title { font-family: var(--font-condensed); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.6rem; }
.fits-node-body { font-size: 0.82rem; font-weight: 300; line-height: 1.6; color: var(--text-muted); }

/* ---------- capabilities ---------- */
.capabilities-section { padding: 7rem 0; background: var(--white); }
.cap-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3.5rem; border: 1px solid var(--grey-100);
}
.cap-card {
  padding: 2.5rem 2rem; border-right: 1px solid var(--grey-100); background: var(--white);
  position: relative; overflow: hidden; transition: box-shadow 0.25s;
  display: grid; grid-template-rows: auto auto auto 1fr auto; /* pin footer tags level across the row */
}
.cap-card:last-child { border-right: none; }
.cap-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.06); }
.cap-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.cap-icon { width: 40px; height: 40px; margin-bottom: 1.25rem; }
.cap-title {
  font-family: var(--font-condensed); font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--navy); margin-bottom: 0.9rem;
}
.cap-body { font-size: 0.85rem; font-weight: 300; line-height: 1.65; color: var(--text-muted); margin-bottom: 1.25rem; }
/* footer tag chips (brought in from the "pillar tags" the reviewers liked) */
.cap-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; align-self: end; margin-bottom: 1.1rem; }
.cap-tag {
  font-family: var(--font-condensed); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem;
  background: var(--grey-100); color: var(--grey-600);
}
.cap-link {
  font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0; align-self: end; justify-self: start;
}
.cap-link:hover { color: var(--gold-ink); }
.cap-link svg { width: 12px; height: 12px; }

/* ---------- data & sensor platform ---------- */
.platform-section { padding: 7rem 0; background: var(--navy); color: var(--white); overflow: hidden; }
.platform-section .section-heading { color: var(--white); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; align-items: center; }
.platform-copy p { font-size: 1rem; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.72); margin-bottom: 1.2rem; }
.platform-copy p strong { color: var(--white); font-weight: 500; }
.platform-copy .hl { color: var(--gold-light); font-weight: 500; }
.platform-points { list-style: none; margin-top: 2rem; }
.platform-points li {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 300; color: rgba(255,255,255,0.78);
  padding: 0.9rem 0 0.9rem 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative;
}
.platform-points li:last-child { border-bottom: none; }
.platform-points li::before {
  content: ''; position: absolute; left: 0; top: 1.35rem;
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
.platform-points li b { font-weight: 600; color: var(--white); letter-spacing: 0.01em; }

/* schematic */
.schematic { background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.08); padding: 2.2rem; }
.sch-tier { margin-bottom: 1.4rem; }
.sch-tier:last-child { margin-bottom: 0; }
.sch-tier-label { font-family: var(--font-condensed); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.7rem; }
.sch-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.sch-chip {
  font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85); background: var(--navy-light); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.45rem 0.8rem; text-transform: uppercase;
}
.sch-core {
  text-align: center; font-family: var(--font-condensed); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 0.9rem; font-size: 0.85rem;
}
.sch-arrow { text-align: center; color: rgba(255,255,255,0.35); font-size: 1rem; margin: 0.5rem 0; }

/* ---------- synergies ---------- */
.synergy-section { padding: 7rem 0; background: var(--off-white); }
.synergy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--grey-100); margin-top: 3.5rem; border: 1px solid var(--grey-100); }
.synergy-card { background: var(--white); padding: 2.4rem; }
.synergy-pair {
  font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.synergy-pair .x { color: var(--grey-600); }
.synergy-title { font-family: var(--font-condensed); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; color: var(--navy); margin-bottom: 0.7rem; }
.synergy-body { font-size: 0.88rem; font-weight: 300; line-height: 1.7; color: var(--text-muted); }

/* ---------- key brands ---------- */
.brands-section { padding: 7rem 0; background: var(--white); }
.brand-feature { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; padding: 2.6rem 0; border-bottom: 1px solid var(--grey-100); }
.brand-feature:last-child { border-bottom: none; }
.brand-mark {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 0.95; color: var(--navy);
  letter-spacing: 0.01em; position: relative; padding-top: 0.4rem;
}
.brand-mark .brand-tag { display: block; font-family: var(--font-condensed); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.6rem; }
.brand-headline { font-family: var(--font-condensed); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: 0.8rem; line-height: 1.3; }
.brand-body { font-size: 0.92rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); max-width: 760px; margin-bottom: 1.2rem; }
.brand-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.brand-stat-n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--gold-ink); line-height: 1; }
.brand-stat-l { font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-600); margin-top: 0.2rem; }

/* ---------- track record ---------- */
.track-section { padding: 7rem 0; background: var(--navy); color: var(--white); }
.track-section .section-heading { color: var(--white); }
.track-section .section-body { color: rgba(255,255,255,0.72); }
.track-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3.5rem; border: 1px solid rgba(255,255,255,0.1); }
.track-metric { padding: 2.2rem 1.8rem; border-right: 1px solid rgba(255,255,255,0.1); }
.track-metric:last-child { border-right: none; }
.track-metric-n { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--white); line-height: 0.95; }
.track-metric-n .unit { color: var(--gold); font-size: 1.6rem; }
.track-metric-l { font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.5rem; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.proof-card { background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.08); border-top: 3px solid var(--gold); padding: 2rem; }
.proof-sector { font-family: var(--font-condensed); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.9rem; }
.proof-title { font-family: var(--font-condensed); font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.7rem; line-height: 1.3; }
.proof-body { font-size: 0.83rem; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,0.65); }

/* ---------- businesses (cluster rows — same editorial grammar as Key Brands) ---------- */
.businesses-section { padding: 7rem 0; background: var(--off-white); }
.cluster-rows { margin-top: 2rem; }
.cluster-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start;
  padding: 2.8rem 0; border-bottom: 1px solid var(--grey-100);
}
.cluster-row:last-child { border-bottom: none; }
.cluster-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 400;
  line-height: 0.95; letter-spacing: 0.01em; color: var(--navy); padding-top: 0.3rem;
}
.cluster-under {
  font-family: var(--font-condensed); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.7rem;
}
.cluster-sidenote { font-size: 0.82rem; font-weight: 300; line-height: 1.6; color: var(--text-muted); margin-top: 0.8rem; }
.cluster-link {
  display: inline-block; font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
  text-decoration: none; margin-top: 0.8rem;
}
.cluster-link:hover { color: var(--gold-ink); }
.cluster-biz { list-style: none; }
.biz-entry { padding: 1.1rem 0; border-top: 1px solid var(--grey-100); }
.biz-entry:first-child { border-top: none; padding-top: 0; }
.biz-entry:last-child { padding-bottom: 0; }
.biz-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.biz-name { font-family: var(--font-condensed); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--navy); }
.biz-desc { font-size: 0.87rem; font-weight: 300; line-height: 1.65; color: var(--text-muted); max-width: 72ch; }

/* ---------- why comera ---------- */
.why-section { padding: 7rem 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3.5rem; }
.why-item::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 1rem; }
.why-title { font-family: var(--font-condensed); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; letter-spacing: 0.02em; }
.why-body { font-size: 0.85rem; font-weight: 300; line-height: 1.65; color: var(--text-muted); }

/* ---------- contact ---------- */
.contact-section { padding: 8rem 0; background: var(--off-white); }
.contact-head { text-align: center; }
.contact-head .tag-eyebrow { justify-content: center; }
.contact-head .tag-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.contact-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; color: var(--navy); line-height: 1; margin-bottom: 1.5rem; }
.contact-body { font-size: 1rem; font-weight: 300; color: var(--text-muted); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-100); border: 1px solid var(--grey-100); text-align: left; margin-bottom: 3.5rem; }
.audience-card {
  background: var(--white); padding: 2rem; border: 0; cursor: pointer;
  font-family: inherit; text-align: left; display: block; width: 100%;
  transition: box-shadow 0.25s;
}
.audience-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.audience-title { display: block; font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.75rem; }
.audience-body { display: block; font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: var(--text-muted); margin-bottom: 0.9rem; }
.audience-go { display: inline-block; font-family: var(--font-condensed); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.audience-card:hover .audience-go { color: var(--gold-ink); }

/* the form */
.form-panel {
  max-width: 820px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--grey-100); border-top: 3px solid var(--gold);
  padding: 2.6rem; text-align: left;
}
.form-panel h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--navy); margin-bottom: 0.5rem; }
.fp-sub { font-size: 0.92rem; font-weight: 300; color: var(--text-muted); margin-bottom: 1.8rem; line-height: 1.6; }
.f-hp { position: absolute; left: -9999px; top: -9999px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
.f-field { display: flex; flex-direction: column; min-width: 0; }
.f-field.full { grid-column: 1 / -1; }
.f-field label {
  font-family: var(--font-condensed); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 0.45rem;
}
.f-field label b { color: var(--gold-ink); }
.f-field input, .f-field select, .f-field textarea {
  font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--text-primary);
  background: var(--off-white); border: 1px solid var(--grey-100); padding: 0.75rem 0.9rem;
  min-height: 44px; width: 100%; min-width: 0;
}
.f-field textarea { min-height: 130px; resize: vertical; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold);
}
.f-consent { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.4rem 0; }
.f-consent input { width: 18px; height: 18px; margin-top: 0.15rem; flex-shrink: 0; accent-color: #8A5A14; }
.f-consent label { font-size: 0.85rem; font-weight: 300; color: var(--text-muted); line-height: 1.55; }
.f-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.f-note { font-size: 0.8rem; font-weight: 300; color: var(--text-muted); }
.f-note a { color: var(--navy); }
.f-status { margin-top: 1.1rem; font-size: 0.92rem; font-weight: 400; min-height: 1.4em; }
.f-status.ok { color: #2E5E2E; }
.f-status.err { color: #8B3A3A; }

/* ---------- footer ---------- */
footer { background: var(--navy); padding: 3rem 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-condensed); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-condensed); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; padding: 0.4rem 0; display: inline-block; }
.footer-links a:hover { color: var(--gold-light); }
.footer-statutory { font-family: var(--font-body); font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.6); margin-top: 1.5rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: 1.5rem; }
.footer-copy { font-family: var(--font-condensed); font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); }
.footer-investor-link { font-family: var(--font-condensed); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; padding: 0.4rem 0; }
.footer-investor-link:hover { color: var(--gold-light); }

/* ---------- cookie bar ---------- */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.12);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.cookiebar.show { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .cookiebar { transition: none; } }
.cb-inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.cb-inner p { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.85); max-width: 640px; }
.cb-inner a { color: var(--gold-light); }
.cb-btns { display: flex; gap: 0.8rem; }
.cb-btns .btn-sm {
  font-family: var(--font-condensed); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.55rem 1.3rem;
  cursor: pointer; min-height: 44px;
}
.cb-accept { background: var(--gold); color: var(--navy); border: none; }
.cb-accept:hover { background: var(--gold-light); }
.cb-decline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.45); }
.cb-decline:hover { border-color: var(--white); }

/* ---------- legal pages / 404 ---------- */
.doc-page { background: var(--off-white); }
.back-link {
  font-family: var(--font-condensed); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
  text-decoration: none; display: inline-block; margin-bottom: 2rem;
}
.back-link:hover { color: var(--gold-ink); }
.back-link.bottom { margin: 2.5rem 0 0; }
.doc { max-width: 820px; margin: 0 auto; padding: 9rem var(--gutter) 5rem; }
.doc h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; color: var(--navy); margin-bottom: 0.5rem; }
.doc .doc-updated { font-family: var(--font-condensed); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-600); margin-bottom: 2rem; }
.doc h2 { font-family: var(--font-condensed); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 2.2rem 0 0.8rem; }
.doc h3 { font-family: var(--font-condensed); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 1.6rem 0 0.6rem; }
.doc p, .doc li { font-size: 0.95rem; font-weight: 300; line-height: 1.75; color: var(--text-primary); }
.doc ul, .doc ol { padding-left: 1.4rem; margin: 0.6rem 0 1rem; }
.doc p { margin-bottom: 1rem; }
.doc a { color: var(--steel-light); }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; }
.doc th, .doc td { border: 1px solid var(--grey-100); padding: 0.6rem 0.8rem; font-size: 0.88rem; font-weight: 300; text-align: left; vertical-align: top; }
.doc th { font-family: var(--font-condensed); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.78rem; background: var(--white); }
.doc-tablewrap { overflow-x: auto; }
.notfound { min-height: 70vh; display: flex; align-items: center; text-align: center; background: var(--navy); }
.notfound .wrap { width: 100%; padding-top: 8rem; padding-bottom: 4rem; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(4rem, 10vw, 8rem); font-weight: 400; color: var(--gold); line-height: 1; }
.notfound p { color: rgba(255,255,255,0.75); font-weight: 300; margin: 1rem 0 2rem; }

/* ---------- reveal on scroll ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn-primary:hover { transform: none; }
}

/* ---------- responsive ----------
   Grid tiers step N → 2 → 1 (never straight to 1) per the kit's layout recipe. */
@media (max-width: 1180px) {
  .fits-flow, .cap-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .fits-node:nth-child(2n), .cap-card:nth-child(2n) { border-right: none; }
  .fits-node:nth-child(-n+2), .cap-card:nth-child(-n+2) { border-bottom: 1px solid var(--grey-100); }
  .platform-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 920px) {
  .fits-flow, .cap-grid, .synergy-grid, .why-grid, .track-metrics,
  .proof-grid, .audience-grid { grid-template-columns: 1fr; }
  .fits-node, .cap-card, .track-metric { border-right: none; border-bottom: 1px solid var(--grey-100); }
  .track-metric { border-bottom-color: rgba(255,255,255,0.1); }
  .fits-node:last-child, .cap-card:last-child, .track-metric:last-child { border-bottom: none; }
  .brand-feature { grid-template-columns: 1fr; gap: 1rem; }
  .cluster-row { grid-template-columns: 1fr; gap: 1.4rem; padding: 2.2rem 0; }
  .cluster-title br { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .proof-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 7rem; padding-bottom: 3rem; }
  .trust-item { padding-right: 1.5rem; margin-right: 1.5rem; margin-bottom: 1rem; }
}
@media (max-width: 540px) {
  /* logo + Menu + CTA can't share 375px; Contact lives in the menu */
  .nav-cta { display: none; }
  .nav-bar { gap: 1rem; }
  .fits-section, .capabilities-section, .platform-section, .synergy-section,
  .brands-section, .track-section, .businesses-section, .why-section { padding: 4.5rem 0; }
  .contact-section { padding: 5rem 0; }
  .form-panel { padding: 1.6rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
