/* ==========================================================================
   AEROMAR · design system + site styles
   Tokens → base → type → layout → components → scenes → pages → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #060e16;
  --navy-900: #0b1723;          /* brand navy */
  --navy-850: #0f1e2c;
  --navy-800: #142636;
  --navy-700: #1d3346;
  --steel-600: #45627d;
  --steel-500: #5e7c98;
  --steel-400: #7f98b0;
  --steel-300: #a4b7c9;
  --steel-200: #c9d6e2;
  --steel-100: #e3eaf1;
  --mist: #eef2f6;
  --paper: #f6f8fa;
  --white: #ffffff;
  --signal: #ff6a2b;            /* restrained orange: active states, markers, one CTA */
  --signal-ink: #b9420f;        /* orange that passes AA as text on light surfaces */
  --ok: #2f9e6e;
  --danger: #c2362b;

  --ink: var(--navy-900);
  --ink-soft: #3f5468;
  --ink-mute: #5b6f82;
  --line: #d5dee7;
  --line-dark: rgba(255, 255, 255, .14);

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(3.1rem, 1.6rem + 6.6vw, 9rem);
  --fs-display-lg: clamp(2.8rem, 1.5rem + 5.6vw, 7.6rem);
  --fs-display-xl: clamp(3.6rem, 1.2rem + 9.6vw, 12.5rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.8vw, 5.4rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.06rem, .98rem + .38vw, 1.32rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1440px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { display: block; background: var(--paper); }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--signal); color: var(--white); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--navy-900); font-weight: 600; border-radius: var(--radius);
}
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Type ---------- */
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: .02em; }
.label {
  display: inline-flex; align-items: center; gap: .9em; margin: 0 0 1.4rem;
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
}
.label .mono { color: var(--signal-ink); letter-spacing: .06em; }
.label::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.label--light { color: var(--steel-300); }
.label--light .mono { color: var(--signal); }
.label--signal { color: var(--signal-ink); }

.display, .h1, .h2 {
  margin: 0; font-weight: 500; letter-spacing: -.045em; line-height: .94;
  font-variation-settings: "wdth" 96; text-wrap: balance;
}
.display { font-size: var(--fs-display); }
.display--lg { font-size: var(--fs-display-lg); }
.display--xl { font-size: var(--fs-display-xl); letter-spacing: -.055em; line-height: .86; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); letter-spacing: -.035em; line-height: 1; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.015em; line-height: 1.2; margin: 0 0 .5rem; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; margin: 1.6rem 0 0; text-wrap: pretty; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* split-line reveal (words wrapped by core.js) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
[data-split].is-in .w > span { transform: none; }
html:not(.motion) [data-split] .w > span { transform: none; transition: none; }

