/* ==========================================================================
   SAPSAN LOGISTICS INC — Site styles
   Type: Archivo (variable width) + JetBrains Mono
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #0b1a3a;        /* deep navy: dark sections, header, footer */
  --ink-2: #10224a;
  --ink-3: #172c5b;
  --navy: #14275a;       /* brand navy for text on white */
  --paper: #ffffff;
  --paper-2: #f2f4f8;
  --text: #f4f6fb;
  --muted: #a6b0c6;
  --muted-dark: #56607a;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(20, 39, 90, 0.14);
  --red: #d71920;
  --red-deep: #a8121a;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1520px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --header-h: 88px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.i18n-pending body { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 12vw, 180px); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.light { background: var(--paper); color: var(--navy); }
.light--tint { background: var(--paper-2); }
.light .muted { color: var(--muted-dark); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 14px; font-weight: 700; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.light .eyebrow { color: var(--red-deep); background: rgba(215, 25, 32, 0.07); border-color: rgba(215, 25, 32, 0.25); }
.eyebrow--plain::before { display: none; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.muted { color: var(--muted); }

.display {
  font-weight: 700;
  font-stretch: 92%;
  font-size: clamp(52px, 10.4vw, 188px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.h1 { font-weight: 700; font-stretch: 94%; font-size: clamp(44px, 7.4vw, 124px); line-height: 0.92; letter-spacing: -0.04em; }
.h2 { font-weight: 700; font-stretch: 96%; font-size: clamp(36px, 5.2vw, 84px); line-height: 0.96; letter-spacing: -0.035em; }
.h3 { font-weight: 600; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.08; letter-spacing: -0.02em; }
.h4 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -0.01em; }
.display em, .h1 em, .h2 em, .h3 em {
  font-style: italic; font-weight: 800; font-stretch: 110%; color: var(--red);
  letter-spacing: -0.05em; padding-right: 0.04em;
}
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* line-mask reveal (filled in by JS) */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 26px 0 28px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: color 0.5s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--ink); }
.btn .arr { width: 18px; height: 18px; transition: transform 0.55s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--text); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark::before { background: var(--red); }
.btn--dark:hover { color: #fff; }
.light .btn--ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-dark); }
.light .btn--ghost::before { background: var(--ink); }
.light .btn--ghost:hover { color: #fff; }

.link-u { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.link-u .arr { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.link-u:hover .arr { transform: translateX(4px); }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform-origin: right; transition: transform 0.6s var(--ease); }
.link-u:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--header-h);
  transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(11,26,58, 0.95); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 46px; height: auto; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 900; font-style: italic; font-stretch: 112%; font-size: 30px; letter-spacing: -0.02em; color: var(--red); }
