/* =========================================================================
   BATESCREW PUMPS & VALVES AUSTRALIA
   Plate-and-Rivet Industrial — gunmetal workshop, bone-plate documents,
   stamped condensed display type, oxide-red & safety-amber accents.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* ─── PALETTE ─── workshop dark, bone plates, oxide & amber */
    --plate:        #2b3138;   /* gunmetal — workshop wall */
    --plate-2:      #353c44;   /* lighter steel */
    --plate-deep:   #1c2025;   /* deepest steel — into shadow */
    --plate-edge:   #4a525c;   /* edge highlight */
    --weld:         rgba(255, 255, 255, 0.06);
    --rivet:        #1a1d22;
    --rivet-hi:     rgba(255, 255, 255, 0.18);

    --bone:         #d4cdbe;   /* warm bone cast iron lacquer */
    --bone-deep:    #b8b1a1;
    --bone-warm:    #e6dfcf;
    --bone-edge:    #94897a;

    --ink:          #15181d;   /* deep stamp */
    --ink-2:        #2a2f37;
    --ink-soft:     #5b6470;

    --rust:         #b54327;   /* oxide red, asset-tag red */
    --rust-deep:    #7d2d18;
    --rust-bright:  #d65a3a;

    --amber:        #f4a514;   /* safety hi-vis */
    --amber-deep:   #c98807;

    --steel:        #8b95a0;
    --steel-cool:   #5f6873;

    /* legacy aliases so existing inline styles keep rendering */
    --paper:        var(--bone);
    --paper-deep:   var(--bone-deep);
    --paper-warm:   var(--bone-warm);
    --hair:         rgba(21, 24, 29, 0.18);
    --rule:         var(--ink);
    --safety:       var(--amber);
    --aqua:         var(--steel);
    --aqua-deep:    var(--steel-cool);
    --foam:         rgba(255, 255, 255, 0.04);

    /* ─── TYPE ─── industrial condensed display + neutral sans + mono */
    --display: 'Big Shoulders Display', 'Bebas Neue', 'Trade Gothic', sans-serif;
    --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

    /* legacy font aliases */
    --serif: var(--display);
    --read:  var(--body);

    --max:    1320px;
    --gutter: clamp(20px, 4vw, 56px);
    --col-gap: clamp(16px, 2.4vw, 36px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--plate);
    color: var(--bone);
    font-family: var(--body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

/* ─── brushed-steel texture ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
    background-image:
        repeating-linear-gradient(90deg,
            rgba(255,255,255,0.025) 0 1px,
            transparent 1px 3px),
        repeating-linear-gradient(0deg,
            rgba(0,0,0,0.05) 0 1px,
            transparent 1px 4px);
    mix-blend-mode: overlay;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse 1200px 700px at 20% -100px, rgba(255,255,255,0.03), transparent 60%),
        radial-gradient(ellipse 800px 500px at 100% 100%, rgba(0,0,0,0.4), transparent 60%);
}

img, svg { max-width: 100%; display: block; }

a {
    color: var(--bone);
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color .2s ease;
}
a:hover {
    color: var(--amber);
    text-decoration: underline;
    text-decoration-color: var(--amber);
}

/* =========================================================================
   TYPOGRAPHY — stamped, condensed, industrial
   ========================================================================= */

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 800;
    color: var(--bone);
    margin: 0;
    line-height: 0.92;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

h1 { font-weight: 900; }

.display {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(56px, 11vw, 188px);
    line-height: 0.85;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    color: var(--bone-warm);
}
.display em {
    font-style: normal;
    font-weight: 800;
    color: var(--rust-bright);
}

.eyebrow,
.kicker {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--amber);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

.lede {
    font-family: var(--body);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.32;
    letter-spacing: -0.005em;
    color: var(--bone-warm);
}
.lede em {
    font-style: italic;
    color: var(--amber);
    font-weight: 500;
}

.body-text {
    font-family: var(--body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--bone);
}
.body-text em {
    font-style: italic;
    color: var(--amber);
    font-weight: 500;
}

p { margin: 0 0 1em 0; }

.mono {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--steel);
}

/* =========================================================================
   LAYOUT
   ========================================================================= */

.shell {
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 2;
}

section { position: relative; z-index: 2; }

.rule {
    height: 2px;
    background: var(--plate-edge);
    width: 100%;
    margin: 0;
    border: 0;
    box-shadow: 0 1px 0 0 var(--rivet);
}
.rule.hair { height: 1px; opacity: 0.4; box-shadow: none; }

/* =========================================================================
   PLATE / RIVET PRIMITIVES — used everywhere
   ========================================================================= */

/* a "bone plate" — lighter card riveted onto the wall */
.plate {
    background: var(--bone);
    color: var(--ink);
    padding: clamp(20px, 3vw, 36px);
    position: relative;
    border: 2px solid var(--bone-edge);
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.15),
        0 6px 24px -10px rgba(0,0,0,0.4);
}

/* a "steel plate" — stays dark, lighter than the wall, with rivets */
.steel-plate {
    background: linear-gradient(180deg, var(--plate-2) 0%, var(--plate) 100%);
    color: var(--bone);
    padding: clamp(20px, 3vw, 36px);
    position: relative;
    border: 1px solid var(--plate-edge);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4),
        0 6px 24px -10px rgba(0,0,0,0.5);
}

