/* ==========================================================================
   MAGNUM LOGISTICS — main stylesheet
   Asphalt / paper / signal orange. Archivo (variable width) + JetBrains Mono.
   ========================================================================== */

/* ---------- Fonts (self-hosted: no requests to Google) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jbmono-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jbmono-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --c-asphalt: #0E0F11;
  --c-asphalt-2: #15171A;
  --c-graphite: #1E2124;
  --c-concrete: #9EA1A5;
  --c-paper: #EDEAE3;
  --c-paper-2: #E3DFD6;
  --c-card: #F6F4EF;
  --c-ink: #111214;
  --c-ink-2: #4A4D52;
  --c-signal: #FF5A1F;
  --c-signal-ink: #B83A0C;
  --c-error: #B42318;
  --line-dark: rgba(237, 234, 227, 0.14);
  --line-dark-strong: rgba(237, 234, 227, 0.32);
  --line: rgba(17, 18, 20, 0.16);
  --line-strong: rgba(17, 18, 20, 0.4);

  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1520px;
  --col-gap: clamp(16px, 2vw, 32px);
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 176px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--c-asphalt);
  color: var(--c-paper);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Film grain — breaks the flat digital look of large dark surfaces. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  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)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
main:focus, [tabindex='-1']:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--c-signal);
  outline-offset: 3px;
}
.is-light :focus-visible { outline-color: var(--c-signal-ink); }

::selection { background: var(--c-signal); color: var(--c-ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--c-signal);
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

.is-light {
  background: var(--c-paper);
  color: var(--c-ink);
  color-scheme: light;
}

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(2.1rem, 1.15rem + 3.5vw, 4.75rem);
  line-height: 0.98;
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  text-wrap: balance;
  hyphens: manual;
}
.eyebrow,
.section-head,
.waybill,
.hero__meta,
.hero__kicker,
.tags,
.svc__top,
.dest__country,
.dest__km,
.network__note,
.services__count,
.step__t + p::before,
.footer__h,
.footer__bottom,
.label-card__head,
.legal__toc-title,
.crumbs,
.legal-hero__date,
.field label .opt,
.fine {
  font-family: var(--font-mono);
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-signal);
  margin-bottom: 20px;
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 650;
  font-stretch: 104%;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover, var(--c-paper));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn .icon { transition: transform 0.35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn:disabled { opacity: 0.6; cursor: progress; }

.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.875rem; gap: 10px; }
.btn--lg { min-height: 60px; padding: 0 28px; font-size: 1rem; }
.btn--signal { --btn-bg: var(--c-signal); --btn-fg: var(--c-ink); --btn-hover: var(--c-paper); }
.btn--ghost { --btn-fg: var(--c-paper); --btn-hover: var(--c-paper); border-color: var(--line-dark-strong); }
.btn--ghost:hover { color: var(--c-ink); border-color: var(--c-paper); }
.btn--ink { --btn-bg: var(--c-ink); --btn-fg: var(--c-paper); --btn-hover: var(--c-signal); }
.btn--ink:hover { color: var(--c-ink); }
.btn--line { --btn-fg: var(--c-ink); --btn-hover: var(--c-ink); border-color: var(--c-ink); }
.btn--line:hover { color: var(--c-paper); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  transition: color 0.25s, gap 0.35s var(--ease-out);
}
.link-arrow:hover { gap: 16px; color: var(--c-signal); }
.is-light .link-arrow:hover { color: var(--c-signal-ink); }

.link-button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--c-paper);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease-out), background-color 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
.site-header.is-solid {
  background: rgba(14, 15, 17, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--line-dark);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__mark { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__word {
  font-weight: 850;
  font-stretch: 125%;
  font-size: 1.14rem;
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--c-concrete);
  margin-top: 5px;
}
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 520;
  text-decoration: none;
  color: rgba(237, 234, 227, 0.82);
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--c-signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover { color: var(--c-paper); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang { display: flex; border: 1px solid var(--line-dark-strong); }
.lang a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 36px;
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--c-concrete);
  transition: color 0.2s, background-color 0.2s;
}
.lang a:hover { color: var(--c-paper); }
.lang a[aria-current] { background: var(--c-paper); color: var(--c-ink); }
.lang li + li a { border-left: 1px solid var(--line-dark-strong); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-dark-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .header__lang { display: none; }
  .brand__mark { width: 32px; height: 32px; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--c-asphalt);
  color: var(--c-paper);
  overscroll-behavior: contain;
}
.menu::backdrop { background: rgba(0, 0, 0, 0.6); }
.menu[open] { animation: menu-in 0.45s var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 14px var(--gutter) 32px;
}
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.menu__close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-dark-strong);
  background: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-decoration: none;
}
.menu__links a:hover { color: var(--c-signal); }
.menu__n { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em; color: var(--c-concrete); }
.menu__bottom { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.menu__mail { width: 100%; font-family: var(--font-mono); font-size: 0.875rem; color: var(--c-concrete); }
.lang--lg a { min-width: 52px; min-height: 52px; font-size: 0.85rem; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  padding-top: 14px;
  margin-bottom: clamp(36px, 5vw, 80px);
  border-top: 1px solid var(--line-strong);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-head--dark { border-color: var(--line-dark-strong); }
.section-head__idx { color: var(--c-signal-ink); }
.section-head--dark .section-head__idx { color: var(--c-signal); }
.section-head__label { font: inherit; letter-spacing: inherit; }
.section-head__end { margin-left: auto; color: var(--c-ink-2); }
.section-head--dark .section-head__end { color: var(--c-concrete); }
@media (max-width: 640px) { .section-head__end { display: none; } }

.frame { position: relative; overflow: hidden; background: var(--c-graphite); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame img[data-parallax] {
  position: absolute;
  top: -10%;
  left: 0;
  height: 120%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  color: var(--c-paper);
  background: #0B0C0D;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero__poster, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 15, 17, 0.7) 0%, rgba(14, 15, 17, 0.12) 28%, rgba(14, 15, 17, 0.25) 55%, rgba(14, 15, 17, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 15, 17, 0.72) 0%, rgba(14, 15, 17, 0.1) 65%);
}
.hero__inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(24px, 4vw, 72px);
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 24px;
}
.hero__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding-block: 12px;
  border-block: 1px solid var(--line-dark);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 234, 227, 0.72);
}
.hero__meta span:last-child { margin-left: auto; }
.hero__main { grid-column: 1; grid-row: 3; align-self: end; max-width: 1020px; }
.hero__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-signal);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.hero__title {
  font-size: clamp(2.7rem, 0.9rem + 6vw, 7.6rem);
  line-height: 0.92;
  font-weight: 820;
  font-stretch: 106%;
  letter-spacing: -0.045em;
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.hero__title .line { display: block; overflow: clip; padding-block: 0.06em 0.1em; margin-block: -0.06em -0.1em; }
.hero__title .line__inner { display: inline-block; }
.hero__title .line--accent { color: var(--c-signal); }
.js .hero__title .line__inner { will-change: transform; }
.hero__lead {
  max-width: 54ch;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(237, 234, 227, 0.86);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__bottom {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(28px, 4vw, 56px);
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(237, 234, 227, 0.72);
}
.scroll-cue__line { position: relative; width: 56px; height: 1px; background: var(--line-dark-strong); overflow: hidden; }
.scroll-cue__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-signal);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.video-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark-strong);
  background: rgba(14, 15, 17, 0.4);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.video-toggle:hover { border-color: var(--c-paper); }
.video-toggle .icon { width: 16px; height: 16px; }
.video-toggle__play { display: none; }
.video-toggle[aria-pressed='true'] .video-toggle__pause { display: none; }
.video-toggle[aria-pressed='true'] .video-toggle__play { display: block; }

/* Waybill card */
.waybill {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  width: min(380px, 100%);
  background: rgba(14, 15, 17, 0.66);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line-dark-strong);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.waybill__head {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px dashed var(--line-dark-strong);
  color: var(--c-concrete);
}
.waybill__route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
  padding: 18px 16px 14px;
}
.waybill__label { display: block; color: var(--c-concrete); margin-bottom: 6px; }
.waybill__label small { font-size: inherit; text-transform: none; }
.waybill__cell strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.55rem;
  font-weight: 760;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: none;
  color: var(--c-paper);
  white-space: nowrap;
}
.waybill__cell--dest { text-align: right; }
.waybill__cell--dest strong { color: var(--c-signal); }
.waybill__cc { display: inline-block; margin-top: 6px; padding: 2px 6px; border: 1px solid var(--line-dark-strong); }
.waybill__arrow { position: relative; display: grid; place-items: center; width: 64px; height: 24px; margin-bottom: 26px; color: var(--c-paper); }
.waybill__arrow > span { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--line-dark-strong); }
.waybill__arrow .icon { position: relative; width: 20px; height: 20px; padding: 2px; background: var(--c-asphalt); }
.waybill__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--line-dark);
}
.waybill__row .waybill__label { margin: 0; }
.waybill__km { font-size: 0.95rem; color: var(--c-paper); letter-spacing: 0.02em; }
.waybill__bar { height: 2px; margin: 0 16px; background: var(--line-dark); overflow: hidden; }
.waybill__bar span { display: block; height: 100%; background: var(--c-signal); transform: scaleX(0); transform-origin: left; }
.waybill__bar span.is-running { animation: wb-bar var(--wb-dur, 3.4s) linear forwards; }
.waybill.is-paused .waybill__bar span { animation-play-state: paused; }
@keyframes wb-bar { to { transform: scaleX(1); } }
.waybill__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 16px;
}
.waybill__clock { font-size: 0.95rem; color: var(--c-paper); letter-spacing: 0.04em; }
.waybill .barcode { width: 120px; height: 30px; color: var(--c-paper); opacity: 0.75; }

