/* ==========================================================================
   RBF Cargocare: "Cleared with care."
   Design system + homepage styles. No build step, no framework.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL; see /assets/fonts/FONTS-LICENSE.txt) */
@font-face {
  font-family: "Archivo";
  src: url("/case-studies/concepts/_assets/30152221cb272659449c38b9.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 112.5%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/case-studies/concepts/_assets/a8f2342f46c8508ceb89954b.woff2") format("woff2");
  font-weight: 600 800;
  font-stretch: 112.5%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/case-studies/concepts/_assets/6e2836b84de2aa8b6f291019.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallbacks: no layout shift when Archivo arrives */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 98.7%;
  ascent-override: 88.9%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Display Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold");
  size-adjust: 114.5%;
  ascent-override: 76.7%;
  descent-override: 18.3%;
  line-gap-override: 0%;
}

/* ---------- Tokens */
:root {
  /* Sampled from the logo */
  --midnight: #030c1f;   /* darkest ring tile */
  --navy: #12224a;       /* "RBF" */
  --royal: #003e87;
  --mid: #005aaa;
  --blue: #0097d4;       /* "Cargocare" */
  --cyan: #00bed8;
  --aqua: #86d7de;
  --ice: #c7ebf3;

  /* Ring tile order, clockwise from 12 o'clock */
  --r0: var(--ice);
  --r1: var(--aqua);
  --r2: var(--cyan);
  --r3: #0096d4;
  --r4: var(--mid);
  --r5: var(--royal);
  --r6: var(--navy);
  --r7: var(--midnight);

  /* System */
  --night: #0a1838;      /* dark sections */
  --night-2: #0f2149;    /* raised surfaces on dark */
  --ink: #0e1a33;
  --slate: #4b5b74;
  --slate-2: #67778e;
  --line: #dce5ee;
  --line-2: #c9d6e3;
  --paper: #f3f7fa;
  --mist: #e8f0f6;
  --white: #fff;
  --blue-text: #0070a8;  /* AA-safe blue for small text on light */
  --signal: #ffc72c;     /* the one action colour */
  --signal-hover: #ffd65e;
  --signal-ink: #8a5a00;
  --go: #0f9d58;
  --go-bg: #e3f6ec;
  --stamp: #c2410c;      /* customs-stamp ink, used only for the stakes */
  --on-dark: #fff;
  --on-dark-2: #bccbe0;
  --on-dark-3: #8ea3c2;

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Archivo Display Fallback", "Archivo Fallback", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 40px);
  --section: clamp(76px, 9vw, 132px);
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 84px;
  --shadow-card: 0 1px 0 rgba(14, 26, 51, .04), 0 12px 32px -18px rgba(14, 26, 51, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ice); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--signal); }
.on-dark .ccard :focus-visible, .on-dark .form-card :focus-visible, .on-dark .neutral :focus-visible { outline-color: var(--blue); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type */
h1, h2, h3, .display {
  font-family: var(--display);
  font-stretch: 112.5%;
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: -.022em;
  color: var(--navy);
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-weight: 760;
  color: var(--blue);
}
h2 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.5rem); }
h3 { font-size: 1.25rem; font-stretch: 106%; font-weight: 700; line-height: 1.2; letter-spacing: -.012em; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark h1 em, .on-dark h2 em { color: var(--cyan); }

.lead {
  font-size: clamp(1.0625rem, .98rem + .38vw, 1.25rem);
  line-height: 1.55;
  color: var(--slate);
  text-wrap: pretty;
}
.on-dark .lead { color: var(--on-dark-2); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-text);
}
/* The tile: one piece of the logo ring, at the logo's own angle */
.kicker::before, .tile {
  content: "";
  display: inline-block;
  flex: none;
  width: .85em;
  height: .62em;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(-40.5deg);
}
.on-dark .kicker { color: var(--aqua); }

.mono { font-family: var(--mono); font-weight: 500; }

