/* ============================================================================
   WANPORTS public site — C3 stylesheet (2026-09-20).

   One shared, cacheable file for every public page: home, about, oem-odm,
   trade-guide, cases, privacy, terms, category placeholders, the error page.

   C3 (Eason, 2026-09-20): a modern industrial supply brand — clear, credible,
   precise. Warm off-white ground, white content surfaces, near-black text, a
   restrained brick-red accent, a dark blue-green functional panel, a sage tint,
   thin light rules; wide navigation, large headings, photographic scenes, light
   and dark bands alternating. The C3 sheets are the LIGHT theme. The dark theme
   keeps the same structure on a warm dark ground so the existing toggle, the
   clock default and the stored preference all keep working unchanged (the
   pre-paint script in the layout head sets data-theme="light"; no attribute is
   dark, exactly as before).

   Rules of the file:
   - every colour is a token; components never carry a theme-specific literal;
   - :root holds the dark values, :root[data-theme="light"] the C3 values;
   - class names are the ones the templates, public.js / home.js / oem.js /
     trade.js / cases.js and the tests already use — this is a restyle, not a
     rename;
   - no external resources: system font stack, inline SVG artwork, self-hosted
     logo via /media/branding/logo. Every page renders complete without
     JavaScript (reveal animations default to visible via <noscript> and
     prefers-reduced-motion; the tabs and the accordion degrade to stacked
     content and native <details>).
   ========================================================================== */


/* ==================== 1. tokens ==================== */
:root {
    /* --- dark theme (no data-theme attribute) — the C3 structure on a warm dark ground */
    --bg-0: #15191b;
    --bg-1: #1a1f21;
    --surface: #1f2528;
    --surface-2: #242b2e;
    --panel: #1f2528;
    --panel-2: #262d31;
    --sage: #26302d;
    --dark: #24373b;
    --dark-2: #1c2b2e;
    --dark-ink: #eceae4;
    --dark-ink-soft: #b3bcba;
    --cta-bg: #16191b;
    --footer-bg: #121516;
    --text: #e7e5df;
    --text-strong: #ffffff;
    --text-soft: #a4aaa9;
    --faq-answer: #cfd2cd;
    --accent: #d9654f;
    --accent-strong: #e07a66;
    --accent-ink: #ffffff;
    --accent-soft: rgba(217, 101, 79, 0.14);
    --accent-line: rgba(217, 101, 79, 0.45);
    --gold: #d9b24c;
    --gold-soft: rgba(217, 178, 76, 0.14);
    --ok: #7fd1a8;
    --ok-soft: rgba(127, 209, 168, 0.14);
    --warn: #ff8a70;
    --info: #6fb6e8;
    --line: rgba(255, 255, 255, 0.10);
    --line-soft: rgba(255, 255, 255, 0.08);
    --line-mid: rgba(255, 255, 255, 0.16);
    --line-strong: rgba(255, 255, 255, 0.24);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-strong: rgba(255, 255, 255, 0.10);
    --chip-bg: rgba(255, 255, 255, 0.06);
    --map-bg: #1b2124;
    --map-halo: #1b2124;
    --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-2: 0 18px 44px rgba(0, 0, 0, 0.45);
    --logo-filter: brightness(0) invert(1);
    --focus: var(--accent-strong);
    /* legacy accent names kept for inline styles and the JS-built route cards */
    --amber: #c9a227;
    --amber-bright: #d9b24c;
    --amber-line: rgba(217, 178, 76, 0.45);
    --accent-fill-a: #d9654f;
    --accent-fill-b: #c4543f;
    --ink-on-amber: #ffffff;
    --scene-bg: #1f2528;
    --scene-ink: #e7e5df;
    /* inline light-text literals that used to be in the markup */
    --fg-01: rgba(231, 229, 223, 0.75);
    --fg-02: rgba(231, 229, 223, 0.78);
    --fg-03: rgba(231, 229, 223, 0.6);
    --fg-04: #e7e5df;
    --fg-05: #d9b24c;
    /* SVG artwork colours that live in CSS (world map, isometric containers, vessel) */
    --art-01: rgba(164, 170, 169, 0.45);
    --art-02: rgba(217, 178, 76, 0.13);
    --art-03: #e7e5df;
    --art-04: #a4aaa9;
    --art-05: #8ea0b6;
    --art-06: rgba(142, 160, 182, 0.14);
    --art-07: #b9c4d2;
    --art-08: #d9b24c;
    --art-09: rgba(111, 182, 232, 0.25);
    --art-10: rgba(217, 178, 76, 0.25);
    --art-11: rgba(127, 209, 168, 0.25);
    --art-12: rgba(231, 229, 223, 0.07);
    --art-13: rgba(231, 229, 223, 0.04);
    --art-14: rgba(231, 229, 223, 0.02);
    --art-15: rgba(231, 229, 223, 0.5);
    --art-16: rgba(231, 229, 223, 0.16);
    --art-17: rgba(231, 229, 223, 0.1);
    --art-18: rgba(217, 178, 76, 0.55);
    /* dark literals the artwork and a few inline styles still reference */
    --ink-03: #1f2528;
    --ink-07: rgba(21, 25, 27, 0.72);
    --ink-08: rgba(0, 0, 0, 0.45);
    --ink-09: rgba(21, 25, 27, 0.96);
    --ink-10: rgba(0, 0, 0, 0.6);
    --ink-11: #1d2326;
    --ink-12: #181d1f;
    --ink-13: rgba(21, 25, 27, 0);
    --ink-14: rgba(21, 25, 27, 0.55);
    --ink-15: rgba(21, 25, 27, 0.55);
    --ink-16: rgba(0, 0, 0, 0.5);
    --ink-17: rgba(21, 25, 27, 0.55);
    --ink-18: rgba(21, 25, 27, 0.5);
    --ink-19: #1b2124;
    --ink-20: rgba(0, 0, 0, 0.35);
    --ink-21: #121516;
    --ink-22: rgba(21, 25, 27, 0.12);
    --ink-23: rgba(21, 25, 27, 0.85);
    --ink-24: #14181a;
    --ink-25: rgba(21, 25, 27, 0.66);
    --ink-26: rgba(21, 25, 27, 0.05);
    --ink-27: rgba(21, 25, 27, 0.6);
    --ink-28: rgba(21, 25, 27, 0.65);
    /* shape and type */
    --radius-btn: 7px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;
    --font-stack: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto,
        Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --container: 1320px;
    --gutter: 32px;
    --header-h: 74px;
}

/* --- light theme = C3 (data-theme="light", set by the toggle or the clock) --- */
:root[data-theme="light"] {
    --bg-0: #f6f5f1;
    --bg-1: #f0efea;
    --surface: #ffffff;
    --surface-2: #f6f5f1;
    --panel: #ffffff;
    --panel-2: #f6f5f1;
    --sage: #e8ede5;
    --dark: #24373b;
    --dark-2: #1d2c2f;
    --dark-ink: #f1f0ec;
    --dark-ink-soft: #b8c3c1;
    --cta-bg: #1e2427;
    --footer-bg: #1a1f21;
    --text: #1d2123;
    --text-strong: #111416;
    --text-soft: #676f70;
    --faq-answer: #3f4547;
    --accent: #b84332;
    --accent-strong: #a33a2b;
    --accent-ink: #ffffff;
    --accent-soft: rgba(184, 67, 50, 0.08);
    --accent-line: rgba(184, 67, 50, 0.35);
    --gold: #c39a2a;
    --gold-soft: rgba(195, 154, 42, 0.12);
    --ok: #3f8f5f;
    --ok-soft: rgba(63, 143, 95, 0.12);
    --warn: #b84332;
    --info: #3d6a94;
    --line: #e3e1da;
    --line-soft: #ebe9e3;
    --line-mid: #d9d6ce;
    --line-strong: #c4c1b8;
    --glass: rgba(29, 33, 35, 0.04);
    --glass-strong: rgba(29, 33, 35, 0.08);
    --chip-bg: #edece6;
    --map-bg: #edece6;
    --map-halo: #edece6;
    --shadow-1: 0 8px 24px rgba(29, 33, 35, 0.08);
    --shadow-2: 0 18px 44px rgba(29, 33, 35, 0.12);
    --logo-filter: none;
    --focus: var(--accent);
    --amber: #b8891b;
    --amber-bright: #c39a2a;
    --amber-line: rgba(195, 154, 42, 0.45);
    --accent-fill-a: #b84332;
    --accent-fill-b: #a33a2b;
    --ink-on-amber: #ffffff;
    --scene-bg: #edece6;
    --scene-ink: #1d2123;
    --fg-01: rgba(29, 33, 35, 0.75);
    --fg-02: rgba(29, 33, 35, 0.78);
    --fg-03: rgba(29, 33, 35, 0.6);
    --fg-04: #1d2123;
    --fg-05: #b8891b;
    --art-01: rgba(103, 111, 112, 0.45);
    --art-02: rgba(184, 67, 50, 0.12);
    --art-03: #1d2123;
    --art-04: #676f70;
    --art-05: #4a5b6e;
    --art-06: rgba(74, 91, 110, 0.14);
    --art-07: #3c4b5c;
    --art-08: #c39a2a;
    --art-09: rgba(61, 106, 148, 0.25);
    --art-10: rgba(195, 154, 42, 0.28);
    --art-11: rgba(63, 143, 95, 0.25);
    --art-12: rgba(29, 33, 35, 0.06);
    --art-13: rgba(29, 33, 35, 0.035);
    --art-14: rgba(29, 33, 35, 0.02);
    --art-15: rgba(29, 33, 35, 0.55);
    --art-16: rgba(29, 33, 35, 0.2);
    --art-17: rgba(29, 33, 35, 0.12);
    --art-18: rgba(195, 154, 42, 0.6);
    --ink-03: #edece6;
    --ink-07: rgba(246, 245, 241, 0.92);
    --ink-08: rgba(29, 33, 35, 0.08);
    --ink-09: rgba(255, 255, 255, 0.98);
    --ink-10: rgba(29, 33, 35, 0.14);
    --ink-11: #f6f5f1;
    --ink-12: #f0efea;
    --ink-13: rgba(246, 245, 241, 0);
    --ink-14: rgba(246, 245, 241, 0.55);
    --ink-15: rgba(246, 245, 241, 0.55);
    --ink-16: rgba(29, 33, 35, 0.12);
    --ink-17: rgba(246, 245, 241, 0.55);
    --ink-18: rgba(246, 245, 241, 0.5);
    --ink-19: #edece6;
    --ink-20: rgba(29, 33, 35, 0.08);
    --ink-21: #1a1f21;
    --ink-22: rgba(246, 245, 241, 0.12);
    --ink-23: rgba(246, 245, 241, 0.85);
    --ink-24: #24373b;
    --ink-25: rgba(213, 214, 205, 0.5);
    --ink-26: rgba(29, 33, 35, 0.05);
    --ink-27: rgba(29, 33, 35, 0.6);
    --ink-28: rgba(255, 255, 255, 0.9);
}


