/* Switchgear Builder Virginia | framework-free, mobile-first design system */
:root {
  color-scheme: light;
  --ink: #172638;
  --ink-soft: #43546a;
  --navy: #0B2545;
  --navy-deep: #0B2545;
  --blue: #315679;
  --red: #B31942;
  --red-dark: #831532;
  --paper: #fff;
  --off-white: #fff;
  --line: #d6dfe9;
  --line-dark: #94a7ba;
  --content-width: 1220px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: 180ms ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.65; }
body, input, select, textarea, button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
::selection { color: #fff; background: var(--navy); }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 12px 18px; color: #fff; background: var(--navy-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header and native details/summary menu */
.topbar { padding: 8px var(--gutter); color: #fff; background: var(--navy); font-size: .6875rem; font-weight: 700; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.topbar > .container { width: min(100%, var(--content-width)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; }
.topbar a { color: inherit; }
.topbar a[href^="tel:"] { display: inline-block; padding: 2px 7px; color: var(--red); background: #fff; text-decoration-color: var(--red); }
.site-header { position: relative; z-index: 50; color: #fff; background: var(--navy); }
.site-header::after, .site-footer::before { content: ""; display: block; height: 5px; background: linear-gradient(to bottom, var(--red) 0 2px, #fff 2px 3px, var(--navy) 3px 5px); }
.header-inner { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); min-height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; color: #fff; line-height: 1; text-decoration: none; }
.brand > img, .brand-mark { width: clamp(145px, 43vw, 207px); max-width: 100%; height: auto; background: #fff; }
.brand img.brand-icon, .brand-icon { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-icon img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.brand-text { display: flex; flex-direction: column; color: #fff; font-size: .8rem; font-weight: 900; line-height: 1.08; letter-spacing: -.015em; text-transform: uppercase; }
.brand-text small, .brand-text span { font-size: .55rem; letter-spacing: .035em; white-space: nowrap; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-call { display: inline-flex; min-height: 44px; align-items: center; margin-left: auto; padding: 6px 8px; color: var(--red); background: #fff; font-size: .69rem; font-weight: 800; line-height: 1.15; text-decoration: none; white-space: nowrap; }
.header-call span { display: none; }
.header-call:hover { color: var(--red); text-decoration: underline; }
.header-cta { display: none !important; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; color: #fff; background: var(--red); border: 1px solid var(--red); font-size: .76rem; font-weight: 800; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.header-cta:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.menu-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; font-size: .7rem; font-weight: 800; line-height: 1; letter-spacing: .06em; list-style: none; text-transform: uppercase; }
.menu-toggle::-webkit-details-marker { display: none; }
.menu-toggle::marker { content: ""; }
.menu-toggle::after { content: "+"; color: var(--navy); font-size: 1.2rem; font-weight: 400; line-height: 1; }
.menu-toggle:has(> span) { flex-direction: column; gap: 4px; }
.menu-toggle:has(> span)::after { content: none; }
.menu-toggle > span { display: block; width: 18px; height: 2px; background: var(--navy-deep); }
details[open] > .menu-toggle::after, details[open] > summary.menu-toggle::after { content: "−"; }
details[open] > .menu-toggle:has(> span)::after { content: none; }
.mobile-nav { display: block; position: static; }
.mobile-nav > nav, .mobile-nav > .mobile-nav__links, details.mobile-nav > div { position: absolute; z-index: 60; top: 100%; left: 0; right: 0; max-height: min(80vh, 600px); overflow-y: auto; padding: 8px var(--gutter) 18px; background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); box-shadow: 0 16px 24px rgb(16 43 57 / 14%); }
.mobile-nav nav a, .mobile-nav__links a { display: flex; align-items: center; min-height: 48px; padding: 10px 0; color: var(--navy-deep); border-bottom: 1px solid #e4e9e9; font-weight: 700; line-height: 1.3; text-decoration: none; }
.mobile-nav nav a:hover, .mobile-nav__links a:hover { color: var(--red-dark); }

/* Photographic heroes: provide an image (or background) and meaningful text. */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: 450px; overflow: hidden; color: #fff; background: var(--navy) center / cover no-repeat; }
.hero--home { min-height: 560px; }
.hero__image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background-position: center; background-size: cover; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(11 37 69 / 88%) 0%, rgb(11 37 69 / 82%) 55%, rgb(11 37 69 / 72%) 100%); }
.hero__shade { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.hero__content { width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin-inline: auto; padding-block: 72px 80px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--navy); font-size: .69rem; font-weight: 800; line-height: 1.3; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before, .section-kicker::before { content: ""; display: inline-block; width: 27px; height: 3px; flex: 0 0 27px; background: var(--red); }
.hero .eyebrow { color: #edf4f5; }
.hero__heading { max-width: 800px; margin: 0; color: #fff; font-size: clamp(2.45rem, 8.8vw, 4.15rem); font-weight: 800; line-height: .99; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero--home .hero__heading { max-width: 850px; font-size: clamp(2.8rem, 10vw, 5.2rem); }
.hero__intro { max-width: 610px; margin: 22px 0 0; color: #fff; font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero__caption { position: relative; width: min(calc(100% - 2 * var(--gutter)), var(--content-width)); margin: -40px auto 18px; color: #fff; font-size: .6875rem; line-height: 1.4; text-align: right; }
.photo-credit { color: #5b6a70; font-size: .72rem; line-height: 1.4; }
.hero .photo-credit, .hero__caption a { color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .3em; margin: 0 0 24px; color: #fff; font-size: .75rem; font-weight: 600; line-height: 1.5; }
.breadcrumb a { color: inherit; }

/* Buttons */
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; color: var(--ink); background: transparent; border: 1px solid currentColor; border-radius: 0; font-size: .78rem; font-weight: 800; line-height: 1.2; letter-spacing: .035em; text-align: center; text-decoration: none; transition: background-color var(--ease), color var(--ease), border-color var(--ease); }
.button:hover { color: #fff; background: var(--navy); border-color: var(--navy); text-decoration: none; }
.button--primary { color: #fff; background: var(--red); border-color: var(--red); }
.button--primary:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.button--outline { color: var(--navy-deep); background: transparent; border-color: var(--navy); }
.hero .button--outline, .section--dark .button--outline { color: #fff; border-color: rgb(255 255 255 / 80%); }
.hero .button--outline:hover, .section--dark .button--outline:hover { color: var(--navy-deep); background: #fff; border-color: #fff; }
.hero .button--primary:hover, .section--dark .button--primary:hover { color: var(--red); background: #fff; border-color: #fff; }

/* Telephone links use the exact brand red on a light surface. */
a[href^="tel:"] { color: var(--red); }
.mobile-nav nav a[href^="tel:"], .article-copy a[href^="tel:"], .form-note a[href^="tel:"] { color: var(--red); }
.hero .button--outline[href^="tel:"], .section--dark .button--outline[href^="tel:"] { color: var(--red); background: #fff; border-color: #fff; }
.hero .button--outline[href^="tel:"]:hover, .section--dark .button--outline[href^="tel:"]:hover { color: var(--red); background: #f1f4f8; border-color: #f1f4f8; text-decoration: underline; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .section--dark :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--red); }

/* Trust points and section rhythm */
.trust-strip { color: var(--ink); background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip > .container, .trust-strip__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trust-item { min-width: 0; padding: 19px 16px 19px 0; font-size: .75rem; font-weight: 800; line-height: 1.35; letter-spacing: .015em; }
.trust-item + .trust-item { padding-left: 16px; border-left: 1px solid #cdd7d9; }
.trust-item:nth-child(odd) { padding-left: 0; border-left: 0; }
.trust-item:nth-child(n+3) { border-top: 1px solid #cdd7d9; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .trust-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--navy); border: 1px solid #9fb2b8; font-size: .65rem; font-weight: 900; line-height: 1; }
.trust-item strong, .trust-item b { display: block; color: var(--navy-deep); font-size: .9rem; }
.trust-item small, .trust-item span { color: #506168; font-size: .7rem; font-weight: 500; }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--light { background: var(--off-white); }
.section--dark { color: #eef4f5; background: var(--navy-deep); }
.section--dark .section-kicker { color: #e0ebed; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-title { margin: 0; color: var(--ink); font-size: clamp(2rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.06; letter-spacing: -.04em; }
.section--dark .section-title { color: #fff; }
.section-lead { max-width: 690px; margin: 18px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.7vw, 1.13rem); line-height: 1.65; }
.section--dark .section-lead { color: #d2e0e3; }
.home-intro { display: grid; gap: 28px; }
.home-intro > * { min-width: 0; }
.home-intro p { max-width: 65ch; }

/* Linkable service and related-content cards */
.service-grid, .related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.service-card, .related-card { position: relative; display: block; min-width: 0; padding: 26px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); text-decoration: none; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.service-card:hover, .related-card:hover, .service-card:focus-within, .related-card:focus-within { border-color: var(--blue); box-shadow: 0 10px 24px rgb(16 43 57 / 8%); }
.service-card h2, .service-card h3, .related-card h2, .related-card h3 { margin: 0 0 10px; color: var(--navy-deep); font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.service-card p, .related-card p { margin: 0; color: #4a5a61; font-size: .92rem; line-height: 1.55; }
.service-card p + p, .related-card p + p { margin-top: 12px; }
.service-card a, .related-card a { color: var(--navy); font-weight: 750; }
.service-card > span, .related-card > span { display: block; margin-bottom: 18px; color: #5c717a; font-size: .67rem; font-weight: 800; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.related-card > strong { display: block; color: var(--navy-deep); font-size: 1.1rem; line-height: 1.3; }
.service-card > b, .related-card > b { display: block; margin-top: 20px; color: var(--red); font-size: 1.2rem; line-height: 1; }
.service-grid + .article-layout { margin-top: clamp(56px, 8vw, 100px); }
.related-card { border-top-width: 1px; }
.related-grid { margin-top: 24px; }

/* Article text and specification tables */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 42px; align-items: start; }
.article-layout > * { min-width: 0; }
.article-copy { min-width: 0; color: #33434a; font-size: 1rem; line-height: 1.75; overflow-wrap: break-word; }
.article-copy > :first-child { margin-top: 0; }
.article-copy h2, .article-copy h3, .article-copy h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; }
.article-copy h2 { margin: 2.1em 0 .65em; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.article-copy h3 { margin: 1.8em 0 .55em; font-size: 1.25rem; }
.article-copy p, .article-copy ul, .article-copy ol { max-width: 72ch; margin: 0 0 1.25em; }
.article-copy .article-intro { color: var(--navy-deep); font-size: 1.15rem; font-weight: 600; line-height: 1.65; }
.article-copy li + li { margin-top: .4em; }
.article-copy a { color: #164f69; font-weight: 650; }
.article-copy blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); color: var(--navy); font-size: 1.15rem; font-weight: 650; }
.article-copy img { width: 100%; height: auto; }
.article-figure { margin: 2rem 0 2.5rem; }
.article-figure img { display: block; width: 100%; max-height: 410px; object-fit: cover; object-position: center; }
.article-figure figcaption { margin-top: .6rem; }
.spec-card { min-width: 0; padding: 24px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.spec-card h2, .spec-card h3, .spec-card h4 { margin: 0 0 14px; color: var(--navy-deep); font-size: 1.15rem; line-height: 1.25; }
.spec-card p { color: #4a5a61; font-size: .9rem; line-height: 1.55; }
.spec-card > :last-child { margin-bottom: 0; }
.table-wrap, .spec-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; max-width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: .875rem; line-height: 1.45; text-align: left; }
.spec-table caption { padding: 0 0 12px; color: var(--navy-deep); font-weight: 800; text-align: left; }
.spec-table th, .spec-table td { padding: 12px 10px; border-bottom: 1px solid #cbd6d8; vertical-align: top; overflow-wrap: anywhere; }
.spec-table th:first-child, .spec-table td:first-child { padding-left: 0; }
.spec-table th:last-child, .spec-table td:last-child { padding-right: 0; }
.spec-table th { color: var(--navy-deep); font-weight: 800; }
.spec-table thead th { color: var(--navy-deep); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.directory-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.directory-list li { border-bottom: 1px solid var(--line); }
.directory-list a { display: block; padding: 12px 0; color: var(--navy); font-weight: 700; text-decoration: none; }
.directory-list a:hover { text-decoration: underline; }

/* Quote form */
.quote-section { padding-block: clamp(64px, 8vw, 110px); color: var(--ink); background: #fff; border-top: 1px solid var(--line); }
.quote-section .section-title { color: var(--ink); }
.quote-section .section-kicker { color: var(--navy); }
.quote-section .section-lead { color: var(--ink-soft); }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
.quote-grid > * { min-width: 0; }
.quote-intro h2 { max-width: 580px; margin: 0 0 20px; color: var(--navy); font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.06; letter-spacing: -.04em; }
.quote-intro p { max-width: 55ch; color: var(--ink-soft); }
.quote-call-label { margin: 30px 0 3px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.quote-phone { color: var(--red); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; text-decoration-color: var(--red); }
.quote-form { min-width: 0; padding: clamp(22px, 4vw, 38px); color: var(--ink); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.quote-form h2, .quote-form h3 { margin: 0 0 20px; color: var(--ink); line-height: 1.2; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
.form-field { min-width: 0; margin-bottom: 16px; }
.form-field label, .quote-form label { display: block; margin: 0 0 6px; color: #25383f; font-size: .78rem; font-weight: 750; line-height: 1.4; }
.form-field input:not([type="checkbox"]):not([type="radio"]), .form-field select, .form-field textarea, .quote-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .quote-form select, .quote-form textarea { display: block; width: 100%; min-height: 50px; padding: 11px 12px; color: var(--ink); background: #fff; border: 1px solid #aebdc1; border-radius: 0; line-height: 1.4; }
.form-field textarea, .quote-form textarea { min-height: 120px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder, .quote-form input::placeholder, .quote-form textarea::placeholder { color: #64747a; opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--navy); outline: 2px solid var(--red); outline-offset: 1px; }
.form-field input[type="checkbox"], .form-field input[type="radio"], .quote-form input[type="checkbox"], .quote-form input[type="radio"] { width: 19px; height: 19px; accent-color: var(--navy); }
.form-note { margin: 13px 0 0; color: #55666c; font-size: .76rem; line-height: 1.5; }
.quote-section > .container > .form-note { color: var(--ink-soft); }
.quote-form .button, .quote-form button[type="submit"], .quote-form input[type="submit"] { min-height: 50px; cursor: pointer; }

/* Footer and right-side quote shortcut */
.site-footer { position: relative; padding: 56px 0 96px; color: #e1e9f2; background: var(--navy); font-size: .875rem; }
.site-footer::before { position: absolute; top: 0; left: 0; right: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.footer-grid > * { min-width: 0; }
.footer-grid h2, .footer-grid h3, .footer-grid h4 { margin: 0 0 14px; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p { margin: 0 0 12px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: #edf4f5; overflow-wrap: anywhere; }
.footer-grid > div > a:not(.brand) { display: block; margin-bottom: 8px; }
.footer-grid small { display: block; color: #b7c9cd; line-height: 1.5; }
.footer-label { color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div > a.footer-phone { display: inline-flex; min-height: 44px; align-items: center; padding: 6px 8px; color: var(--red); background: #fff; font-size: 1rem; font-weight: 800; white-space: nowrap; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 25px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #52646c; color: #becdd1; font-size: .66rem; letter-spacing: .06em; }
.site-footer .brand-text { color: #fff; }
.site-footer .photo-credit { color: #bac9cd; }
.floating-quote { position: fixed; z-index: 45; right: 12px; bottom: 12px; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 16px; color: #fff; background: var(--red); border: 1px solid var(--red); box-shadow: 0 4px 16px rgb(8 28 37 / 25%); font-size: .75rem; font-weight: 850; line-height: 1.2; letter-spacing: .02em; text-align: center; text-decoration: none; }
.floating-quote:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }

@media (min-width: 640px) {
  .header-inner { min-height: 88px; gap: 20px; }
  .header-call { font-size: .82rem; }
  .hero__content { padding-block: 92px 100px; }
  /* The seventh supplied image has nonfunctional navigation arrows at its edges. */
  .hero__image[src$="/hero-07.webp"] { transform: scale(1.55); }
  .service-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip > .container, .trust-strip__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-item:nth-child(odd) { padding-left: 16px; border-left: 1px solid #cdd7d9; }
  .trust-item:first-child { padding-left: 0; border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 0; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  .hero { min-height: 450px; }
  .hero--home { min-height: 640px; }
  .hero::before { background: linear-gradient(90deg, rgb(11 37 69 / 90%) 0%, rgb(11 37 69 / 80%) 55%, rgb(11 37 69 / 68%) 100%); }
  .section-head { margin-bottom: 46px; }
  .home-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 120px); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card, .related-card { padding: 30px; }
  .article-layout { grid-template-columns: minmax(0, 2fr) minmax(250px, .9fr); gap: clamp(48px, 6vw, 90px); }
  .quote-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(50px, 8vw, 120px); }
  .footer-grid { grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .site-footer { padding-bottom: 38px; }
  .floating-quote { top: 50%; right: 0; bottom: auto; min-height: 0; padding: 18px 11px; writing-mode: vertical-rl; transform: translateY(-50%); }
}

@media (min-width: 1180px) {
  .header-inner { gap: 20px; }
  .brand > img, .brand-mark { width: 220px; }
  .main-nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; }
  .main-nav a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; font-size: .77rem; font-weight: 750; line-height: 1.2; text-decoration: none; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 7px; }
  .header-actions { margin-left: 0; }
  .header-call { flex-direction: column; align-items: flex-start; justify-content: center; margin-left: 0; font-size: .8rem; }
  .header-call span { display: block; margin-bottom: 3px; color: var(--navy); font-size: .58rem; letter-spacing: .08em; }
  .header-cta { display: inline-flex !important; flex: 0 0 auto; }
  .mobile-nav, .menu-toggle { display: none; }
}

@media (max-width: 374px) {
  :root { --gutter: 16px; }
  .header-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand img.brand-icon, .brand-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-text { font-size: .72rem; }
  .brand-text small, .brand-text span { font-size: .48rem; }
  .header-call { padding-inline: 6px; font-size: .64rem; }
  .brand > img, .brand-mark { width: 140px; }
}

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

@media print {
  *, *::before, *::after { color: #000 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  body { font-size: 10pt; line-height: 1.45; }
  .topbar, .main-nav, .mobile-nav, .menu-toggle, .header-cta, .floating-quote, .hero__image, .hero__shade, .hero::before { display: none !important; }
  .site-header { border-bottom: 1px solid #000; }
  .header-inner, .container, .hero__content { width: 100%; }
  .hero, .hero--home { min-height: 0; display: block; }
  .hero__content { padding: 24px 0; }
  .hero__heading, .hero--home .hero__heading { font-size: 28pt; }
  .hero__caption { margin: 0; }
  .section, .quote-section { padding: 24px 0; }
  .article-layout, .quote-grid, .home-intro { display: block; }
  .spec-card, .service-card, .related-card, .quote-form { border: 1px solid #777; break-inside: avoid; }
  .spec-table th, .spec-table td { border-color: #777; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; overflow-wrap: anywhere; }
}
