/* Rota Lojistik — the container yard seen from the crane cab.
   Grounds: aerial asphalt (working lanes) and terminal pavers (reading). Line paint: yellow and white.
   Container enamels carry the palette. One 12-bay grid. */

:root {
  --asphalt: #2f3032;
  --asphalt-hi: #3b3c3f;
  --asphalt-deep: #1d1e20;
  --paver: #cfccc4;
  --paver-hi: #e2dfd8;
  --paver-lo: #b7b3a9;
  --ink: #1d1e20;
  --ink-2: #44454a;
  --paint-y: #f2c230;
  --paint-y-hi: #ffd54f;
  --paint-y-lo: #c99a12;
  --paint-w: #f1efe8;
  --on-asph-2: #cfcdc6;
  --c-red: #a3402b;
  --c-green: #2f6150;
  --c-blue: #2d5394;
  --c-orange: #d0652a;
  --c-grey: #7d838a;
  --wood: #a97e4c;
  --gut: clamp(16px, 4vw, 56px);
  --wrap: 1320px;
  --bar-h: 60px;
  --f-disp: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'Barlow', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  scrollbar-color: var(--paint-y) var(--asphalt-deep);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
html:not(.anim) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.anim) { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--paint-w);
  background: var(--asphalt);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--paint-y); color: var(--ink); }
:focus-visible { outline: 3px solid var(--paint-y); outline-offset: 3px; }
.ground-pavers :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--paint-y); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tnum, .eq__fig, .res__big, output { font-variant-numeric: tabular-nums; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paint-y); color: var(--ink); padding: .6em 1em; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); }

/* grounds */
.ground-asphalt { background: var(--asphalt) url(../img/asphalt.webp) 0 0 / 520px; color: var(--paint-w); }
.ground-pavers { background: var(--paver) url(../img/pavers.webp) 0 0 / 300px; color: var(--ink); color-scheme: light; caret-color: var(--ink); }
.ground-asphalt { caret-color: var(--paint-y); }
.ground-pavers ::selection { background: var(--ink); color: var(--paint-y); }
/* quay edge where the ground changes: concrete kerb with a painted yellow line */
.ground-asphalt + .ground-pavers, .ground-pavers + .ground-asphalt { border-top: 8px solid var(--paint-y); box-shadow: inset 0 10px 0 var(--paver-lo); }
.ground-pavers + .ground-asphalt { box-shadow: inset 0 10px 0 var(--asphalt-deep); }

/* type */
h2 { font-family: var(--f-disp); font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.paint-h { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(3.1rem, 7.4vw, 6rem); line-height: .9; letter-spacing: -0.005em; color: var(--paint-w); }
.paint-h span { display: block; }
html.wear .paint-h, html.wear .ml__name { -webkit-mask-image: url(../img/wear.webp); mask-image: url(../img/wear.webp); -webkit-mask-size: 420px; mask-size: 420px; }

.sec { padding-block: clamp(84px, 10vw, 150px); position: relative; }
.sec__head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head > * + * { margin-top: 18px; }
.fast { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 46ch; font-weight: 500; }
.ground-asphalt .fast { color: var(--paint-w); }
.note { font-size: .95rem; color: var(--on-asph-2); max-width: 70ch; }
.note--ink, .ground-pavers .note { color: var(--ink-2); }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; color: inherit; font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 3px; padding: .72em 1.2em; font-family: var(--f-disp); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; line-height: 1.1; transition: background-color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.btn--paint { background: var(--paint-y); color: var(--ink); box-shadow: 0 6px 14px rgba(0, 0, 0, .32); }
.btn--paint:hover { background: var(--paint-y-hi); transform: translateY(-1px); }
.btn--paint:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.btn--big { font-size: 1.35rem; padding: .78em 1.5em; }
.btn--line { background: transparent; color: var(--paint-w); box-shadow: inset 0 0 0 2px var(--paint-w); }
.btn--line:hover { background: rgba(241, 239, 232, .1); }
.btn--line[aria-pressed="true"] { background: var(--paint-w); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paver-hi); }
.btn--ink:hover { background: #33343a; }
.btn--ink:disabled { opacity: .45; cursor: not-allowed; }
.btn--onpaver { box-shadow: 0 0 0 2px var(--ink), 0 6px 14px rgba(0, 0, 0, .2); }

/* header */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--asphalt-deep); border-bottom: 3px solid var(--paint-y); padding-top: env(safe-area-inset-top, 0px); }
.bar__in { height: var(--bar-h); display: flex; align-items: center; gap: 20px; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); max-width: calc(1440px + 2 * var(--gut)); margin-inline: auto; }
.mark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; flex: none; }
.mark__box { width: 18px; height: 18px; align-self: center; border: 3px solid var(--paint-y); border-right-color: transparent; border-bottom-color: transparent; position: relative; display: inline-block; }
.mark__box::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 9px; height: 9px; border-right: 3px solid var(--paint-y); border-bottom: 3px solid var(--paint-y); }
.mark__name { font-family: var(--f-disp); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; line-height: 1; }
.mark__kind { font-family: var(--f-disp); font-weight: 600; font-size: .9rem; letter-spacing: .14em; color: var(--on-asph-2); }
.nav { display: flex; gap: clamp(12px, 1.6vw, 26px); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4em 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { border-bottom-color: var(--paint-y); }
.bar__tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 2px solid rgba(241, 239, 232, .5); border-radius: 3px; }
.lang__b { background: none; border: 0; padding: .3em .6em; font-weight: 700; font-size: .85rem; color: var(--on-asph-2); }
.lang__b[aria-pressed="true"] { background: var(--paint-w); color: var(--ink); }
.motion-t { background: none; border: 2px solid rgba(241, 239, 232, .5); border-radius: 3px; padding: .3em .6em; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.motion-t__s { color: var(--paint-y); }
.bar__cta { padding: .5em 1em; font-size: 1.05rem; }
.menu-b { display: none; background: none; border: 2px solid var(--paint-w); border-radius: 3px; padding: .35em .7em; font-weight: 700; font-size: .9rem; }

@media (max-width: 1180px) {
  .menu-b { display: inline-block; }
  .nav { display: none; position: absolute; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--asphalt-deep); border-bottom: 3px solid var(--paint-y); padding: 8px max(var(--gut), env(safe-area-inset-right, 0px)) 16px max(var(--gut), env(safe-area-inset-left, 0px)); }
  .nav.is-open { display: flex; }
  .nav a { padding: .7em 0; font-size: 1.1rem; border-bottom: 1px solid rgba(241, 239, 232, .15); }
  .bar__tools { margin-left: auto; }
}
@media (max-width: 640px) {
  .mark__kind, .motion-t__s { display: none; }
  .bar__in { gap: 10px; }
  .bar__tools { gap: 8px; }
  .bar__cta { display: none; }
}

