/* GEA Haulage and Logistics: public site. Ported from the "GEA Website v3" design. */

/* Self-hosted Barlow (SIL Open Font License, see /fonts/OFL-LICENSE.txt). */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }

:root {
  --signal: #E8A33D;
  --on-signal: #0B1430;
  --tint-blue: #1E3A8A;
  --grade: saturate(0.7) contrast(1.1) brightness(0.88);
  --tint: 0.22;
  --night: #070B18;

  --bg: #EDEEF1;
  --surface: #F8F8F9;
  --ink: #0B1430;
  --body: #3D4458;
  --muted: #5E6578;
  --accent: #1E3A8A;
  --line: rgba(11, 20, 48, 0.12);
  --line-strong: rgba(11, 20, 48, 0.24);
  --band: #FFFFFF;
  --band-deep: #E2E4EA;
  --band-ink: #0B1430;
  --band-body: #3D4458;
  --band-muted: #5E6578;
  --band-line: rgba(11, 20, 48, 0.14);
  --band-card: #EDEEF1;
  --band-stroke: rgba(11, 20, 48, 0.14);
  --logo-light: block;
  --logo-dark: none;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: Barlow, system-ui, sans-serif;
  --wrap: 1400px;
  --pad-x: clamp(20px, 4vw, 32px);
  --pad-y: clamp(80px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: #070B18;
  --surface: #0E1424;
  --ink: #ECEEF3;
  --body: #A9B0C2;
  --muted: #7F879B;
  --accent: #E8B65A;
  --line: rgba(236, 238, 243, 0.1);
  --line-strong: rgba(236, 238, 243, 0.24);
  --band: #0B1430;
  --band-deep: #070B18;
  --band-ink: #ECEEF3;
  --band-body: #C9CEDA;
  --band-muted: #8C93A6;
  --band-line: rgba(255, 255, 255, 0.14);
  --band-card: rgba(255, 255, 255, 0.05);
  --band-stroke: rgba(255, 255, 255, 0.16);
  --logo-light: none;
  --logo-dark: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s ease;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--signal); color: var(--on-signal); padding: 12px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: var(--pad-y) var(--pad-x); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); }
.stack { display: flex; flex-direction: column; gap: 22px; }