/* corner rivets via a single ::before with four box-shadows */
.rivets::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12px 12px, var(--rivet) 2.2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 12px) 12px, var(--rivet) 2.2px, transparent 2.6px),
        radial-gradient(circle at 12px calc(100% - 12px), var(--rivet) 2.2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--rivet) 2.2px, transparent 2.6px);
}
.rivets::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 11px 11px, var(--rivet-hi) 0.8px, transparent 1.2px),
        radial-gradient(circle at calc(100% - 13px) 11px, var(--rivet-hi) 0.8px, transparent 1.2px),
        radial-gradient(circle at 11px calc(100% - 13px), var(--rivet-hi) 0.8px, transparent 1.2px),
        radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), var(--rivet-hi) 0.8px, transparent 1.2px);
}

/* an "asset tag" pill — model code style */
.asset-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 14px;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--rust);
    color: var(--bone-warm);
    border: 1px solid var(--rust-deep);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.15),
        0 1px 0 0 var(--rust-deep);
}
.asset-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--rust-deep);
}

/* =========================================================================
   TOP BAR
   ========================================================================= */

.topbar {
    position: relative;
    z-index: 30;
    background: var(--plate-deep);
    color: var(--steel);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--rivet);
    box-shadow: inset 0 -1px 0 0 var(--weld);
}
.topbar .shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 34px;
    gap: 24px;
    flex-wrap: wrap;
}
.topbar a { color: var(--bone); }
.topbar a:hover { color: var(--amber); text-decoration: none; }
.topbar-left { display: flex; gap: 24px; }
.topbar-left span { opacity: 0.85; }
.topbar-right { display: flex; gap: 24px; }
.topbar-right .dot {
    width: 6px; height: 6px; background: var(--amber); border-radius: 50%;
    display: inline-block; margin-right: 8px; vertical-align: middle;
    box-shadow: 0 0 6px var(--amber);
}

@media (max-width: 700px) {
    .topbar { font-size: 9.5px; letter-spacing: 0.16em; }
    .topbar-left span:first-child { display: none; }
}

/* =========================================================================
   SITE HEADER + NAV — riveted plate strip
   ========================================================================= */

header.site-header {
    position: sticky;
    top: 0;
    z-index: 25;
    background: linear-gradient(180deg, var(--plate-2) 0%, var(--plate) 100%);
    border-bottom: 2px solid var(--rivet);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.3);
}

header.site-header.scrolled {
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        0 6px 18px -10px rgba(0,0,0,0.7);
}

.nav {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    height: 76px;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--bone);
}
.brand:hover { color: var(--bone); }
.brand-mark {
    width: 46px; height: 46px;
    border: 2px solid var(--bone-edge);
    background: var(--bone);
    color: var(--ink);
    display: grid; place-items: center;
    position: relative;
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.2);
}
.brand-mark::before, .brand-mark::after { content: none; }
.brand-mark .b {
    font-family: var(--display);
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    font-style: normal;
    background: transparent;
    width: auto; height: auto;
    display: block;
}
.brand-text { line-height: 1; }
.brand-text .name {
    font-family: var(--display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: 0.01em;
    color: var(--bone-warm);
    display: block;
    text-transform: uppercase;
}
.brand-text .name em { font-style: normal; font-weight: 800; color: var(--amber); }
.brand-text .est {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--steel);
    margin-top: 4px;
    display: block;
}

.primary-nav {
    display: flex;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 22px);
    align-items: center;
}
.primary-nav a {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--bone);
    padding: 8px 4px;
    position: relative;
    font-weight: 500;
}
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 4px; right: 4px; bottom: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--amber); text-decoration: none; }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--amber); }
.primary-nav a.is-active::after { transform: scaleX(1); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: var(--rust);
    color: var(--bone-warm);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    border: 1px solid var(--rust-deep);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.18),
        0 1px 0 0 var(--rust-deep);
    transition: background .2s ease, transform .15s ease;
}
.nav-cta:hover {
    background: var(--rust-bright);
    color: var(--bone-warm);
    text-decoration: none;
    transform: translateY(-1px);
}
.nav-cta .arrow { transition: transform .2s ease; }
.nav-cta:hover .arrow { transform: translateX(3px); }

.nav-toggle {
    display: none;
    background: var(--plate);
    border: 1px solid var(--plate-edge);
    width: 44px; height: 44px;
    cursor: pointer;
    padding: 0;
    position: relative;
    border-radius: 2px;
}
.nav-toggle span {
    position: absolute;
    left: 11px; right: 11px;
    height: 2px;
    background: var(--bone);
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav { grid-template-columns: 1fr auto; height: 66px; gap: 14px; }
    .nav-toggle { display: block; }
    .primary-nav, .nav-cta { display: none; }
    .primary-nav.is-open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--plate-deep);
        padding: 24px var(--gutter) 32px;
        border-bottom: 2px solid var(--rivet);
        gap: 18px;
        align-items: flex-start;
    }
    .primary-nav.is-open a { font-size: 13px; padding: 6px 0; }
}

/* =========================================================================
   HOMEPAGE HERO — workshop placard
   ========================================================================= */

.hero {
    padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 110px);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 1100px 600px at 80% 30%, rgba(244,165,20,0.06), transparent 60%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: end;
}
.hero-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}
.hero-meta-block {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--steel);
}
.hero-meta-block strong {
    display: block;
    color: var(--bone-warm);
    font-weight: 600;
    margin-top: 4px;
}

