/* =========================================================
   Stratex Logistics — v2
   ========================================================= */
:root {
  --night: #04152B;
  --deep: #071E3A;
  --harbour: #0B2A50;
  --harbour-2: #123766;
  --line-dark: rgba(140, 200, 255, 0.12);
  --ice: #EEF3F9;
  --ice-2: #DAE3EF;
  --white: #FFFFFF;
  --ink: #021F3D;
  --slate: #4E6480;
  --mist: #9DB3CC;
  --reefer: #0070CC;
  --brand: #0078D8;
  --reefer-deep: #005FB3;
  --frost: #8CC8FF;
  --amber: #E5A43A;
  --danger: #D1453B;

  --sans: "Geist", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --r-sm: 6px;
  --r: 14px;
  --r-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--reefer); color: var(--white); }
:focus-visible { outline: 2px solid var(--reefer); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 16px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); }
h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.statement { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500;
  color: var(--reefer-deep); margin-bottom: 1.5rem;
}
.tag::before { content: ""; width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.tag-light { color: var(--frost); }
.list-head { font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; color: var(--slate); margin: 2.5rem 0 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 600 0.9844rem/1 var(--sans); letter-spacing: -0.005em;
  color: var(--fg); background: var(--bg);
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { --bg: var(--reefer); --fg: var(--white); }
.btn-accent:hover { --bg: var(--reefer-deep); box-shadow: 0 10px 30px -10px rgba(0, 112, 204, .7); }
.btn-glass { --bg: rgba(255,255,255,.08); --fg: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { --bg: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9063rem; }
.btn-lg { min-height: 58px; padding: 0 30px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.arrow { position: relative; width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.arrow::before { content: ""; position: absolute; left: 0; right: 2px; top: 50%; height: 1.75px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1.75px solid currentColor; border-right: 1.75px solid currentColor; transform: translateY(-50%) rotate(45deg); }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--white);
  padding-top: env(safe-area-inset-top);
}
/* Background + blur sit on a pseudo-element: backdrop-filter on .header itself would
   make it the containing block for the fixed mobile menu and squash the menu into the bar */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.header.scrolled::before {
  background: rgba(4,21,43, .94);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom-color: rgba(255,255,255,.08);
}
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .5s var(--ease); }
.header.scrolled .header-inner { height: 68px; }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
/* Logo: stacked mark + wordmark, light version for the dark header and footer */
.brand-logo { display: block; width: auto; height: 60px; transition: height .5s var(--ease); }
.header.scrolled .brand-logo { height: 48px; }
.brand-logo-full { display: block; width: 240px; height: auto; }
.brand-text { font-size: 1.1875rem; letter-spacing: -0.02em; font-weight: 400; opacity: .92; }
.brand-text strong { font-weight: 700; opacity: 1; }

.nav { display: flex; align-items: center; gap: 36px; position: relative; }
.nav-list { display: flex; gap: 32px; }
.nav-list a { position: relative; display: block; padding: 8px 0; font-size: 0.9375rem; font-weight: 500; text-decoration: none; opacity: .78; transition: opacity .3s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; }
.nav-indicator {
  position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; border-radius: 2px;
  background: var(--reefer); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s var(--ease);
}
.menu-btn { z-index: 1; flex: none; display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 50%; width: 18px; height: 1.75px; margin-left: -9px; background: currentColor; content: ""; transition: transform .4s var(--ease), opacity .3s; }
.menu-lines { top: 50%; }
.menu-lines::before { left: 0; margin-left: 0; top: -6px; }
.menu-lines::after { left: 0; margin-left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--night); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.85) contrast(1.05); }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,21,43, .92) 0%, rgba(4,21,43, .72) 38%, rgba(4,21,43, .15) 70%, rgba(4,21,43, .35) 100%),
    linear-gradient(0deg, rgba(4,21,43, .95) 0%, rgba(4,21,43, 0) 45%),
    linear-gradient(180deg, rgba(4,21,43, .6) 0%, rgba(4,21,43, 0) 22%);
}
.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-route-path { fill: none; stroke: var(--reefer); stroke-width: 1.5; stroke-dasharray: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.hero-route-dot { fill: var(--frost); opacity: 0; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 48px; align-items: end; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 104px); }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-eyebrow span {
  font-family: var(--mono); font-size: 0.8125rem; letter-spacing: .02em;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-title { font-size: clamp(3rem, 7.4vw, 7rem); font-weight: 600; letter-spacing: -0.045em; line-height: .98; max-width: 12ch; margin-bottom: 32px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; will-change: transform; }
.hero-lede { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.55; color: rgba(255,255,255,.8); max-width: 52ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.manifest {
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  background: rgba(4,21,43, .45); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  padding: 8px; margin-bottom: 6px;
}
.manifest-head { display: flex; justify-content: space-between; padding: 12px 14px 10px; font-size: 0.8125rem; color: var(--mist); font-family: var(--mono); }
.manifest-list li + li { border-top: 1px solid rgba(255,255,255,.08); }
.manifest-list a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
  padding: 14px; border-radius: 12px; text-decoration: none;
  transition: background-color .35s var(--ease);
}
.manifest-list a:hover { background: rgba(255,255,255,.07); }
.m-name { font-weight: 600; font-size: 1.0625rem; display: flex; align-items: baseline; gap: 8px; }
.m-name small { font-weight: 400; font-size: 0.8125rem; color: var(--mist); }
.m-coord { grid-column: 1; font-size: 0.75rem; color: var(--mist); }
.manifest .pill { grid-row: 1 / span 2; grid-column: 2; }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.pill-dev { background: rgba(229, 164, 58, .16); color: #F5C77A; }
.pill-dev::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(229,164,58,.25); }
.pill-planned { background: rgba(140,200,255, .12); color: var(--frost); }
.pill-planned::before { border: 1.5px solid var(--frost); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; font-size: 0.6875rem; color: var(--mist); }
.scroll-line { width: 1px; height: 36px; background: linear-gradient(var(--frost), transparent); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--white); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Image frames ---------- */
.img-frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--harbour); isolation: isolate; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(.8) contrast(1.04); }
.img-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,21,43, 0) 55%, rgba(4,21,43, .45)); pointer-events: none; }
.img-frame:hover img { transform: scale(1.03); }
.img-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font-size: 0.75rem; color: var(--white);
  background: rgba(4,21,43, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.blink { width: 6px; height: 6px; border-radius: 50%; background: var(--reefer); box-shadow: 0 0 0 3px rgba(0,112,204, .3); }

/* ---------- Intro ---------- */
.intro { padding: var(--section) 0; background: var(--ice); }
.intro-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.scrub { font-size: clamp(1.75rem, 3.3vw, 3rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 2rem; color: var(--ink); }
.scrub .sw { transition: color .25s linear; }
.motion .scrub .sw { color: rgba(2,31,61, .18); }
.motion .scrub .sw.on { color: var(--ink); }
.intro-sub { font-size: 1.125rem; color: var(--slate); max-width: 52ch; margin: 0; }
.intro-figure { aspect-ratio: 4 / 5; }

/* ---------- Stats ---------- */
.stats { background: var(--ice); padding: 0 0 var(--section); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ice-2); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--ice-2); }
.stat-num { display: flex; align-items: baseline; margin: 0 0 10px; font-size: clamp(2.5rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; }
.stat-num .sfx { color: var(--reefer-deep); }
.stat-label { margin: 0; font-family: var(--mono); font-size: 0.8125rem; color: var(--slate); }
/* Rolling digits: each digit is a 0-9 strip clipped to one line and slid into place */
.stat-num { --row: 1.15em; }
.reel { display: inline-block; height: var(--row); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.reel-strip { display: flex; flex-direction: column; transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.reel-strip span { height: var(--row); line-height: var(--row); }

/* ---------- Platform panels ---------- */
.platform { background: var(--night); color: var(--white); padding: var(--section) 0; position: relative; overflow: hidden; }
.platform::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 65%);
}
.platform-head { position: relative; display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.platform-head h2 { max-width: 16ch; }
.platform-intro { color: var(--mist); font-size: 1.125rem; margin: 0; }

.panels { position: relative; display: flex; gap: 14px; height: clamp(460px, 62vh, 620px); }
.panel {
  position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: var(--r-lg);
  text-decoration: none; color: var(--white); background: var(--harbour);
  border: 1px solid rgba(255,255,255,.08);
  transition: flex-grow .8s var(--ease), border-color .5s var(--ease);
}
.panel.is-active { flex-grow: 2.3; border-color: rgba(0,112,204, .5); }
.panel-media { position: absolute; inset: 0; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(.7) brightness(.8); transition: transform 1.1s var(--ease), filter .8s var(--ease); }
.panel.is-active .panel-media img { transform: scale(1); filter: saturate(.9) brightness(.95); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,21,43, .25) 0%, rgba(4,21,43, .1) 35%, rgba(4,21,43, .92) 100%); pointer-events: none; }
.panel-body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: clamp(22px, 2.6vw, 36px); }
.panel-body .panel-index { position: static; display: inline-block; font-size: 0.8125rem; color: var(--frost); margin-bottom: 14px; }
.panel h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 0; }
.panel p { margin-top: 12px; }
.panel-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.panel-more > div { overflow: hidden; min-width: 0; }
.panel.is-active .panel-more { grid-template-rows: 1fr; }
.panel p, .panel-link { max-width: 36ch; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.panel h3 { white-space: nowrap; }
.panel p { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.panel-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; color: var(--frost); }
.panel.is-active p, .panel.is-active .panel-link { opacity: 1; transform: none; transition-delay: .2s; }
.platform-tagline { position: relative; margin: clamp(40px, 5vw, 64px) 0 0; font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; color: var(--frost); }

/* ---------- Cold chain ---------- */
.cold { padding: var(--section) 0; background: var(--white); }
.cold-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.cold-media { position: sticky; top: 110px; }
.cold-figure { aspect-ratio: 4 / 5; }
.cold-figure img { height: 116%; margin-top: -8%; }
.temp-card {
  position: absolute; right: -24px; bottom: 40px; width: min(280px, 70%);
  padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -20px rgba(4,21,43, .35); border: 1px solid var(--ice-2);
}
.temp-card .mono { font-size: 0.75rem; color: var(--slate); }
.temp-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 12px; }
.temp-bars i { flex: 1; border-radius: 3px; background: linear-gradient(var(--reefer), var(--frost)); height: 55%; }
.temp-bars i:nth-child(3n) { height: 62%; } .temp-bars i:nth-child(4n) { height: 50%; } .temp-bars i:nth-child(5n) { height: 58%; }
.cold-content h2 { margin-bottom: 1.75rem; max-width: 14ch; }
.cold-content > p { max-width: 58ch; color: #2F4660; }
.cold-content .statement { color: var(--ink); margin-bottom: 1.25rem; }

.accordion { border-top: 1px solid var(--ice-2); }
.acc-item { border-bottom: 1px solid var(--ice-2); }
.acc-item h4 { font: inherit; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.015em;
  transition: color .3s var(--ease), padding .4s var(--ease);
}
.acc-btn:hover { color: var(--reefer-deep); padding-left: 6px; }
.acc-icon { position: relative; width: 30px; height: 30px; flex: none; border: 1px solid var(--ice-2); border-radius: 50%; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.75px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--ink); border-color: var(--ink); color: var(--white); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 48px 24px 0; color: var(--slate); }

