/* =========================================================================
   World Trading Desk — site styles
   ========================================================================= */

:root {
  --ink-950: #061224;
  --ink-900: #0A1B33;
  --ink-800: #102A4A;
  --ink-700: #1B3B63;
  --text: #0E1B2C;
  --muted: #4D5D72;
  --subtle: #6F7E91;
  --line: #E2E6EC;
  --line-strong: #CBD3DE;
  --paper: #F4F6F5;
  --white: #fff;

  --accent: #70A826;        /* logo green */
  --accent-hover: #82BC34;
  --accent-ink: #4E7A17;    /* logo green, darkened for text on light backgrounds */
  --accent-soft: #EEF5E3;
  --danger: #B3261E;

  --on-dark: #fff;
  --on-dark-muted: rgba(255, 255, 255, .74);
  --on-dark-subtle: rgba(255, 255, 255, .56);
  --on-dark-line: rgba(255, 255, 255, .14);

  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(6, 18, 36, .05), 0 10px 30px rgba(6, 18, 36, .07);
  --shadow-lg: 0 30px 70px rgba(6, 18, 36, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section: clamp(72px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
button { font: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink-900); margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink-950); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--ink-950); padding: 12px 18px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

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

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--accent); }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1.2 var(--font-head); color: var(--accent-ink); text-decoration: none; }
.link-arrow .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 .95rem/1 var(--font-head); letter-spacing: -.005em;
  padding: 1em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--ink-950); }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 10px 26px rgba(112, 168, 38, .32); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink-900); background: transparent; }