/* ===== hero: the yard ===== */
.hero { padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 3px); min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.stack { container-type: inline-size; position: relative; }
.row { display: grid; grid-template-columns: repeat(14, 1fr); column-gap: 6px; height: calc((100cqw - 78px) / 14 / 2.5); margin-top: 6px; }
.stack--top { margin-top: -10px; }
.cn { position: relative; display: block; grid-column: span 1; background-color: var(--c-grey);
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .2) 0 2px, rgba(255, 255, 255, .06) 2px 3px, transparent 3px 8px);
  box-shadow: 0 8px 12px -4px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .22); }
.cn::before { content: ''; position: absolute; inset: 0; border-left: 5px solid rgba(0, 0, 0, .3); border-right: 5px solid rgba(0, 0, 0, .3); }
.cn--40 { grid-column: span 2; }
.c-red { background-color: var(--c-red); } .c-green { background-color: var(--c-green); } .c-blue { background-color: var(--c-blue); } .c-orange { background-color: var(--c-orange); } .c-grey { background-color: var(--c-grey); }
.lane { position: relative; height: clamp(46px, 6vw, 72px); margin-top: 8px;
  background: linear-gradient(var(--paint-y), var(--paint-y)) 0 6px / 100% 3px no-repeat, linear-gradient(var(--paint-y), var(--paint-y)) 0 calc(100% - 6px) / 100% 3px no-repeat,
    linear-gradient(90deg, var(--paint-w) 0 50%, transparent 50%) 0 50% / 90px 4px repeat-x; display: flex; align-items: center; justify-content: space-around; }