@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto auto; }
  .waybill { grid-column: 1; grid-row: 4; margin-top: 32px; }
  .hero__bottom { grid-row: 5; }
}
@media (max-width: 560px) {
  .hero__meta span:nth-child(2) { display: none; }
  .waybill { width: 100%; }
  .waybill__cell strong { font-size: 1.3rem; }
  .waybill__arrow { width: 44px; }
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--c-signal);
  color: var(--c-ink);
  border-block: 1px solid #000;
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 28px 14px 0;
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.35rem);
  font-weight: 780;
  font-stretch: 122%;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after { content: ''; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(48px, 7vw, 120px);
}
.about__statement {
  grid-column: 1 / -1;
  font-size: clamp(1.55rem, 0.95rem + 2.5vw, 3.45rem);
  line-height: 1.12;
  font-weight: 520;
  letter-spacing: -0.028em;
  text-indent: clamp(0px, 16vw, 280px);
  text-wrap: pretty;
}
.about__statement .w { text-indent: 0; will-change: opacity; }
.facts { grid-column: 1 / span 4; align-self: end; }
.fact { padding: 18px 0; border-top: 1px solid var(--line-strong); }
.fact:last-child { border-bottom: 1px solid var(--line-strong); }
.fact dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-2); margin-bottom: 6px; }
.fact dd { font-size: 1.2rem; font-weight: 640; letter-spacing: -0.01em; }
.about__figure { grid-column: 6 / -1; }
.about__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
@media (max-width: 900px) {
  .facts, .about__figure { grid-column: 1 / -1; }
  .about__statement { text-indent: 0; }
}