/* ---------- Buttons */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: var(--h);
  padding: 0 1.35em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn .ico-arrow { transition: transform .25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn--primary {
  background: var(--signal);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 26px -12px rgba(255, 199, 44, .7);
}
.btn--primary:hover { background: var(--signal-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--outline { color: var(--navy); border-color: var(--line-2); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--lg { --h: 58px; font-size: 1.0625rem; padding-inline: 1.5em; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 650;
  font-stretch: 104%;
  color: var(--blue-text);
  text-decoration: none;
}
.link-arrow .ico { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(10, 24, 56, .45);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
  text-decoration: none;
}
.brand__logo { height: 52px; width: auto; }
.brand__tag {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 560;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--mist); color: var(--navy); }
.nav a[aria-current="true"] { color: var(--blue-text); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.brand + .header__actions { margin-left: auto; }
.header__phone {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.15;
}
.header__phone .ico { grid-row: span 2; width: 20px; height: 20px; color: var(--blue); }
.header__phone small { font-size: .72rem; color: var(--slate); font-weight: 500; }
.header__phone strong { font-weight: 700; font-stretch: 106%; font-size: 1rem; letter-spacing: -.01em; }
.header__phone:hover strong { color: var(--blue-text); }
.header__portal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
}
.header__portal .ico { width: 16px; height: 16px; }
.header__portal:hover { color: var(--navy); }
.header__cta { --h: 46px; font-size: .95rem; padding-inline: 1.1em; }
.icon-btn {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
}
.icon-btn .ico { width: 22px; height: 22px; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--night);
  color: var(--on-dark);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.menu ul { display: grid; gap: 2px; }
.menu a:not(.btn) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -.015em;
  color: #fff;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 32px; }
.menu__contact { display: grid; gap: 6px; color: var(--on-dark-2); font-size: .95rem; }
.menu__contact a { color: #fff; text-decoration: none; font-weight: 600; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: #fff; }

/* ---------- Sections */
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--on-dark); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
}
.section-head--center { text-align: center; justify-items: center; }
.section-head .lead { max-width: 60ch; }

/* ---------- Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--night);
  color: var(--on-dark);
}
.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66%, 1240px);
  z-index: -1;
}
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--night) 0%, rgba(10, 24, 56, .9) 18%, rgba(10, 24, 56, .45) 52%, rgba(10, 24, 56, .2) 100%),
    linear-gradient(0deg, rgba(10, 24, 56, .7) 0%, rgba(10, 24, 56, 0) 45%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(56px, 7.5vw, 112px) clamp(56px, 6.5vw, 96px);
}
.hero h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.1vw, 5rem);
  line-height: .97;
  letter-spacing: -.03em;
  max-width: 13ch;
}
.hero__lead { margin-top: 26px; max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: .92rem;
  color: var(--on-dark-3);
}
.hero__note .ico { width: 16px; height: 16px; color: var(--aqua); }
.proof {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 12px 30px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.proof li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 560; color: #e3ebf6; }
.proof .tile { color: var(--cyan); width: .8em; height: .58em; }

/* Clearance card: the logo ring as a progress meter */
.ccard {
  position: relative;
  width: 100%;
  max-width: 452px;
  margin-left: auto;
  padding: 22px 22px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
}
.ccard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 9px;
  border-radius: 999px;
  background: #fff5d9;
  color: var(--signal-ink);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: background-color .35s, color .35s;
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.4s infinite;
}
.status.is-cleared { background: var(--go-bg); color: var(--go); }
.status.is-cleared::before { animation: none; }
@keyframes blink { 50% { opacity: .25; } }

.ccard__ship {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 18px 0 14px;
}
.ring-wrap { position: relative; width: 104px; aspect-ratio: 1; }
.ring-wrap .ring { width: 100%; height: 100%; }
.ring-wrap__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 760;
  font-stretch: 112.5%;
  color: var(--navy);
}
.ring-wrap__label .ico { width: 26px; height: 26px; color: var(--go); stroke-width: 2.6; }
.ccard__title { font-family: var(--display); font-size: 1.15rem; font-weight: 720; font-stretch: 108%; color: var(--navy); line-height: 1.2; }
.ccard__route { margin-top: 4px; font-family: var(--mono); font-size: .76rem; color: var(--slate); }
.ccard__route .ico { display: inline-block; vertical-align: -2px; width: 13px; height: 13px; margin-inline: 3px; }
.ccard__meta { margin-top: 8px; font-size: .84rem; color: var(--slate); }
.ccard__meta b { color: var(--navy); font-weight: 650; white-space: nowrap; }