/* ---------- Matters ---------- */
.matters { background: var(--ice); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.matters-title { font-family: var(--mono); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--reefer-deep); margin-bottom: 28px; }
.matters-words { display: flex; flex-wrap: wrap; gap: 0 .28em; font-size: clamp(2.75rem, 7.4vw, 7.5rem); }
.matters-words li { overflow: hidden; padding-bottom: .06em; line-height: 1.02; }
.matters-words span { display: inline-block; font-size: 1em; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.matters-words li:nth-child(even) span { color: var(--reefer-deep); }

/* ---------- Network ---------- */
.network { position: relative; background: var(--night); color: var(--white); padding: var(--section) 0; overflow: hidden; }
.network-grid-bg {
  position: absolute; inset: 0; opacity: .6;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 70%);
}
.network-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.network-copy h2 { margin-bottom: 1.5rem; max-width: 14ch; }
.network-copy > p { color: var(--mist); max-width: 54ch; }

.sites { margin-top: 40px; }
.site-tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; max-width: 100%; overflow-x: auto; }
.site-tabs button {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem; color: var(--mist); white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.site-tabs button:hover { color: var(--white); }
.site-tabs button[aria-selected="true"] { background: var(--white); color: var(--night); }
.site-panel { padding: 28px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(18,55,102, .75), rgba(7,30,58, .75)); border: 1px solid rgba(255,255,255,.1); min-height: 330px; }
.site-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.site-head h3 { font-size: 1.75rem; letter-spacing: -0.03em; }
.site-head h3 span { font-weight: 400; color: var(--mist); font-size: 1.125rem; margin-left: 6px; letter-spacing: 0; }
.site-coord { margin: 6px 0 0; font-size: 0.8125rem; color: var(--frost); }
.site-type { font-family: var(--mono); font-size: 0.8125rem; color: var(--frost); margin-bottom: 10px; }
.site-panel > p:not(.site-type) { color: rgba(255,255,255,.8); font-size: 1rem; }
.site-status { display: flex; gap: 12px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.875rem; }
.site-status dt { color: var(--mist); }
.site-status dd { margin: 0; font-weight: 600; }