.btn--ghost:hover { border-color: var(--ink-900); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .42); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--sm { padding: .78em 1.2em; font-size: .9rem; }
.btn--lg { padding: 1.1em 1.7em; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink-900); color: var(--on-dark-muted); }
.section--deep { background: var(--ink-950); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3, .section--deep h2, .section--deep h3 { color: #fff; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 + p { margin-top: 18px; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--dark .section-head p, .section--deep .section-head p { color: var(--on-dark-muted); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split > :last-child { justify-self: start; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* =========================================================================
   Header & navigation
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 18, 36, .6), rgba(6, 18, 36, 0));
  transition: opacity .35s;
}
.site-header.is-solid { background: rgba(10, 27, 51, .94); box-shadow: 0 1px 0 var(--on-dark-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-solid::before { opacity: 0; }
.header__inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; flex: none; }
.brand__logo { display: block; height: 38px; width: auto; }
.footer__brand .brand__logo { height: 46px; }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__trigger, .nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 600 .95rem/1 var(--font-head); color: rgba(255, 255, 255, .86); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav__trigger .i { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__trigger:hover, .nav__link:hover, .nav__item.is-open > .nav__trigger { color: #fff; background: rgba(255, 255, 255, .09); }
.nav__item.is-open > .nav__trigger .i { transform: rotate(180deg); }
.nav__item[data-current] > .nav__trigger::after, .nav__item[data-current] > .nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center;
  border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer;
}
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu-open .burger { background: transparent; }
.menu-open .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile-extra { display: none; }

/* Mega menus (desktop) */
.mega {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: #fff; color: var(--text); border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .28s var(--ease), visibility 0s .28s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .28s var(--ease), visibility 0s; }
.mega__inner { display: grid; grid-template-columns: 1fr 2.1fr 1fr; gap: 40px; padding-block: 36px 40px; }
.mega__intro .eyebrow { margin-bottom: 12px; }
.mega__title { font: 800 1.35rem/1.25 var(--font-head); color: var(--ink-900); letter-spacing: -.02em; margin-bottom: 10px; }
.mega__intro p:not(.eyebrow):not(.mega__title) { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mega__grid a { display: flex; gap: 14px; padding: 16px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .2s; }
.mega__grid a:hover { background: var(--paper); }
.mega__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-ink); }
.mega__icon .i { width: 23px; height: 23px; }
.mega__grid b { display: block; font: 700 1rem/1.3 var(--font-head); color: var(--ink-900); }
.mega__grid small { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.mega__feature { position: relative; display: flex; align-items: flex-end; min-height: 230px; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.mega__feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 36, .05), rgba(6, 18, 36, .85)); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__feature span { padding: 18px 20px; font: 700 1.02rem/1.35 var(--font-head); }
.mega__feature small { display: block; margin-bottom: 6px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mega__hubs { grid-column: span 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.mega__hubs a { display: flex; flex-direction: column; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .2s, background-color .2s; }
.mega__hubs a:hover { border-color: var(--accent); background: var(--paper); }
.mega__hub-tag { font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 14px; }
.mega__hubs b { font: 800 1.35rem/1.2 var(--font-head); color: var(--ink-900); letter-spacing: -.02em; }
.mega__hubs small { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.mega__hubs .clock { margin-top: auto; padding-top: 18px; }

.page-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(6, 18, 36, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim-on .page-scrim { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }

/* Live clocks */
.clock { display: inline-flex; align-items: center; gap: 10px; font: 500 .88rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.clock__state { display: inline-flex; align-items: center; gap: 6px; font: 500 .78rem/1 var(--font-body); color: var(--subtle); }
.clock__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.clock.is-open .clock__state::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(112, 168, 38, .2); }
.clock--mini { font-size: .8rem; color: var(--on-dark-subtle); }

/* =========================================================================
   Home hero
   ========================================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: min(100svh, 1000px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--ink-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1.6s ease, transform 9s linear; }
.hero__img.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 18, 36, .5) 0%, rgba(6, 18, 36, .1) 28%, rgba(6, 18, 36, .45) 62%, rgba(6, 18, 36, .96) 100%),
    linear-gradient(90deg, rgba(6, 18, 36, .78) 0%, rgba(6, 18, 36, .2) 62%, rgba(6, 18, 36, 0) 100%);
}
.hero__inner { padding-top: calc(var(--header-h) + 90px); padding-bottom: clamp(36px, 5vw, 56px); }
.hero h1 { color: #fff; max-width: 14ch; font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede { max-width: 48ch; margin-top: 24px; font-size: clamp(1.06rem, 1.45vw, 1.28rem); color: var(--on-dark-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__rail { display: flex; align-items: flex-end; gap: 24px; padding-bottom: 30px; }
.hero__tabs { flex: 1; max-width: 780px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hero__tab {
  position: relative; padding: 16px 0 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 500 .74rem/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-subtle);
  transition: color .2s;
}
.hero__tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .22); }
.hero__bar { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); }
.hero__tab.is-active { color: #fff; }
.hero__tab.is-active .hero__bar { animation: heroBar var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__bar, .hero.is-held .hero__tab.is-active .hero__bar { animation-play-state: paused; }
.hero.is-static .hero__bar { animation: none !important; width: 100%; }
.hero.is-static .hero__pause { display: none; }
.hero__tab:hover { color: #fff; }
@keyframes heroBar { from { width: 0; } to { width: 100%; } }
.hero__pause { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; }
.hero__pause .i { width: 16px; height: 16px; }
.hero__pause:hover { background: rgba(255, 255, 255, .12); }
.hero__pause .i-play { display: none; }
.hero.is-paused .hero__pause .i-play { display: block; }
.hero.is-paused .hero__pause .i-pause { display: none; }
.no-js .hero__img:first-child { opacity: 1; transform: none; }

/* Hub strip under the hero */
.hubstrip { background: var(--ink-950); color: var(--on-dark-muted); border-top: 1px solid var(--on-dark-line); }
.hubstrip__inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); }
.hubstrip__label { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 26px 24px 26px 0; }
.hubstrip__label b { font: 700 1rem/1.3 var(--font-head); color: #fff; }
.hubstrip__label span { font-size: .88rem; }
.hubstrip__hub { display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-left: 1px solid var(--on-dark-line); color: inherit; text-decoration: none; transition: background-color .2s; }
.hubstrip__hub:hover { background: rgba(255, 255, 255, .03); }
.hubstrip__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hubstrip__city { font: 700 1.08rem/1.2 var(--font-head); color: #fff; }
.hubstrip__tag { font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; color: var(--accent); }
.hubstrip__hub .clock time { font-size: 1.6rem; color: #fff; letter-spacing: -.02em; }
.hubstrip__hub .clock { flex-wrap: wrap; gap: 6px 12px; }
.hubstrip__region { font-size: .84rem; color: var(--on-dark-subtle); }

/* =========================================================================
   Inner-page hero
   ========================================================================= */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: clamp(480px, 68vh, 660px);
  padding: calc(var(--header-h) + 72px) 0 clamp(48px, 6vw, 80px);
  color: #fff; background: var(--ink-900);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 36, .92) 0%, rgba(6, 18, 36, .62) 52%, rgba(6, 18, 36, .2) 100%),
    linear-gradient(0deg, rgba(6, 18, 36, .7) 0%, rgba(6, 18, 36, 0) 45%),
    linear-gradient(180deg, rgba(6, 18, 36, .55) 0%, rgba(6, 18, 36, 0) 30%);
}
.page-hero--short { min-height: clamp(400px, 52vh, 520px); }
.page-hero h1 { color: #fff; max-width: 17ch; }
.page-hero__lede { max-width: 56ch; margin-top: 20px; font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: var(--on-dark-muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font: 500 .74rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-subtle); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.breadcrumb [aria-current] { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 18px 0; margin: 38px 0 0; padding: 22px 0 0; border-top: 1px solid var(--on-dark-line); list-style: none; }
.facts li { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--on-dark-line); }
.facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts small { display: block; margin-bottom: 7px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.facts span { font: 600 1rem/1.3 var(--font-head); color: #fff; }

/* In-page sticky navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 17px 14px 15px; border-bottom: 2px solid transparent; font: 600 .92rem/1 var(--font-head); color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--ink-900); border-color: var(--accent); }
.has-subnav [id] { scroll-margin-top: calc(var(--header-h) + 76px); }

/* =========================================================================
   Content components
   ========================================================================= */

/* Intro + stats */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.intro__lead { font: 600 clamp(1.45rem, 2.5vw, 2.15rem)/1.32 var(--font-head); letter-spacing: -.018em; color: var(--ink-900); margin-bottom: 24px; }
.intro__lead em { font-style: normal; color: var(--accent-ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.stat { background: #fff; padding: clamp(22px, 3vw, 32px); }
.stat b { display: block; font: 800 clamp(2.4rem, 4vw, 3.3rem)/1 var(--font-head); letter-spacing: -.04em; color: var(--ink-900); }
.stat b sup { font-size: .45em; vertical-align: top; position: relative; top: .2em; margin-left: 2px; color: var(--accent-ink); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* Commodity cards */
.commodity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.c-card {
  position: relative; isolation: isolate; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 540px;
  border-radius: 18px; color: #fff; text-decoration: none; background: var(--ink-900);
}
.c-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.c-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 18, 36, .08) 18%, rgba(6, 18, 36, .5) 52%, rgba(6, 18, 36, .95) 100%); transition: opacity .4s; }
.c-card:hover img { transform: scale(1.06); }
.c-card__body { padding: 26px; }
.c-card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.c-card__icon .i { width: 24px; height: 24px; }
.c-card h3 { color: #fff; font-size: 1.5rem; letter-spacing: -.02em; }
.c-card p { margin-top: 8px; color: var(--on-dark-muted); font-size: .95rem; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 16px 0 0; padding: 0; }
.chips li { font: 500 .72rem/1 var(--font-mono); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .88); }
.c-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font: 700 .94rem/1 var(--font-head); color: #fff; }
.c-card__more .i { color: var(--accent); width: 18px; height: 18px; transition: transform .25s var(--ease); }
.c-card:hover .c-card__more .i { transform: translateX(5px); }
.c-card--sm { min-height: 380px; }
.commodity-grid--related { grid-template-columns: repeat(3, 1fr); }
.c-card--sm h3 { font-size: 1.3rem; }

/* Network: map + hubs */
.network { position: relative; overflow: hidden; }
.network::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 30%, rgba(112, 168, 38, .1), transparent 70%); }
.network > .container { position: relative; }
.map { position: relative; margin: 8px 0 44px; aspect-ratio: 1200 / 507; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 16px; text-align: center; color: var(--on-dark-subtle); font: 500 .85rem/1.6 var(--font-mono); }
.map-land { fill: rgba(255, 255, 255, .17); }
.map-route { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 3 7; animation: routeFlow 1.6s linear infinite; }
.map-route-glow { fill: none; stroke: rgba(112, 168, 38, .18); stroke-width: 7; stroke-linecap: round; }
@keyframes routeFlow { to { stroke-dashoffset: -20; } }
.map-hub .core { fill: var(--accent); stroke: var(--ink-950); stroke-width: 3; }
.map-hub .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; }
.map-hub:nth-of-type(2) .ring { animation-delay: .9s; }
.map-hub:nth-of-type(3) .ring { animation-delay: 1.8s; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-label { fill: #fff; font: 800 19px var(--font-head); letter-spacing: -.01em; }
.map-sub { fill: rgba(255, 255, 255, .62); font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.map-label-bg { fill: rgba(6, 18, 36, .78); stroke: rgba(255, 255, 255, .14); }

.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.hub-card { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--on-dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
a.hub-card:hover { border-color: rgba(112, 168, 38, .6); background: rgba(255, 255, 255, .05); transform: translateY(-3px); }
.hub-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hub-card__tag { font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; color: var(--accent); }
.hub-card h3 { margin-top: 18px; font-size: 1.7rem; color: #fff; letter-spacing: -.025em; }
.hub-card__region { color: var(--on-dark-subtle); font-size: .95rem; }
.hub-card .clock { color: #fff; }
.hub-card .clock__state { color: var(--on-dark-subtle); }
.hub-card .clock__state::before { background: rgba(255, 255, 255, .3); }
.hub-card .clock.is-open .clock__state::before { background: var(--accent); }
.hub-card__focus { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--on-dark-line); font-size: .94rem; line-height: 1.55; }
.hub-card__focus b { display: block; margin-bottom: 8px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-subtle); }
.hub-card .link-arrow { margin-top: auto; padding-top: 22px; color: #fff; }
.hub-card .link-arrow .i { color: var(--accent); }

/* Follow-the-sun desk hours */
.sun { margin-top: 20px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--on-dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.sun__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 26px; }
.sun__head h3 { color: #fff; font-size: 1.2rem; }
.sun__head p { margin: 6px 0 0; font-size: .93rem; max-width: 62ch; }
.sun__legend { display: inline-flex; align-items: center; gap: 8px; font: 500 .74rem/1 var(--font-mono); letter-spacing: .08em; color: var(--on-dark-subtle); text-transform: uppercase; }
.sun__legend i { width: 18px; height: 8px; border-radius: 4px; background: var(--accent); }
.sun__grid { display: grid; grid-template-columns: 104px 1fr; gap: 12px 16px; align-items: center; }
.sun__city { font: 700 .95rem/1 var(--font-head); color: #fff; }
.sun__lanes { position: relative; display: grid; gap: 12px; }
.sun__labels { display: grid; gap: 12px; }
.sun__labels span { height: 14px; display: flex; align-items: center; }
.sun__lane { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.sun__seg { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), #5FD8A9); }
.sun__now { position: absolute; top: -10px; bottom: -10px; width: 2px; margin-left: -1px; background: #fff; border-radius: 2px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.sun__now::before { content: "Now"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 500 .66rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.sun__axis { grid-column: 2; display: flex; justify-content: space-between; margin-top: 4px; font: 500 .7rem/1 var(--font-mono); color: var(--on-dark-subtle); }
.sun__axis i { font-style: normal; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.service { position: relative; height: 100%; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.service:hover { border-color: rgba(78, 122, 23, .45); box-shadow: var(--shadow); transform: translateY(-3px); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.service__icon .i { width: 26px; height: 26px; }
.service__num { font: 500 .76rem/1 var(--font-mono); color: var(--subtle); letter-spacing: .1em; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .98rem; }
.section--paper .service { background: #fff; }
.service-grid--four { grid-template-columns: repeat(4, 1fr); }

/* Process steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 23px; left: 23px; right: 8%; height: 1.5px; background: linear-gradient(90deg, var(--accent), var(--line-strong)); }
.step { position: relative; padding-right: 22px; }
.step__num { position: relative; z-index: 1; width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--accent); font: 500 .86rem/1 var(--font-mono); color: var(--accent-ink); }
.section--paper .step__num { background: var(--paper); }
.step h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.process-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; padding: 22px 24px; border-radius: 14px; background: var(--accent-soft); color: #0B4F38; }
.process-note .i { width: 24px; height: 24px; color: var(--accent-ink); margin-top: 2px; }
.process-note b { color: var(--ink-900); font-family: var(--font-head); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 92px); align-items: center; }
.split--wide-text { grid-template-columns: 1fr 1.1fr; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--ink-900); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--land { aspect-ratio: 4 / 3; }
.split__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; color: #fff; background: rgba(10, 27, 51, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); font-size: .93rem; line-height: 1.45; }
.split__badge .i { width: 28px; height: 28px; color: var(--accent); }
.split__badge b { display: block; font-family: var(--font-head); }
.split__body h2 + p, .split__body h2 + .lede { margin-top: 20px; }
.split__body .btn, .split__body .link-arrow { margin-top: 10px; }

.checklist { list-style: none; margin: 30px 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist .i { width: 24px; height: 24px; color: var(--accent-ink); margin-top: 1px; }
.checklist b { display: block; font: 700 1.03rem/1.35 var(--font-head); color: var(--ink-900); }
.checklist span { display: block; margin-top: 3px; color: var(--muted); font-size: .96rem; }
.section--dark .checklist li, .section--deep .checklist li { border-color: var(--on-dark-line); }
.section--dark .checklist b, .section--deep .checklist b { color: #fff; }
.section--dark .checklist span, .section--deep .checklist span { color: var(--on-dark-muted); }
.section--dark .checklist .i, .section--deep .checklist .i { color: var(--accent); }

/* Who we serve */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.segment { display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: 700 1rem/1.3 var(--font-head); color: var(--ink-900); }
.segment .i { width: 26px; height: 26px; color: var(--accent-ink); }

/* Compliance tiles (dark) */
.controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--radius); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.control { padding: 32px; background: var(--ink-900); }
.section--deep .control { background: var(--ink-950); }
.control .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 22px; }
.control h3 { color: #fff; margin-bottom: 8px; }
.control p { color: var(--on-dark-muted); font-size: .96rem; }

/* Products (commodity pages) */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.products--two { grid-template-columns: repeat(2, 1fr); }
.product { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-ink); font: 700 .95rem/1 var(--font-mono); }
.product__icon .i { width: 23px; height: 23px; }
.product > p { color: var(--muted); font-size: .96rem; }
.product__items { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.product__items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--text); }
.product__items li span:last-child { font: 500 .72rem/1.3 var(--font-mono); color: var(--subtle); text-align: right; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 20px 0 0; margin-top: auto; }
.tag { font: 500 .72rem/1 var(--font-mono); padding: 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }

/* Supply-chain flow (dark) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--on-dark-line); background: rgba(255, 255, 255, .035); counter-increment: flow; }
.flow li::before { content: "0" counter(flow); display: block; margin-bottom: 22px; font: 500 .76rem/1 var(--font-mono); letter-spacing: .12em; color: var(--accent); }
.flow .i { position: absolute; top: 24px; right: 24px; width: 26px; height: 26px; color: rgba(255, 255, 255, .5); }
.flow h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.flow p { font-size: .95rem; color: var(--on-dark-muted); }

/* Hub detail rows (hubs page) */
.hub-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.hub-detail:first-child { border-top: 0; padding-top: 0; }
.hub-detail:nth-child(even) .hub-detail__media { order: 2; }
.hub-detail__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink-900); }
.hub-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.hub-detail__clock { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(10, 27, 51, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.hub-detail__clock .clock__state { color: var(--on-dark-muted); }
.hub-detail__tag { font: 500 .74rem/1 var(--font-mono); letter-spacing: .14em; color: var(--accent-ink); }
.hub-detail h2 { margin: 12px 0 6px; }
.hub-detail__region { font: 600 1.05rem/1.4 var(--font-head); color: var(--muted); margin-bottom: 22px; }
.hub-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hub-meta li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hub-meta small { display: block; margin-bottom: 5px; font: 500 .7rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.hub-meta span { font: 600 .98rem/1.4 var(--font-head); color: var(--ink-900); }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.value { height: 100%; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value__letter { display: block; font: 800 2.6rem/1 var(--font-head); color: var(--accent-ink); letter-spacing: -.04em; margin-bottom: 26px; }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .93rem; line-height: 1.5; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--ink-900); color: var(--on-dark-muted); }
.vm__card:last-child { background: var(--ink-800); }
.vm__card .eyebrow { color: var(--accent); }
.vm__card p:not(.eyebrow) { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.38 var(--font-head); color: #fff; letter-spacing: -.015em; }

/* Platform diagram */
.platform { display: grid; gap: 12px; }
.platform__hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.platform__hub { padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
a.platform__hub { text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
a.platform__hub:hover { border-color: var(--accent); transform: translateY(-2px); }
.platform__hub small { display: block; font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; color: var(--accent-ink); margin-bottom: 10px; }
.platform__hub b { display: block; font: 800 1.2rem/1.2 var(--font-head); color: var(--ink-900); }
.platform__hub span { font-size: .9rem; color: var(--muted); }
.platform__base { padding: 22px; border-radius: 14px; background: var(--ink-900); color: #fff; }
.platform__base > small { display: block; font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.platform__base ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.platform__base li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); font: 600 .9rem/1.25 var(--font-head); }
.platform__base .i { width: 20px; height: 20px; color: var(--accent); }

/* Leadership */
.leader { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.leader__avatar { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-900); color: #fff; font: 800 1.9rem/1 var(--font-head); letter-spacing: -.02em; box-shadow: inset 0 0 0 3px var(--accent); }
.leader h3 { font-size: 1.45rem; }
.leader__role { font: 600 .98rem/1.4 var(--font-head); color: var(--accent-ink); margin: 4px 0 12px; }
.leader p:last-child { color: var(--muted); }

/* Terms tables */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.terms__card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.terms__card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.terms__card h3 .i { width: 26px; height: 26px; color: var(--accent-ink); }
.terms__list { list-style: none; margin: 0; padding: 0; }
.terms__list li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.terms__list b { font: 500 .82rem/1.6 var(--font-mono); color: var(--ink-900); }

.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.docs li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font: 600 .95rem/1.35 var(--font-head); color: var(--ink-900); }
.docs .i { width: 22px; height: 22px; color: var(--accent-ink); }
.docs small { display: block; margin-top: 4px; font: 400 .85rem/1.45 var(--font-body); color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.4 var(--font-head); color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1px solid var(--line-strong); color: var(--ink-900); transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.faq__icon .i { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq summary:hover .faq__icon { border-color: var(--ink-900); }
.faq__body { padding: 0 56px 26px 0; color: var(--muted); }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: var(--muted); }
.note { padding: 16px 20px; border-radius: 12px; background: #FFF6E5; color: #6B4A00; font-size: .95rem; }

/* Call to action band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(76px, 9vw, 124px); color: #fff; background: var(--ink-900); }
.cta-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 18, 36, .95) 0%, rgba(6, 18, 36, .74) 55%, rgba(6, 18, 36, .5) 100%); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 36px 48px; }
.cta-band h2 { color: #fff; max-width: 17ch; }
.cta-band p:not(.eyebrow) { margin-top: 18px; max-width: 52ch; color: var(--on-dark-muted); font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================================
   Contact & forms
   ========================================================================= */
.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-card > p { color: var(--muted); margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.form-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: 22px; margin-top: 6px; border-top: 1px solid var(--line); font: 500 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.form-step:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.form-step span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); letter-spacing: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font: 600 .92rem/1.3 var(--font-head); color: var(--ink-900); }
.field .opt { font-weight: 500; color: var(--subtle); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font: 400 1rem/1.4 var(--font-body); color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D5D72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEB9C7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(112, 168, 38, .18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { display: none; margin-top: 7px; font-size: .86rem; color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.field__hint { margin-top: 7px; font-size: .84rem; color: var(--subtle); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font: 600 .9rem/1 var(--font-head); color: var(--muted); transition: all .2s; }
.pill input:hover + span { border-color: #AEB9C7; color: var(--ink-900); }
.pill input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(112, 168, 38, .3); }
.field.is-invalid .pill span { border-color: rgba(179, 38, 30, .5); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-ink); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-actions small { color: var(--subtle); font-size: .86rem; }
.form-msg { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: #FDECEA; color: #8C1D18; font-size: .96rem; }
.form-msg:empty { display: none; }
.form-msg.is-success { background: var(--accent-soft); color: #0B5E41; }

.aside-stack { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.aside-card--dark { background: var(--ink-900); border-color: var(--ink-900); color: var(--on-dark-muted); }
.aside-card--dark h3 { color: #fff; }
.aside-card__action { margin-top: 22px; }
.aside-card--spaced { margin-top: 16px; }
.aside-hubs { list-style: none; margin: 0; padding: 0; }
.aside-hubs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--on-dark-line); }
.aside-hubs b { display: block; font: 700 1rem/1.2 var(--font-head); color: #fff; }
.aside-hubs small { color: var(--on-dark-subtle); font-size: .84rem; }
.aside-hubs .clock { flex-direction: column; align-items: flex-end; gap: 6px; color: #fff; }
.aside-hubs .clock__state { color: var(--on-dark-subtle); }
.aside-hubs .clock__state::before { background: rgba(255, 255, 255, .3); }
.aside-hubs .clock.is-open .clock__state::before { background: var(--accent); }
.aside-mail { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1.3 var(--font-head); color: var(--ink-900); text-decoration: none; word-break: break-all; }
.aside-mail .i { color: var(--accent-ink); }
.aside-mail:hover { color: var(--accent-ink); }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 10px; font-size: .94rem; color: var(--muted); }
.mini-list .i { width: 20px; height: 20px; color: var(--accent-ink); margin-top: 2px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { padding-top: clamp(64px, 7vw, 92px); background: var(--ink-950); color: var(--on-dark-muted); font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px 72px; padding-bottom: 56px; border-bottom: 1px solid var(--on-dark-line); }
.footer__brand .brand { color: #fff; }
.footer__brand p { margin: 22px 0; max-width: 40ch; }
.footer__mail { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1.3 var(--font-head); color: #fff; text-decoration: none; word-break: break-all; }
.footer__mail .i { color: var(--accent); }
.footer__mail:hover { color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__head { margin-bottom: 18px; font: 500 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__cols ul { display: grid; gap: 11px; list-style: none; margin: 0; padding: 0; }
.footer__cols a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__hubs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; max-width: 230px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 24px 0 34px; font-size: .86rem; color: var(--on-dark-subtle); }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 80px; color: #fff; background: radial-gradient(70% 60% at 70% 20%, rgba(112, 168, 38, .16), transparent 70%), var(--ink-950); }
.notfound h1 { color: #fff; }
.notfound p { color: var(--on-dark-muted); max-width: 52ch; margin-top: 18px; font-size: 1.1rem; }
.notfound__code { font: 500 .8rem/1 var(--font-mono); letter-spacing: .16em; color: var(--accent); margin-bottom: 18px; }
.notfound .hero__ctas { margin-top: 32px; }

/* =========================================================================
   Motion
   ========================================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none !important; }
  .map-route { animation: none; }
  .map-hub .ring { display: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1200px) {
  .commodity-grid { grid-template-columns: repeat(2, 1fr); }
  .commodity-grid--related { grid-template-columns: repeat(3, 1fr); }
  .c-card { min-height: 460px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .service-grid--four { grid-template-columns: repeat(2, 1fr); }
  .mega__inner { grid-template-columns: 1fr 2fr; }
  .mega__feature { display: none; }
  .mega__hubs { grid-column: auto; }
  .docs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: grid; }
  .header__inner { gap: 16px; }
  .header__actions { margin-left: auto; }
  .primary-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; z-index: 45;
    width: min(440px, 100%); flex-direction: column; justify-content: flex-start;
    padding: 12px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    background: var(--ink-900); border-left: 1px solid var(--on-dark-line);
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .menu-open .primary-nav { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header.is-solid { background: var(--ink-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .site-header { background: var(--ink-900); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--on-dark-line); }
  .nav__trigger, .nav__link { width: 100%; justify-content: space-between; padding: 20px 2px; border-radius: 0; font-size: 1.12rem; color: #fff; }
  .nav__trigger:hover, .nav__link:hover, .nav__item.is-open > .nav__trigger { background: none; }
  .nav__item[data-current] > .nav__trigger::after, .nav__item[data-current] > .nav__link::after { left: auto; right: 2px; bottom: auto; top: 50%; margin: -2.5px 0 0; }
  .nav__item[data-current] > .nav__trigger::after { right: 26px; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: none; color: #fff; border: 0; box-shadow: none; transition: none; }
  .nav__item.is-open .mega { display: block; }
  .mega .container { padding-inline: 0; }
  .mega__inner { display: block; padding: 0 0 18px; }
  .mega__intro { display: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 2px; }
  .mega__grid a { padding: 12px 4px; align-items: center; }
  .mega__grid a:hover { background: rgba(255, 255, 255, .05); }
  .mega__grid b { color: #fff; }
  .mega__grid small { color: var(--on-dark-subtle); }
  .mega__icon { width: 42px; height: 42px; background: rgba(255, 255, 255, .07); color: var(--accent); }
  .mega__hubs { grid-template-columns: 1fr; gap: 8px; }
  .mega__hubs a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border-color: var(--on-dark-line); }
  .mega__hubs a:hover { background: rgba(255, 255, 255, .05); }
  .mega__hub-tag { display: none; }
  .mega__hubs b { color: #fff; font-size: 1.05rem; }
  .mega__hubs small { color: var(--on-dark-subtle); grid-column: 1; }
  .mega__hubs .clock { grid-column: 2; grid-row: 1 / span 2; padding-top: 0; flex-direction: column; align-items: flex-end; gap: 6px; color: #fff; }
  .mega__hubs .clock__state { color: var(--on-dark-subtle); }
  .nav__mobile-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 30px; }
  .nav__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; word-break: break-all; }
  .nav__mail .i { color: var(--accent); }

  .hubstrip__inner { grid-template-columns: repeat(3, 1fr); }
  .hubstrip__label { display: none; }
  .hubstrip__hub:first-of-type { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .controls { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .platform__base ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .intro, .split, .split--wide-text, .contact-layout, .footer__top, .vm, .terms { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 4 / 3; }
  .commodity-grid--related { grid-template-columns: 1fr; }
  .commodity-grid--related .c-card--sm { min-height: 260px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-cards { grid-template-columns: 1fr; }
  .hub-detail { grid-template-columns: 1fr; }
  .hub-detail:nth-child(even) .hub-detail__media { order: 0; }
  .aside-stack { position: static; }
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 96px); }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .sun__axis i { display: none; }
  .commodity-grid, .service-grid, .products, .flow, .controls, .segments, .values, .docs, .platform__hubs { grid-template-columns: 1fr; }
  .c-card { min-height: 420px; }
  .hubstrip__inner { grid-template-columns: 1fr; }
  .hubstrip__hub { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 0; border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .hubstrip__hub:first-of-type { border-top: 0; }
  .hubstrip__top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hubstrip__hub .clock { flex-direction: column; align-items: flex-end; }
  .hubstrip__hub .clock time { font-size: 1.3rem; }
  .hubstrip__region { display: none; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before { display: block; top: 0; bottom: 0; left: 23px; right: auto; width: 1.5px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line-strong)); }
  .step { display: grid; grid-template-columns: 47px 1fr; gap: 0 18px; padding: 0 0 28px; }
  .step h3 { margin: 12px 0 6px; }
  .step p { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .facts li { width: 50%; margin-right: 0; padding-right: 16px; border-right: 0; }
  .hub-meta { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .sun__grid { grid-template-columns: 78px 1fr; }
  .faq__body { padding-right: 0; }
  .hero__tab { font-size: 0; padding-top: 14px; }
  .header__cta { display: none; }
  .platform__base ul { grid-template-columns: 1fr; }
  .cta-band__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .brand__logo { height: 32px; }
}

@media print {
  .site-header, .page-scrim, .cta-band, .subnav, .hero__rail { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero, .page-hero { min-height: 0; color: #000; }
}