.steps-mini li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: .9rem;
  line-height: 1.3;
  color: var(--slate-2);
  transition: color .3s;
}
.steps-mini .mark {
  width: 13px;
  height: 9.5px;
  margin-inline: auto;
  border: 1.5px solid var(--line-2);
  border-radius: 1.5px;
  transform: rotate(-40.5deg);
  transition: background-color .3s, border-color .3s;
}
.steps-mini .t { font-family: var(--mono); font-size: .7rem; color: var(--slate-2); white-space: nowrap; }
.steps-mini .is-done { color: var(--ink); }
.steps-mini .is-done .mark { background: var(--blue); border-color: var(--blue); }
.steps-mini .is-active { color: var(--navy); font-weight: 600; }
.steps-mini .is-active .mark { border-color: #e0a800; background: var(--signal); animation: spin 2.4s linear infinite; }
.steps-mini .is-active .t { color: var(--signal-ink); }
@keyframes spin { to { transform: rotate(319.5deg); } }
.ccard__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.ccard__replay {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--blue-text);
  cursor: pointer;
}
.ccard__replay:hover { text-decoration: underline; }

/* The ring itself */
.ring__p {
  fill: var(--ring-off, #e3eaf1);
  stroke: var(--ring-key, #fff);
  stroke-width: 2.08;
  stroke-linejoin: round;
  paint-order: stroke;
  transition: fill .45s var(--ease);
}
.ring__p.is-on { fill: var(--c); }
.ring--static .ring__p { fill: var(--c); }

/* ---------- Trust bar */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: 30px;
}
.trust__label {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.accr { display: flex; align-items: center; gap: 14px; }
.accr li {
  display: grid;
  place-items: center;
  height: 64px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.accr img { height: 44px; width: auto; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 4px clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dd {
  font-family: var(--display);
  font-size: clamp(2rem, 1.4rem + 1.5vw, 2.75rem);
  font-weight: 780;
  font-stretch: 112.5%;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stats dd span { color: var(--blue); }
.stats dt { font-size: .86rem; line-height: 1.35; color: var(--slate); max-width: 22ch; }

/* ---------- Stakes */
.costs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cost {
  position: relative;
  padding: 26px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stamp {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 10px 5px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stamp);
  transform: rotate(-4deg);
  transform-origin: left center;
  mix-blend-mode: multiply;
  opacity: .92;
}
.stamp--go { color: var(--go); transform: rotate(-6deg); }
.cost h3 { margin-bottom: 8px; font-size: 1.15rem; }
.cost p { font-size: .97rem; color: var(--slate); }
.turn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.turn p { font-size: clamp(1.1rem, .95rem + .6vw, 1.45rem); line-height: 1.4; color: var(--on-dark-2); max-width: 46ch; }
.turn strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.6rem);
  font-weight: 760;
  font-stretch: 112.5%;
  line-height: 1.05;
  letter-spacing: -.022em;
  color: #fff;
}
.turn strong em { font-style: italic; color: var(--cyan); }
.turn .stamp--go { margin: 0; font-size: 1.05rem; padding: 10px 16px 9px; color: #3ddc97; border-width: 2.5px; mix-blend-mode: normal; transform: rotate(-8deg); }
.turn__ring { position: absolute; right: -90px; top: 50%; width: 320px; transform: translateY(-50%); opacity: .14; z-index: -1; --ring-key: var(--navy); }

/* ---------- Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.svc__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e5f5fb, #d6eef8);
  color: var(--royal);
}
.svc__icon .ico { width: 24px; height: 24px; stroke-width: 1.8; }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: .98rem; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li {
  white-space: nowrap;
  padding: 5px 8px 4px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--navy);
}
.svc__cta { margin-top: auto; padding-top: 22px; }
.svc__cta .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.services__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed var(--line-2);
}
.services__foot p { color: var(--slate); }
.services__foot strong { color: var(--navy); }

/* ---------- Commodities */
.commodities {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.mosaic figure { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); aspect-ratio: 4 / 3; }
.mosaic figure:nth-child(2) { transform: translateY(28px); }
.mosaic figure:nth-child(4) { transform: translateY(28px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 10px 7px;
  border-radius: 6px;
  background: rgba(3, 12, 31, .8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .8rem;
  font-weight: 560;
  line-height: 1.2;
  color: #fff;
}
.mosaic figcaption b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--aqua);
}
.manifest {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.manifest__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--navy);
  color: #fff;
}
.manifest__head p { font-family: var(--display); font-weight: 720; font-stretch: 108%; font-size: 1.05rem; }
.manifest__head span { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; color: var(--aqua); text-transform: uppercase; }
.manifest table { width: 100%; border-collapse: collapse; }
.manifest th {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--slate-2);
}
.manifest td { padding: 15px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.manifest tr:last-child td { border-bottom: 0; }
.manifest tbody tr { transition: background-color .2s; }
.manifest tbody tr:hover { background: #f8fbfd; }
.manifest td:first-child { font-weight: 650; font-stretch: 104%; color: var(--navy); width: 34%; }
.manifest td:nth-child(2) { font-size: .9rem; color: var(--slate); }
.manifest td:last-child { text-align: right; width: 1%; white-space: nowrap; }
.code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px 4px;
  border-radius: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--navy);
}
.code .tile { width: .7em; height: .5em; color: var(--cc, var(--blue)); }
.manifest__foot { padding: 14px 22px; background: var(--paper); border-top: 1px solid var(--line); font-size: .88rem; color: var(--slate); }

/* ---------- How it works */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.timeline { position: relative; display: grid; gap: 0; margin-top: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(var(--cyan), rgba(0, 190, 216, .15));
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0 26px;
}
.tl__n {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--navy);
  z-index: 1;
}
.tl__n::before {
  content: "";
  position: absolute;
  inset: 7px 3px;
  border-radius: 3px;
  background: var(--ice);
  transform: rotate(-40.5deg);
  box-shadow: 0 0 0 5px var(--night);
  z-index: -1;
  transition: background-color .4s;
}
.tl:nth-child(2) .tl__n::before { background: var(--aqua); }
.tl:nth-child(3) .tl__n::before { background: var(--cyan); }
.tl:nth-child(4) .tl__n::before { background: var(--signal); }
.tl h3 { margin: 10px 0 8px; font-size: 1.3rem; }
.tl p { color: var(--on-dark-2); max-width: 46ch; }
.tl p strong { color: #fff; font-weight: 600; }

.feed {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--night-2), #0c1c42);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.feed__head p { font-weight: 650; font-stretch: 106%; color: #fff; }
.feed__head span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.feed__list { position: relative; display: grid; gap: 10px; padding: 18px; min-height: 404px; align-content: start; }
.note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .07);
  animation: note-in .55s var(--ease) both;
}
.note__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(0, 190, 216, .14); color: var(--cyan); }
.note__icon .ico { width: 17px; height: 17px; }
.note--done .note__icon { background: rgba(61, 220, 151, .16); color: #3ddc97; }
.note--warn .note__icon { background: rgba(255, 199, 44, .14); color: var(--signal); }
.note b { display: block; font-size: .93rem; font-weight: 650; color: #fff; line-height: 1.3; }
.note span { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.35; color: var(--on-dark-3); }
.note time { font-family: var(--mono); font-size: .66rem; color: var(--on-dark-3); padding-top: 3px; }
@keyframes note-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.feed__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.feed__foot li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .8rem;
  font-weight: 560;
  color: var(--on-dark-2);
}
.feed__foot .ico { width: 14px; height: 14px; color: var(--aqua); }

/* ---------- Ports */
.ports {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.port-groups { display: grid; gap: 22px; margin-top: 34px; }
.port-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.port-group h3 .ico { width: 18px; height: 18px; color: var(--blue); }
.port-list { display: flex; flex-wrap: wrap; gap: 8px; }
.port-list button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .92rem;
  font-weight: 560;
  color: var(--navy);
  cursor: default;
  transition: border-color .2s, background-color .2s;
}
.port-list button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.port-list button[data-hq]::before { background: var(--signal); box-shadow: 0 0 0 2px #ffe7a3; }
.port-list button:hover, .port-list button.is-hot { border-color: var(--blue); background: #f0f9fd; }
.ports__note { margin-top: 24px; font-size: .95rem; color: var(--slate); }
.ports__note a { color: var(--blue-text); font-weight: 600; }

.map {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.map__dots { width: 100%; height: auto; }
.map__pins { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pin { cursor: default; }
.pin circle.dot { fill: var(--navy); stroke: #fff; stroke-width: 2.4; transition: r .25s var(--ease), fill .25s; }
.pin.is-hot circle.dot { fill: var(--blue); r: 8.5; }
.pin--hq circle.dot { fill: var(--signal); stroke: var(--navy); stroke-width: 2.4; }
.pin--hq .pulse { fill: none; stroke: var(--signal); stroke-width: 2; animation: pulse 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.pin text { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; opacity: 0; transition: opacity .2s; pointer-events: none; }
.pin.is-hot text, .pin.always text { opacity: 1; }
.map__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--slate);
}
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.map__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-2); }
.map__legend i.hq { background: var(--signal); }
.map__legend i.dots { width: 14px; height: 6px; border-radius: 0; background: radial-gradient(circle, var(--blue) 2px, transparent 2.5px) 0 0 / 7px 6px; box-shadow: none; }

/* ---------- Client story */
.story {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.story__media { position: relative; }
.story__media picture { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 24px 50px -24px rgba(3, 12, 31, .7);
}
.story__badge strong { font-family: var(--display); font-size: 2.4rem; font-weight: 780; font-stretch: 112.5%; line-height: 1; letter-spacing: -.03em; }
.story__badge strong span { color: var(--cyan); }
.story__badge small { font-size: .8rem; color: var(--on-dark-2); max-width: 16ch; line-height: 1.3; }
.story__body > p { margin-top: 20px; color: var(--slate); max-width: 62ch; }
.results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-block: 1px solid var(--line);
}
.results li { padding: 18px 18px 18px 0; }
.results li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.results b { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 760; font-stretch: 110%; letter-spacing: -.015em; color: var(--navy); }
.results span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.4; color: var(--slate); }
.quote {
  position: relative;
  margin-top: 30px;
  padding-left: 54px;
}
.quote .ico { position: absolute; left: 0; top: 2px; width: 34px; height: 34px; color: var(--blue); stroke-width: 1.6; }
.quote p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem);
  font-weight: 600;
  font-stretch: 104%;
  line-height: 1.38;
  letter-spacing: -.012em;
  color: var(--navy);
  text-wrap: pretty;
}
.quote footer { margin-top: 14px; font-size: .92rem; color: var(--slate); }
.quote footer b { color: var(--navy); font-weight: 650; }
.quote-sm {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.quote-sm p { font-size: 1rem; line-height: 1.5; color: var(--ink); }
.quote-sm footer { margin-top: 10px; font-size: .86rem; color: var(--slate); }
.quote-sm footer b { color: var(--navy); }

/* ---------- Why RBF */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pillar {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  overflow: hidden;
}
.pillar__n {
  display: block;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--aqua);
}
.pillar h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 112.5%; font-weight: 760; letter-spacing: -.02em; }
.pillar h3 em { font-style: italic; color: var(--cyan); font-weight: 760; }
.pillar p { margin-top: 14px; color: var(--on-dark-2); }
.pillar__proof { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }
.neutral {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: 18px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.neutral__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--paper); color: var(--royal); }
.neutral__icon .ico { width: 30px; height: 30px; stroke-width: 1.7; }
.neutral h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); color: var(--navy); }
.neutral p { margin-top: 6px; color: var(--slate); max-width: 64ch; }

