/* ==========================================================================
   SPECTREON — Defence | Innovations
   Design system. Palette derived from the brand mark:
     #0B1F33 navy   #2E86DE blue   #6B7A8C slate
   ========================================================================== */

/* ---------- Self-hosted fonts: no external render-blocking request ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url('fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url('fonts/jetbrains-mono-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



:root {
  /* Surfaces — navy-based, not neutral black */
  --bg:          #060D16;
  --bg-1:        #0B1F33;
  --bg-2:        #102A42;
  --bg-3:        #16374F;
  --line:        #1B3550;
  --line-2:      #274A6B;

  /* Ink */
  --ink:         #E8EEF4;
  --ink-2:       #A8B8C8;
  --ink-3:       #6B7A8C;

  /* Accent */
  --blue:        #2E86DE;
  --blue-hi:     #5BA8F0;
  --blue-glow:   rgba(46, 134, 222, .16);
  --alert:       #E8734A;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --maxw: 1240px;
  --gutter: 32px;
  --r: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;          /* reserve the scrollbar from the first paint */
  scrollbar-gutter: stable;    /* modern equivalent, where supported */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }   /* width/height attrs are presentational hints; don't let one win alone */
a { color: var(--blue-hi); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #8CC5FF; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.024em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
p  { margin: 0 0 1.1em; color: var(--ink-2); }
::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(48px, 6.5vw, 90px) 0; position: relative; scroll-margin-top: 74px; }
.section--alt { background: var(--bg-1); border-block: 1px solid var(--line); }
.section--tight { padding: clamp(38px, 4.5vw, 60px) 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }

.center { text-align: center; }
.measure { max-width: 62ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); flex: none; }
.eyebrow.center-flex { justify-content: center; }

.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; color: var(--ink-3); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--ink-2); line-height: 1.62; }

.display {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.036em;
  font-weight: 700;
  margin: 0 0 18px;
  /* NO text-wrap: balance here — it re-wraps on every typed character,
     which can add a line mid-animation and resize the hero. Greedy
     wrapping guarantees a prefix never occupies more lines than the whole. */
}
.display em { font-style: normal; color: var(--blue-hi); }

.display-md {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.032em;
  font-weight: 700;
  margin: 0 0 20px;
  text-wrap: balance;
}

.kicker {
  font-family: var(--mono);
  font-size: clamp(1rem, 2.1vw, 1.6rem);
  line-height: 1.24;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.kicker span { display: block; color: var(--ink-3); }
.kicker span:nth-child(2) { color: var(--ink-2); }
.kicker span:nth-child(3) { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  font-family: var(--mono);
  font-size: .76rem; letter-spacing: .13em; text-transform: uppercase;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--blue); color: var(--blue-hi); background: var(--blue-glow); }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.btn--primary:hover { background: var(--blue-hi); border-color: var(--blue-hi); color: #05121F; box-shadow: 0 0 30px rgba(46,134,222,.35); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 13, 22, .94);
  /* no backdrop-filter: it re-samples the hero photo on every frame that
     changes beneath it, which flickers while text is typing */
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 32px; }
.brand { flex: none; display: block; }
.brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-2); font-size: .9rem; position: relative; padding: 6px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--blue-hi); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue); }
.nav__toggle {
  display: none; background: none;
  border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); width: 40px; height: 38px; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Grid background ---------- */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 100%);
}

/* ---------- Cinematic hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);   /* a floor, never a ceiling — content is never clipped */
  display: flex; align-items: center;
  overflow: hidden;               /* clips the background photo only */
  border-bottom: 1px solid var(--line);
}
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--bg-1);          /* no flash before the photo paints */
  transform: translateZ(0);         /* own compositor layer, created once */
  will-change: transform;           /* and never promoted/demoted again */
  backface-visibility: hidden;
}
/* Absolutely positioned so the image is out of flow entirely — it can never
   resize the hero while loading, whatever its intrinsic dimensions are. */
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
/* no opacity transition here: promoting then demoting a layer for a
   2308px image is a repaint in itself, and the image is preloaded */

