:root {
    --ink: #17191a;
    --ink-soft: #26292a;
    --paper: #f4f0e8;
    --paper-deep: #e9e2d6;
    --white: #fffdf8;
    --oxide: #a84530;
    --oxide-dark: #7f2f20;
    --brass: #b89664;
    --line: rgba(23, 25, 26, 0.18);
    --line-light: rgba(255, 253, 248, 0.2);
    --muted: #666761;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: Inter, "Helvetica Neue", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --shell: min(1440px, calc(100vw - 72px));
    --section: clamp(5rem, 9vw, 9rem);
    --header-height: 86px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

button, input, textarea, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--oxide); outline-offset: 4px; }

::selection { background: var(--oxide); color: var(--white); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

h2 { font-size: clamp(2.7rem, 5vw, 5.5rem); }

h3 { font-size: clamp(1.45rem, 2vw, 2.1rem); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 1rem;
    top: 1rem;
    transform: translateY(-200%);
    padding: 0.8rem 1rem;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

.section-shell { width: var(--shell); margin-inline: auto; }

.section-pad { padding-block: var(--section); }

.section-paper { background: var(--paper-deep); }

.section-dark { background: var(--ink); color: var(--white); }

.eyebrow {
    margin-bottom: 1.6rem;
    color: var(--oxide-dark);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow-light { color: #d6b28e; }

.section-intro { max-width: 740px; }

.section-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 650px; }

.split-intro {
    display: grid;
    grid-template-columns: minmax(150px, 0.34fr) 1fr;
    column-gap: 4vw;
    max-width: none;
    align-items: start;
    margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.split-intro .eyebrow { padding-top: 0.8rem; }

.split-intro h2 { margin: 0; max-width: 980px; }

.split-intro > p:last-child:not(.eyebrow) { grid-column: 2; margin: 1.5rem 0 0; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.9rem 1.4rem;
    border: 1px solid currentColor;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-accent { background: var(--oxide); border-color: var(--oxide); color: var(--white); }
.button-accent:hover { background: #bd513a; border-color: #bd513a; }
.button-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--oxide); border-color: var(--oxide); }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { background: transparent; color: var(--white); }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { border-color: var(--ink); }

.text-link {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link-light { color: var(--white); }

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(23, 25, 26, 0.12);
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-shell {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: 0.18em; }
.brand-copy small { margin-top: 0.35rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.19em; }

.primary-nav { display: flex; align-items: center; gap: clamp(0.75rem, 1.5vw, 1.7rem); }
.primary-nav > a {
    position: relative;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.primary-nav > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -0.55rem;
    height: 1px;
    background: var(--oxide);
    transition: right 180ms ease;
}
.primary-nav > a:hover::after,
.primary-nav > a[aria-current="page"]::after { right: 0; }
.primary-nav .nav-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.primary-nav .nav-cta:hover { background: var(--ink); color: var(--white); }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
}
.nav-toggle span:not(.sr-only) { width: 24px; height: 1px; background: currentColor; transition: transform 180ms ease; }

/* Home hero */
.hero-home {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.hero-weave {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(255,255,255,.11) 24px),
        repeating-linear-gradient(0deg, transparent 0, transparent 11px, rgba(255,255,255,.065) 12px);
    mask-image: linear-gradient(110deg, transparent 0, #000 45%, #000 100%);
}

.hero-home::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10%;
    width: 1px;
    height: 100%;
    background: var(--line-light);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.55fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: end;
    padding-block: clamp(5rem, 11vh, 9rem) 4rem;
}

.hero-main h1 {
    margin: 0;
    max-width: 1050px;
    font-size: clamp(4rem, 7.6vw, 8.2rem);
    line-height: 0.93;
    letter-spacing: -0.055em;
}

.hero-main h1 em { color: #d8b78e; font-weight: 400; }

.hero-aside { max-width: 440px; padding-bottom: 0.7rem; }
.hero-aside > p { margin-bottom: 2rem; color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.7; }

.hero-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-light);
}
.hero-proof span {
    padding: 1.2rem 1.2rem 1.2rem 0;
    border-right: 1px solid var(--line-light);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-proof span:not(:first-child) { padding-left: 1.2rem; }
.hero-proof span:last-child { border-right: 0; }

/* Home content */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric { min-height: 350px; padding: 2.1rem 1.6rem 2rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.metric:not(:first-child) { padding-left: 1.6rem; }
.metric:last-child { border-right: 0; }
.metric strong {
    display: block;
    margin-bottom: auto;
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 5.2rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
}
.metric strong span { font-size: 0.35em; letter-spacing: 0; }
.metric h3 { margin: 2rem 0 0.8rem; font-family: var(--sans); font-size: 0.98rem; font-weight: 800; letter-spacing: 0.02em; }
.metric p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.capability-index .split-intro { color: var(--white); }
.capability-stack { border-top: 1px solid var(--line-light); }
.capability-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) minmax(130px, 0.25fr) 40px;
    gap: 1.5rem;
    align-items: center;
    min-height: 150px;
    border-bottom: 1px solid var(--line-light);
    color: var(--white);
    text-decoration: none;
    transition: background-color 180ms ease, padding 180ms ease;
}
.capability-row:hover { background: rgba(255,255,255,.045); padding-inline: 1rem; }
.capability-row-featured { border-left: 5px solid var(--oxide); padding-left: 1.2rem; background: rgba(168,69,48,.09); }
.capability-number { color: #d6b28e; font-family: var(--mono); font-size: 0.75rem; }
.capability-row strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.capability-row small { display: block; margin-top: 0.65rem; color: rgba(255,255,255,.58); font-size: 0.88rem; }
.capability-row b { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.capability-row i { font-family: var(--sans); font-size: 1.5rem; font-style: normal; text-align: right; }

.process-line { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-line li {
    display: grid;
    grid-template-columns: 70px minmax(200px, 0.8fr) 1.2fr;
    gap: 1.5rem;
    align-items: start;
    padding-block: 1.8rem;
    border-bottom: 1px solid var(--line);
}
.process-line span { color: var(--oxide-dark); font-family: var(--mono); font-size: 0.74rem; }
.process-line strong { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 400; line-height: 1.1; }
.process-line p { margin: 0; color: var(--muted); max-width: 540px; }

.finish-layout { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.finish-layout .section-intro { position: sticky; top: calc(var(--header-height) + 3rem); }
.finish-layout h2 { font-size: clamp(3rem, 5.2vw, 5.8rem); }
.finish-layout .text-link { margin-top: 1rem; }
.finish-list { border-top: 1px solid var(--line); }
.finish-list a {
    display: grid;
    grid-template-columns: 55px 1fr;
    align-items: center;
    min-height: 84px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.4vw, 2.5rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
}
.finish-list a:hover { color: var(--oxide-dark); padding-left: 0.5rem; }
.finish-list span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0; }

.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.family-card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4vw, 4.5rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}
.family-card > span { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.family-card h3 { margin: auto 0 1rem; font-size: clamp(2.7rem, 5vw, 5.3rem); }
.family-card p { max-width: 510px; color: var(--muted); }
.family-card b { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; }
.family-card i { font-size: 1.4rem; font-style: normal; }
.family-card:hover { background: var(--ink); color: var(--white); }
.family-card:hover p { color: rgba(255,255,255,.65); }
.family-performance { background: var(--paper-deep); }

.why-section { background: var(--white); }
.why-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.why-heading { position: sticky; top: calc(var(--header-height) + 3rem); }
.why-heading h2 { font-size: clamp(3rem, 5.4vw, 6rem); }
.why-list { border-top: 1px solid var(--line); }
.why-list article { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding-block: 2.2rem; border-bottom: 1px solid var(--line); }
.why-list article > span { color: var(--oxide-dark); font-family: var(--mono); font-size: 0.72rem; }
.why-list h3 { margin-bottom: 0.8rem; font-size: clamp(1.55rem, 2.5vw, 2.6rem); }
.why-list p { margin: 0; color: var(--muted); }

/* Closing CTA and footer */
.closing-cta { padding-block: clamp(4.5rem, 8vw, 8rem); background: var(--oxide-dark); color: var(--white); }
.closing-cta-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(3rem, 9vw, 10rem); align-items: end; }
.closing-cta h2 { margin-bottom: 0; max-width: 700px; }
.closing-cta-grid > div:last-child > p { margin-bottom: 2rem; color: rgba(255,255,255,.78); max-width: 590px; font-size: 1.08rem; }

.site-footer { padding-block: 5rem 1.4rem; background: var(--ink); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 0.8fr) 1.2fr; gap: 3rem; padding-bottom: 4rem; }
.footer-intro p { max-width: 330px; margin-top: 1.5rem; font-size: 0.92rem; }
.brand-footer { color: var(--white); }
.site-footer h2 { margin-bottom: 1.2rem; color: var(--white); font-family: var(--sans); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-address { font-size: 0.9rem; }
.footer-address address { margin-bottom: 1rem; font-style: normal; }
.footer-address > a { display: block; margin-top: 0.45rem; overflow-wrap: anywhere; }
.footer-base { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: 0.75rem; }
.footer-base p { margin: 0; }
.mobile-quote { display: none; }

/* Interior pages */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(5rem, 10vw, 10rem) clamp(4rem, 8vw, 8rem); background: var(--ink); color: var(--white); }
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 55%;
    opacity: .22;
    background-image:
        repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgba(255,255,255,.12) 32px),
        repeating-linear-gradient(0deg, transparent 0, transparent 15px, rgba(255,255,255,.08) 16px);
}
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) 0.6fr; gap: 5vw; align-items: end; }
.page-hero h1 { margin: 0; max-width: 1000px; font-size: clamp(4rem, 8vw, 8.6rem); }
.page-hero h1 em { color: #d6b28e; font-weight: 400; }
.page-hero-copy { max-width: 480px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.page-hero-copy p:last-child { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 2rem; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.07em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.65rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.65rem; color: rgba(255,255,255,.35); }
.breadcrumbs a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumbs [aria-current="page"] { color: var(--white); }

.content-lead { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 9vw, 11rem); align-items: start; }
.content-lead h2 { font-size: clamp(3rem, 5.4vw, 6rem); }
.content-lead .prose { max-width: 740px; }
.prose { font-size: 1.05rem; }
.prose p { color: #484a47; }
.prose .lead { color: var(--ink); font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.25; letter-spacing: -0.025em; }
.prose a { color: var(--oxide-dark); font-weight: 700; }

.spec-band { background: var(--oxide-dark); color: var(--white); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.spec-item { min-height: 230px; padding: 2.2rem; border-right: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; justify-content: space-between; }
.spec-item:last-child { border-right: 0; }
.spec-item span { color: rgba(255,255,255,.6); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.spec-item strong { font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4.6rem); font-weight: 400; line-height: 1; }
.spec-item p { margin: .8rem 0 0; color: rgba(255,255,255,.72); }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-card { min-height: 260px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-card > span { display: block; margin-bottom: 3rem; color: var(--oxide-dark); font-family: var(--mono); font-size: .72rem; }
.detail-card h3 { margin-bottom: .9rem; }
.detail-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.list-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.list-section > div:first-child { position: sticky; top: calc(var(--header-height) + 3rem); }
.list-section h2 { font-size: clamp(3rem, 5vw, 5.6rem); }
.technical-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.technical-list li { display: grid; grid-template-columns: 45px 1fr; gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.technical-list li::before { content: "—"; color: var(--oxide-dark); }
.technical-list strong { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 400; line-height: 1.25; }
.technical-list small { display: block; margin-top: .35rem; color: var(--muted); font-size: .9rem; }

.note-panel { padding: 2.4rem; border-left: 4px solid var(--oxide); background: var(--paper-deep); }
.note-panel h3 { font-size: 1.55rem; }
.note-panel p:last-child { margin-bottom: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.related-card { min-height: 280px; padding: 2rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); text-decoration: none; display: flex; flex-direction: column; }
.related-card span { color: #d6b28e; font-family: var(--mono); font-size: .7rem; }
.related-card h3 { margin: auto 0 .8rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.related-card p { margin: 0; color: rgba(255,255,255,.6); }
.related-card:hover { background: rgba(255,255,255,.05); }

.faq-list { max-width: 960px; margin-left: auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.6rem 3rem 1.6rem 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.25; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .3rem; top: 1.55rem; font-family: var(--sans); font-size: 1.4rem; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 760px; padding: 0 2rem 1.8rem 0; color: var(--muted); }

/* Form */
.contact-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.contact-aside { position: sticky; top: calc(var(--header-height) + 3rem); }
.contact-aside h2 { font-size: clamp(2.8rem, 4.7vw, 5rem); }
.contact-facts { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-facts div + div { margin-top: 1.3rem; }
.contact-facts span { display: block; margin-bottom: .2rem; color: var(--muted); font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-facts a { overflow-wrap: anywhere; }

.rfq-form { padding: clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--line); background: var(--white); }
.form-section + .form-section { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.form-section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; margin-bottom: 2rem; }
.form-section-heading span { color: var(--oxide-dark); font-family: var(--mono); font-size: .72rem; }
.form-section-heading h2 { margin: 0; font-size: clamp(1.9rem, 3vw, 3rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem 1.2rem; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: .5rem; font-size: .81rem; font-weight: 750; }
.field label span { color: var(--oxide-dark); }
.field input, .field textarea, .field select {
    width: 100%;
    min-height: 52px;
    padding: .8rem .9rem;
    border: 1px solid #b9b7af;
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--oxide); outline: 2px solid rgba(168,69,48,.2); outline-offset: 0; }
.field small { display: block; margin-top: .45rem; color: var(--muted); font-size: .76rem; }
.field-error { margin: .45rem 0 0; color: #8f2419; font-size: .82rem; font-weight: 700; }
.has-error input, .has-error textarea, .has-error select { border-color: #a02b20; }
.form-alert { margin-bottom: 2rem; padding: 1.1rem 1.2rem; border-left: 4px solid #a02b20; background: #f9e9e5; }
.form-alert:focus { outline-offset: 2px; }
.form-alert strong { display: block; margin-bottom: .35rem; }
.form-alert ul { margin: 0; padding-left: 1.2rem; }
.form-actions { display: flex; align-items: flex-start; gap: 1.2rem; margin-top: 2rem; }
.form-actions p { margin: 0; color: var(--muted); font-size: .8rem; max-width: 390px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Utility pages */
.legal-content { max-width: 860px; margin-inline: auto; }
.legal-content h2 { margin-top: 3rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.legal-content p, .legal-content li { color: #484a47; }
.legal-content .updated { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.status-page { min-height: calc(100svh - var(--header-height)); display: grid; place-items: center; padding-block: 5rem; background: var(--ink); color: var(--white); }
.status-card { max-width: 820px; }
.status-card h1 { margin: .4rem 0 1.8rem; font-size: clamp(4rem, 9vw, 8rem); }
.status-card > p { max-width: 640px; color: rgba(255,255,255,.7); font-size: 1.08rem; }

/* Reveal progressively; content remains visible without JS. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1180px) {
    :root { --shell: min(100% - 48px, 1200px); }
    .primary-nav { gap: .85rem; }
    .primary-nav > a { font-size: .7rem; }
    .hero-grid { grid-template-columns: 1fr; align-items: start; }
    .hero-aside { max-width: 720px; }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, .75fr); }
    .footer-address { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid var(--line-light); }
}

@media (max-width: 980px) {
    :root { --header-height: 76px; }
    .site-header {
        background: var(--paper);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .brand { position: relative; z-index: 102; }
    .nav-toggle { display: flex; position: relative; z-index: 102; }
    .nav-toggle[aria-expanded="true"] span:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 101;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1rem;
        padding: 7rem 24px 3rem;
        background: var(--ink);
        color: var(--white);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }
    .nav-open .brand-copy { color: var(--white); }
    .nav-open .nav-toggle { color: var(--white); }
    .primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .primary-nav > a { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 400; letter-spacing: -.02em; }
    .primary-nav .nav-cta { margin-top: 1.2rem; min-height: 52px; border-color: var(--white); font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--line); }
    .metric:nth-child(3) { padding-left: 0; }
    .finish-layout, .why-layout, .content-lead, .list-section, .contact-layout { grid-template-columns: 1fr; }
    .finish-layout .section-intro, .why-heading, .list-section > div:first-child, .contact-aside { position: static; }
    .detail-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr; }
    .related-card { min-height: 220px; }
    .closing-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    :root { --shell: calc(100% - 32px); --section: 4.5rem; }
    body { padding-bottom: 54px; }
    h2 { font-size: clamp(2.4rem, 12vw, 4.2rem); }
    .brand img { width: 42px; height: 42px; }
    .brand-copy strong { font-size: .9rem; }
    .brand-copy small { font-size: .52rem; }
    .split-intro { grid-template-columns: 1fr; gap: 0; margin-bottom: 3rem; }
    .split-intro .eyebrow { padding-top: 0; }
    .split-intro > p:last-child:not(.eyebrow) { grid-column: 1; }
    .hero-home { min-height: auto; }
    .hero-grid { gap: 3rem; padding-block: 4.5rem 3.5rem; }
    .hero-main h1 { font-size: clamp(3.35rem, 15.2vw, 5.7rem); }
    .hero-proof { grid-template-columns: repeat(2, 1fr); }
    .hero-proof span { min-height: 70px; border-bottom: 1px solid var(--line-light); }
    .hero-proof span:nth-child(2) { border-right: 0; }
    .hero-proof span:nth-child(3), .hero-proof span:nth-child(4) { border-bottom: 0; }
    .hero-proof span:nth-child(3) { padding-left: 0; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric { min-height: 290px; padding: 1.8rem 0; border-right: 0; border-top: 1px solid var(--line); }
    .metric:first-child { border-top: 0; }
    .metric:not(:first-child) { padding-left: 0; }
    .capability-row { grid-template-columns: 36px minmax(0, 1fr) 30px; min-height: 130px; gap: .85rem; }
    .capability-row b { display: none; }
    .capability-row strong { font-size: clamp(2rem, 9vw, 3.2rem); }
    .capability-row small { font-size: .78rem; }
    .process-line li { grid-template-columns: 40px 1fr; gap: .8rem; }
    .process-line p { grid-column: 2; }
    .family-grid { grid-template-columns: 1fr; }
    .family-card { min-height: 350px; }
    .page-hero-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: clamp(3.1rem, 13.4vw, 5.2rem); }
    .spec-grid { grid-template-columns: 1fr; }
    .spec-item { min-height: 190px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
    .spec-item:last-child { border-bottom: 0; }
    .detail-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: 1; }
    .rfq-form { padding: 1.2rem; }
    .form-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
    .footer-intro, .footer-address { grid-column: 1 / -1; }
    .footer-base { flex-direction: column; gap: .5rem; }
    .mobile-quote {
        position: fixed;
        z-index: 90;
        left: 0;
        right: 0;
        bottom: 0;
        height: 54px;
        display: grid;
        place-items: center;
        background: var(--oxide);
        color: var(--white);
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .09em;
        text-decoration: none;
        text-transform: uppercase;
    }
}

@media print {
    .site-header, .site-footer, .closing-cta, .mobile-quote, .nav-toggle, .button-row { display: none !important; }
    body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
    main { display: block; }
    .page-hero { padding: 2rem 0; background: #fff; color: #000; }
    .page-hero::after { display: none; }
    .page-hero-copy, .prose p { color: #222; }
    .rfq-form { border: 1px solid #777; padding: 1rem; }
}

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