/* ==========================================================================
   GC Asphalt Services Inc. — "The Bid Package" design system
   Light bond-paper sheets, one even ink rule, asphalt panels,
   marking yellow = paint + primary action only, red = the item needing action.
   ========================================================================== */

:root {
    /* LIGHT (day) — researched: neutral ground, charcoal ink, marking yellow action, navy trust/links */
    --paper: #f6f5f1;          /* page background */
    --sheet: #ffffff;          /* surfaces, cards, forms */
    --field: #ffffff;
    --ink: #1a1d21;            /* text 15.8:1 */
    --ink-2: #3d4249;
    --ink-3: #555b63;          /* muted text 6.4:1 */
    --hair: #d5d7da;           /* hairlines (decorative) */
    --rule-c: #1a1d21;         /* the one ink rule */
    --asphalt: #1f2226;        /* dark panels, both themes */
    --asphalt-2: #2b2f35;
    --on-asphalt: #eceded;
    --on-asphalt-2: #b9bec5;
    --mark: #f2c200;           /* marking yellow: primary action + paint only, never text on light */
    --mark-hover: #ffd21f;
    --mark-edge: #a88600;      /* 3:1 edge so a yellow button reads on white */
    --mark-ink: #1a1d21;
    --navy: #1f3a5f;
    --link: #1d4e89;
    --focus: #1d4e89;
    --act: #b3261e;            /* the one item that needs action */
    --ok: #1e7b3a;
    --warn: #8a5a00;
    --shadow-c: 21, 23, 26;

    --line: 1.5px;            /* the one rule weight */
    --rule: var(--line) solid var(--rule-c);

    --font-display: 'Archivo', 'Arial Narrow', sans-serif;
    --font-text: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --step--1: 0.875rem;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
    --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

    --gutter: clamp(16px, 3.4vw, 44px);
    --section: clamp(56px, 8vw, 112px);
    --maxw: 1320px;
    --radius: 2px;
    --ease: cubic-bezier(.16, 1, .3, 1);

    /* aliases kept for inline styles in older page markup */
    --primary: var(--ink);
    --primary-dark: var(--asphalt);
    --white: var(--sheet);
    --neutral-900: var(--ink);
    --neutral-800: var(--ink-2);
    --neutral-700: var(--ink-2);
    --neutral-500: var(--ink-3);
    --neutral-400: var(--ink-3);
    --neutral-100: var(--paper);
    --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
    --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
    --text-sm: var(--step--1); --text-lg: var(--step-1); --text-xl: var(--step-1);
    --text-2xl: var(--step-2); --text-4xl: var(--step-3); --text-5xl: var(--step-4);
    --font-heading: var(--font-display);
    --border-radius: var(--radius); --border-radius-lg: var(--radius); --border-radius-full: 999px;
    --shadow: 0 10px 30px -18px rgba(var(--shadow-c), .45);
    --transition-fast: 160ms var(--ease);
}


/* DARK (night, or when the device is in dark mode) */
:root[data-theme="dark"] {
    --paper: #121417;
    --sheet: #1b1f24;
    --field: #15181c;
    --ink: #ecedee;
    --ink-2: #c9cdd2;
    --ink-3: #a3a9b1;
    --hair: #343a42;
    --rule-c: #5d646d;
    --asphalt: #0b0d0f;
    --asphalt-2: #22262c;
    --on-asphalt: #ecedee;
    --on-asphalt-2: #a9afb7;
    --mark-edge: #f2c200;
    --mark-ink: #121417;
    --navy: #7fb0f0;
    --link: #7fb0f0;
    --focus: #f2c200;
    --act: #ff7a6e;
    --ok: #4cc27a;
    --warn: #f5b841;
    --shadow-c: 0, 0, 0;
    color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
/* No-JS fallback follows the device */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --paper: #121417; --sheet: #1b1f24; --field: #15181c; --ink: #ecedee; --ink-2: #c9cdd2; --ink-3: #a3a9b1;
        --hair: #343a42; --rule-c: #5d646d; --asphalt: #0b0d0f; --asphalt-2: #22262c; --mark-edge: #f2c200; --mark-ink: #121417;
        --navy: #7fb0f0; --link: #7fb0f0; --focus: #f2c200; --act: #ff7a6e; --ok: #4cc27a; --warn: #f5b841; --shadow-c: 0, 0, 0;
    }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--paper);
    transition: background-color 240ms ease, color 240ms ease;
    color: var(--ink);
    font: 400 var(--step-0)/1.6 var(--font-text);
    font-variant-numeric: tabular-nums;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1, h2 {
    font-family: var(--font-display);
    font-stretch: 74%;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: -.012em;
    line-height: .94;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: var(--step-0); font-weight: 700; }