.hero h1 { margin: 0; }

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-bottom: clamp(0px, 2vw, 28px);
}
.hero-side .lede { max-width: 460px; }

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* =========================================================================
   BUTTONS — squared, riveted, pressed-look
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 500;
    border: 1.5px solid var(--bone);
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
    background: transparent;
    color: var(--bone);
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.06),
        0 1px 0 0 rgba(0,0,0,0.4);
}
.btn:hover {
    background: var(--bone);
    color: var(--ink);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        0 3px 0 0 rgba(0,0,0,0.5);
}

.btn-solid {
    background: var(--bone);
    color: var(--ink);
    border-color: var(--bone-edge);
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        0 1px 0 0 rgba(0,0,0,0.5);
}
.btn-solid:hover {
    background: var(--bone-warm);
    color: var(--ink);
    border-color: var(--bone-edge);
}

.btn-rust {
    background: var(--rust);
    border-color: var(--rust-deep);
    color: var(--bone-warm);
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.18),
        0 1px 0 0 var(--rust-deep);
}
.btn-rust:hover {
    background: var(--rust-bright);
    border-color: var(--rust-deep);
    color: var(--bone-warm);
}

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================================
   HERO BLUEPRINT block (homepage)
   ========================================================================= */

.hero-blueprint {
    margin-top: clamp(40px, 6vw, 72px);
    border-top: 2px solid var(--plate-edge);
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--col-gap);
    align-items: start;
    box-shadow: 0 -1px 0 0 var(--rivet) inset;
}
.hero-blueprint-art {
    grid-column: span 7;
    aspect-ratio: 16 / 9;
    background: var(--plate-deep);
    color: var(--bone);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--rivet);
    box-shadow: inset 0 0 0 1px var(--weld);
}
.hero-blueprint-meta {
    grid-column: span 5;
    display: flex; flex-direction: column;
    gap: 18px;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-blueprint-art, .hero-blueprint-meta { grid-column: span 12; }
}

/* =========================================================================
   PAGE HERO (subpages)
   ========================================================================= */

.pagehero {
    padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
    border-bottom: 2px solid var(--rivet);
    box-shadow: inset 0 -1px 0 0 var(--weld);
    position: relative;
}
.pagehero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 100% 0%, rgba(181,67,39,0.08), transparent 60%);
    pointer-events: none;
}
.pagehero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(28px, 4vw, 60px);
    align-items: end;
}
.pagehero-meta { max-width: 56ch; }
.pagehero h1 {
    font-family: var(--display);
    font-size: clamp(56px, 9vw, 138px);
    line-height: 0.85;
    letter-spacing: 0.005em;
    font-weight: 900;
    color: var(--bone-warm);
    text-transform: uppercase;
}
.pagehero h1 em { font-style: normal; color: var(--rust-bright); font-weight: 900; }
.pagehero .lede { max-width: 56ch; margin-top: 20px; }
@media (max-width: 900px) {
    .pagehero-grid { grid-template-columns: 1fr; gap: 18px; }
}

.crumb {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
    margin-bottom: 32px;
}
.crumb a { color: var(--steel); }
.crumb a:hover { color: var(--amber); text-decoration: none; }
.crumb .sep { opacity: 0.4; padding: 0 6px; }

/* =========================================================================
   SECTION SHELL — rhythm of dark gunmetal, content on plates
   ========================================================================= */

.section {
    padding: clamp(60px, 8vw, 110px) 0;
    position: relative;
}
.section.tight { padding: clamp(40px, 5vw, 72px) 0; }

.section.dark {
    background: var(--plate-deep);
    box-shadow:
        inset 0 2px 0 0 var(--rivet),
        inset 0 -2px 0 0 var(--rivet),
        inset 0 3px 0 0 var(--weld);
}

.section-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 28px;
    padding-bottom: 28px;
    margin-bottom: clamp(36px, 5vw, 60px);
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}

.section-num {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--amber);
    padding: 6px 12px;
    border: 1px solid var(--plate-edge);
    background: var(--plate-2);
    border-radius: 2px;
    font-weight: 500;
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.3);
    align-self: center;
    white-space: nowrap;
}
.section.dark .section-num { background: var(--plate); }

.section-title {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(34px, 5.4vw, 76px);
    line-height: 0.92;
    letter-spacing: 0.005em;
    color: var(--bone-warm);
    text-transform: uppercase;
}
.section-title em {
    font-style: normal;
    font-weight: 900;
    color: var(--rust-bright);
}

.section-meta {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
    text-align: right;
}

@media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
    .section-meta { text-align: left; }
}

/* =========================================================================
   STAT STRIP (homepage)
   ========================================================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--plate-2);
    border: 2px solid var(--rivet);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.stat {
    padding: 30px 26px;
    border-right: 1px solid var(--plate-edge);
    color: var(--bone);
    position: relative;
}
.stat:last-child { border-right: 0; }
.stat::after {
    content: '';
    position: absolute;
    top: 30px; bottom: 30px; right: -1px;
    width: 1px;
    background: var(--weld);
}
.stat .figure {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.9;
    color: var(--bone-warm);
    letter-spacing: 0.005em;
    text-transform: uppercase;
}
.stat .figure .unit {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--amber);
    margin-left: 10px;
    font-weight: 500;
    text-transform: uppercase;
    vertical-align: middle;
}
.stat .label {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--steel);
    margin-top: 12px;
    font-weight: 500;
}
.section.dark .stat { color: var(--bone); }
.section.dark .stat .figure { color: var(--bone-warm); }
.section.dark .stat .label { color: var(--steel); }

@media (max-width: 800px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--plate-edge); }
    .stat::after { display: none; }
}
@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--plate-edge); }
    .stat:last-child { border-bottom: 0; }
}

/* =========================================================================
   EDITORIAL — body copy beside a side note (now: stamped plate beside a
   bone-coloured spec plate)
   ========================================================================= */