.nav { display: flex; gap: clamp(4px, 1.2vw, 20px); margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 18px; font-weight: 500; color: rgba(244,246,251, 0.72);
  transition: color 0.3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::before, .nav a[aria-current="page"]::before { transform: none; }
.header__cta { display: flex; align-items: center; gap: 20px; }
.header__phone { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; color: rgba(244,246,251, 0.8); display: inline-flex; align-items: center; gap: 8px; }
.header__phone:hover { color: #fff; }
.header .btn { height: 46px; padding: 0 18px 0 20px; font-size: 15px; }
.lang { display: inline-flex; border: 1px solid var(--line); }
.lang button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; padding: 7px 10px; color: var(--muted); transition: color .3s, background .3s; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--red); color: #fff; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fd06b; box-shadow: 0 0 0 0 rgba(47, 208, 107, 0.6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(47, 208, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 208, 107, 0); } }

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mmenu { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(40px, 11vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.12; border-bottom: 1px solid var(--line); padding: 6px 0; }
.mmenu nav a small { font-family: var(--f-mono); font-size: 11px; color: var(--red); letter-spacing: 0.1em; font-weight: 400; }
.mmenu__foot { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.mmenu__foot a { color: var(--text); }

/* ---------- Page transition + loader ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background: var(--red);
  transform: translateY(100%);
}
.from-transition .curtain { transform: none; }
.curtain.is-in { transition: transform 0.6s var(--ease-in-out); transform: none; }
.loader {
  position: fixed; inset: 0; z-index: 160;
  background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__in { width: min(460px, 80vw); }
.loader__row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.loader__km { font-family: var(--f-sans); font-size: clamp(56px, 12vw, 112px); font-weight: 700; letter-spacing: -0.05em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.loader__bar { height: 2px; background: var(--line); margin: 18px 0 12px; position: relative; overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
html:not(.js) .loader, .no-loader .loader { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 50%; transform-origin: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,26,58,.55) 0%, rgba(11,26,58,0) 28%),
    linear-gradient(0deg, rgba(11,26,58,1) 0%, rgba(11,26,58,.6) 32%, rgba(11,26,58,0) 62%),
    linear-gradient(90deg, rgba(11,26,58,.55) 0%, rgba(11,26,58,0) 60%);
}
.hero__meta { position: absolute; top: calc(var(--header-h) + 28px); left: 0; right: 0; display: flex; justify-content: space-between; }
.hero__coords { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(244,246,251,.7); line-height: 1.8; }
.hero__title { margin-bottom: clamp(28px, 4vw, 48px); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding-bottom: clamp(28px, 4vw, 44px); }
.hero__sub { max-width: 520px; color: rgba(244,246,251,.82); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__bar { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero__bar > div { padding: 18px 0 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-left: 20px; }
.hero__bar > div:first-child { padding-left: 0; }
.hero__bar > div:last-child { border-right: 0; }
.hero__bar b { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(72px, 12vw, 170px)); padding-bottom: clamp(48px, 6vw, 88px); overflow: hidden; isolation: isolate; }
.phero__crumb { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; font-size: 15px; font-weight: 500; letter-spacing: .1em; }
.phero__crumb > span:last-child { color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.phero__crumb a { color: var(--muted); }
.phero__crumb a:hover { color: var(--text); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--gutter); align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.phero__media { margin-top: clamp(40px, 6vw, 80px); height: clamp(320px, 62vh, 720px); overflow: hidden; position: relative; }
.phero__media img { width: 100%; height: 120%; object-fit: cover; }
.phero__media figcaption { position: absolute; left: 20px; bottom: 16px; }
.phero__index { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 40px); text-align: right; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; padding-right: 48px; }
.marquee span { font-size: clamp(30px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.035em; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--red); transform: rotate(45deg); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(244,246,251,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.section--manifesto { padding-bottom: clamp(16px, 2.4vw, 32px); }
.manifesto { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.manifesto__label { grid-column: 1 / span 3; }
.manifesto__text { grid-column: 4 / span 9; font-size: clamp(28px, 3.7vw, 58px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 500; }
.manifesto__text .w { color: rgba(244,246,251,.16); transition: color .2s; }
.manifesto__text .w.on { color: var(--text); }
.manifesto__text .w.red.on { color: var(--red); }
html:not(.js) .manifesto__text .w { color: var(--text); }
.manifesto__foot { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(48px, 6vw, 88px); }
.figure-fact { border-top: 1px solid var(--line); padding-top: 18px; }
.figure-fact__ic { width: 30px; height: 30px; color: var(--red); margin-bottom: 16px; }
.figure-fact b { display: block; font-size: clamp(40px, 4.6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.figure-fact b sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.25em; margin-left: 4px; color: var(--red); letter-spacing: 0; }
.figure-fact p { color: var(--muted); font-size: 15px; max-width: 260px; }
.light .figure-fact { border-color: var(--line-dark); }

/* ---------- Section head ---------- */
.shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.shead__l { grid-column: 1 / span 7; }
.shead__l .eyebrow { margin-bottom: 24px; }
.shead__r { grid-column: 9 / span 4; }
.shead__r p { color: var(--muted); margin-bottom: 24px; }
.light .shead__r p { color: var(--muted-dark); }

/* ---------- Horizontal services ---------- */
.hs { position: relative; overflow: hidden; }
.hs + .section { padding-top: clamp(24px, 4vw, 56px); }
.hs__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.hs__top { display: flex; justify-content: space-between; align-items: end; margin-bottom: clamp(28px, 4vh, 48px); gap: 24px; }
.hs__progress { width: 220px; height: 2px; background: var(--line); position: relative; }
.hs__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hs__track { display: flex; gap: 20px; padding-left: var(--gutter); width: max-content; will-change: transform; }
.scard {
  position: relative; flex: none;
  width: clamp(300px, 30vw, 460px);
  height: min(62vh, 600px);
  overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px; isolation: isolate;
  background: var(--ink-3);
}
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: saturate(0.9); }
.scard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,26,58,.5), rgba(11,26,58,.15) 40%, rgba(11,26,58,.92)); transition: background .6s; }
.scard:hover img { transform: scale(1); }
.scard:hover::before { background: linear-gradient(180deg, rgba(168,18,26,.55), rgba(11,26,58,.2) 40%, rgba(11,26,58,.92)); }
.scard__top { display: flex; justify-content: flex-end; }
.scard h3 { margin-bottom: 12px; }
.scard p { color: rgba(244,246,251,.78); font-size: 15px; line-height: 1.5; max-width: 340px; }
.scard__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.scard:hover .scard__go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.scard--end { background: var(--red); justify-content: flex-end; }
.scard--end::before { display: none; }
.scard--end h3 { font-size: clamp(34px, 3vw, 48px); line-height: 1; letter-spacing: -0.04em; }

