/* ==========================================================================
   Continental Shipping Group — site stylesheet
   Deep navy + off-white + a single gold accent, per the design directive.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --navy-900: #060B14;
  --navy-850: #09101E;
  --navy-800: #0C1526;
  --navy-750: #0E1A2D;
  --navy-700: #101D33;
  --navy-600: #16273F;

  --line:     #1A2942;
  --line-2:   #26385A;

  --blue:     #2C7BE0;
  --blue-2:   #1657B8;
  --blue-dim: rgba(44, 123, 224, 0.14);

  --gold:     #E8A62C;
  --gold-2:   #F5C25B;
  --gold-dim: rgba(232, 166, 44, 0.12);

  --text:     #EDF2FB;
  --text-2:   #A7B8D4;
  --muted:    #7488A8;
  --dim:      #4A5C7C;

  --green:    #29C06A;
  --red:      #F0574E;
  --violet:   #A97BEA;

  --container: 1200px;
  --nav-h: 76px;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  --shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 90px rgba(0, 0, 0, 0.6);

  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--navy-900);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

::selection { background: var(--gold); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--gold); color: var(--navy-900);
  padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 0; }

/* Visually hidden, still read by screen readers. */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--alt { background: var(--navy-850); border-block: 1px solid var(--line); }

/* ── Type ───────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }

.h-display {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.032em; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
.h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--gold); opacity: 0.8;
}

.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.gold  { color: var(--gold); }
.mono  { font-family: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, monospace; }

.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-sm);
  font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: #1A1204; }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 10px 30px rgba(232, 166, 44, 0.28); }

.btn--outline { border-color: rgba(255, 255, 255, 0.28); color: var(--text); backdrop-filter: blur(4px); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); box-shadow: 0 10px 30px rgba(44, 123, 224, 0.3); }

.btn--ghost { border-color: var(--line-2); color: var(--text-2); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--lg { padding: 17px 34px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gold);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(9, 16, 30, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

/* Brand lockup: the emblem is the client's own logo.png, keyed to
   transparency. The wordmark is set in type because the one inside logo.png is
   dark navy on black and unreadable on screen at any size. */
.nav__logo, .footer__logo { display: flex; align-items: center; gap: 11px; }
.nav__logo img { height: 40px; width: auto; }
.footer__logo img { height: 52px; width: auto; }

.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark b {
  font-size: 0.95rem; font-weight: 800; letter-spacing: 0.035em;
  text-transform: uppercase; color: var(--text);
}
.wordmark i {
  display: flex; align-items: center; gap: 6px;
  margin-top: 5px; font-style: normal; white-space: nowrap;
  font-size: 0.5rem; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold);
}
/* Gold rules either side of the sub-line, as in the logo artwork. */
.wordmark i::before, .wordmark i::after {
  content: ''; height: 1px; flex: 1 1 6px; min-width: 6px;
  background: currentColor; opacity: 0.7;
}
.wordmark--lg b { font-size: 1.2rem; }
.wordmark--lg i { font-size: 0.58rem; letter-spacing: 0.3em; margin-top: 7px; }

@media (max-width: 400px) {
  .nav__logo img { height: 34px; }
  .wordmark b { font-size: 0.82rem; }
  .wordmark i { font-size: 0.44rem; letter-spacing: 0.26em; }
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: var(--r-sm);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
/* Track Shipment is the utility the directive wants emphasised. */
.nav__links a.is-track { color: var(--gold); }
.nav__links a.is-track:hover { background: var(--gold-dim); }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span {
  display: block; position: relative; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: background 0.2s;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform 0.28s var(--ease);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 190;
  background: var(--navy-900);
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.34s var(--ease);
  overflow-y: auto; visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer a {
  padding: 18px 4px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}
.drawer a.is-track { color: var(--gold); }
.drawer .btn { margin-top: 26px; }
.drawer__meta { margin-top: auto; padding-top: 32px; font-size: 0.85rem; color: var(--muted); }
.drawer__meta a { border: 0; padding: 4px 0; font-size: 0.9rem; font-weight: 600; display: block; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(92vh, 900px); padding-top: var(--nav-h);
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 68%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, var(--navy-900) 4%, rgba(6, 11, 20, 0.86) 34%, rgba(6, 11, 20, 0.34) 62%, rgba(6, 11, 20, 0.5) 100%),
    linear-gradient(to top, var(--navy-900) 1%, transparent 42%);
}
.hero__inner { position: relative; width: 100%; padding-block: clamp(60px, 10vw, 120px); }
.hero__content { max-width: 660px; }
.hero h1 span { display: block; }
.hero h1 .is-gold { color: var(--gold); font-weight: 700; }
.hero p { margin-top: 24px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #C9D6EC; max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero--page { min-height: 0; padding-block: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) clamp(56px, 8vw, 96px); }
.hero--page .hero__scrim {
  background:
    linear-gradient(95deg, var(--navy-900) 12%, rgba(6, 11, 20, 0.9) 46%, rgba(6, 11, 20, 0.6) 100%),
    linear-gradient(to top, var(--navy-900) 0%, transparent 55%);
}
.hero--page h1 { max-width: 16ch; }

/* ── Tracking entry card ────────────────────────────────────────────────── */
.track-cta { position: relative; z-index: 5; margin-top: clamp(-70px, -5vw, -40px); }
.track-card {
  background: linear-gradient(160deg, var(--navy-750), var(--navy-800));
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg);
}
.track-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.track-card__head h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.track-card__head p { font-size: 0.9rem; color: var(--muted); }

.track-form { display: flex; gap: 12px; flex-wrap: wrap; }
.track-form__field { position: relative; flex: 1 1 300px; }
.track-form__field svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--dim); pointer-events: none;
}
.track-form input {
  width: 100%; background: var(--navy-900); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 17px 18px 17px 50px;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.06em;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.track-form input::placeholder { color: var(--dim); letter-spacing: 0.04em; }
.track-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-dim); }
.track-form .btn { flex: 0 0 auto; }

