/* ==========================================================================
   TSOKA Haulage — A step further.
   Design system + components. Tokens first; every colour comes from the logo:
   flame red #E12027, steel swoosh #8895A5, night navy #072740.
   ========================================================================== */

:root {
  /* brand */
  --red: #e12027;
  --red-600: #c4161d;
  --red-700: #9e1016;
  --red-300: #ff6b70;
  --red-50: #fdf1f2;
  --navy-950: #030d19;
  --navy-900: #051a2c;
  --navy-800: #072740;
  --navy-700: #0a3a5c;
  --navy-600: #124a72;
  --steel: #8895a5;
  --steel-400: #a9b3bf;
  --steel-200: #d5dbe2;
  --steel-100: #e9ecf0;
  --mist: #f3f5f8;
  --paper: #fbfbf9;
  --white: #ffffff;
  --ink: #0b1620;
  --ink-2: #26323f;
  --muted: #5e6b7a;
  --line: rgba(11, 22, 32, .09);
  --line-light: rgba(255, 255, 255, .14);

  /* type */
  --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: "Montserrat", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* shape & motion */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --pill: 999px;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow-sm: 0 1px 2px rgba(3, 13, 25, .06), 0 2px 8px rgba(3, 13, 25, .05);
  --shadow: 0 10px 30px -10px rgba(3, 13, 25, .18), 0 2px 6px rgba(3, 13, 25, .05);
  --shadow-lg: 0 40px 80px -30px rgba(3, 13, 25, .35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); transition: top .3s; }
.skip:focus { top: 16px; }