[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.motion) [data-reveal], html:not(.js) [data-reveal] { opacity: 1; transform: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 168px); }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--mist { background: var(--mist); }
.section-head { margin-bottom: clamp(40px, 6vw, 88px); max-width: 1100px; }
.section-head--light { color: var(--white); }
.section-head--light .lead { color: var(--steel-200); }
.section-head--split { display: grid; gap: 24px 64px; max-width: none; align-items: end; }
@media (min-width: 960px) { .section-head--split { grid-template-columns: 1.15fr .85fr; } .section-head--split .lead { margin: 0; } }
.grid-2 { display: grid; gap: 0 20px; }
.grid-4 { display: grid; gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-size: .94rem; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--navy-900); color: var(--white); }
.btn--solid:hover { background: var(--navy-700); }
.btn--signal { background: var(--signal); color: var(--navy-950); }
.btn--signal:hover { background: #ff8550; }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--steel-100); }
.btn--line { border-color: rgba(255, 255, 255, .45); color: var(--white); background: rgba(6, 14, 22, .12); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--quiet { color: inherit; background: transparent; padding: 0 14px; }
.btn--quiet:hover { background: rgba(127, 152, 176, .14); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; margin-top: 2.5rem;
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }
.link-arrow--light { color: var(--white); }

.chip {
  display: inline-flex; align-items: baseline; gap: .55em; padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); font-family: var(--mono); font-size: .78rem; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.chip small { font-family: var(--font); color: var(--ink-mute); font-size: .74rem; }
.chip:hover { border-color: var(--navy-900); }

.tbc {
  display: inline-flex; align-items: center; gap: .45em; padding: 2px 9px; border: 1px dashed var(--steel-400);
  border-radius: 999px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-mute); white-space: nowrap;
}
.tbc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.note { margin-top: 28px; font-size: var(--fs-small); color: var(--ink-mute); max-width: 72ch; }
.note--light { color: var(--steel-300); }

/* ---------- Navigation (floating) ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); pointer-events: none; }
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 32px); margin: 12px auto 0; height: 56px; padding: 0 8px 0 18px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease), box-shadow .4s;
}
@media (max-width: 1500px) { .nav__bar { margin-inline: calc(var(--gutter) - 16px); } }
.nav.is-scrolled .nav__bar {
  background: rgba(8, 18, 28, .72); border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}
.nav.is-hidden .nav__bar { transform: translateY(-120%); }
body.nav-light .nav:not(.is-scrolled) { color: var(--navy-900); }
body.nav-light .nav:not(.is-scrolled) .btn--solid { background: var(--navy-900); color: var(--white); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: 30px; }
.brand__word { font-weight: 650; font-size: 1rem; letter-spacing: .22em; font-variation-settings: "wdth" 125; }
.nav__links ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  display: block; padding: 8px 13px; border-radius: 999px; font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .86;
  transition: opacity .2s, background-color .2s;
}
.nav__links a:hover { opacity: 1; background: rgba(127, 152, 176, .16); }
.nav__links a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -1.5px 0 var(--signal); border-radius: 0; }
.nav__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav .btn--solid { background: var(--white); color: var(--navy-900); --h: 40px; padding: 0 18px; font-size: .88rem; }
.nav .btn--solid:hover { background: var(--steel-100); }
.nav__track { --h: 40px; font-size: .88rem; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(127, 152, 176, .16);
  position: relative;
}
.nav__toggle i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__toggle i:nth-of-type(1) { top: 18px; }
.nav__toggle i:nth-of-type(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  pointer-events: auto; position: fixed; inset: 0; z-index: -1; padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--navy-950); color: var(--white); display: flex; flex-direction: column; justify-content: space-between;
}
.nav__sheet ul { list-style: none; margin: 0; padding: 0; }
.nav__sheet a { display: block; padding: 10px 0; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.nav__sheet a[aria-current="page"] { color: var(--signal); }
.nav__sheet-foot { color: var(--steel-400); font-size: .8rem; }
body.sheet-open { overflow: hidden; }
body.sheet-open .nav { color: var(--white); }
@media (max-width: 1080px) {
  .nav__links, .nav__track { display: none; }
  .nav__toggle { display: inline-block; }
}
@media (max-width: 520px) {
  .nav__actions .btn--solid { display: none; }
  .brand__word { font-size: .92rem; }
}

/* ---------- Film (scroll-scrubbed scenes) ---------- */
.film { position: relative; background: var(--navy-950); color: var(--white); }
/* soft hand-off from the section above into the pinned frame (scrolls away with the section top) */
.film--ocean::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45vh; z-index: 2; pointer-events: none; background: linear-gradient(rgba(11, 23, 35, .94), rgba(11, 23, 35, 0)); }
.film__sticky { position: relative; overflow: hidden; }
.film__media { position: absolute; inset: 0; }
.film__still, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__canvas { opacity: 0; transition: opacity .6s; }
.film.is-live .film__canvas { opacity: 1; }
.film.is-live .film__still { visibility: hidden; }
.film__grade { position: absolute; inset: 0; pointer-events: none; }
.film__grade--dawn {
  background:
    linear-gradient(180deg, rgba(6, 14, 22, .6) 0%, rgba(6, 14, 22, .08) 26%, rgba(6, 14, 22, .12) 50%, rgba(6, 14, 22, .78) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(6, 14, 22, .55) 100%);
}
.film__grade--sea {
  background:
    linear-gradient(180deg, rgba(6, 14, 22, .5) 0%, rgba(6, 14, 22, 0) 30%, rgba(6, 14, 22, .1) 60%, rgba(6, 14, 22, .8) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 50%, rgba(6, 14, 22, .5) 100%);
}
.film__fx { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.film__fx--flare { background: radial-gradient(90% 85% at 62% 42%, #fff6e6 0%, #ffe2b8 35%, rgba(255, 176, 96, .85) 65%, rgba(255, 128, 48, .35) 100%); }
.film__fx--fog { background: linear-gradient(180deg, rgba(222, 232, 242, .96), rgba(180, 200, 220, .9)); }
.film__letterbox { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 0 var(--navy-950); }
.film__copy { position: relative; z-index: 3; padding-block: calc(var(--nav-h) + 48px) 64px; }
.film__copy .display { color: var(--white); }
.film__copy .lead { color: rgba(255, 255, 255, .86); max-width: 46ch; }
.film__hud {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: none; align-items: center; gap: 14px; font-size: .68rem; letter-spacing: .12em; color: rgba(255, 255, 255, .7);
}
.film__bar { flex: 1; height: 1px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; max-width: 240px; }
.film__bar i { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.film__hint {
  position: absolute; z-index: 4; left: 50%; bottom: 64px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
}
.film__hint i { width: 1px; height: 44px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: hint 2.2s var(--ease-io) infinite; transform-origin: 0 0; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 0 0; } 51% { transform-origin: 0 100%; } 100% { transform: scaleY(0); transform-origin: 0 100%; } }

/* static (no JS / reduced motion): each film is a stack of full-bleed panels over the still */
html:not(.motion) .film__sticky, html:not(.js) .film__sticky { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; }
html:not(.motion) .film__copy--intro, html:not(.js) .film__copy--intro { padding-top: calc(var(--nav-h) + 18vh); }
html:not(.motion) .film__copy + .film__copy { padding-top: 0; }
html:not(.motion) .film__canvas { display: none; }

/* live: pinned and scrubbed */
html.motion .film { height: calc((var(--len, 3) + 1) * 100vh); }
html.motion .film__sticky { position: sticky; top: 0; height: 100vh; }
html.motion .film__copy { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-block: calc(var(--nav-h) + 40px) clamp(88px, 13vh, 150px); opacity: 0; visibility: hidden; will-change: opacity, transform; }
html.motion .film__copy--intro { align-items: flex-end; opacity: 1; visibility: visible; background: linear-gradient(90deg, rgba(6, 14, 22, .62) 0%, rgba(6, 14, 22, .28) 38%, rgba(6, 14, 22, 0) 62%); }
html.motion .film__copy--statement { align-items: center; }
html.motion .film__hud, html.motion .film__hint { display: flex; }
html.motion .film__copy--panels { align-items: flex-end; }

/* statements sit in the empty part of each frame: takeoff → dark sky lower right; ocean → open water upper left */
html.motion .film--takeoff .film__copy--statement { align-items: flex-end; }
.film--takeoff .film__copy--statement .wrap { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.film--takeoff .film__copy--statement .label { flex-direction: row-reverse; }
html.motion .film--ocean .film__copy--statement { align-items: flex-start; padding-top: calc(var(--nav-h) + 9vh); }
.film__copy--statement .display { text-shadow: 0 2px 40px rgba(6, 14, 22, .35); }

.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { padding: clamp(18px, 2.4vw, 32px); background: rgba(8, 18, 28, .58); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mode__code { display: inline-block; color: var(--signal); font-size: .76rem; letter-spacing: .14em; margin-bottom: 1.4rem; }
.mode__title { color: var(--white); }
.mode p { color: var(--steel-200); font-size: .95rem; margin: 0; }
@media (max-width: 859px) {
  .mode { padding: 16px 18px; }
  .mode p { font-size: .88rem; }
  .mode__code { margin-bottom: .5rem; }
}

/* ---------- Scene 02: air ---------- */
.air { position: relative; overflow: hidden; background: #0e2747; color: var(--white); padding-block: clamp(110px, 14vw, 200px) clamp(90px, 11vw, 160px); }
.air__media { position: absolute; inset: 0; overflow: hidden; }
.air__media img { scale: 1.3; }
.air__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.air__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950) 0%, rgba(11, 23, 35, .25) 26%, rgba(11, 23, 35, .35) 60%, rgba(11, 23, 35, .92) 100%); }
.air__inner { position: relative; }
.air__layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .air__layout { grid-template-columns: 4fr 7fr; gap: 72px; } }
.air__inset { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); max-width: 440px; }
.air__inset img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.air__inset figcaption { position: absolute; left: 14px; bottom: 12px; font-size: .68rem; letter-spacing: .14em; color: rgba(255, 255, 255, .85); }
@media (max-width: 959px) { .air__inset { aspect-ratio: 16 / 10; max-width: none; } }

.caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
@media (min-width: 700px) { .caps { grid-template-columns: repeat(2, 1fr); } }
.cap { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.caps--light .cap { border-color: rgba(255, 255, 255, .2); }
.caps--light .cap p { color: var(--steel-200); }
.cap__n { display: block; font-size: .74rem; color: var(--signal-ink); margin-bottom: 1.2rem; letter-spacing: .1em; }
.caps--light .cap__n { color: var(--signal); }
.cap p { margin: 0; color: var(--ink-soft); }

/* ---------- Scene 04: network ---------- */
.network { position: relative; overflow: hidden; background: var(--navy-950); color: var(--white); padding-block: clamp(100px, 12vw, 180px); }
.network__bg { position: absolute; inset: 0; opacity: .3; overflow: hidden; }
.network__bg img { scale: 1.25; }
.network__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) contrast(1.1); }
.network__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 70% at 50% 40%, rgba(6, 14, 22, .55), var(--navy-950) 92%), linear-gradient(180deg, var(--navy-950), rgba(6, 14, 22, 0) 25%, rgba(6, 14, 22, 0) 75%, var(--navy-950)); }
.network .wrap { position: relative; }

