/* ==========================================================================
   EAGLETRACK LOGISTICS — "Hoja de ruta"
   Paper, ink and stamp vermilion. Condensed display type, mono manifest data.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plexmono-400-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plexmono-400-latin.woff2) format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plexmono-500-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plexmono-500-latin.woff2) format('woff2');
  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;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ECE8DF;
  --paper-2: #F5F2EB;
  --kraft: #DCD5C5;
  --ink: #141412;
  --ink-2: #26251F;
  --graphite: #5E5C56;
  --rule: rgba(20, 20, 18, .9);
  --rule-soft: rgba(20, 20, 18, .14);
  --signal: #FDC605;          /* brand yellow (from the logo): fills with ink text on top */
  --signal-bright: #FDC605;   /* yellow as line/text colour — only on dark backgrounds */
  --stamp: #141412;           /* rubber-stamp ink */
  --error: #B3300C;           /* form errors (AA on paper) */
  --night: #0F0F0E;
  --on-dark: #ECE8DF;
  --on-dark-muted: #A9A59B;
  --rule-dark: rgba(236, 232, 223, .16);

  --f-sans: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 2.6vw, 40px);
  --maxw: 1680px;
  --header-h: 64px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-stamp: cubic-bezier(.34, 1.56, .64, 1);
  --stamp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23r)'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%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, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .night :focus-visible, .site-footer :focus-visible { outline-color: var(--signal-bright); }

.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; left: 12px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font: 500 .8125rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* ---------- Type primitives ---------- */
.t-display {
  font-family: var(--f-sans);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.003em;
}
.t-wide { font-stretch: 125%; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.t-mono { font-family: var(--f-mono); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; line-height: 1.5; }
.label {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; line-height: 1.3;
}
.label::before { content: ""; width: .75em; height: .75em; background: var(--signal); box-shadow: inset 0 0 0 1px var(--ink); flex: none; }
.on-dark .label::before, .night .label::before { box-shadow: none; }
.h-section {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 8.4vw, 9.5rem); line-height: .9; letter-spacing: -.003em;
}
.lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; font-stretch: 92%; }
.muted { color: var(--graphite); }
.accent { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .25em; text-underline-offset: -.02em; text-decoration-skip-ink: none; }
.accent:hover { background: var(--signal); }
.on-dark .accent { color: var(--signal-bright); text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* icons */
.i { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: square; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-rule: var(--ink);
  position: relative; display: inline-flex; align-items: stretch;
  min-height: 52px; border: 1.5px solid var(--btn-rule);
  background: var(--btn-bg); color: var(--btn-fg);
  text-decoration: none; font-weight: 650; font-stretch: 110%;
  font-size: .9375rem; letter-spacing: .01em; line-height: 1.1;
  overflow: hidden; isolation: isolate;
  transition: color .25s var(--ease-out), border-color .25s;
}
.btn__txt { display: flex; align-items: center; padding: 14px 20px; }
.btn__ico { display: grid; place-items: center; width: 52px; border-left: 1.5px solid currentColor; }
.btn__ico .i { width: 20px; height: 20px; transition: transform .35s var(--ease-out); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--signal));
  transform: translateY(101%); transition: transform .4s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg, var(--ink)); border-color: var(--btn-hover-rule, var(--ink)); }
.btn:hover .btn__ico .i { transform: translateX(4px); }
.btn--signal { --btn-bg: var(--signal); --btn-fg: var(--ink); --btn-rule: var(--ink); --btn-hover: var(--ink); --btn-hover-fg: var(--signal); }
.on-dark .btn--signal, .night .btn--signal, .site-footer .btn--signal { --btn-rule: var(--signal); --btn-hover: var(--paper); --btn-hover-fg: var(--ink); --btn-hover-rule: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-rule: var(--ink); --btn-hover: var(--ink); --btn-hover-fg: var(--paper); }
.on-dark .btn--ghost, .night .btn--ghost, .site-footer .btn--ghost { --btn-fg: var(--paper); --btn-rule: var(--paper); --btn-hover: var(--paper); --btn-hover-fg: var(--ink); }
.btn--sm { min-height: 40px; font-size: .8125rem; }
.btn--sm .btn__txt { padding: 9px 14px; }
.btn--sm .btn__ico { width: 40px; }