/* ==================== 2. base ==================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: anywhere; }
h3, h4 { line-height: 1.25; }
p, li, dd, dt, blockquote { overflow-wrap: anywhere; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 960px; }
.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; }

/* accessibility: skip link + visible keyboard focus */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 0 0 var(--radius-btn) 0; font-weight: 700; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* --- type scale --- */
.kicker, .eyebrow {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 22px;
    font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent);
}
.kicker::before, .eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.45em; align-self: flex-start; background: var(--accent); }
.kicker, .eyebrow { align-items: flex-start; }
.kicker.on-dark { color: var(--accent-strong); }
h1 { margin: 0 0 22px; font-size: clamp(42px, 6.2vw, 84px); line-height: 1.0; font-weight: 700; letter-spacing: -0.035em; color: var(--text-strong); }
h2 { margin: 0; font-size: clamp(32px, 3.9vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; color: var(--text-strong); }
h1 em, h2 em, h3 em, .cta-band h2 em { font-style: normal; color: var(--accent); }
.lead, .hero-lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; color: var(--text-soft); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.s-a { background: var(--surface); }
.s-b { background: var(--bg-0); }
.s-a + .s-a, .s-b + .s-b { border-top: 1px solid var(--line); }

/* section head: kicker + heading left; the lead or the boundary note right, bottom-aligned.
   .sh-lead-right puts the lead paragraph in the right column (flow, operating system). */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); column-gap: clamp(32px, 6vw, 96px); row-gap: 18px; align-items: end; margin: 0 0 clamp(36px, 4vw, 56px); }
.section-head > .kicker { grid-column: 1; margin: 0 0 4px; align-self: start; }
.section-head > h2 { grid-column: 1; max-width: 14ch; }
.section-head > p:not(.kicker) { grid-column: 1; margin: 4px 0 0; max-width: 560px; font-size: 16.5px; color: var(--text-soft); }
.section-head > .boundary-note { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; }
.section-head.sh-lead-right > p:not(.kicker) { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; }
.section-head.sh-lead-right > .boundary-note { grid-row: 3; }
.section-head.sh-center { display: block; text-align: center; }
.section-head.sh-center > h2 { max-width: none; margin: 0 auto; }
.section-head.sh-center > p:not(.kicker) { margin: 14px auto 0; }
.section-head.sh-center > .kicker { justify-content: center; }

/* split sections: the head is a left column, the content the right one */
.section.split > .container { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.section.split > .container > .section-head { grid-column: 1; grid-row: 1; display: block; margin: 0; position: sticky; top: calc(var(--header-h) + 28px); }
.section.split > .container > .split-body { grid-column: 2; grid-row: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.section.split > .container > .split-body > * { min-width: 0; }
.section.split > .container > .split-body > .reveal { margin: 0; }
.section.split .section-head > h2 { max-width: none; font-size: clamp(30px, 3.2vw, 44px); }
.section.split .section-head > p:not(.kicker) { margin-top: 18px; font-size: 15.5px; }
.section.split .section-head > .boundary-note { margin-top: 22px; }

.boundary-note, .hero-boundary, .mfg1-boundary {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 18px; border-radius: var(--radius-md);
    background: var(--sage); border: 1px solid transparent;
    font-size: 13.5px; line-height: 1.6; color: var(--text-soft); text-align: left;
}
.boundary-note svg, .hero-boundary svg, .mfg1-boundary svg { flex: none; margin-top: 2px; stroke: var(--text-soft); }
.hero-boundary { max-width: none; margin: 0; }
.mfg1-boundary { max-width: 720px; margin: 14px auto 0; }

.scene-tag {
    position: absolute; left: 16px; bottom: 16px; z-index: 2;
    font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--dark-ink); background: rgba(29, 33, 35, 0.78);
    padding: 7px 11px; border-radius: 4px;
}

/* --- buttons --- */
.btn, .button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: var(--radius-btn);
    font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn svg { flex: none; }
.btn-primary, .button-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover, .button-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-ghost, .btn-outline, .button-outline, .button-secondary { background: transparent; color: var(--text-strong); border-color: var(--text-strong); }
.btn-ghost:hover, .btn-outline:hover, .button-outline:hover, .button-secondary:hover { background: var(--glass-strong); }
.btn:active, .button:active { transform: translateY(1px); }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; text-decoration: none; }
.link-more:hover { color: var(--accent); }
.steps-cta, .cta-actions, .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }


/* ==================== 3. header ==================== */
.site-header { position: sticky; top: 0; z-index: 50; }
.nav-wrap { position: relative; background: var(--bg-0); border-bottom: 1px solid var(--line); }
.pill-nav {
    display: flex; align-items: center; gap: 10px;
    max-width: var(--container); margin: 0 auto; min-height: var(--header-h);
    padding: 12px var(--gutter);
}
.brand-logo-link { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand-logo-link img, .brand-logo { height: 38px; width: auto; display: block; filter: var(--logo-filter); }
.brand-mark { font-size: 21px; font-weight: 800; letter-spacing: 0.06em; color: var(--text-strong); white-space: nowrap; }
.brand-mark::after { content: ""; display: inline-block; width: 8px; height: 20px; margin-left: 8px; background: var(--accent); transform: skewX(-20deg); vertical-align: -3px; }
.pill-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pill-nav ul a {
    display: block; padding: 8px 12px; border-radius: var(--radius-btn);
    color: var(--text); text-decoration: none; font-size: 14.5px; font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}
.pill-nav ul a:hover { background: var(--glass); color: var(--text-strong); }
.pill-nav ul a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.theme-toggle {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin-left: 4px;
    border: 1px solid var(--line-mid); border-radius: var(--radius-btn);
    background: transparent; color: var(--text-soft);
    cursor: pointer; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { color: var(--text-strong); border-color: var(--text-strong); }
.theme-toggle svg { display: block; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: none; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 12px;
    margin-left: 8px; padding: 12px 20px; border-radius: var(--radius-btn);
    background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14.5px; text-decoration: none;
    white-space: nowrap; transition: background 0.2s ease;
}
.nav-cta::after {
    content: ""; width: 14px; height: 14px; flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav-cta:hover { background: var(--accent-strong); }
/* R9 (§10.4): the customer-catalogue entry sits beside the quotation call to action, outlined. */
.nav-cta-quiet { background: transparent; color: var(--text-strong); border: 1px solid var(--line-strong); }
.nav-cta-quiet::after { display: none; }
.nav-cta-quiet:hover { background: var(--glass); border-color: var(--text-strong); }
.nav-burger { display: none; }
.mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    pointer-events: none; display: flex;
    visibility: hidden; opacity: 0;
    transform: translateY(-8px);
    flex-direction: column; padding: 8px var(--gutter) 16px;
    background: var(--bg-0); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.mobile-menu.open { pointer-events: auto; visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.mobile-menu a {
    padding: 14px 4px; border-top: 1px solid var(--line); color: var(--text); text-decoration: none;
    font-weight: 600; font-size: 16px;
}
.mobile-menu a:first-child { border-top: 0; }
.mobile-menu a:hover, .mobile-menu a:active { color: var(--accent); }
@media (min-width: 1021px) { .mobile-menu { display: none !important; } }


/* ==================== 4. home: hero ==================== */
.hero { position: relative; background: var(--bg-0); color: var(--text); padding: clamp(40px, 5vw, 72px) 0 0; overflow: hidden; }
.hero-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: clamp(32px, 6vw, 96px); row-gap: 22px; align-items: end;
}
.hero .eyebrow { grid-column: 1; margin: 0 0 8px; align-self: start; }
.hero h1 { grid-column: 1; grid-row: 2 / span 3; margin: 0; max-width: 11ch; }
.hero-lead { grid-column: 2; grid-row: 2; margin: 0; max-width: 520px; }
.hero-actions { grid-column: 2; grid-row: 3; }
.hero-microcopy { grid-column: 2; grid-row: 4; margin: 0; font-size: 12.5px; color: var(--text-soft); }
.hero-visual { grid-column: 1 / -1; position: relative; margin: clamp(28px, 4vw, 52px) 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); aspect-ratio: 3 / 1; }
.hero-visual img, .hero-visual .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background-size: cover; background-position: center; }
.hero-visual .hero-strip { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: rgba(29, 33, 35, 0.82); color: var(--dark-ink); }
.hero-visual .scene-tag { position: static; background: transparent; padding: 0; margin-left: auto; }
.hud-chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-ink); }
.hero h1 em { color: inherit; }
.hero-boundary { grid-column: 1 / -1; margin-top: 22px; background: transparent; padding: 0; border: 0; font-size: 14px; color: var(--text-soft); }
.hero-boundary svg { stroke: var(--accent); }
.hero .hero-actions:has(.link-more) { grid-column: 1 / -1; grid-row: auto; }
.hero .hero-boundary + .hero-actions, .hero .hero-actions + .hero-boundary { grid-column: 1 / -1; grid-row: auto; margin-top: 14px; }

/* the capability strip (public.js clones the row until the strip is full, then scrolls it) */
.cap-strip { position: relative; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-2); overflow: hidden; }
.cap-track { display: flex; column-gap: 0; width: max-content; }
.cap-track.cap-ready { animation: cap-scroll linear infinite; }
@keyframes cap-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--cap-shift, 0px))); } }
.cap-row { display: flex; flex: none; }
.cap-chip {
    display: block; padding: 16px 28px; border-right: 1px solid var(--line);
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-soft); white-space: nowrap;
}
.cap-strip:hover .cap-track { animation-play-state: paused; }