.routes { display: grid; gap: 16px; }
@media (min-width: 1080px) { .routes { grid-template-columns: 340px 1fr; gap: 24px; } }
.routes__panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.routes__filter { display: inline-flex; padding: 4px; gap: 2px; border: 1px solid var(--line-dark); border-radius: 999px; align-self: flex-start; background: rgba(6, 14, 22, .5); }
.routes__f { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: .84rem; color: var(--steel-200); }
.routes__f[aria-pressed="true"] { background: var(--white); color: var(--navy-900); font-weight: 600; }
.routes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
@media (max-width: 1079px) { .routes__list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; } .routes__list li { flex: 0 0 auto; scroll-snap-align: start; } }
.lane {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1px solid transparent; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03);
  text-align: left; color: var(--white); transition: background-color .25s, border-color .25s;
}
.lane:hover { background: rgba(255, 255, 255, .07); }
.lane[aria-pressed="true"] { border-color: rgba(255, 106, 43, .55); background: rgba(255, 106, 43, .08); }
.lane__mode { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--steel-300); }
.lane[aria-pressed="true"] .lane__mode { border-color: var(--signal); color: var(--signal); }
.lane__mode svg { width: 15px; height: 15px; }
.lane__codes { font-family: var(--mono); font-size: .9rem; letter-spacing: .04em; }
.lane__codes span { color: var(--steel-400); padding: 0 .35em; }
.lane__city { display: block; font-family: var(--font); font-size: .78rem; color: var(--steel-300); letter-spacing: 0; margin-top: 2px; }
.lane__km { font-family: var(--mono); font-size: .72rem; color: var(--steel-400); }
.routes__noscript { color: var(--steel-300); font-size: .9rem; }

