/* ==========================================================================
   Trillium Tradelinks — site stylesheet
   Palette comes from the logo: navy #153a63, gold #c9962b, steel #b9c0c9.
   Type: Archivo (display, slightly expanded) · IBM Plex Sans (text) ·
         IBM Plex Mono (codes, labels, figures).
   ========================================================================== */

:root {
  --navy-900: #0a1e35;
  --navy-800: #0f2b4a;
  --navy-700: #153a63;
  --navy-600: #1f4d80;
  --navy-500: #3d6591;
  --gold-400: #ddb04f;
  --gold-500: #c9962b;
  --gold-700: #8a640f;
  --steel-400: #8a96a6;
  --steel-300: #b9c0c9;
  --steel-200: #d6dce4;
  --steel-100: #e7ebf1;
  --paper: #f2f5f9;
  --white: #ffffff;
  --ink: #0d2440;
  --body: #3b4a5d;
  --muted: #637286;
  --on-navy: #e9eef5;
  --on-navy-muted: #9fb2ca;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 76px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 1.0625rem/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.06; font-weight: 750; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.45rem); }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--navy-900); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gap-lg { height: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  color: var(--gold-700);
  font: 500 0.78rem/1.4 var(--f-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--gold-500); }
.eyebrow--gold { color: var(--gold-400); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 60ch; }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-700); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold-500); padding-bottom: 2px; }
.textlink .ic { transition: transform .2s; }
.textlink:hover .ic { transform: translateX(4px); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 0.95rem/1.2 var(--f-text);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--navy-900); }
.btn--navy { background: var(--navy-700); color: var(--white); }
.btn--navy:hover { background: var(--navy-800); color: var(--white); }
.btn--line { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--line:hover { background: var(--navy-700); color: var(--white); }
.btn--line-light { border-color: rgba(255, 255, 255, .38); color: var(--white); background: transparent; }
.btn--line-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------------------------------------------------------------- header */
.topbar { background: var(--navy-900); color: var(--on-navy-muted); font: 400 0.78rem/1.4 var(--f-mono); letter-spacing: 0.04em; }
.topbar__in { display: flex; justify-content: space-between; gap: 24px; padding-block: 9px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-navy); text-decoration: none; }
.topbar a:hover { color: var(--gold-400); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--steel-200); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 50px; height: 50px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 500 1.22rem/1.1 var(--f-display); font-stretch: 112%; letter-spacing: 0.02em; text-transform: uppercase; color: var(--navy-700); }
.brand__name b { font-weight: 800; }
.brand__sub { margin-top: 5px; font: 500 0.66rem/1 var(--f-mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-700); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; font-size: 0.97rem; text-decoration: none; border-radius: var(--radius); }
.nav__link:hover { color: var(--navy-600); background: var(--paper); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 0; }
.has-menu > .nav__link { padding-right: 4px; }
.sub-toggle { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.sub-toggle .ic { width: 16px; height: 16px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.menu__list a { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; color: var(--ink); font-size: 0.94rem; line-height: 1.35; text-decoration: none; border-radius: 3px; }
.menu__list a:hover { background: var(--paper); color: var(--navy-600); }
.menu__code { flex: none; font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.06em; color: var(--gold-700); }
.menu__label { margin: 10px 12px 4px; padding-top: 12px; border-top: 1px solid var(--steel-200); font: 500 0.68rem/1.4 var(--f-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { display: none; }

@media (min-width: 1041px) {
  .menu {
    position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60;
    width: 320px; padding: 10px;
    background: var(--white); border: 1px solid var(--steel-200); border-top: 3px solid var(--gold-500);
    box-shadow: 0 24px 48px -16px rgba(10, 30, 53, .28);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .16s, transform .16s, visibility .16s;
  }
  .menu--wide { width: 380px; }
  .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .has-menu:hover > .menu, .has-menu:focus-within > .menu, .has-menu.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 1040px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: flex-end; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--steel-200); border-radius: var(--radius); background: var(--white); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--navy-700); transition: transform .2s, background-color .2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: var(--white); border-bottom: 1px solid var(--steel-200); box-shadow: 0 24px 40px -20px rgba(10, 30, 53, .3);
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--steel-100); }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--gold-700); }
  .sub-toggle { width: 48px; height: 48px; }
  .menu { display: none; flex-basis: 100%; padding: 0 0 12px; }
  .has-menu.is-open > .menu { display: block; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand__name { font-size: 1.02rem; }
  .brand__sub { font-size: 0.58rem; letter-spacing: 0.16em; }
}