.network-map { margin: 0; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.1); background: rgba(7,30,58, .6); padding: 14px 14px 0; }
.chart { width: 100%; height: auto; }
.chart .water { fill: #061A33; }
.chart .grid line { stroke: rgba(140,200,255, .12); stroke-width: 1; stroke-dasharray: 2 6; }
.chart .grid text { fill: var(--mist); font: 500 11px var(--mono); opacity: .8; }
.chart .land { fill: #0E2D57; }
.chart .coast { fill: none; stroke: var(--frost); stroke-width: 1.3; stroke-linejoin: round; opacity: .85; }
.chart .route-base { fill: none; stroke: rgba(0,112,204, .25); stroke-width: 2; stroke-dasharray: 4 6; }
.chart .route { fill: none; stroke: var(--reefer); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.chart .sea { fill: var(--mist); font: italic 400 15px var(--sans); letter-spacing: .06em; opacity: .7; }
.chart .site { cursor: pointer; }
.chart .site > * { transition: opacity .4s var(--ease); }
.chart .site .dot { stroke-width: 2.5; }
.chart .site.dev .dot { fill: var(--amber); stroke: #F5C77A; }
.chart .site.planned .dot { fill: var(--night); stroke: var(--frost); }
.chart .site .halo { fill: var(--reefer); opacity: 0; }
.chart .site.is-active .halo { opacity: .25; animation: halo 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.chart .site-name { fill: var(--white); font: 600 18px var(--sans); letter-spacing: -.01em; }
.chart .site-status { fill: var(--mist); font: 500 11px var(--mono); }
.chart .site:not(.is-active) > * { opacity: .5; }
@keyframes halo { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px 6px 16px; font-size: 0.8125rem; color: var(--mist); border-top: 1px solid rgba(255,255,255,.08); margin-top: 10px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-note { margin-left: auto; font-size: 0.75rem; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.key-dev { background: var(--amber); }
.key-planned { border: 2px solid var(--frost); }

/* ---------- Customs ---------- */
.customs { padding: var(--section) 0; background: var(--ice); }
.customs-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "content figure" "services figure"; gap: 0 clamp(40px, 7vw, 112px); }
.customs-content { grid-area: content; }
.customs-content h2 { margin-bottom: 1.5rem; max-width: 12ch; }
.customs-content > p { max-width: 56ch; color: #2F4660; }
.customs-content .statement { color: var(--ink); }
.customs-figure { grid-area: figure; align-self: stretch; min-height: 560px; }
.customs-figure img { position: absolute; inset: -8% 0; height: 116%; }
.clear-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r);
  background: rgba(4,21,43, .72); color: var(--white);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.12);
}
.clear-card strong { font-size: 1.375rem; letter-spacing: -0.02em; font-weight: 600; }
.clear-card span { color: rgba(255,255,255,.75); font-size: 0.9688rem; }
.customs-services { grid-area: services; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-grid li {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--ice-2); font-weight: 500; font-size: 0.9688rem; line-height: 1.35;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.service-grid li:hover { transform: translateY(-2px); border-color: rgba(0,112,204, .5); box-shadow: 0 14px 30px -18px rgba(4,21,43, .35); }
.service-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.check { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,112,204, .14); }
.check::after { content: ""; position: absolute; left: 8px; top: 6px; width: 6px; height: 10px; border-right: 2px solid var(--reefer-deep); border-bottom: 2px solid var(--reefer-deep); transform: rotate(45deg); }

/* ---------- Freight ---------- */
.freight { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: var(--section) 0; color: var(--white); overflow: hidden; isolation: isolate; background: var(--deep); }
.freight-media, .vision-media { position: absolute; inset: -12% 0; z-index: -2; }
.freight-media img, .vision-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.freight-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,21,43, .1) 0%, rgba(4,21,43, .35) 45%, rgba(4,21,43, .85) 100%); }
.freight-inner { display: flex; justify-content: flex-end; }
.freight-card {
  width: min(560px, 100%); padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: rgba(4,21,43, .62); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.freight-card h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); margin-bottom: 1.25rem; }