@media (min-width: 1080px) { .routes__stage { align-self: start; position: sticky !important; top: calc(var(--nav-h) + 24px); } }
.routes__stage { position: relative; min-width: 0; border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(9, 20, 31, .72); overflow: hidden; }
.routes__map { position: relative; }
.routes__map svg { width: 100%; height: auto; }
.map-dots { fill: none; stroke: #8fa7bf; stroke-width: 2.3; stroke-linecap: round; opacity: .5; }
.map-grid { stroke: rgba(164, 183, 201, .08); stroke-width: .6; fill: none; }
.map-hub circle { fill: var(--navy-950); stroke: var(--steel-300); stroke-width: 1.2; }
.map-hub text { font-family: var(--mono); font-size: 8.5px; fill: var(--steel-300); letter-spacing: .06em; }
.map-hub.is-on circle { stroke: var(--signal); fill: var(--signal); }
.map-hub.is-on text { fill: var(--white); }
.map-lane { fill: none; stroke: rgba(164, 183, 201, .22); stroke-width: .9; }
.map-lane--active { stroke: var(--signal); stroke-width: 1.8; }
.map-lane--ocean.map-lane--active { stroke-dasharray: none; }
.map-ghost { fill: none; stroke: rgba(164, 183, 201, .16); stroke-width: .7; stroke-dasharray: 2 3; }
.map-craft { fill: var(--white); }
.map-pulse { fill: none; stroke: var(--signal); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

.routes__info { display: grid; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); }
@media (min-width: 720px) { .routes__info { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.routes__info > div { background: rgba(9, 20, 31, .96); padding: 16px 18px; }
.routes__info dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 6px; }
.routes__info dd { margin: 0; font-size: .95rem; color: var(--white); }
.routes__info dd small { display: block; color: var(--steel-300); font-size: .8rem; margin-top: 2px; }

/* ---------- Scene 05: tracking ---------- */
.tracking { background: var(--paper); padding-block: clamp(100px, 12vw, 180px); }
.tracker { display: grid; gap: 20px; }
@media (min-width: 1080px) { .tracker { grid-template-columns: 400px 1fr; gap: 28px; align-items: start; } }
.tracker__form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1080px) { .tracker__form { position: sticky; top: calc(var(--nav-h) + 24px); } }
.tracker__label { display: block; font-weight: 600; margin-bottom: 10px; }
.tracker__field { position: relative; display: flex; gap: 8px; }
.tracker__icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-mute); pointer-events: none; }
.tracker__field input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px 0 42px; border: 1px solid var(--steel-300); border-radius: 999px; background: var(--paper);
  font-family: var(--mono); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
}
.tracker__field input::placeholder { text-transform: none; letter-spacing: 0; color: #8193a4; }
.tracker__field input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(255, 106, 43, .3); background: var(--white); }
.tracker__field input[aria-invalid="true"] { border-color: var(--danger); }
.tracker__go { --h: 52px; }
.tracker__hint { font-size: .82rem; color: var(--ink-mute); margin: 10px 0 0; }
.tracker__demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.tracker__demo .label { width: 100%; margin-bottom: 4px; }
.tracker__out { min-height: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tracker__empty { height: 100%; min-height: 320px; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 32px; text-align: center; color: var(--ink-mute); }
.tracker__empty-art { width: 160px; color: var(--steel-400); }
.tracker__empty p { max-width: 34ch; margin: 0; }

.shipment { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.shipment__head { padding: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--line); display: grid; gap: 18px; }
.shipment__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.shipment__ref { font-family: var(--mono); font-size: .86rem; letter-spacing: .06em; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--mist); color: var(--ink-soft); }
.badge--demo { background: #fff1ea; color: var(--signal-ink); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(255, 106, 43, .5); animation: live 1.8s infinite; }
.badge--done { background: #e7f5ee; color: #1d6b49; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(255, 106, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0); } }
.shipment__status { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 0; }
.shipment__sub { margin: 0; color: var(--ink-soft); }
.shipment__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.shipment__port .code { font-family: var(--mono); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: .02em; display: block; line-height: 1.1; }
.shipment__port small { color: var(--ink-mute); font-size: .84rem; }
.shipment__port--to { text-align: right; }
.shipment__track { position: relative; width: clamp(80px, 22vw, 260px); height: 2px; background: var(--line); }
.shipment__track i { position: absolute; inset: 0; background: var(--navy-900); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 1.2s var(--ease); }
.shipment__track b { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--white); border: 1px solid var(--navy-900); display: grid; place-items: center; transition: left 1.2s var(--ease); }
.shipment__track b svg { width: 14px; height: 14px; }

.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.stages li { font-size: .72rem; color: var(--ink-mute); line-height: 1.25; }
.stages li::before { content: ""; display: block; height: 3px; border-radius: 2px; background: var(--line); margin-bottom: 9px; }
.stages li.is-done::before { background: var(--navy-900); }
.stages li.is-current::before { background: linear-gradient(90deg, var(--navy-900) 50%, var(--signal) 50%); }
.stages li.is-current { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .stages li span { display: none; } .stages li.is-current span { display: inline; } }

.shipment__body { display: grid; }
@media (min-width: 820px) { .shipment__body { grid-template-columns: 1.2fr 1fr; } }
.milestones { list-style: none; margin: 0; padding: clamp(20px, 2.6vw, 34px); border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .milestones { border-bottom: 0; border-right: 1px solid var(--line); } }
.milestones li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; padding-bottom: 22px; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.milestones li:last-child::before { display: none; }
.milestones li.is-done::before { background: var(--navy-900); }
.ms__dot { width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--steel-300); background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; }
.is-done .ms__dot { background: var(--navy-900); border-color: var(--navy-900); }
.is-done .ms__dot::after { content: ""; width: 7px; height: 4px; border: 1.5px solid var(--white); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.is-current .ms__dot { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255, 106, 43, .16); }
.is-current .ms__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.ms__label { font-weight: 600; font-size: .95rem; }
.is-pending .ms__label { color: var(--ink-mute); font-weight: 500; }
.ms__where { grid-column: 2; font-size: .84rem; color: var(--ink-mute); }
.ms__time { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: .76rem; color: var(--ink-mute); text-align: right; white-space: nowrap; }
.facts { margin: 0; padding: clamp(20px, 2.6vw, 34px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: .94rem; font-weight: 500; overflow-wrap: anywhere; }
.facts .wide { grid-column: 1 / -1; }
.shipment__foot { padding: 14px clamp(20px, 2.6vw, 34px); border-top: 1px solid var(--line); background: var(--paper); font-size: .8rem; color: var(--ink-mute); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.shipment__foot button { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: .2em; color: var(--ink); font-size: .8rem; }

.skeleton { padding: 34px; display: grid; gap: 16px; }
.skeleton i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--mist) 25%, #f9fbfc 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton i:nth-child(1) { width: 30%; } .skeleton i:nth-child(2) { width: 62%; height: 40px; } .skeleton i:nth-child(3) { width: 90%; } .skeleton i:nth-child(4) { width: 76%; } .skeleton i:nth-child(5) { width: 84%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.tracker__notfound { padding: 40px clamp(20px, 3vw, 40px); }
.tracker__notfound h3 { font-size: 1.5rem; letter-spacing: -.02em; }

/* ---------- Scene 06: quote ---------- */
.quote-section { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); padding-block: clamp(110px, 13vw, 190px) clamp(80px, 10vw, 140px); }
.quote-section__band { position: absolute; inset: 0 0 auto; height: 75%; overflow: hidden; }
.quote-section__band img { transform-origin: 50% 0; scale: 1.25; }
.quote-section__band img { width: 100%; height: 100%; object-fit: cover; }
.quote-section__band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 23, 35, .78), rgba(11, 23, 35, .7) 40%, var(--navy-900) 96%); }
.quote-section .wrap { position: relative; }