/* ---------- Services ---------- */
.services { background: var(--c-asphalt); }
.services__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--col-gap);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.services__lead { max-width: 46ch; color: rgba(237, 234, 227, 0.78); justify-self: end; }
.services__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--col-gap);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.svc {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--c-asphalt-2);
  border: 1px solid var(--line-dark);
  transition: border-color 0.4s;
}
.svc:hover { border-color: var(--line-dark-strong); }
.svc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-graphite); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.6vw, 40px); }
.svc__top { display: flex; justify-content: space-between; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--c-concrete); }
.svc__abbr { color: var(--c-signal); }
.svc__title {
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.85rem);
  line-height: 1;
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.svc__text { color: rgba(237, 234, 227, 0.76); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 6px 10px;
  border: 1px solid var(--line-dark-strong);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 234, 227, 0.82);
}
.svc .link-arrow { margin-top: auto; }
.services__progress { display: none; }

/* Horizontal mode — added by JS on wide screens with motion allowed */
.services.is-horizontal .services__viewport { overflow: hidden; }
.services.is-horizontal .services__track {
  display: flex;
  width: max-content;
  max-width: none;
  gap: 24px;
  padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter));
  will-change: transform;
}
.services.is-horizontal .svc {
  width: min(74vw, 1120px);
  height: min(70vh, 640px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: none;
}
.services.is-horizontal .svc__media { aspect-ratio: auto; height: 100%; }
.services.is-horizontal .svc__body { justify-content: flex-start; }
.services.is-horizontal .services__progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.services__bar { flex: 1; height: 1px; background: var(--line-dark-strong); }
.services__bar > span { display: block; height: 100%; background: var(--c-signal); transform: scaleX(0); transform-origin: left; }
.services__count { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--c-concrete); }
.services__count [data-svc-count] { color: var(--c-paper); }