/* dormant WEB-MFG1-LR-001 module (renders only when its flags are on) */
.mfg1-band { padding: 96px 0; background: var(--bg-1); }
.mfg1-band h2 { margin: 0 0 14px; }
.mfg1-network-statement { max-width: 760px; color: var(--text-soft); margin: 0 0 30px; }
.mfg1-profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.mfg1-profile-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.mfg1-profile-label { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin: 0 0 8px; }
.mfg1-profile-card h3 { margin: 0 0 8px; color: var(--text-strong); font-size: 17px; }
.mfg1-profile-region { display: flex; gap: 8px; align-items: center; color: var(--text-soft); font-size: 12.5px; margin: 0 0 10px; }
.mfg1-profile-summary { color: var(--text-soft); font-size: 13.5px; margin: 0 0 16px; }
.mfg1-band-cta { margin: 6px 0 18px; }


/* ==================== 5. home: partner factories (tabs) ==================== */
.wk { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px clamp(24px, 3vw, 40px); align-items: start; }
.wk-nav { display: none; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.wk.is-tabs .wk-nav { display: flex; }
.wk-tab {
    display: flex; align-items: center; gap: 14px; text-align: left;
    padding: 18px 20px; border-radius: var(--radius-md); border: 1px solid transparent;
    background: transparent; color: var(--text-soft); font-family: inherit; font-size: 15.5px; font-weight: 500; line-height: 1.35;
    cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wk-tab svg { flex: none; width: 18px; height: 18px; stroke: currentColor; }
.wk-tab:hover { background: var(--glass); color: var(--text-strong); }
.wk-tab[aria-selected="true"] { background: var(--dark); color: var(--dark-ink); box-shadow: var(--shadow-1); }
.wk-panels { display: grid; gap: 22px; min-width: 0; }
.wk-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.wk.is-tabs .wk-panel:not(.is-active) { display: none; }
.wk-visual { position: relative; min-height: 320px; background: var(--scene-bg); overflow: hidden; }
.wk-visual img, .wk-visual .bento-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-visual .bento-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wk-text { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.wk-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--text-soft); }
.wk-text h3 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); }
.wk-text > p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-soft); }
.scene-chips { display: grid; gap: 10px; margin-top: 8px; }
.glass-chip { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
.glass-chip .chip-icon { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--gold-soft); }
.glass-chip h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-strong); }
.glass-chip p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-soft); }

/* the two mock consoles kept as illustrations inside their panels */
.match-ui, .flowmini-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(20px, 3vw, 40px); font-size: 13.5px; color: var(--text); }
.match-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; }
.led { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.match-run { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--dark); color: var(--dark-ink); font-family: var(--mono); font-size: 12px; }
.match-run .spin { width: 12px; height: 12px; border: 2px solid var(--dark-ink-soft); border-top-color: var(--dark-ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.match-run .go { margin-left: auto; display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); align-items: center; justify-content: center; }
.match-run .go svg { stroke: #fff; }
.fm-node { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; }
.fm-node small { display: block; font-weight: 400; color: var(--text-soft); font-size: 12px; }
.fm-links { display: flex; gap: 14px; padding-left: 22px; }
.fm-links span { width: 1px; height: 14px; background: var(--line-strong); }
.fm-branch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fm-done { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.fm-done svg { stroke: #fff; }


/* ==================== 6. home: production flow (accordion) ==================== */
.flow-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px clamp(28px, 4vw, 56px); align-items: start; }
.flow-visual { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--scene-bg); aspect-ratio: 4 / 3.6; }
.flow-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.flow-rail { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.flow-step { border-bottom: 1px solid var(--line); }
.flow-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 74px minmax(0, 1fr) 24px; align-items: center; gap: 14px; padding: 20px 4px; }
.flow-item summary::-webkit-details-marker { display: none; }
.flow-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-soft); }
.flow-item h3 { margin: 0; font-size: 19px; font-weight: 500; color: var(--text-strong); transition: color 0.2s ease; }
.flow-item[open] h3 { color: var(--accent); }
.flow-item summary::after { content: "+"; grid-column: 3; justify-self: end; font-size: 20px; line-height: 1; color: var(--text-soft); }
.flow-item[open] summary::after { content: "\2013"; }
.flow-item > p { margin: 0; padding: 0 28px 22px 92px; font-size: 15px; color: var(--text-soft); }
.flow-note { grid-column: 1 / -1; margin: 6px 0 0; padding: 16px 20px; border-radius: var(--radius-md); background: var(--sage); font-size: 14px; color: var(--text-soft); }
.flow-note strong { color: var(--text-strong); }


/* ==================== 7. home: routes, map, quick answers ==================== */
.mode-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.mode-tab {
    display: flex; align-items: flex-start; gap: 12px; text-align: left;
    padding: 4px 4px 16px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent;
    background: transparent; color: var(--text); cursor: pointer; font-family: inherit;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.mode-tab .mt-icon { display: none; }
.mode-tab .mt-title { display: block; font-size: 15.5px; font-weight: 600; color: var(--text-strong); line-height: 1.3; }
.mode-tab .mt-sub { display: block; font-size: 12.5px; color: var(--text-soft); margin-top: 3px; }
.mode-tab[aria-pressed="true"] { border-bottom-color: var(--accent); }
.mode-tab[aria-pressed="true"] .mt-title { color: var(--accent); }
.mode-tabs.overlay .mode-tab { opacity: 0.55; }
.mode-tabs.overlay .mode-tab:hover { opacity: 1; }
.rf-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.rf-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.rf-select, .comp-select {
    appearance: none; -webkit-appearance: none;
    background: var(--surface) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23676f70' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    border: 1px solid var(--line-strong); border-radius: var(--radius-btn);
    color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 600;
    padding: 12px 40px 12px 16px; cursor: pointer; min-width: 300px; max-width: 100%;
    transition: border-color 0.2s ease;
}
.rf-select:hover, .rf-select:focus, .comp-select:hover, .comp-select:focus { border-color: var(--text-strong); outline: none; }
.rf-select option, .comp-select option, .comp-select optgroup { background: var(--surface); color: var(--text); }
.rf-clear { background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); color: var(--text-soft); font-family: inherit; font-size: 13px; font-weight: 600; padding: 10px 16px; cursor: pointer; }
.rf-clear:hover { border-color: var(--text-strong); color: var(--text); }
.rf-result { margin: 0 0 22px; }
.rf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rf-card { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; color: var(--text); display: flex; flex-direction: column; gap: 4px; cursor: default; }
.rf-mode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 700; color: var(--text-strong); }
.rf-badge { font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 4px; }
.rf-badge.fast { color: var(--accent); border: 1px solid var(--accent-line); }
.rf-badge.opt { color: var(--accent-ink); background: var(--accent); }
.rf-eta { font-family: var(--mono); font-size: 21px; font-weight: 700; color: var(--text-strong); }
.rf-via { font-size: 12.5px; color: var(--text-soft); }
.rf-note { text-align: center; margin: 12px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-soft); }
.rf-card[data-mode="sea"] { border-left: 3px solid var(--info); }
.rf-card[data-mode="air"] { border-left: 3px solid var(--gold); }
.rf-card[data-mode="land"] { border-left: 3px solid var(--ok); }
.rf-card[data-mode="sea"] .rf-eta { color: var(--info); }
.rf-card[data-mode="air"] .rf-eta { color: var(--gold); }
.rf-card[data-mode="land"] .rf-eta { color: var(--ok); }

.map-scroll { overflow-x: auto; }
.map-wrap { position: relative; min-width: 700px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--map-bg); overflow: hidden; }
.map-wrap svg { display: block; width: 100%; height: auto; }
.map-corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; border-width: 0; opacity: 0.7; }
.map-corner.tl { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; }
.map-corner.tr { right: 12px; top: 12px; border-right-width: 2px; border-top-width: 2px; }
.map-corner.bl { left: 12px; bottom: 12px; border-left-width: 2px; border-bottom-width: 2px; }
.map-corner.br { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.map-dots { fill: none; stroke: var(--art-01); stroke-width: 4.6; stroke-linecap: round; }
.route-glow { fill: none; stroke: var(--art-06); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.route { fill: none; stroke: var(--art-05); opacity: 0.8; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 3 7; animation: routeflow 1.5s linear infinite; }
@keyframes routeflow { to { stroke-dashoffset: -20; } }
.m-dot { fill: var(--art-03); }
.m-dot.origin { fill: var(--accent); }
.m-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: ringpulse 2.8s ease-out infinite; }
@keyframes ringpulse { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
.map-label { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; fill: var(--art-03); paint-order: stroke; stroke: var(--map-halo); stroke-width: 4px; stroke-linejoin: round; }
.map-label.origin { fill: var(--accent); }
.map-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; fill: var(--art-04); paint-order: stroke; stroke: var(--map-halo); stroke-width: 3.5px; stroke-linejoin: round; }
.route-alt { fill: none; stroke: var(--art-05); opacity: 0.65; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 2 6; animation: routeflow 1.9s linear infinite; }
.route-glow-alt { fill: none; stroke: var(--art-06); stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; }
.m-dot.alt { fill: var(--art-07); }
.m-ring.alt { stroke: var(--art-05); }
.map-label.alt { fill: var(--art-07); }
.route, .route-alt, .route-glow, .route-glow-alt { transition: opacity 0.4s ease; }
g[data-dest] .m-dot { fill: var(--art-07); }
g[data-dest] .m-ring { stroke: var(--art-05); }
g[data-dest] .map-label { fill: var(--art-07); }
.mode-layer { opacity: 0; visibility: hidden; transition: opacity 0.5s ease; }
.mode-layer.on { opacity: 1; visibility: visible; }
.mode-layer g[data-dest] { transition: opacity 0.4s ease; }
g.extra-m .m-ring, g.extra-m text { display: none; }
g.extra-m.focus-show .m-ring, g.extra-m.focus-show text { display: inline; }
path.dimmed { opacity: 0.06 !important; }
g.dimmed { opacity: 0.1; }
path.focused { opacity: 1 !important; }
.route.focused, .route-alt.focused { stroke-width: 2.6; }
.route.focused.f-sea, .route-alt.focused.f-sea { stroke: var(--info); }
.route.focused.f-air, .route-alt.focused.f-air { stroke: var(--art-08); }
.route.focused.f-land, .route-alt.focused.f-land { stroke: var(--ok); }
.route-glow.focused.f-sea, .route-glow-alt.focused.f-sea { stroke: var(--art-09); }
.route-glow.focused.f-air, .route-glow-alt.focused.f-air { stroke: var(--art-10); }
.route-glow.focused.f-land, .route-glow-alt.focused.f-land { stroke: var(--art-11); }
.map-expand {
    position: absolute; top: 14px; right: 16px; z-index: 3; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: var(--radius-btn);
    background: var(--surface); border: 1px solid var(--line-strong);
    color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.map-expand:hover { border-color: var(--text-strong); }
.map-wrap:fullscreen, .map-wrap:-webkit-full-screen, .map-wrap.is-expanded { min-width: 0; width: 100%; height: 100%; border-radius: 0; border: none; display: flex; flex-direction: column; justify-content: center; padding: 32px 24px; }
.map-wrap.is-expanded { position: fixed; inset: 0; z-index: 1000; }
.map-wrap:fullscreen > svg, .map-wrap:-webkit-full-screen > svg, .map-wrap.is-expanded > svg { width: 100%; height: auto; max-height: 100%; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.legend-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: var(--radius-btn); background: var(--chip-bg); color: var(--text); font-size: 13.5px; font-weight: 600; }
.legend-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.legend-chip.muted::before { background: var(--art-05); }
.legend-chip.mode-sea::before { background: var(--info); }
.legend-chip.mode-air::before { background: var(--gold); }
.legend-chip.mode-land::before { background: var(--ok); }
.map-note { text-align: center; margin: 14px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-soft); }

.faq-wrap { margin: clamp(40px, 5vw, 64px) 0 0; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.faq-h { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-strong); }
.faq-nav { display: flex; gap: 8px; flex: none; }
.faq-arrow { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; color: var(--text-soft); border: 1px solid var(--line-strong); background: transparent; transition: color .2s ease, border-color .2s ease, opacity .2s ease; }
.faq-arrow:hover { color: var(--text-strong); border-color: var(--text-strong); }
.faq-arrow:disabled { opacity: .3; cursor: default; }
.faq-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 12px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.faq-rail::-webkit-scrollbar { height: 6px; }
.faq-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.faq-card { scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); padding: 22px 24px; min-width: 0; }
.faq-card h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--text-strong); }
.faq-card p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--faq-answer); }
.faq-hint { margin: 6px 0 0; text-align: center; font-size: 12.5px; color: var(--text-soft); }


