/* ============================================================
   Secure Logistics Solutions — Design System
   PRIMARY: yellow (client)  |  Support: dark red (client)  |  White dominant
   Blue retired from surfaces — remains only inside the logo mark
   Type: Archivo + Instrument Sans
   ============================================================ */

:root {
  /* Base surface — deep dark red (client support tone). Hero, page heroes, navbar, CTA band, footer, dark sections */
  --base-950: #3A0000;    /* deepest — footer, CTA band, hero base */
  --base-900: #5A0000;    /* deep — hero, navbar, dark sections */
  --base-800: #6E0000;
  --base-700: #8B0000;

  /* Feature red — trust/stat bands, labels, card icons, dividers */
  --brand-950: #6E0000;
  --brand-900: #8B0000;   /* dark red (client RGB) */
  --brand-800: #9E0A13;
  --brand-700: #8B0000;

  /* Blue — retired from surfaces; kept only as the logo-mark reference */
  --blue: #143D63;
  --blue-900: #0E2C49;

  /* Neutrals — warm slate body on white */
  --ink: #1C1214;         /* warm near-black — headings, dark text */
  --gray-700: #3B3A38;    /* warm-neutral body (blue cast removed) */
  --gray-600: #575551;
  --gray-500: #7E7A74;
  --gray-300: #D5CEC3;    /* warm hairlines / borders */
  --gray-200: #E6DFD4;
  --gray-100: #F1ECE4;
  --paper: #F4EFE6;       /* warm section band */
  --soft: #ECE5DB;        /* warm cards */
  --white: #FFFFFF;       /* pure — cards/panels on the warm base, text on dark */
  --bg: #FBF8F2;          /* warm off-white — page base (never stark white beside yellow) */

  /* PRIMARY — yellow (client). Brand accent, CTAs, highlights, active nav, icons */
  --accent: #FEED00;      /* yellow — client RGB (gradient mid-stop) */
  --accent-strong: #D4AC06;
  --accent-ink: #4A3B00;
  /* Brand yellow gradient (client RGB): gold → bright → gold — large accents & CTAs */
  --accent-gradient: linear-gradient(105deg, #D68E18 0%, #FEED00 50%, #D68617 100%);

  /* Maroon — editorial accent on LIGHT backgrounds (kickers, rules, arrows) */
  --maroon: #8B0000;      /* dark red (client RGB) */
  --maroon-strong: #6E0000;

  /* On-dark text */
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-2: rgba(255, 255, 255, 0.66);
  --on-dark-3: rgba(255, 255, 255, 0.42);
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --text-hero: clamp(2.75rem, 5.2vw + 1rem, 4.5rem);       /* 44–72px */
  --text-h1: clamp(2.5rem, 3.6vw + 1rem, 3.75rem);         /* 40–60px */
  --text-h2: clamp(2rem, 2.4vw + 1rem, 3rem);              /* 32–48px */
  --text-h3: clamp(1.25rem, 0.6vw + 1rem, 1.5rem);
  --text-lead: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3rem, 5vw, 4.5rem);
  --radius: 14px;        /* one radius for the whole site — cards, buttons, fields, panels */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ------------------------------------------------------------
   Reset / base
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--base-950); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--base-950);
  padding: 12px 20px;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   Primitives
   ------------------------------------------------------------ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--maroon);
}
.on-dark .kicker { color: var(--accent); }
.on-dark .kicker::before { background: var(--accent); }

.section-title {
  font-size: clamp(1.875rem, 2.2vw + 0.95rem, 2.875rem);
  margin-top: 1.125rem;
  max-width: 22ch;
}
.on-dark .section-title { color: var(--on-dark); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead {
  font-size: var(--text-lead);
  max-width: 56ch;
  margin-top: 1.25rem;
}
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.on-dark { background: var(--base-900); color: var(--on-dark-2); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }

/* Numeric stats & counters */
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   Buttons & links
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), filter 0.2s var(--ease);
  cursor: pointer;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background-color: var(--accent); background-image: var(--accent-gradient); color: var(--base-950); }
.btn--primary:hover { filter: brightness(0.96) saturate(1.06); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.07); }

.btn--outline { border-color: var(--gray-300); color: var(--ink); }
.btn--outline:hover { border-color: var(--base-900); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--maroon);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--accent); }

/* ------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease);
  border-bottom: 1px solid var(--gray-200);
}
/* subtle scrim keeps the nav readable over the hero while the bar is transparent */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;             /* solid white bar — no scrim needed */
  pointer-events: none;
}
.site-header.is-scrolled {
  background: var(--white);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 4px 20px rgba(58, 0, 0, 0.06);
}
.site-header.is-scrolled::before,
body.nav-open .site-header::before { opacity: 0; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { flex: none; }
/* white bar → dark brand on all pages */
.site-header .brand svg path { stroke: var(--base-900); }
.site-header.is-scrolled .brand svg path,
body.nav-open .brand svg path { stroke: var(--base-900); }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
}
.brand-name b {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--base-900);
}
.brand-name span {
  margin-top: 4px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--maroon);
}
.is-scrolled .brand-name b,
body.nav-open .brand-name b { color: var(--base-900); }
.is-scrolled .brand-name span,
body.nav-open .brand-name span { color: var(--maroon); }
/* white bar on all pages → always show the full-colour logo */
.site-header .brand-logo--light { display: none; }
.site-header .brand-logo--dark { display: block; }
.site-header.is-scrolled .brand-logo--light,
body.nav-open .brand-logo--light { display: none; }
.site-header.is-scrolled .brand-logo--dark,
body.nav-open .brand-logo--dark { display: block; }

/* ------------------------------------------------------------
   Home hero: transparent bar over the hero → solid white on scroll
   Scoped to .site-header--overlay so inner pages keep their white bar.
   ------------------------------------------------------------ */
.site-header--overlay {
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.site-header--overlay::before {
  display: block;
  opacity: 0;
  background: linear-gradient(180deg, rgba(58, 0, 0, 0.5), rgba(58, 0, 0, 0));
  transition: opacity 0.3s var(--ease);
}
/* transparent state — only at the top, and never while the mobile menu is open */
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
body:not(.nav-open) .site-header--overlay:not(.is-scrolled)::before { opacity: 1; }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .brand-logo--light { display: block; }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .brand-logo--dark { display: none; }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .nav-link { color: #fff; }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .nav-link:hover,
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .nav-link[aria-current="page"] { color: var(--accent); }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .nav-toggle { color: #fff; }

.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--base-900);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--maroon); }
.nav-link[aria-current="page"] { color: var(--maroon); }
.is-scrolled .nav-link,
body.nav-open .nav-link { color: var(--base-900); }
.is-scrolled .nav-link:hover,
.is-scrolled .nav-link[aria-current="page"],
body.nav-open .nav-link:hover,
body.nav-open .nav-link[aria-current="page"] { color: var(--maroon); }
/* Parent dropdown button highlights when its dropdown holds the current page */
.has-dropdown:has(.dropdown a[aria-current="page"]) > .nav-link { color: var(--maroon); }
body:not(.nav-open) .site-header--overlay:not(.is-scrolled) .has-dropdown:has(.dropdown a[aria-current="page"]) > .nav-link { color: var(--accent); }
.nav-link .chev { transition: transform 0.25s var(--ease); }