p, li { text-wrap: pretty; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: var(--rule); margin: 2rem 0; }
::selection { background: var(--mark); color: var(--mark-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.panel :focus-visible, .site-footer :focus-visible, .mobile-cta-bar :focus-visible { outline-color: var(--mark); }
.prose a, .blog-post__content a, .legal-content a, .faq-item__answer a, .section-header p a, .service-intro__content p a { color: var(--link); }
html { scrollbar-color: var(--ink-3) var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border: 3px solid var(--paper); }
input, select, textarea, button { font: inherit; color: inherit; }
::placeholder { color: var(--ink-3); opacity: 1; }
table { border-collapse: collapse; width: 100%; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--sheet); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

/* --------------------------------------------------------------------------
   Buttons — the primary action carries a painted yellow stripe
   -------------------------------------------------------------------------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: 12px 22px;
    font: 800 1.125rem/1 var(--font-display); font-stretch: 80%;
    text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
    border: var(--line) solid var(--ink); border-radius: var(--radius);
    background: transparent; color: var(--ink); cursor: pointer;
    transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button--solid, .button--primary {
    background: var(--mark); color: #1a1d21; border-color: var(--mark-edge);
}
.button--solid:hover, .button--primary:hover { background: var(--mark-hover); }
.button--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button--dark:hover { background: var(--ink-2); }
.button--outline { border-color: var(--ink); }
.button--outline:hover { background: var(--ink); color: var(--paper); }
.button--ghost { border-color: var(--on-asphalt); color: var(--on-asphalt); }
.button--ghost:hover { background: var(--on-asphalt); color: var(--asphalt); }
.button--large { min-height: 56px; padding: 16px 28px; font-size: 1.3rem; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.panel .button--solid { border-color: var(--mark); }
.panel .button--outline { border-color: var(--on-asphalt); color: var(--on-asphalt); }
.panel .button--outline:hover { background: var(--on-asphalt); color: var(--asphalt); }

/* --------------------------------------------------------------------------
   Header — a proposal title block
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--sheet);
    border-bottom: var(--rule);
}
.header__inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: stretch;
    min-height: 68px; width: 100%; max-width: none; margin: 0;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    padding: 0 var(--gutter); border-right: var(--rule);
    text-decoration: none; color: var(--ink);
}
.brand__mark { font: 900 1.9rem/1 var(--font-display); font-stretch: 72%; letter-spacing: -.01em; }
.brand__mark span { box-shadow: inset 0 -.2em 0 var(--mark); }
.brand__sub { font-size: .72rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.primary-nav { display: flex; align-items: stretch; min-width: 0; }
.primary-nav > ul { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; display: flex; }
.primary-nav > ul > li > a, .submenu-toggle {
    display: flex; align-items: center; gap: 6px;
    padding: 0 18px; border: 0; border-right: 1px solid var(--hair);
    background: none; font-weight: 600; font-size: .95rem; color: var(--ink);
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.primary-nav > ul > li > a:hover, .submenu-toggle:hover { background: var(--paper); }
.primary-nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--mark); }
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform 160ms var(--ease); }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.submenu {
    position: absolute; left: -1px; top: 100%; min-width: 290px;
    list-style: none; margin: 0; padding: 8px 0;
    background: var(--sheet); border: var(--rule);
    box-shadow: 0 18px 40px -24px rgba(var(--shadow-c), .55);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 160ms;
}
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu,
.submenu-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 18px; text-decoration: none; font-weight: 500; }
.submenu a:hover { background: var(--paper); box-shadow: inset 4px 0 0 var(--mark); }
.header__call {
    display: flex; align-items: center; gap: 16px;
    padding: 0 var(--gutter); border-left: var(--rule);
}
.header__call small { font-size: .7rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.header__phone { font: 800 1.45rem/1 var(--font-display); font-stretch: 82%; text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; }
.header__estimate { min-height: 44px; padding: 10px 16px; font-size: 1rem; }
.nav-toggle { display: none; }

@media (max-width: 1440px) {
    .header__call small { display: none; }
    .primary-nav > ul > li > a, .submenu-toggle { padding: 0 13px; font-size: .9rem; }
}
@media (max-width: 1280px) {
    .header__inner { grid-template-columns: 1fr auto auto; min-height: 60px; }
    .brand { border-right: 0; }
    .header__call { order: 2; border-left: var(--rule); padding: 0 14px; }
    .header__estimate { display: none; }
    .header__phone { font-size: 1.15rem; }
    .nav-toggle {
        order: 3; display: flex; align-items: center; justify-content: center; gap: 8px;
        min-width: 60px; padding: 0 16px; border: 0; border-left: var(--rule);
        background: var(--sheet); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
    }
    .nav-toggle .icon { width: 22px; height: 22px; }
    .primary-nav { position: static; order: 4; }
    #primaryMenu {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; background: var(--sheet); border-bottom: var(--rule);
        max-height: calc(100dvh - 60px); overflow-y: auto; padding: 8px 0 16px;
    }
    #primaryMenu.is-open { display: flex; }
    .primary-nav > ul > li { flex-direction: column; }
    .primary-nav > ul > li > a, .submenu-toggle { min-height: 52px; padding: 0 var(--gutter); border-right: 0; border-bottom: 1px solid var(--hair); font-size: 1.05rem; width: 100%; justify-content: space-between; }
    .submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px; min-width: 0; background: var(--paper); }
    .submenu-toggle[aria-expanded="true"] + .submenu { display: block; }
    .has-submenu:hover > .submenu { opacity: 1; }
    .submenu a { padding: 12px calc(var(--gutter) + 12px); }
}
@media (max-width: 560px) {
    .brand__sub { display: none; }
    .brand__mark { font-size: 1.55rem; }
    .header__phone .phone-text { display: none; }
    .header__phone { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
}
@media (min-width: 561px) { .header__phone .icon { display: none; } }

/* Mobile call / estimate bar */
.mobile-cta-bar { display: none; }
@media (max-width: 760px) {
    .mobile-cta-bar {
        display: grid; grid-template-columns: 1fr 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: var(--asphalt); border-top: var(--line) solid var(--mark);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-cta-bar a {
        display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
        color: var(--on-asphalt); text-decoration: none; font: 800 1.05rem/1 var(--font-display); font-stretch: 82%; text-transform: uppercase; letter-spacing: .03em;
    }
    .mobile-cta-bar a + a { background: var(--mark); color: var(--mark-ink); }
    body { padding-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   Sheets, rules, stamps, plates — the world's components
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section--sheet { background: var(--sheet); border-block: var(--rule); }
.section--sheet + .section { padding-top: var(--section); }

.section-header { max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-header p { font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; margin: 0; }
.section-header__label { display: none; }
.text-center .section-header, .section-header.text-center { margin-inline: auto; }
.section-header--light h2, .section-header--light p { color: inherit; }

.sheet { background: var(--sheet); border: var(--rule); }
.ruled { border-top: var(--rule); }

.stamp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.stamp {
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
    min-height: 74px; padding: 10px 10px 9px; text-align: center;
    border: var(--line) dashed var(--rule-c); border-radius: 3px;
    font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
    text-decoration: none; background: transparent;
}
.stamp b { font: 850 1.35rem/1 var(--font-display); font-stretch: 78%; letter-spacing: 0; color: var(--ink); text-transform: uppercase; }
a.stamp:hover { background: var(--paper); border-style: solid; }
.panel .stamp, .site-footer .stamp { border-color: var(--on-asphalt-2); color: var(--on-asphalt-2); }
.panel .stamp b, .site-footer .stamp b { color: var(--on-asphalt); }
.site-footer a.stamp:hover { background: var(--asphalt-2); }

.plate { position: relative; margin: 0; border: var(--rule); background: var(--asphalt); overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption, .plate__caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; justify-content: space-between; gap: 16px;
    padding: 9px 14px; background: var(--asphalt); color: var(--on-asphalt);
    font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.callout {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px;
    max-width: 46%; padding: 7px 10px; background: var(--sheet); border: var(--rule);
    font-size: .82rem; font-weight: 600; line-height: 1.25;
    box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .7);
}
.callout b { font: 850 1.15rem/1 var(--font-display); font-stretch: 80%; white-space: nowrap; }
.callout::after { content: ""; position: absolute; top: 50%; height: var(--line); background: var(--sheet); width: var(--lead, 64px); box-shadow: 0 0 0 .5px rgba(21, 23, 26, .6); }
.callout--r::after { left: 100%; }
.callout--l::after { right: 100%; }
.callout::before { content: ""; position: absolute; top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--mark); border: 2px solid var(--ink); }
.callout--r::before { left: calc(100% + var(--lead, 64px) - 4px); }
.callout--l::before { right: calc(100% + var(--lead, 64px) - 4px); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--hair); }
.check-list li:first-child { border-top: 0; }
.check-list li::before {
    content: ""; position: absolute; left: 4px; top: 17px; width: 16px; height: 9px;
    border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg);
}

.panel { background: var(--asphalt); color: var(--on-asphalt); }
.panel h1, .panel h2, .panel h3 { color: var(--on-asphalt); }
.panel p { color: var(--on-asphalt-2); }

/* --------------------------------------------------------------------------
   Forms (estimate request)
   -------------------------------------------------------------------------- */
.estimate-form { display: grid; gap: 18px; }
.estimate-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.estimate-form legend, .field label, .field-label {
    display: block; margin-bottom: 8px; padding: 0;
    font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink);
}
.field-label small, .field label small { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--ink-3); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 14px;
    border: var(--rule); border-radius: var(--radius); background: var(--sheet);
    font-weight: 600; font-size: .95rem; cursor: pointer; user-select: none;
    transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.chip span::before { content: ""; width: 10px; height: 10px; border: var(--line) solid currentColor; border-radius: 2px; flex: none; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--mark); border-color: var(--mark); }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.chip span:hover { background: var(--paper); }
.chip input:checked + span:hover { background: var(--asphalt-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.field input, .field select, .field textarea, .form-group input, .form-group select, .form-group textarea {
    width: 100%; min-height: 48px; padding: 10px 12px;
    border: var(--rule); border-radius: var(--radius); background: var(--field); color: var(--ink);
    font-size: 1rem;
}
.field textarea, .form-group textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mark); outline-offset: 0; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); }
.field__error { display: block; margin-top: 6px; color: var(--act); font-size: .85rem; font-weight: 600; }
.form-hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.estimate-form__submit { width: 100%; min-height: 60px; font-size: 1.35rem; }
.estimate-form__note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.estimate-form details { border-top: var(--rule); padding-top: 14px; }
.estimate-form summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
.estimate-form summary::-webkit-details-marker { display: none; }
.estimate-form summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border: var(--rule); font-weight: 800; }
.estimate-form details[open] summary::before { content: "−"; }
.estimate-form details > .details-body { display: grid; gap: 16px; padding-top: 10px; }
.file-drop { display: block; border: var(--line) dashed var(--rule-c); padding: 18px; text-align: center; cursor: pointer; background: var(--field); }
.file-drop input { display: block; margin: 8px auto 0; max-width: 100%; }
.file-preview__grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-preview__grid img { width: 64px; height: 64px; object-fit: cover; border: var(--rule); }

