/* =====================================================================
   LINTAS LOGISTICS SDN BHD (demo) — shared stylesheet for every page
   Maritime-industrial: paper + navy ink, steel greys, one signal cobalt,
   Schibsted Grotesk for display/body, IBM Plex Mono for data.
   Motion: transform / opacity / clip-path / stroke-dashoffset only.
   Page-only styles live in <page>.css (see README.md). Do not fork tokens.
   ===================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────── */
:root {
  --paper: #f0f0eb;
  --paper-2: #e4e5df;
  --card: #f8f8f4;
  --ink: #0b1526;
  --ink-2: #2a3448;
  --steel: #5a6577;
  --line: #d4d6d1;
  --line-2: #b4bac0;
  --signal: #1a4bff;
  --signal-press: #0e35d8;
  --signal-soft: #e3e9ff;
  --signal-hi: #8aa6ff;
  --navy: #0b1526;
  --navy-2: #111e34;
  --navy-3: #1b2a44;
  --on-navy: #e8ecf3;
  --on-navy-2: #a6afbd;
  --navy-line: rgba(232, 236, 243, .13);
  --ok: #0f7a4f;
  --ok-soft: #dcefe6;
  --warn: #9a5b00;
  --bad: #c42b2b;
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --wrap: 1280px;
  --gut: 40px;
  --hdr: 72px;
  --r: 6px;
  --shadow: 0 1px 0 rgba(11, 21, 38, .04), 0 24px 48px -28px rgba(11, 21, 38, .35);
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M80 0H0v80' fill='none' stroke='%230b1526' stroke-opacity='.07'/%3E%3C/svg%3E");
  --grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M80 0H0v80' fill='none' stroke='%23e8ecf3' stroke-opacity='.07'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (max-width: 767.98px) { :root { --gut: 20px; --hdr: 64px; } }

/* ── 2. Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: var(--signal-hi); }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 500; background: var(--signal); color: #fff; padding: 12px 16px; border-radius: 4px; font-weight: 600; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }
.muted { color: var(--steel); }
.dark .muted { color: var(--on-navy-2); }
.signal { color: var(--signal); }
.dark .signal { color: var(--signal-hi); }
.tnum { font-variant-numeric: tabular-nums; }

/* Type */
.eyebrow { display: block; font: 500 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: 0; background: var(--signal); }
.eyebrow b { color: var(--ink); font-weight: 600; }
.dark .eyebrow { color: var(--on-navy-2); }
.dark .eyebrow::before { background: var(--signal-hi); }
.dark .eyebrow b { color: var(--on-navy); }
.d1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); letter-spacing: -.035em; line-height: 1.02; }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.42rem); letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.dark .lead { color: var(--on-navy-2); }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--ink-2); max-width: 64ch; }
.dark .prose p { color: var(--on-navy-2); }
.kv { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.dark .kv { color: var(--on-navy-2); }
.coord { position: absolute; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--steel); opacity: .8; pointer-events: none; white-space: nowrap; }
.dark .coord { color: var(--on-navy-2); }