/* Type */
.kicker { font-weight: 600; font-size: 17px; color: var(--accent); }
.band .kicker, .night .kicker { color: var(--signal); }
[data-theme="light"] .band .kicker { color: var(--accent); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.6vw, 84px); line-height: .92; text-transform: uppercase; text-wrap: balance; }
.h2-sm { font-size: clamp(36px, 4vw, 56px); line-height: .95; }
.lede { font-size: 18px; line-height: 1.7; color: var(--body); text-wrap: pretty; max-width: 62ch; }
.band .lede { color: var(--band-body); }
.fine { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 2px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-signal { background: var(--signal); color: var(--on-signal); }
.btn-signal:hover { background: #fff; color: #0B1430; }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-ink { background: var(--ink); color: var(--surface); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: none; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background .4s ease, backdrop-filter .4s ease; }
.site-header.is-solid { background: rgba(11, 20, 48, .86); backdrop-filter: blur(14px); }
.site-header.is-page { background: #0B1430; }
.header-row { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad-x); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 52px; width: auto; display: block; }
.wordmark { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); text-transform: uppercase; line-height: 1; }
.wordmark b { font-weight: 800; font-size: 34px; letter-spacing: -.5px; }
.wordmark span { font-weight: 600; font-size: 15px; letter-spacing: .5px; }
.nav { display: flex; align-items: center; gap: 12px 28px; font-weight: 500; font-size: 15px; }
.nav a.link { opacity: .85; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.link:hover { opacity: 1; }
.nav .btn { min-height: 44px; padding: 0 20px; }
.theme-btn, .menu-btn { min-height: 44px; padding: 0 16px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.theme-btn:hover, .menu-btn:hover { border-color: #fff; }
.theme-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; }
[data-theme="dark"] .theme-dot { background: #fff; }
.login-link { opacity: .5; font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.login-link:hover { opacity: .85; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--signal); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav a.link, .nav .btn, .nav .login-link { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .nav .theme-btn { display: none; }
  .header-row .wordmark span { display: none; }
  .brand img { height: 44px; }
}
.mobile-menu .theme-btn { align-self: flex-start; margin-top: 22px; }

.mobile-menu { position: fixed; inset: 0; z-index: 60; background: #0B1430; color: #fff; display: flex; flex-direction: column; padding: 14px 20px 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 8vw, 48px); line-height: 1.1; text-transform: uppercase; overflow-y: auto; }
.mobile-menu nav a { padding: 6px 0; }
.mobile-menu nav a.quote { color: var(--signal); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: inherit; cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--night); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .tinted video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--grade); transition: opacity 1.2s ease; }
.hero-media video + video { opacity: 0; }
.tint { position: absolute; inset: 0; background: var(--tint-blue); mix-blend-mode: color; opacity: var(--tint); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 24, .55) 0%, rgba(7, 11, 24, .15) 35%, rgba(7, 11, 24, .85) 100%); }
.hero-inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: clamp(110px, 14vw, 160px) var(--pad-x) 48px; display: flex; flex-direction: column; gap: 40px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 11vw, 168px); line-height: .86; letter-spacing: -1px; text-transform: uppercase; display: flex; flex-direction: column; }
.hero h1 .line { overflow: hidden; display: block; padding-bottom: .04em; }
.hero h1 .line > span { display: block; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 28px; }
.hero-foot p { font-size: 18px; line-height: 1.6; color: #C9CEDA; max-width: 520px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.playlist { display: flex; gap: 6px; align-items: center; margin-right: 12px; }
.playlist .icon-btn { border-color: rgba(255, 255, 255, .4); margin-right: 8px; font-size: 12px; }
.seg { width: 44px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; display: block; }
.seg > span { display: block; height: 100%; width: 0; background: #fff; }

/* Tracking bar */
.track-bar { background: var(--surface); border-bottom: 1px solid var(--line); transition: background .5s ease; }
.track-bar .wrap { padding-top: clamp(28px, 4vw, 40px); padding-bottom: clamp(28px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px 48px; align-items: center; }
.track-title small { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
.track-title strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 42px); line-height: 1; text-transform: uppercase; }
.track-field { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 6px 6px 6px 20px; }
.track-field:focus-within { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(232, 163, 61, .35); }
.track-field input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; font-size: 17px; padding: 12px 4px; color: var(--ink); letter-spacing: .5px; }
.track-field .btn { min-height: 48px; padding: 0 26px; }

/* Marquee */
.marquee { background: #0B1430; color: #ECEEF3; overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 12px; height: 12px; background: var(--signal); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.sec { background: var(--bg); transition: background .5s ease; }
.sec-surface { background: var(--surface); }
.band { background: var(--band); color: var(--band-ink); transition: background .5s ease; }
.night { position: relative; overflow: hidden; background: var(--night); color: #fff; }

.media-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: #0B1430; }
.media-frame video, .media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.float-card { position: absolute; left: clamp(-28px, -2vw, -8px); bottom: 40px; background: var(--surface); border-radius: 4px; padding: 22px 26px; box-shadow: 0 30px 60px rgba(11, 20, 48, .18); }
.float-card b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; color: var(--ink); }
.float-card span { font-size: 14px; color: var(--muted); }
.quote-line { font-size: 20px; line-height: 1.55; font-weight: 600; padding-left: 22px; border-left: 3px solid var(--signal); text-wrap: pretty; }

.story-lead { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.05; text-wrap: balance; }
.sticky { position: sticky; top: 120px; }
.card { padding: clamp(24px, 4vw, 36px); border-radius: 4px; background: var(--band-card); border: 1px solid var(--band-line); display: flex; flex-direction: column; gap: 14px; }
.card .label { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 4px; text-transform: uppercase; color: var(--band-body); }
.card p { font-size: 21px; line-height: 1.5; text-wrap: pretty; }

/* Services */
.svc-list { border-top: 1px solid var(--line); }
.svc-item { display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .4s ease, background .4s ease; }
.svc-item .t { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; text-transform: uppercase; color: var(--ink); transition: color .3s ease; }
.svc-item .dot { width: 14px; height: 14px; border-radius: 50%; justify-self: end; background: var(--line-strong); transition: background .3s ease; }
.svc-item.is-on { background: var(--surface); padding-left: 24px; }
.svc-item.is-on .t { color: var(--accent); }
.svc-item.is-on .dot { background: var(--signal); }
.svc-stage { position: sticky; top: 110px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #0B1430; }
.svc-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.2s var(--ease); }
.svc-slide.is-on { opacity: 1; transform: none; }
.svc-slide video, .svc-slide .img { width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--grade); }
.svc-slide .img { background-repeat: no-repeat; }
.svc-stage.is-near .svc-slide .img, html:not(.js) .svc-slide .img { background-image: url(/assets/img/fleet.webp); }
.svc-caption { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(0deg, rgba(7, 11, 24, .85), rgba(7, 11, 24, 0)); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.svc-caption b { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.svc-caption .btn { min-height: 44px; padding: 0 16px; font-size: 15px; flex-shrink: 0; }

/* Fleet */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 40px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-top: 1px solid var(--band-line); }
.stat b { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 7vw, 104px); line-height: .9; text-transform: uppercase; }
.stat span { font-size: 17px; line-height: 1.5; color: var(--band-body); }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 340px; border-radius: 4px; overflow: hidden; border: 1px solid var(--band-line); background: var(--band-deep); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.legend { display: flex; gap: 10px 28px; flex-wrap: wrap; font-size: 15px; color: var(--band-body); }
.legend span { display: flex; align-items: center; gap: 10px; }
.legend i { width: 22px; border-top: 2px dashed var(--signal); }
.legend i.xb { border-top-color: #8EA6E8; }

/* Values, reasons, steps */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px 56px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 54px); line-height: 1; text-transform: uppercase; }
.row p { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 560px; }
.creds { display: flex; flex-direction: column; }
.cred { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); }
.cred b { font-weight: 600; font-size: 17px; }
.cred span { font-size: 14px; color: var(--muted); }