.quote { position: relative; display: grid; gap: 20px; color: var(--ink); }
@media (min-width: 1080px) { .quote { grid-template-columns: 1fr 340px; gap: 24px; align-items: start; } }
.quote__form { background: var(--white); border-radius: 16px; padding: clamp(20px, 3.2vw, 48px); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); min-width: 0; }
.quote__summary { background: var(--navy-850); color: var(--white); border: 1px solid var(--line-dark); border-radius: 16px; padding: 26px; }
@media (min-width: 1080px) { .quote__summary { position: sticky; top: calc(var(--nav-h) + 24px); } }
.quote__summary .label { color: var(--steel-300); }
.summary { margin: 0; display: grid; gap: 0; }
.summary > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.summary dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-400); padding-top: 3px; }
.summary dd { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.quote__draft { margin: 14px 0 0; font-size: .72rem; color: var(--steel-400); }
.quote__draft::before { content: "● "; color: var(--ok); }

.stepper { display: flex; gap: 6px; list-style: none; margin: 0 0 clamp(26px, 3vw, 40px); padding: 0; counter-reset: s; }
.stepper__item { flex: 1; padding-top: 12px; border-top: 2px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-mute); }
.stepper__item .mono { font-weight: 400; margin-right: .4em; }
.stepper__item.is-done { border-color: var(--navy-900); color: var(--ink-soft); }
.stepper__item.is-current { border-color: var(--signal); color: var(--ink); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: rise .5s var(--ease) both; }
.step__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 26px; padding: 0; }
.field { margin-bottom: 20px; min-width: 0; }
.field__label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field__req, .field__opt { font-weight: 400; color: var(--ink-mute); font-size: .78rem; margin-left: .3em; }
.field__hint { font-size: .78rem; color: var(--ink-mute); margin: 6px 0 0; }
.field__error { color: var(--danger); font-size: .82rem; margin: 6px 0 0; display: flex; gap: 6px; align-items: center; }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--danger); color: var(--white); font-size: .66rem; font-weight: 700; flex: none; }
.input {
  width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--steel-300); border-radius: 8px; background: var(--paper);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230b1723' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:hover { border-color: var(--steel-500); }
