:root {
  --ink: #0a1119;
  --navy: #101a24;
  --panel: #162330;
  --cream: #efe9dc;
  --paper: #f8f5ee;
  --brass: #cf9f66;
  --brass-deep: #7f5624;
  --ember: #d9503f;
  --ember-deep: #b23224;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --track: 0.14em;
  --radius: 2px;
}
[dir='rtl'] {
  --sans: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
  --track: 0; /* Letter-spacing breaks Arabic joining. */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: #fff; font: 400 1rem/1.65 var(--sans); overflow-x: hidden; }
[dir='rtl'] body { line-height: 1.85; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.arr { display: inline-block; transition: transform .25s; }
[dir='rtl'] .arr { transform: scaleX(-1); }
a:hover .arr { transform: translateX(4px); }
[dir='rtl'] a:hover .arr, [dir='rtl'] button:hover .arr { transform: scaleX(-1) translateX(4px); }
bdi { unicode-bidi: isolate; }

/* Section tones set the local colour roles every block reads from. */
.tone-dark { --bg: var(--ink); --fg: #fff; --muted: #a9b6c2; --line: rgba(255,255,255,.14); --accent: var(--brass); --surface: var(--navy); --warn: var(--ember); }
.tone-mid { --bg: var(--panel); --fg: #fff; --muted: #b5c1cc; --line: rgba(255,255,255,.16); --accent: var(--brass); --surface: rgba(255,255,255,.05); --warn: var(--ember); }
.tone-light { --bg: var(--cream); --fg: #17212b; --muted: #4f5a64; --line: rgba(23,33,43,.18); --accent: var(--brass-deep); --surface: var(--paper); --warn: var(--ember-deep); }
.sec { background: var(--bg); color: var(--fg); padding-block: clamp(56px, 8vw, 104px); }
.sec > .wrap > * + * { margin-top: clamp(28px, 4vw, 44px); }
.sec-head { max-width: 820px; }
.sec-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; margin-top: 10px; text-wrap: balance; }
[dir='rtl'] .sec-head h2 { letter-spacing: 0; line-height: 1.35; font-weight: 400; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); margin-top: 16px; max-width: 70ch; }
.eyebrow { display: block; font-size: .78rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent, var(--brass)); }
[dir='rtl'] .eyebrow { font-size: .9rem; text-transform: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(10,17,25,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.1); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 24px; height: auto; }
.brand b { display: block; font-weight: 700; font-style: italic; font-size: 1.02rem; letter-spacing: .03em; line-height: 1.1; text-transform: uppercase; }
.brand small { display: block; font-size: .66rem; color: #c3ccd5; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; }
[dir='rtl'] .brand b { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
[dir='rtl'] .brand small { font-size: .72rem; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 16px; }
.site-nav > ul { display: flex; gap: 2px; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 22px 11px; font-size: .9rem; color: #dce3e9; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current] { color: #fff; border-bottom-color: var(--brass); }
.has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); margin-inline-start: 8px; }
.sub { position: absolute; inset-inline-start: 0; top: 100%; min-width: 250px; background: var(--navy); border: 1px solid rgba(255,255,255,.14); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; font-size: .9rem; color: #dce3e9; }
.sub a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-tools { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { font-size: .9rem; color: #dce3e9; padding: 6px 4px; }
.lang:hover { color: var(--brass); }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ''; position: absolute; inset-inline-start: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
[aria-expanded='true'] .bars { background: transparent; }
[aria-expanded='true'] .bars::before { top: 0; transform: rotate(45deg); }
[aria-expanded='true'] .bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brass); color: #14100a; border: 1px solid var(--brass); padding: 13px 24px; font: 500 .96rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; border-radius: var(--radius); }
.btn:hover { background: #e2b681; border-color: #e2b681; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.more { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 52vh, 540px); }
.hero-home { min-height: calc(100svh - 69px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,25,.96) 0%, rgba(10,17,25,.72) 42%, rgba(10,17,25,.28) 100%); }
.hero > .wrap { position: relative; z-index: 1; width: 100%; }
.hero-body { padding-block: clamp(56px, 8vw, 88px) clamp(36px, 5vw, 56px); }
.hero h1 { font-size: clamp(2.05rem, 5vw, 3.75rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; max-width: 21ch; margin-top: 14px; text-wrap: balance; }
.hero-home h1 { font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.06; }
[dir='rtl'] .hero h1 { letter-spacing: 0; line-height: 1.3; font-weight: 400; }
.hero .lead { color: #d3dbe2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255,255,255,.22); padding-block: 22px 28px; }
.hero-facts dt { font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--brass); }
[dir='rtl'] .hero-facts dt { font-size: .85rem; }
.hero-facts dd { font-size: .94rem; margin-top: 4px; }

/* Page anchors */
.toc { position: sticky; top: 69px; z-index: 40; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.1); }
.toc .wrap { display: flex; align-items: center; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.toc span { flex: none; font-size: .74rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--brass); }
.toc ul { display: flex; gap: 2px; }
.toc a { display: block; padding: 13px 10px; font-size: .88rem; color: #cfd7de; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.toc a:hover, .toc a.on { color: #fff; border-bottom-color: var(--brass); }

/* Grids and cards */
.grid { display: grid; gap: 1px; }
.gap-lg { gap: clamp(20px, 3vw, 32px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid:not(.gap-lg):not(.link-grid) { background: var(--line); border: 1px solid var(--line); }
.card { background: var(--surface); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { font-size: 1.14rem; font-weight: 500; line-height: 1.35; }
.card p:not(.eyebrow):not(.code-lg) { color: var(--muted); font-size: .96rem; }
.card b, .prose b, .ticks b { color: var(--fg); font-weight: 600; }
.card .card-foot, .card-foot { color: var(--accent) !important; font-size: .88rem !important; margin-top: auto; padding-top: 6px; }
.num { font: 400 .95rem var(--mono); color: var(--accent); }
.code-lg { font: 500 1.14rem var(--mono); color: var(--accent); direction: ltr; text-align: start; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-inline-start: 18px; color: var(--muted); font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: .72em; width: 8px; height: 1px; background: var(--accent); }
.h-sm { font-size: 1.2rem; font-weight: 500; margin-bottom: 14px; }

.stack > * + * { margin-top: 22px; }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); max-width: 72ch; }
.prose-lg p { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 300; line-height: 1.45; color: var(--fg); max-width: 34ch; }
.prose a, .note a, .source a { color: var(--accent); }
.note { border-inline-start: 2px solid var(--accent); background: var(--surface); padding: 18px 22px; }
.note p:not(.eyebrow) { color: var(--muted); font-size: .96rem; }
.note .eyebrow { margin-bottom: 6px; }
.note b { color: var(--fg); }
.source { font-size: .82rem; color: var(--muted); }
.quote p { font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 300; line-height: 1.35; color: var(--fg); }
[dir='rtl'] .quote p { line-height: 1.6; font-weight: 400; }
.quote footer { margin-top: 12px; color: var(--accent); font-size: .92rem; }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip .split-body { order: 2; }
.split-body > * + * { margin-top: 24px; }
.split-img img { width: 100%; max-height: 640px; object-fit: cover; aspect-ratio: 4 / 4.4; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.band img { width: 100%; aspect-ratio: 21 / 6; object-fit: cover; }

/* Value chain rail */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); position: relative; }
.chain::before { content: ''; position: absolute; top: 15px; inset-inline: 0; height: 1px; background: var(--line); }
.chain a { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.chain-node { position: relative; z-index: 1; display: flex; margin-bottom: 18px; }
.chain-node span { background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font: 400 .78rem var(--mono); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; transition: .2s; }
.chain a:hover .chain-node span { background: var(--accent); color: var(--ink); }
.chain img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 16px; filter: saturate(.85); transition: filter .3s; }
.chain a:hover img { filter: none; }
.chain strong { font-size: 1.16rem; font-weight: 500; margin-top: 4px; }
.chain-text { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* Image link panels */
.link-grid { gap: clamp(16px, 2vw, 24px); }
.link-card { position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; min-height: clamp(280px, 30vw, 400px); background: var(--ink); }
.link-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.link-card:hover img { transform: scale(1.04); }
.link-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,25,.95) 8%, rgba(10,17,25,.25) 70%); }
.link-card-body { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 6px; }
.link-card .eyebrow { color: var(--brass); }
.link-card strong { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; }
.link-card-body > span:last-child { color: #d3dbe2; font-size: .96rem; max-width: 52ch; }

/* Tables */
.tbl figcaption { font-size: .78rem; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent); margin: 0 0 10px; font-weight: 500; }
[dir='rtl'] .tbl figcaption { font-size: .92rem; }
.tbl-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: start; padding: 13px 16px 13px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
[dir='rtl'] th, [dir='rtl'] td { padding: 13px 0 13px 16px; }
thead th { font-size: .72rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
[dir='rtl'] thead th { font-size: .86rem; }
tbody th { font-weight: 500; white-space: nowrap; color: var(--fg); }
td { color: var(--muted); min-width: 130px; }
.tbl table { min-width: 100%; }

/* Stats */
.stats { display: grid; gap: clamp(20px, 3vw, 36px); }
.stats.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats > div { display: flex; flex-direction: column; border-top: 1px solid var(--accent); padding-top: 14px; }
.stats dd { order: -1; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 300; color: var(--accent); line-height: 1.1; }
.stats dt { font-size: .95rem; color: var(--fg); margin-top: 8px; }
.stats .src { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.stats.compact { gap: 16px; }
.stats.compact > div { border-top: 0; padding-top: 0; }
.stats.compact dd { font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.25; }
.stats.compact dt { font-size: .82rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.steps li { border-top: 1px solid var(--accent); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.steps h3 { font-size: 1.14rem; font-weight: 500; }
.steps > li > p { color: var(--muted); font-size: .96rem; }

/* Projects */
.project { background: var(--surface); display: flex; flex-direction: column; }
.project figure { position: relative; }
.project img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.project figcaption { position: absolute; inset-inline-end: 8px; bottom: 8px; margin: 0; background: rgba(10,17,25,.7); color: #dce3e9; padding: 2px 8px; font-size: .72rem; }
.project-body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 12px; }
.project h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 400; line-height: 1.3; }
.project-body > p:not(.eyebrow) { color: var(--muted); }
.project-outcome { border-inline-start: 2px solid var(--accent); padding-inline-start: 14px; font-size: .95rem; }
.project-outcome .eyebrow { margin-bottom: 4px; }

/* Offices */
.office img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; }
.office h3 { font-size: 1.6rem; font-weight: 300; margin-top: 4px; }
.office p:not(.eyebrow) { color: var(--muted); font-size: .96rem; }
.office-role { margin-top: 10px; }
.office-links { display: grid; justify-items: start; gap: 2px; margin-top: 14px; }
.office-links a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; padding-block: 3px; unicode-bidi: isolate; }

/* Incoterms tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tablist button { flex: 1 1 200px; background: var(--surface); border: 0; color: var(--muted); font: 500 .92rem var(--sans); padding: 14px; cursor: pointer; text-align: start; border-bottom: 2px solid transparent; }
.tablist button[aria-selected='true'] { color: var(--fg); border-bottom-color: var(--accent); }
.tabpanel { background: var(--surface); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-top: 0; }
.tabpanel h3 { font-size: 1.3rem; font-weight: 400; margin-top: 14px; }
.tabpanel p { color: var(--muted); margin-top: 8px; max-width: 72ch; }
.tabs.js .tabpanel[hidden] { display: none; }
.tabs:not(.js) .tablist { display: none; }
.codes { display: flex; flex-wrap: wrap; gap: 6px; direction: ltr; justify-content: flex-start; }
[dir='rtl'] .codes { justify-content: flex-end; }
.codes span { font: 500 .9rem var(--mono); border: 1px solid var(--accent); color: var(--accent); padding: 3px 10px; }

/* H2S ladder */
.ladder { display: grid; gap: 2px; }
.rung { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr) minmax(170px, 1.2fr); gap: 16px; align-items: center; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.rung-label { font-weight: 500; }
.rung-basis { color: var(--muted); }
.rung-bar { display: block; width: var(--w); min-width: fit-content; background: var(--accent); color: #fff; padding: 3px 10px; }
.rung-bar b { font: 500 .84rem var(--mono); white-space: nowrap; }
.rung.danger .rung-bar { background: var(--warn); }
.rung.danger .rung-label { color: var(--warn); }

/* Standards index */
.std-search { display: grid; gap: 6px; max-width: 480px; font-weight: 500; }
.std-group { margin-top: 32px; }
.std-group h3 { font-size: 1.14rem; font-weight: 500; margin-bottom: 8px; }
.std-group li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); font-size: .95rem; }
.std-group .code { font: 500 .92rem var(--mono); }
.std-group li span { color: var(--muted); }
.std-empty { margin-top: 24px; color: var(--muted); }

/* Forms */
input, select, textarea { width: 100%; font: 400 1rem var(--sans); color: #17212b; background: var(--paper); border: 1px solid rgba(23,33,43,.35); padding: 12px 14px; border-radius: var(--radius); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass-deep); outline-offset: 0; border-color: var(--brass-deep); }
[dir='rtl'] input[dir='ltr'] { text-align: right; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 860px; }
.field { display: grid; gap: 6px; font-size: .94rem; font-weight: 500; }
.wide { grid-column: 1 / -1; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot p { color: var(--muted); font-size: .9rem; flex: 1 1 260px; }
.tone-light .btn { background: #17212b; border-color: #17212b; color: #fff; }
.tone-light .btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); }

/* Footer */
.site-foot { background: var(--navy); color: #cfd7de; padding-block: 56px 28px; font-size: .94rem; border-top: 1px solid rgba(255,255,255,.1); }
.foot-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand img { width: 34px; height: auto; margin-bottom: 12px; }
.foot-brand p + p { margin-top: 10px; }
.foot-name { color: #fff; font-weight: 500; }
.foot-brand { max-width: 380px; }
.site-foot h2 { font-size: .76rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
[dir='rtl'] .site-foot h2 { font-size: .9rem; }
.site-foot ul a { display: inline-block; padding-block: 4px; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: #a9b6c2; }

/* Gentle reveal; only applied once JS has confirmed it can undo it. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 1180px) {
  /* backdrop-filter would make the header the containing block of the fixed menu. */
  .site-head { backdrop-filter: none; background: var(--ink); }
  .menu-btn { display: block; }
  .site-nav { display: none; position: fixed; inset: 69px 0 0; background: var(--ink); padding: 16px var(--gutter) 32px; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li > a { padding: 13px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 4px 0 8px; padding-inline-start: 14px; }
  .sub li:first-child { display: none; }
  .nav-tools { justify-content: space-between; margin-top: 8px; }
}
@media (max-width: 1000px) {
  .cols-4, .cols-5, .chain, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3:not(.stats) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offices.cols-3 { grid-template-columns: 1fr; }
  .office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 24px; align-content: start; }
  .office img { grid-row: 1 / span 6; margin: 0; height: 100%; }
  .chain::before { display: none; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; max-width: none; }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-body { order: 0; }
  .split-img img { aspect-ratio: 16 / 9; }
  .rung { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .cols-2, .cols-3:not(.stats), .cols-4, .cols-5, .chain, .steps, .form, .std-group li { grid-template-columns: minmax(0, 1fr); }
  .stats.cols-2, .stats.cols-3:not(.compact) { grid-template-columns: minmax(0, 1fr); }
  .stats.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .office { display: block; }
  .office img { height: auto; margin-bottom: 16px; }
  .band img { aspect-ratio: 16 / 9; }
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .hero-home { min-height: calc(100svh - 69px); }
  .hero-facts { gap: 16px; }
  .hero-facts dd { font-size: .88rem; }
  .btn { padding-inline: 18px; }
  tbody th { white-space: normal; min-width: 110px; }
  .brand small { font-size: .62rem; }
}
.stats.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .stats.cols-3:not(.compact) { grid-template-columns: minmax(0, 1fr); } }