.editorial {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: start;
}
.editorial.flip { grid-template-columns: 7fr 5fr; }
.editorial-aside { position: sticky; top: 100px; }

.editorial h2 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 0.92;
    text-transform: uppercase;
}
.editorial h2 em { font-style: normal; color: var(--rust-bright); font-weight: 900; }
.editorial .body-text { max-width: 64ch; }
.editorial .body-text p:first-of-type::first-letter {
    font-family: var(--display);
    font-weight: 900;
    font-size: 4.2em;
    float: left;
    line-height: 0.85;
    margin: 0.06em 12px 0 -3px;
    color: var(--rust-bright);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .editorial, .editorial.flip { grid-template-columns: 1fr; }
    .editorial-aside { position: static; }
}

/* =========================================================================
   ARCHIVE LIST
   ========================================================================= */

.archive {
    border-top: 2px solid var(--plate-edge);
}
.archive-row {
    display: grid;
    grid-template-columns: 96px 1.4fr 2.4fr auto;
    gap: clamp(18px, 3vw, 40px);
    align-items: baseline;
    padding: 26px 0;
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
    position: relative;
    transition: background .2s ease, padding .2s ease;
}
.archive-row:hover {
    background: linear-gradient(90deg, var(--plate-2), transparent);
    padding-inline: 16px;
    text-decoration: none;
}
.archive-row::before {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    height: 2px;
    width: 100%;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.archive-row:hover::before { transform: scaleX(1); }
.archive-row .num {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--amber);
    text-transform: uppercase;
    font-weight: 500;
}
.archive-row .title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1;
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.archive-row .title em { font-style: normal; color: var(--rust-bright); font-weight: 800; }
.archive-row .summary {
    color: var(--bone);
    font-size: 14.5px;
    line-height: 1.5;
    font-family: var(--body);
}
.archive-row .tag {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    color: var(--amber);
    text-transform: uppercase;
    text-align: right;
    font-weight: 500;
}

@media (max-width: 800px) {
    .archive-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 22px 0;
    }
    .archive-row .tag { text-align: left; }
}

/* =========================================================================
   SPEC TABLE — engraved plate
   ========================================================================= */

.spec {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--body);
    background: var(--bone);
    color: var(--ink);
    border: 2px solid var(--bone-edge);
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.18),
        0 6px 24px -10px rgba(0,0,0,0.4);
}
.spec caption {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--bone-warm);
    background: var(--ink);
    padding: 12px 18px;
    text-align: left;
    font-weight: 500;
    border-bottom: 2px solid var(--rust);
}
.spec th, .spec td {
    padding: 12px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(21,24,29,0.12);
    font-size: 13.5px;
    line-height: 1.45;
}
.spec th {
    color: var(--ink-soft);
    font-weight: 600;
    width: 38%;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-family: var(--mono);
    background: rgba(21,24,29,0.04);
}
.spec td {
    color: var(--ink);
    font-weight: 500;
}
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* dark sections still get the same bone plate */
.section.dark .spec { background: var(--bone); color: var(--ink); }
.section.dark .spec caption { background: var(--ink); color: var(--bone-warm); }

/* =========================================================================
   OPTIONS TREE — the configure rows
   ========================================================================= */

.options-tree {
    background: linear-gradient(180deg, var(--plate-2), var(--plate));
    border: 2px solid var(--rivet);
    padding: 24px clamp(20px, 3vw, 36px);
    margin-top: 18px;
    position: relative;
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.options-tree-head {
    display: flex; justify-content: space-between; align-items: baseline;
    border-bottom: 1px solid var(--plate-edge);
    padding-bottom: 14px;
    margin-bottom: 18px;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: 0 1px 0 0 var(--weld);
}
.options-tree-head h4 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 30px);
    text-transform: uppercase;
    letter-spacing: 0.005em;
    color: var(--bone-warm);
}
.options-tree-head h4 em { font-style: normal; color: var(--rust-bright); font-weight: 800; }
.options-tree-head .meta {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--amber);
    font-weight: 500;
}
.opt-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--plate-edge);
}
.opt-row:last-child { border-bottom: 0; }
.opt-row .opt-label {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
    font-weight: 500;
}
.opt-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}
.opt-choices .opt {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--plate-edge);
    background: var(--plate-deep);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bone-warm);
    font-weight: 500;
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.opt-choices .or {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
    opacity: 0.7;
}
@media (max-width: 700px) {
    .opt-row { grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================================
   APP / PRODUCT CARDS — bone-plate riveted documents
   ========================================================================= */

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.app-card {
    padding: 26px 26px 28px;
    background: var(--bone);
    color: var(--ink);
    border: 2px solid var(--bone-edge);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.15),
        0 8px 28px -14px rgba(0,0,0,0.5);
}
/* corner rivets */
.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10px 10px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 10px) 10px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at 10px calc(100% - 10px), var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), var(--rivet) 2.4px, transparent 2.8px);
}
.app-card .app-tag {
    display: inline-block;
    padding: 5px 11px 5px 13px;
    background: var(--rust);
    color: var(--bone-warm);
    font-family: var(--mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 500;
    border: 1px solid var(--rust-deep);
    border-radius: 2px;
    align-self: flex-start;
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.18),
        0 1px 0 0 var(--rust-deep);
    margin-bottom: 16px;
}
.app-card h4 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 0.95;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.app-card h4 em { font-style: normal; color: var(--rust); font-weight: 900; }
.app-card .lede-sm {
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-2);
    margin-top: 12px;
}
.app-card ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    border-top: 1px solid var(--bone-edge);
    flex-grow: 1;
}
.app-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(21,24,29,0.12);
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.app-card ul li::before {
    content: '▰';
    color: var(--rust);
    margin-right: 10px;
    font-size: 8px;
}
.app-card ul li span { flex: 1; }
.app-card ul li a { color: var(--ink); }
.app-card ul li a:hover { color: var(--rust); text-decoration: none; }
@media (max-width: 800px) {
    .app-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   DOC PACK — small asset-tag grid
   ========================================================================= */

.doc-pack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 18px;
}
.doc-pack .doc {
    padding: 12px 16px;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    align-items: center;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--bone-warm);
    text-decoration: none;
    background: var(--plate-2);
    border: 1px solid var(--plate-edge);
    border-left: 3px solid var(--amber);
    transition: background .2s ease, border-left-color .2s ease, color .2s ease;
    box-shadow:
        inset 0 1px 0 0 var(--weld);
}
.doc-pack .doc:hover {
    background: var(--rust);
    color: var(--bone-warm);
    border-color: var(--rust-deep);
    border-left-color: var(--bone-warm);
    text-decoration: none;
}
.doc-pack .doc .ref {
    font-size: 10px;
    color: var(--amber);
    letter-spacing: 0.22em;
    font-weight: 500;
}
.doc-pack .doc:hover .ref { color: var(--bone-warm); }
@media (max-width: 700px) {
    .doc-pack { grid-template-columns: 1fr; }
}