.alert { padding: 16px 18px; border: var(--rule); background: var(--sheet); margin-bottom: 20px; }
.alert--success { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.alert--success h3 { color: var(--ok); }
.alert--error { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); color: var(--act); font-weight: 600; }

/* --------------------------------------------------------------------------
   Home: cover sheet
   -------------------------------------------------------------------------- */
.cover { background: var(--paper); border-bottom: var(--rule); }
.cover__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); }
.cover__lead { padding: clamp(28px, 4vw, 56px) var(--gutter) 0; border-right: var(--rule); display: flex; flex-direction: column; min-width: 0; }
.cover__title { font-size: clamp(2.8rem, 1.2rem + 5.2vw, 5.6rem); max-width: 15ch; margin-bottom: .32em; }
.cover__title em { font-style: normal; box-shadow: inset 0 -.16em 0 var(--mark); }
.cover__scope { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 54ch; }
.cover__plate { margin-top: auto; border-bottom: 0; aspect-ratio: 16 / 7.4; min-height: 280px; }
.cover__plate img { object-position: center 60%; }
.cover__form { background: var(--sheet); padding: clamp(24px, 3vw, 36px) var(--gutter) clamp(24px, 3vw, 36px) clamp(24px, 2.6vw, 36px); }
.cover__form h2 { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: .2em; }
.cover__form > p { color: var(--ink-2); font-size: .98rem; }
.cover__stamps { margin-top: 22px; padding-top: 18px; border-top: var(--rule); }
@media (max-width: 980px) {
    .cover__grid { grid-template-columns: 1fr; }
    .cover__lead { border-right: 0; padding-bottom: 0; }
    .cover__form { border-top: var(--rule); }
    .cover__plate { margin-top: 24px; margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
}
@media (max-width: 560px) {
    .callout { font-size: .72rem; padding: 5px 7px; max-width: 58%; }
    .callout b { font-size: .95rem; }
    .callout--hide-sm { display: none; }
    .cover__plate { aspect-ratio: 4 / 3; min-height: 0; }
    .field-row { grid-template-columns: 1fr; }
}

/* Scope of work table */
.scope-table { border-top: var(--rule); border-bottom: var(--rule); background: var(--sheet); }
.scope-table th, .scope-table td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--hair); }
.scope-table thead th { padding-block: 12px; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); border-bottom: var(--rule); background: var(--paper); }
.scope-table tbody tr:last-child td { border-bottom: 0; }
.scope-table td:first-child { width: 30%; }
.scope-table td:first-child a { font: 850 1.5rem/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; text-decoration: none; }
.scope-table td:first-child a:hover { box-shadow: inset 0 -.2em 0 var(--mark); }
.scope-table td:last-child { width: 1%; white-space: nowrap; }
.scope-table tbody tr:hover { background: var(--paper); }
.scope-table .when { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) {
    .scope-table thead { display: none; }
    .scope-table tr { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--hair); }
    .scope-table td { padding: 2px 16px; border: 0; }
    .scope-table td:first-child { width: auto; grid-column: 1 / -1; padding-bottom: 6px; }
    .scope-table td:nth-child(2) { grid-column: 1 / -1; }
    .scope-table td:nth-child(3) { grid-column: 1; padding-top: 6px; }
    .scope-table td:last-child { grid-column: 2; grid-row: 1; align-self: start; }
}