.lane__arrow { width: 54px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 22'%3E%3Cpath d='M0 8h36V0l18 11-18 11v-8H0z' fill='%23f1efe8' fill-opacity='.85'/%3E%3C/svg%3E") center / contain no-repeat; transform: translateY(-14px); }
.lane__arrow:nth-child(2) { transform: translateY(14px) scaleX(-1); }

.apron { flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: center; padding-block: clamp(28px, 4vw, 48px); }
.apron__copy { grid-column: 1 / span 6; min-width: 0; }
.hero__lead { margin-top: 26px; font-size: clamp(1.1rem, 1.35vw, 1.25rem); max-width: 40ch; color: var(--paint-w); }
.hero__marks { margin-top: 30px; display: grid; gap: 10px; }
.hero__marks li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-left: 26px; position: relative; }
.hero__marks li::before { content: ''; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border: 3px solid var(--paint-y); }
.hero__marks b { font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.hero__marks span { color: var(--on-asph-2); }

.zone { grid-column: 7 / span 6; position: relative; padding: clamp(22px, 2.6vw, 34px); background: rgba(22, 23, 25, .62); border: 4px solid var(--paint-y); border-radius: 2px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); min-width: 0; }
.zone__c { position: absolute; width: 26px; height: 26px; border: 0 solid var(--paint-w); }
.zone__c--tl { left: -12px; top: -12px; border-left-width: 6px; border-top-width: 6px; }
.zone__c--tr { right: -12px; top: -12px; border-right-width: 6px; border-top-width: 6px; }
.zone__c--bl { left: -12px; bottom: -12px; border-left-width: 6px; border-bottom-width: 6px; }
.zone__c--br { right: -12px; bottom: -12px; border-right-width: 6px; border-bottom-width: 6px; }
.zone__h { font-family: var(--f-disp); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin-bottom: 18px; }
.modes { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.modes legend { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-asph-2); margin-bottom: 8px; padding: 0; }
.mode { position: relative; }
.mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mode__t { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border: 2px solid rgba(241, 239, 232, .55); border-radius: 2px; font-weight: 600; font-size: .9rem; text-align: center; line-height: 1.15; transition: background-color .2s var(--ease-out), color .2s; }
.mode__t svg { width: 30px; height: 30px; }
.mode input:checked + .mode__t { background: var(--paint-y); border-color: var(--paint-y); color: var(--ink); }
.mode input:focus-visible + .mode__t { outline: 3px solid var(--paint-w); outline-offset: 2px; }
.mode:hover .mode__t { border-color: var(--paint-w); }
.zone__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.fld__l { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-asph-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; padding: .6em .7em; border-radius: 2px; border: 0; border-bottom: 3px solid var(--paint-w); background: rgba(10, 10, 12, .55); color: var(--paint-w); font-size: 1.05rem; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f2c230' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7em center; background-size: 12px; padding-right: 2em; }
.fld select option { background: var(--asphalt-deep); color: var(--paint-w); }
.fld input::placeholder, .fld textarea::placeholder { color: #a9a7a0; opacity: 1; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--paint-y); outline-offset: 1px; }
.fld__e { display: none; font-size: .88rem; font-weight: 600; color: var(--paint-y); }
.fld.is-bad .fld__e, .fld__e--block.is-on { display: block; }
.fld.is-bad input, .fld.is-bad select { border-bottom-color: var(--paint-y); }
.zone__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 20px; }
.zone__note { font-size: .88rem; color: var(--on-asph-2); flex: 1 1 220px; }

.stack--bottom { margin-top: auto; padding-bottom: 6px; }
.stack--bottom .row { margin-top: 0; }
.slot { grid-column: 9 / span 2; grid-row: 1; position: relative; outline: 3px solid var(--paint-y); outline-offset: 3px; }
.slot::before, .slot::after { content: ''; position: absolute; top: -10px; bottom: -10px; width: 3px; background: var(--paint-y); }
.slot::before { left: 50%; display: none; }
.slot::after { display: none; }
.cn--mine { position: absolute; inset: 0; opacity: 0; display: flex; align-items: center; justify-content: center; }
.cn--mine b { position: relative; font-family: var(--f-disp); font-weight: 800; font-size: clamp(.7rem, 1.4cqw, 1.35rem); letter-spacing: .06em; color: var(--paint-w); }
.slot.is-filled .cn--mine { opacity: 1; }
.spreader { position: absolute; pointer-events: none; }
.spreader__frame { position: absolute; inset: 0; border: 5px solid var(--paint-y); border-radius: 2px; box-shadow: 22px 26px 18px rgba(0, 0, 0, .45); }
.spreader__frame::before, .spreader__frame::after { content: ''; position: absolute; top: 50%; width: 30%; height: 4px; background: var(--paint-y); transform: translateY(-50%); }
.spreader__frame::before { left: 8%; }
.spreader__frame::after { right: 8%; }
.spreader__cable { position: absolute; left: 50%; top: 50%; width: 22%; height: 46%; transform: translate(-50%, -50%); background: var(--asphalt-deep); border: 3px solid var(--paint-y); }
html:not(.js) .spreader { display: none; }

@media (max-width: 980px) {
  .apron__copy, .zone { grid-column: 1 / -1; }
  .zone { margin-top: 36px; }
}
@media (max-width: 640px) {
  .row { grid-template-columns: repeat(8, 1fr); height: calc((100cqw - 42px) / 8 / 2.5); }
  .stack--top .row > :nth-child(n+6) { display: none; }
  .stack--bottom .row > .cn:nth-child(n+5) { display: none; }
  .slot { grid-column: 5 / span 2; }
  .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zone__pair { grid-template-columns: 1fr; }
  .zone__c { width: 18px; height: 18px; }
  .zone__c--tl, .zone__c--bl { left: -8px; } .zone__c--tr, .zone__c--br { right: -8px; }
  .zone__c--tl, .zone__c--tr { top: -8px; } .zone__c--bl, .zone__c--br { bottom: -8px; }
}

/* ===== stations ===== */
.st-stage { position: relative; }
.st-lane { margin-bottom: 40px; }
.st-track { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); height: clamp(110px, 14vw, 170px);
  background: linear-gradient(90deg, var(--paint-w) 0 50%, transparent 50%) 0 50% / 70px 4px repeat-x; }
.st-box { position: relative; border: 4px solid var(--paint-y); border-radius: 2px; background: rgba(20, 20, 22, .35); display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; padding: 8px; }
.st-v { width: 86%; height: auto; opacity: .9; }
.st-word { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1rem, 2.2vw, 2rem); text-transform: uppercase; letter-spacing: .04em; color: var(--paint-w); opacity: .78; background: var(--asphalt); padding: 0 .3em; line-height: 1.1; text-align: center; max-width: 100%; overflow-wrap: anywhere; }
.st-v--ship { aspect-ratio: 240 / 48; } .st-v--truck { aspect-ratio: 200 / 40; } .st-v--train { aspect-ratio: 260 / 32; }
.st-cn { position: absolute; left: 0; top: 50%; width: calc((100% - 4 * clamp(10px, 2vw, 28px)) / 5 * .78); aspect-ratio: 5 / 1; transform: translate(calc((100% / .78 - 100%) / 2), -50%); display: flex; align-items: center; justify-content: center; z-index: 2; }
.st-cn b { position: relative; font-family: var(--f-disp); font-weight: 800; font-size: clamp(.62rem, 1.1vw, 1rem); letter-spacing: .08em; }
html:not(.anim) .st-cn { display: none; }
.st-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); counter-reset: st; }
.st { position: relative; padding-top: 18px; border-top: 3px solid var(--paint-w); transition: opacity .4s var(--ease-out); min-width: 0; }
.st h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.st p { color: var(--on-asph-2); font-size: 1rem; }
html.anim .st:not(.is-on) { opacity: .5; }
html.anim .st.is-on { border-top-color: var(--paint-y); }
@media (max-width: 860px) {
  .st-list { grid-template-columns: 1fr; gap: 26px; }
  .st-track { height: 86px; }
  .st-box { padding: 4px; border-width: 3px; }
  .st-word { display: none; }
}