.input:focus { outline: none; border-color: var(--navy-900); background-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 106, 43, .28); }
.input[aria-invalid="true"] { border-color: var(--danger); background-color: #fff8f7; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 12px; background: var(--mist); }
.segmented__opt { position: relative; }
.segmented__opt input { position: absolute; opacity: 0; inset: 0; }
.segmented__opt span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: var(--ink-soft); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented__opt span svg { width: 20px; height: 20px; }
.segmented__opt input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(11, 23, 35, .12), 0 4px 14px rgba(11, 23, 35, .08); }
.segmented__opt input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.segmented--sm .segmented__opt span { padding: 9px 14px; font-size: .86rem; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: .9rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.check:hover { border-color: var(--steel-400); }
.check input { width: 18px; height: 18px; accent-color: var(--navy-900); margin: 0; flex: none; }
.check:has(input:checked) { border-color: var(--navy-900); background: var(--paper); }
.check--block { display: flex; border: 0; padding: 6px 0; }
.check--block:has(input:checked) { background: none; }
.calc { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.calc > div { flex: 1 1 140px; padding: 14px 16px; border-right: 1px solid var(--line); }
.calc > div:last-of-type { border-right: 0; }
.calc .label { margin-bottom: 6px; font-size: .64rem; }
.calc .label::after { display: none; }
.calc strong { display: block; font-family: var(--mono); font-weight: 500; font-size: 1.1rem; }
.calc__note { flex-basis: 100%; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-mute); }
.quote__nav { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote__count { margin: 0 auto 0 0; font-size: .78rem; color: var(--ink-mute); }
.quote__nav [data-quote-back]:not([hidden]) + .quote__count { margin-left: 0; }
.quote__done { grid-column: 1 / -1; background: var(--white); border-radius: 16px; padding: clamp(24px, 4vw, 56px); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); animation: rise .6s var(--ease) both; }
.quote__done:focus { outline: none; }
.quote__done-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 16px; }
.quote__done > p { max-width: 62ch; color: var(--ink-soft); }
.summary--inline { margin: 28px 0; max-width: 760px; }
.summary--inline > div { border-color: var(--line); grid-template-columns: 140px 1fr; }
.summary--inline dt { color: var(--ink-mute); }
.quote__done-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--navy-950); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) both; }
html:not(.motion) .page-hero__media img { animation: none; transform: none; }
@keyframes settle { to { transform: scale(1); } }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 22, .6) 0%, rgba(6, 14, 22, .1) 35%, rgba(6, 14, 22, .25) 60%, rgba(6, 14, 22, .88) 100%); }
.page-hero .wrap { position: relative; padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero .display { max-width: 14ch; }
.page-hero .lead { color: var(--steel-100); max-width: 50ch; }
.page-hero--short { min-height: min(62vh, 620px); }
.page-hero--plain { min-height: 0; background: var(--navy-900); }
.page-hero--plain .wrap { padding-top: calc(var(--nav-h) + 96px); }

.crumbs { display: flex; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-300); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

.split { display: grid; gap: 40px 72px; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; } .split--even { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.prose { max-width: 64ch; color: var(--ink-soft); font-size: 1.04rem; }
.prose h2, .prose h3 { color: var(--ink); }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--signal-ink); }
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--mist); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: rgba(255, 255, 255, .9); text-transform: uppercase; }