/* ── 3. Buttons + links ────────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent; font: 600 15px/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; text-align: center; transition: translate .5s var(--ease-out), scale .16s var(--ease-out), background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn .i { width: 18px; height: 18px; transition: translate .25s var(--ease-out); }
.btn:active { scale: .97; }
.btn-signal { background: var(--signal); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.dark .btn-line, .btn-line.on-dark { border-color: rgba(232, 236, 243, .32); color: var(--on-navy); }
.dark .btn-signal:focus-visible { outline-color: #fff; }
.btn-sm { height: 42px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-lg { height: 58px; padding: 0 26px; font-size: 16px; }
.btn-wa .i { color: #128c4a; }
.dark .btn-wa .i { color: #4fd88b; }
@media (hover: hover) and (pointer: fine) {
  .btn-signal:hover { background: var(--signal-press); }
  .btn-ink:hover { background: var(--navy-3); }
  .btn-line:hover { border-color: var(--ink); background: rgba(11, 21, 38, .04); }
  .dark .btn-line:hover, .btn-line.on-dark:hover { border-color: var(--on-navy); background: rgba(232, 236, 243, .06); }
  .btn:hover .i-go { translate: 4px 0; }
}
.btn[disabled], .btn.is-busy { pointer-events: none; opacity: .72; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .6s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 479.98px) { .btn-row > .btn { flex: 1 1 100%; } .btn { white-space: normal; height: auto; min-height: 52px; padding-block: 12px; line-height: 1.25; } .btn-sm { min-height: 42px; padding-block: 8px; } }
.link { display: inline; font-weight: 600; color: var(--signal); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease-out); }
.link .i { display: inline-block; width: 16px; height: 16px; margin-left: 6px; vertical-align: -3px; transition: translate .25s var(--ease-out); }
.dark .link { color: var(--signal-hi); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1px; } .link:hover .i { translate: 3px 0; } }
.icon-btn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 4px; border: 1px solid var(--line-2); background: transparent; transition: scale .16s var(--ease-out), border-color .2s, background-color .2s; }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn:active { scale: .94; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { border-color: var(--ink); } }

/* ── 4. Page transition: container doors + shipping label ──────────── */
.pt { position: fixed; inset: 0; z-index: 400; pointer-events: none; visibility: hidden; overflow: hidden; }
html.is-arriving .pt, html.pt-leaving .pt { visibility: visible; }
html.is-arriving .pt { animation: pt-failsafe 0s 4s forwards; }
@keyframes pt-failsafe { to { visibility: hidden; } }
.pt-door { position: absolute; top: 0; bottom: 0; width: 50.4%; background: #0f1c31 repeating-linear-gradient(90deg, #0f1c31 0 22px, #13233c 22px 27px, #0c172a 27px 31px); translate: -101% 0; will-change: translate; }
.pt-door.r { right: 0; translate: 101% 0; }
.pt-door::before, .pt-door::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7px; background: #7d8796; box-shadow: inset -2px 0 0 #59626f; }
.pt-door.l::before { right: 18%; } .pt-door.l::after { right: 44%; }
.pt-door.r::before { left: 18%; } .pt-door.r::after { left: 44%; }
.pt-door.l { box-shadow: inset -2px 0 0 #050b16; }
.pt-door.r { box-shadow: inset 2px 0 0 #050b16; }
.pt-door i { position: absolute; top: 40px; font: 600 clamp(12px, 1.3vw, 15px)/1.5 var(--mono); letter-spacing: .14em; color: rgba(232, 236, 243, .5); white-space: pre; }
.pt-door.l i { left: clamp(20px, 4vw, 56px); }
.pt-door.r i { right: clamp(20px, 4vw, 56px); text-align: right; }
.pt-label { position: absolute; left: 50%; top: 50%; width: min(420px, calc(100% - 40px)); translate: -50% -50%; rotate: -1.2deg; padding: 18px 20px 16px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; scale: .94; transition: opacity .16s ease, scale .16s ease; }
.pt-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.pt-row b { font-weight: 600; }
.pt-pre em { font-style: normal; color: var(--signal); }
.pt-pre em + em, html[data-pt-first] .pt-pre em:first-child { display: none; }
html[data-pt-first] .pt-pre em + em { display: inline; }
.pt-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 0 6px; }
.pt-from, .pt-to { font: 700 30px/1 var(--mono); letter-spacing: .02em; }
.pt-from::before { content: var(--pt-from, "PKG"); }
.pt-line { width: 100%; height: 20px; overflow: visible; }
.pt-path { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pt-base { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 4; }
.pt-dot { fill: var(--signal); }
.pt-name { font: 700 clamp(22px, 4vw, 30px)/1.1 var(--sans); letter-spacing: -.02em; text-transform: none; padding: 6px 0 14px; }
.pt-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--steel); }
/* leaving this page */
html.pt-leaving .pt-door { translate: 0 0; transition: translate .44s var(--ease-io); }
html.pt-leaving .pt-door.r { transition-delay: .03s; }
html.pt-leaving .pt-label { opacity: 1; scale: 1; transition: opacity .18s ease .26s, scale .3s var(--ease-out) .26s; }
html.pt-leaving .pt-path { stroke-dashoffset: 0; transition: stroke-dashoffset .3s var(--ease-io) .34s; }
html.pt-leaving .pt-dot { translate: 200px 0; transition: translate .3s var(--ease-io) .34s; }
/* arriving on this page: doors start shut, the label shows the finished route */
html.is-arriving .pt-door { translate: 0 0; transition: none; }
html.is-arriving .pt-label { opacity: 1; scale: 1; transition: none; }
html.is-arriving .pt-path { stroke-dashoffset: 0; }
html.is-arriving .pt-dot { translate: 200px 0; }
html.is-arriving[data-pt-first] .pt-path { animation: pt-draw .8s var(--ease-io) .15s both; }
html.is-arriving[data-pt-first] .pt-dot { animation: pt-dot .8s var(--ease-io) .15s both; }
@keyframes pt-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pt-dot { from { translate: 0 0; } to { translate: 200px 0; } }
html.is-arriving.is-arrived .pt-label { opacity: 0; translate: -50% calc(-50% - 12px); transition: opacity .16s ease, translate .22s var(--ease-out); }
html.is-arriving.is-arrived .pt-door.l { translate: -101% 0; transition: translate .6s var(--ease-io) .08s; }
html.is-arriving.is-arrived .pt-door.r { translate: 101% 0; transition: translate .6s var(--ease-io) .12s; }
@media (max-width: 599.98px) { .pt-door::after { display: none; } .pt-door i { display: none; } .pt-from, .pt-to { font-size: 24px; } }

/* ── 5. Header, dropdown, mobile menu ──────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 100; height: var(--hdr); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); transition: translate .34s var(--ease-out); }
.hdr.is-hidden { translate: 0 -101%; }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark .bm-box { fill: var(--ink); }
.brand-mark .bm-rib { stroke: var(--paper); stroke-width: 1.6; }
.brand-mark .bm-dot { fill: var(--signal); }
.brand-txt { display: flex; flex-direction: column; font: 800 19px/1 var(--sans); letter-spacing: -.03em; }
.brand-txt small { margin-top: 4px; font: 500 9.5px/1 var(--mono); letter-spacing: .26em; color: var(--steel); }
.dark .brand-mark .bm-box { fill: var(--on-navy); }
.dark .brand-mark .bm-rib { stroke: var(--navy); }
.dark .brand-txt small { color: var(--on-navy-2); }
.nav { position: relative; display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > a, .nav-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border: 0; background: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s ease; }
.nav-btn .i { width: 16px; height: 16px; transition: rotate .25s var(--ease-out); }
.nav-btn[aria-expanded="true"] .i { rotate: 180deg; }
.nav > a[aria-current="page"], .nav-btn.is-current { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .nav > a:hover, .nav-btn:hover { color: var(--ink); } }
.nav-ind { position: absolute; left: 0; bottom: -14px; width: 100px; height: 2px; background: var(--signal); transform-origin: 0 0; opacity: 0; transition: translate .32s var(--ease-out), scale .32s var(--ease-out), opacity .2s ease; pointer-events: none; }
.nav-ind.is-on { opacity: 1; }
.nav-dd { position: relative; }
.dd { position: absolute; left: -12px; top: calc(100% + 14px); width: 560px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transform-origin: 40px 0; opacity: 0; scale: .97; translate: 0 -6px; visibility: hidden; transition: opacity .14s ease, scale .14s ease, translate .14s ease, visibility 0s .14s; }
.dd.is-open { opacity: 1; scale: 1; translate: 0 0; visibility: visible; transition: opacity .2s var(--ease-out), scale .2s var(--ease-out), translate .2s var(--ease-out), visibility 0s; }
.dd > a { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 12px; border-radius: 4px; transition: background-color .15s ease; }
.dd > a code { grid-row: span 2; align-self: start; padding: 6px 0; text-align: center; font: 600 11px/1 var(--mono); letter-spacing: .06em; color: var(--signal); border: 1px solid var(--line-2); border-radius: 3px; }
.dd > a b { font-size: 15px; font-weight: 600; }
.dd > a span { font-size: 13px; color: var(--steel); line-height: 1.4; }
.dd > a[aria-current="page"] { background: var(--signal-soft); }
.dd > a:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .dd > a:hover { background: var(--paper-2); } }
.dd-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--steel); }
.hdr-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px; font: 500 14px/1 var(--mono); color: var(--ink-2); }
.hdr-tel .i { width: 17px; height: 17px; }
.menu-btn { display: none; }
@media (max-width: 1179.98px) { .hdr-tel { display: none; } }
@media (max-width: 991.98px) { .nav, .hdr-cta { display: none; } .menu-btn { display: grid; } }
@media (max-width: 379.98px) { .brand-txt small { letter-spacing: .18em; } }

.menu { position: fixed; inset: 0; z-index: 170; display: flex; flex-direction: column; padding: calc(var(--hdr) + 12px) var(--gut) calc(24px + env(safe-area-inset-bottom)); background: var(--navy) var(--grid-dark); color: var(--on-navy); overflow-y: auto; clip-path: circle(0 at var(--mx, 100%) var(--my, 0)); visibility: hidden; transition: clip-path .36s var(--ease-io), visibility 0s .36s; }
.menu.is-open { clip-path: circle(150vmax at var(--mx, 100%) var(--my, 0)); visibility: visible; transition: clip-path .56s var(--ease-io), visibility 0s; }
.menu-top { position: absolute; left: var(--gut); right: var(--gut); top: 0; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; }
.menu-top .icon-btn { color: var(--on-navy); border-color: var(--navy-line); }
.menu nav { display: grid; }
.menu nav a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--navy-line); font: 600 clamp(1.3rem, 6vw, 1.8rem)/1.1 var(--sans); letter-spacing: -.02em; opacity: 0; translate: 0 16px; transition: opacity .2s ease, translate .2s ease; }
.menu nav a code { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal-hi); }
.menu nav a .i { width: 18px; height: 18px; color: var(--on-navy-2); }
.menu nav a[aria-current="page"] { color: var(--signal-hi); }
.menu.is-open nav a { opacity: 1; translate: 0 0; transition: opacity .4s var(--ease-out), translate .5s var(--ease-out); transition-delay: calc(.12s + var(--i, 0) * .04s); }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; font-size: 14px; color: var(--on-navy-2); }
.menu-foot .btn-row .btn { flex: 1 1 auto; }
body.is-locked { overflow: hidden; }

/* ── 6. Reveal system ──────────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { translate: none; }
.js [data-reveal="steps"] { opacity: 1; translate: none; } /* the line + numbers animate instead */
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
html.js:not(.lt-ready) [data-reveal] { animation: reveal-failsafe 0s 2.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; translate: 0 0; } }
/* image wipe: observe the frame, clip the image (a fully clipped frame never intersects) */
.js [data-reveal="img"] { opacity: 1; translate: none; position: relative; overflow: hidden; }
.js [data-reveal="img"] img { clip-path: inset(0 100% 0 0); scale: 1.08; transition: clip-path .95s var(--ease-io), scale 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="img"]::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; border-left: 2px solid var(--signal); translate: -2px 0; opacity: 0; pointer-events: none; }
.js [data-reveal="img"].is-in img { clip-path: inset(0 0 0 0); scale: 1; }
.js [data-reveal="img"].is-in::after { animation: scanbar .95s var(--ease-io) calc(var(--d, 0s) + .04s); }
/* no fill-mode: the bar only exists while it runs (and stays hidden if animations are paused) */
@keyframes scanbar { 0% { translate: -2px 0; opacity: 1; } 92% { opacity: 1; } 100% { translate: 100% 0; opacity: 0; } }
/* line masks: [data-split] text is split into words; words on the same line share a delay */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; }
.js [data-split] .w > span { translate: 0 108%; transition: translate .85s var(--ease-out); transition-delay: calc(var(--d, 0s) + var(--l, 0) * .07s); }
.js [data-split].is-in .w > span { translate: 0 0; }

