/* Scapex Global Forwarding - design system (Barlow / Barlow Condensed via Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.blueprint.halftone, .blueprint.plate, .blueprint.duotone { overflow: visible; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.duotone{position:relative;overflow:hidden}
.duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.card, .btn, .input, .tag, .seg, .dialog { border-radius: 0; }
.card, .dialog { background: transparent; border: 1px solid var(--color-divider); }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }
.btn-ghost { border-color: transparent; }

</style>

/* ============================================================
   Site layout — Scapex Global Forwarding
   ============================================================ */

html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--color-bg); color: var(--color-text); text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-800); }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); width: 100%; box-sizing: border-box; }
.section { padding-top: clamp(44px, 6vh, 76px); padding-bottom: clamp(44px, 6vh, 76px); }
.section-bordered { border-bottom: 1px solid var(--color-divider); }
.blueprint-grid { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(0deg, color-mix(in srgb, var(--color-text) 4%, transparent) 0 1px, transparent 1px 72px), repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-text) 4%, transparent) 0 1px, transparent 1px 72px); }

/* ── Typography helpers ── */
.eyebrow { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--color-accent-700); }
.rule { height: 1px; background: var(--color-divider); margin: 10px 0 26px; }
.display { font-size: clamp(40px, 5vw, 78px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 0 -0.05em; }
.display span { display: block; }
.display .accent { color: var(--color-accent-700); }
h2.title { font-size: clamp(28px, 3.2vw, 46px); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
h3.subtitle { font-size: clamp(19px, 1.6vw, 23px); text-transform: uppercase; margin: 0; }
.lede { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: color-mix(in srgb, var(--color-text) 80%, transparent); }
.muted { color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--color-bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider); }
.site-header .bar { display: flex; align-items: center; gap: 26px; padding-top: 10px; padding-bottom: 10px; }
.site-header .brand { margin-right: auto; display: flex; align-items: center; text-decoration: none; }
.site-header .brand img { height: 52px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--color-text); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-accent-700); }
.burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; background: none; border: 1px solid var(--color-divider); color: var(--color-text); cursor: pointer; padding: 0; }
.mobile-menu { display: none; flex-direction: column; border-top: 1px solid var(--color-divider); background: var(--color-bg); }
.mobile-menu a { padding: 14px 22px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--color-text); border-bottom: 1px solid var(--color-divider); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a[aria-current="page"] { color: var(--color-accent-700); }
.site-header.open .mobile-menu { display: flex; animation: sgfPage .28s cubic-bezier(.2,.7,.2,1) both; }

/* ── Grids ── */
.grid { display: grid; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.grid-hero { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); align-items: center; }
.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)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.grid-tight { gap: 16px 20px; }