/* Services dropdown (desktop) */
.has-dropdown { position: relative; }
.has-dropdown.is-open .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: 620px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(58, 0, 0, 0.22);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
              visibility 0.22s;
}
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  transition: background-color 0.18s;
}
.dropdown a:hover { background: var(--gray-100); }
.dropdown a svg { flex: none; margin-top: 2px; color: var(--maroon); }
.dropdown b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown small { display: block; font-size: 0.8125rem; color: var(--gray-500); margin-top: 2px; }

.nav-cta { display: inline-flex; }
.nav-panel-cta { display: none; } /* shown only inside the mobile panel */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--base-900);
}
.is-scrolled .nav-toggle,
body.nav-open .nav-toggle { color: var(--base-900); }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ------------------------------------------------------------
   Hero — home
   ------------------------------------------------------------ */
@keyframes kenburns {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 940px);
  overflow: hidden;
  /* Global-network scene — deep maroon field with a warm glow seated behind the globe */
  background:
    radial-gradient(115% 90% at 74% 46%, rgba(122, 22, 10, 0.55) 0%, rgba(58, 0, 0, 0) 54%),
    radial-gradient(90% 120% at 16% 6%, rgba(18, 2, 2, 0.65) 0%, rgba(18, 2, 2, 0) 58%),
    linear-gradient(158deg, #260000 0%, #3A0000 46%, #1E0000 100%);
}
/* Rotating 3D dotted globe — the anchor; drawn on canvas in main.js */
.hero-globe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero-globe.is-live { opacity: 1; }
/* Scrim — darkens the left column so the copy stays legible over the globe */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(96deg, rgba(24, 3, 3, 0.92) 0%, rgba(24, 3, 3, 0.64) 30%, rgba(24, 3, 3, 0.12) 56%, rgba(24, 3, 3, 0) 78%),
    linear-gradient(0deg, rgba(16, 0, 0, 0.7) 0%, rgba(16, 0, 0, 0.08) 38%, transparent 64%);
  pointer-events: none;
}

.hero-stage {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 13vh, 9.5rem) clamp(2.5rem, 6vh, 4rem);
}
.hero-stage .container { width: 100%; }
.hero-copy { max-width: 660px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero h1 {
  font-size: var(--text-hero);
  color: #fff;
  max-width: 15ch;
  margin-top: 1.25rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
/* Brand emphasis — "Secure Delivery." in primary yellow (words 3–4 of the split headline) */
.hero h1 .w:nth-child(3) i,
.hero h1 .w:nth-child(4) i { color: var(--accent); }
.hero .sub {
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
  margin-top: 1.5rem;
}

@media (max-width: 880px) {
  .hero { min-height: 0; }
  .hero-stage { padding-block: clamp(6rem, 18vh, 8rem) clamp(9rem, 22vh, 12rem); }
  .hero-copy, .hero h1, .hero .sub { max-width: none; }
  /* globe recedes behind the full-width copy so the headline stays readable */
  .hero-globe.is-live { opacity: 0.5; }
  /* stacked copy runs full-width, so darken top-to-bottom instead of left-to-right */
  .hero-scrim {
    background: linear-gradient(180deg, rgba(24, 3, 3, 0.82) 0%, rgba(24, 3, 3, 0.62) 44%, rgba(24, 3, 3, 0.6) 70%, rgba(16, 0, 0, 0.9) 100%);
  }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.5rem; }

/* Load-in animation (guarded by reduced-motion below) */
.hero .anim {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s var(--ease) forwards;
}
.hero .anim:nth-child(2) { animation-delay: 0.1s; }
.hero .anim:nth-child(3) { animation-delay: 0.2s; }
.hero .anim:nth-child(4) { animation-delay: 0.3s; }
.hero .anim:nth-child(5) { animation-delay: 0.42s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Home hero — dark cinematic field: yellow primary CTA, white ghost */
.hero .btn--primary { background-color: var(--accent); background-image: var(--accent-gradient); color: var(--base-950); }
.hero .btn--primary:hover { filter: brightness(0.96) saturate(1.06); }
.hero .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Hero tagline — brand stamp at the bottom-right of the banner */
.hero-tagline {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.75rem, 4vh, 2.75rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.hero-tagline-rule {
  width: clamp(44px, 6vw, 76px);
  height: 2px;
  border-radius: 2px;
  background: var(--accent-gradient);
}
.hero-tagline-text {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-dark);
  white-space: nowrap;
}
@media (max-width: 880px) {
  .hero-tagline { left: var(--gutter); right: var(--gutter); justify-content: flex-start; bottom: clamp(1.5rem, 5vh, 2.5rem); }
}
@media (max-width: 560px) {
  .hero-tagline { gap: 10px; }
  .hero-tagline-rule { width: 28px; }
  .hero-tagline-text { font-size: 0.6875rem; letter-spacing: 0.14em; }
}

/* ------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  background: var(--base-950);
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 58vh, 560px);
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: -8% 0;
  will-change: transform;
}
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 2.4s var(--ease) both;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(90, 0, 0, 0.95) 8%, rgba(110, 6, 6, 0.82) 58%, rgba(130, 10, 10, 0.64) 100%),
    linear-gradient(rgba(74, 0, 0, 0.32) 30%, rgba(52, 0, 0, 0.9) 100%);
}
.page-hero--plain { min-height: 340px; background: var(--base-900); }
.page-hero--plain::after {
  background: linear-gradient(78deg, rgba(58, 0, 0, 0.6), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; width: 100%; padding-block: 4rem 3.5rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--on-dark-2); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { color: var(--on-dark-3); }
.breadcrumb [aria-current] { color: var(--accent); }

.page-hero h1 { font-size: var(--text-h1); color: var(--white); max-width: 16ch; }
.page-hero .sub { font-size: var(--text-lead); color: var(--on-dark-2); max-width: 54ch; margin-top: 1.25rem; }

/* ------------------------------------------------------------
   Stats band
   ------------------------------------------------------------ */
.stats { background: var(--accent-gradient); border-top: 3px solid var(--maroon); }  /* yellow feature band */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.5rem);
  border-left: 1px solid rgba(28, 18, 20, 0.15);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-value em { font-style: normal; color: var(--maroon); }
.stat-label {
  margin-top: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 18, 20, 0.68);
}

/* ------------------------------------------------------------
   Services (home rows)
   ------------------------------------------------------------ */
.svc-list { border-top: 1px solid var(--gray-200); }
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--gray-200);
}
.svc-row--flip .svc-body { order: 2; }
.svc-row--flip .svc-figure { order: 1; }

.svc-idx {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--maroon);
}
.svc-row h3 {
  font-size: clamp(1.625rem, 2vw + 0.5rem, 2.25rem);
  margin-top: 0.875rem;
}
.svc-row p { max-width: 46ch; margin-block: 1rem 1.5rem; }

.svc-figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--base-900); /* fallback if photo missing */
}
.svc-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.svc-row:hover .svc-figure img { transform: scale(1.04); }

/* Services — Bento collage (Image #6): tall Air Freight hero, wide Project &
   Specialized tiles. Number + title + gold Explore link over a navy scrim. */
.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(210px, 21vw, 290px);
  gap: clamp(12px, 1vw, 18px);
}
/* Bento placement — Air = tall hero, Project + Specialized = wide */
.svc-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.svc-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.svc-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.svc-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.svc-card:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }
.svc-card:nth-child(6) { grid-column: 3; grid-row: 3; }