@media (max-width: 900px) {
  .services__intro { grid-template-columns: 1fr; }
  .services__lead { justify-self: start; }
  .services__track { grid-template-columns: 1fr; }
}

/* ---------- Network ---------- */
.network { background: var(--c-asphalt-2); }
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.network__lead { margin: 24px 0 clamp(32px, 4vw, 56px); max-width: 48ch; color: rgba(237, 234, 227, 0.78); }
.dest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--col-gap); }
.dest__group:first-child { grid-row: span 2; }
.dest__country {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark-strong);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-concrete);
}
.dest__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.dest__name { font-size: 1.12rem; font-weight: 620; letter-spacing: -0.01em; }
.dest__dots { flex: 1; min-width: 12px; border-bottom: 1px dotted var(--line-dark-strong); transform: translateY(-4px); }
.dest__km { font-size: 0.78rem; color: var(--c-concrete); white-space: nowrap; transition: color 0.2s; }
.dest__item:hover, .dest__item[aria-pressed='true'] { color: var(--c-signal); }
.dest__item:hover .dest__km, .dest__item[aria-pressed='true'] .dest__km { color: var(--c-signal); }
.network__note { margin-top: 28px; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--c-concrete); }

.network__map { position: sticky; top: calc(var(--header-h) + 24px); }
.map { width: 100%; height: auto; color: var(--c-paper); overflow: hidden; }
.map__ctx { fill: url(#dots-ctx); opacity: 0.22; }
.map__focus { fill: url(#dots-focus); opacity: 0.55; stroke: rgba(237, 234, 227, 0.3); stroke-width: 0.9; }
.map__glow { opacity: 0.9; }
.map__route {
  fill: none;
  stroke: var(--c-signal);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.6;
  transition: opacity 0.3s, stroke-width 0.3s;
}
.map__packet { fill: var(--c-paper); opacity: 0; transition: opacity 0.6s; }
.map.is-live .map__packet { opacity: 0.85; }
.map__city circle { fill: var(--c-asphalt-2); stroke: var(--c-paper); stroke-width: 2.5; transition: fill 0.2s; }
.map__city text, .map__hub text {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  fill: var(--c-paper);
  paint-order: stroke;
  stroke: var(--c-asphalt-2);
  stroke-width: 5px;
  stroke-linejoin: round;
}
.map__hub rect { fill: var(--c-signal); }
.map__hub text { font-size: 24px; font-weight: 700; }
.map__hub .map__hub-sub { font-size: 14px; font-weight: 400; fill: var(--c-signal); letter-spacing: 0.16em; }
.map__ring {
  fill: none;
  stroke: var(--c-signal);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring 2.8s var(--ease-out) infinite;
}
.map__ring--2 { animation-delay: 1.4s; }
@keyframes ring { from { transform: scale(0.6); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.map.has-active .map__route { opacity: 0.14; }
.map.has-active .map__packet { opacity: 0.15; }
.map.has-active .map__city { opacity: 0.4; }
.map .map__route.is-active { opacity: 1; stroke-width: 3.5; }
.map .map__city.is-active { opacity: 1; }
.map .map__city.is-active circle { fill: var(--c-signal); stroke: var(--c-signal); }

@media (max-width: 960px) {
  .network__grid { grid-template-columns: 1fr; }
  .network__map { position: relative; top: 0; order: -1; }
}
@media (max-width: 560px) {
  .dest { grid-template-columns: 1fr; }
  .dest__group:first-child { grid-row: auto; }
  .map__city text { font-size: 30px; }
  .map__city--minor text { display: none; }
  .map__hub text { font-size: 34px; }
  .map__hub .map__hub-sub { display: none; }
}

/* ---------- Method ---------- */
.method__title { max-width: 18ch; margin-bottom: clamp(56px, 8vw, 120px); }
.steps-wrap { position: relative; --p: 1; }
.steps__road {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 44px;
  container-type: inline-size;
}
.steps__road::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 21px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-ink) 0 22px, transparent 22px 36px);
  opacity: 0.35;
}
.steps__progress {
  position: absolute;
  left: 0; right: 0; top: 21px;
  height: 2px;
  background: var(--c-signal-ink);
  transform: scaleX(var(--p));
  transform-origin: left;
}
.steps__truck {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--c-ink);
  color: var(--c-paper);
  transform: translateX(calc(var(--p) * (100cqw - 44px)));
}
.steps__truck .icon { width: 22px; height: 22px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); counter-reset: step; }
.step { padding-top: 88px; }
.step__n {
  display: block;
  font-size: clamp(3.2rem, 2rem + 4vw, 6.2rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-ink);
  margin-bottom: 24px;
}
.step__t { font-size: 1.45rem; font-weight: 720; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--c-ink-2); max-width: 32ch; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps__road { left: 0; right: auto; top: 0; bottom: 0; width: 44px; height: auto; container-type: size; }
  .steps__road::before, .steps__progress { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__road::before { background: repeating-linear-gradient(180deg, var(--c-ink) 0 22px, transparent 22px 36px); }
  .steps__progress { transform: scaleY(var(--p)); transform-origin: top; }
  .steps__truck { transform: translateY(calc(var(--p) * (100cqh - 44px))) rotate(90deg); }
  .step { padding: 0 0 48px 76px; }
  .step__n { font-size: 3rem; margin-bottom: 14px; }
}

/* ---------- Statement (video break) ---------- */
.statement {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--c-paper);
  background: var(--c-asphalt);
}
.statement__media { position: absolute; inset: -6% 0; z-index: -2; }
.statement__video { width: 100%; height: 100%; object-fit: cover; }
.statement__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(14, 15, 17, 0.94) 0%, rgba(14, 15, 17, 0.45) 55%, rgba(14, 15, 17, 0.35) 100%);
}
.statement__inner { padding-block: clamp(96px, 14vw, 200px) clamp(64px, 8vw, 120px); }
.statement__title {
  max-width: 15ch;
  font-size: clamp(2.5rem, 1rem + 5.4vw, 7rem);
  font-weight: 820;
  font-stretch: 110%;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.statement__text { max-width: 48ch; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); color: rgba(237, 234, 227, 0.82); }