/* ── 7. Sections ───────────────────────────────────────────────────── */
.sec { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.sec-sm { padding: clamp(56px, 6.5vw, 92px) 0; }
.paper-2 { background: var(--paper-2); }
.dark { background: var(--navy); color: var(--on-navy); color-scheme: dark; }
.grid-bg { background-image: var(--grid); background-position: center top; }
.dark.grid-bg, .dark .grid-bg { background-image: var(--grid-dark); }
.rule { border-top: 1px solid var(--line); }
.dark .rule { border-color: var(--navy-line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head .lead { justify-self: start; }
.sec-head.is-stack { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 899.98px) { .sec-head { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split.is-center { align-items: center; }
@media (max-width: 899.98px) { .split { grid-template-columns: 1fr; } }
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption, .photo .cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; background: var(--paper); color: var(--ink); font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-radius: 3px; }
.credit { font: 500 11px/1 var(--mono); color: var(--steel); }

/* ── 8. Breadcrumb + page hero ─────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { padding: 6px 0; transition: color .2s ease; }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--ink); }
.phero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: var(--paper) var(--grid); border-bottom: 1px solid var(--line); overflow: hidden; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.phero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.phero .lead { margin-top: 22px; }
.phero .btn-row { margin-top: 30px; }
.phero-media { position: relative; aspect-ratio: 4 / 3.2; }
.phero-media .photo { position: absolute; inset: 0; }
.phero-tag { position: absolute; right: -1px; top: -1px; z-index: 2; padding: 10px 12px; background: var(--ink); color: var(--on-navy); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 0 var(--r) 0 4px; }
.coord--tl { left: var(--gut); top: 14px; } .coord--tr { right: var(--gut); top: 14px; } .coord--br { right: var(--gut); bottom: 12px; }
@media (max-width: 899.98px) { .phero-grid { grid-template-columns: 1fr; } .phero-media { aspect-ratio: 16 / 11; } .phero .coord--tr { display: none; } }

/* ── 9. Facts strip + rolling numbers ──────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 26px 22px 24px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact dt { font: 500 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.fact dd { margin-top: 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.fact-n { font: 700 clamp(2rem, 3.4vw, 3rem)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fact-u { font: 500 13px/1 var(--mono); color: var(--steel); }
.fact .fact-note { display: block; margin-top: 10px; font-size: 13px; color: var(--steel); }
.dark .facts, .dark .fact + .fact { border-color: var(--navy-line); }
.dark .fact dt, .dark .fact-u, .dark .fact-note { color: var(--on-navy-2); }
@media (max-width: 899.98px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dark .fact:nth-child(n+3) { border-color: var(--navy-line); }
}
.roll { white-space: nowrap; font-variant-numeric: tabular-nums; }
.roll-v { display: inline; }
/* an invisible in-flow "0" keeps the baseline; the digit column is clipped to it */
.roll-d { position: relative; display: inline-block; clip-path: inset(0); }
.roll-ph { visibility: hidden; }
.roll-c { position: absolute; left: 0; top: 0; width: 100%; display: flex; flex-direction: column; transition: translate .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.roll-c > span { display: block; text-align: center; }
.roll-s { margin: 0 -.07em; } /* digit cells are tabular; pull punctuation in to match kerned text */

/* ── 10. Cards ─────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.cards-2 { --cols: 2; } .cards-4 { --cols: 4; }
@media (max-width: 1099.98px) { .cards-4 { --cols: 2; } }
@media (max-width: 899.98px) { .cards { --cols: 2; } }
@media (max-width: 599.98px) { .cards, .cards-2, .cards-4 { --cols: 1; } }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s ease, translate .3s var(--ease-out); }
.card::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--steel); opacity: .55; transition: border-color .2s ease, opacity .2s ease, scale .3s var(--ease-out); }
.card::before { left: 8px; top: 8px; border-left-width: 1.5px; border-top-width: 1.5px; transform-origin: 0 0; }
.card::after { right: 8px; bottom: 8px; border-right-width: 1.5px; border-bottom-width: 1.5px; transform-origin: 100% 100%; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card-code { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.card-i { width: 30px; height: 30px; color: var(--ink); }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.card-meta { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font: 500 12px/1.4 var(--mono); letter-spacing: .04em; color: var(--steel); }
.card-meta b { color: var(--ink); font-weight: 600; }
.card .link { margin-top: auto; }
.dark .card { background: var(--navy-2); border-color: var(--navy-line); }
.dark .card p { color: var(--on-navy-2); }
.dark .card-i, .dark .card-meta b { color: var(--on-navy); }
.dark .card-code { color: var(--signal-hi); }
.dark .card-meta { border-color: var(--navy-line); color: var(--on-navy-2); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 3px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.tag-demo { border-style: dashed; }
.dark .tag { border-color: var(--navy-line); color: var(--on-navy-2); }
@media (hover: hover) and (pointer: fine) {
  a.card:hover, .card.is-link:hover { border-color: var(--ink); translate: 0 -3px; }
  a.card:hover::before, a.card:hover::after, .card.is-link:hover::before, .card.is-link:hover::after { border-color: var(--signal); opacity: 1; scale: 1.25; }
  .dark a.card:hover { border-color: var(--signal-hi); }
}

/* ── 11. Tabs + segmented control ──────────────────────────────────── */
.tab-list { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; height: 52px; padding: 0 16px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--steel); transition: color .2s ease; }
.tab code { margin-right: 8px; font: 600 11px/1 var(--mono); letter-spacing: .06em; color: inherit; opacity: .8; }
.tab[aria-selected="true"] { color: var(--ink); }
.tab:focus-visible { outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--ink); } }
.tab-ind { position: absolute; left: 0; bottom: 0; width: 100px; height: 2px; background: var(--signal); transform-origin: 0 0; transition: translate .3s var(--ease-io), scale .3s var(--ease-io); pointer-events: none; }
.tab-panel { padding-top: 32px; }
.tab-panel:focus-visible { outline-offset: 6px; }
.tab-panel.is-enter { animation: tabin .26s var(--ease-out); }
@keyframes tabin { from { opacity: 0; translate: 0 8px; } }
.dark .tab-list { border-color: var(--navy-line); }
.dark .tab { color: var(--on-navy-2); }
.dark .tab[aria-selected="true"] { color: var(--on-navy); }
.dark .tab-ind { background: var(--signal-hi); }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; background: var(--paper-2); border-radius: 6px; isolation: isolate; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--steel); transition: color .2s ease; white-space: nowrap; }
.seg input:checked + span { color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: -2px; border-radius: 4px; }
.seg-thumb { position: absolute; z-index: -1; left: 0; top: 4px; bottom: 4px; width: 100px; background: var(--card); border-radius: 4px; box-shadow: 0 1px 2px rgba(11, 21, 38, .12); transform-origin: 0 0; transition: translate .28s var(--ease-io), scale .28s var(--ease-io); }