.freight-card > p { color: rgba(255,255,255,.8); font-size: 1rem; }
.freight-card .list-head { color: var(--frost); margin-top: 1.75rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 8px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.chip-list li:hover { background: rgba(0,112,204, .2); border-color: var(--reefer); }

/* ---------- Philosophy ---------- */
.philosophy { padding: var(--section) 0; background: var(--white); }
.philosophy-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.philosophy-head h2 { max-width: 11ch; }
.philosophy-head p { color: var(--slate); font-size: 1.125rem; max-width: 50ch; }
.philosophy-head p:last-child { margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle {
  position: relative; padding: 36px 32px 40px; border-radius: var(--r-lg); background: var(--ice); overflow: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.principle::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px; background: var(--reefer); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.principle:hover { background: var(--night); color: var(--white); transform: translateY(-4px); }
.principle:hover::before { transform: scaleX(1); }
.p-icon { width: 44px; height: 44px; color: var(--reefer-deep); margin-bottom: 56px; transition: color .5s var(--ease); }
.principle:hover .p-icon { color: var(--reefer); }
.principle h3 { font-size: 1.625rem; letter-spacing: -0.03em; margin-bottom: 12px; }
.principle p { color: var(--slate); margin: 0; transition: color .5s var(--ease); }
.principle:hover p { color: var(--mist); }

/* ---------- Vision ---------- */
.vision { position: relative; padding: calc(var(--section) * 1.2) 0; color: var(--white); overflow: hidden; isolation: isolate; background: var(--night); }
.vision-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,21,43, .92) 0%, rgba(4,21,43, .7) 45%, rgba(4,21,43, .94) 100%); }
.vision-inner h2 { max-width: 18ch; margin-bottom: clamp(32px, 4vw, 56px); }
.vision-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 5vw, 80px); max-width: 1000px; }
.vision-cols p { color: rgba(255,255,255,.78); }
.vision-quote { margin: clamp(56px, 8vw, 112px) 0 0; padding: 0; border-left: 2px solid var(--reefer); padding-left: clamp(20px, 3vw, 40px); }
.vision-quote p { font-size: clamp(1.875rem, 4vw, 3.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; margin: 0; max-width: 24ch; }
.vision-quote .sw { transition: color .3s linear; }
.motion .vision-quote .sw { color: rgba(255,255,255,.2); }
.motion .vision-quote .sw.on { color: var(--white); }

/* ---------- Brand band ---------- */
.brandband { background: var(--reefer); color: var(--white); padding: clamp(72px, 9vw, 128px) 0; overflow: hidden; }
.brandband-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.brand-line { font-size: clamp(2.75rem, 7vw, 6.5rem); letter-spacing: -0.05em; line-height: .95; max-width: 11ch; }
.brand-sub { font-weight: 600; font-size: 1.125rem; margin-bottom: 16px; }
.brand-values { margin-bottom: 16px; }
.brand-values li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.28); font-weight: 500; }
.brand-closing { margin: 0; font-size: 0.9375rem; color: var(--white); }