/* ---------- layout ---------- */
.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.frame { padding: 12px; }                 /* the white bezel around the hero card */
@media (min-width: 900px) { .frame { padding: 16px; } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.display {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
}
.display b, .h2 b, .h1 b { font-weight: 800; }
.h1 { font-family: var(--font-display); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(2rem, 3.8vw, 3.3rem); }
.h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
.lede { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.tone-red { color: var(--red); }
.tone-grad {
  background: linear-gradient(92deg, var(--red) 0%, #ff4d52 55%, var(--steel-400) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono { font-family: var(--font-mono); }

/* split-line headings (JS wraps each line) */
.split .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split .line > span { display: block; }
.js .split .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.js .split.is-in .line > span { transform: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 24px;
  border-radius: var(--pill); background: var(--bg); color: var(--fg); font-weight: 600; font-size: .92rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  white-space: nowrap;
}
.btn::before { /* red fill sweeps in from the left like a flame */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  clip-path: inset(0 100% 0 0 round var(--pill)); transition: clip-path .6s var(--ease-out);
}
.btn:hover::before { clip-path: inset(0 0 0 0 round var(--pill)); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(225, 32, 39, .55); }
.btn .arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  transition: transform .5s var(--ease), background .4s;
}
.btn:hover .arrow { transform: rotate(-45deg); background: rgba(255, 255, 255, .22); }
.btn .arrow svg { width: 15px; height: 15px; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light .arrow { background: var(--ink); color: #fff; }
.btn--light:hover { --fg: #fff; }
.btn--light:hover .arrow { background: rgba(255, 255, 255, .2); }
.btn--red { --bg: var(--red); }
.btn--red::before { background: var(--navy-800); }
.btn--glass {
  --bg: rgba(255, 255, 255, .12); --fg: #fff; padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line); padding: 0 22px; }
.btn--ghost:hover { --fg: #fff; border-color: transparent; }
.btn--sm { height: 42px; font-size: .85rem; padding: 0 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: gap .4s var(--ease), background-size .5s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover { gap: 16px; }
.link-arrow:hover svg { transform: translateX(2px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--pill);
  font-size: .75rem; font-weight: 600; background: var(--mist); color: var(--ink-2); white-space: nowrap;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.pill--live i { box-shadow: 0 0 0 0 rgba(225, 32, 39, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(225, 32, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 32, 39, 0); } }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 50px -20px rgba(3, 13, 25, .45);
}
.glass-light {
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 20px 50px -24px rgba(3, 13, 25, .3);
}

/* ==========================================================================
   Header / nav — floating pill that docks when you scroll
   ========================================================================== */
.nav-wrap { position: fixed; z-index: 90; left: 0; right: 0; top: 0; padding: 26px calc(var(--gutter) + 12px) 0; pointer-events: none; transition: padding .5s var(--ease); }
.nav {
  pointer-events: auto; margin-inline: auto; max-width: calc(var(--max) + 16px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 62px; padding: 0 8px 0 22px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .94); box-shadow: 0 8px 30px -12px rgba(3, 13, 25, .25);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: transform .6s var(--ease), box-shadow .4s, background .4s;
}
.nav-wrap.is-scrolled { padding-top: 12px; }
.nav-wrap.is-hidden .nav { transform: translateY(-140%); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: var(--pill); font-size: .86rem; font-weight: 500; color: var(--ink-2);
  transition: color .3s, background .3s;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { height: 46px; }
.nav-phone { font: 600 .8rem var(--font-mono); color: var(--muted); padding: 0 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .4s var(--ease), background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); }
.menu-open .burger span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy-900); color: #fff; padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 50px) 50px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.mobile-menu a.big { display: block; font: 300 clamp(2.2rem, 9vw, 3.4rem)/1.15 var(--font-display); letter-spacing: -.03em; padding: 4px 0; }
.mobile-menu a.big b { font-weight: 800; }
.mobile-menu a.big:hover { color: var(--red-300); }
.mobile-menu .meta { color: rgba(255, 255, 255, .6); font-size: .9rem; display: grid; gap: 6px; }
.menu-open { overflow: hidden; }

.brand .logo-light, .nav-quote { display: none; }

/* ---- burger mode (tablet & mobile): no pill — the nav sits straight on the hero ---- */
@media (max-width: 1080px) {
  .nav-links, .nav-phone, .nav-cta .btn { display: none; }
  .nav-wrap { padding: 22px calc(12px + clamp(18px, 4vw, 40px)) 0; }
  .nav {
    height: 52px; padding: 0; background: transparent; box-shadow: none; border-radius: 14px;
    backdrop-filter: none; -webkit-backdrop-filter: none; transition: transform .6s var(--ease), background .4s, padding .4s, box-shadow .4s;
  }
  .brand .logo-dark { display: none; }
  .brand .logo-light { display: block; }
  .brand img { height: 28px; }
  .nav-cta { gap: 4px; }
  .nav-quote {
    display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 16px; border-radius: var(--pill);
    background: var(--red); color: #fff; font-weight: 600; font-size: .84rem; letter-spacing: -.005em;
    box-shadow: 0 10px 22px -10px rgba(225, 32, 39, .8); transition: transform .4s var(--ease), background .3s;
  }
  .nav-quote svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
  .nav-quote:hover { background: var(--red-600); }
  .nav-quote:hover svg { transform: translate(2px, -2px); }
  .burger { display: grid; width: 44px; height: 44px; margin-right: -10px; background: none; color: #fff; border-radius: 0; }
  .burger span, .burger span::before, .burger span::after { width: 24px; height: 2px; }
  .burger span::before { transform: translateY(-7px); }
  .burger span::after { transform: translateY(7px); width: 16px; left: auto; right: 0; }
  .menu-open .burger span::after { width: 24px; }
  /* past the hero: a slim dark glass bar so the white logo and icons stay readable on white sections */
  .nav-wrap:not(.is-over-hero) .nav {
    padding: 0 10px 0 14px; background: rgba(5, 26, 44, .82); box-shadow: 0 10px 30px -14px rgba(3, 13, 25, .55);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  }
  .menu-open .nav-wrap .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-wrap.is-scrolled { padding-top: 10px; }
}
@media (max-width: 560px) {
  .nav-wrap { padding: 16px 26px 0 24px; }
  .brand img { height: 24px; }
  .nav-quote { height: 36px; font-size: .8rem; padding: 0 12px 0 14px; }
}

/* ==========================================================================
   Hero — rounded photographic card, as in the reference
   ========================================================================== */
.hero {
  position: relative; min-height: min(100svh - 32px, 900px); border-radius: 16px; overflow: hidden;
  color: #fff; isolation: isolate; display: flex; align-items: flex-end; background: var(--navy-900);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.12); transition: opacity 1.6s var(--ease), transform 9s linear;
}
.hero-media img.is-on { opacity: 1; transform: scale(1.02); }
.hero::before { /* navy wash from the left-bottom, as in the reference */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 13, 25, .82) 0%, rgba(5, 26, 44, .55) 42%, rgba(5, 26, 44, .1) 70%),
    linear-gradient(0deg, rgba(3, 13, 25, .85) 0%, rgba(3, 13, 25, 0) 55%),
    radial-gradient(70% 60% at 0% 100%, rgba(225, 32, 39, .25), transparent 60%);
}
.hero-inner { width: 100%; padding: 0 clamp(22px, 4vw, 56px) clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { color: rgba(255, 255, 255, .82); max-width: 48ch; margin-bottom: 30px; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta { display: flex; gap: 14px; justify-content: flex-end; align-items: stretch; }
.hero-card { border-radius: var(--radius); padding: 18px; color: var(--ink); background: #fff; min-width: 0; }
.hero-card .label { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.hero-card .big { font: 300 clamp(2.6rem, 4vw, 3.4rem)/1 var(--font-display); letter-spacing: -.04em; margin: 22px 0 8px; }
.hero-card .big sup { font-size: .45em; font-weight: 500; vertical-align: top; position: relative; top: .3em; }
.hero-card small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.35; }
.hero-card--rate { width: 200px; display: flex; flex-direction: column; }
.hero-card--tags { width: 210px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.tag-row { display: flex; align-items: center; gap: 6px; }
.tag-row .pill { height: 30px; background: var(--mist); border: 1px solid var(--line); }
.tag-row .pill--hot { background: var(--red); color: #fff; border-color: var(--red); }
.tag-row .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; line-height: 1; color: var(--ink-2); flex: none; }
.tag-row .dot--ink { background: var(--ink); color: #fff; }
.tag-row:nth-child(1) { justify-content: flex-start; }
.tag-row:nth-child(2) { justify-content: center; }
.tag-row:nth-child(3) { justify-content: flex-end; }
.hero-ticker {
  position: absolute; top: 112px; right: clamp(22px, 4vw, 56px); width: 300px; border-radius: var(--radius); padding: 14px 16px; color: #fff;
}
.hero-ticker .row { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; }
.hero-ticker .route { font: 600 .95rem var(--font-display); margin: 10px 0 10px; display: flex; align-items: center; gap: 8px; }
.hero-ticker .route svg { width: 34px; color: var(--red-300); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); overflow: hidden; position: relative; }
.bar > i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: linear-gradient(90deg, var(--red), #ff6b70); border-radius: inherit; transition: width 1.2s var(--ease); }
.hero-ticker .mono { font-size: .7rem; opacity: .75; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font: 500 .68rem var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); display: none; }
.hero-dots { position: absolute; left: clamp(22px, 4vw, 56px); top: 118px; display: flex; gap: 6px; }
.hero-dots button { width: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero-dots button i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-dots button.is-on i { animation: fillbar 6s linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-meta { justify-content: flex-start; }
  /* mobile translation of the live ticker: a compact strip under the nav */
  .hero-ticker { top: 104px; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); width: auto; padding: 10px 14px; }
  .hero-ticker .route { margin: 6px 0; font-size: .86rem; }
  .hero-ticker .row:last-child { display: none; }
}
@media (max-height: 700px) and (max-width: 1100px) { .hero-ticker { display: none; } }
/* tablet: the copy fills the left column top to bottom, so the ticker moves to the photo's bottom corner */
@media (min-width: 721px) and (max-width: 1100px) {
  .hero-ticker { top: auto; bottom: 22px; left: auto; right: 22px; width: 300px; }
}
@media (max-width: 560px) {
  .hero { min-height: calc(100svh - 16px); border-radius: 8px; }
  .frame { padding: 8px; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-card--rate, .hero-card--tags { width: auto; }
  .hero-card { padding: 14px; }
  .hero-card .big { margin-top: 14px; }
  .tag-row .pill { padding: 0 9px; font-size: .7rem; }
  .tag-row .dot { width: 22px; height: 22px; font-size: .85rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero-dots { top: 90px; }
}

/* page hero (inner pages) */
.page-hero { min-height: min(78svh, 720px); }
.page-hero .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.crumbs { display: flex; gap: 8px; align-items: center; font: 500 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }
.page-hero .obj-float { position: absolute; right: clamp(20px, 6vw, 110px); top: 18%; width: clamp(160px, 20vw, 300px); z-index: 1; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .4)); }
@media (max-width: 900px) { .page-hero .obj-float { width: 130px; top: 110px; right: 20px; } .page-hero .hero-inner { grid-template-columns: 1fr; } }

/* inner pages, desktop: the 3D object floats above the headline in the navy wash, never on the photo's subject */
@media (min-width: 901px) {
  .page-hero .obj-float { right: auto; left: clamp(22px, 4vw, 56px); top: 104px; width: clamp(120px, 10vw, 160px); }
}
/* ---- mobile hero: the photo gets its own frame ----
   A portrait phone can't show a landscape photo behind a full screen of copy:
   cover would crop it to a sliver and the text would sit on the rest. So below
   720px the photo is a band at the top (frame.js crops it around the subject,
   clear of the nav and the ticker) and the copy flows underneath on navy. */
@media (max-width: 720px) {
  .hero { --mh: clamp(300px, 52svh, 460px); display: block; min-height: 0;
    background: radial-gradient(90% 50% at 0% 100%, rgba(225, 32, 39, .2), transparent 70%), var(--navy-900); }
  .page-hero { --mh: clamp(270px, 44svh, 400px); min-height: 0; }
  .hero-media { position: relative; inset: auto; height: var(--mh); z-index: 0; overflow: hidden; --safe-b: 34px; }
  .hero::before { inset: 0 0 auto 0; height: var(--mh); z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(3, 13, 25, .6) 0, rgba(3, 13, 25, 0) 22%, rgba(3, 13, 25, 0) 84%, var(--navy-900) 100%); }
  .hero-inner { position: relative; z-index: 2; padding: 34px 20px 22px; }
  .hero-ticker { display: none; }      /* the live load lives on the track page; the photo gets the room */
  /* slide indicators: a thin segmented bar along the bottom edge of the photo */
  .hero-dots { top: calc(var(--mh) - 16px); left: 20px; right: 20px; z-index: 3; gap: 5px; }
  .hero-dots button { flex: 1; height: 2px; background: rgba(255, 255, 255, .28); }
  .page-hero .hero-inner { padding-top: 26px; }
  .page-hero .obj-float { top: calc(var(--mh) - 74px); right: 14px; width: 104px; z-index: 3; }
}


/* ==========================================================================
   About statement — words light up as you scroll
   ========================================================================== */
.statement { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: start; }
.statement > .eyebrow { margin-top: .9em; }
.statement p {
  font: 400 clamp(1.6rem, 3.2vw, 2.75rem)/1.22 var(--font); letter-spacing: -.028em; color: var(--ink);
}
.statement .w { color: var(--steel-200); transition: color .5s var(--ease); }
.statement .w.on { color: var(--ink); }
.statement .w.red.on { color: var(--red); }
.statement .sign { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.statement .sign-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-800); display: grid; place-items: center; flex: none; }
.statement .sign-mark img { width: 26px; height: auto; }
.statement .sign b { display: block; font-size: .95rem; }
.statement .sign small { color: var(--muted); font-size: .82rem; }
@media (max-width: 800px) { .statement { grid-template-columns: 1fr; gap: 18px; } }

/* ==========================================================================
   Bento stats (reference row: 342+ / 98% / 28%)
   ========================================================================== */
.bento { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
.stat-card {
  position: relative; border-radius: var(--radius-lg); padding: 28px; min-height: 360px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; background: var(--mist);
}
.stat-card .num { font: 300 clamp(3rem, 5.6vw, 5rem)/1 var(--font-display); letter-spacing: -.05em; }
.stat-card .num b { font-weight: 300; }
.stat-card h3 { font: 600 1rem var(--font); margin-bottom: 4px; }
.stat-card p { font-size: .86rem; color: var(--muted); max-width: 30ch; }
.stat-card--grid { background: linear-gradient(160deg, #fff 0%, #eef1f5 100%); border: 1px solid var(--line); }
.stat-card--grid::before { /* soft engineering grid, fading in from the corner */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask: radial-gradient(90% 80% at 100% 100%, #000 10%, transparent 70%); mask: radial-gradient(90% 80% at 100% 100%, #000 10%, transparent 70%);
}
.stat-stack { display: grid; gap: 14px; grid-template-rows: auto 1fr; }
.stat-mini { border-radius: var(--radius-lg); padding: 18px 20px; background: #fff; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.stat-mini b { display: block; font-size: .98rem; font-weight: 600; }
.stat-mini small { color: var(--muted); font-size: .8rem; }
.stat-mini .pill { background: var(--red-50); color: var(--red-600); }
.stat-card--ice { background: linear-gradient(200deg, #dfe8f1 0%, #f5f8fb 55%, #fff 100%); min-height: 0; }
.stat-card--ice::after { /* glass tile pattern from the reference */
  content: ""; position: absolute; right: -10%; top: -10%; width: 70%; height: 80%; z-index: -1; border-radius: 24px;
  background-image: linear-gradient(rgba(255, 255, 255, .8) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .8) 1px, transparent 1px);
  background-size: 28px 28px; transform: rotate(-8deg); opacity: .8;
}
.stat-card--red { background: radial-gradient(120% 90% at 100% 0%, #ff4b51 0%, var(--red) 40%, var(--red-700) 100%); color: #fff; }
.stat-card--red p { color: rgba(255, 255, 255, .8); }
.stat-card--red .obj { position: absolute; right: -30px; bottom: -30px; width: 74%; z-index: -1; filter: drop-shadow(0 30px 30px rgba(80, 0, 0, .45)); }
.stat-card .spark { width: 100%; height: 70px; margin-top: 10px; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } .bento > :first-child { grid-column: 1 / -1; min-height: 280px; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .stat-card { min-height: 280px; } }

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ==========================================================================
   Services with 3D objects (the "three ways" cards, now four)
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-item {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist);
  padding: 30px 28px 32px; min-height: 440px; display: flex; flex-direction: column;
  transition: color .6s var(--ease);
}
.service-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(120% 90% at 100% 0%, rgba(225, 32, 39, .38), transparent 55%), linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.service-item .num { font: 500 .75rem var(--font-mono); color: var(--muted); transition: color .4s; display: flex; justify-content: space-between; }
.service-item .icon {
  width: 150px; height: 150px; object-fit: contain; margin: 18px 0 auto -10px;
  filter: drop-shadow(0 22px 18px rgba(6, 22, 52, .22)) drop-shadow(0 4px 4px rgba(6, 22, 52, .12));
  animation: float 7s ease-in-out infinite; animation-delay: var(--fd, 0s);
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.service-item h3 { margin-top: 30px; }
.service-item p { font-size: .92rem; color: var(--muted); max-width: 34ch; margin-top: 10px; transition: color .6s; }
.service-item .link-arrow { margin-top: 24px; align-self: flex-start; }
.service-item:hover::before, .service-item.is-inview::before { opacity: 1; }
.service-item:hover, .service-item.is-inview { color: #fff; }
.service-item:hover p, .service-item.is-inview p { color: rgba(255, 255, 255, .75); }
.service-item:hover .num, .service-item.is-inview .num { color: var(--red-300); }
.service-item:hover .icon, .service-item.is-inview .icon { transform: rotate(-12deg) scale(1.08); filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .45)) drop-shadow(0 0 40px rgba(225, 32, 39, .25)); }
@keyframes float { 50% { translate: 0 -18px; } }
/* industry patterns, top-right of each service card (tread · corrugation · hazard · radar) */
.service-item .pattern {
  position: absolute; top: 0; right: 0; width: 72%; height: 56%; z-index: -1; pointer-events: none;
  color: var(--steel-400); opacity: .5;
  -webkit-mask: radial-gradient(120% 100% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 35%, transparent 68%);
  mask: radial-gradient(120% 100% at 100% 0%, #000 0%, rgba(0, 0, 0, .55) 35%, transparent 68%);
  transition: color .6s var(--ease), opacity .6s var(--ease), transform 1.2s var(--ease);
}
.service-item .pattern--hazard { opacity: .32; }
.service-item .pattern .hz { fill: var(--red); transition: fill .6s; }
.service-item .pattern .blip { fill: var(--red); animation: blip 2.4s ease-in-out infinite; }
.service-item .pattern .blip + .blip { animation-delay: -1.2s; }
.service-item .pattern .sweep { transform-origin: 240px 0; animation: sweep 6s linear infinite; }
@keyframes blip { 50% { opacity: .2; } }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(-90deg); } }
.service-item:hover .pattern { color: rgba(255, 255, 255, .6); opacity: .42; transform: scale(1.06); transform-origin: 100% 0; }
.service-item:hover .pattern--hazard { opacity: .5; }

@media (max-width: 1200px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service-item { min-height: 0; } .service-item .icon { width: 110px; height: 110px; } }

/* ==========================================================================
   Network map
   ========================================================================== */
.dark { background: var(--navy-950); color: #fff; }
.dark .lede, .dark .muted { color: rgba(255, 255, 255, .66); }
.dark .eyebrow { color: rgba(255, 255, 255, .8); }
.dark-card { border-radius: var(--radius-xl); background: radial-gradient(90% 70% at 85% 10%, #0e3a5e 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: #fff; overflow: hidden; overflow: clip; position: relative; isolation: isolate; }
.dark-card .lede { color: rgba(255, 255, 255, .7); }

.network { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; padding: clamp(28px, 4vw, 64px); align-items: center; }
.corridors { display: grid; gap: 6px; margin-top: 30px; }
.corridor {
  display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; text-align: left; width: 100%;
  padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; color: rgba(255, 255, 255, .72);
  transition: background .4s, border-color .4s, color .3s;
}
.corridor i { width: 10px; height: 10px; border-radius: 3px; background: var(--steel); transform: rotate(45deg); transition: background .3s; }
.corridor b { font-weight: 600; font-size: .94rem; color: inherit; }
.corridor small { display: block; font-size: .76rem; opacity: .7; }
.corridor .km { font: 500 .78rem var(--font-mono); opacity: .8; }
.corridor:hover, .corridor.is-active { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.corridor.is-active i { background: var(--red); }

.map-col { position: relative; }
.map { position: relative; width: 100%; aspect-ratio: 1000 / 1027; max-height: 82vh; margin-inline: auto; }
.map svg { width: 100%; height: 100%; overflow: hidden; }
.map .dots-base { stroke: rgba(255, 255, 255, .13); }
.map .dots-active { stroke: rgba(169, 179, 191, .55); }
.map .dots-home { stroke: var(--red); }
.map--light .dots-base { stroke: rgba(11, 22, 32, .10); }
.map--light .dots-active { stroke: rgba(11, 22, 32, .38); }
.map .outline { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.map--light .outline { stroke: rgba(11, 22, 32, .08); }
.map .route { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, stroke-width .4s, opacity .4s; }
.map .route-glow { fill: none; stroke: var(--red); stroke-width: 8; stroke-linecap: round; opacity: 0; filter: blur(6px); transition: opacity .4s; }
.map .route-dash { fill: none; stroke: #fff; stroke-width: 1.2; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .0; transition: opacity .4s; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.map .route.is-active { stroke: var(--red); stroke-width: 3.2; }
.map .route-glow.is-active { opacity: .55; }
.map .route-dash.is-active { opacity: .9; }
.map.has-active .route:not(.is-active) { opacity: .35; }
.map--light .route { stroke: rgba(11, 22, 32, .3); }
.map .place circle { fill: var(--navy-950); stroke: #fff; stroke-width: 1.6; }
.map--light .place circle { fill: #fff; stroke: var(--ink); }
.map .place.hub circle { fill: var(--red); stroke: #fff; stroke-width: 3; }
.map .place.port rect { fill: #fff; }
.map--light .place.port rect { fill: var(--ink); }
.map .place text { font: 600 13px var(--font); fill: rgba(255, 255, 255, .85); paint-order: stroke; stroke: var(--navy-950); stroke-width: 4px; stroke-linejoin: round; }
.map--light .place text { fill: var(--ink); stroke: var(--paper); }
.map .place.border text { font: 500 10.5px var(--font-mono); fill: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.map--light .place.border text { fill: var(--muted); }
.map .place.border path { stroke: var(--steel-400); stroke-width: 1.6; fill: none; }
.map .hub-pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: hubpulse 2.4s var(--ease-out) infinite; }
@keyframes hubpulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.map .truck { fill: #fff; }
.map .truck-halo { fill: var(--red); opacity: .35; }
.map-legend { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 14px; font: 500 .7rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.map--light + .map-legend, .map-legend--dark { color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.map-legend i.lg-hub { background: var(--red); border-color: #fff; }
.map-legend i.lg-port { border-radius: 2px; background: currentColor; }
.map-legend i.lg-border { border-radius: 0; border: 0; border-top: 2px solid var(--steel-400); height: 0; width: 12px; }
.map-tip {
  position: absolute; pointer-events: none; z-index: 3; min-width: 190px; padding: 12px 14px; border-radius: 14px; color: #fff; font-size: .8rem;
  opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96); transition: opacity .25s, transform .25s var(--ease);
}
.map-tip.on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)); }
.map-tip b { display: block; font-size: .92rem; margin-bottom: 2px; }
@media (max-width: 960px) {
  /* mobile translation: heading → sticky map → corridor list (scrolling under the map lights each route) */
  .network { grid-template-columns: 1fr; gap: 0; }
  .network > div:first-child { display: contents; }
  .network > div:last-child {
    order: 1; position: sticky; top: 78px; z-index: 3; margin: 22px calc(clamp(28px, 4vw, 64px) * -1 + 8px) 0; padding: 10px;
    border-radius: 22px; background: rgba(3, 13, 25, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  }
  .network .corridors { order: 2; margin-top: 18px; }
  .network #corridor-info, .network > div:first-child > .btn { order: 3; justify-self: start; }
  .map { max-height: 40svh; }
  .map-legend { position: static; justify-content: center; margin-top: 8px; gap: 10px; font-size: .62rem; }
}

/* ==========================================================================
   Feature split (photo + copy + floating glass object)
   ========================================================================== */
.split-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-feature--rev { grid-template-columns: 1fr 1.1fr; }
.split-feature--rev .media { order: 2; }
.media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--steel-100); }
.media img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; left: 0; will-change: transform; }
.media--wide { aspect-ratio: 16 / 10; }
.media .badge { background: rgba(3, 13, 25, .38); position: absolute; left: 18px; bottom: 18px; max-width: calc(100% - 36px); border-radius: var(--radius); padding: 16px 18px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.media .badge b { font: 600 1rem var(--font-display); }
.media .badge small { display: block; opacity: .75; font-size: .78rem; }
/* tags go bottom-left and stay small, so the subject keeps the rest of the frame */
@media (max-width: 600px) {
  .media .badge { left: 10px; bottom: 10px; padding: 8px 8px 8px 12px; gap: 8px; max-width: calc(100% - 20px); }
  .media .badge b { font-size: .82rem; }
  .media .badge small { display: none; }
  .media .badge .pill { height: 26px; font-size: .7rem; padding: 0 9px; }
}
.media-wrap { position: relative; }
.media-wrap .obj-float { position: absolute; z-index: 2; width: clamp(120px, 15vw, 210px); filter: drop-shadow(0 34px 30px rgba(3, 13, 25, .35)); animation: float 8s ease-in-out infinite; }
.media-wrap .obj-float.tr { right: -6%; top: -7%; }
.media-wrap .obj-float.bl { left: -7%; bottom: 12%; animation-delay: -3s; }
@media (max-width: 900px) { .media-wrap .obj-float.tr { right: 2%; top: -40px; } .media-wrap .obj-float.bl { left: 2%; } }
.checklist { display: grid; gap: 14px; margin-top: 30px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: .96rem; }
.checklist li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist li b { display: block; font-weight: 600; }
.checklist li span { color: var(--muted); font-size: .9rem; }
.dark .checklist li span { color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .split-feature, .split-feature--rev { grid-template-columns: 1fr; } .split-feature--rev .media-wrap { order: 0; } .media { aspect-ratio: 4 / 3.4; } }

/* ==========================================================================
   Sector cards (the Teamway reference — industry shapes, black & white + red)
   ========================================================================== */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sector {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  min-height: 330px; display: flex; flex-direction: column; background: var(--mist);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector .pill { align-self: flex-start; background: #fff; height: 36px; padding: 0 16px; font-size: .82rem; font-weight: 500; }
.sector h3 { font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.03em; margin-top: auto; }
.sector p { color: var(--muted); max-width: 36ch; margin: 12px 0 26px; font-size: .94rem; }
.sector .text { max-width: 56%; display: flex; flex-direction: column; flex: 1; }
.sector .shape { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: -1; transition: transform 1s var(--ease); }
.sector:hover .shape { transform: translateX(-10px); }
.sector--ink { background: #ececea; }
.sector--steel { background: #e6e9ed; }
.sector--red { background: #f7e9e9; }
.sector--paper { background: #f2f1ee; }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sector .text { max-width: 100%; } .sector .shape { opacity: .28; width: 60%; } }

/* ==========================================================================
   Photo marquee
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { position: relative; width: clamp(240px, 26vw, 380px); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; flex: none; }
.marquee figure:nth-child(3n+2) { aspect-ratio: 4 / 4; align-self: center; }
.marquee figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.marquee figure:hover img { transform: scale(1.06); }
.marquee figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 10px 14px; border-radius: 12px; color: #fff; font-size: .78rem; display: flex; justify-content: space-between; gap: 8px; }
.marquee figcaption b { font-weight: 600; }
.marquee-row { display: flex; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Process — the road
   ========================================================================== */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-road { position: absolute; left: 0; right: 0; top: 34px; height: 4px; border-radius: 4px; background: var(--steel-100); overflow: hidden; }
.process-road i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 34px); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-top: 80px; }
.step .marker { position: absolute; top: 12px; left: 0; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font: 600 .8rem var(--font-mono); box-shadow: var(--shadow-sm); transition: background .5s, color .5s, border-color .5s; }
.step.is-in .marker { background: var(--ink); color: #fff; border-color: var(--ink); }
.step h3 { font: 600 1.15rem var(--font-display); letter-spacing: -.01em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; max-width: 30ch; }
.step .time { margin-top: 14px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; padding-left: 70px; }
  .process-road { left: 22px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .process-road i { background: repeating-linear-gradient(180deg, var(--red) 0 22px, transparent 22px 34px); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { padding: 8px 0 44px; }
  .step .marker { left: -70px; top: 0; }
}

/* ==========================================================================
   Testimonial with orbs (glassmorphic version, colour behind the glass)
   ========================================================================== */
.testi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.testi-stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; background: var(--navy-900); }
.testi-stage .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.testi-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(225, 32, 39, .35), rgba(3, 13, 25, .65)); }
.testi-orb { position: absolute; inset: 0; margin: auto; width: min(360px, 66%); aspect-ratio: 1; }
.testi-orb span {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .75), rgba(255, 255, 255, .12) 68%, rgba(255, 255, 255, .3) 74%);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 60px 80px -30px rgba(3, 13, 25, .5), inset -20px -30px 60px rgba(3, 13, 25, .14), inset 10px 14px 30px rgba(255, 255, 255, .35);
}
.testi-orb span:nth-child(2) {
  inset: 12% -12% auto auto; width: 34%; height: 34%; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: radial-gradient(circle at 35% 30%, #fff, #ff5a5f 40%, var(--red-700) 100%);
  box-shadow: 0 30px 40px -18px rgba(158, 16, 22, .7); animation: float 6s ease-in-out infinite;
}
.testi-orb span:nth-child(3) {
  inset: auto auto 4% -8%; width: 18%; height: 18%; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--steel-200) 45%, var(--steel) 100%);
  box-shadow: 0 20px 30px -14px rgba(3, 13, 25, .6); animation: float 7.5s ease-in-out infinite reverse;
}
.testi-orb .mark { position: absolute; inset: 0; margin: auto; width: 34%; height: auto; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .2)); }
.quote-mark { font: 800 5rem/0.6 var(--font-display); color: var(--red); display: block; height: 40px; }
.quotes { position: relative; min-height: 290px; }
.quote { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.quote blockquote { font: 400 clamp(1.3rem, 2.2vw, 1.85rem)/1.4 var(--font); letter-spacing: -.02em; }
.quote cite { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-style: normal; }
.quote cite .av { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 .9rem var(--font-display); }
.quote cite b { display: block; font-size: .95rem; }
.quote cite small { color: var(--muted); font-size: .84rem; }
.quote-nav { display: flex; gap: 10px; margin-top: 34px; align-items: center; }
.quote-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.quote-nav button:hover { background: var(--ink); color: #fff; }
.quote-nav button svg { width: 16px; }
.quote-nav .count { font: 500 .8rem var(--font-mono); color: var(--muted); margin-left: 10px; }
@media (max-width: 900px) { .testi { grid-template-columns: 1fr; } .testi-stage { aspect-ratio: 4/3; } .testi-orb { width: min(260px, 50%); } }

/* ==========================================================================
   CTA block
   ========================================================================== */
.cta { position: relative; border-radius: var(--radius-xl); overflow: hidden; color: #fff; isolation: isolate; padding: clamp(36px, 6vw, 88px); }
.cta > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(3, 13, 25, .94) 0%, rgba(5, 26, 44, .82) 45%, rgba(158, 16, 22, .55) 100%); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: center; }
.cta .lede { color: rgba(255, 255, 255, .75); margin-top: 18px; }
.cta .obj-float { position: absolute; width: clamp(120px, 14vw, 200px); left: 44%; top: -30px; animation: float 8s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .45)); pointer-events: none; }
.quick-quote { border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 12px; }
.quick-quote h3 { font: 600 1.15rem var(--font-display); margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .75); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08); color: #fff; outline: none; transition: border-color .3s, background .3s;
}
.field textarea { height: 110px; padding: 14px 16px; resize: vertical; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red-300); background: rgba(255, 255, 255, .14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-light .field label { color: var(--ink-2); }
.form-light .field input, .form-light .field select, .form-light .field textarea { background: #fff; border-color: var(--line); color: var(--ink); }
.form-light .field input::placeholder, .form-light .field textarea::placeholder { color: var(--steel); }
.form-light .field input:focus, .form-light .field select:focus, .form-light .field textarea:focus { border-color: var(--red); }
.form-note { font-size: .78rem; opacity: .7; }
.form-ok { display: none; padding: 14px 16px; border-radius: 14px; background: rgba(46, 204, 113, .14); border: 1px solid rgba(46, 204, 113, .4); font-size: .88rem; }
.is-sent .form-ok { display: block; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } .cta .obj-float { left: auto; right: 10px; top: -20px; width: 110px; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: clamp(56px, 7vw, 96px) 0 28px; margin-top: 16px; position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, rgba(225, 32, 39, .18), transparent 60%); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h4 { font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer .lead { font: 300 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--font-display); color: #fff; letter-spacing: -.03em; max-width: 16ch; margin: 20px 0 26px; }
.footer .lead b { font-weight: 800; }
.footer-word { margin: clamp(48px, 7vw, 90px) 0 20px; width: 100%; color: rgba(255, 255, 255, .06); }
.footer-word svg { width: 100%; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-light); padding-top: 22px; font-size: .8rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Charts (industry-shaped; black, white & red)
   ========================================================================== */
.chart-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.chart-card { grid-column: span 6; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 30px); position: relative; overflow: hidden; }
.chart-card.span-4 { grid-column: span 4; }
.chart-card.span-5 { grid-column: span 5; }
.chart-card.span-7 { grid-column: span 7; }
.chart-card.span-8 { grid-column: span 8; }
.chart-card.span-12 { grid-column: 1 / -1; }
.chart-card--ink { background: var(--ink); color: #fff; border-color: transparent; }
.chart-card--ink .chart-sub { color: rgba(255, 255, 255, .6); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.chart-title { font: 600 1.02rem var(--font-display); letter-spacing: -.01em; }
.chart-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.chart-kpi { font: 300 2.2rem/1 var(--font-display); letter-spacing: -.04em; text-align: right; }
.chart-kpi small { display: block; font: 500 .72rem var(--font-mono); letter-spacing: .04em; color: var(--red); margin-top: 6px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 13px var(--font-mono); fill: var(--muted); }
.chart-card--ink .chart text { fill: rgba(255, 255, 255, .6); }
.chart .grid line { stroke: var(--line); }
.chart-card--ink .chart .grid line { stroke: rgba(255, 255, 255, .1); }
.chart .val { font: 600 14px var(--font); fill: var(--ink); }
.chart-card--ink .chart .val { fill: #fff; }
.chart [data-anim] { transition: transform 1.2s var(--ease-out), opacity .8s, stroke-dashoffset 1.8s var(--ease-out); }
.chart-card.span-12 .chart { max-height: 320px; margin-inline: auto; display: block; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.chart-legend span { display: inline-flex; gap: 6px; align-items: center; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; }
.chart-tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .76rem; white-space: nowrap; opacity: 0; transform: translate(-50%, -120%); transition: opacity .2s; z-index: 4; }
.chart-tip.on { opacity: 1; }
@media (max-width: 1000px) { .chart-card, .chart-card.span-4, .chart-card.span-5, .chart-card.span-7, .chart-card.span-8 { grid-column: 1 / -1; } }

/* ==========================================================================
   Misc. content blocks used on inner pages
   ========================================================================== */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.kpi { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi + .kpi { padding-left: 24px; }
.kpi .v { font: 300 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-display); letter-spacing: -.05em; }
.kpi .v em { font-style: normal; color: var(--red); }
.kpi .l { margin-top: 10px; font-size: .88rem; color: var(--muted); max-width: 22ch; }
.dark .kpis, .dark .kpi { border-color: var(--line-light); }
.dark .kpi .l { color: rgba(255, 255, 255, .6); }
@media (max-width: 800px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 22px; } }

.detail { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); align-items: start; }
.detail .obj { width: 120px; filter: drop-shadow(0 20px 18px rgba(6, 22, 52, .2)); animation: float 7s ease-in-out infinite; }
.detail .media { aspect-ratio: 4 / 3; }
.detail ul.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 24px; }
.detail ul.specs li { font-size: .88rem; padding-left: 16px; position: relative; color: var(--ink-2); }
.detail ul.specs li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); border-radius: 1px; }
@media (max-width: 1000px) { .detail { grid-template-columns: 1fr; } .detail .obj { width: 90px; } }

.ports { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.port { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.port img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.port::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 13, 25, .9), rgba(3, 13, 25, 0) 60%); }
.port:hover img { transform: scale(1.06); }
.port b { font: 600 1.3rem var(--font-display); letter-spacing: -.02em; }
.port small { opacity: .75; font-size: .82rem; }
.port .pill { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 1000px) { .ports { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ports { grid-template-columns: 1fr; } .port { aspect-ratio: 4 / 3; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: 28px; position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.value img { width: 120px; margin: -6px 0 auto -8px; filter: drop-shadow(0 20px 18px rgba(6, 22, 52, .2)); transition: transform .8s var(--ease); }
.value:hover img { transform: rotate(-10deg) scale(1.06); }
.value h3 { margin-top: 26px; }
.value p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line-light); }
.tl .yr { font: 300 2.2rem/1 var(--font-display); letter-spacing: -.04em; color: var(--red-300); }
.tl h3 { font: 600 1.15rem var(--font-display); margin-bottom: 6px; }
.tl p { color: rgba(255, 255, 255, .65); font-size: .94rem; max-width: 60ch; }
@media (max-width: 600px) { .tl { grid-template-columns: 1fr; gap: 8px; } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 14px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery .g1 { grid-column: span 3; grid-row: span 3; }
.gallery .g2 { grid-column: span 3; grid-row: span 2; }
.gallery .g3 { grid-column: span 2; grid-row: span 2; }
.gallery .g4 { grid-column: span 1; grid-row: span 1; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 10px; font-size: .72rem; color: #fff; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; } .gallery figure:first-child { grid-column: span 2 !important; grid-row: span 2 !important; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 4px; }
.contact-card + .contact-card { margin-top: 14px; }
.contact-card b { font: 600 1.05rem var(--font-display); }
.contact-card a { color: var(--ink-2); }
.contact-card a:hover { color: var(--red); }
.form-panel { border-radius: var(--radius-xl); padding: clamp(24px, 3.4vw, 44px); background: var(--mist); }
.steps-nav { display: flex; gap: 6px; margin-bottom: 26px; }
.steps-nav span { flex: 1; height: 4px; border-radius: 4px; background: var(--steel-200); position: relative; overflow: hidden; }
.steps-nav span.on::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: grow .6s var(--ease) forwards; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.form-step { display: none; gap: 14px; }
.form-step.is-on { display: grid; animation: stepin .6s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(20px); } }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: .9rem; transition: border-color .3s, box-shadow .3s; }
.choice label img { width: 44px; height: 44px; object-fit: contain; }
.choice input:checked + label { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 32, 39, .12); }
.choice input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }
.form-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }

/* tracking demo */
.track-shell { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 14px; }
.track-shell > * { min-width: 0; }
.track-panel { border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); padding: 26px; }
.track-form { display: flex; gap: 8px; margin: 18px 0 24px; }
.track-form input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--mist); font: 600 .92rem var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.track-form input:focus { outline: none; border-color: var(--red); background: #fff; }
.events { position: relative; display: grid; gap: 0; }
.event { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; padding-bottom: 22px; position: relative; }
.event::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--steel-100); }
.event:last-child::before { display: none; }
.event i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--steel-200); background: #fff; position: relative; z-index: 1; }
.event.done i { background: var(--ink); border-color: var(--ink); }
.event.now i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(225, 32, 39, .15); }
.event b { font-size: .92rem; display: block; }
.event small { color: var(--muted); font-size: .8rem; }
.event time { font: 500 .74rem var(--font-mono); color: var(--muted); white-space: nowrap; }
.track-map { border-radius: var(--radius-xl); overflow: hidden; position: relative; padding: 20px; min-height: 520px; }
.track-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.track-stats div { border-radius: 14px; background: var(--mist); padding: 12px 14px; }
.track-stats small { display: block; font-size: .7rem; color: var(--muted); font-weight: 600; }
.track-stats b { font: 600 1.05rem var(--font-display); }
@media (max-width: 960px) { .track-shell { grid-template-columns: 1fr; } .track-map { min-height: 0; } }
@media (max-width: 480px) { .track-stats { grid-template-columns: 1fr 1fr; } .event { grid-template-columns: 22px 1fr; } .event time { grid-column: 2; } }


/* ==========================================================================
   Floating WhatsApp — brand red flame button, navy label
   ========================================================================== */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: 12px; transition: transform .6s var(--ease), opacity .4s;
}
.wa-float.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
.wa-btn {
  position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none;
  background: radial-gradient(circle at 32% 28%, #ff5a5f 0%, var(--red) 45%, var(--red-700) 100%);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 5px rgba(7, 39, 64, .14), 0 18px 34px -12px rgba(158, 16, 22, .75), inset 0 -6px 14px rgba(80, 0, 0, .35), inset 0 6px 12px rgba(255, 255, 255, .25);
  transition: transform .6s var(--ease);
}
.wa-btn::before { /* soft red halo ripple */
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0;
  animation: waRing 2.8s var(--ease-out) infinite;
}
.wa-btn::after { /* navy "online" notch with white dot, top-right */
  content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 3px, var(--navy-800) 3.5px); box-shadow: 0 0 0 2px #fff;
}
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-glyph { width: 28px; height: 28px; position: relative; z-index: 1; filter: drop-shadow(0 2px 3px rgba(80, 0, 0, .35)); }
.wa-flame { position: absolute; width: 18px; left: 6px; bottom: 4px; fill: rgba(255, 255, 255, .28); transform: rotate(-8deg); }
.wa-label {
  display: grid; gap: 2px; padding: 11px 18px 11px 16px; border-radius: 16px 16px 4px 16px; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); box-shadow: 0 16px 34px -14px rgba(3, 13, 25, .6);
  border: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transform: translateX(14px) scale(.96); transform-origin: right center; pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.wa-label b { font: 600 .86rem var(--font-display); }
.wa-label small { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: rgba(255, 255, 255, .7); }
.wa-label small i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-300); box-shadow: 0 0 0 0 rgba(255, 107, 112, .6); animation: pulse 2s infinite; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label, .wa-float.is-inview .wa-label { opacity: 1; transform: none; }
.wa-float:hover .wa-btn, .wa-float.is-inview .wa-btn { transform: rotate(-10deg) scale(1.06); }
@media (max-width: 560px) {
  .wa-btn { width: 56px; height: 56px; }
  .wa-glyph { width: 25px; height: 25px; }
  .wa-label { padding: 9px 14px; }
  .wa-label b { font-size: .8rem; }
}

/* ==========================================================================
   Motion utilities
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(12% 12% 12% 12% round var(--radius-xl)); transition: clip-path 1.4s var(--ease-out); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius-xl)); }

/* scroll progress, styled as a road line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* page transition: two flame panels wipe across */
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: grid; place-items: center; }
.curtain::before, .curtain::after { content: ""; position: absolute; inset: 0 -12vw; clip-path: polygon(12vw 0, 100% 0, calc(100% - 12vw) 100%, 0 100%); transform: translateX(-110%); transition: transform .7s var(--ease-in-out); }
.curtain::before { background: var(--red); }
.curtain::after { background: var(--navy-900); transition-delay: .08s; }
.curtain img { position: relative; z-index: 1; width: 64px; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .5s var(--ease); }
.is-arriving .curtain::before, .is-arriving .curtain::after { transform: none; transition: none; }
.curtain.is-cover::before, .curtain.is-cover::after { transform: none; }
.curtain.is-cover img { opacity: 1; transform: none; transition-delay: .3s; }
.curtain.is-leave::before, .curtain.is-leave::after { transform: translateX(110%); }
.curtain.is-leave::before { transition-delay: .08s; }
.curtain.is-leave::after { transition-delay: 0s; }

/* preloader (first visit only) */
html:not(.js) .loader { display: none; }
.loader { position: fixed; inset: 0; z-index: 160; background: var(--navy-950); display: grid; place-items: center; color: #fff; transition: clip-path 1s var(--ease-in-out) .1s; clip-path: inset(0 0 0 0); }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader .inner { display: grid; justify-items: center; gap: 18px; }
.loader svg.flame { width: 72px; overflow: visible; }
.loader svg.flame path { stroke-width: 1.2; fill-opacity: 0; animation: drawflame 1.4s var(--ease-out) forwards, fillflame .6s .9s forwards; }
@keyframes drawflame { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes fillflame { to { fill-opacity: 1; } }
.loader .tag { font: 600 .72rem var(--font-mono); letter-spacing: .32em; text-transform: uppercase; opacity: 0; animation: fadeup .8s .7s var(--ease) forwards; }
.loader .count { font: 300 .8rem var(--font-mono); opacity: .5; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: .85; transform: none; } }

/* ==========================================================================
   Detail pass — the small things, finished properly
   ========================================================================== */
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .pill:focus-visible { border-radius: var(--pill); }

/* buttons: a lit top edge, a hairline ring, a pressed state, a recessed arrow well */
.btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(3, 13, 25, .18); }
.btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -12px rgba(225, 32, 39, .55); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .12s; }
.btn .arrow { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 255, 255, .06); }
.btn--light { box-shadow: inset 0 -1px 0 rgba(11, 22, 32, .08), 0 0 0 1px rgba(11, 22, 32, .06), 0 10px 24px -14px rgba(3, 13, 25, .5); }
.btn--light .arrow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn--glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 26px -16px rgba(3, 13, 25, .6); }
.btn--red { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 12px 26px -14px rgba(225, 32, 39, .8); }

/* pills: hairline + lit edge; the hot pill gets depth instead of a flat red */
.pill { border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); letter-spacing: .005em; font-feature-settings: "tnum"; }
.tag-row .pill { background: linear-gradient(180deg, #fff, var(--mist)); }
.tag-row .pill--hot, .pill--hot {
  background: linear-gradient(180deg, #ec343b, var(--red-600)); color: #fff; border-color: var(--red-700);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 16px -8px rgba(225, 32, 39, .8);
}
.tag-row .dot { border: 1px solid var(--line); background: #fff; font-weight: 300; transition: transform .5s var(--ease), background .3s, color .3s; }
.tag-row .dot--ink { background: linear-gradient(180deg, #1b2a3a, var(--ink)); border-color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
.hero-card--tags .tag-row:hover .dot { transform: rotate(90deg); background: var(--ink); color: #fff; }

/* hero cards: layered shadow, hairline, a lit top edge */
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(11, 22, 32, .05), 0 2px 4px rgba(3, 13, 25, .12), 0 30px 60px -28px rgba(3, 13, 25, .7);
}
.hero-card .label { display: inline-flex; align-items: center; gap: 7px; }
.hero-card .label::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--red); transform: rotate(45deg); flex: none; }
.hero-card .big { font-feature-settings: "tnum"; }
/* on-time card: a ruler under the figure, filled to 98.4 */
.hero-card--rate.has-ruler small { position: relative; padding-top: 14px; margin-top: auto; }
.hero-card--rate.has-ruler small::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background:
    linear-gradient(90deg, var(--red) 98.4%, transparent 0) 0 100% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(11, 22, 32, .22) 0 1px, transparent 1px 6px) 0 0 / 100% 4px no-repeat;
}
.hero-card--rate .big { margin-bottom: 14px; }

/* hero cards: a woven thread texture, just below the threshold of visibility.
   Two diagonal thread sets (twill) plus a faint warp, faded out towards the content. */
:root {
  --pat-thread:
    repeating-linear-gradient(45deg, rgba(7, 39, 64, .055) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(-45deg, rgba(7, 39, 64, .035) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(90deg, rgba(7, 39, 64, .025) 0 1px, transparent 1px 3px);
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pat-thread);
  -webkit-mask-image: radial-gradient(130% 110% at 100% 100%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  mask-image: radial-gradient(130% 110% at 100% 100%, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
}
.hero-card--tags { justify-content: center; }
.tag-row { position: relative; }

/* live ticker: hairline divider, tabular figures, a glowing head on the progress bar */
.hero-ticker { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 24px 50px -24px rgba(3, 13, 25, .7); }
.hero-ticker .route { padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); font-feature-settings: "tnum"; }
.hero-ticker .mono { font-feature-settings: "tnum"; }
.bar { overflow: visible; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .25); }
.bar > i::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(225, 32, 39, .45), 0 0 12px rgba(255, 107, 112, .9); }

/* photo badges: lit edge + soft depth */
.media .badge { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 34px -18px rgba(3, 13, 25, .7); }
.media .badge b { letter-spacing: -.01em; }

/* breadcrumbs: thin slashes, links underline on hover */
.crumbs { gap: 10px; }
.crumbs a { position: relative; transition: color .3s; }
.crumbs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.crumbs a:hover::after { transform: scaleX(1); }
.crumbs span { opacity: .35; font-weight: 300; }

/* slide indicators: a faint track, the active one lit */
.hero-dots button { box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .25); transition: background .3s; }
.hero-dots button:hover { background: rgba(255, 255, 255, .5); }
.hero-dots button i { box-shadow: 0 0 8px rgba(255, 255, 255, .6); }

/* eyebrow: the diamond gets a soft ring */
.eyebrow::before { box-shadow: 0 0 0 3px rgba(225, 32, 39, .14); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .line > span { opacity: 1 !important; transform: none !important; }
  .js .img-reveal { clip-path: none; }
  .marquee-track { animation: none; }
}

/* desktop / mobile copy (built from [[long||short]] in the page sources) */
.t-m { display: none; }
@media (max-width: 600px) { .t-d { display: none; } .t-m { display: inline; } }

/* utilities */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.note-placeholder { font: 500 .7rem var(--font-mono); color: var(--muted); letter-spacing: .04em; }

/* ---- checklist fixes: small text keeps one line on phones ---- */
html:has(body.menu-open), body.menu-open { overflow: hidden; }
@media (max-width: 600px) {
  .detail ul.specs { grid-template-columns: 1fr; gap: 8px; }
  .corridor { grid-template-columns: 12px 1fr; row-gap: 2px; padding: 12px 14px; }
  .corridor .km { grid-column: 2; }
  .corridor small { font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .btn { white-space: nowrap; }
  .wa-label small { white-space: nowrap; }
  /* the home hero fits one phone screen: photo, headline, lede and actions; the stat cards follow in the bento */
  .hero:not(.page-hero) .hero-meta { display: none; }
}
html:not(.js) .quote:first-of-type { opacity: 1; transform: none; position: relative; }
@media (max-width: 600px) {
  .chart-kpi small, .chart-kpi + small, .chart-head small, .hero-card small { white-space: nowrap; }
  .chart-kpi small { font-size: .62rem; }
}