a.svc-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--base-950);
  isolation: isolate;
}
.svc-card-media { position: absolute; inset: 0; z-index: 0; }
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
/* Bottom-weighted navy scrim keeps the title legible over any photo */
a.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(58, 0, 0, 0.9) 0%,
    rgba(58, 0, 0, 0.5) 38%,
    rgba(58, 0, 0, 0.06) 74%
  );
  transition: opacity 0.5s var(--ease);
}
.svc-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: clamp(1.375rem, 2vw, 1.875rem);
  color: var(--on-dark);
}
.svc-card-icon { display: none; }          /* collage tiles have no icon */
.svc-card-top {
  position: absolute;
  top: clamp(1.25rem, 2vw, 1.75rem);
  right: clamp(1.25rem, 2vw, 1.75rem);
  z-index: 2;
}
.svc-card-no {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-shadow: 0 1px 10px rgba(58, 0, 0, 0.55);
}
.svc-card-text h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.svc-card-desc {                           /* client copy shown on every tile */
  margin-top: 0.4rem;
  max-width: 44ch;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(233, 240, 251, 0.85);
  text-shadow: 0 1px 12px rgba(58, 0, 0, 0.5);
}
.svc-card-desc > span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.svc-card-link svg { transition: transform 0.25s var(--ease); }

/* Grid-triggered reveal — tiles cascade in together once the block enters view,
   instead of appearing one-by-one down the scroll (client feedback) */
.svc-card-grid.reveal { opacity: 1; transform: none; }
.svc-card-grid.reveal .svc-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.svc-card-grid.reveal.in-view .svc-card { opacity: 1; transform: none; }
.svc-card-grid.reveal.in-view .svc-card:nth-child(2) { transition-delay: 0.06s; }
.svc-card-grid.reveal.in-view .svc-card:nth-child(3) { transition-delay: 0.12s; }
.svc-card-grid.reveal.in-view .svc-card:nth-child(4) { transition-delay: 0.18s; }
.svc-card-grid.reveal.in-view .svc-card:nth-child(5) { transition-delay: 0.24s; }
.svc-card-grid.reveal.in-view .svc-card:nth-child(6) { transition-delay: 0.30s; }

@media (hover: hover) {
  a.svc-card:hover .svc-card-media img,
  a.svc-card:focus-visible .svc-card-media img { transform: scale(1.06); }
  a.svc-card:hover .svc-card-link svg { transform: translateX(4px); }
}

/* Tablet — hero stays wide, rest flow in a 2-col rhythm */
@media (max-width: 900px) {
  .svc-card-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(190px, 30vw, 240px); }
  .svc-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .svc-card:nth-child(2),
  .svc-card:nth-child(3),
  .svc-card:nth-child(4),
  .svc-card:nth-child(5),
  .svc-card:nth-child(6) { grid-column: auto; grid-row: auto; }
}
/* Mobile — single column stack */
@media (max-width: 620px) {
  .svc-card-grid { grid-template-columns: 1fr; grid-auto-rows: clamp(230px, 56vw, 300px); }
  .svc-card:nth-child(n) { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-card-media img { transition: none; }
}

/* ------------------------------------------------------------
   Industries grid
   ------------------------------------------------------------ */
.industries { background: var(--paper); }
/* Section rhythm — alternate warm cream / warm paper so the page never reads as one flat tone */
#services { background: var(--paper); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.ind-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), opacity 0.6s var(--ease);
}
.ind-cell:hover {
  transform: translateY(-4px);
  border-color: var(--gray-300);
  box-shadow: 0 18px 40px -24px rgba(58, 0, 0, 0.5);
}
.ind-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ind-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.ind-cell:hover .ind-media img { transform: scale(1.05); }
.ind-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
}
.ind-idx {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--maroon);
}
.ind-cell h3 { font-size: 1.1875rem; margin-block: 0.875rem 0.625rem; letter-spacing: -0.015em; }
.ind-cell p { font-size: 0.9375rem; line-height: 1.6; }

/* ------------------------------------------------------------
   Why pillars — dark editorial
   ------------------------------------------------------------ */
.pillars { background: var(--brand-900); color: var(--on-dark-2); }  /* burgundy feature section */
.pillars-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.pillars-intro { position: sticky; top: 108px; }
.pillars-intro .section-title { color: var(--on-dark); }
.pillars-intro p { margin-top: 1.25rem; max-width: 40ch; }

.pillar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.25rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--line-dark);
}
.pillar:last-child { border-bottom: 1px solid var(--line-dark); }
.pillar-idx {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 0.375rem;
}
.pillar h3 { font-size: var(--text-h3); color: var(--on-dark); letter-spacing: -0.015em; }
.pillar p { margin-top: 0.75rem; max-width: 52ch; }

/* ------------------------------------------------------------
   Process strip
   ------------------------------------------------------------ */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.75rem; }
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
  height: 1px;
  background: var(--gray-200);
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--maroon);
}
.step-idx {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--maroon);
}
.step h3 { font-size: 1.1875rem; margin-block: 0.625rem 0.5rem; letter-spacing: -0.015em; }
.step p { font-size: 0.9375rem; line-height: 1.6; }

.process-note {
  border-radius: var(--radius);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--maroon);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 640px;
}

/* ------------------------------------------------------------
   About teaser
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  background: var(--base-900);
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-figure::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 96px;
  background: var(--maroon);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.about-body .section-title { max-width: 18ch; }
.about-body p { margin-top: 1.25rem; max-width: 52ch; }
.about-body .link-arrow { margin-top: 1.75rem; }

.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}
.about-facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-facts span {
  font-size: 0.8125rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  background: var(--accent-gradient);   /* yellow — the conversion anchor (2nd yellow moment) */
  border-top: 3px solid var(--maroon);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-inner h2 {
  font-size: clamp(1.875rem, 2.6vw + 0.5rem, 2.875rem);
  color: var(--ink);
  max-width: 20ch;
}
.cta-inner p { color: rgba(28, 18, 20, 0.8); margin-top: 0.875rem; max-width: 44ch; }
/* CTA button pops as dark-red on the yellow band */
.cta-band .btn--primary { background: var(--maroon); color: var(--white); }
.cta-band .btn--primary:hover { background: var(--maroon-strong); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--base-950);
  color: var(--on-dark-2);
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2.6fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.footer-about p { margin-top: 1.25rem; font-size: 0.9375rem; max-width: 36ch; }
.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { font-size: 0.9375rem; color: var(--on-dark-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.footer-contact svg { flex: none; margin-top: 3px; color: var(--accent); }
.footer-contact a:hover { color: var(--accent); }

/* Footer — office addresses */
.footer-address { align-items: flex-start; line-height: 1.55; }
.footer-address span { color: var(--on-dark-2); }
.footer-address strong { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 2px; }

/* Footer — Google Map */
.footer-map {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}
@media (max-width: 560px) {
  .footer-map iframe { height: 210px; }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}

/* ------------------------------------------------------------
   Service page — intro, capabilities, related
   ------------------------------------------------------------ */
.svc-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.svc-intro-grid h2 { font-size: var(--text-h2); }
.svc-intro-grid .intro-copy p { margin-bottom: 1.25rem; }
.svc-intro-grid .intro-copy p:last-child { margin-bottom: 0; }

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.media-band { padding-bottom: 0; }
.cap {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1.125rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--gray-200);
}
.cap svg { color: var(--maroon); margin-top: 2px; }
.cap h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.cap p { font-size: 0.9375rem; line-height: 1.6; margin-top: 0.5rem; }

.svc-media {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--base-900);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.related-grid {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  justify-content: space-between;
  background: var(--white);
  padding: 2rem;
  transition: background-color 0.25s var(--ease);
}
.related-card:hover { background: var(--paper); }
.related-card b {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.related-card small { display: block; font-size: 0.875rem; color: var(--gray-500); margin-top: 0.5rem; }
.related-card .go {
  display: inline-flex;
  color: var(--maroon);
  transition: transform 0.25s var(--ease);
}
.related-card:hover .go { transform: translate(4px, -4px); }

/* ------------------------------------------------------------
   Career
   ------------------------------------------------------------ */
.values-list { border-top: 1px solid var(--gray-200); }
.value-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--gray-200);
}
.value-row .v-idx {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--maroon);
  padding-top: 0.25rem;
}
.value-row h3 { font-size: var(--text-h3); letter-spacing: -0.015em; }