/* ── 12. Accordion / FAQ (grid-rows) ───────────────────────────────── */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { font-size: inherit; letter-spacing: 0; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; border: 0; background: none; text-align: left; font: 600 clamp(1.02rem, 1.3vw, 1.14rem)/1.35 var(--sans); letter-spacing: -.01em; }
.acc-x { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--line-2); border-radius: 3px; transition: background-color .2s ease, border-color .2s ease; }
.acc-x::before, .acc-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: rotate .3s var(--ease-out); }
.acc-x::after { rotate: 90deg; }
.acc-item.is-open .acc-x { background: var(--ink); border-color: var(--ink); color: #fff; }
.acc-item.is-open .acc-x::after { rotate: 0deg; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .32s; }
.acc-item.is-open .acc-in { visibility: visible; transition: visibility 0s; }
.acc-in > * { max-width: 70ch; color: var(--ink-2); }
.acc-in > :last-child { margin-bottom: 24px; }
.acc-in > * + * { margin-top: .8em; }
@media (hover: hover) and (pointer: fine) { .acc-btn:hover .acc-x { border-color: var(--ink); } }
.dark .acc, .dark .acc-item { border-color: var(--navy-line); }
.dark .acc-in > * { color: var(--on-navy-2); }
.dark .acc-item.is-open .acc-x { background: var(--on-navy); color: var(--navy); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 899.98px) { .faq-grid { grid-template-columns: 1fr; } }

/* ── 13. Process steps ─────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 20px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--line-2); }
.steps::after { height: 2px; top: 20.5px; background: var(--signal); transform-origin: 0 0; scale: 0 1; }
.js .steps.is-in::after { scale: 1 1; transition: scale 1.2s var(--ease-io) .2s; }
.js .steps:not(.is-in)::after { scale: 0 1; }
.step { position: relative; padding-right: 8px; }
.step-n { position: relative; z-index: 1; display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 4px; font: 600 13px/1 var(--mono); letter-spacing: .04em; transition: background-color .3s ease, border-color .3s ease, color .3s ease; transition-delay: calc(.25s + var(--i, 0) * .2s); }
.paper-2 .step-n { background: var(--paper-2); }
.steps.is-in .step-n { background: var(--signal); border-color: var(--signal); color: #fff; }
.step h3 { margin-top: 20px; font-size: 1.12rem; letter-spacing: -.015em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.step-t { display: inline-block; margin-top: 12px; font: 500 12px/1 var(--mono); letter-spacing: .05em; color: var(--steel); }
.dark .steps::before { background: var(--navy-line); }
.dark .step-n { background: var(--navy); border-color: var(--navy-line); }
.dark .step p { color: var(--on-navy-2); }
.dark .step-t { color: var(--on-navy-2); }
@media (max-width: 899.98px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 21px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps::after { width: 2px; left: 20.5px; scale: 1 0; }
  .js .steps.is-in::after { scale: 1 1; }
  .js .steps:not(.is-in)::after { scale: 1 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; padding: 0 0 28px; }
  .step-n { grid-row: span 3; align-self: start; }
  .step h3 { margin-top: 10px; }
}

/* ── 14. Data table ────────────────────────────────────────────────── */
.dtable-wrap { position: relative; }
.dtable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.dtable caption { text-align: left; padding-bottom: 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.dtable thead th { position: sticky; top: 0; z-index: 2; padding: 14px 16px; background: var(--ink); color: var(--on-navy); text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.dtable thead th:first-child { border-radius: 4px 0 0 0; }
.dtable thead th:last-child { border-radius: 0 4px 0 0; }
.dtable td, .dtable tbody th { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; }
.dtable tbody th { font-weight: 600; }
.dtable tbody tr { transition: background-color .15s ease; }
.dtable .num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable .is-hl { color: var(--signal); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .dtable tbody tr:hover { background: rgba(26, 75, 255, .05); } }
.dark .dtable thead th { background: var(--navy-3); }
.dark .dtable td, .dark .dtable tbody th { border-color: var(--navy-line); }
@media (max-width: 719.98px) {
  .dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dtable, .dtable tbody, .dtable caption { display: block; width: 100%; }
  .dtable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 14px 16px 16px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
  .dtable tbody th { grid-column: 1 / -1; display: block; padding: 0 0 12px; margin-bottom: 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
  .dtable td { display: block; padding: 10px 0 0; border: 0; font-size: 14.5px; }
  .dtable td::before { content: attr(data-label); display: block; margin-bottom: 3px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
  .dark .dtable tr { background: var(--navy-2); border-color: var(--navy-line); }
  .dark .dtable tbody th { border-color: var(--navy-line); }
}

/* ── 15. Forms + calculator shell ──────────────────────────────────── */
.fld { display: grid; gap: 8px; align-content: start; }
.fld > label, .fld > .lbl { font-size: 14px; font-weight: 600; }
.lbl .opt, label .opt { font-weight: 400; color: var(--steel); }
.inp { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--card); color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; }
.inp.mono { font-family: var(--mono); letter-spacing: .02em; }
textarea.inp { min-height: 110px; resize: vertical; }
select.inp { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6577' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.inp::placeholder { color: var(--steel); opacity: .75; }
.inp:focus { outline: 0; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(26, 75, 255, .2); }
.inp[aria-invalid="true"] { border-color: var(--bad); }
.inp[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(196, 43, 43, .18); }
.hint { font-size: 13px; color: var(--steel); }
.err { font-size: 13px; font-weight: 500; color: var(--bad); }
.err[hidden] { display: none; }
.err::before { content: "! "; font-family: var(--mono); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 12px; }
@media (max-width: 599.98px) { .dims { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dims > :last-child { grid-column: 1 / -1; } }
@media (max-width: 599.98px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--signal); }
.check.is-bad span { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--card); font-size: 15px; font-weight: 500; transition: background-color .15s ease, border-color .15s ease, color .15s ease, scale .14s var(--ease-out); user-select: none; }
.chip span .i { width: 19px; height: 19px; color: var(--steel); transition: color .15s ease; }
.chip span::after { content: ""; width: 16px; height: 16px; margin-left: 2px; border: 1.5px solid var(--line-2); border-radius: 2px; transition: background-color .15s ease, border-color .15s ease; }
.chip:active span { scale: .97; }
.chip input:checked + span { border-color: var(--signal); background: var(--signal-soft); color: var(--ink); }
.chip input:checked + span .i { color: var(--signal); }
.chip input:checked + span::after { background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--signal); }
.chip input[type="radio"] + span::after { border-radius: 50%; }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--ink); } }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--card); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 44px; height: 26px; flex: none; border-radius: 13px; background: var(--line-2); transition: background-color .2s ease; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: translate .22s var(--ease-out); }
.switch input:checked ~ .switch-ui { background: var(--signal); }
.switch input:checked ~ .switch-ui::after { translate: 18px 0; }
.switch input:focus-visible ~ .switch-ui { outline: 2px solid var(--signal); outline-offset: 2px; }
.range { width: 100%; height: 28px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--signal), var(--signal)) 0 0 / var(--p) 100% no-repeat, var(--line-2); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--signal), var(--signal)) 0 0 / var(--p) 100% no-repeat, var(--line-2); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 4px; background: var(--card); border: 2px solid var(--signal); box-shadow: 0 2px 6px rgba(11, 21, 38, .2); transition: scale .15s var(--ease-out); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 4px; background: var(--card); border: 2px solid var(--signal); }
.range:active::-webkit-slider-thumb { scale: 1.12; }
.range:focus-visible { outline: 0; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(26, 75, 255, .25); }
.range-scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--steel); }
.num-wrap { display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--card); overflow: hidden; }
.num-wrap .inp { border: 0; border-radius: 0; text-align: center; font-family: var(--mono); }
.num-wrap .inp:focus { box-shadow: inset 0 0 0 2px var(--signal); }
.num-wrap button { border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); transition: background-color .15s ease, scale .12s var(--ease-out); }
.num-wrap button:active { scale: .9; }
.num-wrap button .i { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .num-wrap button:hover { background: var(--paper-2); } }
input[type="number"].inp { -moz-appearance: textfield; }
input[type="number"].inp::-webkit-inner-spin-button, input[type="number"].inp::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.calc-in { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3.4vw, 40px); }
.calc-out { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3.4vw, 40px); background: var(--navy) var(--grid-dark); color: var(--on-navy); }
.calc-k { display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.calc-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.calc-big small { font: 500 14px/1 var(--mono); letter-spacing: .04em; color: var(--on-navy-2); }
.calc-rows { display: grid; border-top: 1px solid var(--navy-line); }
.calc-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--navy-line); }
.calc-rows dt { font-size: 14px; color: var(--on-navy-2); }
.calc-rows dd { font: 600 16px/1 var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.calc-note { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--on-navy-2); }
.calc-note .i { width: 17px; height: 17px; margin-top: 1px; color: var(--signal-hi); }
.calc-out .btn { margin-top: auto; }
@media (max-width: 899.98px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.seg { max-width: 100%; }
@media (max-width: 379.98px) { .seg span { padding: 0 10px; gap: 6px; } }

/* ── 16. Timelines (vertical + horizontal) ─────────────────────────── */
.tl { position: relative; display: grid; }
.tl-i { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 0 16px; padding-bottom: 22px; }
.tl-i::before { content: ""; position: absolute; left: 13.5px; top: 22px; bottom: -2px; width: 1px; background: var(--line-2); }
.tl-i:last-child::before { display: none; }
.tl-i::after { content: ""; position: absolute; left: 13px; top: 22px; bottom: -2px; width: 2px; background: var(--signal); transform-origin: 0 0; scale: 1 0; transition: scale .3s var(--ease-out); transition-delay: var(--td, 0s); }
.tl-i.is-done::after { scale: 1 1; }
.tl-i:last-child::after { display: none; }
.tl-dot { position: relative; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--card); border: 1.5px solid var(--line-2); transition: background-color .25s ease, border-color .25s ease, color .25s ease; transition-delay: var(--td, 0s); color: var(--steel); }
.tl-dot .i { width: 14px; height: 14px; stroke-width: 2.2; }
.tl-i.is-done .tl-dot { background: var(--signal); border-color: var(--signal); color: #fff; }
.tl-i.is-now .tl-dot { background: var(--card); border: 2px solid var(--signal); color: var(--signal); }
.tl-i.is-now .tl-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--signal); opacity: 0; animation: pulse 1.8s var(--ease-out) infinite; }
.is-paused .tl-dot::after { animation-play-state: paused; }
@keyframes pulse { 0% { opacity: .7; scale: .7; } 100% { opacity: 0; scale: 1.35; } }
.tl-b { padding-top: 3px; min-width: 0; }
.tl-t { font-weight: 600; line-height: 1.35; }
.tl-d { margin-top: 2px; font-size: 14px; color: var(--steel); }
.tl-m { padding-top: 5px; font: 500 12px/1.4 var(--mono); color: var(--steel); text-align: right; white-space: nowrap; }
.tl-i:not(.is-done):not(.is-now) .tl-t { color: var(--steel); }
.dark .tl-i::before { background: var(--navy-line); }
.dark .tl-dot { background: var(--navy-2); border-color: var(--navy-line); color: var(--on-navy-2); }
.dark .tl-d, .dark .tl-m { color: var(--on-navy-2); }