/* ==================== 8. home: 3 steps, categories, commitments, services ==================== */
.steps-grid { display: grid; gap: 0; margin-bottom: 36px; border-top: 1px solid var(--line); }
.step-card { display: grid; grid-template-columns: 144px minmax(0, 1fr); column-gap: 26px; row-gap: 4px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); text-align: left; }
.step-thumb { grid-row: 1 / span 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); aspect-ratio: 7 / 5; }
.step-thumb svg { display: block; width: 100%; height: 100%; }
.step-pill { display: inline-block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); }
.step-card h3 { margin: 0; font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.step-card p { margin: 0; font-size: 14.5px; color: var(--text-soft); }

.cat-cloud { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cat-chip { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -0.015em; color: var(--text-strong); text-decoration: none; transition: color 0.2s ease; }
a.cat-chip::after {
    content: ""; flex: none; width: 20px; height: 20px; background: var(--accent);
    -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18L18 6M9 6h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 18L18 6M9 6h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}
a.cat-chip:hover { color: var(--accent); }
span.cat-chip { color: var(--text-strong); }

.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 40px minmax(0, 220px) minmax(0, 1fr); column-gap: 24px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pillar-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
.pillar-icon svg { stroke: var(--gold); }
.pillar h3 { margin: 0; font-size: clamp(20px, 1.9vw, 25px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.pillar p { margin: 0; font-size: 14.5px; color: var(--text-soft); }
#what-we-do .steps-cta { margin-top: 30px; }

#services > .container { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 0; align-items: start; }
#services .section-head.programs { margin-top: 48px; }
#services .section-head { grid-column: 1; display: block; margin: 0; }
#services .section-head > h2 { max-width: none; font-size: clamp(30px, 3.2vw, 44px); }
#services .section-head > p:not(.kicker) { margin-top: 18px; font-size: 15.5px; }
#services .section-head .boundary-note { margin: 18px 0 0; background: transparent; padding: 0 0 0 18px; border-left: 2px solid var(--accent); border-radius: 0; font-size: 13px; }
#services .section-head .boundary-note svg { display: none; }
#services .section-head .steps-cta { margin-top: 24px !important; }
#services .svc-grid { grid-column: 2; grid-row: 1 / span 2; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 40px); }
.svc-item { display: block; padding: 24px 0 26px; border-top: 1px solid var(--line); }
.svc-item svg { display: none; }
.svc-item b { display: block; color: var(--text-strong); font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.svc-item span { color: var(--text-soft); font-size: 14.5px; line-height: 1.65; }


/* ==================== 9. home: sea freight, samples, cta ==================== */
.vessel-card { border-radius: var(--radius-md); background: var(--map-bg); border: 1px solid var(--line); overflow: hidden; margin-bottom: 22px; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 40px 40px; }
.vessel-card svg { display: block; width: 100%; height: auto; }
.cargo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.cargo-card { padding: 22px 22px 20px; border-left: 1px solid var(--line); }
.cargo-card:first-child { border-left: 0; }
.cargo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cargo-head h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); }
.cargo-tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.iso-svg { display: block; width: 100%; height: auto; margin: 2px 0 10px; }
.iso-top { fill: var(--art-12); }
.iso-right { fill: var(--art-13); }
.iso-left { fill: var(--art-14); }
.iso-edge { stroke: var(--art-15); stroke-width: 1.4; }
.iso-edge.iso-hidden { stroke: var(--art-16); stroke-dasharray: 3 4; }
.iso-corr { stroke: var(--art-17); stroke-width: 1; }
.iso-accent { stroke: var(--accent); stroke-width: 1.7; }
.iso-dim { stroke: var(--art-18); stroke-width: 1; }
.iso-txt { font-family: var(--mono); font-size: 11px; fill: var(--art-03); paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
.cargo-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cargo-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; border-top: 1px dashed var(--line-mid); font-family: var(--mono); font-size: 12px; }
.cargo-specs .k { white-space: nowrap; }
.cargo-specs .k { color: var(--text-soft); }
.cargo-specs .v { color: var(--text); font-weight: 600; text-align: right; }
.cargo-note { text-align: center; margin: 16px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-soft); }

.samples-grid { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.sample-card { padding: clamp(24px, 3vw, 36px); }
.sample-card + .sample-card { border-left: 1px solid var(--line); }
.sample-card h3 { margin: 0 0 10px; font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.sample-card > p { color: var(--text-soft); font-size: 15px; margin: 0 0 20px; }
.sample-points { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sample-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.sample-points svg { flex: none; margin-top: 3px; stroke: var(--gold); }
.pay-badges { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.pay-badge { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: var(--radius-btn); background: var(--chip-bg); font-weight: 600; font-size: 14.5px; color: var(--text-strong); }
.pay-badge svg { stroke: var(--gold); }

.cta-band { background: var(--cta-bg); color: var(--dark-ink); position: relative; overflow: hidden; text-align: left; }
.cta-band > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: clamp(32px, 6vw, 96px); row-gap: 18px; align-items: start; }
.cta-band h2 { grid-column: 1; grid-row: 1 / span 4; margin: 0; font-size: clamp(40px, 5.2vw, 76px); color: #ffffff; max-width: 12ch; }
.cta-band > .container > p { grid-column: 2; margin: 0; max-width: 560px; color: var(--dark-ink-soft); font-size: 16px; }
.cta-band .enq-hint { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.cta-band .enq-line { grid-column: 2; margin: 0; font-size: 14px; color: var(--dark-ink-soft); }
.cta-band .enq-line a { color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.cta-band .enq-line a:hover { text-decoration: underline; }
.cta-band .steps-cta, .cta-band .cta-actions { grid-column: 1; margin-top: 30px; }
.cta-band .hero-microcopy, .cta-band .micro { grid-column: 1; margin: 0 !important; color: var(--dark-ink-soft); font-size: 13.5px; }
.cta-band .btn-outline, .cta-band .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.45); }
.cta-band .btn-outline:hover, .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #ffffff; }
.cta-glow { display: none; }
.enq-chip { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217, 178, 76, 0.4); padding: 7px 12px; border-radius: 4px; }
.enq-hint { display: flex; gap: 8px; flex-wrap: wrap; }


/* ==================== 10. footer + cookie notice ==================== */
.site-footer { background: var(--footer-bg); color: var(--dark-ink-soft); padding: clamp(40px, 5vw, 64px) 0 28px; font-size: 14px; }
.footer-wordmark { margin: 0 0 clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: clamp(56px, 11.5vw, 168px); line-height: 0.9; font-weight: 700; letter-spacing: -0.045em; color: #f1f0ec; overflow-wrap: normal; word-break: keep-all; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 0.8fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-logo { height: 32px; width: auto; display: block; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand { font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: #f1f0ec; }
.site-footer p { margin: 0 0 8px; }
.footer-heading { font-size: 13px; font-weight: 500; color: var(--dark-ink-soft); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d8d9d3; text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: #ffffff; }
.footer-boundary { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--dark-ink-soft); }
.footer-boundary svg { display: none; }
.footer-follow { margin-top: 16px; font-size: 13.5px; }
.footer-follow-label { display: block; color: #f1f0ec; margin-bottom: 8px; }
.footer-follow-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.footer-follow-list li { margin: 0; }
.footer-follow-list a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-btn); color: #d8d9d3; text-decoration: none; font-size: 13px; line-height: 1; }
.footer-follow-list a:hover { border-color: #ffffff; color: #ffffff; }
.social-icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.footer-copyright { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.admin-entry { font-weight: 700; letter-spacing: 0.04em; color: #f1f0ec; }

.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bg-1); border-top: 1px solid var(--line-mid); box-shadow: var(--shadow-2); }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice-inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 14px var(--gutter); }
.cookie-notice p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-soft); }
.cookie-notice b { margin-right: .5em; color: var(--text-strong); }
.cookie-notice a { margin-left: .4em; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-notice-close { flex: none; background: var(--text-strong); color: var(--bg-0); border: 0; border-radius: var(--radius-btn); padding: 10px 18px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cookie-notice-close:hover { background: var(--accent); color: var(--accent-ink); }
.btn-cookie { border-radius: var(--radius-btn); padding: 10px 20px; font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.btn-cookie.accept { background: var(--accent); border: 0; color: var(--accent-ink); }
.btn-cookie.decline { background: transparent; border: 1px solid var(--line-strong); color: var(--text-soft); }


/* ==================== 11. page heroes (about / oem / trade / cases / legal / error) ==================== */
.about-hero, .oem-hero, .page-hero { position: relative; background: var(--bg-0); padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; }
.about-hero .container, .oem-hero .container, .page-hero .container { position: relative; z-index: 2; }
.about-hero h1, .oem-hero h1, .page-hero h1 { margin: 0 0 20px; max-width: 14ch; }
.about-hero p.lead, .oem-hero p.lead, .page-hero p.lead { margin: 0; max-width: 640px; }
.about-hero-art, .hero-art, .grid-bg, .about-band-art { display: none; }
/* H5-a: the administrator's photo, when a page names one, sits under a light wash so the words stay readable */
.hero-photo, .about-hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.22; }
.about-hero-photo { background-image: var(--about-hero-image); }
.about-hero::after, .oem-hero::after, .page-hero::after { content: none; }
.page-hero h1 { font-size: clamp(36px, 5vw, 66px); }
.page-hero .container.narrow { max-width: var(--container); }
.page-hero .kicker { margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); }
.geo-lead { margin: 18px auto 0; max-width: 720px; font-size: 15px; line-height: 1.7; color: var(--text-soft); }


/* ==================== 12. about ==================== */
.identity-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.identity-copy h2 { margin: 0 0 22px; }
.identity-copy p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.identity-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.fact { padding: 0 0 0 18px; }
.fact small { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.fact span { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.fact a { color: var(--text-strong); text-decoration: none; }
.fact a:hover { color: var(--accent); }
/* C3 §4 About: the independent logo panel is back — a quiet neutral ground, the mark centred, no photograph behind it */
.logo-panel { background: var(--sage); border: 0; border-radius: 0; padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 72px); min-height: 380px; display: flex; align-items: center; justify-content: center; }
:root[data-theme="light"] .logo-panel { background: #e6e5df; }
.logo-panel img { width: 62%; max-width: 340px; height: auto; filter: var(--logo-filter); }
:root:not([data-theme="light"]) .logo-panel { background: transparent; }
.logo-panel .brand-mark { font-size: clamp(28px, 4vw, 48px); }

.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ops-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.ops-card h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); order: -2; }
.ops-card > p:not(.docs-foot) { margin: 0 0 22px; font-size: 14.5px; color: var(--text-soft); order: -1; }
.ops-card::before { content: ""; order: -3; width: 40px; height: 40px; margin-bottom: 18px; border-radius: var(--radius-sm); background: var(--sage) var(--ops-icon) center / 18px 18px no-repeat; }
.ops-card:nth-child(1) { --ops-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.ops-card:nth-child(2) { --ops-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676f70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9.2 11.8l2 2 3.6-4'/%3E%3C/svg%3E"); }
.ops-card:nth-child(3) { --ops-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23676f70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E"); }
/* the weekly status card runs wide and dark, its mock console on the right */
.ops-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--dark); border-color: var(--dark); color: var(--dark-ink); border-radius: var(--radius-lg); }
.ops-card:first-child::before { grid-column: 1; grid-row: 1; background: rgba(255, 255, 255, 0.08); }
.ops-card:first-child h3 { grid-column: 1; grid-row: 2; color: #ffffff; }
.ops-card:first-child > p:not(.docs-foot) { grid-column: 1; grid-row: 3; margin: 0; color: var(--dark-ink-soft); }
.ops-card:first-child .console { grid-column: 2; grid-row: 1 / span 3; }
.console { background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-md); padding: 20px 22px; font-family: var(--mono); font-size: 12px; color: var(--dark-ink-soft); display: flex; flex-direction: column; gap: 12px; }
.c-k { color: #ffffff; font-weight: 700; }
.c-a { color: var(--accent-strong); }
.c-g { color: var(--ok); }
.c-bar { display: inline-block; width: 46%; height: 5px; background: rgba(255, 255, 255, 0.12); border-radius: 3px; overflow: hidden; vertical-align: middle; margin: 0 10px; }
.c-bar i { display: block; height: 100%; width: 62%; background: var(--accent-strong); transform-origin: left; animation: fillx 1.6s ease 0.4s both; }
@keyframes fillx { from { transform: scaleX(0); } }
.cursor { display: inline-block; width: 7px; height: 12px; background: var(--accent-strong); vertical-align: -2px; animation: blinkc 1.1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.ops-card > div[data-fp-block], .ops-card > div:not(.console) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.gate { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); margin: 0 !important; }
.gate svg { display: none; }
.gate b { display: block; color: var(--text-strong); font-size: 14px; font-weight: 600; }
.gate span { display: block; color: var(--text-soft); font-size: 12.5px; margin-top: 3px; }
.g-ok { margin-left: auto; font-family: var(--mono); font-size: 10px; font-style: normal; color: var(--ok); background: var(--ok-soft); padding: 3px 8px; border-radius: 4px; flex: none; }
.docs-anim { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.docs-anim li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.docs-anim li svg { stroke: var(--ok); }
.docs-foot { margin: 10px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--text-soft); }

.cap2-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.cap2-chip { padding: 14px 22px; border-radius: var(--radius-btn); background: var(--chip-bg); font-size: 14.5px; font-weight: 600; color: var(--text-strong); }
.cap2-note { margin: 22px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--text-soft); }

.about-band { position: relative; padding: clamp(64px, 8vw, 110px) 0; overflow: hidden; background: var(--sage); color: var(--text-strong); text-align: center; }
:root[data-theme="light"] .about-band { background: #d5d6cd; color: #ffffff; }
.about-band-photo { position: absolute; inset: 0; z-index: 1; background-image: var(--about-band-image); background-size: cover; background-position: center; }
.about-band::after { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--ink-25); pointer-events: none; }
.about-band:not([style*="--about-band-image"])::after { display: none; }
.about-band .container { position: relative; z-index: 3; }
.about-band blockquote { margin: 0 auto; max-width: 900px; font-size: clamp(28px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.about-band blockquote em { font-style: italic; color: var(--accent); }
.about-band p { margin: 22px 0 0; font-size: 15px; color: inherit; opacity: 0.85; }

.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 22px; }
.mini-num { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); border: 1px solid var(--gold); padding: 4px 10px; border-radius: 3px; margin-bottom: 16px; }
.mini-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--text-strong); }
.mini-step p { margin: 0; font-size: 14px; color: var(--text-soft); }
.micro { font-size: 13.5px; color: var(--text-soft); margin: 18px 0 0; }
.boundary-section .boundary-note { max-width: 760px; margin: 0 auto; background: transparent; padding: 0 0 0 18px; border-left: 2px solid var(--accent); border-radius: 0; font-size: 13.5px; }
.boundary-section .boundary-note svg { stroke: var(--accent); }


/* ==================== 13. oem / odm ==================== */
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mode-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: clamp(24px, 3vw, 34px); }
.mode-card .tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); }
.mode-card h3 { margin: 10px 0 12px; font-size: clamp(22px, 2vw, 27px); font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.mode-card h3 em { font-style: italic; color: var(--text-strong); }
.mode-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--text-soft); }
.mode-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mode-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.mode-card li svg { flex: none; margin-top: 3px; stroke: var(--gold); }
.proc-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.proc-visual { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--scene-bg); min-height: 420px; }
.proc-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.proc-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; }
.proc-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; }
.proc-step:first-child { background: var(--dark); border-color: var(--dark); color: var(--dark-ink); }
.proc-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); margin-bottom: 16px; }
.proc-step:first-child .proc-num { color: var(--dark); background: #f1f0ec; }
.proc-step h3 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; color: var(--text-strong); }
.proc-step:first-child h3 { color: #ffffff; }
.proc-step p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.proc-step:first-child p { color: var(--dark-ink-soft); }
.rwork-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rwork-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.rwork-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rwork-num { flex: none; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); border: 1px solid var(--gold); padding: 4px 9px; border-radius: 3px; }
.rwork-head h3 { margin: 0; font-size: 18px; font-weight: 600; color: var(--text-strong); }
.rwork-card dl { margin: 0; }
.rwork-card dt { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-mid); }
.rwork-card dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rwork-card dd { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.rwork-card dd.gate { display: block; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--accent); font-weight: 600; }
.rwork-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; }
.rwork-card dl { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; }
@supports not (grid-template-rows: subgrid) {
    .rwork-card { display: flex; flex-direction: column; }
    .rwork-card dl { display: flex; flex-direction: column; flex: 1; }
    .rwork-card dt:last-of-type { margin-top: auto; }
}
.terms-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0 0; }
.terms-card { background: var(--chip-bg); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.terms-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: var(--text-strong); }
.terms-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.comp-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.comp-select { min-width: 0; width: 100%; background-color: var(--chip-bg); border-color: transparent; }
.comp-result { margin: 0; }
.comp-empty { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-soft); padding: 26px; border: 1px dashed var(--line-strong); border-radius: 4px; }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.comp-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.comp-card h3 { margin: 0 0 16px; font-size: 17px; font-weight: 600; color: var(--text-strong); display: flex; align-items: center; gap: 10px; }
.comp-card h3 svg { stroke: var(--gold); }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-chip { padding: 8px 14px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.doc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); }
.doc-list svg { flex: none; margin-top: 3px; stroke: var(--gold); }
.comp-note { margin: 18px 0 0; padding: 14px 18px; border-radius: 4px; background: var(--sage); font-size: 13px; color: var(--text-soft); }
.comp-note strong { color: var(--text-strong); }
.comp-disclaimer { text-align: center; margin: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; line-height: 1.7; color: var(--text-soft); }
.copy-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-btn); background: transparent; border: 1px solid var(--accent-line); color: var(--accent); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.copy-btn:hover { background: var(--accent-soft); }
.copy-btn.done { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }


/* ==================== 14. trade guide ==================== */
.ict-scroll { overflow-x: auto; }
.ict-table { min-width: 780px; }
.ict-row { display: grid; grid-template-columns: 170px repeat(7, 1fr); gap: 6px; align-items: center; margin-bottom: 8px; }
.ict-head { margin-bottom: 12px; }
.ict-head span { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-soft); text-align: center; }
.ict-head .ict-term { text-align: left; }
.ict-term { font-weight: 700; font-size: 15px; color: var(--text-strong); }
.ict-term small { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-soft); }
.seg { position: relative; height: 26px; border-radius: 6px; }
.seg.s { background: linear-gradient(135deg, #e0b95c, #c69a34); }
.seg.o { background: repeating-linear-gradient(45deg, rgba(198, 154, 52, 0.4) 0 6px, rgba(198, 154, 52, 0.15) 6px 12px); }
.seg.b { background: var(--chip-bg); border: 1px solid var(--line-mid); }
:root[data-theme="light"] .seg.b { background: #dfe2e6; border-color: #d3d7dc; }
.seg.risk::before { content: "\2691"; position: absolute; left: -13px; top: -17px; font-size: 15px; color: var(--accent); }
.ict-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 22px; }
.ict-key { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); font-weight: 600; }
.ict-key i { width: 22px; height: 13px; border-radius: 3px; display: inline-block; }
.ict-key .k-s { background: linear-gradient(135deg, #e0b95c, #c69a34); }
.ict-key .k-o { background: repeating-linear-gradient(45deg, rgba(198, 154, 52, 0.4) 0 5px, rgba(198, 154, 52, 0.15) 5px 10px); }
.ict-key .k-b { background: var(--chip-bg); border: 1px solid var(--line-mid); }
:root[data-theme="light"] .ict-key .k-b { background: #dfe2e6; border-color: #d3d7dc; }
.ict-key .k-r { color: var(--accent); font-size: 15px; width: auto; height: auto; }
.ict-note { text-align: center; margin: 14px auto 0; max-width: 760px; font-size: 14px; color: var(--text-soft); }
.ict-note strong { color: var(--accent); }
.term-wrap { margin: 40px 0 0; }
.term-wrap details { background: var(--chip-bg); border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; }
.term-wrap summary { cursor: pointer; padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; color: var(--text-strong); }
.term-wrap summary::-webkit-details-marker { display: none; }
.term-wrap summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 500; flex: none; }
.term-wrap details[open] summary::after { content: "\2013"; }
.term-body { padding: 0 22px 18px; font-size: 14px; line-height: 1.65; color: var(--text-soft); }
.term-body b { color: var(--text); }
.term-body .warn { display: block; margin-top: 8px; color: var(--accent); }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk-item { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; }
.chk-item svg { flex: none; margin-top: 3px; stroke: var(--gold); }
.chk-item b { display: block; color: var(--text-strong); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.chk-item span { color: var(--text-soft); font-size: 13px; line-height: 1.6; }
.enq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 26px; }
.enq-card { border-radius: 4px; padding: 26px; border: 1px solid var(--line); background: var(--surface); }
.enq-flag { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; }
.enq-card.good .enq-flag { color: var(--ok); }
.enq-card.bad .enq-flag { color: var(--accent); }
.enq-quote { margin: 12px 0 14px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-0); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.65; color: var(--text); font-style: italic; }
.enq-card p.res { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.enq-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }


/* ==================== 15. cases ==================== */
.video-shell { position: relative; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); border: 1px solid var(--line); }
.video-empty, .video-error { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--dark-ink); }
.video-error { color: var(--accent-strong); }
.yt-link { position: absolute; inset: 0; display: block; text-decoration: none; }
.yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; background-color: #000; background-size: cover; background-position: center; }
.yt-facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45)); }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.yt-facade:hover .yt-play { transform: translate(-50%, -50%) scale(1.07); }
.yt-play::after { content: ""; display: block; margin-left: 6px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #ffffff; }
.yt-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; color: #ffffff; background: rgba(29, 33, 35, 0.78); padding: 6px 12px; border-radius: 4px; }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.video-stack .video-shell { margin: 0; width: 100%; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.5vw, 30px); }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.case-cat { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--text-soft); }
.case-tag { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; color: var(--text-soft); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 3px 9px; white-space: nowrap; }
.case-card h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 600; color: var(--text-strong); letter-spacing: -0.015em; }
.case-metrics { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.case-metrics li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.case-metrics li span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--text-soft); flex: none; }
.case-metrics li b { font-size: 13.5px; font-weight: 600; color: var(--text); text-align: right; }
.case-video-shell { position: relative; margin-top: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--dark); border: 1px solid var(--line); }
.case-video { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); border: 1px dashed var(--accent-line); border-radius: 4px; padding: 6px 13px; }
.case-empty { text-align: center; color: var(--text-soft); background: transparent; border: 1px dashed var(--line-strong); border-radius: 4px; padding: 30px 26px; font-size: 15.5px; }
.case-empty p { margin: 0; }