.role-list { border-top: 1px solid var(--gray-200); }
.role-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) 48px;
  gap: 1.5rem;
  align-items: center;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 0.2s;
}
.role-row:hover { background: var(--paper); }
.role-row b {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.role-meta {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.role-row .go { display: inline-flex; justify-content: flex-end; color: var(--maroon); }

.career-note {
  border-radius: var(--radius);
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--maroon);
  background: var(--paper);
  max-width: 640px;
}
.career-note b { color: var(--ink); font-family: var(--font-display); }
.career-note a { color: var(--maroon); font-weight: 600; }
.career-note a:hover { text-decoration: underline; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
/* ---- Quote split: direct contact (left) + floating form card (right) ---- */
.quote-section {
  background:
    radial-gradient(120% 120% at 82% -10%, rgba(122, 22, 10, 0.5) 0%, rgba(58, 0, 0, 0) 56%),
    linear-gradient(158deg, #260000 0%, #3A0000 48%, #1E0000 100%);
  color: var(--on-dark-2);
}
.quote-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.quote-kicker {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.quote-heading {
  margin-top: 0.75rem;
  font-size: var(--text-h2);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
}
.quote-lead {
  margin-top: 1rem;
  max-width: 42ch;
  font-size: 1rem;
  color: var(--on-dark-2);
}
.quote-contacts {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.quote-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1.15rem 1.4rem;
}
.quote-contacts li + li { border-top: 1px solid var(--line-dark); }
.qc-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(214, 142, 24, 0.14);
  border: 1px solid rgba(214, 142, 24, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.qc-ic svg { display: block; width: 19px; height: 19px; }
.quote-contacts b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--on-dark);
}
.quote-contacts div span,
.quote-contacts div a {
  display: block;
  margin-top: 3px;
  font-size: 0.875rem;
  color: var(--on-dark-2);
  line-height: 1.45;
}
.quote-contacts a { transition: color 0.2s; }
.quote-contacts a:hover { color: var(--accent); }

.quote-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, 0.72);
}
.quote-card-head { margin-bottom: 1.5rem; }
.quote-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-card-head p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}
.quote-submit { width: 100%; margin-top: 0.5rem; }

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.field label em { font-style: normal; color: var(--maroon); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-500); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(212, 172, 6, 0.25);
}

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------
   Reduced motion — kill it all
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero .anim { opacity: 1; transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Mobile navigation */
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--white);
    padding: 108px var(--gutter) 3rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  /* keep brand + close button above the panel (same stacking context) */
  .brand, .nav-toggle { position: relative; z-index: 95; }
  body.nav-open .primary-nav { visibility: visible; opacity: 1; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--white); }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--gray-200); }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 1.125rem 0;
    font-size: 1.375rem;
    font-weight: 600;
  }

  .dropdown {
    position: static;
    translate: none;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0 0 1rem;
    grid-template-columns: 1fr;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-dropdown.is-open .dropdown { display: grid; }
  .dropdown a { padding: 0.75rem 0; }
  .dropdown a:hover { background: transparent; }
  .dropdown a svg { color: var(--maroon); }
  .dropdown b { color: var(--base-900); }
  .dropdown small { color: var(--gray-500); }

  /* Mobile CTA inside the panel */
  .nav-panel-cta { margin-top: 2rem; display: inline-flex; }

  /* Grids collapse */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-dark); padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }

  .svc-row,
  .svc-row--flip { grid-template-columns: 1fr; gap: 1.75rem; }
  .svc-row--flip .svc-body { order: 1; }
  .svc-row--flip .svc-figure { order: 2; }

  .ind-grid { grid-template-columns: 1fr 1fr; }

  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-intro { position: static; }

  .process-track { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .step::before { right: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 16 / 10; max-height: none; }

  .svc-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cap-grid { grid-template-columns: 1fr; }

  .related-grid { grid-template-columns: 1fr; }

  .quote-split { grid-template-columns: 1fr; }
  .quote-contacts { grid-template-columns: 1fr; }

  .value-row { grid-template-columns: 48px minmax(0, 1fr); }
  .value-row p:not(.v-idx) { grid-column: 2; }
  .value-row h3 { grid-column: 2; }

  .role-row { grid-template-columns: minmax(0, 1fr) 48px; row-gap: 0.375rem; }
  .role-row .role-meta { grid-column: 1; }
  .role-row .go { grid-column: 2; grid-row: 1 / span 3; }
}

@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-inner .btn { width: 100%; }
}

/* ------------------------------------------------------------
   Motion upgrades
   ------------------------------------------------------------ */
/* Hero headline word reveal (spans injected by JS; static text without JS) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .w i {
  display: inline-block;
  font-style: normal;
  transform: translateY(112%);
  animation: word-rise 0.85s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--i) * 45ms);
}
@keyframes word-rise { to { transform: translateY(0); } }

/* Image clip-wipe reveals — clip the inner img, never the observed element:
   a fully clipped target reports zero intersection and the reveal never fires */
.clip-reveal > img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.15s, transform 0.7s var(--ease);
}
.in-view .clip-reveal > img,
.clip-reveal.in-view > img { clip-path: inset(0 0 0 0); }

/* Process line draws itself */
.step::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
.step.in-view::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-media, .page-hero-media { transform: none !important; }
  .hero-media img, .page-hero-media img, .hero-figure img { animation: none; }
  .hero h1 .w i { transform: none; animation: none; }
  .clip-reveal > img { clip-path: none; }
  .step::before { transform: none; }
}


/* ------------------------------------------------------------
   Sitemap v2 — multi-dropdown nav, industry tiles, resources
   ------------------------------------------------------------ */
.dropdown--sm {
  width: 320px;
  grid-template-columns: 1fr;
}

/* Industry tiles are links now */
a.ind-cell { display: block; color: inherit; }
a.ind-cell:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ind-cell .link-arrow { margin-top: auto; padding-top: 1.25rem; font-size: 0.875rem; }