.htl { position: relative; }
.htl-scroller { margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scroll-padding: 0 var(--gut); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.htl-scroller::-webkit-scrollbar { display: none; }
.htl-track { position: relative; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 0; min-width: 100%; padding-top: 58px; }
.htl-line { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line-2); }
.htl-fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 0; scale: var(--hp, 0) 1; }
.htl-ship { position: absolute; left: 0; top: -13px; width: 28px; height: 28px; display: grid; place-items: center; margin-left: -14px; border-radius: 4px; background: var(--signal); color: #fff; translate: var(--hx, 0px) 0; }
.htl-ship .i { width: 16px; height: 16px; }
.htl-i { position: relative; padding-right: 20px; scroll-snap-align: start; }
.htl-i::before { content: ""; position: absolute; left: 0; top: -41px; width: 12px; height: 12px; margin-left: -1px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); transition: background-color .3s ease, border-color .3s ease; }
.paper-2 .htl-i::before { background: var(--paper-2); }
.htl-i.is-on::before { background: var(--signal); border-color: var(--signal); }
.htl-y { font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--steel); transition: color .3s ease; }
.htl-i.is-on .htl-y { color: var(--signal); }
.htl-i h3 { margin-top: 12px; font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.25; }
.htl-i p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); opacity: .75; transition: opacity .4s ease; }
.htl-i.is-on p { opacity: 1; }
.htl-hint { display: none; margin-top: 16px; font: 500 12px/1 var(--mono); color: var(--steel); }
@media (max-width: 899.98px) {
  .htl-track { grid-template-columns: repeat(var(--n, 8), 72vw); min-width: 0; width: max-content; }
  .htl-i { padding-right: 28px; }
  .htl-hint { display: flex; gap: 8px; align-items: center; }
}

/* ── 17. Route map ─────────────────────────────────────────────────── */
.rmap { position: relative; }
.rmap svg { width: 100%; height: auto; overflow: hidden; }
.rmap-land { fill: url(#lt-dots); }
.rmap-dots circle { fill: var(--ink); opacity: .3; }
.rmap-graticule { fill: none; stroke: var(--ink); stroke-opacity: .09; stroke-width: 1; stroke-dasharray: 3 5; }
.rmap-glabel { font: 500 13px var(--mono); fill: var(--steel); letter-spacing: .06em; }
.rmap-lane { fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; }
.rmap-lane.is-air { stroke-width: 2; stroke-dasharray: 1 7; stroke-linecap: round; }
.rmap-lane.is-road { stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 8 6; stroke-linecap: butt; }
.js .rmap[data-rmap] .rmap-lane { opacity: 0; }
html.js:not(.lt-ready) .rmap-lane, html.js:not(.lt-ready) .rmap-node { animation: reveal-failsafe 0s 2.5s forwards; }
.rmap { --mv: 1; }
@media (max-width: 767.98px) { .rmap { --mv: 2.1; } }
.rmap-node circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; }
.rmap-node.is-hub circle { fill: var(--signal); stroke: var(--signal); }
.rmap-node.is-hub .rmap-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: .5; }
.rmap-node text { font: 600 15px var(--mono); fill: var(--ink); letter-spacing: .04em; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.rmap-node .rmap-sub { font-weight: 500; font-size: 11.5px; fill: var(--steel); }
.js .rmap[data-rmap] .rmap-node { opacity: 0; transition: opacity .35s var(--ease-out); }
.js .rmap[data-rmap] .rmap-node.is-on { opacity: 1; }
.rmap-mover { fill: var(--ink); }
.rmap-mover .mv-hi { fill: var(--signal); }
.rmap-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--steel); }
.rmap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rmap-legend i { width: 22px; height: 0; border-top: 2.4px solid var(--signal); }
.rmap-legend i.is-air { border-top: 2.4px dotted var(--signal); }
.rmap-legend i.is-road { border-top: 2.4px dashed var(--ink); }
.rmap-legend i.is-hub { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--signal); }
.dark .rmap-dots circle { fill: var(--on-navy); opacity: .28; }
.dark .rmap-graticule { stroke: var(--on-navy); }
.dark .rmap-lane { stroke: var(--signal-hi); }
.dark .rmap-node circle { fill: var(--navy); stroke: var(--on-navy); }
.dark .rmap-node text { fill: var(--on-navy); stroke: var(--navy); }
.rmap--zoom { --mv: .5; }
.rmap--zoom .rmap-lane { stroke-width: 1.4; }
.rmap--zoom .rmap-lane.is-air { stroke-width: 1.3; stroke-dasharray: .5 3.5; }
.rmap--zoom .rmap-lane.is-road { stroke-width: 1.4; stroke-dasharray: 4 3; }
.rmap--zoom .rmap-node circle { stroke-width: 1.3; }
.rmap--zoom .rmap-node.is-hub .rmap-ring { stroke-width: .8; }
.rmap--zoom .rmap-node text { font-size: 8px; stroke-width: 2.6px; }
.rmap--zoom .rmap-node .rmap-sub { font-size: 6px; }
.rmap--zoom .rmap-graticule { stroke-width: .5; stroke-dasharray: 1.5 2.5; }
@media (max-width: 767.98px) {
  .rmap-dots circle { r: 2.6px; }
  .rmap--zoom .rmap-dots circle { r: .8px; }
  .rmap--zoom { --mv: .7; }
  .rmap--zoom .rmap-lane { stroke-width: 2; }
  .rmap--zoom .rmap-lane.is-air { stroke-width: 1.8; stroke-dasharray: .5 4.5; }
  .rmap--zoom .rmap-node text { font-size: 10px; stroke-width: 3px; }
  .rmap--zoom .rmap-node circle { stroke-width: 1.6; }
}
@media (max-width: 767.98px) {
  .rmap:not(.rmap--zoom) .rmap-lane { stroke-width: 4; }
  .rmap:not(.rmap--zoom) .rmap-lane.is-air { stroke-width: 3.6; stroke-dasharray: 1 12; }
  .rmap:not(.rmap--zoom) .rmap-node text { font-size: 30px; stroke-width: 8px; }
  .rmap-node .rmap-sub, .rmap-glabel { display: none; }
  .rmap:not(.rmap--zoom) .rmap-node circle { stroke-width: 4; }
  .rmap .is-minor { display: none; }
}