/* ==================== 16. prose pages (privacy, terms, category, error) ==================== */
.prose { color: var(--text); font-size: 16px; line-height: 1.75; max-width: 860px; }
.prose h2 { margin: 36px 0 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--text-strong); }
.prose p { margin: 0 0 16px; color: var(--text-soft); }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--chip-bg); padding: 2px 6px; border-radius: 4px; }
.page-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; line-height: 1.7; color: var(--text-soft); margin-top: 28px; }
.prose .hero-actions { margin-top: 26px; }
.prose-table-scroll { overflow-x: auto; margin: 1rem 0; }
.prose-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose-table th, .prose-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose-table th { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); }
.prose-table td { color: var(--text-soft); }
.prose-table td:first-child { color: var(--text); }
.page-stub-tag { display: inline-block; margin-left: 10px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-soft); border: 1px dashed var(--line-strong); border-radius: 4px; padding: 3px 9px; vertical-align: 3px; }


/* ==================== 17. light theme — SVG artwork ==========================
   The line artwork (world map, vessel, containers, step thumbnails, the CNC bay)
   is drawn with presentation attributes (fill=, stroke=, stop-color=) for the
   dark ground, which carry specificity 0 — so a plain attribute selector
   recolours it for the C3 light ground without touching a single template.
   Grounds are inverted in lightness, ink lines darkened, amber stepped to the
   C3 gold, status colours to their readable light variants.
   ======================================================================== */