/* Site record: photo log */
.site-record { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.site-record .plate { grid-column: span 4; aspect-ratio: 4 / 3; }
.site-record .plate:nth-child(1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.site-record .plate:nth-child(6) { grid-column: span 6; }
.site-record .plate:nth-child(7) { grid-column: span 6; }
.site-record .plate figcaption { font-size: .68rem; padding: 7px 10px; }
@media (max-width: 860px) {
    .site-record { grid-template-columns: 1fr 1fr; gap: 12px; }
    .site-record .plate, .site-record .plate:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
    .site-record .plate:nth-child(1) { grid-column: span 2; }
}

/* Two-column sheet blocks (credentials, story, terms) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--rule); background: var(--sheet); }
.split > * { padding: clamp(24px, 3.4vw, 48px); min-width: 0; }
.split > * + * { border-left: var(--rule); }
.split--photo > .plate { padding: 0; border: 0; border-left: var(--rule); min-height: 360px; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split > * + * { border-left: 0; border-top: var(--rule); }
    .split--photo > .plate { border-left: 0; border-top: var(--rule); min-height: 260px; }
}
.terms-table td, .terms-table th { padding: 13px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.terms-table th { width: 38%; padding-right: 16px; font-weight: 700; }
.terms-table tr:last-child td, .terms-table tr:last-child th { border-bottom: 0; }

.areas-line { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; font-weight: 600; }
.areas-line li:not(:last-child)::after { content: "/"; margin: 0 .6em; color: var(--ink-3); font-weight: 400; }

/* Closing CTA panel (also restyles cta-final / final-cta / service-cta / about-cta) */
.close-panel, .cta-final, .final-cta, .service-cta, .about-cta {
    position: relative; background: var(--asphalt); color: var(--on-asphalt);
    padding-block: clamp(56px, 7vw, 96px); border-top: var(--line) solid var(--mark);
}
.close-panel h2, .cta-final h2, .final-cta h2, .service-cta h2, .about-cta h2 { color: var(--on-asphalt); max-width: 18ch; }
.close-panel p, .cta-final p, .final-cta p, .service-cta p, .about-cta p { color: var(--on-asphalt-2); font-size: var(--step-1); max-width: 56ch; }
.close-panel__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.close-panel__actions, .cta-final__actions, .about-cta__actions, .service-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.close-panel .button--solid, .cta-final .button--solid, .final-cta .button--solid, .service-cta .button--solid, .about-cta .button--solid,
.cta-final .button--dark, .service-cta .button--dark { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); box-shadow: none; }
.close-panel .button--solid:hover, .cta-final .button--solid:hover, .final-cta .button--solid:hover, .service-cta .button--solid:hover, .about-cta .button--solid:hover { background: var(--mark-hover); }
.close-panel .button--outline, .cta-final .button--outline, .final-cta .button--outline, .service-cta .button--outline, .about-cta .button--outline,
.cta-final .button--ghost, .about-cta .button--ghost { border-color: var(--on-asphalt); color: var(--on-asphalt); background: transparent; }
.close-panel .button--outline:hover, .cta-final .button--outline:hover, .final-cta .button--outline:hover, .service-cta .button--outline:hover, .about-cta .button--outline:hover,
.cta-final .button--ghost:hover, .about-cta .button--ghost:hover { background: var(--on-asphalt); color: var(--asphalt); }
.cta-final__bg, .about-cta__bg { display: none; }
.final-cta .container, .service-cta .container { text-align: left; }
.final-cta__text { color: var(--on-asphalt-2); }
@media (max-width: 860px) { .close-panel__grid { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------------------------------
   Footer — the signature page of the proposal
   -------------------------------------------------------------------------- */
.site-footer { background: var(--asphalt); color: var(--on-asphalt); padding: clamp(48px, 6vw, 80px) 0 28px; border-top: var(--line) solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 36px; border-bottom: 1px solid var(--asphalt-2); }
.footer-brand__logo { font: 900 2rem/1 var(--font-display); font-stretch: 72%; text-transform: uppercase; margin-bottom: 14px; }
.footer-brand__logo span { box-shadow: inset 0 -.2em 0 var(--mark); }
.site-footer p, .site-footer li { color: var(--on-asphalt-2); font-size: .95rem; }
.footer-column h4, .footer-column__title { color: var(--on-asphalt); font-family: var(--font-text); font-stretch: normal; font-weight: 700; line-height: 1.3; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { padding: 5px 0; }
.footer-column a, .footer-bottom a { color: var(--on-asphalt); text-decoration: none; }
.footer-column a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--mark); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--on-asphalt-2); color: var(--on-asphalt); }
.footer-social a:hover { border-color: var(--mark); color: var(--mark); }
.footer-stamps { margin-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; color: var(--on-asphalt-2); }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Inner pages: title blocks (page-hero, service-hero, about/gallery/blog hero)
   -------------------------------------------------------------------------- */
.page-hero, .service-hero, .about-hero, .gallery-hero, .blog-hero {
    position: relative; background: var(--paper); border-bottom: var(--rule);
    padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 4vw, 52px);
}
.about-hero__bg, .gallery-hero__bg, .blog-hero__bg { display: none; }
.page-hero h1, .service-hero h1, .about-hero h1, .gallery-hero h1, .blog-hero h1 { max-width: 18ch; }
.page-hero p, .service-hero__description, .about-hero p, .gallery-hero p, .blog-hero p { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.page-hero--compact { padding-block: clamp(32px, 4vw, 56px); }
.service-hero__title span { box-shadow: inset 0 -.16em 0 var(--mark); }
.service-hero__badge { display: none; }
.service-hero__cta, .about-hero__actions, .gallery-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.service-hero__stats, .gallery-stats, .about-stats { display: none; }

/* Service intro: copy + framed photo */
.service-intro, .about-story, .about-choose { padding-block: var(--section); }
.service-intro__grid, .about-story__grid, .about-choose__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.service-intro__content h2, .about-story__content h2, .about-choose__content h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.service-intro__content p, .about-story__content p { color: var(--ink-2); max-width: 62ch; }
.service-intro__list, .about-choose__list { list-style: none; padding: 0; margin: 20px 0 28px; border-top: var(--rule); }
.service-intro__list li, .about-choose__item { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--hair); display: block; }
.service-intro__list li::before, .about-choose__item::before {
    content: ""; position: absolute; left: 4px; top: 17px; width: 16px; height: 9px;
    border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg);
}
.about-choose__check { display: none; }
.service-intro__image, .about-story__image, .about-choose__image { position: relative; border: var(--rule); background: var(--asphalt); }
.service-intro__image img, .about-story__image img, .about-choose__image img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.service-intro__image-badge {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 14px; background: var(--asphalt); color: var(--on-asphalt);
    font-size: .75rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
@media (max-width: 860px) { .service-intro__grid, .about-story__grid, .about-choose__grid { grid-template-columns: 1fr; } }

/* Feature/benefit/type/value "cards" become ruled spec entries */
.service-features, .service-types, .service-benefits-premium, .about-values, .service-process, .comparison-section, .service-faq, .about-gallery, .blog-topics {
    padding-block: var(--section);
}
.service-features, .service-process, .service-faq { background: var(--sheet); border-block: var(--rule); }
.features-grid, .types-grid, .benefits-showcase, .about-values__grid, .values-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px);
    border-top: var(--rule);
}
.feature-card, .type-card, .benefit-showcase-card, .value-card {
    padding: 22px 0 22px; border-bottom: 1px solid var(--hair); background: none; border-radius: 0; box-shadow: none;
}
.feature-card h3, .type-card h3, .benefit-showcase-card h3, .value-card h3 { font-size: 1.3rem; margin-bottom: .35em; }
.feature-card p, .type-card p, .benefit-showcase-card p, .value-card p { color: var(--ink-2); margin: 0; }
.feature-card__icon, .type-card__icon, .benefit-showcase-card__icon, .value-card__icon, .blog-topic__icon, .sitemap-category__icon { display: none; }
@media (max-width: 760px) { .features-grid, .types-grid, .benefits-showcase, .about-values__grid, .values-grid { grid-template-columns: 1fr; } }