/* ---------- Contact ---------- */
.contact { background: var(--night); color: var(--white); padding: var(--section) 0; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-side h2 { margin-bottom: 1.5rem; max-width: 12ch; }
.contact-side > p { color: var(--mist); max-width: 44ch; font-size: 1.0625rem; }
.contact-route { width: min(400px, 100%); margin-top: 48px; }
.contact-route .cr-path { fill: none; stroke: var(--reefer); stroke-width: 1.5; stroke-dasharray: 1; }
.contact-route circle { fill: var(--night); stroke: var(--frost); stroke-width: 2; }
.contact-info { margin: 40px 0 0; display: grid; gap: 16px; }
.contact-info dt { font-family: var(--mono); font-size: 0.75rem; color: var(--mist); }
.contact-info dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 500; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { color: var(--frost); }

.enquiry { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.f-field { position: relative; margin-bottom: 22px; }
.f-field input, .f-field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--ice); border: 1px solid transparent; border-radius: 12px;
  padding: 26px 16px 10px; transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.f-field textarea { resize: vertical; min-height: 140px; padding-top: 30px; }
.f-field label {
  position: absolute; left: 16px; top: 18px; font-size: 1rem; color: var(--slate); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease), color .35s var(--ease);
}
.f-field input:focus, .f-field textarea:focus { outline: none; background: var(--white); border-color: var(--reefer); box-shadow: 0 0 0 4px rgba(0,112,204, .15); }
.f-field input:focus + label, .f-field input:not(:placeholder-shown) + label,
.f-field textarea:focus + label, .f-field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--reefer-deep); }
.opt { color: var(--mist); font-weight: 400; }
.f-field [aria-invalid="true"] { border-color: var(--danger); background: #FFF6F5; }
.f-error { margin: 6px 0 0; font-size: 0.875rem; color: var(--danger); }
.f-error:empty { display: none; }
.f-hint { margin: 6px 0 0; font-size: 0.8125rem; color: var(--slate); }
.hp { position: absolute; left: -9999px; }

.f-interests { border: 0; padding: 0; margin: 0 0 22px; }
.f-interests legend { font-weight: 600; font-size: 0.9375rem; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--ice); border: 1px solid transparent; font-size: 0.9375rem; font-weight: 500; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--mist); transition: all .3s var(--ease); }
.chip:hover span { border-color: var(--ice-2); transform: translateY(-1px); }
.chip input:checked + span { background: var(--night); color: var(--white); }
.chip input:checked + span::before { background: var(--reefer); border-color: var(--reefer); box-shadow: inset 0 0 0 3px var(--night); }
.chip input:focus-visible + span { outline: 2px solid var(--reefer); outline-offset: 2px; }