/* ── 18. Tracker ───────────────────────────────────────────────────── */
.trk { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.trk-form { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3.4vw, 40px); border-right: 1px solid var(--line); }
.trk-form label { font-weight: 600; font-size: 14px; }
.trk-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.trk-row .inp { font-family: var(--mono); font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 419.98px) { .trk .trk-row { grid-template-columns: 1fr; } }
.trk-row .btn { height: 50px; }
.trk-try { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.trk-try button { height: 32px; padding: 0 10px; border: 1px dashed var(--line-2); border-radius: 3px; background: none; font: 500 12px/1 var(--mono); color: var(--steel); transition: color .15s ease, border-color .15s ease; }
@media (hover: hover) and (pointer: fine) { .trk-try button:hover { color: var(--ink); border-color: var(--ink); } }
.trk-out { position: relative; min-height: 420px; padding: clamp(22px, 3.4vw, 40px); }
.trk-empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: var(--steel); font-size: 15px; }
.trk-empty .i { width: 36px; height: 36px; color: var(--line-2); }
.trk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.trk-code { font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.1 var(--mono); letter-spacing: .02em; }
.trk-status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 3px; background: var(--signal-soft); color: var(--signal); font: 600 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.trk-status.is-done { background: var(--ok-soft); color: var(--ok); }
.trk-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 0; }
.trk-port b { display: block; font: 700 1.6rem/1 var(--mono); letter-spacing: .02em; }
.trk-port span { display: block; margin-top: 6px; font-size: 13px; color: var(--steel); }
.trk-port:last-child { text-align: right; }
.trk-bar { position: relative; height: 2px; background: var(--line-2); }
.trk-bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 0; scale: 0 1; transition: scale .9s var(--ease-io) .1s; }
.trk-bar span { position: absolute; left: 0; top: -15px; width: 30px; height: 30px; margin-left: -15px; display: grid; place-items: center; border-radius: 4px; background: var(--ink); color: #fff; translate: 0 0; transition: translate .9s var(--ease-io) .1s; }
.trk-bar span .i { width: 16px; height: 16px; }
.trk-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 0 22px; border-top: 1px dashed var(--line-2); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.trk-meta dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.trk-meta dd { margin-top: 6px; font: 600 14px/1.3 var(--mono); }
.trk-out .tl-i { opacity: 0; translate: 0 8px; transition: opacity .3s var(--ease-out), translate .3s var(--ease-out); transition-delay: var(--td, 0s); }
.trk-out .tl-i.is-shown { opacity: 1; translate: 0 0; }
.trk-res { animation: tabin .3s var(--ease-out); }
.skel { display: grid; gap: 14px; }
.skel i { position: relative; display: block; height: 14px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.skel i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); translate: -100% 0; animation: shimmer 1.1s linear infinite; }
.skel .s-xl { height: 28px; width: 55%; } .skel .s-l { width: 80%; } .skel .s-m { width: 62%; } .skel .s-s { width: 38%; } .skel .s-bar { height: 2px; margin: 26px 0; }
@keyframes shimmer { to { translate: 100% 0; } }
.trk-mini { display: grid; gap: 8px; max-width: 470px; }
.trk-mini label { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
@media (max-width: 899.98px) { .trk { grid-template-columns: 1fr; } .trk-form { border-right: 0; border-bottom: 1px solid var(--line); } .trk-out { min-height: 0; } }
@media (max-width: 599.98px) { .trk-meta { grid-template-columns: 1fr 1fr; } .trk-port b { font-size: 1.3rem; } }

/* ── 19. Scrollytelling (sticky figure + steps) ────────────────────── */
.scrolly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.scrolly-fig { position: sticky; top: calc(var(--hdr) + 32px); transition: translate .34s var(--ease-out); }
.hdr-off .scrolly-fig { translate: 0 calc(var(--hdr) * -1); }
.scrolly-svg { width: 100%; height: auto; }
.scrolly-svg .sc-base { fill: none; stroke: var(--navy-line); stroke-width: 3; }
.scrolly-svg .sc-path { fill: none; stroke: var(--signal-hi); stroke-width: 3; transition: stroke-dashoffset .8s var(--ease-io); }
.scrolly-svg .sc-st circle { fill: var(--navy); stroke: var(--navy-line); stroke-width: 2; transition: fill .3s ease, stroke .3s ease; }
.scrolly-svg .sc-st use { color: var(--on-navy-2); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; transition: color .3s ease; }
.scrolly-svg .sc-st text { font: 600 13px var(--mono); letter-spacing: .08em; fill: var(--on-navy-2); transition: fill .3s ease; }
.scrolly-svg .sc-st.is-on circle { stroke: var(--signal-hi); }
.scrolly-svg .sc-st.is-on use { color: var(--on-navy); }
.scrolly-svg .sc-st.is-now circle { fill: var(--signal); stroke: var(--signal); }
.scrolly-svg .sc-st.is-now use { color: #fff; }
.scrolly-svg .sc-st.is-now text { fill: var(--on-navy); }
.scrolly-svg .sc-st .sc-g { transition: scale .35s var(--ease-out); transform-box: fill-box; transform-origin: center; }
.scrolly-svg .sc-st.is-now .sc-g { scale: 1.08; }
.scrolly-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--navy-line); font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--on-navy-2); }
.scrolly-cap b { color: var(--on-navy); font-weight: 600; }
.scrolly-steps { display: grid; gap: 0; padding: 6vh 0 10vh; }
.scrolly-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .74; transition: opacity .4s ease; }
.scrolly-step.is-now { opacity: 1; }
.scrolly-step .kv { color: var(--signal-hi); }
.scrolly-step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.scrolly-step p { color: var(--on-navy-2); max-width: 46ch; }
.scrolly-strip { display: none; }
@media (max-width: 899.98px) {
  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .scrolly-fig { top: var(--hdr); z-index: 5; margin: 0 calc(var(--gut) * -1); padding: 12px var(--gut); background: color-mix(in srgb, var(--navy) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--navy-line); }
  .scrolly-svg { display: none; }
  .scrolly-cap { margin-top: 10px; padding-top: 0; border-top: 0; }
  .scrolly-strip { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); align-items: center; }
  .scrolly-strip::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; height: 1px; background: var(--navy-line); }
  .scrolly-strip > i { position: absolute; left: 22px; right: 22px; top: calc(50% - 1px); height: 2px; background: var(--signal-hi); transform-origin: 0 0; scale: var(--sp, 0) 1; transition: scale .6s var(--ease-io); }
  .scrolly-strip span { position: relative; z-index: 1; justify-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 1.5px solid var(--navy-line); color: var(--on-navy-2); transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
  .scrolly-strip span .i { width: 18px; height: 18px; }
  .scrolly-strip span.is-on { border-color: var(--signal-hi); color: var(--on-navy); }
  .scrolly-strip span.is-now { background: var(--signal); border-color: var(--signal); color: #fff; }
  .scrolly-steps { padding: 8vh 0 12vh; }
  .scrolly-step { min-height: 56vh; }
}

/* ── 20. Gallery + lightbox ────────────────────────────────────────── */
.gal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 230px); grid-auto-flow: dense; gap: 12px; }
.gal-item { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--paper-2); grid-column: span 4; cursor: zoom-in; }
.gal-item.is-wide { grid-column: span 8; }
.gal-item.is-tall { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.gal-item figcaption, .gal-item .cap { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: var(--paper); border-radius: 3px; font: 500 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.gal-item .cap .i { width: 14px; height: 14px; flex: none; transition: rotate .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gal-item:hover img, .js .gal-item[data-reveal="img"].is-in:hover img { scale: 1.04; transition: scale .6s var(--ease-out), clip-path .95s var(--ease-io); } .gal-item:hover .cap .i { rotate: 90deg; } }
@media (max-width: 899.98px) { .gal { grid-auto-rows: 200px; } .gal-item, .gal-item.is-wide { grid-column: span 6; } .gal-item.is-wide.is-tall { grid-column: span 12; } }
@media (max-width: 559.98px) { .gal { gap: 8px; grid-auto-rows: 180px; } .gal-item { grid-column: span 6; } .gal-item.is-wide { grid-column: span 12; } .gal-item.is-tall { grid-row: span 1; } .gal-item .cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6, 11, 20, 0); color: var(--on-navy); visibility: hidden; transition: background-color .24s ease, visibility 0s .24s; }
.lb.is-open { background: rgba(6, 11, 20, .94); visibility: visible; transition: background-color .3s ease, visibility 0s; }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gut); font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-2); opacity: 0; transition: opacity .2s ease; }
.lb.is-open .lb-top, .lb.is-open .lb-bot { opacity: 1; transition-delay: .12s; }
.lb .icon-btn { color: var(--on-navy); border-color: var(--navy-line); background: rgba(11, 21, 38, .6); }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 calc(var(--gut) + 56px); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 4px; transform-origin: 0 0; }
.lb-stage img.is-swap { animation: lbswap .26s var(--ease-out); }
@keyframes lbswap { from { opacity: 0; translate: calc(var(--dir, 1) * 24px) 0; } }
.lb-prev, .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lb-prev { left: var(--gut); } .lb-next { right: var(--gut); }
@media (max-width: 767.98px) { .lb-stage { padding: 0 12px; } .lb-prev, .lb-next { top: auto; bottom: -58px; translate: none; } .lb-prev { left: calc(50% - 54px); } .lb-next { right: calc(50% - 54px); } .lb-bot { padding-top: 70px; } }

/* ── 21. Marquee (industries strip) ────────────────────────────────── */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--mq, 46s) linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; gap: 12px; padding: 22px 30px; font: 600 clamp(1rem, 1.5vw, 1.25rem)/1 var(--sans); letter-spacing: -.01em; white-space: nowrap; border-right: 1px solid var(--line); }
.marquee li code { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--signal); }
.marquee li .i { width: 22px; height: 22px; color: var(--steel); }
@keyframes marquee { to { translate: -50% 0; } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ── 22. Related services + CTA band ───────────────────────────────── */
.related { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.rel { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 30px 0; overflow: hidden; }
.rel + .rel { padding-left: 22px; border-left: 1px solid var(--line); }
.rel code { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.rel b { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.rel p { font-size: 14.5px; color: var(--steel); line-height: 1.5; }
.rel .i { width: 20px; height: 20px; margin-top: 8px; transition: translate .3s var(--ease-out), color .2s ease; }
.rel::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--signal); transform-origin: 0 0; scale: 0 1; transition: scale .4s var(--ease-out); }
.rel + .rel::after { left: 22px; }
@media (hover: hover) and (pointer: fine) { .rel:hover::after { scale: 1 1; } .rel:hover .i { translate: 6px 0; color: var(--signal); } }
.rel:focus-visible::after { scale: 1 1; }
@media (max-width: 899.98px) { .related { grid-template-columns: 1fr 1fr; } .rel:nth-child(odd) { padding-left: 0; border-left: 0; } .rel:nth-child(odd)::after { left: 0; } .rel:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 479.98px) { .related { grid-template-columns: 1fr; } .rel, .rel + .rel { padding-left: 0; border-left: 0; } .rel::after, .rel + .rel::after { left: 0; } .rel + .rel { border-top: 1px solid var(--line); } }
.cta-band { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0; background-color: var(--navy); background-image: var(--grid-dark); color: var(--on-navy); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.cta-band h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.045em; line-height: .98; }
.cta-band h2 em { font-style: normal; color: var(--signal-hi); }
.cta-side { display: grid; gap: 22px; }
.cta-side p { color: var(--on-navy-2); }
.cta-quick { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 13px/1.4 var(--mono); color: var(--on-navy-2); }
.cta-quick a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--on-navy); }
.cta-quick .i { width: 17px; height: 17px; }
.cta-code { position: absolute; right: var(--gut); top: 28px; font: 600 12px/1.6 var(--mono); letter-spacing: .14em; color: var(--on-navy-2); opacity: .7; text-align: right; white-space: pre; }
@media (max-width: 899.98px) { .cta-grid { grid-template-columns: 1fr; } .cta-code { display: none; } }