.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 8px; }
.card__n { font-family: var(--mono); font-size: .74rem; color: var(--signal-ink); letter-spacing: .1em; margin-bottom: 1.4rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--ink-soft); font-size: .94rem; }
.card .link-arrow { margin-top: auto; padding-top: 22px; align-self: flex-start; border: 0; }
.card a.card__link { text-decoration: none; }
.section--dark .cards { background: var(--line-dark); border-color: var(--line-dark); }
.section--dark .card { background: var(--navy-850); }
.section--dark .card p, .section--dark .card ul { color: var(--steel-200); }
.section--dark .card__n { color: var(--signal); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; background: var(--paper); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num { font-family: var(--mono); white-space: nowrap; }
.table img { border-radius: 4px; object-fit: cover; }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
@media (min-width: 960px) { .process { grid-template-columns: repeat(7, 1fr); } }
.process li { padding: 20px 16px 22px 0; border-top: 1px solid var(--line-dark); position: relative; }
.process li::before { counter-increment: p; content: counter(p, decimal-leading-zero); display: block; font-family: var(--mono); font-size: .72rem; color: var(--signal); margin-bottom: 18px; }
.process li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.process strong { display: block; color: var(--white); margin-bottom: 6px; font-weight: 600; }
.process span { color: var(--steel-300); font-size: .88rem; display: block; line-height: 1.45; }

.calc-tool { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 40px); }
.calc-tool__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.calc-tool__out div { padding: 16px 18px; background: var(--paper); border-right: 1px solid var(--line); }
.calc-tool__out div:last-child { border-right: 0; }
.calc-tool__out strong { display: block; font-family: var(--mono); font-size: 1.5rem; font-weight: 500; }
.calc-tool__out .is-key { background: var(--navy-900); color: var(--white); }
.calc-tool__out .is-key .label { color: var(--steel-300); }