/* ---------- Values ---------- */
.values__title { max-width: 16ch; margin-bottom: clamp(48px, 6vw, 96px); }
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.value {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 40px) clamp(32px, 3.2vw, 48px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}
.value:hover { background: var(--c-ink); color: var(--c-paper); }
.value:hover p { color: rgba(237, 234, 227, 0.75); }
.value__top { display: flex; justify-content: space-between; align-items: flex-start; }
.value__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid currentColor; }
.value__icon .icon { width: 24px; height: 24px; }
.value:hover .value__icon { color: var(--c-signal); }
.value__n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--c-ink-2); }
.value:hover .value__n { color: var(--c-concrete); }
.value h3 { margin-top: 56px; font-size: 1.5rem; font-weight: 720; letter-spacing: -0.02em; }
.value p { color: var(--c-ink-2); transition: color 0.45s; }
@media (max-width: 960px) { .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .values__grid { grid-template-columns: 1fr; }
  .value { min-height: 0; }
}

/* ---------- Careers ---------- */
.careers { background: var(--c-asphalt); padding-bottom: calc(var(--section-y) + 14px); }
.careers__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 128px);
  align-items: center;
}
.careers__media { margin: 0; }
.careers__text { margin: 24px 0 32px; max-width: 52ch; color: rgba(237, 234, 227, 0.8); }
.checklist { margin-bottom: 36px; border-top: 1px solid var(--line-dark); }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 560;
}
.checklist .icon { color: var(--c-signal); }
.fine { margin-top: 20px; font-size: 0.75rem; color: var(--c-concrete); }
.hazard {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--c-signal) 0 16px, var(--c-asphalt) 16px 32px);
}
@media (max-width: 900px) {
  .careers__grid { grid-template-columns: 1fr; }
  .careers__media { max-width: 480px; }
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 128px);
  align-items: start;
}
.contact__intro { margin: 24px 0 40px; max-width: 44ch; color: var(--c-ink-2); }
.label-card { border: 1.5px solid var(--c-ink); background: var(--c-card); }
.label-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.label-card__list > div { padding: 16px 18px; border-bottom: 1px dashed var(--line-strong); }
.label-card__list dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}
.label-card__list dt .icon { width: 14px; height: 14px; }
.label-card__list dd { font-size: 1.05rem; font-weight: 560; line-height: 1.45; overflow-wrap: anywhere; }
.label-card__list a { text-decoration-color: var(--c-signal-ink); text-underline-offset: 3px; }
.label-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; }
.label-card .barcode { width: 140px; height: 40px; color: var(--c-ink); }

