@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin-wght.woff2") format("woff2");
}

@font-face {
  font-family: "Red Hat Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/red-hat-mono-latin-wght.woff2") format("woff2");
}

:root {
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Red Hat Mono", ui-monospace, Consolas, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5625rem;
  --fs-xl: clamp(1.625rem, 1.2rem + 2vw, 2.875rem);
  --fs-display: clamp(2rem, 0.75rem + 2.55vw, 3rem);
  --fs-count: clamp(2.25rem, 1.5rem + 2.6vw, 3.0625rem);

  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-snug: 1.3;
  --lh-card: 1.45;
  --lh-body: 1.6;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --ls-display: -0.02em;
  --ls-heading: -0.015em;
  --ls-label: 0.06em;

  --measure: 68ch;
  --measure-head: 40ch;
  --measure-h1: none;
  --measure-lead: 52ch;
  --measure-h2: 32ch;
  --measure-footer: 38ch;

  --c-ink: #0c2440;
  --c-blue: #0f4986;
  --c-blue-strong: #0a3866;
  --c-blue-tint: #e7eef5;
  --c-green: #23782f;
  --c-green-strong: #1a6424;
  --c-green-logo: #319c3c;
  --c-teal: #0e6f86;
  --c-ground: #f3f6f9;
  --c-white: #ffffff;
  --c-line: #d3dce4;
  --c-line-strong: #8593a1;
  --c-muted: #52606e;
  --c-on-ink: #ffffff;
  --c-on-ink-muted: #b9c7d6;
  --c-line-on-ink: #2a4361;
  --c-error: #b42318;
  --c-error-tint: #fdf0ef;
  --c-success: #23782f;
  --c-success-tint: #edf6ee;

  --c-navy-deep: #071a30;
  --c-sky: #55acdb;
  --c-teal-bright: #14a4c4;
  --c-sky-tint: #dcebf6;
  --c-teal-tint: #ddf0f4;
  --c-green-tint: #e4f2e6;
  --c-on-hero-panel: #10335c;
  --c-white-a10: rgb(255 255 255 / 0.1);
  --c-white-a20: rgb(255 255 255 / 0.2);
  --c-white-a70: rgb(255 255 255 / 0.7);

  --grad-hero: radial-gradient(60% 80% at 85% 20%, rgb(20 164 196 / 0.35) 0%, transparent 60%), linear-gradient(135deg, #071a30 0%, #0c2440 45%, #0f4986 100%);
  --grad-general: linear-gradient(135deg, #0f4986 0%, #2f7fbf 60%, #55acdb 100%);
  --grad-beta: linear-gradient(135deg, #0b5b6e 0%, #0e6f86 50%, #14a4c4 100%);
  --grad-tile: linear-gradient(160deg, #f4f8fc 0%, #dcebf6 100%);
  --grad-tile-beta: linear-gradient(160deg, #f2f9fb 0%, #ddf0f4 100%);
  --grad-green: linear-gradient(135deg, #154f1c 0%, #1a6424 45%, #23782f 100%); /* the green divisions on the homepage (client, 2026-11-30); white text stays AA */
  --grad-pdf: linear-gradient(120deg, #e4f2e6 0%, #dcebf6 100%);
  --grad-action: radial-gradient(70% 90% at 100% 0%, rgb(20 164 196 / 0.35) 0%, transparent 60%), linear-gradient(140deg, #14532d 0%, #1a6424 40%, #0e6f86 100%);
  --grad-hero-light: radial-gradient(45% 60% at 85% 35%, rgb(85 172 219 / 0.28) 0%, transparent 70%), radial-gradient(35% 50% at 10% 90%, rgb(49 156 60 / 0.12) 0%, transparent 70%), linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
  --grad-glow: radial-gradient(circle, rgb(85 172 219 / 0.35) 0%, rgb(85 172 219 / 0) 70%);
  --grad-band: linear-gradient(180deg, #f3f6f9 0%, #eaf2f9 100%);
  --grad-enquiry: radial-gradient(60% 80% at 0% 100%, rgb(49 156 60 / 0.12) 0%, transparent 70%), radial-gradient(50% 70% at 100% 0%, rgb(85 172 219 / 0.18) 0%, transparent 70%), linear-gradient(180deg, #f6faf7 0%, #eef5fb 100%);
  --pattern-dots: radial-gradient(rgb(15 73 134 / 0.09) 1px, transparent 1.5px);
  --pattern-size: 22px 22px;
  --grad-process: radial-gradient(60% 90% at 100% 0%, rgb(20 164 196 / 0.4) 0%, transparent 60%), linear-gradient(135deg, #0c2440 0%, #0f4986 70%, #1a5c9e 100%);
  --grad-sky: linear-gradient(135deg, #2f7fbf 0%, #55acdb 100%);
  --grad-footer: radial-gradient(50% 60% at 0% 0%, rgb(15 73 134 / 0.55) 0%, transparent 70%), linear-gradient(180deg, #0c2440 0%, #071a30 100%);
  --hl: #6fcb7a;

  --c-ink-rgb: 12, 36, 64;
  --c-blue-rgb: 15, 73, 134;
  --c-blue-strong-rgb: 10, 56, 102;
  --c-green-rgb: 35, 120, 47;

  --c-range-general: var(--c-blue);
  --c-range-beta: var(--c-teal);

  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --section-pad: var(--space-5);
  --section-pad-lg: var(--space-6);

  --control-h: 3rem;
  --btn-h: 2.75rem;
  --btn-h-sm: 2.25rem;
  --search-h: 4rem;
  --search-h-sm: 2.5rem;
  --tick-size: 1.125rem;
  --edge: 2px;
  --header-h: 5.25rem;
  --topbar-h: 2.25rem;
  --sticky-bar-h: 3.75rem;

  --icon-sm: 1em;
  --icon-md: 1.25rem;
  --icon-baseline: -0.125em;
  --logo-h: 3.25rem;
  --logo-h-xs: 2.75rem;
  --logo-h-lg: 4rem;
  --logo-h-footer: 5rem;
  --underline-offset-nav: 0.45em;
  --badge-size: 1.25rem;
  --menu-w: 15rem;
  --dot: 0.625rem;
  --search-panel-w: 40rem;
  --search-panel-h: 70vh;
  --tick-col: 2rem;
  --leader-drop: -0.3em;
  --register-label: 7.5rem;
  --count-col: calc(var(--fs-display) * 1.75);
  --container-gutter: 2rem;
  --range-art-w: 9rem;
  --range-head-w: 62%;
  --division-icon: 4rem;
  --th-box: 4rem;
  --th-icon: 2.5rem;
  --th-icon-sm: 1.75rem;
  --panel-w: 36rem;
  --tap: 2.75rem;
  --dur-draw: 1200ms;
  --list-filter-w: 28rem;
  --list-bar-h: 3rem;
  --list-head-filter-w: 18rem;
  --anatomy-stage-max-w: 32rem;
  --msg-avatar: 2.25rem;
  --msg-offset: 3rem;
  --bp-field-w: 14rem;
  --shelf-art-h: 9rem;
  --shelf-art-h-sm: 6rem;
  --relay-node: 2rem;
  --relay-label-w: 6rem;
  --record-logo-w: 9rem;
  --map-min-h: 22rem;
  --list-pack-w: 26rem;
  --pack-thumb-w: 9rem;
  --decoder-key-w: 3.5rem;
  --stage-num-w: 2.5rem;
  --stage-record-w: 19rem;
  --concern-art-max-w: 26rem;
  --legal-measure: 44rem;
  --plant-art-w: 6rem;
  --cert-copy-w: 4.5rem;
  --soon-panel-art-w: 12rem;
  --division-slot-h: 12rem;
  --division-ill-w: 3.5rem;
  --hub-route-mid: 2.75rem;
  --anatomy-pin-scale: 1.2;
  --label-key-size: 1.75rem;
  --doc-col-w: 9rem;
  --doc-col-w-md: 6.5rem;
  --route-dot: 2.5rem;
  --letter-w: 2.5rem;
  --letter-gap: var(--space-1);
  --page-head-art-w: 26rem;
  --page-head-drawing-w: 48%;
  --page-head-picto-w: 36%;
  --page-head-tilt: -8deg;
  --pattern-dots-ink: radial-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1.5px);
  --page-head-swoosh-w: 8rem;
  --browse-tabs-w: 34rem;
  --dur-loop: 5200ms;
  --dur-ping: 2400ms;
  --ill-step: 150ms;
  --ill-drop: translateY(-1.5rem);
  --ill-stamp: scale(1.3);
  --ill-pop: scale(0.6);
  --ill-ping: scale(3);
  --press-scale: 0.98;
  --fs-lead-sm: 1.0625rem;
  --tab-icon: 1.75rem;
  --tab-shadow: 0 -1px 0 rgb(12 36 64 / 0.06), 0 -8px 24px -12px rgb(12 36 64 / 0.18);
  --scrollbar-w: 0.5rem;
  --sheet-field-h: 2.75rem;
  --m-range-art: 4.5rem;
  --sg-phone-w: 24.375rem;
  --m-rail-w: 8.5rem;
  --m-chip-icon: 1.25rem;
  --m-sheet-overlap: -1.25rem;
  --m-rings: 22rem;
  --m-th: 2rem;
  --form-row-art: 4.5rem;
  --qc-w: 27rem;
  --qc-max-h: calc(100dvh - var(--space-5));
  --qc-backdrop: rgb(7 26 48 / 0.45);
  --action-col: 6.5rem;
  --qty-w: 6.5rem;
  --order-qty-w: 9.5rem;
  --flag-w: 1.375rem;
  --flag-radius: 2px;
  --tap-sm: 2rem;
  --step-icon-sm: 2.75rem;
  --card-icon: 2.75rem;
  --pdf-art-w: 8rem;
  --hero-art-max: 30rem;
  --hero-search-w: 40rem;
  --hero-card-w: 14.5rem;
  --hero-card-art: 3.5rem;
  --pillar-min: 15rem;
  --search-overlap: -4.5rem;
  --hero-curve-h: 4.5rem;
  --card-w: 17.5rem;
  --step-icon: 3.5rem;
  --step-num: 1.5rem;
  --hl-stroke: 6;
  --hl-h: 0.32em;
  --enquiry-art-w: 11rem;
  --mega-about-w: 50rem;
  --mega-about-offset: 14rem;
  --mega-thumb: 2.5rem;
  --mega-promo-art: 4.5rem;
  --avatar: 4rem;
  --division-panel-art: 5.5rem;
  --division-panel-art-lg: 8rem;
  --division-row-art: 4.5rem;
  --route-w: 1.5px;
  --route-w-active: 2.5px;
  --origin-stroke: 2px;
  --route-length: 600; /* longer than any export route on the map, for the draw-in */
  --profile-mark: 3rem;
  --mega-icon: 1.5rem;
  --process-art-w: 22rem;
  --fact-min: 9.5rem;
  --reg-logo: 3rem;
  --division-art-min: 6.5rem;
  --division-art-max: 5rem;
  --logo-compact: scale(0.86);
  --faq-indent: 2.25rem;
  --docs-side-w: 21rem;
  --doc-art-w: 13rem;
  --doc-art-sm: 8.5rem;
  --doc-art-xs: 6.5rem;
  --nudge: translateX(-4px);
  --dur-progress: 1600ms;
  --hero-enter-from: translateY(40px) scale(0.9);
  --underline-offset: 0.2em;
  --offscreen: translateY(-200%);

  --radius-0: 0;
  --radius-1: 6px;
  --radius-2: 12px;
  --radius-3: 20px;
  --radius-round: 50%;

  --hairline: 1px solid var(--c-line);
  --rule: 2px solid var(--c-ink);
  --focus-ring: 2px solid var(--c-ink);
  --focus-offset: 2px;
  --ring-w: 3px;
  --ring-blue: 0 0 0 2px var(--c-blue);
  --field-ring: 0 0 0 var(--ring-w) var(--c-blue-tint);

  --shadow-1: 0 1px 2px rgb(12 36 64 / 0.06);
  --shadow-2: 0 12px 32px -8px rgb(12 36 64 / 0.18), 0 0 0 1px rgb(12 36 64 / 0.06);
  --shadow-3: 0 32px 64px -24px rgb(7 26 48 / 0.55), 0 0 0 1px rgb(12 36 64 / 0.08);
  --shadow-card-hover: 0 18px 40px -18px rgb(12 36 64 / 0.35);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-1: 120ms;
  --dur-2: 180ms;
  --dur-3: 240ms;
  --dur-hover: 320ms; /* colour fades on hover (client, 2026-11-30: no sudden changes) */
  --press: scale(0.97);
  --lift: translateY(-4px);
  --slide: translateY(8px);
  --dur-reveal: 640ms;
  --reveal: translateY(24px);
  --stagger: 70ms;
  --dur-float: 7s;
  --float: translateY(-10px);
  --tile-lift: translateY(-6px);

  --mark-size: 9px;
  --mark-offset: -5px;

  --z-header: 1030;
  --z-menu: 1040;
  --z-sticky-bar: 1050;
  --z-offcanvas: 1060;
  --z-skip: 1100;
}

@media (min-width: 768px) {
  :root {
    --section-pad: var(--space-6);
    --section-pad-lg: var(--space-7);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-1: 0ms;
    --dur-3: 0ms;
    --press: none;
    --dur-reveal: 0ms;
    --reveal: none;
    --float: none;
    --tile-lift: none;
    --press-scale: 1;
    --lift: none;
    --slide: none;
  }
}

@media (min-width: 62em) {
  :root {
    --letter-w: 1.75rem;
    --letter-gap: 0;
  }
}