/* ===== tracker ===== */
.tk-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 0; max-width: 1600px; margin-inline: auto; border-top: 3px solid var(--paint-y); border-bottom: 3px solid var(--paint-y); }
.tk-map { position: relative; min-height: 560px; background: var(--asphalt-deep); overflow: hidden; }
.tk-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tk-fallback { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; position: absolute; inset: 0; }
.tk-map.gl-on .tk-fallback { visibility: hidden; }
.tk-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tk-lab { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--f-disp); font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--paint-y); padding: 1px 6px; border-radius: 2px; will-change: transform; }
.tk-lab--place { background: var(--asphalt-deep); color: var(--paint-w); font-weight: 600; font-size: .85rem; }
.tk-legend { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; background: rgba(29, 30, 32, .88); padding: 8px 12px; border-radius: 2px; font-size: .85rem; font-weight: 600; }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg::before { content: ''; width: 30px; height: 8px; }
.lg--sea::before { background: linear-gradient(90deg, var(--paint-y) 0 60%, transparent 60%) 0 50% / 12px 4px repeat-x; }
.lg--road::before { background: linear-gradient(var(--paint-y), var(--paint-y)) 0 50% / 100% 4px no-repeat; }
.lg--air::before { background: radial-gradient(circle, var(--c-orange) 0 2px, transparent 2.5px) 0 50% / 7px 8px repeat-x; }
.lg--rail::before { height: 7px; background: linear-gradient(90deg, var(--paint-w) 0 50%, var(--asphalt-deep) 50%) 0 0 / 10px 100%; box-shadow: 0 0 0 1.5px var(--asphalt-deep); }
.tk-panel { background: var(--asphalt-deep); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fld--dark .fld__l { color: var(--on-asph-2); }
.tk-find__row { display: flex; gap: 8px; }
.tk-find__row input { flex: 1; text-transform: uppercase; letter-spacing: .06em; }
.tk-find__msg { font-size: .9rem; color: var(--paint-y); min-height: 1.3em; margin-top: 6px; }
.tk-list { display: grid; gap: 6px; }
.tk-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; background: rgba(241, 239, 232, .05); border: 2px solid transparent; border-radius: 2px; color: var(--paint-w); }
.tk-item svg { width: 26px; height: 26px; color: var(--paint-y); }
.tk-item__t { font-weight: 600; line-height: 1.2; }
.tk-item__c { font-family: var(--f-disp); font-weight: 700; letter-spacing: .06em; color: var(--on-asph-2); font-size: .95rem; }
.tk-item:hover { border-color: rgba(241, 239, 232, .4); }
.tk-item[aria-pressed="true"] { border-color: var(--paint-y); background: rgba(242, 194, 48, .12); }
.tk-card { border-top: 2px solid rgba(241, 239, 232, .2); padding-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .95rem; }
.tk-card dt { color: var(--on-asph-2); font-weight: 600; }
.tk-card dd { margin: 0; }
.tk-card__h { grid-column: 1 / -1; font-family: var(--f-disp); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 6px; }
.tk-card__tag { display: inline-block; font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--paint-w); color: var(--ink); padding: 1px 6px; border-radius: 2px; vertical-align: middle; margin-left: 8px; }
.tk-day { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.tk-day__l { font-weight: 700; white-space: nowrap; }
.tk-day__l output { display: inline-block; min-width: 2.6em; color: var(--paint-y); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; min-width: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--paint-y) var(--fill, 0%), var(--asphalt-hi) var(--fill, 0%)); border-radius: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 26px; margin-top: -10px; background: var(--paint-y); border: 3px solid var(--asphalt-deep); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 6px; background: var(--asphalt-hi); }
input[type="range"]::-moz-range-progress { height: 6px; background: var(--paint-y); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 22px; background: var(--paint-y); border: 3px solid var(--asphalt-deep); border-radius: 2px; }
.tk-log__h { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; margin-bottom: 8px; }
.tk-log { display: flex; flex-direction: column; min-height: 140px; }
.tk-log__list { max-height: 220px; overflow-y: auto; display: grid; gap: 6px; font-size: .95rem; scrollbar-width: thin; padding-right: 4px; }
.tk-log__list li { display: grid; grid-template-columns: 4.6em 1fr; gap: 8px; }
.tk-log__list .d { font-variant-numeric: tabular-nums; color: var(--paint-y); font-weight: 700; }
.tk-log__list li.is-new .x { animation: print .5s steps(14, end); }
@keyframes print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.tk-log__list .empty { display: block; color: var(--on-asph-2); }
.tk-mode { font-size: .9rem; color: var(--on-asph-2); margin-top: auto; }
html.anim .tk-stage { height: calc(100svh - var(--bar-h) - 3px); }
html.anim .tk-map { min-height: 0; }
html.anim .tk-panel { overflow-y: auto; gap: 12px; padding-block: 16px 12px; }
html.anim .tk-log { flex: 1 1 0; }
html.anim .tk-log__list { max-height: none; flex: 1 1 0; min-height: 0; }
html.anim .tk-item { padding-block: 6px; }
html.anim .tk-card__h { font-size: 1.45rem; }
@media (max-width: 980px) {
  .tk-stage { grid-template-columns: 1fr; }
  .tk-map { min-height: 0; aspect-ratio: 4 / 3.2; }
  html.anim .tk-stage { height: auto; }
  html.anim .tk-panel { overflow: visible; }
}

