/* Global Goods Trade — site stylesheet
   Palette from the logo: navy #12395F, teal #1F7C8C. Cool white shell, dark navy scenes.
   Type: Archivo variable (self-hosted), moved along its width axis for display. */

@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-latin-var-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --navy: #12395F; --navy-deep: #0B2A47; --ink: #0B1620; --ink-2: #3F5062; --ink-3: #6B7A8A;
  --teal: #1F7C8C; --teal-ink: #186674; --teal-light: #6CC1CF; --teal-band: #DDEFF2;
  --mist: #F3F7F7; --white: #FFFFFF; --rule: #D5DFE5; --rule-dark: rgba(255,255,255,0.14);
  --black: #070B10;
  --wrap: 1360px; --gutter: clamp(18px, 4vw, 56px);
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --amber: #E8A44A;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; font-variant-numeric: tabular-nums; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--teal-band); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- type ---------- */
.display, .h1, .h2 { font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.92; text-wrap: balance; }
.h1 { font-size: clamp(2.4rem, 6.2vw, 5.8rem); }
.h2 { font-size: clamp(2rem, 4.8vw, 4.2rem); }
.h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1; letter-spacing: -0.01em; }
.label { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.28rem); line-height: 1.5; max-width: 52ch; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.grey { color: var(--ink-3); }
.teal { color: var(--teal); }
.dark .lede, .dark .muted { color: rgba(255,255,255,0.72); }
.dark { background: var(--ink); color: #fff; }
.mist { background: var(--mist); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(11,22,32,0.28); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .on-dark .btn-ghost, .dark-copy .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.dark .btn-ghost:hover, .on-dark .btn-ghost:hover, .dark-copy .btn-ghost:hover { border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.ic { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- ticker + header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; background: transparent; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--teal-light); transform-origin: 0 50%; transform: scaleX(0); }

.ticker { position: fixed; top: 0; left: 0; right: 0; z-index: 205; height: 30px; background: var(--black); color: rgba(255,255,255,0.78); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ticker__track { display: flex; gap: 0; white-space: nowrap; animation: ticker 70s linear infinite; }
.ticker__track span { padding: 0 22px; position: relative; }
.ticker__track span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); transform: translateY(-50%); }
@keyframes ticker { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

.site-header { position: fixed; top: 30px; left: 0; right: 0; z-index: 200; height: var(--header-h); display: flex; align-items: center; transition: background 0.35s, box-shadow 0.35s, color 0.35s; color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header[data-on="dark"] { color: #fff; }
.site-header.is-scrolled[data-on="light"] { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(11,22,32,0.08); }
.site-header.is-scrolled[data-on="dark"] { background: rgba(7,11,16,0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.brand { display: inline-flex; align-items: center; height: 44px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand .logo-light { display: block; } .brand .logo-dark { display: none; }
.site-header[data-on="dark"] .brand .logo-light { display: none; }
.site-header[data-on="dark"] .brand .logo-dark { display: block; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav a { text-decoration: none; font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.82; padding: 8px 0; border-bottom: 2px solid transparent; transition: opacity 0.2s, border-color 0.2s; }
.site-nav a:hover { opacity: 1; border-color: var(--teal-light); }
.site-nav .nav-cta { margin-left: 8px; }
.site-header .btn { padding: 11px 18px; font-size: 0.72rem; }
.site-header[data-on="dark"] .btn-navy { background: #fff; color: var(--navy); border-color: #fff; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 14px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.nav-toggle .ic-close { display: none; }
body.nav-open .nav-toggle .ic-open { display: none; }
body.nav-open .nav-toggle .ic-close { display: block; }

/* ---------- scenes (scroll-scrubbed) ---------- */
.scene { position: relative; z-index: 2; height: calc((var(--len, 2) + 1) * 100vh); }
.scene--follow { margin-top: -130vh; z-index: 1; }
.scene--covered { height: calc((var(--len, 2) + 2) * 100vh); }
.section--cover { position: relative; z-index: 3; margin-top: -100vh; background: var(--white); box-shadow: 0 -30px 60px -40px rgba(11,22,32,0.35); }
.section--cover.mist { background: var(--mist); }
.section--cover.quote { background: var(--navy-deep); }
.scene__pin { will-change: opacity; }
.scene__copy.top { top: calc(30px + var(--header-h) + 36px); transform: translateY(var(--fx)); }
.scene__copy .h1 { font-size: clamp(2.1rem, 4.4vw, 4.4rem); }
.scene__copy.panel { background: rgba(255,255,255,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 26px 28px 28px; border-radius: 6px; box-shadow: 0 20px 60px -30px rgba(11,22,32,0.35); }
.scene__copy.panel .h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.scene__copy.panel .lede { font-size: 1.02rem; }
.scene__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--scene-bg, var(--ink)); }
.scene__still, .scene__video, .scene__globe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center 50%); }
.scene__globe { z-index: 1; pointer-events: none; }
.scene__still { transform-origin: 50% 50%; will-change: transform, opacity; transition: opacity 0.45s var(--ease); }
.scene.has-clip .scene__still, .scene.has-globe .scene__still { opacity: 0; }
.scene__video { z-index: 1; }
.scene__layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
[data-in] { --fx: 0px; }
.scene__copy { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%) translateY(var(--fx)); width: min(760px, 100% - 2 * var(--gutter)); pointer-events: none; will-change: opacity, transform; }
.scene__copy.right { left: auto; right: var(--gutter); }
.scene__copy.bottom { top: auto; bottom: clamp(56px, 12vh, 120px); transform: translateY(var(--fx)); }
.scene__copy .btn { pointer-events: auto; }
.scene__copy .h1, .scene__copy .h2 { margin-top: 18px; }
.scene__copy .lede { margin-top: 22px; }
.scene__copy .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scene.dark-copy .scene__copy { color: #fff; }
.scene.dark-copy .lede { color: rgba(255,255,255,0.78); }
.scene.dark-copy .label { color: var(--teal-light); }
.scene.light-copy .label { color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1.5px solid currentColor; opacity: 0.85; }
.scene__scrim { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.scrim-left { background: linear-gradient(90deg, rgba(7,11,16,0.72) 0%, rgba(7,11,16,0.35) 45%, transparent 75%); }
.scrim-bottom { background: linear-gradient(0deg, rgba(7,11,16,0.75) 0%, rgba(7,11,16,0.2) 40%, transparent 70%); }
.scrim-light-left { background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.55) 40%, transparent 72%); }
.curtain { position: absolute; inset: 0; z-index: 6; background: var(--navy); pointer-events: none; will-change: transform; transform: translate3d(0, 100%, 0); }
.curtain::before { content: ""; position: absolute; left: 0; right: 0; height: 18vh; background: linear-gradient(0deg, var(--navy), transparent); top: -18vh; }
.curtain[data-curtain="head"] { transform: translate3d(0, 0, 0); }
.curtain[data-curtain="head"]::before { top: auto; bottom: -18vh; background: linear-gradient(180deg, var(--navy), transparent); }
.curtain.fade { transform: none !important; opacity: 0; }
.curtain.fade::before { display: none; }
.curtain.white { background: #fff; } .curtain.mist { background: var(--mist); } .curtain.deep { background: var(--navy-deep); }
.curtain.teal { background: var(--teal); }
.curtain.teal::before { background: linear-gradient(0deg, var(--teal), transparent); }
.curtain.teal[data-curtain="head"]::before { background: linear-gradient(180deg, var(--teal), transparent); }
.hint { position: absolute; left: 50%; bottom: 26px; z-index: 4; transform: translateX(-50%) translateY(var(--fx)); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); pointer-events: none; }
.hint i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid rgba(255,255,255,0.4); position: relative; }
.hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; border-radius: 2px; background: var(--teal-light); transform: translateX(-50%); animation: wheel 1.7s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 17px; } }
.scene__num { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 30px + 18px); z-index: 4; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; font-weight: 500; opacity: 0.7; pointer-events: none; }
.corner { position: absolute; z-index: 4; width: min(300px, 40vw); color: #fff; pointer-events: none; transform: translateY(var(--fx)); }
.corner .h3 { font-size: 1rem; }
.corner p { margin-top: 10px; font-size: 0.92rem; line-height: 1.45; color: rgba(255,255,255,0.78); }
.corner .ic { color: var(--teal-light); margin-bottom: 12px; width: 1.6em; height: 1.6em; }
.corner.tl { left: var(--gutter); top: 22vh; } .corner.tr { right: var(--gutter); top: 22vh; text-align: right; }
.corner.bl { left: var(--gutter); bottom: 14vh; } .corner.br { right: var(--gutter); bottom: 14vh; text-align: right; }
.corner.tr .ic, .corner.br .ic { margin-left: auto; }
.centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(var(--fx)); z-index: 4; text-align: center; width: min(900px, 100% - 2 * var(--gutter)); color: #fff; pointer-events: none; }
.centre .h1 { text-shadow: 0 6px 40px rgba(0,0,0,0.45); }

/* ---------- services band (white top with truck, black bottom with cards) ---------- */
.services-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #fff; }
.svc-stage { position: absolute; inset: 0; transform: translate3d(0, calc(clamp(0, (var(--p, 0) - 0.06) / 0.24, 1) * var(--svc-shift, -24vh)), 0); will-change: transform; }
.services-pin .scene__still, .services-pin .scene__video { object-position: center 50%; }
.services-pin .band { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(290px, 44%, 480px); background: var(--black); color: #fff; z-index: 3; transform: translate3d(0, calc((1 - clamp(0, (var(--p, 0) - 0.06) / 0.24, 1)) * 100%), 0); will-change: transform; }
.services-pin .band::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--black); }
.services-pin .ghost { position: absolute; left: 0; right: 0; top: 4%; z-index: 2; font-size: clamp(6rem, 22vw, 20rem); font-weight: 800; font-stretch: 125%; text-transform: uppercase; color: rgba(11,22,32,0.045); line-height: 1; white-space: nowrap; pointer-events: none; letter-spacing: -0.02em; will-change: transform; }
.services-pin .band-inner { position: absolute; inset: 0; display: flex; align-items: center; }
.svc-head { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(-50%) translateY(var(--fx)); z-index: 4; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.svc-head .h2 { color: #fff; }
.svc-head .h2 .dim { color: rgba(255,255,255,0.38); }
.svc-head .body { color: rgba(255,255,255,0.72); font-size: 0.98rem; max-width: 46ch; }
.svc-head .body p + p { margin-top: 12px; }
.svc-cards { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%) translateY(var(--fx)); z-index: 5; }
.svc-track { display: flex; gap: 0; padding: 0 var(--gutter); will-change: transform; }
.svc-card { flex: 0 0 clamp(280px, 26vw, 380px); padding: 0 clamp(20px, 2.4vw, 40px); border-left: 1px solid rgba(255,255,255,0.14); }
.svc-card .ic { color: var(--teal-light); width: 2rem; height: 2rem; }
.svc-card .h3 { color: #fff; margin-top: 20px; font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
.svc-card p { color: rgba(255,255,255,0.66); font-size: 0.92rem; line-height: 1.5; margin-top: 12px; }
.svc-cta { position: absolute; right: var(--gutter); top: 26px; z-index: 6; }

/* ---------- generic sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; scroll-margin-top: calc(var(--header-h) + 30px); }
.scene { scroll-margin-top: 0; }
.section-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .label { color: var(--teal); }
.section-head .h2 { margin-top: 16px; }
.section-head .lede { justify-self: end; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.dim { color: var(--ink-3); }
.dark .dim { color: rgba(255,255,255,0.38); }

/* about */
.about .about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.about .h2 { font-size: clamp(2.2rem, 5.6vw, 5rem); }
.about .copy p { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.about .copy p + p { margin-top: 16px; }
.about .copy .btn { margin-top: 28px; }
.facts-kick { margin-top: clamp(48px, 6vw, 96px); font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); }
.facts { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.facts li { padding: 30px 24px 30px 0; border-right: 1px solid var(--rule); }
.facts li:last-child { border-right: 0; }
.facts li + li { padding-left: 24px; }
.facts strong { display: block; font-weight: 800; font-stretch: 120%; font-size: clamp(2.8rem, 4.8vw, 4.6rem); line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 14px; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* process (pinned strip in the middle) */
.process { background: #fff; }
.process-grid { display: grid; grid-template-columns: 1fr 260px 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.process-left { position: sticky; top: calc(var(--header-h) + 40px); }
.process-left .h2 { margin-top: 16px; }
.process-left .lede { margin-top: 20px; }
.process-left .label { color: var(--teal); }
.strip { position: sticky; top: calc(var(--header-h) + 30px); height: calc(100vh - var(--header-h) - 60px); border-radius: 6px; overflow: hidden; background: var(--mist); }
.strip .scene__still, .strip .scene__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.strip.has-clip .scene__still { opacity: 0; transition: opacity 0.45s var(--ease); }
.strip::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(11,22,32,0.08); border-radius: 6px; pointer-events: none; }
.steps { padding-top: 6vh; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 34px 0; border-top: 1px solid var(--rule); min-height: 34vh; transition: opacity 0.4s; opacity: 0.45; }
.steps li.is-current { opacity: 1; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps .num { font-family: var(--mono); font-weight: 600; font-size: 1.3rem; color: var(--teal); line-height: 1; padding-top: 6px; }
.steps .h3 { font-size: 1.35rem; }
.steps p { margin-top: 12px; color: var(--ink-2); line-height: 1.55; }

/* products */
.products .section-head { align-items: end; }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod { position: relative; display: block; text-decoration: none; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); color: #fff; }
.prod img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prod:hover img { transform: scale(1.06); }
.prod::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,11,16,0.8) 0%, rgba(7,11,16,0.1) 55%, transparent 100%); }
.prod .cap { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.prod .cap .h3 { font-size: 1.15rem; }
.prod .cap span { display: block; margin-top: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.prod-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(36px, 5vw, 72px); }
.prod-hero img { border-radius: 6px; width: 100%; height: auto; aspect-ratio: 16 / 11; max-height: 520px; object-fit: cover; }
.prod-hero .h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.prod-hero p { margin-top: 16px; color: var(--ink-2); }
.prod-hero .btn { margin-top: 24px; }

/* documents + ports */
.docs-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 96px); }
.doc-stamps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.doc-stamps li { padding: 10px 16px; border: 2px solid var(--navy); border-radius: 4px; box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2px var(--navy); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); transform: rotate(var(--rot, 0deg)); background: #fff; }
.ports { margin-top: 28px; }
.ports li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--rule); }
.ports li:last-child { border-bottom: 1px solid var(--rule); }
.ports .ic { color: var(--navy); width: 1.5em; height: 1.5em; }
.ports strong { display: block; font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 0.98rem; }
.ports span { font-size: 0.9rem; color: var(--ink-2); }
.ports em { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.regions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.regions li { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: var(--teal-band); color: var(--teal-ink); }

/* faq */
.faq { max-width: 900px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--teal); transition: transform 0.3s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; }

/* quote / contact */
.quote { background: var(--navy-deep); color: #fff; }
.quote-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 96px); align-items: start; }
.quote .label { color: var(--teal-light); }
.quote .h2 { margin-top: 16px; }
.quote .lede { margin-top: 20px; color: rgba(255,255,255,0.75); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 36px; }
.field { display: grid; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.22); color: #fff; padding: 13px 14px; border-radius: 4px; font: inherit; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field small { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.field-error { display: none; font-size: 0.82rem; color: #FFB4B4; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #FF8A8A; }
.field.is-invalid .field-error { display: block; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions p { font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.form-actions a { color: #fff; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.office { border: 1px solid rgba(255,255,255,0.16); border-radius: 6px; padding: 28px; background: rgba(255,255,255,0.04); }
.office .h3 { font-size: 1.2rem; }
.office address { font-style: normal; margin-top: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.office-list { margin-top: 20px; }
.office-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.office-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.office-list .ic { color: var(--teal-light); }
.office-list a { color: #fff; text-decoration: none; }
.office-list a:hover { text-decoration: underline; }
.office .btn { margin-top: 22px; width: 100%; justify-content: center; }
.office .map { margin-top: 22px; border-radius: 4px; overflow: hidden; }
.office .map img { width: 100%; height: 180px; object-fit: cover; }
.office .map small { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* footer */
.footer { background: var(--black); color: rgba(255,255,255,0.8); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footer .brand img { height: 40px; }
.footer-line { margin-top: 16px; font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.68); }
.footer-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-light); }
.footer-list { margin-top: 16px; }
.footer-list li { padding: 7px 0; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.footer-list a { color: #fff; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-list .ic { color: var(--teal-light); }
.footer-base { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }
.footer-base a { color: rgba(255,255,255,0.75); text-decoration: none; }
/* footer credits (licence conditions for surgical.jpg and the OpenStreetMap tile): same mono rule as .footer-base */
.footer-base .legal { flex-basis: 100%; }
.footer-base .legal summary { list-style: none; cursor: pointer; display: inline-block; color: rgba(255,255,255,0.75); }
.footer-base .legal summary::-webkit-details-marker { display: none; }
.footer-base .legal summary::before { content: "+"; display: inline-block; width: 1.2em; }
.footer-base .legal[open] summary::before { content: "\2212"; }
.footer-base .legal p { margin: 10px 0 0; max-width: 72ch; line-height: 1.7; }
.footer-big { margin-top: clamp(40px, 6vw, 80px); height: clamp(64px, 8.6vw, 176px); font-size: clamp(2.4rem, 7.2vw, 7.6rem); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1; letter-spacing: -0.02em; color: rgba(255,255,255,0.08); white-space: nowrap; overflow: hidden; position: relative; cursor: crosshair; user-select: none; }
.footer-big canvas { display: block; }

/* reveal */
[data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal], html:not(.js) [data-in] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(2n) { border-right: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .facts li { padding-left: 0 !important; padding-right: 24px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 200px 1fr; }
}
@media (max-width: 900px) {
  .site-nav { display: none; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 30px); top: var(--header-h); background: var(--navy-deep); color: #fff; padding: 12px var(--gutter) 24px; z-index: 199; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
  body.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid rgba(255,255,255,0.1); }
  .site-nav a { display: block; padding: 14px 0; font-size: 0.9rem; }
  .site-nav .nav-cta { margin: 16px 0 0; display: inline-flex; }
  .nav-toggle { display: inline-flex; }
  .section-head, .two-col, .about .about-grid, .docs-grid, .quote-grid, .prod-hero { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .process-grid { grid-template-columns: 1fr; }
  .process-left { position: static; }
  .strip { height: 46vh; top: var(--header-h); z-index: 2; }
  .steps li { min-height: 0; opacity: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-head { grid-template-columns: 1fr; }
  .svc-head .body { display: none; }
  .services-pin .band { height: clamp(300px, 54%, 520px); }
  .services-pin .scene__still, .services-pin .scene__video { object-position: 58% 50%; }
  .svc-card { flex-basis: 78vw; }
  .svc-cta { display: none; }
  .corner { width: min(280px, 44vw); }
  .corner.tl, .corner.tr { top: 16vh; } .corner.bl, .corner.br { bottom: 10vh; }
  .corner p { display: none; }
  .scene__num { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ticker { font-size: 0.6rem; }
  .brand img { height: 34px; }
  .scene__copy { width: auto; top: auto; bottom: calc(clamp(56px, 12dvh, 110px) + env(safe-area-inset-bottom)); transform: translateY(var(--fx)); }
  .scene__copy.right { left: var(--gutter); text-align: left; }
  .scene__copy .actions .btn { width: 100%; justify-content: center; }
  .centre .h1 { font-size: clamp(2rem, 9.5vw, 3rem); }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod .cap .h3 { font-size: 0.95rem; }
  .facts { grid-template-columns: 1fr; }
  .facts li { border-right: 0; padding-right: 0; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .corner { width: 44vw; }
  .corner .h3 { font-size: 0.82rem; }
  .svc-card { flex-basis: 84vw; }
  .hint { display: none; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Short windows (laptops at 125% scaling, small browser chrome): keep the band compact so the truck stays in view. */
@media (max-height: 780px) and (min-width: 901px) {
  .svc-head .body { display: none; }
  .svc-head .h2 { font-size: clamp(1.5rem, 4.8vh, 3rem); }
  .svc-card p { font-size: 0.85rem; }
  .svc-card .h3 { margin-top: 12px; }
  .services-pin .ghost { top: 12%; }
}

/* ---------- intro loader ---------- */
body.is-loading { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 500; background: #04070c; color: #fff; display: flex; align-items: center; justify-content: center; transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s linear 1s; will-change: transform; }
.intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 60%, rgba(31,124,140,0.28), transparent 70%), radial-gradient(40% 30% at 80% 10%, rgba(108,193,207,0.12), transparent 70%); }
.intro.is-done { transform: translate3d(0, -100%, 0); visibility: hidden; }
.intro__inner { position: relative; text-align: center; padding: 0 var(--gutter); width: min(720px, 100%); }
.intro__logo { height: 44px; width: auto; margin: 0 auto 5vh; opacity: 0.95; }
.intro__row { display: flex; align-items: baseline; justify-content: center; gap: 18px; }
.intro__idx { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--teal-light); }
.intro__dest { font-weight: 800; font-stretch: 120%; font-size: clamp(2.4rem, 8vw, 4.8rem); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; min-height: 1.1em; transition: opacity 0.35s var(--ease); }
.intro__bar { margin: 30px auto 0; width: min(340px, 64%); height: 2px; background: rgba(255,255,255,0.12); overflow: hidden; }
.intro__bar span { display: block; height: 100%; width: 100%; background: var(--teal-light); transform: scaleX(0); transform-origin: 0 50%; }
.intro__meta { margin: 14px auto 0; width: min(340px, 64%); display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
html:not(.js) .intro { display: none; }
@media (prefers-reduced-motion: reduce) { .intro { transition: none; } }

/* ---------- routes marquee ---------- */
.routes-band { overflow: hidden; margin-top: clamp(48px, 6vw, 88px); padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.routes-track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; animation: ticker 46s linear infinite; }
.routes-track span { font-weight: 800; font-stretch: 122%; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(18,57,95,0.34); }
.routes-track i { font-style: normal; font-family: var(--mono); color: var(--teal); font-size: clamp(0.9rem, 1.4vw, 1.15rem); }
@media (prefers-reduced-motion: reduce) { .routes-track { animation: none; } }

/* ---------- custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor, html.custom-cursor * { cursor: none !important; }
  .cursor-dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--teal-light); z-index: 1200; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
  .cursor-ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid #fff; mix-blend-mode: difference; z-index: 1190; pointer-events: none; opacity: 0; transition: opacity 0.3s; will-change: transform; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