/* ------------------------------------------------------------ navy ground */
.hero, .page-hero, .band--navy {
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  color: var(--on-navy);
}
.hero h1, .hero h2, .page-hero h1, .band--navy h2, .band--navy h3 { color: var(--white); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(44px, 6vw, 84px) clamp(36px, 5vw, 64px); }
.hero .lead { margin-top: 24px; color: var(--on-navy); opacity: .92; }
.hero__art { min-width: 0; }
.hero-art { display: block; width: 100%; height: auto; overflow: visible; }
.h-gear { transform-box: view-box; transform-origin: 320px 270px; animation: h-spin 160s linear infinite; }
.h-gear path { fill: rgba(61, 101, 145, .14); stroke: var(--navy-500); stroke-width: 1.5; stroke-linejoin: round; }
.h-gear circle { fill: var(--navy-800); stroke: var(--navy-500); stroke-width: 1.5; }
.h-globe { fill: var(--navy-700); stroke: var(--navy-500); stroke-width: 1.5; }
.h-grat * { fill: none; stroke: var(--navy-500); stroke-width: 1.2; }
.h-trace { fill: none; stroke: var(--gold-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .6; }
.h-pulse { fill: none; stroke: #f6dc9a; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16 700; stroke-dashoffset: 16; animation: h-out 4.4s linear infinite; }
.h-pulse--in { stroke-dashoffset: -420; animation-name: h-in; }
.h-node { fill: var(--navy-800); stroke: var(--gold-500); stroke-width: 3; }
.h-pins { fill: var(--gold-500); }
.h-chip { fill: var(--gold-500); }
.h-chip-in { fill: none; stroke: var(--navy-700); stroke-width: 1.5; }
.h-chip-dot { fill: var(--navy-700); }
.h-lbl { font: 500 13px var(--f-mono); letter-spacing: 0.09em; fill: var(--on-navy); }
.h-lbl--sub { font-size: 12px; font-weight: 400; letter-spacing: 0.01em; fill: var(--on-navy-muted); }
.h-lbl--home { font-size: 11px; fill: var(--gold-400); }
@keyframes h-spin { to { transform: rotate(360deg); } }
@keyframes h-out { from { stroke-dashoffset: 16; } to { stroke-dashoffset: -420; } }
@keyframes h-in { from { stroke-dashoffset: -420; } to { stroke-dashoffset: 16; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 24px 34px 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.stats dt { font: 400 0.76rem/1.45 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-navy-muted); }
.stats dd { margin: 0; font: 700 clamp(1.9rem, 3.2vw, 2.7rem)/1 var(--f-display); font-stretch: 112%; font-variant-numeric: tabular-nums; color: var(--white); }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 560px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding: 20px 16px 22px 0; }
  .stats > div + div { border-left: 0; padding-left: 0; }
  .stats > div:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .stats > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}
/* Phones get a portrait version of the diagram with legible labels; the
   desktop one would render its text at about 7px there. */
.hero-art--m { display: none; }
.h-gear--m { transform-origin: 200px 215px; }
/* Sized so the longest label (13 characters plus letter-spacing) ends before
   the vertical trace at x=150 in the 400-unit drawing. */
.hm-lbl { font-size: 13px; letter-spacing: 0.04em; }
.hm-lbl--sub { font-size: 12px; letter-spacing: 0; }
.hm-lbl--home { font-size: 9px; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .hero-art { display: none; }
  .hero-art--m { display: block; max-width: 440px; margin-inline: auto; }
}

/* ----------------------------------------------------------------- bands */
.band { padding-block: clamp(56px, 8vw, 108px); }
.band--paper { background: var(--paper); }
.band--navy p { color: var(--on-navy); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 24px clamp(24px, 5vw, 72px); margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head__lead { margin: 0; color: var(--muted); }
.band--navy .sec-head__lead { color: var(--on-navy-muted); }
@media (max-width: 800px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------- illustration frame */
.illo {
  --il-line: var(--navy-700); --il-surface: var(--white); --il-gold: var(--gold-500);
  position: relative; display: block; aspect-ratio: 320 / 220; max-width: 100%; overflow: hidden;
  background-color: #eaf0f7;
  background-image: linear-gradient(rgba(21, 58, 99, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 58, 99, .07) 1px, transparent 1px);
  background-size: 20px 20px; background-position: center;
}
.illo--dark { --il-line: #c9d7ea; --il-surface: #17406c; --il-gold: var(--gold-400); background-color: #123459; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); border: 1px solid rgba(255, 255, 255, .16); }
.illo::before, .illo::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--il-gold); pointer-events: none; }
.illo::before { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.illo::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.illo-svg { display: block; width: 100%; height: 100%; padding: 4% 6%; }
.illo-svg .s, .illo-svg .sf, .illo-svg .g, .illo-svg .t { fill: none; stroke: var(--il-line); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.illo-svg .sf { fill: var(--il-surface); }
.illo-svg .g { stroke: var(--il-gold); }
.illo-svg .t { stroke-width: 1.5; opacity: .42; }
.illo-svg .gf { fill: var(--il-gold); stroke: none; }
.illo-svg .nf { fill: var(--il-line); stroke: none; }
.illo__tag { position: absolute; left: 10px; top: 10px; padding: 4px 7px; background: var(--il-surface); color: var(--il-line); font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.08em; border: 1px solid currentColor; }
.illo--sm { width: 120px; }
.illo--sm::before, .illo--sm::after { display: none; }

/* ----------------------------------------------------------------- tiles */
.tiles { display: grid; gap: 20px; }
.tiles--import, .tiles--export { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--steel-200); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { border-color: var(--navy-700); box-shadow: 0 18px 36px -22px rgba(10, 30, 53, .45); transform: translateY(-3px); color: inherit; }
.tile__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 20px 22px; }
.tile__body p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--navy-700); font-weight: 600; font-size: 0.92rem; }
.tile__go .ic { color: var(--gold-700); transition: transform .2s; }
.tile:hover .tile__go .ic { transform: translateX(4px); }
.tile--demand { background: var(--navy-800); border-color: var(--navy-800); color: var(--on-navy); }
.tile--demand:hover { border-color: var(--navy-800); box-shadow: none; transform: none; color: var(--on-navy); }
.tile--demand .tile__body { gap: 0; padding: 28px 24px 24px; }
.tile--demand .eyebrow { margin-bottom: 14px; letter-spacing: 0.1em; }
.tile--demand .eyebrow::before { display: none; }
.tile--demand h3 { margin-bottom: 18px; color: var(--white); font-size: 1.3rem; line-height: 1.2; }
.tile--demand li { border-top: 1px solid rgba(255, 255, 255, .16); }
.tile--demand li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 13px 0; color: var(--white); font-weight: 500; font-size: 0.97rem; line-height: 1.35; text-decoration: none; }
.tile--demand li a span { font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.06em; color: var(--gold-400); }
.tile--demand li a .ic { align-self: center; color: var(--gold-400); transition: transform .2s; }
.tile--demand li a:hover { color: var(--gold-400); }
.tile--demand li a:hover .ic { transform: translateX(4px); }
.tile--demand .tile__go { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-navy-muted); text-decoration: none; }
.tile--demand .tile__go:hover { color: var(--white); }
.tile--demand .tile__go .ic { color: var(--gold-400); }
@media (max-width: 1100px) {
  .tiles--import, .tiles--export { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) { .tiles--three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .tiles--import, .tiles--export { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------- split and lists */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.split__side > h2 { margin-bottom: 20px; }
.split__side > p { margin-bottom: 24px; }
@media (min-width: 901px) { .split__side { position: sticky; top: calc(var(--header-h) + 32px); } }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.points li { padding: 20px 0 24px; border-top: 1px solid var(--steel-200); }
.points h3 { margin-bottom: 6px; }
.points p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }
.points--dark li { border-color: rgba(255, 255, 255, .16); }
.points--dark p { color: var(--on-navy-muted); }
.points--dark { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 620px) { .points { grid-template-columns: minmax(0, 1fr); } }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checks .ic { margin-top: 3px; color: var(--gold-700); }
.prose h2 { margin-bottom: 24px; }
.prose p { max-width: 64ch; }

/* --------------------------------------------------------------- sectors */
.sectors { display: grid; grid-template-columns: 1fr 1fr 2fr 1fr; gap: 0 36px; }
.sector { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); }
.sector h3 { margin-bottom: 10px; font-size: 1.3rem; }
.sector > p { margin-bottom: 18px; color: var(--on-navy-muted); font-size: 0.95rem; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 3px; color: var(--white); font: 500 0.78rem/1.2 var(--f-mono); letter-spacing: 0.03em; }
.sector__withheld { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--gold-400); font: 400 0.8rem/1.4 var(--f-mono); letter-spacing: 0.03em; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
@media (max-width: 600px) { .sectors { grid-template-columns: minmax(0, 1fr); } }

.on-light .sectors { grid-template-columns: minmax(0, 1fr); gap: 0; }
.on-light .sector { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px clamp(32px, 6vw, 88px); padding-block: 28px; border-top: 1px solid var(--steel-200); }
.on-light .sector h3 { grid-column: 1; font-size: 1.4rem; }
.on-light .sector > p { grid-column: 1; margin: 0; color: var(--muted); }
.on-light .sector > .chips, .on-light .sector > .sector__withheld { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.on-light .chips--detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.on-light .chips li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--steel-100); border-radius: 0; color: var(--ink); font: 400 0.95rem/1.4 var(--f-text); letter-spacing: 0; }
.on-light .chips li b { font-weight: 600; }
.on-light .chips li span { color: var(--muted); font-size: 0.86rem; }
.on-light .sector__withheld { color: var(--gold-700); }
@media (max-width: 800px) {
  .on-light .sector { grid-template-columns: minmax(0, 1fr); }
  .on-light .sector > .chips, .on-light .sector > .sector__withheld { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 520px) { .on-light .chips--detail { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------- principals and brands */
.principals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--steel-200); background: var(--white); }
.principal { padding: 26px 24px 28px; }
.principal + .principal { border-left: 1px solid var(--steel-200); }
.principal__country { display: inline-block; margin-bottom: 14px; padding: 4px 8px; background: var(--navy-700); color: var(--white); font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.principal h3 { margin-bottom: 8px; }
.principal p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 1000px) {
  .principals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principal:nth-child(odd) { border-left: 0; }
  .principal:nth-child(n + 3) { border-top: 1px solid var(--steel-200); }
}
@media (max-width: 560px) {
  .principals { grid-template-columns: minmax(0, 1fr); }
  .principal + .principal { border-left: 0; border-top: 1px solid var(--steel-200); }
}
.brand-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.brand-group h3 { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--steel-200); font: 500 0.78rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.brandlist { display: flex; flex-wrap: wrap; gap: 8px; }
.brandlist li { padding: 8px 13px; background: var(--white); border: 1px solid var(--steel-200); color: var(--ink); font: 600 0.92rem/1.2 var(--f-display); font-stretch: 105%; }
@media (max-width: 800px) { .brand-groups { grid-template-columns: minmax(0, 1fr); } }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy-700); color: var(--gold-400); font: 500 0.85rem/1 var(--f-mono); }
.steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -20px; height: 1px; background: var(--steel-300); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.97rem; line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------- cta */
.cta { background: var(--gold-500); color: var(--navy-900); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: clamp(40px, 5vw, 64px); }
.cta h2 { color: var(--navy-900); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta p { max-width: 56ch; color: var(--navy-900); }
.cta .btn-row { margin-top: 0; }
.cta .btn--gold { background: var(--navy-800); color: var(--white); }
.cta .btn--gold:hover { background: var(--navy-900); color: var(--white); }
.cta .btn--line-light { border-color: var(--navy-800); color: var(--navy-900); }
.cta .btn--line-light:hover { background: rgba(10, 30, 53, .1); border-color: var(--navy-900); color: var(--navy-900); }

/* ------------------------------------------------------------- page hero */
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(44px, 6vw, 80px); }
.page-hero--art .page-hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.page-hero h1 { font-size: clamp(1.95rem, 3.8vw, 3.05rem); max-width: 22ch; }
.page-hero .lead { margin-top: 20px; color: var(--on-navy); opacity: .92; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 36px; font: 400 0.76rem/1.4 var(--f-mono); letter-spacing: 0.05em; color: var(--on-navy-muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.crumbs a { color: var(--on-navy-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--white); }
.page-hero__badge { display: grid; place-items: center; }
.page-hero__badge img { width: min(300px, 62vw); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }
@media (max-width: 860px) {
  .page-hero--art .page-hero__in { grid-template-columns: minmax(0, 1fr); }
  .page-hero .illo { max-width: 420px; }
  .page-hero__badge { justify-items: start; }
  .page-hero__badge img { width: min(200px, 50vw); }
}

.plate { margin: 0; border: 1px solid rgba(255, 255, 255, .22); background: rgba(10, 30, 53, .45); }
.plate > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 15px 20px; }
.plate > div + div { border-top: 1px solid rgba(255, 255, 255, .14); }
.plate dt { padding-top: 2px; color: var(--gold-400); font: 500 0.7rem/1.5 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.plate dd { margin: 0; color: var(--white); font: 400 0.9rem/1.5 var(--f-mono); }
@media (max-width: 860px) { .plate { max-width: 460px; } }
@media (max-width: 420px) { .plate > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.notfound .page-hero__in { padding-block: clamp(64px, 10vw, 140px); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 32px; }
.notfound__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold-500); padding-bottom: 3px; }
.notfound__links a:hover { color: var(--gold-400); }
.notfound__links .ic { color: var(--gold-400); }

/* -------------------------------------------------------- category page */
.cat { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px clamp(32px, 5vw, 72px); align-items: start; }
.cat__intro { max-width: 64ch; margin-bottom: 44px; color: var(--ink); font-size: 1.16rem; line-height: 1.65; }
.group { margin-bottom: 44px; }
.group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 2px solid var(--navy-700); }
.group h2 { font-size: 1.32rem; letter-spacing: -0.005em; }
.group__count { flex: none; font: 400 0.75rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-top: 14px; }
.items li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px solid var(--steel-100); color: var(--ink); line-height: 1.45; }
.items li::before { content: ""; position: absolute; left: 0; top: 1.08em; width: 7px; height: 7px; background: var(--gold-500); }
.group--plain > header { border-top-width: 1px; border-top-color: var(--steel-300); margin-bottom: 18px; }
.note { margin: 28px 0 0; padding: 22px 24px; background: var(--paper); border: 1px solid var(--steel-200); }
.note h3 { margin-bottom: 6px; font: 500 0.76rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); }
.note p { color: var(--ink); }
.note--gold { margin: 0 0 44px; background: #fbf4e2; border-color: #ecd596; }
.cat__fine { color: var(--muted); font-size: 0.95rem; }
.cat__aside { display: grid; gap: 24px; }
@media (min-width: 981px) { .cat__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.quotebox { padding: 28px; background: var(--navy-800); color: var(--on-navy); }
.quotebox h2 { margin-bottom: 10px; color: var(--white); font-size: 1.3rem; }
.quotebox p { margin-bottom: 20px; font-size: 0.97rem; line-height: 1.6; }
.quotebox__lines { display: grid; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 0.92rem; }
.quotebox__lines a { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.quotebox__lines a:hover { color: var(--gold-400); }
.quotebox__lines .ic { color: var(--gold-400); }
.catnav { border: 1px solid var(--steel-200); padding: 20px 8px 8px; }
.catnav h2 { margin: 0 12px 10px; font: 500 0.74rem/1.4 var(--f-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.catnav a { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; color: var(--ink); font-size: 0.94rem; line-height: 1.35; text-decoration: none; }
.catnav a span { flex: none; font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.05em; color: var(--gold-700); }
.catnav a:hover { background: var(--paper); }
.catnav a[aria-current] { background: var(--navy-700); color: var(--white); }
.catnav a[aria-current] span { color: var(--gold-400); }
@media (max-width: 980px) { .cat { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .items { grid-template-columns: minmax(0, 1fr); } }
.pager { border-top: 1px solid var(--steel-200); }
.pager__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pager a { display: flex; flex-direction: column; gap: 6px; padding: 28px 0; color: var(--ink); font: 600 1.05rem/1.3 var(--f-display); text-decoration: none; }
.pager a + a { align-items: flex-end; padding-left: 24px; text-align: right; border-left: 1px solid var(--steel-200); }
.pager a span { font: 400 0.72rem/1 var(--f-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.pager a:hover { color: var(--navy-600); }

/* ---------------------------------------------------- import index rows */
.rows { border-bottom: 1px solid var(--steel-200); }
.row { display: grid; grid-template-columns: 72px 120px minmax(0, 1fr) 40px; align-items: center; gap: 24px; padding: 22px 12px 22px 0; border-top: 1px solid var(--steel-200); color: inherit; text-decoration: none; transition: background-color .18s, padding .18s; }
.row:hover { background: var(--paper); padding-left: 12px; padding-right: 0; color: inherit; }
.row__code { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.08em; color: var(--gold-700); }
.row__main { display: grid; gap: 4px; }
.row__name { color: var(--ink); font: 700 1.3rem/1.2 var(--f-display); font-stretch: 108%; }
.row__blurb { color: var(--body); line-height: 1.5; }
.row__groups { color: var(--muted); font: 400 0.76rem/1.5 var(--f-mono); letter-spacing: 0.02em; }
.row__go { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--steel-300); color: var(--navy-700); transition: background-color .18s, color .18s, border-color .18s; }
.row:hover .row__go { background: var(--navy-700); border-color: var(--navy-700); color: var(--gold-400); }
@media (max-width: 720px) {
  .row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px 16px; align-items: start; }
  .row__code { grid-column: 1 / -1; }
  .illo--sm { width: 84px; }
  .row__go { display: none; }
  .row__name { font-size: 1.12rem; }
}

/* ----------------------------------------------------------------- about */
.split--facts { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.facts { margin: 0; border-bottom: 1px solid var(--steel-200); }
.facts > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--steel-200); }
.facts dt { padding-top: 3px; font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); line-height: 1.5; }
@media (max-width: 900px) { .split--facts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 88px); margin-bottom: clamp(48px, 6vw, 80px); }
.vm__txt { color: var(--white); font: 500 clamp(1.15rem, 1.7vw, 1.4rem)/1.5 var(--f-display); font-stretch: 100%; }
.band--navy .vm__txt { color: var(--white); }
.values__label { margin-bottom: 0; }
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin-top: 20px; }
.values li { padding: 20px 0 8px; border-top: 1px solid rgba(255, 255, 255, .22); }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--on-navy-muted); font-size: 0.93rem; line-height: 1.55; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .vm { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: minmax(0, 1fr); } }
.timeline { position: relative; max-width: 860px; }
.timeline li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 28px; padding: 0 0 30px 0; }
.timeline li::before { content: ""; position: absolute; left: 110px; top: 8px; bottom: -8px; width: 1px; margin-left: 13.500px; background: var(--steel-300); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 110px; top: 7px; width: 9px; height: 9px; margin-left: 9.500px; background: var(--gold-500); outline: 4px solid var(--paper); }
.timeline__yr { color: var(--navy-700); font: 500 1rem/1.5 var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.timeline p { padding-left: 28px; color: var(--ink); }
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 76px minmax(0, 1fr); gap: 20px; }
  .timeline li::before, .timeline li::after { left: 76px; }
  .timeline__yr { font-size: 0.88rem; }
}
.markets { display: grid; margin-top: 8px; }
.markets li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); color: var(--white); font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--f-display); font-stretch: 112%; }