/* Case study rows */
.cs-row {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  gap: 1.5rem 3rem;
  align-items: center;
  padding-block: 2.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.cs-list { border-top: 1px solid var(--gray-200); }
.cs-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}
.cs-row h3 { font-size: var(--text-h3); margin-block: 0.75rem 0.625rem; letter-spacing: -0.015em; max-width: 30ch; }
.cs-row p { max-width: 60ch; }
.cs-metric { text-align: right; }
.cs-metric b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cs-metric span {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Blog rows */
.post-list { border-top: 1px solid var(--gray-200); }
.post-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 48px;
  gap: 1.5rem;
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--gray-200);
  transition: background-color 0.2s;
}
.post-row:hover { background: var(--paper); }
.post-when {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.post-when b { display: block; color: var(--maroon); font-weight: 600; margin-bottom: 0.25rem; }
.post-row h3 { font-size: 1.25rem; letter-spacing: -0.015em; max-width: 34ch; }
.post-row p { margin-top: 0.5rem; font-size: 0.9375rem; max-width: 64ch; }
.post-row .go { display: inline-flex; justify-content: flex-end; color: var(--maroon); padding-top: 0.375rem; }

/* Specialized cargo sections */
.spec-section { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--gray-200); }
.spec-section:first-of-type { border-top: 0; padding-top: 0; }
.spec-section .cap-grid { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

@media (max-width: 900px) {
  .cs-row { grid-template-columns: 1fr; }
  .cs-metric { text-align: left; }
  .post-row { grid-template-columns: minmax(0, 1fr) 48px; }
  .post-when { grid-column: 1 / -1; }
}
.spec-section > h2 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  margin-top: 1rem;
  letter-spacing: -0.02em;
}
.spec-section > .spec-lead { margin-top: 0.875rem; max-width: 60ch; }
.cta-band--statement .cta-inner h2 {
  max-width: 30ch;
  font-size: clamp(1.625rem, 2vw + 0.5rem, 2.5rem);
  line-height: 1.15;
}

/* ------------------------------------------------------------
   Article — single blog post
   ------------------------------------------------------------ */
.article-head { padding-bottom: clamp(2rem, 4vw, 3rem); }
.article-head h1 { max-width: 22ch; }
.article-head .sub { max-width: 58ch; }

.article-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1.125rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.article-meta span {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
}
.article-meta b {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.article-figure-wrap { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.article-figure { overflow: hidden; }
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.article-figure figcaption {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 60ch;
}

.article-section { padding-top: 0; }
.article-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3rem clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.article-aside { position: sticky; top: 108px; }
.toc-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}
.toc ul { margin-top: 0.875rem; }
.toc li + li { margin-top: 0.5rem; }
.toc a {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}
.toc a:hover { color: var(--maroon); }

.toc-cta {
  border-radius: var(--radius);
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--maroon);
}
.toc-cta p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 0.875rem;
}

.article-body { max-width: 68ch; }
.article-body > p { margin-bottom: 1.375rem; }
.article-body .standfirst {
  font-size: var(--text-lead);
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 2rem;
}
.article-body h2 {
  font-size: clamp(1.375rem, 1.2vw + 1rem, 1.875rem);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  scroll-margin-top: 108px;
}

.article-list { margin: 0 0 1.5rem; }
.article-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}
.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--maroon);
}
.article-list b { color: var(--ink); font-weight: 600; }

.pull-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 3px solid var(--maroon);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 0.8vw + 1rem, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.table-wrap { margin: 2rem 0 2.25rem; overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.data-table caption {
  caption-side: bottom;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.data-table thead th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--base-900);
  background: var(--paper);
  border-bottom: 2px solid var(--maroon);
}
.data-table tbody th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.data-table td { color: var(--gray-600); font-variant-numeric: tabular-nums; }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.article-note {
  border-radius: var(--radius);
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  background: var(--paper);
}
.article-note p { font-size: 0.9375rem; margin: 0; }
.article-note b { color: var(--ink); font-weight: 600; }

.article-share {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; }
  .toc { border-bottom: 1px solid var(--gray-200); padding-bottom: 1.5rem; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
  .toc li + li { margin-top: 0; }
  .toc-cta { display: none; }
  .article-body { max-width: 72ch; }
}

@media (max-width: 560px) {
  .article-meta { gap: 1.25rem 2rem; }
  .article-figure img { aspect-ratio: 4 / 3; }
  .pull-quote { padding-left: 1.25rem; margin-inline: 0; }
}

/* ------------------------------------------------------------
   Article v2 — compact feature band, key figures, section
   numbering, TOC tracking, reading progress
   ------------------------------------------------------------ */
/* Clear the 76px fixed header, then breathing room above the breadcrumb */
.article-head .container { padding-top: calc(76px + clamp(3rem, 6vw, 4.5rem)); }
/* Feature band: photo shares the row with the article's own numbers */
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.article-keyfigs {
  display: flex;
  flex-direction: column;
  background: var(--base-950);
  border-top: 3px solid var(--accent);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.keyfigs-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  padding-bottom: 1rem;
}
.keyfig {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.375rem;
  padding-block: 1.125rem;
  border-top: 1px solid var(--line-dark);
}
.keyfig b {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.6vw + 0.5rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}
.keyfig b em { font-style: normal; font-size: 0.6em; color: var(--accent); }
.keyfig span { font-size: 0.875rem; line-height: 1.5; color: var(--on-dark-2); max-width: 30ch; }

/* Numbered sections — same index language as the rest of the site */
.article-body { counter-reset: sec; }
.article-body h2 { counter-increment: sec; }
.article-body h2::before {
  content: "0" counter(sec);
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--maroon);
  margin-bottom: 0.625rem;
}

/* TOC mirrors the numbering and tracks the reader */
.toc ul { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: baseline; gap: 10px; }
.toc a::before {
  content: "0" counter(toc);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  transition: color 0.2s;
}
.toc a.is-active { color: var(--ink); }
.toc a.is-active::before { color: var(--maroon); }

/* Reading progress — accent line along the very top edge */
.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 110;
  pointer-events: none;
}
.read-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

@media (max-width: 900px) {
  .article-hero-grid { grid-template-columns: 1fr; }
  .keyfig { flex: none; }
}

/* ------------------------------------------------------------
   Case Studies v2 — "Operations Ledger"
   Page-scoped (.csx-*): only case-studies.html uses these.
   ------------------------------------------------------------ */