.quote fieldset { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.quote legend {
  width: 100%;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 620; }
.field .req { color: var(--c-signal-ink); margin-left: 2px; }
.field .opt { font-size: 0.7rem; font-weight: 400; color: var(--c-ink-2); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--c-card);
  color: var(--c-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #7A7D82; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--c-ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.45);
}
.field [aria-invalid='true'] { border-color: var(--c-error); box-shadow: inset 3px 0 0 var(--c-error); }
.field__error { font-size: 0.82rem; font-weight: 560; color: var(--c-error); }
.field__error--check { margin: -10px 0 18px 34px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-ink); cursor: pointer; }
.check label { font-size: 0.95rem; cursor: pointer; }
.check a, .gdpr a { text-decoration-color: var(--c-signal-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.gdpr { margin-bottom: 32px; border: 1px solid var(--line-strong); font-size: 0.8rem; }
.gdpr__title {
  padding: 10px 14px;
  background: var(--c-paper-2);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.gdpr table { width: 100%; border-collapse: collapse; }
.gdpr th, .gdpr td { padding: 8px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.gdpr tr:last-child th, .gdpr tr:last-child td { border-bottom: 0; }
.gdpr th { width: 32%; font-weight: 640; }
.gdpr td { color: var(--c-ink-2); }
.quote__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-status {
  flex: 1 1 260px;
  padding: 12px 16px;
  border-left: 3px solid var(--c-ink);
  background: var(--c-card);
  font-size: 0.92rem;
}
.form-status[data-type='success'] { border-color: #1F7A3A; }
.form-status[data-type='error'] { border-color: var(--c-error); color: var(--c-error); }

@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .gdpr th { width: 38%; }
  .quote__submit .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(88px, 10vw, 150px);
  background: var(--c-asphalt);
  color: var(--c-paper);
  overflow: hidden;
}
.footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--col-gap);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line-dark-strong);
}
.footer__cta-title {
  font-size: clamp(2.4rem, 1rem + 4.6vw, 6rem);
  font-weight: 820;
  font-stretch: 112%;
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: clamp(1.35rem, 0.8rem + 2.4vw, 3.1rem);
  font-weight: 700;
  font-stretch: 104%;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--c-signal);
  overflow-wrap: anywhere;
  transition: color 0.25s;
}
.footer__mail:hover { color: var(--c-paper); }
.footer__mail .icon { width: 0.8em; height: 0.8em; transition: transform 0.35s var(--ease-out); }
.footer__mail:hover .icon { transform: translate(3px, -3px); }
.footer__cta-text { margin-top: 10px; color: var(--c-concrete); }
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px var(--col-gap);
  padding-block: clamp(48px, 6vw, 80px);
}
.footer__h {
  margin-bottom: 16px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-concrete);
}
.footer__col ul li + li { margin-top: 4px; }
.footer__col a, .footer__col .link-button {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.95rem;
  text-decoration: none;
  color: rgba(237, 234, 227, 0.86);
  transition: color 0.2s;
}
.footer__col .link-button { text-decoration: none; }
.footer__col a:hover, .footer__col .link-button:hover { color: var(--c-signal); }
.footer__col a[aria-current] { color: var(--c-paper); font-weight: 650; }
.footer__col address { line-height: 1.7; color: rgba(237, 234, 227, 0.86); }
.footer__meta { margin-top: 12px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--c-concrete); }
.footer__word { padding-inline: clamp(8px, 1.5vw, 24px); margin-bottom: -0.6vw; }
.footer__word svg { width: 100%; height: auto; overflow: visible; }
.footer__word text {
  font-family: var(--font-sans);
  font-size: 220px;
  font-weight: 900;
  font-stretch: 125%;
  fill: var(--c-graphite);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-concrete);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.footer__top:hover { color: var(--c-signal); }