/* =========================================================================
   DRIVE OPTIONS — numbered industrial cards
   ========================================================================= */

.drive-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 2px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
    margin-top: 18px;
}
.drive-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: clamp(20px, 3vw, 44px);
    padding: 28px 0;
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
    align-items: start;
}
.drive-card .num {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(54px, 5.5vw, 84px);
    line-height: 0.9;
    color: var(--rust-bright);
    letter-spacing: 0.005em;
    padding-top: 4px;
    text-shadow: 0 2px 0 rgba(0,0,0,0.4);
}
.drive-card .body { display: block; }
.drive-card .name {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.1;
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0;
}
.drive-card .name em {
    font-style: normal;
    color: var(--amber);
    font-weight: 800;
}
.drive-card .desc {
    font-family: var(--body);
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--bone);
    margin: 12px 0 0 0;
    max-width: 70ch;
}
.drive-card .pros {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}
.drive-card .pros li {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--bone);
    padding: 5px 11px;
    border: 1px solid var(--plate-edge);
    background: var(--plate-deep);
    border-radius: 2px;
    font-weight: 500;
    box-shadow:
        inset 0 1px 0 0 var(--weld);
}
.drive-card .pros li.con {
    color: var(--amber);
    border-color: var(--amber-deep);
    background: rgba(244,165,20,0.08);
}
@media (max-width: 700px) {
    .drive-card { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
    .drive-card .num { font-size: 48px; padding-top: 0; }
}

/* tab-switch for drive option groups */
.drive-tabs {
    display: flex;
    gap: 0;
    margin-top: 24px;
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}
.drive-tabs button {
    appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 14px 22px 14px 0;
    margin-right: 28px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
    cursor: pointer;
    font-weight: 500;
    transition: color .2s ease, border-color .2s ease;
}
.drive-tabs button:hover { color: var(--bone-warm); }
.drive-tabs button.is-active {
    color: var(--amber);
    border-bottom-color: var(--amber);
}
.drive-panel { display: none; }
.drive-panel.is-active { display: block; }

/* =========================================================================
   PRODUCT GRID (homepage / valves index cards)
   ========================================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.product-grid.three { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: var(--bone);
    color: var(--ink);
    padding: 26px 24px 28px;
    border: 2px solid var(--bone-edge);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.15),
        0 8px 28px -14px rgba(0,0,0,0.5);
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10px 10px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 10px) 10px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at 10px calc(100% - 10px), var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), var(--rivet) 2.4px, transparent 2.8px);
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.15),
        0 12px 32px -14px rgba(0,0,0,0.6),
        0 0 0 1px var(--rust);
    text-decoration: none;
    color: var(--ink);
}
.product-card .num {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rust);
    font-weight: 600;
}
.product-card h3 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 0.95;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-top: 12px;
}
.product-card h3 em { font-style: normal; color: var(--rust); font-weight: 900; }
.product-card .desc {
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-2);
    margin-top: 14px;
    flex-grow: 1;
}
.product-card .meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--bone-edge);
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.product-card .meta .arrow {
    color: var(--rust);
    transition: transform .2s ease;
    font-size: 14px;
}
.product-card:hover .meta .arrow { transform: translate(3px, -3px); }
@media (max-width: 900px) {
    .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .product-grid, .product-grid.three { grid-template-columns: 1fr; }
}

/* =========================================================================
   PEOPLE GRID
   ========================================================================= */

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 2px solid var(--plate-edge);
    background: var(--plate-2);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.person {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 22px;
    padding: 26px;
    border-right: 1px solid var(--plate-edge);
    border-bottom: 1px solid var(--plate-edge);
    align-items: start;
}
.person:nth-child(2n) { border-right: 0; }
.person:nth-last-child(-n+2) { border-bottom: 0; }
.person-portrait {
    width: 100px; height: 130px;
    background: var(--bone);
    color: var(--ink);
    border: 2px solid var(--bone-edge);
    display: grid; place-items: center;
    font-family: var(--display);
    font-weight: 900;
    font-size: 38px;
    letter-spacing: 0.005em;
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.18);
}
.person-name {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(22px, 2.2vw, 28px);
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.person-name em { font-style: normal; color: var(--amber); font-weight: 900; }
.person-role {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--amber);
    margin-top: 6px;
    font-weight: 500;
}
.person-tenure {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel);
    margin-top: 10px;
}
.person-bio {
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--bone);
    margin-top: 14px;
}
@media (max-width: 800px) {
    .people-grid { grid-template-columns: 1fr; }
    .person { border-right: 0; }
    .person:nth-last-child(-n+2) { border-bottom: 1px solid var(--plate-edge); }
    .person:last-child { border-bottom: 0; }
}