/* --------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px clamp(32px, 6vw, 88px); align-items: start; }
.form h2, .contact__side h2 { margin-bottom: 24px; font-size: 1.6rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 7px; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.field abbr { color: var(--gold-700); text-decoration: none; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--steel-300); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 400 1rem/1.4 var(--f-text); }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(201, 150, 43, .35); }
.field .is-invalid { border-color: #b3261e; }
.form .btn-row { margin-top: 24px; }
.form__status { margin: 20px 0 0; padding: 14px 16px; background: #fbf4e2; border: 1px solid #ecd596; color: var(--ink); font-size: 0.95rem; }
.form__status.is-error { background: #fdecea; border-color: #f0b4ae; }
.form__fine { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.contact__list { display: grid; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--steel-200); }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--steel-200); color: var(--ink); line-height: 1.55; }
.contact__list .ic { margin-top: 4px; color: var(--gold-700); }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--navy-600); text-decoration: underline; }
.map { margin-bottom: 16px; border: 1px solid var(--steel-200); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); font-size: 0.93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr 1.35fr 1fr 1.1fr; gap: 40px clamp(24px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px) 48px; }
.site-footer__brand img { width: 112px; height: 112px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 34ch; line-height: 1.6; }
.site-footer h2 { margin-bottom: 16px; color: var(--gold-400); font: 500 0.74rem/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer h2.mt { margin-top: 32px; }
.site-footer li { margin-bottom: 9px; line-height: 1.4; }
.site-footer a { color: var(--on-navy); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer address { margin-bottom: 16px; line-height: 1.65; color: var(--on-navy); }
.site-footer__contact { line-height: 1.9; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font: 400 0.74rem/1.5 var(--f-mono); letter-spacing: 0.03em; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .h-pulse { display: none; }
}
@media print {
  .topbar, .site-header, .cta, .pager, .nav-toggle { display: none; }
  .hero, .page-hero, .band--navy { background: none; color: #000; }
}