/* ---------- Typewriter intro ---------- */
.tw-caret {
  display: inline-block;
  width: 2px;
  height: .92em;
  background: var(--blue);
  margin-left: .09em;
  vertical-align: -.1em;
  animation: tw-blink .85s steps(1) infinite;
}
@keyframes tw-blink { 0%,49% { opacity: 1 } 50%,100% { opacity: 0 } }

.hero .lead,
.hero .btn-row,
.hero .hero__stats { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tw-wait { opacity: 0; transform: translateY(10px); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,13,22,.80) 0%, rgba(6,13,22,.62) 36%, rgba(6,13,22,.26) 66%, rgba(6,13,22,.20) 100%),
    linear-gradient(180deg, rgba(6,13,22,.58) 0%, transparent 34%, rgba(6,13,22,.80) 100%);
}
.hero .wrap { position: relative; z-index: 3; width: 100%; }
.hero__inner { max-width: 46rem; padding-block: clamp(24px, 3vw, 44px); }

.classification {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.classification::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 44px;
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.hero__stat b {
  display: block; font-family: var(--mono);
  font-size: 1.45rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em;
}
.hero__stat span {
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: .17em; text-transform: uppercase; color: var(--ink-3);
}

.cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cue::after { content: ""; width: 1px; height: 32px; background: linear-gradient(180deg, var(--blue), transparent); }

/* ---------- Mission statement ---------- */
.mission {
  padding: clamp(52px, 7vw, 104px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-margin-top: 74px;
}
.mission__quote {
  font-size: clamp(1.5rem, 3.6vw, 2.8rem);
  line-height: 1.24;
  letter-spacing: -.028em;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.mission__quote em { font-style: normal; color: var(--blue-hi); }
.mission__rule { width: 56px; height: 2px; background: var(--blue); margin-bottom: 30px; }

/* The left column carries the eyebrow (~18px tall + 18px margin) above its
   first line; the right column starts straight in. Offset it by the same
   amount so both columns begin on the same line. Removed once it stacks. */
.mission__body { padding-top: 36px; }
@media (max-width: 980px) { .mission__body { padding-top: 0; } }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bg-1); overflow: hidden; padding: 13px 0; }
.ticker__track {
  display: flex; gap: 52px; white-space: nowrap; width: max-content;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3);
  animation: slide 40s linear infinite;
}
.ticker__track i { font-style: normal; display: inline-flex; align-items: center; gap: 52px; }
.ticker__track i::after { content: ""; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; flex: none; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Domain cards ---------- */
.domain {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}
.domain:hover { border-color: var(--line-2); transform: translateY(-3px); }
.domain__media {
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.domain__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.domain__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,51,.85));
}
.domain__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.domain__body p { font-size: .94rem; }
.domain h3 { margin-bottom: 10px; }
.domain__foot { margin-top: auto; padding-top: 18px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
  border: 1px solid var(--line-2); color: var(--ink-3);
  margin-bottom: 14px;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status--live { color: var(--blue-hi); border-color: rgba(46,134,222,.5); background: var(--blue-glow); }
.status--dev  { color: var(--alert); border-color: rgba(232,115,74,.45); background: rgba(232,115,74,.09); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px;
  transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease);
}
.card:hover { border-color: var(--line-2); background: var(--bg-2); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p  { margin-bottom: 0; font-size: .94rem; }
.card__idx {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .17em;
  color: var(--blue-hi); display: block; margin-bottom: 16px;
}

/* ---------- Triad ---------- */
.triad { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.triad > div { padding: 32px 30px 32px 0; border-right: 1px solid var(--line); }
.triad > div + div { padding-left: 30px; }
.triad > div:last-child { border-right: 0; }
.triad h4 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); letter-spacing: -.01em; }
.triad p { font-size: .92rem; margin: 0; color: var(--ink-3); }

/* ---------- Feature list ---------- */
.flist { list-style: none; margin: 0; padding: 0; }
.flist li { position: relative; padding-left: 28px; margin-bottom: 14px; color: var(--ink-2); font-size: .96rem; }
.flist li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 7px; height: 7px; border: 1px solid var(--blue); transform: rotate(45deg);
}
.flist li b { color: var(--ink); font-weight: 600; }