/* ===== modes ===== */
.lanes { display: grid; gap: 0; border-top: 3px solid var(--paint-y); }
.ml { border-bottom: 3px solid var(--paint-y); padding-bottom: clamp(26px, 3vw, 40px); }
.ml__road { position: relative; height: clamp(84px, 9vw, 120px); overflow: hidden; }
.ml__v { position: absolute; top: 50%; left: 4%; height: 64%; width: auto; transform: translateY(-50%); filter: drop-shadow(10px 12px 8px rgba(0, 0, 0, .45)); will-change: transform; }
.ml__v--air { height: 92%; aspect-ratio: 200 / 160; }
.ml__v--road { aspect-ratio: 200 / 40; height: 46%; }
.ml__v--rail { aspect-ratio: 260 / 32; height: 34%; }
.ml__v--sea { aspect-ratio: 240 / 48; height: 62%; }
.ml--air .ml__road { background: linear-gradient(var(--paint-y), var(--paint-y)) 0 50% / 100% 4px no-repeat; }
.ml--road .ml__road { background: linear-gradient(var(--paint-y), var(--paint-y)) 0 50% / 100% 5px no-repeat, linear-gradient(var(--paint-w), var(--paint-w)) 0 12% / 100% 3px no-repeat, linear-gradient(var(--paint-w), var(--paint-w)) 0 88% / 100% 3px no-repeat; }
.ml--rail .ml__road { background: linear-gradient(#8b8f94, #8b8f94) 0 38% / 100% 4px no-repeat, linear-gradient(#8b8f94, #8b8f94) 0 62% / 100% 4px no-repeat, linear-gradient(90deg, #56595d 0 12px, transparent 12px) 0 50% / 30px 46% repeat-x; }
.ml--sea .ml__road { background: linear-gradient(90deg, var(--paint-y) 0 60%, transparent 60%) 0 50% / 60px 5px repeat-x, #263040; }
.ml__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); align-items: start; }
.ml__name { grid-column: 1 / span 3; font-family: var(--f-disp); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.4rem); text-transform: uppercase; line-height: .95; }
.ml__facts { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(16px, 2vw, 28px); }
.ml__facts dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paint-y); margin-bottom: 6px; }
.ml__facts dd { margin: 0; color: var(--paint-w); }
.ml__scale { margin-top: 18px; font-size: .95rem; color: var(--on-asph-2); }
.cmp-wrap { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; }
.cmp caption { text-align: left; font-family: var(--f-disp); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; padding-bottom: 14px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 2px solid rgba(241, 239, 232, .22); vertical-align: top; }
.cmp thead th { font-family: var(--f-disp); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 3px solid var(--paint-w); }
.cmp tbody th { font-weight: 600; color: var(--paint-y); width: 22%; }
@media (max-width: 860px) {
  .ml__name { grid-column: 1 / -1; margin-bottom: 14px; }
  .ml__facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .ml__facts { grid-template-columns: 1fr; } }