/* ---------- Lane map ---------- */
.lanes { display: grid; gap: clamp(32px, 4vw, 56px); }
.lanes__note { margin-top: -12px; font-size: 13px; color: var(--muted); }
.map { position: relative; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.map svg { width: 100%; height: auto; }
.map__us { stroke: #2c427a; }
.map__ca { stroke: #7183ad; }
.city.minor text { opacity: 0; transition: opacity .3s; }
.city.minor.is-active text { opacity: 1; }
.map__hud { position: absolute; left: 20px; top: 18px; right: 20px; display: flex; justify-content: space-between; gap: 16px; pointer-events: none; }
.map__hud .mono, .map__legend { color: var(--text); font-size: 13px; font-weight: 500; }
.map__live { display: inline-flex; align-items: center; gap: 10px; }
.map__readout { position: absolute; left: 20px; bottom: 18px; pointer-events: none; }
.map__readout b { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.map__legend { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 18px; pointer-events: none; }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.map__legend i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.arc { fill: none; stroke: rgba(215,25,32,.35); stroke-width: 1.4; transition: stroke .3s, stroke-width .3s; }
.arc.is-active { stroke: var(--red); stroke-width: 2.4; }
.city { cursor: pointer; outline: none; }
.city circle { fill: #fff; transition: r .3s; }
.city circle.hit { fill: transparent; }
.city:focus-visible circle:not(.hit) { fill: var(--red); }
.city text { font-family: var(--f-mono); font-size: 10.5px; fill: rgba(244,246,251,.55); letter-spacing: 0.04em; transition: fill .3s; }
.city.is-active text { fill: #fff; }
.city.is-active circle:not(.hit) { fill: var(--red); }
.hub circle.core { fill: var(--red); }
.hub circle.ring { fill: none; stroke: var(--red); transform-box: fill-box; transform-origin: center; animation: ring 2.4s var(--ease) infinite; }
.hub circle.ring:nth-of-type(2) { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.hub text { font-family: var(--f-sans); font-weight: 700; font-size: 16px; fill: #fff; letter-spacing: -0.01em; }
.truck-dot { fill: #fff; }

/* ---------- Image band ---------- */
.band { position: relative; height: clamp(520px, 92vh, 960px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.band__media { position: absolute; inset: -10% 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,26,58,.92) 0%, rgba(11,26,58,.2) 55%, rgba(11,26,58,.35) 100%); }
.band__in { padding-bottom: clamp(48px, 7vw, 100px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.band__in > :first-child { grid-column: 1 / span 8; }
.band__in > :last-child { grid-column: 9 / span 4; color: rgba(244,246,251,.8); }

/* ---------- Pillars / cards grid ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 40px 0; border-right: 1px solid var(--line); min-height: 320px; display: flex; flex-direction: column; }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar__n { font-family: var(--f-mono); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.pillar h3 { margin: auto 0 14px; padding-top: 64px; }
.pillar p { color: var(--muted); font-size: 15.5px; }
.light .pillars, .light .pillar { border-color: var(--line-dark); }
.light .pillar p { color: var(--muted-dark); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.split__media { grid-column: 1 / span 6; position: relative; overflow: hidden; aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 118%; object-fit: cover; }
.split__body { grid-column: 8 / span 5; }
.split--rev .split__media { grid-column: 7 / span 6; order: 2; }
.split--rev .split__body { grid-column: 1 / span 5; order: 1; }
.split__body .eyebrow { margin-bottom: 24px; }
.split__body .h2 { margin-bottom: 28px; }
.split__body p + p { margin-top: 18px; }
.split__body p { color: var(--muted); }
.light .split__body p { color: var(--muted-dark); }
.split__body p.story__close { margin-top: 28px; color: var(--text); font-style: italic; font-weight: 500; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.45; }
.tag { position: absolute; left: 16px; top: 16px; background: rgba(11,26,58,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; padding: 8px 12px; }

/* ---------- Service detail rows ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(11,26,58,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .6s var(--ease); }
.header.is-hidden ~ main .subnav { top: 0; }
.svc-list { position: relative; }
.subnav__in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: 13.5px; padding: 8px 14px; color: var(--muted); border: 1px solid transparent; transition: color .3s, border-color .3s; white-space: nowrap; }
.subnav a:hover { color: #fff; }
.subnav a.is-active { color: #fff; border-color: var(--line); }
.subnav a small { font-family: var(--f-mono); color: var(--red); margin-right: 6px; font-size: 11px; }

.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); padding-block: clamp(64px, 9vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 60px); }
.svc__n { grid-column: 1 / span 1; font-family: var(--f-mono); font-size: 13px; color: var(--red); letter-spacing: .08em; }
.svc__body { grid-column: 1 / span 6; }
.svc__body .h2 { margin-bottom: 24px; }
.svc__body > p { color: var(--muted); }
.svc__media { grid-column: 8 / span 5; position: relative; overflow: hidden; aspect-ratio: 5/6; align-self: start; }
.svc__media img { width: 100%; height: 115%; object-fit: cover; }
.svc:nth-of-type(even) .svc__media { grid-column: 1 / span 5; grid-row: 1; }
.svc:nth-of-type(even) .svc__body { grid-column: 7 / span 6; grid-row: 1; }
.svc:nth-of-type(even) .svc__n { grid-column: 12 / span 1; grid-row: 1; text-align: right; }
.checks { margin-top: 32px; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.checks li::before { content: ""; width: 10px; height: 2px; background: var(--red); margin-top: 12px; }
.light .checks, .light .checks li { border-color: var(--line-dark); }
.svc__specs { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc__specs div { background: var(--ink); padding: 16px; }
.svc__specs dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.svc__specs dd { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }

/* ---------- Spec table ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-dark); }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td { text-align: left; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.table th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); font-weight: 400; }
.table td:first-child { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.table td { font-size: 15.5px; }
.table tr { transition: background .3s; }
.table tbody tr:hover { background: rgba(11,26,58,.04); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 24px; align-items: center; padding: 26px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq details[open] summary { color: #fff; }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 28px; max-width: 760px; }

/* ---------- Roles (careers) ---------- */
.roles { border-top: 1px solid var(--line-dark); }
.role { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: var(--gutter); padding: 36px 0; border-bottom: 1px solid var(--line-dark); align-items: start; }
.role h3 { margin-bottom: 8px; }
.role__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.role__tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line-dark); }
.role p { color: var(--muted-dark); }
.role .btn { justify-self: end; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0 12px; font-size: 18px; color: var(--text); border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ecebe7' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.field select option { background: var(--ink-2); color: var(--text); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,246,251,.28); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line); font-size: 14.5px; cursor: pointer; transition: background .3s, border-color .3s, color .3s; user-select: none; }
.chip span:hover { border-color: rgba(255,255,255,.4); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.qform { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 3.4vw, 48px); }
.qform__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 36px; }
.qform__steps button { text-align: left; padding-top: 12px; border-top: 2px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s, border-color .3s; }
.qform__steps button.is-on { border-color: var(--red); color: var(--text); }
.qform__pane { display: none; }
.qform__pane.is-on { display: grid; gap: 24px; animation: paneIn .6s var(--ease); }
html:not(.js) .qform__pane { display: grid; gap: 24px; margin-bottom: 32px; }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } }
.qform__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; gap: 12px; flex-wrap: wrap; }
.qform__done { display: none; text-align: left; padding: 24px 0; }
.qform.is-sent .qform__done { display: block; }
.qform.is-sent form { display: none; }
.form__note { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cinfo { display: grid; border-top: 1px solid var(--line); }
.cinfo__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cinfo__item .mono { color: var(--muted); display: block; margin-bottom: 6px; }
.cinfo__item a, .cinfo__item address { font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.015em; font-style: normal; line-height: 1.3; word-break: break-word; }
.cinfo__item a:hover { color: var(--red); }
.cinfo__item a.copy { font-size: 11px; font-weight: 400; letter-spacing: .1em; }
.cinfo__item a.copy:hover { color: #fff; }
.copy { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border: 1px solid var(--line); transition: color .3s, border-color .3s; }
.copy:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.mapframe { position: relative; height: clamp(360px, 60vh, 620px); overflow: hidden; background: var(--ink-2); }
.mapframe iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.mapframe__card { position: absolute; left: var(--gutter); bottom: var(--gutter); background: var(--ink); padding: 24px 28px; max-width: 360px; border-left: 3px solid var(--red); }
.hours { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hours > div { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); }
.hours > div + div { padding-left: 24px; }
.hours > div:last-child { border-right: 0; }
.hours b { display: block; font-size: 22px; letter-spacing: -.02em; margin: 8px 0 6px; }
.hours p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; isolation: isolate; }
.cta__mark { position: absolute; right: -6%; top: 50%; width: min(56vw, 760px); transform: translateY(-50%); opacity: .12; z-index: -1; filter: brightness(0); }
.cta__in { padding-block: clamp(88px, 12vw, 170px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.cta__in .display { grid-column: 1 / span 9; font-size: clamp(52px, 9vw, 160px); }
.cta__in .display em { color: var(--ink); }
.cta__side { grid-column: 10 / span 3; display: grid; gap: 14px; }
.cta__side p { color: rgba(255,255,255,.85); margin-bottom: 8px; }
.cta .btn { --bg: var(--ink); --fg: #fff; }
.cta .btn::before { background: #fff; }
.cta .btn--ghost { --bg: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding-top: clamp(72px, 9vw, 120px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)) minmax(0, 2fr); gap: var(--gutter); padding-bottom: clamp(56px, 7vw, 96px); }
.footer__lead p { color: var(--muted); max-width: 340px; margin-top: 22px; font-size: 15.5px; }
.footer h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer li a, .footer address { font-size: 15px; color: rgba(244,246,251,.85); font-style: normal; line-height: 1.55; transition: color .3s; }
.footer li a:hover { color: var(--red); }
.footer__word { position: relative; font-weight: 900; font-style: italic; font-stretch: 112%; font-size: clamp(72px, 19.5vw, 360px); line-height: .78; letter-spacing: -0.055em; color: transparent; -webkit-text-stroke: 1px rgba(244,246,251,.16); white-space: nowrap; text-align: center; margin-bottom: -0.06em; user-select: none; }
.footer__word span { display: inline-block; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Reveal defaults (JS adds .js to html) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal="fade"] { transform: none; }
.js [data-clip] { clip-path: inset(100% 0 0 0); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav, .header__phone { display: none; }
  .header__cta { margin-left: auto; gap: 12px; }
  .burger { display: block; margin-left: 0; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__lead { grid-column: 1 / -1; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .light .pillar:nth-child(n+3) { border-color: var(--line-dark); }
  .cta__in .display { grid-column: 1 / -1; }
  .cta__side { grid-column: 1 / span 6; }
}
@media (max-width: 960px) {
  .hero__row { grid-template-columns: minmax(0, 1fr); }
  .hero__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__bar > div:nth-child(2) { border-right: 0; }
  .hero__bar > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .hero__bar > div:nth-child(4) { border-top: 1px solid var(--line); }
  .manifesto__label, .manifesto__text, .manifesto__foot { grid-column: 1 / -1; }
  .manifesto__foot { grid-template-columns: minmax(0, 1fr); }
  .shead__l, .shead__r { grid-column: 1 / -1; }
  .band__in > :first-child, .band__in > :last-child { grid-column: 1 / -1; }
  .split__media, .split__body, .split--rev .split__media, .split--rev .split__body { grid-column: 1 / -1; order: 0; }
  .split__media { aspect-ratio: 4/3; margin-bottom: 16px; }
  .svc, .svc:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .svc__n, .svc__body, .svc__media, .svc:nth-of-type(even) .svc__n, .svc:nth-of-type(even) .svc__body, .svc:nth-of-type(even) .svc__media { grid-column: 1 / -1; grid-row: auto; text-align: left; }
  .svc__media { aspect-ratio: 4/3; order: -1; }
  .svc:nth-of-type(even) .svc__media { order: -1; }
  .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .role { grid-template-columns: minmax(0, 1fr); }
  .role .btn { justify-self: start; }
  .hours { grid-template-columns: minmax(0, 1fr); }
  .hours > div, .hours > div + div { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cta__side { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .header .btn { display: none; }
  .brand__mark { width: 36px; }
  .brand__name { font-size: 24px; }
  .lang button { padding: 6px 8px; }
  .hero__meta { display: none; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__bar > div { padding: 14px 0 16px 14px; }
  .hs__progress { width: 100px; }
  .scard { width: 82vw; height: 58vh; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 28px 0 32px; border-right: 0; min-height: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .light .pillar + .pillar { border-color: var(--line-dark); }
  .pillar h3 { padding-top: 32px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc__specs div { padding: 12px 10px; }
  .svc__specs dd { font-size: 14px; }
  .hero::before { background: linear-gradient(0deg, rgba(11,26,58,1) 0%, rgba(11,26,58,.82) 45%, rgba(11,26,58,.2) 75%, rgba(11,26,58,.5) 100%); }
  /* map: labels sit above/below the map so they never cover it */
  .map { display: flex; flex-direction: column; }
  .map svg { order: 1; }
  .map__hud, .map__readout, .map__legend { position: static; padding: 12px 14px; }
  .map__hud { order: 0; flex-wrap: wrap; gap: 6px 16px; border-bottom: 1px solid var(--line); }
  .map__readout { order: 2; border-top: 1px solid var(--line); }
  .map__legend { order: 3; padding-top: 0; }
  .link-u { white-space: normal; }
  .city text { font-size: 30px; opacity: 0; paint-order: stroke; stroke: var(--ink-2); stroke-width: 8px; }
  .city.is-active text { opacity: 1; }
  .hub text { font-size: 32px; paint-order: stroke; stroke: var(--ink-2); stroke-width: 8px; }
  .city circle:not(.hit) { r: 7; }
  .mapframe__card { right: var(--gutter); }
  .qform__steps button { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal], .js [data-clip] { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Two-column helper (FAQ etc.) ---------- */
.faqwrap__l { grid-column: 1 / span 4; }
.faqwrap__r { grid-column: 6 / span 7; }
@media (max-width: 960px) {
  .faqwrap__l, .faqwrap__r { grid-column: 1 / -1; }
  .faqwrap__r { margin-top: 32px; }
}
.field label.chip { font-family: var(--f-sans); font-size: 14.5px; letter-spacing: 0; text-transform: none; color: var(--text); }

/* ==========================================================================
   Round 3: white sections, new About / Services / Careers blocks
   ========================================================================== */
/* white-section variants */
.light .manifesto__text .w { color: rgba(20, 39, 90, 0.14); }
.light .manifesto__text .w.on { color: var(--navy); }
.light .manifesto__text .w.red.on { color: var(--red); }
html:not(.js) .light .manifesto__text .w { color: var(--navy); }
.light .figure-fact p, .light .lanes__note { color: var(--muted-dark); }
.light .faq, .light .faq details { border-color: var(--line-dark); }
.light .faq details[open] summary { color: var(--navy); }
.light .faq__a p { color: var(--muted-dark); }
.light.svc-list .svc { border-color: var(--line-dark); }
.light.svc-list .svc__body > p { color: var(--muted-dark); }
.light .tag { background: rgba(11, 26, 58, 0.75); }
.light .split__body p.story__close { color: var(--navy); }

/* short red rule under a section title */
.rule { display: block; width: 72px; height: 3px; background: var(--red); margin-top: 22px; }

/* Icon points (falcon, values, careers) */
.ipoints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.ipoints--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ipoint { padding: 32px 28px 36px; border-right: 1px solid var(--line); }
.ipoints--4 > .ipoint:nth-child(4n+1), .ipoints--3 > .ipoint:nth-child(3n+1) { padding-left: 0; }
.ipoints--4 > .ipoint:nth-child(4n), .ipoints--3 > .ipoint:nth-child(3n) { border-right: 0; }
.ipoints--3 > .ipoint:nth-child(n+4) { border-top: 1px solid var(--line); }
.ipoint__ic { width: 44px; height: 44px; color: var(--red); margin-bottom: 22px; }
.ipoint h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.ipoint p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.ipoint p strong { color: var(--text); font-weight: 600; }
.light .ipoints, .light .ipoint { border-color: var(--line-dark); }
.light .ipoint p { color: var(--muted-dark); }
.light .ipoint p strong { color: var(--navy); }

/* Our Purpose */
.purpose__head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 72px); display: grid; justify-items: center; gap: 22px; }
.purpose__head p { color: var(--muted-dark); font-size: clamp(18px, 1.5vw, 22px); }
.purpose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pcard { border-radius: 20px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line-dark); background: #fff; }
.pcard--navy { background: var(--ink); color: var(--text); border-color: var(--ink); }
.pcard__ic { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: rgba(215, 25, 32, 0.1); color: var(--red); margin-bottom: clamp(28px, 4vw, 48px); }
.pcard--navy .pcard__ic { background: rgba(255, 255, 255, 0.08); }
.pcard__ic svg { width: 30px; height: 30px; }
.pcard h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 18px; }
.pcard p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--muted-dark); }
.pcard--navy p { color: rgba(244, 246, 251, 0.85); }

/* Services: tagline + closing line */
.svc__tag { display: block; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.01em; color: var(--red); margin-bottom: 22px; line-height: 1.3; }
.svc__body > p + p { margin-top: 16px; }
.svc__body > p.svc__close { margin-top: 24px; font-style: italic; font-weight: 500; color: var(--text); }
.light.svc-list .svc__body > p.svc__close { color: var(--navy); }

/* Why choose us cards */
.wcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.wcard { position: relative; overflow: hidden; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 24px; align-items: start; padding: 30px 32px 44px; background: #fff; border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: 0 10px 30px rgba(20, 39, 90, 0.06); }
.wcard::after { content: ""; position: absolute; right: -30px; bottom: -34px; width: 200px; height: 70px; background: linear-gradient(170deg, transparent 40%, #c9ced9 41%, #c9ced9 46%, transparent 47%, transparent 53%, var(--red-deep) 54%, var(--red) 100%); border-radius: 50% 0 0 0; transform: rotate(-8deg); pointer-events: none; }
.wcard__ic { width: 76px; height: 76px; border-radius: 16px; background: var(--paper-2); color: var(--red); display: grid; place-items: center; }
.wcard__ic svg { width: 38px; height: 38px; }
.wcard__body { border-left: 2px solid var(--line-dark); padding-left: 24px; position: relative; z-index: 1; }
.wcard h3 { font-size: clamp(21px, 1.7vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy); margin-bottom: 10px; }
.wcard p { color: var(--muted-dark); font-size: 16.5px; line-height: 1.55; max-width: 420px; }

@media (max-width: 1180px) {
  .ipoints--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ipoints--4 > .ipoint { padding-left: 28px; border-right: 1px solid var(--line); }
  .ipoints--4 > .ipoint:nth-child(odd) { padding-left: 0; }
  .ipoints--4 > .ipoint:nth-child(even) { border-right: 0; }
  .ipoints--4 > .ipoint:nth-child(n+3) { border-top: 1px solid var(--line); }
  .light .ipoints--4 > .ipoint { border-color: var(--line-dark); }
}
@media (max-width: 960px) {
  .purpose__grid, .wcards { grid-template-columns: minmax(0, 1fr); }
  .ipoints--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ipoints--3 > .ipoint { padding-left: 28px; border-right: 1px solid var(--line); border-top: 0; }
  .ipoints--3 > .ipoint:nth-child(odd) { padding-left: 0; }
  .ipoints--3 > .ipoint:nth-child(even) { border-right: 0; }
  .ipoints--3 > .ipoint:nth-child(n+3) { border-top: 1px solid var(--line); }
  .light .ipoints--3 > .ipoint { border-color: var(--line-dark); }
}
@media (max-width: 640px) {
  .ipoints--4, .ipoints--3 { grid-template-columns: minmax(0, 1fr); }
  .ipoints--4 > .ipoint, .ipoints--3 > .ipoint { padding: 26px 0 28px; border-right: 0; border-top: 0; }
  .ipoints > .ipoint + .ipoint { border-top: 1px solid var(--line); }
  .light .ipoints > .ipoint + .ipoint { border-color: var(--line-dark); }
  .wcard { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px 22px 48px; }
  .wcard__body { border-left: 0; padding-left: 0; }
  .eyebrow { font-size: 12.5px; padding: 8px 14px 8px 12px; }
  .phero__crumb { font-size: 13px; }
}

/* header: keep nav items on one line now the font is larger */
.nav a, .header__phone { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 1181px) {
  .header__in { gap: 20px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 11px; }
  .nav a::before { left: 11px; right: 11px; }
  .header__phone { display: none; }
}

/* new SAPSAN LOGISTICS wordmark (white version on the navy header/footer) */
.brand__logo { height: 70px; width: auto; display: block; }
.footer .brand__logo { height: 92px; }
@media (max-width: 640px) {
  .brand__logo { height: 50px; }
  .footer .brand__logo { height: 70px; }
}

/* home hero photo (white truck on highway): keep the truck clear of the headline */
.hero__media img { object-position: 8% 50%; transform-origin: 30% 50%; }
@media (max-width: 960px) { .hero__media img { object-position: 64% 50%; } }
@media (max-width: 640px) { .hero__media img { object-position: 70% 50%; } }