/* ---------- Indigenous band ---------- */
.indig {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
  padding: clamp(44px, 5.5vw, 74px) 0;
}
.indig__inner { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.indig__lion { width: 100%; height: auto; opacity: .9; }
.indig__pct {
  font-family: var(--mono); font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 500; color: var(--blue-hi); letter-spacing: -.03em; line-height: 1; display: block;
}

/* ---------- Stat band ---------- */
.band { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.band > div { padding: 30px 26px; border-right: 1px solid var(--line); }
.band > div:last-child { border-right: 0; }
.band b { display: block; font-family: var(--mono); font-size: 1.6rem; font-weight: 500; color: var(--blue-hi); letter-spacing: -.02em; }
.band span { font-family: var(--mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .82rem; }
.spec-table caption {
  text-align: left; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-hi); padding-bottom: 14px;
}
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-3); font-weight: 400; width: 34%; }
.spec-table td { color: var(--ink); }
.spec-table tr:hover td, .spec-table tr:hover th { background: var(--bg-2); }
.table-scroll { overflow-x: auto; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills li {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 100px; color: var(--ink-2);
}

/* ---------- Figure ---------- */
.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-1);
}
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .06em;
  line-height: 1.65;
  color: var(--ink-3);
}
.figure figcaption b { color: var(--ink-2); font-weight: 500; }

.effects { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; margin-top: 34px; }
.effects > div { border-top: 1px solid var(--line-2); padding-top: 18px; }
.effects h4 { font-size: .98rem; font-weight: 600; margin: 0 0 7px; color: var(--ink); letter-spacing: -.01em; }
.effects p { font-size: .9rem; margin: 0; color: var(--ink-3); }
@media (max-width: 760px) { .effects { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Form states ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: var(--alert); }
.field .err {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--alert);
}
.notice--ok   { border-color: #3FB27F; background: rgba(63,178,127,.12); }
.notice--fail { border-color: var(--alert); background: rgba(232,115,74,.12); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- CTA ---------- */
.cta {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(46,134,222,.12), transparent 70%), var(--bg-1);
  text-align: center;
  padding: clamp(48px, 6.5vw, 88px) 0;
}

/* ---------- Page head ---------- */
.page-head { position: relative; padding: clamp(40px, 5vw, 68px) 0 clamp(30px, 3.6vw, 46px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-head .lead { max-width: 60ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--ink); padding: 12px 14px; font-family: var(--sans); font-size: .95rem; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form-note { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); line-height: 1.65; }
.notice { border: 1px solid var(--blue); background: var(--blue-glow); border-radius: var(--r); padding: 14px 18px; font-family: var(--mono); font-size: .8rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); padding: 46px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.footer__grid h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 400; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 10px; }
.footer__grid li a { color: var(--ink-2); font-size: .9rem; }
.footer__grid li a:hover { color: var(--blue-hi); }
.footer__blurb { color: var(--ink-3); font-size: .88rem; max-width: 36ch; margin-top: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 22px; font-family: var(--mono); font-size: .68rem; color: var(--ink-3); letter-spacing: .05em; }
.site-footer .brand img { height: 42px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .classification::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .band { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .band > div:nth-child(2) { border-right: 0; }
  .band > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .triad { grid-template-columns: 1fr; }
  .triad > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .triad > div + div { padding-left: 0; }
  .triad > div:last-child { border-bottom: 0; }
  .indig__inner { grid-template-columns: 110px minmax(0,1fr); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav__toggle { display: inline-flex; }
  .brand img { height: 34px; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav__links a { display: block; padding: 14px 0; }
  .nav__links .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .hero__stat { min-width: 42%; }
  .hero { min-height: min(86vh, 620px); }
  .hero__media img { object-position: 70% center; }
  .indig__inner { grid-template-columns: 1fr; }
  .indig__lion { max-width: 130px; }
}