@media (max-width: 900px) {
  .footer__cta { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col--wide { grid-column: 1 / -1; }
}

/* ---------- Cookie banner & dialog ---------- */
.cookie {
  position: fixed;
  z-index: 70;
  left: 16px;
  bottom: 16px;
  width: min(520px, calc(100% - 32px));
  padding: 22px;
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1.5px solid var(--c-ink);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.45);
  color-scheme: light;
  animation: cookie-in 0.6s var(--ease-out) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } }
.cookie__title { font-size: 1.15rem; font-weight: 720; margin-bottom: 8px; }
.cookie__text { font-size: 0.9rem; color: var(--c-ink-2); margin-bottom: 16px; }
.cookie__text a { color: var(--c-ink); text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__actions .btn { flex: 1 1 auto; }
.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1.5px solid var(--c-ink);
  background: var(--c-paper);
  color: var(--c-ink);
  color-scheme: light;
}
.cookie-dialog::backdrop { background: rgba(14, 15, 17, 0.7); }
.cookie-dialog__inner { padding: clamp(20px, 4vw, 32px); }
.cookie-dialog h2 { font-size: 1.5rem; font-weight: 760; letter-spacing: -0.02em; margin-bottom: 8px; }
.cookie-dialog > form > p { font-size: 0.92rem; color: var(--c-ink-2); margin-bottom: 20px; }
.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
}
.consent-row:last-of-type { border-bottom: 1px solid var(--line-strong); margin-bottom: 20px; }
.consent-row h3 { font-size: 1rem; font-weight: 700; }
.consent-row p { font-size: 0.85rem; color: var(--c-ink-2); }
.consent-row__always { flex: none; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink-2); }
.switch { position: relative; flex: none; width: 52px; height: 30px; cursor: pointer; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; background: #B9B6AF; transition: background-color 0.25s; }
.switch__track::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 22px; height: 22px;
  background: #fff;
  transition: transform 0.3s var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--c-ink); }