.csx-hero {
  position: relative;
  background: var(--base-950);
  color: var(--on-dark-2);
  overflow: hidden;
  padding-top: calc(76px + clamp(3.5rem, 9vh, 6rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
}
.csx-hero .container { position: relative; z-index: 1; }
.csx-hero .kicker { color: var(--accent); }
.csx-hero .kicker::before { background: var(--accent); }
.csx-hero h1 {
  font-size: clamp(2.875rem, 6.5vw + 0.5rem, 5.75rem);
  color: var(--white);
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-top: 1.25rem;
}
.csx-hero .sub {
  font-size: var(--text-lead);
  color: var(--on-dark-2);
  max-width: 54ch;
  margin-top: 1.5rem;
}

/* Watermark word — pure decoration behind the ledger index */
.csx-watermark {
  position: absolute;
  right: -0.04em;
  bottom: -0.16em;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 20rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  user-select: none;
  pointer-events: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .csx-watermark { color: rgba(255, 255, 255, 0.05); }
}

/* Hero headline word reveal (same mechanics as the home hero) */
.csx-hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.csx-hero h1 .w i {
  display: inline-block;
  font-style: normal;
  transform: translateY(112%);
  animation: word-rise 0.85s var(--ease) forwards;
  animation-delay: calc(0.12s + var(--i) * 45ms);
}

/* Ledger index — anchor rows down to each case */
.csx-index {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  border-top: 1px solid var(--line-dark);
}
.csx-index a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto 20px;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid var(--line-dark);
}
.csx-index .no {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.csx-index b {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.6vw + 0.75rem, 1.1875rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  transition: color 0.2s;
}
.csx-index .m {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  font-variant-numeric: tabular-nums;
  text-align: right;
  transition: color 0.2s;
}
.csx-index svg {
  justify-self: end;
  align-self: center;
  color: var(--on-dark-3);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.csx-index a:hover b,
.csx-index a:focus-visible b { color: var(--accent); }
.csx-index a:hover .m { color: var(--on-dark-2); }
.csx-index a:hover svg,
.csx-index a:focus-visible svg { transform: translate(3px, 3px); color: var(--accent); }

/* Ledger head strip */
.csx-ledger-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}
.csx-count {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}

/* Case chapters */
.csx-case {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--gray-200);
  scroll-margin-top: 96px;
}
.csx-case:first-of-type { border-top: 0; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.csx-case--flip .csx-body { order: 2; }
.csx-case--flip .csx-media { order: 1; }

/* Ghost chapter number */
.csx-no {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-300);
  margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums;
}
@supports not (-webkit-text-stroke: 1px black) {
  .csx-no { color: var(--gray-200); }
}

.csx-case h2 {
  font-size: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-block: 1rem 0.875rem;
}
.csx-body > p { max-width: 55ch; }

/* Fact pairs under the story */
.csx-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.csx-facts small {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
}
.csx-facts b {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Duotone media + overlapping metric card */
.csx-media { position: relative; }
.csx-figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--base-900);
  margin: 0;
}
.csx-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.6s var(--ease), transform 0.7s var(--ease),
              clip-path 1.1s var(--ease) 0.15s;
}
.csx-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 0, 0, 0.28);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.csx-media:hover .csx-figure img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.csx-media:hover .csx-figure::after { opacity: 0; }

.csx-metric {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: clamp(-3.5rem, -4vw, -1.25rem);
  max-width: min(78%, 320px);
  background: var(--base-950);
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2.25rem);
}
.csx-case--flip .csx-metric { left: auto; right: clamp(-3.5rem, -4vw, -1.25rem); }
.csx-metric > b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  hyphens: auto;
}
.csx-metric > b em {
  font-style: normal;
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--accent);
  margin-left: 8px;
}
.csx-metric > span {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  max-width: 20ch;
}

/* Saffron rule draws across the metric card on reveal */
.csx-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
}
.csx-rule.reveal {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.25s;
}
.csx-rule.reveal.in-view { transform: scaleX(1); }

@media (max-width: 900px) {
  .csx-case,
  .csx-case--flip { grid-template-columns: 1fr; gap: 1.75rem; align-items: start; }
  .csx-case--flip .csx-body { order: 1; }
  .csx-case--flip .csx-media { order: 2; }
  .csx-metric,
  .csx-case--flip .csx-metric {
    position: static;
    width: 100%;
    max-width: none;
  }
  .csx-no { font-size: 2.75rem; -webkit-text-stroke-width: 1.25px; }
}

@media (max-width: 560px) {
  .csx-index a { grid-template-columns: 2.25rem minmax(0, 1fr) 20px; }
  .csx-index .m { grid-column: 2; text-align: left; }
  .csx-index svg { grid-row: 1; grid-column: 3; }
  .csx-facts { gap: 1rem 1.75rem; }
  .csx-metric > b { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .csx-hero h1 .w i { transform: none; animation: none; }
  .csx-rule.reveal { transform: scaleX(1); }
  .csx-figure img { transition: none; }
}

/* ------------------------------------------------------------
   Home v3 — client copy: introduction, case-study cards,
   customer logo strip, footer legal line
   ------------------------------------------------------------ */
/* Introduction — editorial statement panel */
.intro { position: relative; overflow: hidden; }
.intro-watermark {
  position: absolute;
  right: -0.05em;
  bottom: 0;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(58, 0, 0, 0.13);
  user-select: none;
  pointer-events: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .intro-watermark { color: rgba(58, 0, 0, 0.06); }
}
.intro-watermark.reveal { transform: translateX(48px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.intro-watermark.reveal.in-view { transform: translateX(0); }

.intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.intro-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--base-900);
}
.intro-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: clip-path 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s,
              transform 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}
.intro-figure.in-view img { transform: scale(1); }
.intro-figure::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 96px;
  background: var(--maroon);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.intro-lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1vw + 0.85rem, 1.625rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 1.5rem;
  text-wrap: balance;
}
.intro-lead .hl {
  font-style: normal;
  color: var(--maroon);
}

.intro-aside {
  position: relative;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  max-width: 46ch;
}
.intro-rule {
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.4s;
}
.intro-aside.in-view .intro-rule { transform: scaleX(1); }
.intro-aside p { font-size: 1rem; line-height: 1.7; }

@media (prefers-reduced-motion: reduce) {
  .intro-watermark.reveal { transform: none; }
  .intro-rule { transform: scaleX(1); }
  .intro-figure img { transform: none; }
}

/* Case-study cards (home) — image cards with category tag + View more (client feedback) */
.cs-home .section-title { max-width: 30ch; }
.cs-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
a.cs-home-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), opacity 0.6s var(--ease);
}
a.cs-home-card:hover {
  transform: translateY(-4px);
  border-color: var(--gray-300);
  box-shadow: 0 18px 40px -24px rgba(58, 0, 0, 0.5);
}
.cs-home-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cs-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
a.cs-home-card:hover .cs-home-media img { transform: scale(1.05); }
.cs-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.34rem 0.72rem;
  background: var(--accent-gradient);
  color: var(--base-950);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
}
.cs-home-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
}
.cs-no {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--maroon);
}
.cs-home-card h3 { font-size: 1.1875rem; margin-block: 0.875rem 0.625rem; letter-spacing: -0.015em; }
.cs-home-card p { font-size: 0.9375rem; line-height: 1.6; }
.cs-home-card .link-arrow { margin-top: auto; padding-top: 1.5rem; font-size: 0.875rem; }
.cs-home-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* Customer logo strip */
.logos { padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--paper); border-top: 1px solid var(--gray-200); }
.logos-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 2rem;
}
.logos-grid {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  background: var(--white);
  color: var(--gray-300);
}
/* neutral placeholder mark (mark + wordmark) until real client logos land */
.logo-slot svg { width: clamp(84px, 9vw, 108px); height: auto; color: var(--gray-300); }
.logo-slot img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.logo-slot:hover img { filter: grayscale(0); opacity: 1; }

/* Brand logo (official artwork — logo-white.png for dark surfaces) */
.brand-logo { display: block; height: 48px; width: auto; }
.site-footer .brand-logo { height: 84px; }