/* ===== equipment ===== */
.plan { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.plan__row { display: grid; grid-template-columns: minmax(150px, 15rem) minmax(0, 1fr); align-items: center; gap: 18px; }
.plan__tag { font-family: var(--f-disp); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.plan__box { position: relative; display: block; width: calc(var(--len) / 13.6 * 100%); aspect-ratio: calc(var(--len) / 2.45); max-width: 100%; border: 3px solid var(--ink); background: rgba(29, 30, 32, .1); }
.plan__box i { position: absolute; background: var(--wood); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); background-image: linear-gradient(90deg, transparent 18%, rgba(0, 0, 0, .18) 18% 22%, transparent 22% 78%, rgba(0, 0, 0, .18) 78% 82%, transparent 82%); }
.plan__scale { font-size: .92rem; color: var(--ink-2); }
.eq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(16px, 2.4vw, 36px); margin-bottom: 30px; }
.eq { border-top: 4px solid var(--ink); padding-top: 14px; min-width: 0; }
.eq h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 10px; }
.eq__fig { font-weight: 600; margin-bottom: 4px; }
.eq__fig span { display: inline-block; min-width: 7.5em; font-weight: 500; color: var(--ink-2); }
.eq p:last-child { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 860px) { .eq-grid { grid-template-columns: 1fr 1fr; } .plan__row { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 520px) { .eq-grid { grid-template-columns: 1fr; } }

/* ===== calculator ===== */
.calc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px clamp(16px, 2vw, 28px); }
.calc__in { grid-column: 1 / span 5; min-width: 0; }
.calc__out { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-content: start; min-width: 0; }
.load { grid-column: 1 / -1; }
.calc__note { grid-column: 1 / -1; }
.calc__set { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.calc__set legend { font-family: var(--f-disp); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; padding: 0; margin-bottom: 12px; }
.calc__dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.calc__dims:nth-of-type(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fld--ink .fld__l { color: var(--ink-2); }
.fld--ink input, .fld--ink select, .fld--ink textarea { background: rgba(255, 255, 255, .62); color: var(--ink); border: 2px solid var(--ink); border-bottom-width: 3px; }
.fld--ink input::placeholder, .fld--ink textarea::placeholder { color: #66676b; }
.fld--ink select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1e20' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7em center; background-size: 12px; }
.fld--ink select option { background: #fff; color: var(--ink); }
.fld--ink input:focus, .fld--ink select:focus, .fld--ink textarea:focus { outline: 3px solid var(--ink); box-shadow: 0 0 0 7px var(--paint-y); }
.fld--ink .fld__e { color: #8a2a17; }
.fld--ink.is-bad input, .fld--ink.is-bad select { border-color: #8a2a17; }
.fld--check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.fld--check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: transparent; border: 2px solid var(--ink); border-radius: 2px; padding: .35em .8em; font-weight: 600; font-size: .95rem; color: var(--ink); }
.chip:hover { background: rgba(29, 30, 32, .08); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paint-y); }
.calc__err { color: #8a2a17; font-weight: 600; min-height: 1.4em; margin-top: 10px; }
.res { border-top: 4px solid var(--ink); padding-top: 12px; min-width: 0; }
.res h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.res__big { font-family: var(--f-disp); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.05; margin: 6px 0; overflow-wrap: anywhere; }
.res__big small { display: block; font-size: .42em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.res__how { font-size: .95rem; color: var(--ink-2); }
.load { display: grid; gap: 12px; }
.load__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.load canvas { width: 100%; height: auto; aspect-ratio: 1200 / 260; }
.load figcaption { font-weight: 600; }
@media (max-width: 980px) { .calc__in, .calc__out { grid-column: 1 / -1; } }
@media (max-width: 600px) { .calc__out { grid-template-columns: 1fr; } .calc__dims { grid-template-columns: 1fr 1fr; } }

/* ===== incoterms ===== */
.ic-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.ic-pick__g { flex-basis: 100%; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-asph-2); margin-top: 6px; }
.ic-t { background: transparent; border: 2px solid rgba(241, 239, 232, .55); border-radius: 2px; padding: .35em .75em; font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: var(--paint-w); min-width: 4.2em; }
.ic-t:hover { border-color: var(--paint-w); }
.ic-t[aria-checked="true"] { background: var(--paint-y); border-color: var(--paint-y); color: var(--ink); }
.ic-board { background: rgba(22, 23, 25, .55); border: 3px solid var(--paint-w); padding: clamp(18px, 3vw, 34px); margin-bottom: 24px; }
.ic-head { display: grid; grid-template-columns: auto 1fr; gap: 4px 22px; align-items: baseline; margin-bottom: 26px; }
.ic-name { font-family: var(--f-disp); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--paint-y); grid-row: span 2; }
.ic-full { font-family: var(--f-disp); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
.ic-one { font-size: 1.12rem; max-width: 60ch; }
.ic-chain { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; position: relative; }
.ic-chain li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 0 8px 0 0; min-width: 0; }
.ic-chain__n { font-size: .92rem; font-weight: 600; line-height: 1.25; hyphens: auto; }
.ic-chain__who { display: block; height: 34px; line-height: 30px; font-family: var(--f-disp); font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; padding: 0 6px; border: 2px solid var(--paint-w); color: var(--paint-w); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-chain li.is-s .ic-chain__who { background: var(--paint-y); border-color: var(--paint-y); color: var(--ink); }
.ic-chain li.is-risk::before { content: ''; position: absolute; left: -5px; top: -10px; bottom: -10px; width: 6px; background: var(--paint-w); box-shadow: 0 0 0 2px var(--asphalt-deep); }
.ic-chain li.is-risk-end::before { left: auto; right: 3px; }
.ic-key { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: .92rem; font-weight: 600; }
.ic-key__i { display: inline-flex; align-items: center; gap: 8px; }
.ic-key__i::before { content: ''; width: 24px; height: 16px; border: 2px solid var(--paint-w); }
.ic-key__i--s::before { background: var(--paint-y); border-color: var(--paint-y); }
.ic-key__i--r::before { width: 6px; height: 22px; background: var(--paint-w); border: 0; }
.ic-ins, .ic-tip { margin-top: 12px; max-width: 72ch; }
.ic-ins { font-weight: 600; }
.ic-tip { color: var(--on-asph-2); }
@media (max-width: 980px) {
  .ic-chain { grid-template-columns: 1fr; gap: 8px; }
  .ic-chain li { flex-direction: row; align-items: center; padding: 0; }
  .ic-chain__who { width: 9.5em; flex: none; }
  .ic-chain li.is-risk::before { left: 0; right: 0; top: -6px; bottom: auto; width: auto; height: 5px; }
  .ic-chain li.is-risk-end::before { top: auto; bottom: -6px; }
  .ic-head { grid-template-columns: 1fr; }
  .ic-name { grid-row: auto; }
}

/* ===== customs ===== */
.cu { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(16px, 2vw, 28px); }
.cu-rail { grid-column: 1 / span 4; display: grid; gap: 6px; align-content: start; }
.cu-rail a { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 1.1rem; padding: 6px 0; }
.cu-rail__n { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--ink); font-family: var(--f-disp); font-weight: 800; font-size: 1.3rem; }
.cu-rail a[aria-current="step"] .cu-rail__n { background: var(--ink); color: var(--paint-y); }
.cu-rail a:hover .cu-rail__n { background: rgba(29, 30, 32, .1); }
.cu-steps { grid-column: 5 / span 8; display: grid; gap: 34px; min-width: 0; }
.cu-step { border-top: 4px solid var(--ink); padding-top: 16px; }
.cu-step h3 { font-family: var(--f-disp); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.cu-step__fast { font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; max-width: 60ch; }
.cu-step p:not(.cu-step__fast) { max-width: 65ch; color: var(--ink-2); }
.cu-step:focus { outline: none; }
.cu-lines { display: flex; gap: 8px; margin-top: 16px; }
.cu-line { flex: 1; text-align: center; padding: 8px 4px; font-family: var(--f-disp); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.cu-line--g { background: #2f6b3f; color: #f1efe8; }
.cu-line--y { background: var(--paint-y); color: var(--ink); }
.cu-line--r { background: var(--c-red); color: #f1efe8; }
.cu-nav { grid-column: 5 / span 8; display: none; align-items: center; gap: 18px; }
.cu-pos { font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.cu > .note { grid-column: 1 / -1; }
html.js .cu-nav { display: flex; }
html.js .cu-step:not(.is-on) { display: none; }
html.js .cu-steps { min-height: 340px; align-content: start; }
@media (max-width: 860px) {
  .cu-rail { grid-column: 1 / -1; grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cu-rail a { grid-template-columns: 1fr; justify-items: center; text-align: center; font-size: .78rem; gap: 4px; }
  .cu-rail__n { width: 36px; height: 36px; }
  .cu-steps, .cu-nav { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .cu-rail a > span:last-child { display: none; } }

/* ===== documents ===== */
.docs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px clamp(16px, 2vw, 28px); }
.docs__pick { grid-column: 1 / span 5; display: grid; gap: 18px; align-content: start; }
.docs__list { grid-column: 6 / span 7; min-width: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-block; padding: .45em .9em; border: 2px solid var(--ink); border-radius: 2px; font-weight: 600; }
.seg input:checked + span { background: var(--ink); color: var(--paint-y); }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--paint-y); }
.seg__check span::before { content: ''; display: inline-block; width: .8em; height: .8em; border: 2px solid currentColor; margin-right: .5em; vertical-align: -1px; }
.seg__check input:checked + span::before { background: var(--paint-y); }
.docs__h { font-family: var(--f-disp); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; margin-bottom: 14px; }
.checks { display: grid; gap: 0; border-top: 3px solid var(--ink); }
.checks li { border-bottom: 1px solid rgba(29, 30, 32, .3); }
.checks label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 10px 0; cursor: pointer; }
.checks input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.checks input:checked + span { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-2); }
.docs__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0 14px; }
.docs__msg { font-weight: 600; }
@media (max-width: 860px) { .docs__pick, .docs__list { grid-column: 1 / -1; } }

/* ===== special cargo ===== */
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px clamp(20px, 3vw, 44px); margin-bottom: 28px; }
.sp { position: relative; padding-left: 74px; min-width: 0; }
.sp h3 { font-family: var(--f-disp); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.sp__fast { font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.sp p:not(.sp__fast) { color: var(--on-asph-2); }
.sp__mark { position: absolute; left: 0; top: 2px; width: 50px; height: 50px; }
.sp__mark--dg { border: 3px solid var(--paint-y); transform: rotate(45deg) scale(.82); box-shadow: inset 0 0 0 5px var(--asphalt), inset 0 0 0 8px var(--paint-y); }
.sp__mark--cold { border: 3px solid var(--paint-w); background: linear-gradient(var(--paint-w), var(--paint-w)) 50% 30% / 60% 4px no-repeat, linear-gradient(var(--paint-w), var(--paint-w)) 50% 50% / 60% 4px no-repeat, linear-gradient(var(--paint-w), var(--paint-w)) 50% 70% / 60% 4px no-repeat; }
.sp__mark--oog { border: 3px dashed var(--paint-y); }
.sp__mark--oog::after { content: ''; position: absolute; inset: 10px; background: var(--c-orange); }
.sp__mark--val { border: 3px solid var(--paint-w); border-radius: 50%; }
.sp__mark--val::after { content: ''; position: absolute; inset: 13px; border-radius: 50%; background: var(--paint-y); }
@media (max-width: 860px) { .sp-grid { grid-template-columns: 1fr; } }

/* ===== process ===== */
.pr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: pr; }
.pr__s { position: relative; padding: 70px clamp(10px, 1.4vw, 20px) 0 0; min-width: 0; }
.pr__s::before { counter-increment: pr; content: counter(pr); position: absolute; top: 0; left: 0; font-family: var(--f-disp); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--paint-y); }
.pr__s::after { content: ''; position: absolute; top: 50px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--paint-w) 0 50%, transparent 50%) 0 0 / 28px 4px repeat-x; }
.pr__s:first-child::after { background: var(--paint-w); width: 8px; right: auto; }
.pr__s h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; margin: 6px 0 8px; }
.pr__s p { color: var(--on-asph-2); font-size: 1rem; }
@media (max-width: 860px) { .pr { grid-template-columns: 1fr 1fr; gap: 30px 20px; } }
@media (max-width: 480px) { .pr { grid-template-columns: 1fr; } }

/* ===== faq ===== */
.faq__list details { max-width: 920px; border-bottom: 2px solid rgba(29, 30, 32, .35); }
.faq__list details:first-child { border-top: 3px solid var(--ink); }
.faq__list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.2rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; width: 24px; height: 24px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 3px 100% no-repeat; transition: transform .3s var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 22px; max-width: 68ch; color: var(--ink-2); }