/* ---------- About + team */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.about__media picture { border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--mist); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__since {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 40px -20px rgba(3, 12, 31, .55);
}
.about__since img { width: 46px; height: 46px; }
.about__since b { display: block; font-family: var(--display); font-weight: 760; font-stretch: 112.5%; font-size: 1.3rem; line-height: 1; color: var(--navy); }
.about__since span { font-size: .8rem; color: var(--slate); }
.about__body > p { margin-top: 18px; color: var(--slate); max-width: 60ch; }
.about__body > p.lead { margin-top: 22px; color: var(--ink); }
.grow {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.grow .ico { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.grow p { font-size: .97rem; color: var(--slate); }
.grow strong { color: var(--navy); }
.team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6vw, 80px);
}
.person {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.person__mono {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-family: var(--display);
  font-weight: 760;
  font-stretch: 112.5%;
  font-size: .95rem;
  color: #fff;
  isolation: isolate;
}
.person__mono::before {
  content: "";
  position: absolute;
  inset: 8px 4px;
  border-radius: 3px;
  background: var(--pc, var(--navy));
  transform: rotate(-40.5deg);
  z-index: -1;
}
.person div > b { display: block; font-weight: 680; font-stretch: 104%; color: var(--navy); line-height: 1.25; }
.person div > span { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.3; color: var(--slate); }

/* ---------- FAQs */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .lead { margin-top: 20px; }
.faq-aside .contact-lines { margin-top: 26px; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  font-stretch: 104%;
  color: var(--navy);
  text-decoration: none;
}
.contact-lines a .ico { width: 20px; height: 20px; color: var(--blue); }
.contact-lines a:hover { color: var(--blue-text); }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  font-weight: 680;
  font-stretch: 106%;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-text); }