/* Road strip — ambient logistics motion above the footer */
.road-strip {
  position: relative;
  height: 150px;
  background: linear-gradient(180deg, #4d0a0a 0%, #300000 100%);
  overflow: hidden;
}
.road-strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 2px solid rgba(255, 255, 255, 0.22);
}
.road-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 30px, transparent 30px 62px);
}
.road-port {
  position: absolute;
  right: 2.5%;
  bottom: 23px;
  width: min(560px, 56vw);
  height: auto;
  z-index: 2;
}
.road-truck {
  position: absolute;
  bottom: 7px;
  left: 0;
  z-index: 3;
  will-change: transform;
  animation: truck-drive 15s linear infinite;
}
@keyframes truck-drive {
  0% { transform: translateX(-220px); }
  88%, 100% { transform: translateX(calc(100vw + 60px)); }
}
.road-truck .wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-spin 0.5s linear infinite;
}
@keyframes wheel-spin { to { transform: rotate(360deg); } }
.road-truck .truck-body { animation: truck-bob 1.1s ease-in-out infinite; }
@keyframes truck-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.25px); }
}
.road-plane {
  position: absolute;
  top: 22px;
  left: 0;
  opacity: 0.65;
  will-change: transform;
  animation: plane-fly 30s linear infinite;
  animation-delay: -10s;
}
@keyframes plane-fly {
  0% { transform: translateX(calc(100vw + 140px)); }
  87%, 100% { transform: translateX(-340px); }
}
.road-plane .plane-inner { animation: plane-float 5.5s ease-in-out infinite; }
@keyframes plane-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}
.road-plane .plane-banner {
  transform-box: fill-box;
  transform-origin: left center;
  animation: banner-flutter 2.2s ease-in-out infinite;
}
@keyframes banner-flutter {
  0%, 100% { transform: rotate(0.6deg); }
  50% { transform: rotate(-0.8deg); }
}
.port-beacon { animation: beacon-pulse 2.4s var(--ease) infinite; }
@keyframes beacon-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.9; }
}
.road-ship {
  position: absolute;
  bottom: 30px;
  left: 0;
  opacity: 0.5;
  animation: ship-sail 40s linear infinite;
  animation-delay: -8s;
}
.road-ship .ship-beacon { animation: ship-blink 1.4s steps(1, end) infinite; }
@keyframes ship-blink {
  0%, 48% { opacity: 1; }
  50%, 100% { opacity: 0.12; }
}
.road-ship .ship-wake { transform-box: fill-box; transform-origin: center; animation: ship-wake 4s ease-in-out infinite; }
@keyframes ship-wake {
  0%, 100% { opacity: 0.75; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(-2.5px); }
}
@keyframes ship-sail {
  0% { transform: translateX(-260px); }
  92%, 100% { transform: translateX(calc(100vw + 80px)); }
}
.road-ship .ship-body {
  transform-box: fill-box;
  transform-origin: center;
  animation: ship-bob 3.6s ease-in-out infinite;
}
@keyframes ship-bob {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-1.5px) rotate(0.4deg); }
}

@media (max-width: 900px) {
  .road-strip { height: 116px; }
  .road-truck { width: 132px; height: 72px; bottom: 10px; }
  .road-port { opacity: 0.7; width: 78vw; }
  .road-plane { top: 12px; width: 170px; height: 24px; }
  .road-ship { width: 120px; height: 44px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .road-truck { animation: none; transform: translateX(14vw); }
  .road-truck .wheel { animation: none; }
  .road-truck .truck-body { animation: none; }
  .road-plane { animation: none; opacity: 0; }
  .road-plane .plane-inner { animation: none; }
  .road-plane .plane-banner { animation: none; }
  .port-beacon { animation: none; opacity: 0.6; }
  .road-ship { animation: none; opacity: 0.45; transform: translateX(30vw); }
  .road-ship .ship-body { animation: none; }
}

/* Footer — legal line under the brand */
.footer-about .footer-legal {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-dark);
}
.footer-about .footer-legal + p { margin-top: 0.5rem; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-figure { order: 2; aspect-ratio: 16 / 10; max-height: none; }
  .intro-body { order: 1; }
  .intro-aside { margin-top: 1.75rem; }
  .intro-watermark { font-size: clamp(4.5rem, 22vw, 8rem); }
  .cs-home-grid { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .logos-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   About page — Hero, Mission, Accreditations, Network (premium, scoped)
   ============================================================ */

/* Our story — vertical timeline (About page only) */
.about-grid { align-items: start; }
.story-timeline {
  list-style: none;
  position: relative;
  margin-top: 1.75rem;
  padding-left: 2.25rem;
}
.story-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--accent-strong), rgba(139, 0, 0, 0.25));
}
.st-node { position: relative; padding-bottom: 1.875rem; }
.st-node:last-child { padding-bottom: 0; }
.st-node::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--gray-300);
}
.st-yr {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--maroon);
}
.st-node p {
  margin-top: 0.5rem;
  max-width: 54ch;
  color: var(--gray-600);
}
.st-node p + p { margin-top: 0.875rem; }

/* About hero — editorial split (About page only; .page-hero left intact) */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: clamp(460px, 58vh, 580px);
  background: var(--base-950);
}
.about-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(6.25rem, 6vw, 7rem);      /* clears the fixed header + breathing room */
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
  padding-right: clamp(1.5rem, 3vw, 3.25rem);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.about-hero-copy .breadcrumb { margin-bottom: 1.25rem; }
.about-hero-rule {
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-gradient);
  margin-bottom: 1.5rem;
}
.about-hero h1 {
  font-size: clamp(2.25rem, 2.2vw + 1rem, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 20ch;
}
.about-hero .sub {
  font-size: var(--text-lead);
  color: var(--on-dark-2);
  max-width: 46ch;
  margin-top: 1.25rem;
}
.about-hero-media { position: relative; overflow: hidden; }
.about-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 2.4s var(--ease) both;
}
.about-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--base-950) 0%, rgba(58, 0, 0, 0.35) 28%, transparent 60%);
}

@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; min-height: 0; }
  .about-hero-copy {
    order: 1;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-top: clamp(6.5rem, 20vw, 7rem);
    padding-bottom: clamp(2.25rem, 7vw, 3rem);
  }
  .about-hero-media { order: 2; min-height: 240px; }
  .about-hero-media::before { background: linear-gradient(0deg, var(--base-950) 0%, transparent 45%); }
}

/* Mission — dark panel with media, on the off-white Principles section */
.mission {
  margin-top: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  background: var(--base-950);
  color: var(--on-dark);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 4px;
  background: var(--accent-gradient);
}
.mission .kicker { color: var(--accent); }
.mission .kicker::before { background: var(--accent); }
.mission-copy { padding: clamp(1.75rem, 4vw, 3.25rem); }
.mission-text {
  margin-top: 1.125rem;
  max-width: 40ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.5vw + 0.95rem, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--white);
}
.mission-media { position: relative; min-height: 240px; }
.mission-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--base-950) 0%, rgba(58, 0, 0, 0.35) 42%, transparent 100%);
}
.values-head { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Founder portrait caption */
.about-figure .fig-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.75rem 1.5rem 1.25rem;
  background: linear-gradient(transparent, rgba(28, 18, 20, 0.88));
}
.about-figure .fig-cap b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.about-figure .fig-cap span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Accreditations — credential cards */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.cred-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cred-card:hover {
  border-color: var(--accent-strong);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(28, 18, 20, 0.35);
}
.cred-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-gradient);
  color: var(--base-950);
}
.cred-badge svg { width: 26px; height: 26px; }
.cred-card h3 { font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); }
.cred-meta {
  margin-top: -0.625rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}
.cred-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--gray-600); }