.switch input:checked + .switch__track::after { transform: translateX(22px); background: var(--c-signal); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--c-signal-ink); outline-offset: 3px; }
.cookie-dialog__link { margin-top: 16px; font-size: 0.85rem; }

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 128px)) 0 clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line-strong);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--c-signal-ink); }
.legal-hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.6rem, 1rem + 5.6vw, 6.4rem);
  font-weight: 820;
  font-stretch: 110%;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.legal-hero__date { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--c-ink-2); }
.legal-body { padding-block: clamp(48px, 6vw, 88px) clamp(88px, 10vw, 160px); }
.legal__grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 74ch);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
}
.legal__toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.9rem; }
.legal__toc-title { margin-bottom: 12px; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-2); }
.legal__toc ol { counter-reset: toc; border-left: 1px solid var(--line-strong); }
.legal__toc ol a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--c-ink-2);
  transition: color 0.2s, border-color 0.2s;
}
.legal__toc ol a:hover, .legal__toc ol a.is-current { color: var(--c-ink); border-color: var(--c-signal-ink); }
.legal__others { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.legal__others a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font-weight: 620; text-decoration: none; }
.legal__others a:hover { color: var(--c-signal-ink); }

.prose { font-size: 1.02rem; line-height: 1.72; }
.prose__lede { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 24px; }
.prose section { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 {
  margin: 56px 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prose p + p, .prose p + ul, .prose ul + p, .prose .table-wrap + p, .prose p + .table-wrap, .prose dl + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--c-signal-ink); }
.prose a { text-decoration-color: var(--c-signal-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--c-signal-ink); }
.prose code { font-family: var(--font-mono); font-size: 0.86em; padding: 1px 5px; background: var(--c-paper-2); }
.prose__back { margin-top: 64px; }
.legal-dl {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  border-top: 1px solid var(--line);
}
.legal-dl dt, .legal-dl dd { padding: 10px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { padding-right: 24px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink-2); padding-top: 13px; }
.legal-dl dd { overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-strong); }
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; background: var(--c-paper-2); }
.table-wrap tr:last-child td { border-bottom: 0; }
.todo { padding: 1px 6px; background: #FFE08A; color: var(--c-ink); font-family: var(--font-mono); font-size: 0.85em; }

@media (max-width: 900px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
  .legal-dl { grid-template-columns: 1fr; }
  .legal-dl dt { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; align-items: center; background: var(--c-asphalt); }
.nf__inner { padding-block: calc(var(--header-h) + 64px) 96px; }
.nf__code { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--c-signal); margin-bottom: 20px; }
.nf__title { font-size: clamp(3rem, 1rem + 8vw, 9rem); font-weight: 840; font-stretch: 112%; line-height: 0.9; letter-spacing: -0.05em; margin-bottom: 24px; }
.nf__text { max-width: 44ch; color: rgba(237, 234, 227, 0.8); margin-bottom: 36px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Motion: initial states only when JS + motion are available ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* GSAP animates these in; the delayed keyframe is a safety net in case it never runs. */
  .js .hero__title .line__inner { transform: translateY(105%); animation: reveal-fallback 0s 3.5s forwards; }
  .js .hero__meta > *,
  .js .hero__kicker,
  .js .hero__lead,
  .js .hero__actions,
  .js .waybill,
  .js .hero__bottom { opacity: 0; animation: reveal-fallback 0s 3.5s forwards; }
}
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker__track { animation: none; }
  .map__packet, .map__ring { display: none; }
  .scroll-cue__line::after { display: none; }
}
