/* ==========================================================================
   Quick and on Time Logistics — base tokens and resets
   Mobile first (designed at 390px). Spacing is an 8px scale; type is a
   fluid scale. One accent colour (orange), used sparingly.
   ========================================================================== */
:root {
  --orange: #FF6A00;
  --orange-deep: #D95700;
  --orange-lit: #FF8A3D;   /* the brand orange lifted for small text on dark */
  --ink: #0B0D10;
  --ink-2: #12161C;
  --ink-3: #1A2029;
  --navy: #0F1B2D;
  --bone: #F3F1EC;
  --bone-dim: #C7C4BD;
  --mute: #8A8F98;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;

  --text-1: 0.8125rem;  /* 13px  eyebrows, badges */
  --text-2: 0.9375rem;  /* 15px  small body */
  --text-3: 1.0625rem;  /* 17px  body */
  --text-4: 1.25rem;    /* 20px  lede */
  --text-5: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);      /* h3 */
  --text-6: clamp(2rem, 1.5rem + 2.5vw, 3rem);        /* h2 */
  --text-7: clamp(2.5rem, 1.6rem + 4.5vw, 4.5rem);    /* h1 */

  --shell: 1180px;
  --gutter: 16px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-size: var(--text-3);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, canvas, svg { display: block; max-width: 100%; }
/* Any element's own display rule must not defeat the hidden attribute. */
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section { position: relative; }

/* ---------- Fonts (self-hosted woff2, latin subset) ---------- */
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../assets/fonts/inter-var.woff2') format('woff2');
}
:root {
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body { font-family: var(--f-body); }
/* Condensed display reads best in caps. */
h1, h2, h3, .btn, .brand {
  font-family: var(--f-display); text-transform: uppercase; letter-spacing: .01em;
}

/* ---------- Layout ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block; font-size: var(--text-1); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-lit);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: var(--text-2); font-weight: 800; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-deep); }
.btn--ghost { background: rgba(255,255,255,.06); color: var(--bone); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Facts awaiting owner confirmation ---------- */
.fact--pending { color: var(--mute); border-bottom: 1px dashed var(--line-strong); }
a.fact--pending { display: none; }

/* ---------- Scroll offset under the fixed nav ---------- */
html { scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