/* Process: numbered because order matters */
.process-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: var(--rule); counter-reset: step; }
.process-step { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--hair); }
.process-step + .process-step { padding-left: 22px; border-left: 1px solid var(--hair); }
.process-step__number { display: block; font: 850 2.4rem/1 var(--font-display); font-stretch: 74%; margin-bottom: 10px; }
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .process-step + .process-step { padding-left: 0; border-left: 0; } }

/* Comparison table */
.comparison-table { overflow-x: auto; border: var(--rule); background: var(--sheet); }
.comparison-table table { min-width: 560px; }
.comparison-table th, .comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--hair); text-align: left; }
.comparison-table thead th { background: var(--asphalt); color: var(--on-asphalt); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison-table .highlight, .highlight { font-weight: 700; }
.check { font-weight: 700; color: var(--ok); }

/* FAQ */
.faq, .faq-page { padding-block: var(--section); }
.faq-list, .faq-accordion { border-top: var(--rule); max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item__question {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px;
    padding: 16px 0; border: 0; background: none; text-align: left; cursor: pointer;
    font-weight: 700; font-size: 1.12rem; color: var(--ink);
}
.faq-item__question:hover { color: var(--ink-2); }
.faq-item__icon { position: relative; flex: none; width: 26px; height: 26px; border: var(--rule); font-size: 0; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: calc(50% - 1px); height: 2px; background: var(--ink); transition: transform 160ms var(--ease); }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__icon::after { transform: rotate(0); }
.faq-item__answer { display: none; padding: 0 0 20px; color: var(--ink-2); max-width: 72ch; }
.faq-item.is-open .faq-item__answer { display: block; }

/* Testimonials / reviews */
.testimonials, .testimonials-modern { padding-block: var(--section); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); border-top: var(--rule); }
.testimonial-card { padding: 24px 0; border-bottom: 1px solid var(--hair); background: none; box-shadow: none; }
.testimonial-card__stars, .testimonial-card__avatar { display: none; }
.testimonial-card__text { font-size: 1.12rem; line-height: 1.55; margin-bottom: 14px; }
.testimonial-card__name { display: block; font-weight: 700; }
.testimonial-card__location { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 760px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* Service areas */
.service-areas { padding-block: var(--section); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: var(--rule); border-left: 1px solid var(--hair); }
.area-card { padding: 18px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--sheet); }
.area-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.area-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.area-map { margin-top: 36px; border: var(--rule); }
.area-map iframe, .area-map__embed iframe { display: block; width: 100%; min-height: 360px; border: 0; }

/* Gallery */
.gallery-main { padding-block: var(--section); }
.gallery-main__header { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.gallery-filters { border-block: var(--rule); background: var(--sheet); }
.gallery-filters__wrap { display: flex; gap: 0; overflow-x: auto; }
.gallery-filter { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border: 0; border-right: 1px solid var(--hair); background: none; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; color: var(--ink); }
.gallery-filter.active, .gallery-filter[aria-pressed="true"] { box-shadow: inset 0 -4px 0 var(--mark); background: var(--paper); }
.gallery-masonry-full { columns: 3 300px; column-gap: 16px; }
.gallery-masonry-full__item { position: relative; break-inside: avoid; margin-bottom: 16px; border: var(--rule); background: var(--asphalt); cursor: zoom-in; overflow: hidden; }
.gallery-masonry-full__item img { width: 100%; transition: transform 500ms var(--ease); }
.gallery-masonry-full__item:hover img { transform: scale(1.03); }
.gallery-masonry-full__overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: var(--asphalt); color: var(--on-asphalt); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600; transform: translateY(100%); transition: transform 200ms var(--ease); }
.gallery-masonry-full__item:hover .gallery-masonry-full__overlay, .gallery-masonry-full__item:focus-within .gallery-masonry-full__overlay { transform: none; }
.gallery-masonry-full__icon { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(15, 16, 18, .94); padding: 24px; }
.lightbox.active, .lightbox.is-open, .lightbox[style*="flex"] { display: flex; }
.lightbox__content { max-width: min(1200px, 100%); text-align: center; }
.lightbox__content img { max-height: 80vh; width: auto; margin: 0 auto; border: var(--line) solid var(--on-asphalt-2); }
.lightbox__title, .lightbox__counter { color: var(--on-asphalt-2); margin: 10px 0 0; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; background: var(--sheet); color: var(--ink); border: 0; font-size: 1.6rem; cursor: pointer; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* About gallery strip */
.about-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.about-gallery__item { border: var(--rule); aspect-ratio: 1; overflow: hidden; background: var(--asphalt); }
.about-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .about-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

/* Blog index and posts */
.blog-featured { padding-block: var(--section) 0; }
.blog-featured__card { display: grid; grid-template-columns: 1.2fr 1fr; border: var(--rule); background: var(--sheet); text-decoration: none; color: var(--ink); }
.blog-featured__image { position: relative; border-right: var(--rule); min-height: 320px; background: var(--asphalt); }
.blog-featured__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__badge { position: absolute; left: 0; top: 0; background: var(--mark); color: var(--mark-ink); padding: 6px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-featured__content { padding: clamp(24px, 3vw, 40px); }
.blog-featured__content h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.blog-featured__meta, .blog-card__meta, .blog-post__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.blog-featured__link { font-weight: 700; box-shadow: inset 0 -.2em 0 var(--mark); }
.blog-grid-section { padding-block: var(--section); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card { display: block; text-decoration: none; color: var(--ink); border-top: var(--rule); padding-top: 14px; }
.blog-card__image { position: relative; border: var(--rule); aspect-ratio: 16 / 10; overflow: hidden; background: var(--asphalt); margin-bottom: 14px; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.blog-card:hover img { transform: scale(1.03); }
.blog-card__category, .blog-featured__category { position: absolute; left: 0; bottom: 0; background: var(--asphalt); color: var(--on-asphalt); padding: 5px 10px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.blog-card h3 { font-size: 1.25rem; }
.blog-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.blog-topics__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: var(--rule); column-gap: 32px; }
.blog-topic { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.blog-topic h3 { font-size: 1.15rem; }
.blog-topic p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .blog-featured__card { grid-template-columns: 1fr; } .blog-featured__image { border-right: 0; border-bottom: var(--rule); min-height: 220px; } }

.blog-post { padding-block: var(--section); }
.blog-post__header { max-width: 860px; margin-bottom: 28px; }
.blog-post__category { display: inline-block; background: var(--ink); color: var(--sheet); padding: 5px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.blog-post__header h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
.blog-post__excerpt { font-size: var(--step-1); color: var(--ink-2); max-width: 64ch; }
.blog-post__featured-image { border: var(--rule); margin-bottom: 36px; background: var(--asphalt); }
.blog-post__featured-image img { width: 100%; max-height: 520px; object-fit: cover; }
.blog-post > .container, .blog-post__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.blog-post__header, .blog-post__featured-image { grid-column: 1 / -1; }
.blog-post__content { font-size: 1.1rem; line-height: 1.7; max-width: 72ch; }
.blog-post__content h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); margin-top: 1.6em; }
.blog-post__content h3 { margin-top: 1.4em; }
.blog-post__content table, .blog-post__pricing-table table { border-top: var(--rule); margin: 1.4em 0; font-size: 1rem; }
.blog-post__content th, .blog-post__content td { padding: 10px 12px; border-bottom: 1px solid var(--hair); text-align: left; }
.blog-post__content thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.blog-post__alert, .blog-post__checklist, .blog-post__comparison, .blog-post__season-guide, .blog-post__pricing-table { border: var(--rule); background: var(--sheet); padding: 20px 22px; margin: 1.4em 0; }
.blog-post__alert--warning { border-color: var(--act); }
.blog-post__comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.blog-post__comparison-item h3, .blog-post__comparison-item h4 { margin-top: 0; }
.season-item { padding: 12px 0; border-bottom: 1px solid var(--hair); }
.season-item--best { box-shadow: inset 0 -3px 0 var(--mark); }
.season-item--avoid { color: var(--act); }
.blog-post__sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.blog-post__cta { background: var(--asphalt); color: var(--on-asphalt); padding: 24px; border-top: var(--line) solid var(--mark); }
.blog-post__cta h3, .blog-post__cta h4 { color: var(--on-asphalt); }
.blog-post__cta p { color: var(--on-asphalt-2); }
.blog-post__cta .button--solid { background: var(--mark); color: var(--mark-ink); border-color: var(--mark); box-shadow: none; width: 100%; }
.blog-post__cta .button--outline { border-color: var(--on-asphalt); color: var(--on-asphalt); width: 100%; }
.blog-post__cta-buttons { display: grid; gap: 10px; margin-top: 14px; }
.blog-post__related { border-top: var(--rule); padding-top: 14px; }
.blog-post__related a { display: block; padding: 8px 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 600; }
.blog-post__related a:hover { text-decoration: underline; }
@media (max-width: 960px) { .blog-post > .container, .blog-post__layout { grid-template-columns: 1fr; } .blog-post__sidebar { position: static; } .blog-post__comparison { grid-template-columns: 1fr; } }

/* Legal + sitemap pages */
.legal-content, .services .legal-content { max-width: 78ch; padding-block: var(--section); }
.legal-content h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-top: 1.4em; }
.sitemap-section { padding-block: var(--section); }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.sitemap-category { border-top: var(--rule); padding-top: 14px; }
.sitemap-category__header h2, .sitemap-category__header h3 { font-size: 1.6rem; }
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { padding: 10px 0; border-bottom: 1px solid var(--hair); }
.sitemap-list__title { font-weight: 700; display: block; }
.sitemap-list__desc { color: var(--ink-3); font-size: .9rem; }
.sitemap-contact { margin-top: 40px; padding: 28px; background: var(--asphalt); color: var(--on-asphalt); }
.sitemap-contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* Contact page */
.contact { padding-block: var(--section); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; border: var(--rule); background: var(--sheet); }
.contact-grid > * { padding: clamp(22px, 3vw, 44px); min-width: 0; }
.contact-grid > * + * { border-left: var(--rule); background: var(--paper); }
.contact-sidebar h3 { font: 850 1.6rem/1 var(--font-display); font-stretch: 78%; text-transform: uppercase; }
.contact-sidebar .sheet-block + .sheet-block { margin-top: 28px; padding-top: 24px; border-top: var(--rule); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid > * + * { border-left: 0; border-top: var(--rule); } }

/* --------------------------------------------------------------------------
   Motion: one authored moment — callouts land on the cover plate
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .js .cover__plate .callout { opacity: 0; transform: translateY(6px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
    .js .cover__plate.is-measured .callout { opacity: 1; transform: none; }
    .js .cover__plate.is-measured .callout:nth-of-type(2) { transition-delay: 140ms; }
    .js .cover__plate.is-measured .callout:nth-of-type(3) { transition-delay: 280ms; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* Print: it is a proposal, after all */
@media print {
    .site-header, .mobile-cta-bar, .site-footer, .close-panel, .nav-toggle { display: none !important; }
    body { background: #fff; }
}

/* Theme toggle (Auto / Light / Dark) */
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: var(--rule); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { background: var(--paper); }
.theme-toggle .icon { width: 20px; height: 20px; display: none; }
:root[data-theme-pref="auto"] .theme-toggle__auto,
:root[data-theme-pref="light"] .theme-toggle__light,
:root[data-theme-pref="dark"] .theme-toggle__dark { display: block; }
:root:not([data-theme-pref]) .theme-toggle__auto { display: block; }
.install-app { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--mark); font-weight: 700; cursor: pointer; }
.install-app[hidden] { display: none; }
.footer-estimate { margin-top: 16px; }
.footer-contact__line { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact__line .icon { color: var(--mark); }
@media (max-width: 1280px) { .header__call { gap: 10px; } }

/* Buttons inside the dark footer keep their own colours (footer link colour must not win) */
.site-footer .button--solid { color: #1a1d21; }
.site-footer .button--solid:hover { color: #1a1d21; text-decoration: none; }

.footer-contact__line--indent { padding-left: calc(1.15em + 8px); }

/* Compact footer on phones: link columns side by side, stamps 4 across, tighter rhythm */
@media (max-width: 520px) {
    .site-footer { padding-top: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding-bottom: 24px; }
    .footer-brand, .footer-contact { grid-column: 1 / -1; }
    .footer-brand p { margin-bottom: 12px; }
    .site-footer .stamp-row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .site-footer .stamp { min-height: 56px; padding: 6px 2px; font-size: .58rem; letter-spacing: .03em; }
    .site-footer .stamp b { font-size: 1rem; }
    .footer-column li { padding: 3px 0; }
    .footer-column a { display: inline-block; padding: 6px 0; }
    .footer-social { margin-top: 12px; }
}

#estimate, .estimate-form { scroll-margin-top: 5rem; }
.estimate-extra-services, .estimate-form fieldset .chips + .chips { margin-top: .65rem; }