.link-u {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; }
.topbar__clock { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.topbar__clock::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1px var(--ink);
  animation: blink 2s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .2; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: transform .45s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { height: 36px; width: auto; }
.footer__logo { width: min(260px, 100%); height: auto; margin-bottom: 22px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-stretch: 125%; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; }
.brand__sub { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .22em; margin-top: 4px; color: var(--graphite); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  text-decoration: none; font-weight: 600; font-size: .9375rem; font-stretch: 100%;
  padding-block: 10px;
}
.nav__list a .n { font-family: var(--f-mono); font-size: .625rem; color: var(--graphite); font-weight: 400; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 4px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.header-tools { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; border: 1.5px solid var(--ink); }
.lang button {
  appearance: none; border: 0; background: transparent; padding: 0 9px; min-height: 34px; min-width: 36px;
  font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
}
.lang button + button { border-left: 1px solid var(--rule-soft); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:not([aria-pressed="true"]):hover { background: var(--kraft); }
.site-footer .lang, .on-dark .lang { border-color: var(--paper); }
.site-footer .lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.site-footer .lang button:not([aria-pressed="true"]):hover { background: var(--ink-2); }
.site-footer .lang button + button { border-left-color: var(--rule-dark); }

.menu-btn {
  display: none; appearance: none; background: none; border: 1.5px solid var(--ink);
  min-height: 40px; padding: 0 12px; gap: 10px; align-items: center;
  font: 500 .75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em;
}
.menu-btn__bars { position: relative; width: 18px; height: 10px; }
.menu-btn__bars::before, .menu-btn__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease-out), visibility 0s .6s;
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-out), visibility 0s; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.mobile-menu__list li { border-bottom: 1px solid var(--rule-dark); }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: baseline; text-decoration: none; padding: 12px 0;
  font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: .95;
}
.mobile-menu__list a .n { font-family: var(--f-mono); font-size: .75rem; font-weight: 400; color: var(--on-dark-muted); }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--paper); }
.hero__pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
}
.hero__lines span { border-left: 1px solid var(--rule-soft); }
.hero__lines span:last-child { border-right: 1px solid var(--rule-soft); }