:root[data-theme="light"] [stroke="#f0b95e"] { stroke: #b8891b; }
:root[data-theme="light"] [fill="#f0b95e"] { fill: #b8891b; }
:root[data-theme="light"] [stop-color="#f0b95e"] { stop-color: #b8891b; }
:root[data-theme="light"] [stroke="#93a5bb"] { stroke: #676f70; }
:root[data-theme="light"] [stroke="#7fd1a8"] { stroke: #3f8f5f; }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.4)"] { stroke: rgba(29, 33, 35, 0.4); }
:root[data-theme="light"] [fill="#e8eef5"] { fill: #1d2123; }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.2)"] { stroke: rgba(29, 33, 35, 0.2); }
:root[data-theme="light"] [fill="#050b14"] { fill: #f6f5f1; }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.8)"] { stroke: rgba(184, 137, 27, 0.8); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.5)"] { stroke: rgba(184, 137, 27, 0.5); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.05)"] { stroke: rgba(29, 33, 35, 0.05); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.25)"] { stroke: rgba(29, 33, 35, 0.25); }
:root[data-theme="light"] [fill="#0d2137"] { fill: #e6e5df; }
:root[data-theme="light"] [fill="#0a1322"] { fill: #edece6; }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.55)"] { stroke: rgba(29, 33, 35, 0.55); }
:root[data-theme="light"] [fill="rgba(7,13,24,0.8)"] { fill: rgba(246, 245, 241, 0.8); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.6)"] { stroke: rgba(184, 137, 27, 0.6); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.3)"] { stroke: rgba(29, 33, 35, 0.3); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.18)"] { stroke: rgba(29, 33, 35, 0.18); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.45)"] { stroke: rgba(184, 137, 27, 0.45); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.04)"] { stroke: rgba(29, 33, 35, 0.04); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.7)"] { stroke: rgba(184, 137, 27, 0.7); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.5)"] { stroke: rgba(29, 33, 35, 0.5); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.35)"] { stroke: rgba(29, 33, 35, 0.35); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.14)"] { stroke: rgba(29, 33, 35, 0.14); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.22)"] { stroke: rgba(29, 33, 35, 0.22); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.4)"] { stroke: rgba(184, 137, 27, 0.4); }
:root[data-theme="light"] [stroke="#cfdcec"] { stroke: #1d2123; }
:root[data-theme="light"] [stop-color="#0e2440"] { stop-color: #e6e5df; }
:root[data-theme="light"] [stop-color="#071120"] { stop-color: #f0efea; }
:root[data-theme="light"] [fill="#d9962e"] { fill: #b8891b; }
:root[data-theme="light"] [fill="#081221"] { fill: #edece6; }
:root[data-theme="light"] [fill="#7fd1a8"] { fill: #3f8f5f; }
:root[data-theme="light"] [fill="#7f9cbd"] { fill: #4a5b6e; }
/* R5: the OEM sheet draws its dimension lines with the same slate the labels use — the
   fill was remapped for light mode, the stroke was not, so the arrows stayed pale. */
:root[data-theme="light"] [stroke="#7f9cbd"] { stroke: #4a5b6e; }
:root[data-theme="light"] [fill="rgba(11,20,36,0.7)"] { fill: rgba(246, 245, 241, 0.7); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.35)"] { stroke: rgba(184, 137, 27, 0.35); }
:root[data-theme="light"] [fill="rgba(240,185,94,0.6)"] { fill: rgba(184, 137, 27, 0.6); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.3)"] { stroke: rgba(184, 137, 27, 0.3); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.1)"] { stroke: rgba(103, 111, 112, 0.1); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.12)"] { stroke: rgba(103, 111, 112, 0.12); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.15)"] { stroke: rgba(29, 33, 35, 0.15); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.38)"] { stroke: rgba(29, 33, 35, 0.38); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.85)"] { stroke: rgba(184, 137, 27, 0.85); }
:root[data-theme="light"] [stroke="#e8eef5"] { stroke: #1d2123; }
:root[data-theme="light"] [stroke="#46586a"] { stroke: #c4c1b8; }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.07)"] { stroke: rgba(29, 33, 35, 0.07); }
:root[data-theme="light"] [fill="#93a5bb"] { fill: #676f70; }
:root[data-theme="light"] [fill="#1a4066"] { fill: #d5d6cd; }
:root[data-theme="light"] [fill="#f6e2c0"] { fill: #3a2f1a; }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.16)"] { stroke: rgba(29, 33, 35, 0.16); }
:root[data-theme="light"] [stroke="rgba(127,209,168,0.4)"] { stroke: rgba(21, 122, 82, 0.4); }
:root[data-theme="light"] [fill="#b7791f"] { fill: #755d3a; }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.4)"] { stroke: rgba(103, 111, 112, 0.4); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.035)"] { stroke: rgba(29, 33, 35, 0.035); }
:root[data-theme="light"] [fill="rgba(240,185,94,0.7)"] { fill: rgba(184, 137, 27, 0.7); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.3)"] { stroke: rgba(103, 111, 112, 0.3); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.16)"] { stroke: rgba(103, 111, 112, 0.16); }
:root[data-theme="light"] [fill="rgba(13,33,55,0.4)"] { fill: rgba(230, 229, 223, 0.4); }
:root[data-theme="light"] [fill="rgba(240,185,94,0.1)"] { fill: rgba(184, 137, 27, 0.1); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.5)"] { stroke: rgba(103, 111, 112, 0.5); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.09)"] { stroke: rgba(103, 111, 112, 0.09); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.11)"] { stroke: rgba(103, 111, 112, 0.11); }
:root[data-theme="light"] [stroke="rgba(147,165,187,0.35)"] { stroke: rgba(103, 111, 112, 0.35); }
:root[data-theme="light"] [stroke="rgba(240,185,94,0.55)"] { stroke: rgba(184, 137, 27, 0.55); }
:root[data-theme="light"] [stroke="rgba(232,238,245,0.28)"] { stroke: rgba(29, 33, 35, 0.28); }

/* icons drawn on an accent-filled control are white on both grounds */
[stroke="#2a1a04"] { stroke: #ffffff; }


/* ==================== 18. motion + responsive ==================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
    .cap-track.cap-ready { animation: none; }
}

@media (max-width: 1180px) {
    .wk { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); }
    .wk-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
    .rwork-grid { grid-template-columns: repeat(2, 1fr); }
    .cargo-grid { grid-template-columns: repeat(3, 1fr); }
    .mini-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
    :root { --header-h: 64px; --gutter: 24px; }
    .pill-nav ul { display: none; }
    .pill-nav { padding: 10px var(--gutter); min-height: 64px; gap: 6px; }
    .brand-logo-link img, .brand-logo { height: 30px; }
    .brand-mark { font-size: 17px; }
    .theme-toggle { width: 34px; height: 34px; margin-left: 0; }
    .nav-cta { padding: 9px 12px; font-size: 13px; margin-left: 2px; gap: 8px; }
    .nav-burger { padding: 8px 6px; }
    .nav-cta-quiet { display: none; }
    .nav-burger { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 10px; cursor: pointer; }
    .nav-burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--text-strong); transition: transform 0.25s ease, opacity 0.25s ease; }
    .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section-head { grid-template-columns: 1fr; align-items: start; }
    .section-head > .boundary-note, .section-head.sh-lead-right > p:not(.kicker) { grid-column: 1; grid-row: auto; }
    .section-head > h2 { max-width: none; }
    .section.split > .container { grid-template-columns: 1fr; }
    .section.split > .container > .section-head { grid-row: auto; position: static; margin-bottom: 28px; }
    .section.split > .container > .split-body { grid-column: 1; grid-row: auto; }
    #services > .container { grid-template-columns: 1fr; }
    #services .svc-grid { grid-column: 1; grid-row: auto; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1, .hero-lead, .hero-actions, .hero-microcopy, .hero .eyebrow { grid-column: 1; grid-row: auto; }
    .hero h1 { max-width: none; }
    .hero-visual { aspect-ratio: 16 / 10; }
    .wk { grid-template-columns: 1fr; }
    .wk.is-tabs .wk-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .wk-tab { padding: 14px 16px; font-size: 14px; }
    .wk-panel { grid-template-columns: 1fr; }
    .wk-visual { min-height: 0; aspect-ratio: 16 / 10; }
    .flow-layout { grid-template-columns: 1fr; }
    .flow-visual { aspect-ratio: 16 / 10; }
    .mode-tabs { grid-template-columns: 1fr; gap: 0; }
    .mode-tab { padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .mode-tab[aria-pressed="true"] { border-bottom: 2px solid var(--accent); }
    .faq-rail { grid-auto-columns: calc((100% - 18px) / 2); }
    .svc-grid { grid-template-columns: 1fr; }
    .cargo-grid { grid-template-columns: 1fr; }
    .cargo-card { border-left: 0; border-top: 1px solid var(--line); }
    .cargo-card:first-child { border-top: 0; }
    .samples-grid { grid-template-columns: 1fr; }
    .sample-card + .sample-card { border-left: 0; border-top: 1px solid var(--line); }
    .cta-band > .container { grid-template-columns: 1fr; }
    .cta-band h2, .cta-band > .container > p, .cta-band .enq-hint, .cta-band .enq-line, .cta-band .steps-cta, .cta-band .cta-actions, .cta-band .hero-microcopy, .cta-band .micro { grid-column: 1; grid-row: auto; }
    .cta-band h2 { max-width: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .identity-grid { grid-template-columns: 1fr; }
    .logo-panel { min-height: 280px; }
    .ops-grid { grid-template-columns: 1fr; }
    .ops-card:first-child { grid-template-columns: 1fr; }
    .ops-card:first-child .console { grid-column: 1; grid-row: 4; margin-top: 20px; }
    .mode-cards { grid-template-columns: 1fr; }
    .proc-layout { grid-template-columns: 1fr; }
    .proc-visual { min-height: 0; aspect-ratio: 16 / 10; }
    .rwork-grid { grid-template-columns: 1fr 1fr; }
    .terms-pair { grid-template-columns: 1fr; }
    .comp-grid { grid-template-columns: 1fr; }
    .chk-grid { grid-template-columns: 1fr; }
    .enq-grid { grid-template-columns: 1fr; }
    .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .section { padding: 56px 0; }
    .rf-select { min-width: 0; width: 100%; }
    .rf-bar { flex-direction: column; align-items: stretch; }
    .faq-rail { grid-auto-columns: calc(100% - 24px); }
    .faq-nav { display: none; }
    .step-card { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; }
    .pillar { grid-template-columns: 28px minmax(0, 1fr); }
    .pillar p { grid-column: 2; }
    .cat-chip { padding: 18px 4px; }
    .wk.is-tabs .wk-nav { grid-template-columns: 1fr 1fr; }
    .flow-item summary { grid-template-columns: 62px minmax(0, 1fr) 24px; gap: 10px; padding: 16px 2px; }
    .flow-item > p { padding: 0 8px 18px 74px; }
    .proc-rail { grid-template-columns: 1fr; }
    .rwork-grid { grid-template-columns: 1fr; }
    .mini-steps { grid-template-columns: 1fr; }
    .ops-card > div[data-fp-block], .ops-card > div:not(.console) { grid-template-columns: 1fr; }
    .identity-facts { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-copyright { flex-direction: column; }
    .comp-bar { grid-template-columns: 1fr; }
    .enq-actions { justify-content: stretch; }
    .enq-actions > * { flex: 1 1 auto; }
    .hero-visual .hero-strip { padding: 10px 14px; }
    .hero-visual .hud-chip { display: none; }
}

@media (max-width: 420px) {
    :root { --gutter: 16px; }
    .pill-nav { gap: 4px; }
    .nav-cta::after { display: none; }
    .nav-cta { padding: 9px 8px; font-size: 12.5px; margin-left: 0; }
    .theme-toggle { width: 32px; height: 32px; }
    .nav-burger { padding: 8px 4px; }
    .brand-logo-link img, .brand-logo { height: 26px; }
    .brand-mark { font-size: 15px; letter-spacing: 0.04em; }
    .brand-mark::after { width: 6px; height: 15px; margin-left: 5px; }
    .wk.is-tabs .wk-nav { grid-template-columns: 1fr; }
    .btn, .button, .nav-cta { font-size: 14px; }
    .hero-actions .btn, .steps-cta .btn, .cta-actions .btn { width: 100%; }
    .cookie-notice-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-notice a { white-space: normal; }
    .cookie-notice-close { width: 100%; }
    .step-card { grid-template-columns: 1fr; }
    .step-thumb { grid-row: auto; max-width: 200px; }
}
@media (max-width: 640px) {
    .cookie-notice-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-notice a { white-space: normal; }
    .cookie-notice-close { width: 100%; }
}

/* C3.2: approved local changes only — hero, machining photo, routes, Incoterms. */
.hero--immersive { padding-top: 0; }
.hero--immersive .hero-stage { position: relative; isolation: isolate; background: #142326; }
.hero--immersive .hero-visual { position: absolute; inset: 0; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; z-index: -2; }
.hero--immersive .hero-visual img, .hero--immersive .hero-photo { object-position: 66% center; background-position: 66% center; }
.hero--immersive .hero-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(13,27,30,.96) 0%, rgba(13,27,30,.89) 29%, rgba(13,27,30,.53) 55%, rgba(13,27,30,.09) 84%), linear-gradient(0deg, rgba(13,27,30,.58), transparent 35%); }
.hero--immersive .hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 780px; padding-top: 60px; padding-bottom: 34px; }
.hero--immersive .hero-inner .eyebrow { color: #f3b0a2; margin: 0 0 26px; }
.hero--immersive .hero-inner h1 { color: #fff; max-width: 700px; margin: 0 0 24px; font-size: clamp(48px,5.2vw,76px); line-height: 1.06; letter-spacing: -.05em; }
.hero--immersive .hero-inner h1 em { color: inherit; }
.hero--immersive .hero-lead { max-width: 530px; margin: 0 0 28px; color: #e3e9e7; font-size: 17px; line-height: 1.8; }
.hero--immersive .hero-inner .hero-actions { margin: 0; }
.hero--immersive .hero-inner .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(13,27,30,.2); }
.hero--immersive .hero-inner .btn-ghost:hover { background: rgba(255,255,255,.13); }
.hero--immersive .hero-inner .hero-microcopy { max-width: 530px; margin: 22px 0 0; color: #d1dcda; line-height: 1.7; }
.hero--immersive .hero-strip { position: static; display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid rgba(255,255,255,.2); padding: 18px 0 0; margin-top: 52px; background: none; color: #d1dcda; width: min(530px,100%); }
.hero--immersive .hero-strip .hud-chip { color: inherit; font-size: 10px; }
.hero--immersive .hero-after { padding-top: 24px; padding-bottom: 24px; }
.hero--immersive .hero-after .hero-boundary { margin: 0; background: transparent; padding: 0; font-size: 13.5px; }
.hero--immersive .hero-after > * + * { margin-top: 16px; }
#routes .section-head, #incoterms .section-head { grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 72px; }
#routes .section-head > p:not(.kicker), #incoterms .section-head > p:not(.kicker) { grid-column: 2; grid-row: 2; margin: 0; align-self: center; max-width: 560px; }
#routes .split-body, #incoterms .split-body { min-width: 0; }
#routes .route-controls { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 32px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
#routes .mode-tabs { margin: 0; border: 0; gap: 8px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
#routes .mode-tab { padding: 14px 12px; border: 1px solid transparent; border-radius: 8px; margin: 0; gap: 10px; align-items: flex-start; }
#routes .mode-tab[aria-pressed="true"] { background: var(--dark); color: var(--dark-ink); }
#routes .mode-tab[aria-pressed="true"] .mt-title, #routes .mode-tab[aria-pressed="true"] .mt-sub { color: var(--dark-ink); }
#routes .mt-icon { display: none; }
#routes .mt-title { font-size: 15px; }
#routes .mt-sub { font-size: 11px; line-height: 1.5; margin-top: 8px; }
#routes .rf-bar { margin: 0; gap: 10px; flex-wrap: wrap; }
#routes .rf-label { flex-basis: 100%; }
#routes .rf-select { flex: 1; min-width: 0; max-width: 100%; background: var(--surface); }
#routes :is(.mode-tab,.rf-select,.rf-clear,.map-expand):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#routes .rf-result:not([hidden]) { margin-bottom: 24px; }
#routes .map-scroll { overflow: hidden; border-radius: var(--radius-lg); }
#routes .map-wrap { min-width: 0; border: 0; border-radius: var(--radius-lg); background: #e7ede9; padding: 34px 0 0; }
#routes .map-corner { display: none; }
#routes .route-basemap { opacity: .92; }
#routes .route, #routes .route-alt { stroke: #638aa0; stroke-width: 1.25; stroke-dasharray: none; animation: none; opacity: .5; }
#routes .mode-layer[data-mode="air"] :is(.route,.route-alt) { stroke: #b38a2b; }
#routes .mode-layer[data-mode="land"] :is(.route,.route-alt) { stroke: #4f8b6f; }
#routes :is(.route-glow,.route-glow-alt) { opacity: 0 !important; }
#routes .route.focused, #routes .route-alt.focused { stroke-width: 2.5; }
#routes .map-label { font-family: var(--font-stack); font-size: 14px; font-weight: 500; letter-spacing: 0; fill: #314c53; stroke: #e7ede9; stroke-width: 2.5px; }
#routes .map-label.origin { fill: #b9412c; }
#routes .map-sub { fill: #4e656b; stroke: #e7ede9; font-size: 10px; letter-spacing: 0; }
#routes .m-ring { animation: none; opacity: .25; }
#routes g[data-dest] { cursor: pointer; }
#routes g[data-dest] .map-hit { fill: transparent; stroke: transparent; pointer-events: all; }
#routes g[data-dest]:focus-visible { outline: none; }
#routes g[data-dest]:focus-visible .map-hit { stroke: #b9412c; stroke-width: 2.5; }
#routes .map-legend { justify-content: space-between; gap: 12px; }
#routes .legend-chip { padding: 0; background: none; font-weight: 400; }
#routes .map-note { text-align: left; line-height: 1.8; }
:root:not([data-theme="light"]) #routes .map-wrap { background: #202e30; }
:root:not([data-theme="light"]) #routes .route-basemap { opacity: .35; }
:root:not([data-theme="light"]) #routes .map-label, :root:not([data-theme="light"]) #routes .map-sub { fill: #eff5f2; stroke: #202e30; }
:root:not([data-theme="light"]) #routes .map-label.origin { fill: #f39a83; }
#incoterms .ict-scroll { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow-x: auto; }
#incoterms .ict-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#incoterms .ict-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
#incoterms .ict-table th, #incoterms .ict-table td { border-bottom: 1px solid var(--line); padding: 32px 12px; text-align: left; }
#incoterms .ict-table thead th { font: 11px var(--mono); letter-spacing: .08em; color: var(--text-soft); background: var(--sage); padding-top: 22px; padding-bottom: 22px; }
#incoterms .ict-table th:first-child { width: 25%; position: sticky; left: 0; z-index: 2; background: var(--surface); }
#incoterms .ict-table thead th:first-child { background: var(--sage); }
#incoterms .ict-table tbody tr:last-child > * { border-bottom: 0; }
#incoterms .ict-term { font-size: 22px; font-weight: 600; color: var(--text-strong); }
#incoterms .ict-term small { display: block; color: var(--text-soft); font: 10px/1.6 var(--mono); margin-top: 7px; letter-spacing: .04em; }
#incoterms .seg { display: block; height: 14px; border-radius: 3px; position: relative; }
#incoterms .seg.s, #incoterms .ict-key .k-s { background: #cba749; border: 0; }
#incoterms .seg.b, #incoterms .ict-key .k-b { background: #cedee6; border: 0; }
#incoterms .seg.o, #incoterms .ict-key .k-o { background: repeating-linear-gradient(45deg,#dfcb91 0 7px,#f7f3e7 7px 14px); }
#incoterms .seg.risk::before { color: var(--accent); font-size: 19px; left: -12px; top: -25px; line-height: 1; }
#incoterms .ict-table .ict-fob > * { background: var(--bg-0); }
#incoterms .ict-table .ict-fob th:first-child { background: var(--bg-0); border-left: 3px solid var(--accent); color: var(--accent); }
#incoterms .ict-legend { justify-content: space-between; text-align: left; margin: 24px 0; gap: 16px; }
#incoterms .ict-key { font-size: 12px; }
#incoterms .ict-note { text-align: left; background: var(--sage); padding: 20px 24px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; max-width: none; }
@media (max-width: 1020px) {
    .hero--immersive .hero-inner { min-height: 760px; }
    #routes .section-head, #incoterms .section-head { column-gap: 32px; }
    #routes .route-controls { grid-template-columns: 1fr; gap: 20px; }
    #routes .rf-bar { flex-direction: row; align-items: center; }
    #routes .rf-label { flex-basis: auto; }
    #routes .rf-select { width: auto; }
}
@media (max-width: 760px) {
    .hero--immersive .hero-stage::after { background: linear-gradient(90deg,rgba(13,27,30,.94),rgba(13,27,30,.64)),linear-gradient(0deg,rgba(13,27,30,.5),transparent); }
    .hero--immersive .hero-inner { min-height: 730px; padding-top: 48px; padding-bottom: 28px; }
    .hero--immersive .hero-inner h1 { font-size: clamp(42px,9vw,62px); max-width: 12ch; }
    .hero--immersive .hero-lead { font-size: 15px; line-height: 1.75; }
    .hero--immersive .hero-strip { margin-top: 34px; gap: 12px 18px; }
    .hero--immersive .hero-inner .hero-microcopy { font-size: 11.5px; }
    #routes .section-head, #incoterms .section-head { grid-template-columns: 1fr; gap: 18px; }
    #routes .section-head > p:not(.kicker), #incoterms .section-head > p:not(.kicker) { grid-column: 1; grid-row: auto; }
    #routes .mode-tab { padding: 12px 8px; }
    #routes .mt-title { font-size: 13px; }
    #routes .mt-sub { font-size: 10px; }
    #routes .rf-label { flex-basis: 100%; }
    #routes .rf-select { width: 100%; flex-basis: 75%; }
    #routes .map-wrap { padding-top: 48px; }
    #routes .map-expand { top: 10px; right: 12px; }
    #routes .map-wrap:is(:fullscreen,.is-expanded) { padding: 60px 10px 10px; }
    #incoterms .ict-table { min-width: 740px; }
    #incoterms .ict-table th:first-child { width: 156px; }
    #incoterms .ict-table th, #incoterms .ict-table td { padding: 30px 10px; }
    #incoterms .ict-term { font-size: 19px; }
    #incoterms .ict-legend { justify-content: flex-start; }
}

/* Labels stay in the SVG; secondary labels appear on selection, hover or focus. */
#routes g[data-dest] .map-sub, #routes .map-secondary text { display: none; }
#routes g[data-dest]:is(.focus-show,:hover,:focus-visible) text { display: inline; }
#routes .section-head h2, #incoterms .section-head h2 { max-width: none; }
@media (prefers-reduced-motion: reduce) {
    #routes .mode-layer, #routes g[data-dest], #routes path[data-key] { transition: none; }
}
#routes .map-pan { width: 100%; overflow-x: auto; }
#routes .map-pan > svg { width: 100%; display: block; }
#routes .map-pan:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
#routes .map-wrap:is(:fullscreen,.is-expanded) { padding: 52px 24px 16px; }
#routes .map-wrap:is(:fullscreen,.is-expanded) .map-pan { max-height: 100%; }
@media (max-width: 760px) {
    #routes .map-pan > svg { width: 1000px; max-width: none; }
    #routes .map-label { font-size: 18px; }
    #routes .map-sub { font-size: 14px; }
    #routes .map-pan { scrollbar-width: thin; }
}
/* Keep off-screen accessible cell text inside its scrolling cell, not the root viewport. */
#incoterms .ict-table td { position: relative; }