.night video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--grade); }
.night-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 11, 24, .94) 0%, rgba(7, 11, 24, .78) 55%, rgba(7, 11, 24, .45) 100%); }
.reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 0 48px; padding: 0; margin: 0; list-style: none; }
.reasons li { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 20px; line-height: 1.45; font-weight: 500; }
.closing { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; max-width: 960px; text-wrap: balance; }

.commit { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5.4vw, 80px); line-height: 1; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 14px; padding: 28px 0 8px; border-top: 2px solid var(--ink); }
.steps li::before { content: "Step " counter(step); font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--accent); }
.steps h3 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); line-height: 1; text-transform: uppercase; }
.steps p { font-size: 17px; line-height: 1.6; color: var(--body); }

.role { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid var(--band-line); }
.role b { font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.role span { font-size: 16px; line-height: 1.6; color: var(--band-body); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; min-height: 44px; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--text); font-weight: 400; font-size: 30px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; font-size: 17px; line-height: 1.7; color: var(--body); }

/* Forms */
.panel { position: relative; background: var(--surface); color: var(--ink); border-radius: 4px; padding: clamp(24px, 5vw, 40px); box-shadow: 0 40px 80px rgba(0, 0, 0, .25); }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--body); }
.field input, .field select, .field textarea { padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); color: var(--ink); font-size: 16px; font-weight: 400; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; }
.field .err { color: #B4232C; font-weight: 500; font-size: 14px; }
[data-theme="dark"] .field .err { color: #FF8A8A; }
.field [aria-invalid="true"] { border-color: #B4232C; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--signal); color: var(--on-signal); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.done h3 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3vw, 40px); text-transform: uppercase; }
.form-title { font-family: var(--display); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 32px; }
.contact-grid a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--band-line); }
.contact-grid small { font-size: 14px; color: var(--band-muted); }
.contact-grid b { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.teams a { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 12px 0; min-height: 44px; border-top: 1px solid var(--band-line); }
.teams small { font-size: 15px; color: var(--band-muted); }
.teams b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--band-deep); color: var(--band-muted); overflow: hidden; }
.site-footer .wrap { padding-top: clamp(56px, 8vw, 80px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-top .slogan { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; color: var(--band-ink); text-transform: uppercase; max-width: 560px; }
.foot-nav { display: flex; gap: 8px 28px; flex-wrap: wrap; font-size: 15px; }
.foot-nav a, .foot-svc a { min-height: 32px; display: inline-flex; align-items: center; }
.foot-nav a:hover, .foot-svc a:hover { color: var(--band-ink); }
.foot-svc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 4px 24px; font-size: 15px; }
.outline-word { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 15.5vw, 300px); line-height: .8; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1.5px var(--band-stroke); text-transform: uppercase; white-space: nowrap; }
.foot-base { border-top: 1px solid var(--band-line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

.wa-float { position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 45; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; background: #0B1430; color: #fff; border-radius: 2px; font-weight: 600; font-size: 15px; box-shadow: 0 18px 40px rgba(7, 11, 24, .35); border: 1px solid rgba(255, 255, 255, .12); }
.wa-float:hover { background: #16214A; }
.wa-float i { width: 12px; height: 12px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }

/* Inner pages */
.page-head { background: #0B1430; color: #fff; }
.page-head .wrap { padding-top: clamp(120px, 14vw, 170px); padding-bottom: clamp(48px, 6vw, 72px); display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: .9; text-transform: uppercase; text-wrap: balance; }
.page-head p { font-size: 19px; line-height: 1.6; color: #C9CEDA; max-width: 62ch; }
.crumbs { font-size: 14px; color: #8C93A6; }
.crumbs a:hover { color: #fff; }
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.7; color: var(--body); }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--ink); margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; }
.notice { padding: 18px 20px; border-left: 3px solid var(--signal); background: var(--surface); font-size: 16px; line-height: 1.6; color: var(--body); }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }

/* Motion: one orchestrated hero moment, plus gentle reveals that run once. */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Tracking page (PRD 8.5) */
.trk { display: flex; flex-direction: column; gap: 28px; }
.trk-status { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.trk-stage { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; }
.trk-meta { margin-top: 8px; font-size: 16px; color: var(--muted); }
.trk-delay { margin-top: 6px; font-weight: 600; color: #B4232C; }
[data-theme="dark"] .trk-delay { color: #FF8A8A; }
.trk-bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.trk-bar span { display: block; height: 100%; background: var(--signal); transition: width 1s var(--ease); }
.trk-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .trk-grid { grid-template-columns: 1fr; } }
.trk-map { height: clamp(320px, 52vh, 560px); border-radius: 4px; border: 1px solid var(--line); background: var(--surface); z-index: 0; }
.trk-h { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.trk-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line-strong); }
.trk-timeline li { position: relative; padding: 0 0 20px 14px; display: flex; flex-direction: column; gap: 2px; }
.trk-timeline li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line-strong); }
.trk-timeline li:first-child::before { background: var(--signal); box-shadow: 0 0 0 5px rgba(232, 163, 61, .25); }
.trk-timeline b { font-size: 17px; }
.trk-timeline span, .trk-timeline time { font-size: 14px; color: var(--muted); }
.trk-timeline p { font-size: 15px; color: var(--body); margin-top: 2px; }
.trk-timeline li.is-new { animation: trkIn .6s var(--ease); }
@keyframes trkIn { from { opacity: 0; transform: translateY(-8px); } }
.trk-sub { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.trk-subform { display: flex; gap: 8px; flex-wrap: wrap; }
.trk-subform input { flex: 1; min-width: 200px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--bg); color: var(--ink); font-size: 16px; }
.trk-truck { width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 3px solid #0B1430; box-shadow: 0 0 0 4px rgba(232, 163, 61, .35); }

/* Website assistant (PRD 12.3): navy bubble, gold accent, stacked above the WhatsApp button. */
.gea-ai { position: fixed; right: clamp(14px, 3vw, 28px); bottom: calc(clamp(14px, 3vw, 28px) + 64px); z-index: 46; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-family: var(--text); }
.ai-bubble { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; background: #0B1430; color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-bottom: 3px solid var(--signal); border-radius: 2px; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 18px 40px rgba(7, 11, 24, .35); }
.ai-bubble:hover { background: #16214A; }
.ai-bubble:focus-visible, .gea-ai button:focus-visible, .gea-ai input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.ai-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(232, 163, 61, .25); }
.gea-ai [hidden], .gea-ai.is-open .ai-bubble { display: none !important; }
.ai-teaser { max-width: 300px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-left: 3px solid var(--signal); box-shadow: 0 18px 40px rgba(7, 11, 24, .25); animation: ai-in .35s var(--ease) both; }
.ai-teaser-text { display: block; width: 100%; text-align: left; padding: 14px 16px 8px; background: none; border: 0; color: inherit; font: 500 16px/1.45 var(--text); cursor: pointer; }
.ai-teaser-actions { display: flex; justify-content: space-between; padding: 0 8px 8px 16px; }
.ai-teaser-actions button { min-height: 32px; background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.ai-teaser-actions [data-ai-dismiss] { font-size: 22px; line-height: 1; padding: 0 8px; }
.ai-panel { width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 140px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(7, 11, 24, .35); animation: ai-in .3s var(--ease) both; }
.ai-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #0B1430; color: #fff; border-bottom: 3px solid var(--signal); }
.ai-head strong { display: block; font-size: 16px; }
.ai-head span { display: block; font-size: 13px; color: #C9CEDA; }
.ai-head button { width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
.ai-notice { margin: 0; padding: 8px 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); }
.ai-list { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.ai-msg { max-width: 86%; padding: 10px 12px; font-size: 15px; line-height: 1.5; border-radius: 2px; }
.ai-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-msg a { color: var(--accent); text-decoration: underline; }
.ai-assistant, .ai-staff { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); }
.ai-staff { border-left: 3px solid var(--signal); }
.ai-visitor { align-self: flex-end; background: #0B1430; color: #fff; }
.ai-system { align-self: center; max-width: 100%; font-size: 13px; color: var(--muted); text-align: center; }
.ai-who { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.ai-typing { color: var(--muted); font-style: italic; }
.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.ai-quick button { min-height: 36px; padding: 0 12px; background: none; border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; border-radius: 2px; cursor: pointer; }
.ai-quick button:hover { border-color: var(--signal); }
.ai-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ai-form input, .ai-lead input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 2px; font: 15px var(--text); }
.ai-send { min-height: 44px; padding: 0 16px; background: var(--signal); color: var(--on-signal); border: 0; border-radius: 2px; font-weight: 700; cursor: pointer; }
.ai-send:disabled { opacity: .6; }
.ai-lead { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--bg); border: 1px solid var(--line); }
@keyframes ai-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ai-teaser, .ai-panel { animation: none; } }
@media (max-width: 520px) { .gea-ai.is-open { right: 14px; left: 14px; } .ai-panel { width: 100%; } }

/* Customer portal */
.portal-narrow { max-width: 560px; display: flex; flex-direction: column; gap: 22px; }
.portal { display: flex; flex-direction: column; gap: 22px; }
.portal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; color: var(--body); }
.portal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.portal-actions a:not(.btn) { color: var(--accent); text-decoration: underline; }
.portal-check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--body); }
.portal-muted { color: var(--muted); font-size: 15px; }
.portal-muted a { color: var(--accent); text-decoration: underline; }
.portal-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.portal-tile { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--signal); display: flex; flex-direction: column; gap: 6px; }
.portal-tile span { font-size: 14px; color: var(--muted); }
.portal-tile strong { font-family: var(--display); font-size: 34px; color: var(--ink); }
.portal-h { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--ink); margin-top: 18px; }
.portal-card { display: grid; grid-template-columns: 2fr 1.4fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); }
.portal-card > div { display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.portal-card a:not(.btn) { color: var(--accent); text-decoration: underline; }
.portal-stage { font-weight: 700; }
.portal-table { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.portal-table table { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--ink); }
.portal-table th, .portal-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.portal-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.portal-table a { color: var(--accent); text-decoration: underline; }
@media (max-width: 700px) { .portal-card { grid-template-columns: 1fr; } }