.hero__content {
  position: relative; z-index: 2; height: calc(100svh - var(--header-h) - 33px); min-height: 560px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding-block: clamp(18px, 3.2vh, 40px) clamp(18px, 3.2vh, 36px);
}
.hero__kicker { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero__title {
  font-size: clamp(2.9rem, 12.4vw, 14.5rem);
  margin: auto 0 0;
  font-stretch: 62%; font-weight: 820; text-transform: uppercase; line-height: .9;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; }
.hero__title .line__in { display: inline-block; will-change: transform; }
.hero__slot {
  position: relative; display: inline-block; vertical-align: baseline;
  width: 2.25em; height: .69em; margin-inline: .06em .1em;
  background: var(--ink) url(../../assets/video/hero-highway-poster.webp) center / cover;
}
.js-hero .hero__slot { background: transparent; }
.hero__door-wrap { display: none; }
.js-hero .hero__door-wrap { display: block; position: absolute; inset: 0; overflow: hidden; }
.hero__door {
  position: absolute; inset: 0; display: block;
  background:
    linear-gradient(180deg, transparent calc(100% - 6px), #0d0d0c calc(100% - 6px)),
    repeating-linear-gradient(to bottom, #3a3933 0 9px, #22211d 9px 11px, #4a4840 11px 12px);
}
.no-anim .hero__door, .motion-off .hero__door { transform: translateY(-101%); }
.hero__slot::after { /* corner ticks */
  content: ""; position: absolute; inset: -6px; pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 0 / 1.5px 12px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 1.5px 12px no-repeat;
}
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end; }
.hero__lead { grid-column: 1 / span 5; max-width: 46ch; }
.hero__ctas { grid-column: 7 / -1; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero__hint { display: inline-flex; align-items: center; gap: 10px; }
.hero__hint .i { width: 14px; height: 14px; animation: nudge 1.8s var(--ease-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Full-layer media, clipped to the slot by JS */
.hero__media {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: none; background: var(--ink);
  clip-path: inset(40% 40% 40% 40%);
}
.js-hero .hero__media { display: block; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.hero__shutter {
  position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(to bottom, #2b2a25 0 10px, #1a1a17 10px 12px, #34332d 12px 13px);
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,14,.45) 0%, rgba(15,15,14,0) 30%, rgba(15,15,14,0) 55%, rgba(15,15,14,.7) 100%); opacity: 0; }
.hud { position: absolute; inset: 0; color: var(--paper); opacity: 0; }
.hud__corners { position: absolute; inset: clamp(16px, 3vw, 36px); pointer-events: none;
  --c: rgba(236,232,223,.85);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1.5px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 28px 1.5px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1.5px 28px no-repeat;
}
.hud__top { position: absolute; top: clamp(30px, 4.6vw, 56px); left: clamp(30px, 4.6vw, 56px); right: clamp(30px, 4.6vw, 56px); display: flex; justify-content: space-between; gap: 16px; }
.hud__rec { display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.hud__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-bright); animation: blink 1.2s steps(1) infinite; }
.hud__reticle { position: absolute; left: 0; top: 0; width: 76px; height: 76px; margin: -38px 0 0 -38px; will-change: transform; }
.hud__reticle svg { width: 100%; height: 100%; }
.hud__bottom { position: absolute; left: clamp(30px, 4.6vw, 56px); right: clamp(30px, 4.6vw, 56px); bottom: clamp(30px, 4.6vw, 56px); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hud__statement { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 6.4vw, 7rem); line-height: .88; max-width: 13ch; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--signal); color: var(--ink); border-block: 1.5px solid var(--ink); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px;
  font-stretch: 125%; font-weight: 750; text-transform: uppercase; font-size: clamp(1.0625rem, 1.6vw, 1.5rem); white-space: nowrap;
  border-right: 1.5px solid var(--ink);
}
.ticker__item .i { width: 1.1em; height: 1.1em; stroke-width: 2; }
.ticker__item small { font-family: var(--f-mono); font-weight: 500; font-size: .7em; letter-spacing: .04em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections — shared
   ========================================================================== */
.section { padding-block: clamp(72px, 8.5vw, 136px); position: relative; overflow-x: clip; }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 24px; margin-bottom: clamp(40px, 6vw, 88px); align-items: end; }
.section__head .label { grid-column: 1 / -1; }
.section__head .h-section { grid-column: 1 / span 8; }
.section__head .section__intro { grid-column: 9 / -1; max-width: 40ch; }
.on-dark { background: var(--night); color: var(--on-dark); }
.on-dark .muted { color: var(--on-dark-muted); }

/* ---------- 01 Manifesto ---------- */
.manifesto__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.manifesto__label { grid-column: 1 / span 3; padding-top: .7em; }
.manifesto__text {
  grid-column: 4 / -1;
  font-size: clamp(1.75rem, 3.5vw, 3.6rem); line-height: 1.1; font-weight: 520; font-stretch: 84%; letter-spacing: -.012em;
}
.manifesto__text .w { opacity: .16; transition: opacity .2s; }
.no-anim .manifesto__text .w { opacity: 1; }
.manifesto__note { grid-column: 4 / span 4; display: flex; gap: 14px; align-items: flex-start; }
.manifesto__note .i { width: 22px; height: 22px; margin-top: 3px; color: var(--ink); }

.facts { margin-top: clamp(64px, 9vw, 130px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.fact { padding: 18px 20px 4px 0; border-right: 1px solid var(--rule-soft); display: flex; flex-direction: column; gap: 10px; }
.fact + .fact { padding-left: 20px; }
.fact:last-child { border-right: 0; }
.fact__num { font-stretch: 62%; font-weight: 800; font-size: clamp(4rem, 9vw, 9rem); line-height: .8; font-variant-numeric: tabular-nums; }
.fact__num sup { font-size: .32em; vertical-align: top; position: relative; top: .25em; color: var(--ink); font-stretch: 100%; }
.fact__txt { font-size: .9375rem; max-width: 24ch; color: var(--graphite); }

/* ---------- 02 Services: CMR form ---------- */
.services { background: var(--paper); }
.cmr { border: 1.5px solid var(--ink); background: var(--paper-2); position: relative; overflow: clip; }
.cmr__head { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1.5px solid var(--ink); }
.cmr__cell { position: relative; padding: 30px 18px 14px; border-right: 1px solid var(--ink); min-width: 0; }
.cmr__cell:last-child { border-right: 0; }
.cmr__cell dt { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.cmr__cell dd { font-weight: 600; font-size: .9375rem; line-height: 1.35; margin-top: 4px; }
.fnum {
  position: absolute; top: 0; left: 0; min-width: 26px; padding: 3px 6px 2px; text-align: center;
  font: 500 .6875rem/1.2 var(--f-mono); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.cmr__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.box {
  position: relative; grid-column: span 4; min-height: clamp(300px, 30vw, 400px);
  padding: 44px clamp(18px, 2vw, 28px) 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  display: flex; flex-direction: column; gap: 14px; outline: none;
  transition: background-color .35s;
}
.box:hover, .box:focus-within, .box.is-stamped { background: #fff; }
.box--7 { grid-column: span 7; }
.box--5 { grid-column: span 5; }
.box--12 { grid-column: span 12; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.box--12 .box__field { grid-column: 1 / -1; }
.box--12 .box__title { grid-column: 1 / span 6; }
.box--12 .box__desc { grid-column: 7 / span 5; padding-right: 0; }
.cmr__grid .box:nth-child(2), .cmr__grid .box:nth-child(5) { border-right: 0; }
.box--12 { border-right: 0; }
.box__field { font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em; color: var(--graphite); }
.box__title { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 4.4rem); line-height: .93; max-width: 12ch; }
.box__desc { margin-top: auto; max-width: 44ch; padding-right: 60px; font-size: 1rem; line-height: 1.55; }
.box__icon { position: absolute; right: clamp(18px, 2vw, 28px); bottom: 26px; width: 44px; height: 44px; color: var(--ink); opacity: .9; }
.box--12 .box__icon { display: none; }
.stamp {
  position: absolute; top: 22px; right: 22px; z-index: 2;
  padding: 7px 12px 6px; border: 3px solid var(--stamp); color: var(--stamp);
  font: 500 .875rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  mix-blend-mode: multiply; opacity: 0; transform: rotate(-9deg) scale(1.9);
  transition: opacity .18s, transform .45s var(--ease-stamp);
  -webkit-mask-image: var(--stamp-mask);
  mask-image: var(--stamp-mask);
}
.box:hover .stamp, .box:focus-within .stamp, .box.is-stamped .stamp { opacity: .92; transform: rotate(-9deg) scale(1); }
.cmr__foot { display: grid; grid-template-columns: 1fr 1fr 1.4fr; }
.cmr__foot .cmr__cell { min-height: 92px; }
.mini-stamp { position: absolute; right: 18px; top: 50%; width: 72px; height: 72px; transform: translateY(-50%) rotate(-12deg); color: var(--stamp); mix-blend-mode: multiply; opacity: .9; }

/* ---------- 03 Network ---------- */
.network { overflow: clip; }
.network__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.network__map { grid-column: 1 / span 8; position: sticky; top: calc(var(--header-h) + 24px); }
.network__map svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: #1d1d1a; }
.map-focus { fill: #2b2a25; }
.map-borders { fill: none; stroke: rgba(236,232,223,.22); stroke-width: .7; }
.map-grat { fill: none; stroke: rgba(236,232,223,.06); stroke-width: .6; }
.map-route { fill: none; stroke: var(--signal-bright); stroke-width: 2; stroke-linecap: round; opacity: .55; transition: opacity .3s, stroke-width .3s; }
.map-route.is-active { opacity: 1; stroke-width: 3; }
.network.has-active .map-route:not(.is-active) { opacity: .14; }
.map-city circle { fill: var(--paper); }
.map-city text { font: 500 13px/1 var(--f-mono); fill: var(--on-dark); letter-spacing: .04em; paint-order: stroke; stroke: var(--night); stroke-width: 4px; text-transform: uppercase; }
.map-city.is-active text { fill: var(--signal-bright); }
.map-city.is-active circle { fill: var(--signal-bright); }
.map-hub circle.core { fill: var(--signal-bright); }
.map-hub circle.ring { fill: none; stroke: var(--signal-bright); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ring 2.6s var(--ease-out) infinite; }
.map-hub text { font: 600 15px/1 var(--f-mono); fill: var(--paper); paint-order: stroke; stroke: var(--night); stroke-width: 5px; letter-spacing: .06em; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.map-truck { fill: var(--paper); }
.map-legend { position: absolute; left: 0; bottom: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); display: inline-block; }
.map-legend i.hub { background: var(--signal-bright); }
.map-legend i.route { width: 22px; height: 2px; border-radius: 0; background: var(--signal-bright); }

.network__list { grid-column: 9 / -1; }
.dest-group + .dest-group { margin-top: 28px; }
.dest-group__head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid var(--on-dark); }
.plate { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border: 1.5px solid currentColor; font: 500 .75rem/1 var(--f-mono); letter-spacing: .06em; }
.dest-group__name { font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: .875rem; letter-spacing: .04em; }
.dest {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  appearance: none; background: none; border: 0; border-bottom: 1px solid var(--rule-dark); color: inherit;
  padding: 11px 0; text-align: left; transition: padding .3s var(--ease-out), color .2s;
}
.dest__city { font-size: 1.0625rem; font-weight: 550; }
.dest__km { font: 400 .8125rem/1 var(--f-mono); color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.dest:hover, .dest:focus-visible, .dest.is-active { color: var(--signal-bright); padding-left: 10px; }
.dest:hover .dest__km, .dest.is-active .dest__km { color: var(--signal-bright); }
.network__note { margin-top: 28px; }

/* ---------- 04 Method: kilometre posts ---------- */
.method { background: var(--paper); overflow: clip; }
.method__pin { position: relative; }
.method__track { display: flex; align-items: stretch; width: max-content; }
.method__intro { width: min(560px, 82vw); flex: none; padding-right: clamp(40px, 6vw, 120px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.step { position: relative; width: clamp(300px, 30vw, 460px); flex: none; padding: 0 clamp(24px, 2.8vw, 48px) 0 0; display: flex; flex-direction: column; gap: 18px; }
.step__post { width: 74px; height: auto; }
.step__name { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: .9; }
.step__txt { max-width: 34ch; }
.road {
  position: relative; height: 112px; margin-top: 56px; overflow: hidden;
  background:
    linear-gradient(var(--paper), var(--paper)) 0 14px / 100% 3px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 0 calc(100% - 14px) / 100% 3px no-repeat,
    #23231f;
}
.road__dash { position: absolute; left: 0; top: 50%; width: 400%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, var(--paper) 0 48px, transparent 48px 96px); will-change: transform; }
.road__truck { position: absolute; top: 50%; left: clamp(24px, 10vw, 160px); width: 132px; transform: translateY(-58%); z-index: 2; }
.method__road-wrap { position: relative; }
.method__progress { position: absolute; left: 0; right: 0; top: -36px; display: flex; justify-content: space-between; }

/* ---------- Night band ---------- */
.night { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--paper); background: var(--night); }
.night__media { position: absolute; inset: -8% 0; }
.night__media video { width: 100%; height: 100%; object-fit: cover; }
.night::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,15,14,.25) 0%, rgba(15,15,14,.15) 40%, rgba(15,15,14,.88) 100%); }
.night__content { position: relative; z-index: 2; padding-block: clamp(80px, 12vw, 160px) clamp(40px, 6vw, 80px); width: 100%; }
.night__title { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 9.2vw, 11rem); line-height: .9; max-width: 14ch; }
.night__title em { font-style: normal; color: var(--signal-bright); }
.night__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.night__row p { max-width: 46ch; }

/* ---------- 05 Logbook (gallery) ---------- */
.logbook__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(40px, 6vw, 96px); }
.fig { margin: 0; }
.fig__frame { position: relative; overflow: hidden; background: var(--kraft); }
.fig__frame img { width: 100%; height: 118%; object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 1.2s var(--ease-out); will-change: transform; }
.fig.is-developed .fig__frame img, .no-anim .fig__frame img { filter: grayscale(0) contrast(1); }
.fig figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--ink); margin-top: 10px; }
.fig--a { grid-column: 1 / span 7; }
.fig--a .fig__frame { aspect-ratio: 4 / 3; }
.fig--b { grid-column: 9 / span 4; align-self: end; }
.fig--b .fig__frame { aspect-ratio: 3 / 4; }
.fig--c { grid-column: 2 / span 4; }
.fig--c .fig__frame { aspect-ratio: 4 / 5; }
.fig--d { grid-column: 7 / span 6; align-self: center; }
.fig--d .fig__frame { aspect-ratio: 16 / 10; }
.fig--e { grid-column: 4 / span 6; }
.fig--e .fig__frame { aspect-ratio: 21 / 9; }

/* ---------- 06 Company record ---------- */
.record { background: var(--kraft); }
.record__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: stretch; }
.record__photo { grid-column: 1 / span 5; position: relative; overflow: hidden; min-height: 420px; }
.record__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.record__card { grid-column: 7 / -1; position: relative; background: var(--paper-2); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.record__card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1.5px solid var(--ink); }
.record__rows { margin: 0; }
.record__row { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; border-bottom: 1px solid var(--rule-soft); }
.record__row:last-child { border-bottom: 0; }
.record__row dt { padding: 16px 20px; font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); border-right: 1px solid var(--rule-soft); }
.record__row dd { padding: 14px 20px; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.record__row dd.big { font-stretch: 62%; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.6rem); text-transform: uppercase; line-height: .95; }
.seal { position: absolute; right: -28px; bottom: -118px; width: clamp(120px, 10vw, 144px); height: auto; color: var(--stamp); mix-blend-mode: multiply; z-index: 2; }
.seal text { font: 500 9.6px var(--f-mono); letter-spacing: .14em; fill: currentColor; text-transform: uppercase; }