/* Network — "departure board" region directory (dark section) */
.network .section-head { max-width: 56ch; }
.net-board { margin-top: clamp(1rem, 2vw, 1.5rem); }
.net-row {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line-dark);
}
.net-row:last-child { border-bottom: 1px solid var(--line-dark); }
.net-region { display: flex; flex-direction: column; gap: 0.875rem; }
.net-region h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
  font-size: clamp(1.5rem, 1.6vw + 0.75rem, 2.25rem);
}
.net-region h3 svg { color: var(--accent); flex: none; }
.net-count {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(254, 237, 0, 0.4);
  border-radius: 40px;
  padding: 5px 13px;
}
.net-cities { columns: 4; column-gap: clamp(1.5rem, 3vw, 2.25rem); }
.net-city {
  display: flex;
  align-items: baseline;
  gap: 10px;
  break-inside: avoid;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
  color: var(--on-dark);
}
.net-n {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--on-dark-3);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .net-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .net-cities { columns: 2; }
  .mission { grid-template-columns: 1fr; }
  .mission-media { min-height: 200px; }
}
@media (max-width: 560px) {
  .cred-grid { grid-template-columns: 1fr; }
  .net-cities { columns: 2; }
}

/* ============================================================
   Service pages (Ocean / Air) — scoped additions
   (service types reuse .values-list/.value-row; why reuse .cap-grid/.cap)
   ============================================================ */

/* What you experience — dark statement band */
.xp-band { background: var(--base-950); color: var(--on-dark-2); }
.xp-band .container {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: center;
}
.xp-text { min-width: 0; }
.xp-band .kicker { color: var(--accent); }
.xp-band .kicker::before { background: var(--accent); }
.xp-statement {
  margin-top: 1.25rem;
  max-width: 26ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.8vw + 0.9rem, 2.375rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}
.xp-copy { margin-top: 1.375rem; max-width: 56ch; font-size: var(--text-lead); color: var(--on-dark-2); }

/* What you experience — route/visibility graphic (air + ocean) */
.xp-figure { position: relative; min-width: 0; align-self: center; }
.xp-figure svg { display: block; width: 100%; height: auto; }
.xp-figure .xp-route-done { stroke: var(--accent); }
.xp-figure .xp-route-rest {
  stroke: rgba(255, 255, 255, 0.34);
  stroke-dasharray: 2 9;
  animation: xp-flow 9s linear infinite;
}
.xp-figure .xp-node { fill: var(--base-950); stroke: rgba(255, 255, 255, 0.5); }
.xp-figure .xp-pulse { transform-box: fill-box; transform-origin: center; animation: xp-pulse 2.8s var(--ease) infinite; }
.xp-figure .xp-pulse--2 { animation-delay: 1.4s; }
.xp-chip {
  fill: rgba(254, 237, 0, 0.1);
  stroke: rgba(254, 237, 0, 0.5);
}
.xp-figure text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  fill: rgba(255, 255, 255, 0.82);
}
@keyframes xp-pulse { 0% { transform: scale(1); opacity: 0.55; } 70% { opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes xp-flow { to { stroke-dashoffset: -220; } }
@media (prefers-reduced-motion: reduce) {
  .xp-figure .xp-pulse, .xp-figure .xp-route-rest { animation: none; }
}
@media (max-width: 860px) {
  .xp-band .container { grid-template-columns: 1fr; gap: clamp(1.75rem, 6vw, 2.75rem); }
  .xp-figure { order: 2; max-width: 440px; }
}

/* Air/Ocean service types — GEODIS-style card grid */
.svc-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 1.6vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.svc-type-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-type-card:hover {
  border-color: rgba(214, 142, 24, 0.55);
  box-shadow: 0 26px 52px -38px rgba(24, 3, 3, 0.6);
  transform: translateY(-3px);
}
.svc-type-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: var(--base-950);
  box-shadow: 0 10px 22px -12px rgba(214, 142, 24, 0.9);
}
.svc-type-card__icon svg { width: 24px; height: 24px; }
.svc-type-card h3 { font-size: 1.1875rem; letter-spacing: -0.015em; color: var(--ink); }
.svc-type-card p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--gray-700); }
@media (max-width: 760px) {
  .svc-type-grid { grid-template-columns: 1fr; }
  .svc-type-card { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
  .svc-type-card__icon { width: 44px; height: 44px; }
}

/* Specialized air cargo — bullet list */
.spec-list {
  list-style: none;
  max-width: 76ch;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gray-200);
}
.spec-list li {
  position: relative;
  padding: 1.125rem 0 1.125rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent-gradient);
}
.spec-list b { color: var(--ink); font-weight: 600; }

/* FAQ — boxed cards (native <details>), auto-numbered */
.faq-list { display: flex; flex-direction: column; gap: 14px; counter-reset: faq; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item[open] {
  border-color: var(--accent-strong);
  box-shadow: 0 18px 44px -28px rgba(28, 18, 20, 0.45);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  flex: none;
  align-self: flex-start;
  padding-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--maroon);
}
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--maroon);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item summary:hover { color: var(--maroon); }
.faq-item summary:hover::after { border-color: var(--accent-strong); }
.faq-item[open] summary { color: var(--maroon); }
.faq-item[open] summary::after {
  content: "\00d7";
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--base-950);
}
.faq-a {
  padding: 0 1.75rem 1.5rem 3.5rem;
  max-width: 72ch;
  color: var(--gray-600);
  line-height: 1.65;
}
.faq-item summary:focus { outline: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: -3px; border-radius: 13px; }

/* ============================================================
   Service hero — editorial split (Ocean / Air), scoped
   ============================================================ */
.svc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: clamp(460px, 56vh, 580px);
  background: var(--base-950);
}
.svc-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(6.25rem, 6vw, 7rem);      /* clears the fixed header + breathing room */
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
  padding-right: clamp(1.5rem, 3vw, 3.25rem);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.svc-hero-copy .breadcrumb { margin-bottom: 1.25rem; }
.svc-hero-rule { width: 48px; height: 3px; border-radius: 3px; background: var(--accent-gradient); margin-bottom: 1.5rem; }
.svc-hero h1 {
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 18ch;
}
.svc-hero .sub { font-size: var(--text-lead); color: var(--on-dark-2); max-width: 48ch; margin-top: 1.25rem; }
.svc-hero-media { position: relative; overflow: hidden; }
.svc-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 2.4s var(--ease) both;
}
.svc-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--base-950) 0%, rgba(58, 0, 0, 0.35) 28%, transparent 60%);
}
@media (max-width: 860px) {
  .svc-hero { grid-template-columns: 1fr; min-height: 0; }
  .svc-hero-copy { order: 1; padding-left: var(--gutter); padding-right: var(--gutter); padding-top: clamp(6.5rem, 20vw, 7rem); padding-bottom: clamp(2.25rem, 7vw, 3rem); }
  .svc-hero-media { order: 2; min-height: 230px; }
  .svc-hero-media::before { background: linear-gradient(0deg, var(--base-950) 0%, transparent 45%); }
}

/* Demo gating removed — full site links enabled. */

/* Bonded block merged under Specialized — separate from the bullet list */
.svc-subblock { margin-top: clamp(2.75rem, 5vw, 4rem); }

/* Tighten specific section gaps (e.g. Bonded -> Why on Air) */
.section--tight-bottom { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section--tight-top { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