/* ── Credibility strip ──────────────────────────────────────────────────── */
.strip { border-block: 1px solid var(--line); background: var(--navy-850); }
.strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(20px, 5vw, 64px); list-style: none; padding: 26px 0;
}
.strip li {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.19em;
  text-transform: uppercase; color: var(--muted);
}
.strip svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--r); transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }

.card--service { display: flex; flex-direction: column; }
.card--service .card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card--service .card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease); filter: saturate(0.92) brightness(0.86);
}
.card--service:hover .card__media img { transform: scale(1.06); }
.card--service .card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--navy-800) 2%, transparent 60%);
}
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { font-size: 0.93rem; color: var(--text-2); flex: 1; }
.card__body .link-arrow { margin-top: 20px; }

.card--flat { padding: 30px 28px; }
.card--flat .icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border-radius: 11px; background: var(--gold-dim); border: 1px solid rgba(232, 166, 44, 0.24);
}
.card--flat .icon svg { width: 21px; height: 21px; color: var(--gold); }
.card--flat h3 { margin-bottom: 9px; }
.card--flat p { font-size: 0.93rem; color: var(--text-2); }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 2px; }
.step {
  position: relative; display: grid; grid-template-columns: 78px 1fr;
  gap: 26px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step__n {
  counter-increment: step; font-size: 2.1rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--navy-600); line-height: 1;
  transition: color 0.3s var(--ease);
}
.step__n::before { content: '0' counter(step); }
.step:hover .step__n { color: var(--gold); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--text-2); max-width: 62ch; }

/* ── Split (image + text) ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, transparent 55%, rgba(6, 11, 20, 0.5));
}
.split__body h2 { margin-bottom: 20px; }
.split__body p + p { margin-top: 16px; }
.split__body .btn, .split__body .link-arrow { margin-top: 28px; }

.feature-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.95rem; color: var(--text-2); }
.feature-list svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.feature-list strong { color: var(--text); font-weight: 700; }

/* ── Network band ───────────────────────────────────────────────────────── */
.network { position: relative; overflow: hidden; isolation: isolate; }
.network__bg { position: absolute; inset: 0; z-index: -2; }
.network__bg img { width: 100%; height: 100%; object-fit: cover; }
.network__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--navy-900) 2%, rgba(6, 11, 20, 0.72) 42%, rgba(6, 11, 20, 0.82));
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.stat { border-left: 2px solid var(--gold); padding-left: 20px; }
.stat__n { font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.stat__l { margin-top: 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-800) 60%);
  border-block: 1px solid var(--line-2);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: 14px; color: var(--text-2); max-width: 46ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--navy-850); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer__brand > a { margin-bottom: 20px; }
.footer__brand p { font-size: 0.92rem; color: var(--muted); max-width: 34ch; }
.footer h4 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--gold); margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer li a, .footer address a { font-size: 0.92rem; color: var(--text-2); transition: color 0.2s; }
.footer li a:hover, .footer address a:hover { color: var(--gold); }
.footer address { font-style: normal; font-size: 0.92rem; color: var(--text-2); display: grid; gap: 11px; }
.footer address span { display: block; }
/* Address arrives as one span per line, wherever it is rendered. */
[data-csg="addressLines"] span { display: block; }
.footer__bar {
  border-top: 1px solid var(--line); padding: 24px 0;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--dim);
}

/* ── Forms ──────────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  background: var(--navy-900); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-dim);
}
.field textarea { min-height: 118px; line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-panel { background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.2vw, 38px); }
.form-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.form-panel__head .icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--gold-dim); border: 1px solid rgba(232, 166, 44, 0.24); }
.form-panel__head .icon svg { width: 20px; height: 20px; color: var(--gold); }
.form-panel > p { color: var(--text-2); font-size: 0.94rem; margin-bottom: 26px; }
.form-panel .btn { margin-top: 26px; }

.form-note {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm);
  font-size: 0.9rem; display: none; gap: 11px; align-items: flex-start; line-height: 1.5;
}
.form-note.is-shown { display: flex; }
.form-note svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form-note--ok  { background: rgba(41, 192, 106, 0.09); border: 1px solid rgba(41, 192, 106, 0.28); color: #8CE9B4; }
.form-note--err { background: rgba(240, 87, 78, 0.09);  border: 1px solid rgba(240, 87, 78, 0.28);  color: #FFB0AB; }

/* ── Spinner ────────────────────────────────────────────────────────────── */
.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: currentColor;
  animation: spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: flex; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__bg img { object-position: 68% center; }
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(6, 11, 20, 0.72), rgba(6, 11, 20, 0.86) 55%, var(--navy-900)),
      linear-gradient(100deg, var(--navy-900), transparent 70%);
  }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid--4 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step__n { font-size: 1.5rem; }
  .track-form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions .btn { width: auto; flex: 1 1 auto; }
}