/* ---------- 07 Contact / waybill form ---------- */
.contact__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; }
.contact__aside { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 32px; }
.contact__direct { border-top: 1.5px solid var(--ink); }
.contact__direct div { padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
.contact__direct dt { margin-bottom: 4px; }
.contact__direct dd { font-weight: 600; font-size: 1.0625rem; }
.contact__direct a { word-break: break-word; }
.waybill { grid-column: 6 / -1; position: relative; overflow: clip; overflow-clip-margin: 24px; }
.wb { border: 1.5px solid var(--ink); background: var(--paper-2); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wb__f { position: relative; grid-column: span 3; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 34px 16px 12px; transition: background-color .2s; }
.wb__f--2 { grid-column: span 2; }
.wb__f--6 { grid-column: span 6; }
.wb__f.end { border-right: 0; }
.wb__f:focus-within { background: #fff; box-shadow: inset 5px 0 0 var(--signal), inset 6px 0 0 var(--ink); }
.wb__f label, .wb__f .wb__lbl { display: block; font-family: var(--f-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.wb__f label .req { color: var(--error); }
.wb__f input, .wb__f select, .wb__f textarea {
  width: 100%; border: 0; background: transparent; padding: 6px 0 2px; margin: 0;
  font-size: 1.125rem; font-weight: 550; border-radius: 0; outline: none; min-height: 40px;
}
.wb__f select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141412' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 18px no-repeat; padding-right: 24px; }
.wb__f textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.wb__f input::placeholder, .wb__f textarea::placeholder { color: #8d8a82; font-weight: 400; }
.wb__err { display: none; margin-top: 6px; font: 500 .75rem/1.3 var(--f-mono); color: var(--error); }
.wb__f.has-error { box-shadow: inset 4px 0 0 var(--error); }
.wb__f.has-error .wb__err { display: block; }
.wb__legal { grid-column: span 6; padding: 20px 16px; display: grid; gap: 18px; border-bottom: 1px solid var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9375rem; }
.check input { appearance: none; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--ink); background: var(--paper); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: rotate(-45deg) translate(1px, -1px); }
.check.has-error input { border-color: var(--error); box-shadow: 0 0 0 2px rgba(179,48,12,.25); }
.infotable { width: 100%; border-collapse: collapse; font-size: .8125rem; line-height: 1.45; }
.infotable caption { text-align: left; padding-bottom: 8px; }
.infotable th, .infotable td { text-align: left; vertical-align: top; padding: 7px 10px 7px 0; border-top: 1px solid var(--rule-soft); }
.infotable th { font-family: var(--f-mono); font-weight: 500; font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; width: 30%; color: var(--graphite); }
.wb__submit { grid-column: span 6; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.form-status { font: 500 .8125rem/1.4 var(--f-mono); max-width: 46ch; }
.form-status.is-ok { color: var(--ink); }
.form-status.is-err { color: var(--error); }
.received {
  position: absolute; left: 50%; top: 42%; z-index: 5; pointer-events: none;
  padding: 14px 26px; border: 5px solid var(--stamp); color: var(--stamp);
  font-stretch: 62%; font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; text-transform: uppercase; letter-spacing: .02em;
  mix-blend-mode: multiply; opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(2.2);
  -webkit-mask-image: var(--stamp-mask);
  mask-image: var(--stamp-mask);
}
.received.is-on { opacity: .9; transform: translate(-50%, -50%) rotate(-11deg) scale(1); transition: opacity .15s, transform .5s var(--ease-stamp); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 9vw, 120px); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule-dark); }
.footer__cta h2 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 6.4rem); line-height: .88; max-width: 14ch; }
.footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; padding-block: clamp(40px, 5vw, 72px); }
.footer__col { grid-column: span 3; }
.footer__col h3 { margin-bottom: 14px; color: var(--on-dark-muted); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__col a, .footer__col button { text-decoration: none; font-size: .9375rem; }
.footer__col button.linklike { appearance: none; background: none; border: 0; padding: 0; text-align: left; color: inherit; }
.footer__col button.linklike:hover, .footer__col a:hover { color: var(--signal-bright); }
.footer__col address { font-style: normal; font-size: .9375rem; line-height: 1.6; }
.footer__mark { width: 100%; height: auto; color: var(--paper); margin-top: 8px; }
.footer__mark text { font-family: var(--f-sans); font-stretch: 62%; font-weight: 850; fill: currentColor; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px 22px; border-top: 1px solid var(--rule-dark); color: var(--on-dark-muted); }
.footer__bottom a, .footer__bottom button { color: var(--paper); }
.to-top { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.to-top .i { width: 14px; height: 14px; }
.motion-toggle { appearance: none; background: none; border: 1px solid var(--rule-dark); padding: 6px 10px; display: inline-flex; gap: 8px; align-items: center; color: var(--paper); }
.motion-toggle:hover { border-color: var(--paper); }
.motion-toggle .i { width: 14px; height: 14px; }

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.consent {
  position: fixed; left: var(--gutter); bottom: var(--gutter); z-index: 300;
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  background: var(--paper-2); color: var(--ink); border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 26px 22px 20px;
  transform: translateY(calc(100% + 40px)); visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s .6s;
}
.consent.is-visible { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
.consent::before { /* ticket perforation */
  content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 0; border-top: 1.5px dashed var(--rule-soft);
}
.consent__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.consent__title { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: .95; }
.consent p { font-size: .875rem; line-height: 1.5; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.consent__actions .cbtn--wide { grid-column: 1 / -1; }
.cbtn {
  appearance: none; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); font-weight: 650; font-size: .875rem; font-stretch: 110%;
  transition: background-color .2s, color .2s;
}
.cbtn:hover { background: var(--signal); border-color: var(--ink); color: var(--ink); }
.cbtn--ghost { background: transparent; color: var(--ink); }
.cbtn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.consent__more { display: inline-block; margin-top: 12px; font: 500 .75rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }

.consent-dialog {
  width: min(620px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0;
  border: 1.5px solid var(--ink); background: var(--paper-2); color: var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.consent-dialog::backdrop { background: rgba(15, 15, 14, .62); }
.consent-dialog__inner { padding: 28px 24px 22px; display: grid; gap: 18px; }
.consent-dialog h2 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 2.4rem; line-height: .9; }
.consent-dialog__close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1.5px solid var(--ink); }
.consent-dialog__close .i { width: 18px; height: 18px; }
.ccat { border: 1px solid var(--rule-soft); padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: start; }
.ccat h3 { font-size: 1rem; font-weight: 700; }
.ccat p { grid-column: 1 / -1; font-size: .875rem; color: var(--graphite); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 500 .6875rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.switch input { appearance: none; width: 48px; height: 26px; border: 1.5px solid var(--ink); background: var(--paper); position: relative; cursor: pointer; margin: 0; transition: background-color .2s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: var(--ink); transition: transform .25s var(--ease-out), background-color .2s; }
.switch input:checked { background: var(--ink); }
.switch input:checked::after { transform: translateX(22px); background: var(--signal); }
.switch input:disabled { opacity: .7; cursor: not-allowed; }
.consent-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding-block: clamp(40px, 7vw, 100px) 0; }
.legal-hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 48px); }
.legal-hero__title { font-stretch: 62%; font-weight: 820; text-transform: uppercase; font-size: clamp(3.2rem, 10vw, 11.5rem); line-height: .9; max-width: 16ch; }
.folder-tabs { margin-top: clamp(32px, 5vw, 64px); display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1.5px solid var(--ink); }
.folder-tabs::-webkit-scrollbar { display: none; }
.folder-tabs a {
  flex: none; display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  padding: 12px 18px 10px; margin-right: -1.5px; border: 1.5px solid var(--ink); border-bottom: 0;
  background: var(--kraft); position: relative; top: 1.5px; transition: background-color .2s;
}
.folder-tabs a:hover { background: var(--paper-2); }
.folder-tabs a[aria-current="page"] { background: var(--paper-2); z-index: 1; }
.folder-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px; background: var(--paper-2); }
.folder-tabs .n { font-family: var(--f-mono); font-size: .6875rem; color: var(--graphite); }
.folder-tabs .t { font-weight: 650; font-size: .9375rem; white-space: nowrap; }
.legal-body { background: var(--paper-2); padding-block: clamp(40px, 6vw, 88px) clamp(80px, 10vw, 140px); }
.legal-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100svh - var(--header-h) - 48px); overflow: auto; }
.toc h2 { margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--rule-soft); }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 9px 0; text-decoration: none; font-size: .875rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 500 .6875rem/1.6 var(--f-mono); color: var(--graphite); }
.toc a:hover, .toc a.is-current { color: var(--ink); background: linear-gradient(90deg, var(--signal) 0 5px, transparent 5px); padding-left: 10px; }
.toc a { transition: padding .25s var(--ease-out); }
.toc a.is-current { font-weight: 650; }
.doc { grid-column: 5 / span 7; max-width: 76ch; counter-reset: sec; }
.doc[hidden] { display: none; }
.doc > p:first-child { font-size: 1.1875rem; line-height: 1.55; }
.doc h2 {
  counter-increment: sec; scroll-margin-top: calc(var(--header-h) + 24px);
  display: grid; grid-template-columns: 52px 1fr; align-items: baseline;
  margin: 56px 0 18px; padding-top: 14px; border-top: 1.5px solid var(--ink);
  font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: .95;
}
.doc h2::before { content: counter(sec, decimal-leading-zero); font: 500 .8125rem/1 var(--f-mono); color: var(--ink); background: var(--signal); padding: .4em .45em .35em; align-self: start; justify-self: start; margin-top: .2em; }
.doc h3 { font-size: 1.125rem; font-weight: 700; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol, .doc table, .doc dl { margin-bottom: 14px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--ink); }
.doc a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: .22em; text-underline-offset: 0; text-decoration-skip-ink: none; }
.doc a:hover { background: var(--signal); }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--rule-soft); }
.doc thead th { background: var(--ink); color: var(--paper); font: 500 .75rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; border-color: var(--ink); }
.doc .idcard { display: grid; grid-template-columns: minmax(110px, 30%) minmax(0, 1fr); border: 1.5px solid var(--ink); background: var(--paper); }
.doc .idcard dt, .doc .idcard dd { padding: 10px 14px; border-bottom: 1px solid var(--rule-soft); margin: 0; }
.doc .idcard dt { font: 500 .75rem/1.5 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--graphite); border-right: 1px solid var(--rule-soft); }
.doc .idcard dd { font-weight: 600; overflow-wrap: anywhere; }
.doc .idcard dt:nth-last-of-type(1), .doc .idcard dd:last-child { border-bottom: 0; }
.doc .note { border-left: 4px solid var(--signal); background: var(--paper); padding: 14px 16px; font-size: .9375rem; }
.doc .doc__end { margin-top: 56px; padding-top: 14px; border-top: 1.5px solid var(--ink); font: 400 .8125rem/1.6 var(--f-mono); color: var(--graphite); }