/* ── 23. Footer ────────────────────────────────────────────────────── */
.ftr { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--navy-line); }
.ftr-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.ftr h2 { margin-bottom: 16px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-2); }
.ftr ul { display: grid; gap: 2px; }
.ftr ul a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; color: var(--on-navy); transition: color .2s ease; }
.ftr ul a code { font: 500 10.5px/1 var(--mono); color: var(--signal-hi); width: 30px; }
.ftr ul a:hover { color: var(--signal-hi); }
.ftr address { font-style: normal; font-size: 14px; line-height: 1.6; color: var(--on-navy-2); }
.ftr address b { display: block; margin-bottom: 2px; color: var(--on-navy); font-weight: 600; }
.ftr address + address { margin-top: 14px; }
.ftr-about { margin-top: 18px; max-width: 34ch; font-size: 14.5px; color: var(--on-navy-2); }
.ftr-plate { display: inline-grid; margin-top: 22px; padding: 10px 12px; border: 1px solid var(--navy-line); border-radius: 3px; font: 600 12px/1.5 var(--mono); letter-spacing: .14em; color: var(--on-navy-2); }
.ftr-plate b { color: var(--on-navy); font-weight: 600; }
.ftr-contact { display: grid; gap: 4px; margin-top: 18px; }
.ftr-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font: 500 14px/1 var(--mono); color: var(--on-navy); }
.ftr-contact .i { width: 17px; height: 17px; color: var(--signal-hi); }
.ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--navy-line); font-size: 13px; color: var(--on-navy-2); }
.ftr-bot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ftr-bot a, .ftr-bot button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: var(--on-navy); font-size: 13px; }
.ftr-bot a:hover, .ftr-bot button:hover { color: var(--signal-hi); }
@media (max-width: 991.98px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559.98px) { .ftr-top { grid-template-columns: 1fr; } }