/* ===== quote form ===== */
.quote__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px clamp(16px, 2vw, 28px); }
.qf { grid-column: 1 / span 8; display: grid; gap: 30px; min-width: 0; }
.qf-out { grid-column: 9 / span 4; align-self: start; position: sticky; top: calc(var(--bar-h) + 24px); background: var(--ink); color: var(--paver-hi); padding: 22px; border-radius: 2px; min-width: 0; }
.qf-out[hidden] { display: none; }
.qf-out h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; }
.qf-out__no b { font-family: var(--f-disp); font-size: 1.6rem; color: var(--paint-y); letter-spacing: .04em; }
.qf-out__txt { white-space: pre-wrap; font-family: var(--f-body); font-size: .95rem; line-height: 1.5; background: rgba(255, 255, 255, .06); padding: 12px; margin: 12px 0; max-height: 360px; overflow: auto; }
.qf-out__act { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.qf-out .btn--ink { background: var(--paint-y); color: var(--ink); }
.qf-out .note { color: #c9c6be; }
.qf__set { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.qf__set legend { display: flex; align-items: center; gap: 12px; font-family: var(--f-disp); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; padding: 0; margin-bottom: 14px; }
.qf__n { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: var(--paint-y); font-weight: 800; }
.qf__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.qf__set > .qf__row:only-of-type, .qf__row:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qf__row .fld--check { align-self: end; padding-bottom: 10px; }
.qf__go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.qf__msg { font-weight: 600; }
@media (max-width: 980px) { .qf, .qf-out { grid-column: 1 / -1; } .qf-out { position: static; } }
@media (max-width: 640px) { .qf__row, .qf__row:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; } }

/* ===== contact + footer ===== */
.contact__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(16px, 2vw, 28px); align-items: end; }
.contact__in h2 { grid-column: 1 / span 4; }
.contact__dl { grid-column: 5 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.contact__dl dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--paint-y); }
.contact__dl dd { margin: 4px 0 0; font-weight: 600; }
.contact__in .btn { grid-column: 10 / span 3; justify-self: end; }
@media (max-width: 980px) { .contact__in h2, .contact__dl, .contact__in .btn { grid-column: 1 / -1; justify-self: start; } }
.foot { background-color: var(--asphalt-deep); background-image: none; padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 8px solid var(--paint-y); }
.foot__in { display: grid; gap: 12px; color: var(--on-asph-2); font-size: .95rem; }
.foot__in p { max-width: 80ch; }
.foot__mark { display: flex; align-items: center; gap: 10px; font-family: var(--f-disp); font-weight: 800; font-size: 1.5rem; color: var(--paint-w); letter-spacing: .02em; }
.foot__mark span:last-child { font-weight: 600; font-size: .95rem; letter-spacing: .14em; color: var(--on-asph-2); }