.f-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.f-status { margin: 0; font-weight: 500; font-size: 0.9375rem; }
.f-status.is-error { color: var(--danger); }
.enquiry.sent > *:not(.sent-panel) { display: none; }
.sent-panel { text-align: left; padding: 24px 0; }
.sent-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(0,112,204, .14); display: grid; place-items: center; margin-bottom: 20px; }
.sent-icon::after { content: ""; width: 12px; height: 22px; border-right: 2.5px solid var(--reefer-deep); border-bottom: 2.5px solid var(--reefer-deep); transform: rotate(45deg) translate(-2px, -3px); }
.sent-panel h3 { font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.sent-panel p { color: var(--slate); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--mist); padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; }
.brand-footer { color: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-nav a { position: relative; text-decoration: none; font-size: 0.9375rem; transition: color .3s var(--ease); }
.footer-nav a::after, .link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-word { margin: 0; font-size: clamp(4.5rem, 19vw, 18rem); font-weight: 700; letter-spacing: -0.06em; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(140,200,255, .18); user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; font-size: 0.8125rem; }
.footer-bottom p { margin: 0; }

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { min-height: clamp(520px, 78vh, 760px); min-height: clamp(520px, 78svh, 760px); }
.page-hero .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: clamp(56px, 9vh, 104px); }
.page-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(4,21,43, .94) 0%, rgba(4,21,43, .74) 45%, rgba(4,21,43, .3) 100%),
    linear-gradient(0deg, rgba(4,21,43, .92) 0%, rgba(4,21,43, 0) 50%),
    linear-gradient(180deg, rgba(4,21,43, .6) 0%, rgba(4,21,43, 0) 25%);
}
.page-title { font-size: clamp(2.5rem, 5.4vw, 5rem); max-width: 16ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 24px; font-family: var(--mono); font-size: 0.8125rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { color: var(--frost); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }

.section { padding: var(--section) 0; background: var(--ice); }
.section-white { background: var(--white); }
.section-dark { position: relative; overflow: hidden; background: var(--night); color: var(--white); }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%);
}
.section-dark > .wrap { position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head p { margin: 0; max-width: 60ch; font-size: 1.125rem; color: var(--slate); }
.section-dark .section-head p { color: var(--mist); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.split-figure { aspect-ratio: 4 / 5; }
/* Customs photo reused inside a two-column split: drop its home-page grid area */
.split .customs-figure { grid-area: auto; align-self: stretch; min-height: 520px; }

/* Call-to-action with a background photo */
.cta-photo { position: relative; isolation: isolate; overflow: hidden; }
.cta-photo-media { position: absolute; inset: -12% 0; z-index: -2; }
.cta-photo-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.cta-photo-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,21,43, .94) 0%, rgba(4,21,43, .78) 50%, rgba(4,21,43, .45) 100%); }
.cta-photo .cta-inner p { color: rgba(255,255,255,.8); }
.prose h2 { margin-bottom: 1.5rem; max-width: 16ch; }
.prose > p { max-width: 60ch; color: #2F4660; }
.prose .statement { margin-bottom: 1.25rem; color: var(--ink); }
.section-dark .prose > p { color: var(--mist); }
.ticks { display: grid; gap: 12px; margin: 1.75rem 0 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks .check { margin-top: 1px; }

.link-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; font-size: 0.9844rem; color: var(--reefer-deep); text-decoration: none; transition: color .3s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more-light { color: var(--frost); }
.link-more-light:hover { color: var(--white); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.card {
  padding: 28px 26px 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--ice-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card .check { display: block; margin-bottom: 22px; }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 1rem; color: var(--slate); }
.section-white .card { background: var(--ice); border-color: transparent; }
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); border-color: rgba(0,112,204, .5); box-shadow: 0 18px 36px -24px rgba(4,21,43, .35); }
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; counter-reset: step; }
.step { padding: 24px 22px 28px; border-top: 2px solid var(--reefer); border-radius: 0 0 var(--r) var(--r); background: rgba(255,255,255,.04); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 20px; font-family: var(--mono); font-size: 0.8125rem; color: var(--frost); }
.step h3 { margin-bottom: 8px; font-size: 1.1875rem; letter-spacing: -0.015em; }
.step p { margin: 0; font-size: 0.9688rem; color: var(--mist); }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap h2 { max-width: 12ch; }
.faq-wrap .section-head { margin-bottom: 0; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 220px;
  padding: 28px; border-radius: var(--r-lg); background: var(--night); color: var(--white); text-decoration: none;
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.related-card .mono { font-size: 0.8125rem; color: var(--frost); }
.related-card h3 { margin: 10px 0 8px; font-size: 1.5rem; letter-spacing: -0.03em; }
.related-card p { margin: 0; font-size: 0.9688rem; color: var(--mist); }
.related-card .link-more { margin: 0; }
@media (hover: hover) { .related-card:hover { transform: translateY(-3px); background: var(--harbour); } }

.cta-band { padding: clamp(64px, 8vw, 112px) 0; background: var(--reefer); color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-inner h2 { max-width: 15ch; }
.cta-inner p { max-width: 46ch; margin: 16px 0 0; font-size: 1.125rem; color: var(--white); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-dark { --bg: var(--night); --fg: var(--white); }
.btn-dark:hover { --bg: var(--harbour); }
.btn-line { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.6); }
.btn-line:hover { --bg: rgba(255,255,255,.12); border-color: var(--white); }

/* Pills on light backgrounds */
.on-light .pill-dev { background: rgba(229,164,58,.18); color: #7A4E08; }
.on-light .pill-planned { background: rgba(0,95,179, .1); color: var(--reefer-deep); }
.on-light .pill-planned::before { border-color: var(--reefer-deep); }

/* Facilities */
.facility { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--ice-2); scroll-margin-top: 90px; }
.facility:last-child { padding-bottom: 0; }
.facility > header { position: sticky; top: 100px; align-self: start; }
.network-light .network-map { background: var(--deep); border-color: transparent; }
.facility h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.6vw, 3rem); }
.facility h2 span { font-weight: 400; color: var(--slate); }
.facility .site-coord { margin: 0 0 16px; color: var(--reefer-deep); }
.facility-body > p { max-width: 62ch; color: #2F4660; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0 0; overflow: hidden; border: 1px solid var(--ice-2); border-radius: var(--r); background: var(--ice-2); }
.facts div { padding: 16px 18px; background: var(--white); }
.facts dt { font-family: var(--mono); font-size: 0.75rem; color: var(--slate); }
.facts dd { margin: 4px 0 0; font-weight: 600; }

.loc-list { border-top: 1px solid var(--ice-2); }
.loc-list a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--ice-2); text-decoration: none; transition: padding .4s var(--ease), color .3s var(--ease); }
.loc-list strong { font-size: 1.1875rem; letter-spacing: -0.015em; }
.loc-list small { margin-left: 8px; font-size: 0.875rem; color: var(--slate); }
@media (hover: hover) { .loc-list a:hover { padding-left: 10px; color: var(--reefer-deep); } }

/* Home: shortened sections */
.customs-grid.is-short { grid-template-areas: "content figure"; align-items: center; }
.home-cta .contact-grid { align-items: end; }
.home-cta .cta-actions { margin-top: 32px; }