/* ── 24. Floating: mobile CTA bar, WhatsApp, consent, debug ────────── */
.mbar { display: none; }
@media (max-width: 767.98px) {
  .mbar { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 48px 48px 1fr; gap: 8px; padding: 8px; border-radius: 8px; background: color-mix(in srgb, var(--navy) 94%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); translate: 0 140%; transition: translate .36s var(--ease-out); }
  .mbar.is-on { translate: 0 0; }
  .consent-on .mbar.is-on { translate: 0 140%; }
  .mbar .btn { height: 48px; min-height: 48px; padding: 0 12px; white-space: nowrap; font-size: 14.5px; }
  .mbar .icon-btn { width: 48px; height: 48px; color: var(--on-navy); border-color: var(--navy-line); }
  .mbar .icon-btn .i-wa { color: #4fd88b; }
  .ftr { padding-bottom: 84px; }
}
.wa-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 0; height: 52px; padding: 0 15px; border-radius: 26px; background: #128c4a; color: #fff; font-weight: 600; font-size: 14.5px; box-shadow: 0 16px 32px -14px rgba(11, 21, 38, .55); translate: 0 calc(100% + 30px); transition: translate .4s var(--ease-out), background-color .2s ease; }
.wa-float .i { width: 22px; height: 22px; }
.wa-float span { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .3s var(--ease-out), opacity .2s ease, margin .3s var(--ease-out); }
.wa-float.is-on { translate: 0 0; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: #0e7a3f; } .wa-float:hover span, .wa-float:focus-visible span { max-width: 180px; opacity: 1; margin-left: 10px; } }
@media (max-width: 767.98px) { .wa-float { display: none; } }
.consent { position: fixed; z-index: 150; right: 20px; bottom: 20px; width: min(430px, calc(100% - 40px)); padding: 20px; border-radius: var(--r); background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; translate: 0 16px; transition: opacity .3s var(--ease-out), translate .4s var(--ease-out); }
.consent.is-on { opacity: 1; translate: 0 0; }
.consent[hidden] { display: none; }
.consent h2 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; letter-spacing: -.01em; }
.consent h2 .i { color: var(--signal); }
.consent p { margin: 8px 0 16px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.consent .btn-row .btn { flex: 1; }
@media (max-width: 479.98px) { .consent { right: 10px; bottom: 10px; width: calc(100% - 20px); } }
.consent-on .wa-float { translate: 0 calc(100% + 30px); } /* never stack two floats in one corner */
.dbg { position: fixed; z-index: 160; right: 12px; top: 84px; width: min(340px, calc(100% - 24px)); max-height: 46vh; overflow: auto; padding: 12px; border-radius: 6px; background: rgba(6, 11, 20, .94); color: #cfe0ff; font: 12px/1.5 var(--mono); }
.dbg b { color: var(--signal-hi); }
.dbg div { padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); word-break: break-word; }

/* ── 24b. Wizard (multi-step form) + success ───────────────────────── */
.wz { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.wz-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(20px, 3.4vw, 36px) 16px; }
.wz-head b { font-size: 1.15rem; letter-spacing: -.015em; }
.wz-head span { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--steel); white-space: nowrap; }
.wz-bar { height: 3px; background: var(--paper-2); }
.wz-bar > i { display: block; height: 100%; background: var(--signal); transform-origin: 0 0; scale: .2 1; transition: scale .45s var(--ease-io); }
.wz-steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); border-bottom: 1px solid var(--line); counter-reset: wz; }
.wz-steps li { display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px clamp(14px, 2vw, 20px); font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); counter-increment: wz; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-steps li::before { content: counter(wz, decimal-leading-zero); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 3px; font-weight: 600; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.wz-steps li.is-now { color: var(--ink); }
.wz-steps li.is-now::before { border-color: var(--signal); color: var(--signal); }
.wz-steps li.is-done::before { content: "✓"; background: var(--signal); border-color: var(--signal); color: #fff; }
@media (max-width: 767.98px) { .wz-steps li { font-size: 0; gap: 0; justify-content: center; padding: 10px 0; } .wz-steps li::before { font-size: 11.5px; } }
.wz form { padding: clamp(20px, 3.4vw, 36px); }
.wz-step { display: grid; gap: 22px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wz-step[hidden] { display: none; }
.wz-step legend { padding: 0; margin-bottom: 4px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; }
.wz-step legend + p { margin-top: -14px; color: var(--steel); font-size: 15px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.wz-nav [data-wz-back][hidden] { display: none; }
.wz-nav [data-wz-back][hidden] + [data-wz-next] { margin-left: auto; }
.wz-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--steel); }
.wz-note .i { width: 16px; height: 16px; color: var(--ok); }
[data-need-one].is-bad .chip span { border-color: var(--bad); }
.help-out { min-height: 1.5em; padding: 10px 12px; border-left: 2px solid var(--signal); background: var(--signal-soft); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); border-radius: 0 4px 4px 0; }
.help-out:empty { display: none; }
.cbm-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.cbm-out > div { padding: 14px 14px 12px; }
.cbm-out > div + div { border-left: 1px solid var(--line); }
.cbm-out dt { font: 500 10.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.cbm-out dd { margin-top: 8px; font: 700 1.35rem/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cbm-out dd small { font: 500 12px/1 var(--mono); color: var(--steel); letter-spacing: 0; margin-left: 4px; }
.cbm-out .is-key dd { color: var(--signal); }
@media (max-width: 479.98px) { .cbm-out { grid-template-columns: 1fr; } .cbm-out > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.done { padding: clamp(28px, 4vw, 48px) clamp(20px, 3.4vw, 40px); outline: 0; }
.done[hidden] { display: none; }
.done-mark { width: 64px; height: 64px; }
.done-mark rect { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .6s var(--ease-out) .1s forwards; }
.done-mark path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: square; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { margin-top: 22px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.done-ref { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; border: 1.5px dashed var(--ink); border-radius: 4px; font: 600 1.15rem/1 var(--mono); letter-spacing: .04em; }
.done-ref small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.done > p { margin-top: 14px; max-width: 56ch; color: var(--ink-2); }
.done .tl { margin-top: 28px; max-width: 560px; }

.qgrid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .58fr); gap: 24px; align-items: start; }
@media (max-width: 991.98px) { .qgrid { grid-template-columns: 1fr; } .qside { position: static; } }
[data-show-if][hidden] { display: none; }

/* ── 24c. Side summary, branch cards, people, code, lists ──────────── */
.qside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 14px; }
.qcard { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.qcard h2, .qcard h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.qsum { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.qsum > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.qsum dt { font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.qsum dd { font-weight: 600; overflow-wrap: anywhere; }
.qsum dd.is-empty { color: var(--steel); font-weight: 400; }
.qcard.dark { background: var(--navy); border-color: var(--navy); }
.list-check { display: grid; gap: 10px; }
.list-check li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; }
.list-check li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); rotate: -45deg; }
.dark .list-check li::before { border-color: var(--signal-hi); }
.branches { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099.98px) { .branches { --cols: 2; } }
@media (max-width: 599.98px) { .branches { --cols: 1; } }
.branch { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.branch-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.branch-top code { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.branch h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.2; }
.branch address { font-style: normal; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.hours { display: grid; gap: 4px; padding: 12px 0; border-top: 1px dashed var(--line-2); border-bottom: 1px dashed var(--line-2); font: 500 12.5px/1.4 var(--mono); }
.hours div { display: flex; justify-content: space-between; gap: 10px; }
.hours dt { color: var(--steel); }
.branch-links { display: grid; gap: 2px; margin-top: auto; }
.branch-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; font-weight: 600; }
.branch-links a .i { width: 17px; height: 17px; color: var(--signal); }
.branch-links a:hover { color: var(--signal); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1099.98px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .people { grid-template-columns: 1fr; } .avatar { aspect-ratio: 2.6; } }
.person { display: grid; gap: 14px; align-content: start; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.avatar { position: relative; width: 100%; aspect-ratio: 1.6; display: grid; place-items: center; border-radius: 4px; background: var(--ink) repeating-linear-gradient(90deg, var(--ink) 0 26px, #13213a 26px 30px); color: var(--on-navy); overflow: hidden; }
.avatar b { font: 700 2.4rem/1 var(--mono); letter-spacing: .04em; }
.avatar small { position: absolute; left: 10px; top: 9px; font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--on-navy-2); }
.avatar i { position: absolute; right: 10px; bottom: 9px; font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: .1em; color: var(--signal-hi); }
.person h3 { font-size: 1.12rem; letter-spacing: -.015em; }
.person .kv { margin-top: -6px; }
.person p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.code { margin: 0; padding: 18px 20px; overflow-x: auto; border-radius: var(--r); background: #07101f; color: #c9d6ee; font: 400 13px/1.7 var(--mono); tab-size: 2; border: 1px solid var(--navy-line); }
.code .k { color: var(--signal-hi); } .code .s { color: #8fe3b5; } .code .c { color: #6f7d95; }
.note { display: flex; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.note .i { width: 18px; height: 18px; margin-top: 1px; color: var(--signal); }
.dark .note { border-color: var(--navy-line); color: var(--on-navy-2); }
.kpis { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 12.5px/1.4 var(--mono); color: var(--steel); }
.kpis span { display: inline-flex; align-items: center; gap: 8px; }
.kpis .i { width: 16px; height: 16px; color: var(--signal); }
.dark .kpis { color: var(--on-navy-2); }
.dark .kpis .i { color: var(--signal-hi); }

.kvlist { display: grid; border-top: 1px solid var(--line); }
.kvlist > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kvlist dt { font: 500 11.5px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--steel); }
.kvlist dd { font-weight: 500; }
.kvlist dd .tag { margin-left: 6px; vertical-align: 1px; }
@media (max-width: 599.98px) { .kvlist > div { grid-template-columns: 1fr; } }
.dark .kvlist, .dark .kvlist > div { border-color: var(--navy-line); }
.dark .kvlist dt { color: var(--on-navy-2); }

/* ── 25. Home: hero ────────────────────────────────────────────────── */
.hero { position: relative; background: var(--paper) var(--grid); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 3vw, 48px); align-items: center; min-height: min(calc(100svh - var(--hdr)), 860px); padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 40px); }
.hero h1 { margin-top: 22px; font-size: clamp(2.7rem, 5.4vw, 5.1rem); letter-spacing: -.045em; line-height: .96; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { margin-top: 22px; max-width: 48ch; }
.hero .btn-row { margin-top: 28px; }
.hero .trk-mini { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.hero-map { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hero-map .rmap { margin: 0 -10px; }
.hero-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; }
@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 28px; }
  .hero-map { order: 2; }
  .hero .coord { display: none; }
}

/* ── 26. Home: services index (colour wipe rows) ───────────────────── */
.svc { border-top: 1px solid var(--line); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-a { position: relative; display: block; }
.svc-base, .svc-over { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.15fr) 150px 40px; grid-template-areas: "code name desc kpi go"; align-items: center; gap: 0 24px; min-height: 118px; padding: 18px 12px; }
.svc-over { position: absolute; inset: 0; grid-template-areas: "code name ill ill go"; background: var(--navy); color: var(--on-navy); clip-path: inset(0 100% 0 0); transition: clip-path .32s var(--ease-io); }
.svc-code { grid-area: code; font: 600 12px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.svc-over .svc-code { color: var(--signal-hi); }
.svc-name { grid-area: name; font: 700 clamp(1.35rem, 2.3vw, 2rem)/1.08 var(--sans); letter-spacing: -.03em; }
.svc-desc { grid-area: desc; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.svc-kpi { grid-area: kpi; font: 500 13px/1.4 var(--mono); color: var(--steel); text-align: right; }
.svc-kpi b { display: block; font: 700 1.2rem/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.svc-go { grid-area: go; width: 22px; height: 22px; justify-self: end; transition: translate .3s var(--ease-out); }
.svc-ill { grid-area: ill; width: 100%; height: 84px; }
.svc-ill * { fill: none; stroke: var(--on-navy); stroke-width: 1.6; stroke-linecap: square; }
.svc-ill .hl { stroke: var(--signal-hi); }
.svc-ill .fl { fill: var(--signal-hi); stroke: none; }
.svc-ill .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out) .12s; }
.svc-row.is-active .svc-over, .svc-a:focus-visible .svc-over { clip-path: inset(0 0 0 0); transition-duration: .42s; }
.svc-row.is-active .svc-ill .dr, .svc-a:focus-visible .svc-ill .dr { stroke-dashoffset: 0; }
.svc-row.is-active .svc-go { translate: 6px 0; }
.svc-a:focus-visible { outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .svc-a:hover .svc-over { clip-path: inset(0 0 0 0); transition-duration: .42s; } .svc-a:hover .svc-ill .dr { stroke-dashoffset: 0; } .svc-a:hover .svc-go { translate: 6px 0; } }
@media (max-width: 899.98px) {
  .svc-base, .svc-over { grid-template-columns: 1fr auto; grid-template-areas: "code go" "name name" "desc desc" "kpi kpi"; gap: 10px 16px; min-height: 0; padding: 22px 4px; align-items: start; }
  .svc-over { grid-template-areas: "code go" "name name" "ill ill" "ill ill"; padding: 22px 12px; }
  .svc-base { padding: 22px 12px; }
  .svc-kpi { text-align: left; }
  .svc-kpi b { display: inline; margin-right: 6px; }
  .svc-ill { height: 100%; min-height: 64px; align-self: stretch; }
}

/* ── 27. Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
  .btn, .card, .hdr, .menu, .menu nav a, .dd, .scrolly-fig, .wz-bar > i, .tl-i::after, .tl-dot, .mbar, .wa-float, .consent, .roll-c, .tab-ind, .seg-thumb, .nav-ind, .svc-over, .rel::after, .steps::after, .trk-bar i, .trk-bar span, .acc-panel, .htl-fill, .htl-ship, .scrolly-svg .sc-path, .scrolly-strip > i { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; translate: none; transition: opacity .2s ease !important; }
  .js [data-reveal="img"] img { clip-path: none; scale: 1; }
  .js [data-reveal="img"]::after { display: none; }
  .js [data-split] .w > span { translate: none; }
  .js .steps::after, .js .steps:not(.is-in)::after { scale: 1 1; }
  .step-n { transition-delay: 0s !important; }
  .js .rmap[data-rmap] .rmap-lane { opacity: 1; }
  .js .rmap[data-rmap] .rmap-node { opacity: 1; }
  .rmap-mover { display: none; }
  .svc-ill .dr { stroke-dashoffset: 0; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track > ul + ul { display: none; }
  .marquee ul { flex-wrap: wrap; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .tl-i.is-now .tl-dot::after { display: none; }
  .skel i::after { display: none; }
  .trk-out .tl-i { opacity: 1; translate: none; }
  .pt { display: none !important; }
}
