:root {
    --red: #fe4438;
    --red-dark: #dc3027;
    --heading: #31302e;
    --text: #52514f;
    --muted: #777570;
    --bg: #f7f7f5;
    --surface: #fff;
    --surface-alt: #efefed;
    --border: #dddcd8;
    --dark: #242321;
    --dark-alt: #31302e;
    --white: #fff;
    --shadow: 0 18px 55px rgba(36, 35, 33, .09);
    --radius: 6px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

h1, h2, h3, h4 {
    color: var(--heading);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin: 0;
}

h1 { font-size: clamp(2.7rem, 5.7vw, 5.35rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }

:focus-visible {
    outline: 3px solid rgba(254, 68, 56, .45);
    outline-offset: 3px;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr-only {
    border: 0; clip: rect(0, 0, 0, 0); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px;
}
.skip-link {
    background: var(--dark); color: var(--white); left: 20px; padding: 12px 18px;
    position: fixed; top: -70px; z-index: 999;
}
.skip-link:focus { top: 12px; }

.eyebrow {
    color: var(--red);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.eyebrow-light { color: #ff746c; }

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    font-size: .92rem;
    font-weight: 700;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { background: transparent; border-color: var(--heading); color: var(--heading); }
.button-secondary:hover { background: var(--heading); color: var(--white); }
.button-light { background: var(--white); color: var(--heading); }
.button-light:hover { background: var(--surface-alt); }
.button-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.button-ghost-light:hover { background: var(--white); color: var(--heading); }
.text-link {
    color: var(--heading);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
}
.text-link span { color: var(--red); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: var(--white); }

/* Header */
.site-header {
    background: rgba(247, 247, 245, .96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 190px 1fr auto;
    min-height: 82px;
}
.brand { display: inline-flex; width: 174px; }
.brand img { height: auto; width: 100%; }
.primary-nav {
    align-items: center;
    display: flex;
    gap: clamp(16px, 1.8vw, 28px);
    justify-content: flex-end;
}
.primary-nav > a,
.nav-dropdown-toggle {
    background: none;
    border: 0;
    color: var(--heading);
    cursor: pointer;
    font-size: .86rem;
    font-weight: 700;
    padding: 28px 0;
    white-space: nowrap;
}
.primary-nav > a:hover,
.nav-dropdown-toggle:hover { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle span { color: var(--red); margin-left: 3px; }
.mega-menu {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    left: 50%;
    opacity: 0;
    padding: 30px;
    pointer-events: none;
    position: absolute;
    top: calc(100% - 8px);
    transform: translate(-26%, 8px);
    transition: opacity .16s ease, transform .16s ease;
    width: min(950px, 92vw);
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.open .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-26%, 0);
}
.mega-menu > div { display: flex; flex-direction: column; gap: 8px; }
.mega-label { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 5px; text-transform: uppercase; }
.mega-menu a { color: var(--heading); font-size: .83rem; line-height: 1.35; padding: 3px 0; }
.mega-menu a:hover { color: var(--red); }
.mega-all { align-self: end; color: var(--red) !important; grid-column: 1 / -1; justify-self: end; }
.menu-toggle { display: none; }
.header-cta { min-height: 46px; padding-inline: 18px; }

/* Shared sections */
.section { padding: clamp(78px, 9vw, 128px) 0; }
.section-white { background: var(--surface); }
.section-heading { margin-bottom: 50px; max-width: 760px; }
.section-heading h2 { max-width: 760px; }
.split-heading { align-items: end; display: grid; gap: 50px; grid-template-columns: 1.3fr .7fr; max-width: none; }
.split-heading > p { border-left: 2px solid var(--red); padding-left: 24px; }
.section-link { margin-top: 42px; text-align: center; }
.breadcrumbs { padding-top: 20px; }
.breadcrumbs ol { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { color: var(--muted); font-size: .75rem; }
.breadcrumbs a:hover { color: var(--red); }

/* Home */
.hero { overflow: hidden; padding: clamp(54px, 7vw, 102px) 0 clamp(76px, 10vw, 142px); }
.hero-grid { align-items: center; display: grid; gap: clamp(45px, 7vw, 92px); grid-template-columns: 1.02fr .98fr; }
.hero-copy h1 span { color: var(--red); }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); margin-top: 28px; max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.coverage-line { align-items: center; display: flex; font-size: .78rem; font-weight: 700; gap: 10px; letter-spacing: .04em; margin-top: 34px; text-transform: uppercase; }
.coverage-line > span { background: var(--red); border-radius: 50%; height: 7px; width: 7px; }
.hero-media { min-height: 520px; position: relative; }
.hero-media::before {
    border: 1px solid var(--border);
    content: "";
    inset: -18px 32px 32px -18px;
    position: absolute;
}
.hero-media > img { height: 100%; min-height: 520px; object-fit: cover; position: relative; width: 100%; }
.hero-note { background: var(--dark); bottom: -34px; color: #d8d7d3; display: flex; flex-direction: column; left: -36px; padding: 22px 26px; position: absolute; width: min(350px, 80%); }
.hero-note strong { color: var(--white); font-size: .95rem; }
.hero-note span { font-size: .78rem; }

.service-grid { display: grid; gap: 1px; grid-template-columns: repeat(5, 1fr); background: var(--border); border: 1px solid var(--border); }
.service-card { background: var(--surface); display: flex; flex-direction: column; min-height: 360px; padding: 28px 24px; position: relative; transition: background .2s ease; }
.service-card::before { background: var(--red); content: ""; height: 3px; left: 0; position: absolute; right: 100%; top: -1px; transition: right .2s ease; }
.service-card:hover { background: var(--bg); }
.service-card:hover::before { right: 0; }
.service-card-number { color: var(--red); font-size: .73rem; font-weight: 700; letter-spacing: .1em; margin-bottom: 55px; }
.service-card h3 { margin-bottom: 18px; }
.service-card h3 a:hover { color: var(--red); }
.service-card p { font-size: .88rem; margin-bottom: 24px; }
.service-card .text-link { margin-top: auto; }

.feature-split { align-items: center; display: grid; gap: clamp(50px, 8vw, 110px); grid-template-columns: 1fr 1fr; }
.feature-split.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media::after { background: var(--red); bottom: -14px; content: ""; height: 52%; position: absolute; right: -14px; width: 5px; }
.feature-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature-copy > p { font-size: 1.05rem; margin-top: 24px; }
.feature-copy > .button { margin-top: 28px; }
.process-list { list-style: none; margin: 36px 0 0; padding: 0; }
.process-list li { border-top: 1px solid var(--border); display: grid; gap: 20px; grid-template-columns: 40px 1fr; padding: 20px 0; }
.process-list li:last-child { border-bottom: 1px solid var(--border); }
.process-list li > span { color: var(--red); font-size: .74rem; font-weight: 700; }
.process-list strong { color: var(--heading); }
.process-list p { font-size: .87rem; }

.dark-band { background: var(--dark); color: #cac9c5; overflow: hidden; padding: clamp(78px, 9vw, 120px) 0; position: relative; }
.dark-band::after { border: 70px solid rgba(255,255,255,.025); border-radius: 50%; content: ""; height: 460px; position: absolute; right: -150px; top: -110px; width: 460px; }
.dark-band h2 { color: var(--white); margin-bottom: 25px; }
.dark-band .text-link { margin-top: 30px; }
.dark-grid { align-items: center; display: grid; gap: 100px; grid-template-columns: 1.15fr .85fr; position: relative; z-index: 1; }
.coverage-route { border-left: 1px solid rgba(255,255,255,.18); display: grid; gap: 0; }
.coverage-route div { align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); display: flex; font-size: .86rem; font-weight: 700; gap: 18px; min-height: 47px; padding-left: 28px; }
.coverage-route div span { background: var(--red); border: 3px solid var(--dark); border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.25); height: 10px; margin-left: -34px; width: 10px; }

.industry-grid { border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); }
.industry-grid article { border-right: 1px solid var(--border); border-top: 1px solid var(--border); min-height: 250px; padding: 30px; }
.industry-grid article > span { color: var(--red); display: block; font-size: .72rem; font-weight: 700; margin-bottom: 34px; }
.industry-grid h3 { margin-bottom: 15px; }
.industry-grid p { font-size: .89rem; }

.tools-teaser { background: var(--surface-alt); }
.tools-teaser-grid { align-items: center; display: grid; gap: 80px; grid-template-columns: .85fr 1.15fr; }
.tools-teaser-grid > div:first-child > p { margin: 25px 0 30px; }
.mini-tools { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; background: var(--border); border: 1px solid var(--border); }
.mini-tools a { background: var(--surface); display: flex; flex-direction: column; min-height: 190px; padding: 25px; transition: background .2s ease; }
.mini-tools a:hover { background: var(--heading); color: var(--white); }
.mini-tools a > span { color: var(--red); font-size: .72rem; font-weight: 700; margin-bottom: auto; }
.mini-tools strong { color: inherit; }
.mini-tools small { color: var(--muted); margin-top: 4px; }

.insight-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.insight-grid-full { grid-template-columns: repeat(3, 1fr); }
.insight-card { border: 1px solid var(--border); display: flex; flex-direction: column; }
.insight-image { background: var(--dark); display: block; overflow: hidden; }
.insight-image img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease, opacity .35s ease; width: 100%; }
.insight-card:hover .insight-image img { opacity: .85; transform: scale(1.025); }
.insight-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.insight-card-body .eyebrow { font-size: .66rem; margin-bottom: 13px; }
.insight-card h3 { font-size: 1.38rem; margin-bottom: 13px; }
.insight-card h3 a:hover { color: var(--red); }
.insight-card p { font-size: .87rem; margin-bottom: 24px; }
.insight-card .text-link { margin-top: auto; }

.cta-band { background: var(--red); color: rgba(255,255,255,.86); padding: 74px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-band p { margin-top: 14px; }
.cta-inner { align-items: center; display: grid; gap: 45px; grid-template-columns: 1fr auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Generic page heroes */
.page-hero { padding: 60px 0 92px; }
.page-hero-grid { align-items: center; display: grid; gap: 70px; grid-template-columns: 1fr .78fr; }
.page-hero p { font-size: 1.12rem; margin-top: 24px; max-width: 680px; }
.page-hero img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.service-hero { padding: 62px 0 96px; }
.service-hero-grid { align-items: center; display: grid; gap: 70px; grid-template-columns: 1fr 1fr; }
.service-hero p { font-size: 1.12rem; margin-top: 25px; max-width: 650px; }
.service-hero img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.grouped-services > section { border-top: 1px solid var(--border); display: grid; gap: 60px; grid-template-columns: 260px 1fr; padding: 54px 0; }
.grouped-services > section:last-child { border-bottom: 1px solid var(--border); }
.group-title { display: flex; gap: 18px; }
.group-title > span { color: var(--red); font-size: .7rem; font-weight: 700; }
.group-title h2 { font-size: 1.75rem; }
.service-list { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--border); }
.service-list article { background: var(--surface); padding: 26px; }
.service-list h3 { margin-bottom: 12px; }
.service-list p { font-size: .86rem; margin-bottom: 18px; }

.service-content-grid { align-items: start; display: grid; gap: 100px; grid-template-columns: 1fr 390px; }
.service-overview h2 { margin-bottom: 28px; }
.prose { font-size: 1.02rem; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.6em; }
.prose a { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li + li { margin-top: 8px; }
.deliverables-card { background: var(--bg); border-top: 4px solid var(--red); padding: 34px; position: sticky; top: 110px; }
.deliverables-card h2 { font-size: 1.55rem; margin-bottom: 20px; }
.deliverables-card ul { list-style: none; margin: 0 0 28px; padding: 0; }
.deliverables-card li { border-bottom: 1px solid var(--border); color: var(--heading); font-size: .9rem; padding: 12px 0 12px 25px; position: relative; }
.deliverables-card li::before { color: var(--red); content: "→"; left: 0; position: absolute; }
.deliverables-card p { font-size: .89rem; margin-bottom: 20px; }
.application-grid { border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); }
.application-grid > * { align-items: center; border-right: 1px solid var(--border); border-top: 1px solid var(--border); color: var(--heading); display: flex; font-weight: 700; gap: 14px; min-height: 82px; padding: 20px; }
.application-grid span { color: var(--red); }
.application-grid a:hover { background: var(--surface); color: var(--red); }
.faq-layout { align-items: start; display: grid; gap: 90px; grid-template-columns: .7fr 1.3fr; }
.faq-layout > div:first-child p { margin-top: 22px; }
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { align-items: center; color: var(--heading); cursor: pointer; display: flex; font-size: 1.02rem; font-weight: 700; justify-content: space-between; list-style: none; padding: 23px 4px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 1.4rem; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 35px 25px 4px; }

.industry-detail-grid { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; background: var(--border); border: 1px solid var(--border); }
.industry-detail-grid article { background: var(--surface); min-height: 340px; padding: 38px; }
.industry-number { color: var(--red); display: block; font-size: .7rem; font-weight: 700; margin-bottom: 45px; }
.industry-detail-grid h2 { font-size: 1.8rem; margin-bottom: 16px; }
.industry-detail-grid p { margin-bottom: 22px; }
.industry-detail-grid ul { margin: 0; padding-left: 18px; }
.industry-detail-grid li { font-size: .88rem; margin-top: 5px; }

/* Areas */
.area-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--border); border: 1px solid var(--border); }
.area-grid article { background: var(--surface); display: flex; flex-direction: column; min-height: 330px; padding: 30px; }
.area-grid article > span { color: var(--red); font-size: .7rem; font-weight: 700; margin-bottom: 42px; }
.area-grid h3 { margin-bottom: 14px; }
.area-grid h3 a:hover { color: var(--red); }
.area-grid p { font-size: .88rem; margin-bottom: 18px; }
.area-grid small { border-top: 1px solid var(--border); color: var(--muted); margin-top: auto; padding-top: 14px; }
.area-grid .text-link { margin-top: 20px; }
.regional-hero { padding: 72px 0 100px; }
.regional-grid { align-items: center; display: grid; gap: 90px; grid-template-columns: 1fr 390px; }
.regional-grid > div > p { font-size: 1.15rem; margin-top: 25px; }
.regional-grid aside { background: var(--dark); border-left: 5px solid var(--red); color: #cac9c5; padding: 36px; }
.regional-grid aside span { color: #ff746c; display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; text-transform: uppercase; }
.regional-grid aside strong { color: var(--white); display: block; font-size: 1.2rem; line-height: 1.4; }
.regional-grid aside p { border-top: 1px solid rgba(255,255,255,.13); font-size: .83rem; margin-top: 20px; padding-top: 20px; }

/* Articles */
.article-header { max-width: 940px; padding-bottom: 55px; padding-top: 65px; text-align: center; }
.article-header h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.article-header > p { font-size: 1.18rem; margin: 25px auto 0; max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; margin-top: 28px; }
.article-meta span { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.article-image { max-width: 1100px; }
.article-image img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.article-layout { align-items: start; display: grid; gap: 90px; grid-template-columns: minmax(0, 750px) 320px; justify-content: center; padding-bottom: 120px; padding-top: 70px; }
.article-body { color: #41403e; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.8; }
.article-body h2, .article-body h3 { font-family: Arial, Helvetica, sans-serif; }
.article-body h2 { font-size: 2rem; }
.article-body h3 { font-size: 1.35rem; }
.article-aside { border-top: 4px solid var(--red); padding-top: 25px; position: sticky; top: 110px; }
.article-aside h2 { font-size: 1.55rem; margin-bottom: 14px; }
.article-aside p { font-size: .86rem; margin-bottom: 22px; }
.article-aside .text-link { display: flex; margin-top: 20px; }

/* Tool hub and calculators */
.tool-card-grid { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--border); border: 1px solid var(--border); }
.tool-card { background: var(--surface); min-height: 310px; padding: 36px; }
.tool-card > span { color: var(--red); display: block; font-size: .72rem; font-weight: 700; margin-bottom: 52px; }
.tool-card h2 { font-size: 1.85rem; margin-bottom: 16px; }
.tool-card h2 a:hover { color: var(--red); }
.tool-card p { margin-bottom: 25px; }
.tool-notice { align-items: start; display: grid; gap: 80px; grid-template-columns: .75fr 1.25fr; }

.calculator-page { padding: 58px 0 110px; }
.calculator-heading { max-width: 900px; text-align: center; }
.calculator-heading h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.calculator-heading p { font-size: 1.05rem; margin: 24px auto 0; max-width: 720px; }
.calculator-shell { align-items: start; display: grid; gap: 30px; grid-template-columns: 1fr 420px; margin-top: 55px; }
.calculator-form { background: var(--surface); border: 1px solid var(--border); padding: clamp(24px, 4vw, 42px); }
.calculator-form fieldset { border: 0; margin: 0 0 30px; padding: 0; }
.calculator-form legend { color: var(--heading); font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.choice { align-items: center; border: 1px solid var(--border); cursor: pointer; display: flex; gap: 14px; margin-top: 8px; min-height: 68px; padding: 12px 16px; }
.choice:has(input:checked) { background: #fff5f4; border-color: var(--red); }
.choice input { accent-color: var(--red); height: 18px; width: 18px; }
.choice span { display: flex; flex-direction: column; }
.choice strong { color: var(--heading); font-size: .9rem; }
.choice small { color: var(--muted); font-size: .77rem; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { color: var(--heading); font-size: .82rem; font-weight: 700; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
    background: var(--surface);
    border: 1px solid #bdbcb8;
    border-radius: 2px;
    color: var(--heading);
    min-height: 50px;
    padding: 11px 13px;
    width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: 2px solid rgba(254,68,56,.16); }
.field > small { color: var(--muted); font-size: .73rem; }
.field > small:not(:last-child) { color: var(--red-dark); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
.calculator-result { background: var(--dark); color: #cfceca; padding: 38px; position: sticky; top: 112px; }
.calculator-result .eyebrow { color: #ff746c; }
.result-total { color: var(--white); display: block; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin: 20px 0 32px; }
.result-lines { border-top: 1px solid rgba(255,255,255,.16); }
.result-lines div { border-bottom: 1px solid rgba(255,255,255,.11); display: flex; font-size: .84rem; justify-content: space-between; padding: 13px 0; }
.result-lines b { color: var(--white); }
.result-note { font-size: .74rem; margin-top: 25px; }
.result-warning { background: rgba(254,68,56,.16); border-left: 3px solid var(--red); color: var(--white); font-size: .78rem; margin-top: 20px; padding: 12px; }
.result-actions { display: grid; gap: 9px; margin-top: 25px; }
.calculator-result .button-secondary { border-color: rgba(255,255,255,.5); color: var(--white); }
.calculator-result .button-secondary:hover { background: var(--white); color: var(--heading); }
.calculator-table-head, .calculator-table-row { align-items: center; display: grid; gap: 10px; grid-template-columns: 1fr 84px 100px; }
.calculator-table-head { border-bottom: 2px solid var(--heading); color: var(--heading); font-size: .7rem; font-weight: 700; padding: 0 0 10px; text-transform: uppercase; }
.calculator-table-head span:not(:first-child) { text-align: center; }
.calculator-table-row { border-bottom: 1px solid var(--border); padding: 11px 0; }
.calculator-table-row label { color: var(--heading); font-size: .84rem; font-weight: 700; }
.calculator-table-row input { border: 1px solid #bdbcb8; min-height: 42px; padding: 8px; text-align: center; width: 100%; }
.reserve-field { margin-top: 25px; max-width: 220px; }

/* Contact and simple pages */
.contact-hero { padding: 68px 0 110px; }
.contact-grid { align-items: start; display: grid; gap: 85px; grid-template-columns: .8fr 1.2fr; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy > p { font-size: 1.05rem; margin-top: 25px; }
.contact-copy > img { aspect-ratio: 16 / 10; margin-top: 35px; object-fit: cover; }
.contact-methods { border-top: 1px solid var(--border); margin-top: 35px; }
.contact-methods a { border-bottom: 1px solid var(--border); display: flex; flex-direction: column; padding: 15px 0; }
.contact-methods span { color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.contact-methods strong { color: var(--heading); font-size: .94rem; }
.contact-methods a:hover strong { color: var(--red); }
.form-card { background: var(--surface); border-top: 5px solid var(--red); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 52px); }
.form-card > h2 { margin-bottom: 10px; }
.form-card > p { font-size: .8rem; margin-bottom: 28px; }
.form-card form > .field { margin-bottom: 22px; }
.form-alert { background: #fff2f1; border-left: 4px solid var(--red); color: #7a211c; font-size: .84rem; margin-bottom: 25px; padding: 14px 17px; }
.form-alert ul { margin: 8px 0 0; padding-left: 18px; }
.button-submit { border: 0; margin-top: 5px; width: 100%; }
.form-privacy { color: var(--muted); font-size: .72rem; margin-top: 16px; text-align: center; }
.form-privacy a { text-decoration: underline; }
.honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.estimate-context { background: var(--surface-alt); border-left: 3px solid var(--red); font-size: .77rem; margin-bottom: 20px; padding: 12px; }
.estimate-context strong, .estimate-context span { display: block; }
.simple-page { min-height: 60vh; padding: 90px 0 120px; }
.thank-you { align-items: center; display: flex; text-align: center; }
.thank-you p { font-size: 1.08rem; margin: 25px 0; }
.thank-you .hero-actions { justify-content: center; }
.success-mark { align-items: center; background: var(--red); border-radius: 50%; color: var(--white); display: flex; font-size: 2rem; height: 68px; justify-content: center; margin: 0 auto 28px; width: 68px; }
.legal-page { max-width: 820px; }
.legal-page h1 { margin-bottom: 45px; }

/* Footer */
.site-footer { background: var(--dark); color: #afaeaa; padding: 75px 0 0; }
.footer-grid { display: grid; gap: 55px; grid-template-columns: 1.4fr .75fr .75fr 1fr; }
.footer-grid h2 { color: var(--white); font-size: .83rem; letter-spacing: .1em; margin-bottom: 24px; text-transform: uppercase; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: .83rem; }
.footer-grid a:not(.button):hover { color: var(--red); }
.footer-brand img { height: auto; margin-bottom: 10px; width: 190px; }
.footer-brand p { font-size: .84rem; margin-bottom: 8px; max-width: 300px; }
.footer-grid > div:last-child p { font-size: .83rem; margin-bottom: 10px; }
.footer-grid .button { color: var(--heading); }
.footer-survey { color: var(--white); margin-top: 4px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; font-size: .7rem; justify-content: space-between; margin-top: 60px; padding: 22px 0; }
.footer-bottom span:last-child { display: flex; gap: 20px; }

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: 165px 1fr; }
    .header-cta { display: none; }
    .primary-nav { gap: 17px; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .service-card:nth-child(n+4) { min-height: 320px; }
    .service-content-grid { gap: 55px; grid-template-columns: 1fr 340px; }
    .calculator-shell { grid-template-columns: 1fr 370px; }
}

@media (max-width: 900px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .header-inner { grid-template-columns: 1fr auto; min-height: 72px; }
    .brand { width: 160px; }
    .menu-toggle { background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 12px; }
    .menu-toggle span:not(.sr-only) { background: var(--heading); display: block; height: 2px; width: 25px; }
    .primary-nav {
        align-items: stretch; background: var(--bg); border-top: 1px solid var(--border);
        display: none; flex-direction: column; gap: 0; inset: 72px 0 0; justify-content: flex-start;
        overflow-y: auto; padding: 10px 24px 40px; position: fixed;
    }
    .primary-nav.open { display: flex; }
    .primary-nav > a, .nav-dropdown-toggle { border-bottom: 1px solid var(--border); display: block; font-size: 1rem; padding: 16px 0; text-align: left; width: 100%; }
    .mega-menu {
        border: 0; box-shadow: none; display: none; grid-template-columns: 1fr 1fr;
        opacity: 1; padding: 20px 0; pointer-events: auto; position: static; transform: none; width: 100%;
    }
    .nav-dropdown.open .mega-menu { display: grid; transform: none; }
    .nav-dropdown:hover .mega-menu:not(:focus-within) { display: none; }
    .nav-dropdown.open:hover .mega-menu { display: grid; }
    .mega-all { justify-self: start; }
    .hero-grid, .page-hero-grid, .service-hero-grid, .feature-split, .dark-grid,
    .tools-teaser-grid, .service-content-grid, .faq-layout, .regional-grid,
    .article-layout, .contact-grid, .calculator-shell { grid-template-columns: 1fr; }
    .hero-copy { max-width: 720px; }
    .hero-media { margin-left: 24px; min-height: 440px; }
    .hero-media > img { min-height: 440px; }
    .feature-split.reverse .feature-media { order: initial; }
    .dark-grid { gap: 60px; }
    .split-heading { align-items: start; grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-grid, .area-grid { grid-template-columns: 1fr 1fr; }
    .insight-grid, .insight-grid-full { grid-template-columns: 1fr 1fr; }
    .cta-inner { align-items: start; grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
    .grouped-services > section { grid-template-columns: 1fr; }
    .service-content-grid { gap: 45px; }
    .deliverables-card, .article-aside, .calculator-result, .contact-copy { position: static; }
    .article-layout { gap: 50px; }
    .article-aside { max-width: 500px; }
    .calculator-result { order: -1; }
    .contact-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
    h2 { font-size: clamp(1.8rem, 9vw, 2.65rem); }
    .section { padding: 72px 0; }
    .hero { padding-top: 45px; }
    .hero-media { margin-left: 12px; min-height: 340px; }
    .hero-media > img { min-height: 340px; }
    .hero-note { bottom: -28px; left: -12px; width: 90%; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .coverage-line { align-items: flex-start; line-height: 1.5; }
    .service-grid, .industry-grid, .area-grid, .insight-grid, .insight-grid-full,
    .mini-tools, .industry-detail-grid, .tool-card-grid, .service-list { grid-template-columns: 1fr; }
    .service-card { min-height: 300px; }
    .service-card-number { margin-bottom: 32px; }
    .industry-grid article { min-height: 220px; }
    .page-hero, .service-hero { padding-bottom: 70px; }
    .page-hero-grid, .service-hero-grid { gap: 40px; }
    .service-content-grid { grid-template-columns: minmax(0, 1fr); }
    .application-grid { grid-template-columns: 1fr; }
    .grouped-services > section { gap: 35px; }
    .regional-grid { gap: 40px; }
    .article-header { text-align: left; }
    .article-meta { justify-content: flex-start; }
    .article-image { width: 100%; }
    .article-image img { aspect-ratio: 4 / 3; }
    .article-layout { padding-top: 50px; }
    .article-body { font-size: 1rem; }
    .form-row { grid-template-columns: 1fr; margin-bottom: 0; }
    .form-row .field { margin-bottom: 22px; }
    .form-card { margin-inline: -4px; }
    .calculator-heading { text-align: left; }
    .calculator-form, .calculator-result { padding: 24px 20px; }
    .calculator-table-head, .calculator-table-row { grid-template-columns: 1fr 65px 82px; }
    .calculator-table-row label { font-size: .76rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media print {
    .site-header, .site-footer, .breadcrumbs, .calculator-heading .eyebrow, .calculator-form,
    .result-actions, .cta-band { display: none !important; }
    body { background: #fff; color: #000; }
    .calculator-page { padding: 20px 0; }
    .calculator-shell { display: block; margin: 0; }
    .calculator-result { background: #fff; border: 2px solid #000; color: #000; position: static; }
    .calculator-result .eyebrow, .result-total, .result-lines b { color: #000; }
    .result-lines { border-color: #aaa; }
    .result-lines div { border-color: #ccc; }
}