/* Contact page */
.next-steps { display: grid; gap: 18px; margin: 40px 0 0; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.next-steps li::before { counter-increment: next; content: counter(next); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(140,200,255, .35); font-family: var(--mono); font-size: 0.875rem; color: var(--frost); }
.next-steps strong { display: block; font-weight: 600; }
.next-steps span { font-size: 0.9688rem; color: var(--mist); }

/* Home: infrastructure site list */
.home-sites { margin: 32px 0 24px; border-top: 1px solid rgba(255,255,255,.1); }
.home-sites li { border-bottom: 1px solid rgba(255,255,255,.08); }
.home-sites li + li { border-top: 0; }
.home-sites a { padding: 14px 4px; border-radius: 0; }
.home-sites .pill { justify-self: end; }

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section) 0; background: var(--white); overflow: hidden; }
.t-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.t-head h2 { max-width: 14ch; }
.t-controls { display: flex; gap: 10px; }
.t-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ice-2); background: var(--white); color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), opacity .3s; }
.t-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.t-btn:disabled { opacity: .35; cursor: default; }
.t-btn[data-t-prev] .arrow { transform: rotate(180deg); }
.t-btn:hover .arrow { transform: none; }
.t-btn[data-t-prev]:hover .arrow { transform: rotate(180deg); }
.t-track {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 8px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.t-track::-webkit-scrollbar { display: none; }
.t-track:focus-visible { outline-offset: -2px; }
.t-card {
  position: relative; flex: 0 0 clamp(280px, 30vw, 400px); display: flex; flex-direction: column; gap: 28px;
  margin: 0; padding: 32px 30px 28px; border-radius: var(--r-lg); background: var(--ice); scroll-snap-align: start;
}
.t-card::before { content: "\201C"; position: absolute; right: 26px; top: 6px; font-size: 6rem; line-height: 1; font-weight: 600; color: rgba(0,95,179, .16); pointer-events: none; }
.t-card blockquote { flex: 1; margin: 0; }
.t-card blockquote p { margin: 0; font-size: 1.1875rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.t-tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: rgba(0,112,204, .12); font-size: 0.75rem; color: var(--reefer-deep); }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--ice-2); }
.t-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--night); color: var(--frost); font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; }
.t-card strong { display: block; font-size: 0.9688rem; }
.t-card small { display: block; font-size: 0.875rem; color: var(--slate); }
.t-card.is-featured { flex-basis: clamp(300px, 44vw, 600px); background: var(--night); color: var(--white); }
.t-card.is-featured::before { color: rgba(0,112,204, .35); }
.t-card.is-featured blockquote p { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--white); }
.t-card.is-featured .t-tag { background: rgba(140,200,255, .12); color: var(--frost); }
.t-card.is-featured figcaption { border-top-color: rgba(255,255,255,.12); }
.t-card.is-featured .t-avatar { background: var(--reefer); color: var(--white); }
.t-card.is-featured small { color: var(--mist); }
.t-progress { height: 2px; margin-top: 28px; border-radius: 2px; background: var(--ice-2); overflow: hidden; }
.t-progress span { display: block; height: 100%; width: 30%; border-radius: 2px; background: var(--reefer); transform-origin: left; transition: transform .2s linear, width .2s linear; }

/* Footer: contact + social */
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 0 0 32px; }
.footer-contact > a { color: var(--white); font-weight: 500; text-decoration: none; }
.footer-contact > a:hover { color: var(--frost); }
.footer-social { display: flex; gap: 10px; margin-left: auto; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); color: var(--mist); transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.footer-social a:hover { color: var(--night); background: var(--frost); border-color: var(--frost); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
/* Profiles not set up yet (href still "#") stay hidden */
.footer-social a[href="#"] { display: none; }

/* 404 */
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; }

/* =========================================================
   Motion initial states (only when JS + motion allowed)
   ========================================================= */