/* =========================================================================
   CALLOUT
   ========================================================================= */

.callout {
    background: linear-gradient(180deg, var(--plate-2), var(--plate));
    color: var(--bone-warm);
    border: 2px solid var(--rivet);
    padding: clamp(28px, 4vw, 56px);
    text-align: center;
    position: relative;
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.callout .kicker { color: var(--amber); }
.callout .callout-text {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 50px);
    line-height: 0.98;
    margin: 18px auto 26px;
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.005em;
    max-width: 22ch;
}
.callout .callout-text em { font-style: normal; color: var(--rust-bright); font-weight: 800; }

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
    background: var(--plate-deep);
    color: var(--bone);
    padding: clamp(56px, 7vw, 96px) 0 32px;
    border-top: 4px solid var(--rust);
    position: relative;
    box-shadow:
        inset 0 4px 0 0 rgba(0,0,0,0.4),
        inset 0 5px 0 0 var(--weld);
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16px 16px, var(--rivet) 3px, transparent 3.5px),
        radial-gradient(circle at calc(100% - 16px) 16px, var(--rivet) 3px, transparent 3.5px);
    background-repeat: no-repeat;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: end;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}
.footer-top .display { color: var(--bone-warm); }
.footer-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-cta .btn { color: var(--bone); border-color: var(--bone); }
.footer-cta .btn:hover { background: var(--bone); color: var(--ink); }
.footer-cta .btn-rust { background: var(--rust); border-color: var(--rust-deep); color: var(--bone-warm); }
.footer-cta .btn-rust:hover { background: var(--rust-bright); color: var(--bone-warm); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: clamp(20px, 3vw, 44px);
    padding: 40px 0 30px;
}
.footer-col h4 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--amber);
    margin-bottom: 14px;
}
.footer-col p, .footer-col ul li {
    font-family: var(--body);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--bone);
}
.footer-col ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-col ul li { padding: 4px 0; }
.footer-col a { color: var(--bone); }
.footer-col a:hover { color: var(--amber); text-decoration: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-top: 24px;
    border-top: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--steel);
}

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr; gap: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */

html.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .65s cubic-bezier(.2,.7,.3,1), transform .65s cubic-bezier(.2,.7,.3,1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   TICKER — industries marquee (between hero & catalogue)
   ========================================================================= */

.ticker {
    overflow: hidden;
    background: var(--plate-deep);
    border-top: 1px solid var(--rivet);
    border-bottom: 1px solid var(--rivet);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 var(--weld);
    padding: 18px 0;
    position: relative;
    z-index: 2;
}
.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--plate-deep), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--plate-deep), transparent); }

.ticker-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: ticker-scroll 60s linear infinite;
}
.ticker-track span {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--bone);
    font-weight: 500;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 28px;
}
.ticker-track span em {
    font-style: normal;
    color: var(--amber);
    font-weight: 600;
}
.ticker-track span::after {
    content: '◆';
    color: var(--rust);
    font-size: 7px;
}
.ticker-track span:last-child::after { content: none; }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
}

/* =========================================================================
   DEFINITION LISTS — homepage spec block, contact location detail
   ========================================================================= */

dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(110px, 30%) 1fr;
    gap: 6px 18px;
    font-family: var(--body);
    font-size: 14px;
    line-height: 1.5;
}
dt {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--amber);
    font-weight: 500;
    padding-top: 2px;
}
dd {
    margin: 0;
    color: var(--bone);
}
dd em {
    font-style: italic;
    color: var(--bone-warm);
    font-weight: 600;
}

/* the contact-page location-detail uses div.row > dt + dd pairing */
.location-detail {
    display: block;
    grid-template-columns: none;
    gap: 0;
    margin-top: 18px;
}
.location-detail .row {
    display: grid;
    grid-template-columns: minmax(80px, 22%) 1fr;
    gap: 10px 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--bone-edge);
}
.location-detail .row:last-child { border-bottom: 0; }
.location-detail .row dt {
    color: var(--rust);
    font-weight: 600;
}
.location-detail .row dd {
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.5;
}
.location-detail .row dd a { color: var(--rust); }
.location-detail .row dd a:hover { color: var(--rust-deep); text-decoration: underline; }

/* =========================================================================
   LOCATIONS (contact)
   ========================================================================= */