.faq__toggle {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; width: 12px; height: 1.8px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), background-color .25s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq[open] .faq__toggle { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
.faq[open] .faq__toggle::before, .faq[open] .faq__toggle::after { background: #fff; }
.faq[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__a { padding: 0 64px 24px 0; color: var(--slate); }
.faq__a p + p { margin-top: 10px; }
.faq__a a { color: var(--blue-text); font-weight: 600; }

/* ---------- Quote */
.quote-sec { overflow: hidden; isolation: isolate; }
.quote-sec__ring { position: absolute; left: -180px; bottom: -200px; width: 560px; opacity: .07; z-index: -1; --ring-key: var(--night); }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.quote-grid .lead { margin-top: 22px; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; align-items: flex-start; gap: 14px; color: #e3ebf6; font-weight: 520; }
.ticks .tile { margin-top: .5em; color: var(--cyan); }
.contact-card {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.contact-card .contact-lines a { color: #fff; font-size: 1.05rem; }
.contact-card .contact-lines a .ico { color: var(--aqua); }
.contact-card .contact-lines a:hover { color: var(--aqua); }
.contact-card address { font-style: normal; font-size: .92rem; line-height: 1.5; color: var(--on-dark-2); display: flex; gap: 12px; }
.contact-card address .ico { width: 20px; height: 20px; color: var(--aqua); margin-top: 2px; }
.contact-card__links { display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-card__links a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--on-dark-2); text-decoration: none; }
.contact-card__links a:hover { color: #fff; }
.contact-card__links .ico { width: 16px; height: 16px; }

.form-card {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8);
}
.form-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-card__head .ring-wrap { width: 56px; flex: none; }
.form-card__head .ring-wrap__label { font-size: .7rem; font-family: var(--mono); font-weight: 500; font-stretch: 100%; }
.form-card__step { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.form-card__title { font-family: var(--display); font-size: 1.35rem; font-weight: 740; font-stretch: 110%; letter-spacing: -.015em; color: var(--navy); line-height: 1.15; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset + .fieldset { margin-top: 22px; }
.legend, .label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: .92rem;
  font-weight: 650;
  font-stretch: 104%;
  color: var(--navy);
}
.label .opt, .legend .opt { font-weight: 400; color: var(--slate-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .92rem;
  font-weight: 560;
  line-height: 1.2;
  color: var(--ink);
  transition: border-color .2s, background-color .2s, color .2s;
  cursor: pointer;
}
.chip:hover span { border-color: var(--line-2); }
.chip input:checked + span { border-color: var(--blue); background: #eef8fd; color: var(--navy); box-shadow: inset 0 0 0 1px var(--blue); }
.chip input:checked + span::before { content: ""; width: .7em; height: .5em; background: var(--blue); border-radius: 1px; transform: rotate(-40.5deg); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312224a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 151, 212, .16); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: #c9372c; box-shadow: 0 0 0 4px rgba(201, 55, 44, .1); }
.err { display: none; margin-top: 8px; font-size: .86rem; font-weight: 560; color: #b42318; }
.err.is-shown { display: block; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.form-actions .btn--primary { flex: 1 1 auto; }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
}
.btn-back:hover { color: var(--navy); }
.btn-back .ico { width: 18px; height: 18px; transform: rotate(180deg); }
.form-legal { margin-top: 16px; font-size: .8rem; line-height: 1.5; color: var(--slate-2); }
.form-legal a { color: var(--blue-text); }
.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px dashed var(--line-2);
  font-size: .85rem;
  color: var(--slate);
}
.summary b { color: var(--navy); font-weight: 650; }
.summary button { margin-left: auto; border: 0; background: none; padding: 0; font-weight: 650; color: var(--blue-text); cursor: pointer; }
.no-js .form-step[hidden] { display: block !important; }

/* ---------- Footer */
.site-footer { background: var(--midnight); color: var(--on-dark-2); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer__brand img { height: 56px; width: auto; }
.footer__tagline {
  margin-top: 26px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 760;
  font-stretch: 112.5%;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: #fff;
}
.footer__tagline em { font-style: italic; color: var(--cyan); }
.footer__brand p:not(.footer__tagline) { margin-top: 14px; font-size: .95rem; max-width: 40ch; }
.site-footer h2 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: #dbe5f2; text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { display: grid; gap: 12px; font-size: .95rem; }
.footer__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer__contact a:hover { color: var(--aqua); }
.footer__contact address { font-style: normal; line-height: 1.55; }
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.footer__social a:hover { border-color: #fff; }
.footer__social .ico { width: 18px; height: 18px; }
.footer__accr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__accr p { margin-right: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }
.footer__accr li { display: grid; place-items: center; height: 52px; padding: 5px 9px; border-radius: 6px; background: #fff; }
.footer__accr img { height: 36px; width: auto; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .84rem;
  color: var(--on-dark-3);
}
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom a { color: var(--on-dark-2); text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Mobile action bar */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px -20px rgba(10, 24, 56, .4);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.action-bar.is-shown { transform: none; }
.action-bar .btn { --h: 50px; padding-inline: .9em; }

/* ---------- Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Simple pages (thank you / 404) */
.simple {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding-block: clamp(48px, 8vw, 112px);
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.simple__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.simple h1 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); line-height: .98; letter-spacing: -.028em; }
.simple .lead { margin-top: 22px; max-width: 52ch; }
.simple__ring { position: relative; width: min(100%, 360px); margin-inline: auto; --ring-off: rgba(255, 255, 255, .08); --ring-key: var(--night); }
.simple__ring .ring { width: 100%; height: auto; }
.simple__ring .ring-wrap__label .ico { width: 64px; height: 64px; color: #3ddc97; }
.next-steps { display: grid; gap: 14px; margin-top: 30px; counter-reset: s; }
.next-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--on-dark-2); }
.next-steps li::before {
  counter-increment: s;
  content: "0" counter(s);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--aqua);
}
.next-steps b { color: #fff; font-weight: 650; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .brand__tag { display: none; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1140px) {
  .header__portal span { display: none; }
  .nav a { padding-inline: 9px; font-size: .92rem; }
  .costs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .nav, .header__phone, .header__portal { display: none; }
  .header__actions { margin-left: auto; gap: 10px; }
  .icon-btn { display: grid; }
  .brand__logo { height: 44px; }

  .hero__inner { grid-template-columns: 1fr; align-items: start; padding-bottom: 40px; }
  .hero__media { inset: auto 0 0 0; width: 100%; height: 420px; }
  .hero__media::after { background: linear-gradient(180deg, var(--night) 0%, rgba(10, 24, 56, .55) 40%, rgba(10, 24, 56, .25) 100%); }
  .hero__visual { padding-top: 24px; }
  .ccard { margin-inline: 0; max-width: 520px; }

  .trust__inner { grid-template-columns: 1fr; }
  .stats { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .stats > div:first-child { padding-left: 0; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commodities, .how, .ports, .story, .about, .faq-wrap, .quote-grid, .simple__inner { grid-template-columns: 1fr; }
  .feed, .faq-aside { position: relative; top: 0; }
  .story__badge { right: 16px; }
  .story__media { max-width: 520px; }
  .pillars { grid-template-columns: 1fr; }
  .neutral { grid-template-columns: auto minmax(0, 1fr); }
  .neutral .btn { grid-column: 1 / -1; justify-self: start; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .action-bar { display: grid; }
  body { padding-bottom: 0; }
  .simple__ring { width: min(60%, 260px); order: -1; margin-inline: 0; }
}
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero h1 { max-width: none; }
  .proof { grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 36px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .stats > div { padding-left: 0; border-right: 0; }
  .accr { flex-wrap: wrap; }
  .costs, .services { grid-template-columns: 1fr; }
  .turn { grid-template-columns: 1fr; }
  .turn .stamp--go { justify-self: start; }
  .mosaic figure:nth-child(2), .mosaic figure:nth-child(4) { transform: none; }
  .manifest th:nth-child(2), .manifest td:nth-child(2) { display: none; }
  .manifest td, .manifest th { padding-inline: 16px; }
  .manifest td:first-child { width: auto; }
  .results { grid-template-columns: 1fr; }
  .results li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .story__badge { right: 12px; bottom: 12px; padding: 14px 16px; }
  .story__badge strong { font-size: 2rem; }
  .quote { padding-left: 0; padding-top: 46px; }
  .neutral { grid-template-columns: 1fr; }
  .faq__a { padding-right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .site-footer { padding-bottom: 76px; }
  .ccard { padding: 18px 16px 14px; }
  .accr { gap: 8px; }
  .accr li { height: 52px; padding: 5px 8px; }
  .accr img { height: 34px; }
  .chip span { min-height: 40px; padding: 8px 11px; font-size: .88rem; }
  .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .person { grid-template-columns: 1fr; gap: 10px; padding: 14px; align-items: start; }
  .person__mono { width: 44px; height: 44px; font-size: .85rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:last-child { grid-column: 1 / -1; }
  .mosaic { gap: 8px; }
  .mosaic figcaption { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 6px 8px; font-size: .74rem; }
  .ccard__ship { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .ring-wrap { width: 84px; }
}
@media (max-width: 400px) {
  .brand__logo { height: 38px; }
  .header__cta { display: none; }
  .steps-mini li { font-size: .84rem; gap: 10px; }
}

/* ---------- Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print */
@media print {
  .site-header, .action-bar, .menu, .hero__media, .feed, .form-card { display: none !important; }
  .section--night, .hero, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ---------- Utility bar (scrolls away; the header sticks) */
.utility { background: var(--midnight); color: var(--on-dark-2); font-size: .8rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.utility p { display: flex; align-items: center; gap: 10px; }
.utility .tile { color: var(--cyan); width: .75em; height: .54em; }
.utility__sep { color: var(--on-dark-3); }
.utility ul { display: flex; gap: 22px; }
.utility a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-2); text-decoration: none; font-weight: 500; }
.utility a:hover { color: #fff; }
.utility .ico { width: 14px; height: 14px; }
.map__canvas { position: relative; }
.no-js .js-only { display: none !important; }
@media (max-width: 1023px) { .utility { display: none; } }