.motion [data-reveal], .motion [data-hero], .motion .manifest { opacity: 0; }
.motion [data-reveal-img] { clip-path: inset(100% 0 0 0 round 22px); }
.motion [data-stagger] > * { opacity: 0; }
.motion .matters-words span { transform: translateY(105%); }
.motion .hero-title .w > span { transform: translateY(110%); }
.motion .hero-media img { opacity: 0; }
.motion .header { opacity: 0; }
.no-motion-lib [data-reveal], .no-motion-lib [data-hero], .no-motion-lib .manifest, .no-motion-lib [data-stagger] > *, .no-motion-lib .header, .no-motion-lib .hero-media img { opacity: 1 !important; }
.no-motion-lib [data-reveal-img] { clip-path: none !important; }
.no-motion-lib .matters-words span, .no-motion-lib .hero-title .w > span { transform: none !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-list { gap: 22px; }
  .hero-inner { grid-template-columns: 1fr; }
  .manifest { max-width: 480px; }
  .panels { height: 520px; }
  .customs-figure { min-height: 480px; }
}

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px;
    height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
    padding: calc(100px + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
    background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; letter-spacing: -0.03em; padding: 12px 0; opacity: 1; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-indicator { display: none; }
  .nav-cta { align-self: flex-start; min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header::before { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }

  .intro-grid, .cold-grid, .network-grid, .contact-grid, .platform-head, .philosophy-head, .brandband-inner { grid-template-columns: 1fr; }
  .intro-figure { aspect-ratio: 16 / 10; }
  .cold-media { position: relative; top: 0; }
  .cold-figure { aspect-ratio: 16 / 11; }
  .temp-card { right: 16px; bottom: 16px; }
  .customs-grid { grid-template-columns: 1fr; grid-template-areas: "content" "figure" "services"; }
  .customs-grid.is-short { grid-template-areas: "content" "figure"; }
  .split, .faq-wrap, .facility { grid-template-columns: 1fr; }
  .facility > header { position: static; }
  .split-figure { aspect-ratio: 16 / 10; }
  .split .customs-figure { min-height: 380px; }
  .split.reverse-mobile .img-frame { order: -1; }
  .related { grid-template-columns: 1fr; }
  .related-card { min-height: 0; }
  .faq-wrap h2 { max-width: 16ch; }
  .customs-figure { min-height: 420px; margin: 32px 0 8px; }
  .principles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .principle { padding: 28px 22px 32px; }
  .principle::before { left: 22px; right: 22px; }
  .principle h3 { font-size: 1.375rem; }
  .p-icon { margin-bottom: 28px; }
  .contact-route { margin-top: 32px; }

  /* Map: keep it a sensible size once it drops below the copy */
  .network-map { width: 100%; max-width: 560px; justify-self: center; }

  /* Panels become stacked cards on touch-sized screens */
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-active { flex: none; height: 360px; }
  .panel h3 { white-space: normal; }
  .panel p, .panel-link { opacity: 1; transform: none; }
  .panel-more { grid-template-rows: 1fr; }
  .panel-media img { transform: none; filter: saturate(.9) brightness(.9); }
}

@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 28px 24px 32px; }
  .principle::before { left: 24px; right: 24px; }
  .vision-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-logo, .header.scrolled .brand-logo { height: 48px; }
  .brand-logo-full { width: 200px; }
  .t-head { align-items: flex-start; flex-direction: column; }
  .t-controls { display: none; }
  .t-card, .t-card.is-featured { flex-basis: 84%; padding: 26px 22px 22px; }
  .footer-social { margin-left: 0; width: 100%; }
  .page-hero { min-height: auto; }
  .page-title { font-size: clamp(2.1rem, 9.5vw, 2.75rem); }
  .split-figure { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .loc-list a { grid-template-columns: 1fr auto; }
  .loc-list .arrow { display: none; }
  .cta-actions, .cta-actions .btn { width: 100%; justify-content: center; }
  .card { padding: 24px 22px 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 28px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--ice-2); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ice-2); }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .header-inner { height: 72px; }
  .hero-inner { padding-top: 120px; gap: 32px; }
  .hero-title { font-size: clamp(2.4rem, 11.5vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2rem); letter-spacing: -0.03em; line-height: 1.08; }
  .freight-card h2 { font-size: 1.75rem; }
  .matters-words, .brand-line { font-size: clamp(2rem, 10vw, 2.5rem); }
  .vision-quote p { font-size: 1.625rem; }
  .scrub { font-size: 1.5rem; }
  .manifest-slot { margin-top: 56px; }
  .manifest-slot .manifest { margin-bottom: 0; }
  .hero-lede { margin-bottom: 32px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .manifest-list a { grid-template-columns: 1fr; padding: 12px 14px; }
  .home-sites a { grid-template-columns: 1fr auto; padding: 14px 2px; }
  .home-sites .m-name small { display: none; }
  .manifest .pill { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 4px; }
  .scroll-cue { display: none; }

  .intro-figure { aspect-ratio: 4 / 3; }
  .panel, .panel.is-active { height: 320px; }

  .cold-figure { aspect-ratio: 4 / 3; }
  .temp-card { right: 12px; bottom: 12px; width: min(220px, 75%); padding: 12px 14px; }
  .temp-bars { height: 28px; margin-top: 8px; gap: 4px; }
  .acc-btn { font-size: 1.0625rem; padding: 18px 0; }
  .acc-panel p { padding-right: 0; }

  .site-panel { padding: 22px; }
  .site-head { flex-direction: column; gap: 12px; }
  .site-tabs { display: flex; width: 100%; }
  .site-tabs button { flex: 1 1 auto; padding: 10px 12px; }
  /* Map labels are drawn in SVG units, so scale them up on narrow screens to stay readable */
  .chart .site-name { font-size: 26px; }
  .chart .site-status { font-size: 16px; transform: translateY(8px); }
  .chart .grid text { font-size: 16px; }
  .chart .sea { font-size: 20px; }
  .chart .site[data-site="vizhinjam"] text { transform: translateY(-16px); }
  .chart .site[data-site="vizhinjam"] .site-status { transform: translateY(-8px); }
  .network-map { padding: 10px 10px 0; }
  .map-note { margin-left: 0; width: 100%; }

  .customs-figure { min-height: 360px; }
  .clear-card { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .clear-card strong { font-size: 1.1875rem; }
  .service-grid { grid-template-columns: 1fr; }

  .freight { min-height: auto; }
  .freight-shade { background: linear-gradient(180deg, rgba(4,21,43, .2), rgba(4,21,43, .85)); }
  .freight-card { padding: 26px 22px; }

  .contact-route { width: 260px; margin-top: 24px; }
  .enquiry { padding: 26px 20px; }
  .f-row { grid-template-columns: 1fr; }
  .f-foot .btn { width: 100%; justify-content: center; }

  .footer-top { padding: 32px 0; }
  .footer-word { -webkit-text-stroke-width: .6px; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand-text { font-size: 1.0625rem; }
  .hero-eyebrow span { font-size: 0.75rem; padding: 5px 10px; }
  .site-tabs button { font-size: 0.875rem; padding: 10px 8px; }
  .chip span { padding: 0 13px; font-size: 0.875rem; }
}

/* Short landscape phones: don't force full-height sections */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: 110px; }
  .freight { min-height: auto; }
  .nav { justify-content: flex-start; padding-top: calc(84px + env(safe-area-inset-top)); gap: 20px; }
  .nav-list a { font-size: 1.25rem; padding: 8px 0; }
  .scroll-cue { display: none; }
}

/* Touch screens: hover effects would otherwise "stick" after a tap */
@media (hover: none) {
  .btn:hover, .service-grid li:hover, .chip:hover span { transform: none; }
  .img-frame:hover img { transform: none; }
  .principle:hover { background: var(--ice); color: inherit; transform: none; }
  .principle:hover::before { transform: scaleX(0); }
  .principle:hover .p-icon { color: var(--reefer-deep); }
  .principle:hover p { color: var(--slate); }
  .acc-btn:hover { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