.locations {
    display: grid;
    gap: 18px;
    margin-top: 12px;
}
.location {
    background: var(--bone);
    color: var(--ink);
    padding: 32px 32px 36px;
    border: 2px solid var(--bone-edge);
    position: relative;
    box-shadow:
        inset 0 1px 0 0 var(--bone-warm),
        inset 0 -1px 0 0 rgba(0,0,0,0.15),
        0 8px 28px -14px rgba(0,0,0,0.5);
}
.location::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12px 12px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 12px) 12px, var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at 12px calc(100% - 12px), var(--rivet) 2.4px, transparent 2.8px),
        radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--rivet) 2.4px, transparent 2.8px);
}
.location h3 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(28px, 3vw, 38px);
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.005em;
    margin-top: 12px;
}
.location h3 em { font-style: normal; color: var(--rust); font-weight: 900; }
.location .badge,
.badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--rust);
    color: var(--bone-warm);
    font-family: var(--mono);
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 500;
    border: 1px solid var(--rust-deep);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 0 rgba(255,255,255,0.18),
        0 1px 0 0 var(--rust-deep);
}
@media (max-width: 800px) {
    .locations { grid-template-columns: 1fr !important; }
}

/* =========================================================================
   GLOBAL REACH BAND (homepage, contact)
   ========================================================================= */

.global-band {
    background: var(--plate-deep);
    color: var(--bone);
    padding: clamp(60px, 7vw, 100px) 0;
    position: relative;
    box-shadow:
        inset 0 2px 0 0 var(--rivet),
        inset 0 -2px 0 0 var(--rivet),
        inset 0 3px 0 0 var(--weld);
}
.global-band::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 1000px 500px at 80% 50%, rgba(244,165,20,0.05), transparent 60%);
}
.global-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
    position: relative;
    z-index: 2;
}
.global-grid h2 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 0.95;
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.005em;
}
.global-grid h2 em { font-style: normal; color: var(--rust-bright); font-weight: 900; }

.country-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--plate-edge);
    background: var(--plate-2);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
}
.country-list li {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--plate-edge);
    border-bottom: 1px solid var(--plate-edge);
    font-family: var(--body);
    font-size: 13.5px;
    color: var(--bone);
    font-weight: 500;
}
.country-list li:nth-child(2n) { border-right: 0; }
.country-list li:nth-last-child(-n+2) { border-bottom: 0; }
.country-list li:nth-last-child(2):nth-child(odd) { border-right: 1px solid var(--plate-edge); }
.country-list li:last-child:nth-child(odd) { grid-column: span 2; }
.country-list li .num {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--amber);
    background: var(--plate-deep);
    border: 1px solid var(--plate-edge);
    padding: 4px 8px;
    border-radius: 2px;
    min-width: 36px;
    text-align: center;
    box-shadow: inset 0 1px 0 0 var(--weld);
}
@media (max-width: 800px) {
    .global-grid { grid-template-columns: 1fr; }
    .country-list { grid-template-columns: 1fr; }
    .country-list li, .country-list li:nth-child(2n) { border-right: 0; }
    .country-list li { border-bottom: 1px solid var(--plate-edge); }
    .country-list li:last-child { border-bottom: 0; }
}

/* =========================================================================
   LINK LIST (downloads page) — num · title · size · icon
   ========================================================================= */

.link-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    border-top: 2px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}
.link-list li {
    border-bottom: 1px solid var(--plate-edge);
    box-shadow: 0 1px 0 0 var(--weld);
}
.link-list li a {
    display: grid;
    grid-template-columns: 90px 1fr auto 44px;
    gap: clamp(14px, 2vw, 28px);
    align-items: center;
    padding: 18px 0;
    color: var(--bone);
    text-decoration: none;
    transition: padding .2s ease, background .2s ease;
}
.link-list li a:hover {
    background: linear-gradient(90deg, var(--plate-2), transparent);
    padding-inline: 14px;
    color: var(--bone-warm);
    text-decoration: none;
}
.link-list li a .num {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--amber);
    font-weight: 500;
}
.link-list li a .title {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1;
    color: var(--bone-warm);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.link-list li a .title em { font-style: normal; color: var(--rust-bright); font-weight: 800; }
.link-list li a .size {
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel);
    font-weight: 500;
    text-align: right;
}
.link-list li a .icon {
    width: 38px; height: 38px;
    border: 1.5px solid var(--plate-edge);
    border-radius: 2px;
    display: grid; place-items: center;
    color: var(--amber);
    font-size: 16px;
    background: var(--plate-2);
    box-shadow:
        inset 0 1px 0 0 var(--weld),
        inset 0 -1px 0 0 rgba(0,0,0,0.4);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.link-list li a:hover .icon {
    background: var(--rust);
    color: var(--bone-warm);
    border-color: var(--rust-deep);
}
@media (max-width: 700px) {
    .link-list li a {
        grid-template-columns: 60px 1fr 38px;
        grid-template-rows: auto auto;
        gap: 4px 14px;
        padding: 16px 0;
    }
    .link-list li a .num { grid-column: 1; grid-row: 1; }
    .link-list li a .title { grid-column: 2; grid-row: 1; font-size: 17px; }
    .link-list li a .size { grid-column: 2; grid-row: 2; text-align: left; }
    .link-list li a .icon { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* =========================================================================
   BLUEPRINT BACKGROUND — used inside hero-blueprint-art and test bay
   ========================================================================= */

.bp {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(212, 205, 190, 0.06) 0 1px,
            transparent 1px 36px),
        repeating-linear-gradient(90deg,
            rgba(212, 205, 190, 0.06) 0 1px,
            transparent 1px 36px),
        repeating-linear-gradient(0deg,
            rgba(212, 205, 190, 0.12) 0 1px,
            transparent 1px 180px),
        repeating-linear-gradient(90deg,
            rgba(212, 205, 190, 0.12) 0 1px,
            transparent 1px 180px);
}

/* =========================================================================
   PHOTO TREATMENTS — archive-style imagery
   ========================================================================= */

.photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* archive frame: hairline border, paper inset, slight desaturation */
.photo-frame {
    position: relative;
    background: var(--ink);
    border: 1px solid var(--plate-edge);
    overflow: hidden;
    box-shadow: 0 8px 28px -14px rgba(0,0,0,0.5);
}
.photo-frame .photo {
    filter: saturate(0.78) contrast(1.04);
    transition: filter .35s ease, transform .35s ease;
}
.photo-frame:hover .photo { filter: saturate(0.95) contrast(1.06); }

/* duotone-ish overlay for photo tiles inside dark sections */
.photo-frame.duo::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(43,49,56,0.10) 0%, rgba(43,49,56,0.55) 100%),
        repeating-linear-gradient(0deg, rgba(212, 205, 190, 0.05) 0 1px, transparent 1px 4px);
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* caption strip at bottom */
.photo-frame .photo-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(15,17,21,0.85) 60%, rgba(15,17,21,0.95) 100%);
    color: var(--bone);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    pointer-events: none;
}
.photo-frame .photo-cap em {
    color: var(--rust-bright);
    font-style: normal;
    font-weight: 700;
}