/* ===== motion-only states ===== */
html.anim .lenis.lenis-smooth { scroll-behavior: auto !important; }
html.anim .lenis.lenis-stopped { overflow: hidden; }

/* ===== Türkiye's gateways ===== */
.gw-filter { margin-bottom: 18px; }
.gw-key::before { content: ''; display: inline-block; vertical-align: 1px; margin-right: .5em; box-shadow: 0 0 0 2px var(--ink); }
.gw-key--port::before { width: 11px; height: 11px; background: var(--paint-y); }
.gw-key--road::before { width: 16px; height: 6px; background: var(--paint-w); }
.gw-key--air::before { width: 11px; height: 11px; border-radius: 50%; background: var(--c-orange); }
.gw-key--rail::before { width: 16px; height: 7px; background: linear-gradient(90deg, var(--paint-w) 0 50%, var(--ink) 50%) 0 0 / 6px 100%; }
.seg input:checked + .gw-key::before { box-shadow: 0 0 0 2px var(--paint-y); }
.gw-map { position: relative; border: 3px solid var(--ink); overflow: hidden; }
.gw-map img { width: 100%; height: auto; }
.gw-m { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; transition: opacity .25s var(--ease-out); }
.gw-m::before { content: ''; box-shadow: 0 0 0 2px var(--ink); transition: transform .25s var(--ease-out); }
.gw-m--port::before { width: 14px; height: 14px; background: var(--paint-y); }
.gw-m--road::before { width: 20px; height: 7px; background: var(--paint-w); }
.gw-m--air::before { width: 14px; height: 14px; border-radius: 50%; background: var(--c-orange); }
.gw-m--rail::before { width: 20px; height: 8px; background: linear-gradient(90deg, var(--paint-w) 0 50%, var(--ink) 50%) 0 0 / 6px 100%; }
.gw-m[data-g="kapikuleRail"] { transform: translate(-50%, 30%); }
.gw-m:hover::before, .gw-m.is-on::before { transform: scale(1.35); }
.gw-m:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; box-shadow: 0 0 0 6px var(--paint-y); }
.gw-m__l { position: absolute; left: calc(100% + 2px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: var(--paint-w); font-size: .85rem; font-weight: 600; padding: 2px 7px; border-radius: 2px; visibility: hidden; pointer-events: none; z-index: 2; }
.gw-m--left .gw-m__l { left: auto; right: calc(100% + 2px); }
.gw-m:hover .gw-m__l, .gw-m:focus-visible .gw-m__l, .gw-m.is-on .gw-m__l { visibility: visible; }
.gw-m:hover, .gw-m:focus-visible, .gw-m.is-on { z-index: 3; }
.gw-m.is-dim { opacity: .2; }
.gw-detail { margin: 16px 0 28px; font-weight: 600; font-size: 1.15rem; min-height: 1.6em; }
.gw-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(16px, 2vw, 28px); margin-bottom: 26px; }
.gw-col { transition: opacity .25s var(--ease-out); min-width: 0; }
.gw-col h3 { font-family: var(--f-disp); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; border-top: 4px solid var(--ink); padding-top: 10px; margin-bottom: 6px; }
.gw-i { display: grid; gap: 1px; text-align: left; background: none; border: 0; padding: 7px 0; width: 100%; color: var(--ink); }
.gw-i__n { font-weight: 600; }
.gw-i__d { font-size: .9rem; color: var(--ink-2); }
.gw-i:hover .gw-i__n, .gw-i[aria-pressed="true"] .gw-i__n { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .18em; }
.gw-col.is-dim { opacity: .35; }
@media (max-width: 860px) { .gw-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gw-cols { grid-template-columns: 1fr; } .gw-m { width: 22px; height: 22px; } .gw-m::before { transform: scale(.8); } }