/* 404 */
.lost { min-height: 70svh; display: grid; align-content: center; gap: 28px; padding-block: 80px; }
.lost__code { font-stretch: 62%; font-weight: 850; font-size: clamp(8rem, 30vw, 26rem); line-height: .8; color: var(--signal); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list a .n { display: none; }
}
@media (max-width: 1023px) {
  .nav, .header-tools .lang, .header-tools .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .topbar__coords { display: none; }
  .hero__lead { grid-column: 1 / -1; }
  .hero__ctas { grid-column: 1 / -1; justify-content: flex-start; }
  .section__head .h-section, .section__head .section__intro { grid-column: 1 / -1; }
  .manifesto__label, .manifesto__text, .manifesto__note { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule-soft); padding-top: 18px; margin-top: 18px; }
  .box, .box--7, .box--5 { grid-column: span 6; }
  .cmr__grid .box { border-right: 1px solid var(--ink); }
  .cmr__grid .box:nth-child(even) { border-right: 0; }
  .box--12 .box__title, .box--12 .box__desc { grid-column: 1 / -1; }
  .network__map, .network__list { grid-column: 1 / -1; }
  .network__map { position: relative; top: 0; }
  .network__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gutter); }
  .dest-group + .dest-group { margin-top: 0; }
  .record__photo, .record__card { grid-column: 1 / -1; }
  .record__photo { min-height: 320px; }
  .contact__aside, .waybill { grid-column: 1 / -1; }
  .footer__col { grid-column: span 6; }
  .doc { grid-column: 1 / -1; }
  .toc { position: static; grid-column: 1 / -1; max-height: none; }
  .fig--a { grid-column: 1 / span 8; }
  .fig--b { grid-column: 8 / -1; }
  .fig--c { grid-column: 1 / span 5; }
  .fig--d { grid-column: 6 / -1; }
  .fig--e { grid-column: 2 / -1; }
}
@media (max-width: 899px) {
  .method__track { flex-direction: column; width: auto; }
  .method__intro { width: auto; padding-right: 0; margin-bottom: 48px; }
  .step { width: auto; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; row-gap: 8px; padding: 0 0 36px; }
  .step__post { grid-row: span 2; width: 64px; }
  .road, .method__road-wrap { display: none; }
}
@media (max-width: 719px) {
  :root { --header-h: 58px; }
  .brand__logo { height: 30px; }
  .topbar__legal { display: none; }
  .hero__pin { min-height: 600px; }
  .hero__kicker .t-mono:last-child { display: none; }
  .box, .box--7, .box--5 { grid-column: span 12; border-right: 0 !important; min-height: 0; }
  .box { padding-bottom: 84px; }
  .cmr__head, .cmr__foot { grid-template-columns: 1fr; }
  .cmr__head .cmr__cell, .cmr__foot .cmr__cell { border-right: 0; border-bottom: 1px solid var(--ink); }
  .cmr__head .cmr__cell:last-child, .cmr__foot .cmr__cell:last-child { border-bottom: 0; }
  .network__list { grid-template-columns: 1fr; }
  .map-city text { display: none; }
  .map-city.is-active text { display: block; font-size: 26px; }
  .hero__title { font-size: 15vw; }
  .fig--a, .fig--b, .fig--c, .fig--d, .fig--e { grid-column: 1 / -1; }
  .record__row { grid-template-columns: 1fr; }
  .record__row dt { border-right: 0; padding-bottom: 0; }
  .record__row dd { padding-top: 6px; }
  .seal { right: 4px; bottom: -58px; width: 112px; }
  .record__card { box-shadow: 6px 6px 0 var(--ink); margin-right: 6px; }
  .wb__f, .wb__f--2 { grid-column: span 6; border-right: 0; }
  .footer__col { grid-column: span 12; }
  .hud__top .t-mono:last-child { display: none; }
  .hud__bottom .t-mono { display: none; }
  .consent__actions { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
}
html.motion-off *, html.motion-off *::before, html.motion-off *::after { animation-play-state: paused !important; }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .topbar, .site-header, .site-footer, .consent, .folder-tabs, .toc, .skip-link, .mobile-menu { display: none !important; }
  body::after { display: none; }
  body { background: #fff; }
  .legal-body { background: #fff; padding: 0; }
  .doc { grid-column: 1 / -1; max-width: none; }
}