/* corner ticks like a contact sheet */
.photo-frame.ticks::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        linear-gradient(var(--bone), var(--bone)) top    left  / 14px 1px no-repeat,
        linear-gradient(var(--bone), var(--bone)) top    left  / 1px 14px no-repeat,
        linear-gradient(var(--bone), var(--bone)) top    right / 14px 1px no-repeat,
        linear-gradient(var(--bone), var(--bone)) top    right / 1px 14px no-repeat,
        linear-gradient(var(--bone), var(--bone)) bottom left  / 14px 1px no-repeat,
        linear-gradient(var(--bone), var(--bone)) bottom left  / 1px 14px no-repeat,
        linear-gradient(var(--bone), var(--bone)) bottom right / 14px 1px no-repeat,
        linear-gradient(var(--bone), var(--bone)) bottom right / 1px 14px no-repeat;
    opacity: 0.7;
    z-index: 2;
}

/* inline bordered photo for editorial bodies */
.photo-inline {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--plate-edge);
    background: var(--ink);
    box-shadow: 0 8px 28px -14px rgba(0,0,0,0.5);
    margin: 24px 0;
    filter: saturate(0.85) contrast(1.04);
}
.photo-inline.tall { aspect-ratio: 4/5; object-fit: cover; }
.photo-inline.wide { aspect-ratio: 16/9; object-fit: cover; }

/* product-card image header */
.product-card.has-photo { padding-top: 0; }
.product-card .card-photo {
    position: relative;
    margin: -2px -24px 16px;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ink);
    border-bottom: 1px solid var(--bone-edge);
}
.product-card .card-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
    transition: transform .4s ease;
}
.product-card:hover .card-photo img { transform: scale(1.03); }

/* gallery tiles — replace placeholder hatch when has image */
.gal-tile.has-photo { background: var(--ink); }
.gal-tile.has-photo::before { background: none; }
.gal-tile.has-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.06);
    transition: transform .4s ease, filter .35s ease;
    z-index: 0;
}
.gal-tile.has-photo span {
    background: linear-gradient(180deg, transparent 0%, rgba(15,17,21,0.85) 70%);
    width: 100%;
    align-self: end;
    padding: 28px 12px 12px;
    color: var(--bone);
}
.gal-tile.has-photo:hover img { filter: saturate(1) contrast(1.08); transform: scale(1.04); }

/* portrait — replaces the monogram block in person grid */
.person-portrait.has-photo { padding: 0; overflow: hidden; }
.person-portrait.has-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.04);
}

/* hero side image (supplements the SVG blueprint) */
.hero-photo {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--ink);
    border: 1px solid var(--plate-edge);
    overflow: hidden;
    margin-top: 20px;
}
.hero-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.06);
}
.hero-photo::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(15,17,21,0.0) 60%, rgba(15,17,21,0.55) 100%);
    pointer-events: none;
}

/* big editorial image (for heritage / about / contracts pages) */
.feature-photo {
    position: relative;
    aspect-ratio: 21/9;
    background: var(--ink);
    border: 1px solid var(--plate-edge);
    overflow: hidden;
    margin: 40px 0 16px;
}
.feature-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.05);
}
.feature-photo .photo-cap {
    position: absolute;
    left: 16px; bottom: 14px;
    color: var(--bone);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.feature-photo .photo-cap em { color: var(--rust-bright); font-style: normal; font-weight: 700; }

/* photo strip — three-up imagery row */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 32px 0;
}
.photo-strip .photo-frame {
    aspect-ratio: 4/3;
}
@media (max-width: 800px) {
    .photo-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .photo-strip { grid-template-columns: 1fr; }
}

/* people-grid — lift portrait area to allow image */
.people-grid .person-portrait {
    aspect-ratio: 3/4;
    min-width: 100px;
}