/* ── Cards / panels ── */
.panel { border: 1px solid var(--color-divider); background: color-mix(in srgb, var(--color-bg) 55%, transparent); position: relative; }
.panel-head { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--color-divider); }
.panel-head span { padding: 12px 22px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.panel-head span + span { border-left: 1px solid var(--color-divider); color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.panel-body { padding: 22px; }
.svc-card { border: 1px solid var(--color-divider); padding: 26px 24px; background: color-mix(in srgb, var(--color-bg) 55%, transparent); transition: border-color .25s, transform .25s; text-decoration: none; color: inherit; display: block; }
.svc-card:hover { border-color: var(--color-accent); transform: translateY(-3px); color: inherit; }
.svc-card .num { font-size: 12px; letter-spacing: .1em; color: var(--color-accent-700); font-weight: 600; }
.svc-card h3 { font-size: 20px; text-transform: uppercase; margin: 12px 0 8px; }
.stat { border-left: 1px solid var(--color-divider); padding-left: 18px; }
.stat .val { font-family: var(--font-heading); font-weight: 700; font-size: clamp(34px, 4vw, 54px); line-height: 1; color: var(--color-accent-700); }
.stat .lbl { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; margin-top: 8px; color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.lane-row { display: grid; grid-template-columns: 76px minmax(0, 1.2fr) minmax(0, 1fr) 200px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-size: 14px; }
.lane-row .code { font-size: 12px; letter-spacing: .08em; color: var(--color-accent-700); font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.timeline .dot { width: 11px; height: 11px; background: var(--color-accent); transform: rotate(45deg); margin-top: 4px; }
.timeline .dot.open { background: none; border: 1.2px solid color-mix(in srgb, var(--color-text) 45%, transparent); }
.timeline .dot.live { background: var(--color-accent-800); animation: sgfBlink 1.8s ease-in-out infinite; }
.timeline .line { position: absolute; left: 5px; top: 18px; bottom: 0; width: 1px; background: var(--color-divider); }
.timeline li:last-child { padding-bottom: 0; }

/* ── Buttons row ── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-block { width: 100%; justify-content: center; }

/* ── 3D stage ── */
.stage { position: relative; height: clamp(280px, 42vh, 420px); background: color-mix(in srgb, var(--color-accent) 4%, transparent); border: 1px solid var(--color-divider); }
.stage-label { position: absolute; top: 8px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-text) 60%, transparent); pointer-events: none; }

/* ── Blog ── */
.post-card { border: 1px solid var(--color-divider); padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s; background: color-mix(in srgb, var(--color-bg) 55%, transparent); }
.post-card:hover { border-color: var(--color-accent); transform: translateY(-3px); color: inherit; }
.post-card h3 { font-size: 21px; text-transform: uppercase; margin: 0; line-height: 1.15; }
.article { max-width: 76ch; }
.article h2 { font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase; margin: 44px 0 14px; }
.article h3 { font-size: clamp(19px, 1.8vw, 23px); text-transform: uppercase; margin: 32px 0 10px; }
.article p { font-size: 16.5px; line-height: 1.72; margin: 0 0 18px; color: color-mix(in srgb, var(--color-text) 84%, transparent); }
.article ul, .article ol { font-size: 16.5px; line-height: 1.72; padding-left: 22px; margin: 0 0 18px; color: color-mix(in srgb, var(--color-text) 84%, transparent); }
.article li { margin-bottom: 8px; }
.article blockquote { margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--color-accent); background: color-mix(in srgb, var(--color-accent) 6%, transparent); font-size: 16.5px; line-height: 1.6; }
.article .table { margin: 24px 0; }
.breadcrumb { font-size: 12.5px; letter-spacing: .04em; color: color-mix(in srgb, var(--color-text) 62%, transparent); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--color-divider); background: color-mix(in srgb, var(--color-text) 4%, transparent); margin-top: auto; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding-top: 52px; padding-bottom: 40px; }
.site-footer h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.site-footer a { text-decoration: none; color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.site-footer a:hover { color: var(--color-accent-700); }
.site-footer .legal { border-top: 1px solid var(--color-divider); padding: 16px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 12px; color: color-mix(in srgb, var(--color-text) 62%, transparent); }

/* ── WhatsApp float ── */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; border-radius: 50%; box-shadow: var(--shadow-lg); text-decoration: none; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.25); }

/* ── Animations ── */
@keyframes sgfRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sgfPage { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sgfBlink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes sgfGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rise { animation: sgfRise .8s cubic-bezier(.2,.7,.2,1) both; }
.rise-1 { animation-delay: .08s; } .rise-2 { animation-delay: .18s; } .rise-3 { animation-delay: .28s; } .rise-4 { animation-delay: .38s; }
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html.js [data-reveal] { opacity: 1; transform: none; } }

/* ── Tablet ── */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lane-row { grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr); }
  .lane-row .lane-eta { grid-column: 2 / -1; }
}

/* ── Mobile ── */
@media (max-width: 860px) {
  .site-header .bar { gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .site-header .brand img { height: 38px; }
  .site-header .nav { display: none; }
  .burger { display: inline-flex; }
  .site-header .btn { padding: 8px 12px; font-size: 12.5px; }
  .grid-hero, .grid-2, .grid-3, .grid-sidebar { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 26px; }
  .display { font-size: clamp(34px, 9.5vw, 54px); }
  .lane-row { grid-template-columns: 64px minmax(0, 1fr); row-gap: 6px; }
  .lane-row .lane-eta { grid-column: 2 / -1; }
  .stat { border-left: none; border-top: 1px solid var(--color-divider); padding-left: 0; padding-top: 14px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .stage { height: 260px; }
  .panel-head span { padding: 10px 16px; font-size: 12px; }
  .panel-head span + span { border-left: none; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .grid-4, .grid-5, .site-footer .cols { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
}

/* ── Accessibility helpers ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--color-accent); color: #fff; padding: 10px 18px; text-decoration: none; }
.skip-link:focus { left: 0; color: #fff; }
[hidden] { display: none !important; }