.cta-band { background: var(--navy-900); color: var(--white); padding-block: clamp(72px, 9vw, 130px); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band .actions { margin: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--signal-ink); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 380px; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 40px); }
.contact-aside { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; align-self: start; }
.contact-aside > div { background: var(--white); padding: 20px 22px; }
.contact-aside .label { margin-bottom: .6rem; }
.contact-aside p { margin: 0; color: var(--ink-soft); }
.form-done { padding: 8px 0; }
.form-done h3 { font-size: 1.6rem; letter-spacing: -.03em; }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line); }
.principles .mono { color: var(--signal-ink); font-size: .8rem; padding-top: 4px; }
.principles p { margin: 0; color: var(--ink-soft); }
.facts-list { margin: 0; display: grid; gap: 0; }
.facts-list > div { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.facts-list dt { font-weight: 600; }
.facts-list dd { margin: 0; color: var(--ink-soft); }

.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--white); padding: var(--gutter); }
.nf .display { font-family: var(--mono); letter-spacing: -.04em; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--steel-200); padding-top: clamp(64px, 8vw, 112px); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__word { margin: 0 0 14px; color: var(--white); font-weight: 650; letter-spacing: .26em; font-size: 1.15rem; font-variation-settings: "wdth" 125; }
.footer__tag { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; letter-spacing: -.035em; color: var(--white); font-weight: 500; }
.footer__col .label { color: var(--steel-400); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 22px 28px; border-top: 1px solid var(--line-dark); font-size: .78rem; color: var(--steel-400); }
.footer__base p { margin: 0; max-width: 70ch; }

/* ---------- Light-hero pages (nav switches to dark ink until scrolled) ---------- */
.page-light main { padding-top: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Narrow-screen guards ---------- */
.tracker, .quote, .routes, .contact-grid, .split, .air__layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1080px) {
  .tracker { grid-template-columns: 400px minmax(0, 1fr); }
  .quote { grid-template-columns: minmax(0, 1fr) 340px; }
  .routes { grid-template-columns: 340px minmax(0, 1fr); }
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 380px; } }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .air__layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
}
@media (max-width: 699px) { html.motion .film__hint { display: none; } }
html:not(.motion) .film__grade { background: linear-gradient(180deg, rgba(6, 14, 22, .55), rgba(6, 14, 22, .35) 40%, rgba(6, 14, 22, .8)); }
