/* Ridings Paint Contracting. The theme follows the logo: royal blue, charcoal and white, widely tracked
   Josefin Sans capitals, a script "The" and the logo's open circle as the signature line. Brass and sage are
   the only supporting colors, used sparingly. No CSS framework: this file is the whole stylesheet, so keep it small. */
@font-face {
    font-family: "Josefin Sans";
    src: url("../fonts/josefin-sans-latin.woff2") format("woff2");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Herr Von Muellerhoff";
    src: url("../fonts/herr-von-muellerhoff-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-heading: "Josefin Sans", "Century Gothic", Arial, sans-serif;
    --font-body: "Josefin Sans", "Century Gothic", Arial, sans-serif;
    --font-script: "Herr Von Muellerhoff", "Snell Roundhand", cursive;

    /* Brand: the logo's royal blue, charcoal and white */
    --blue: #1f4fb5;
    --blue-dark: #173d8f;
    --blue-mist: #eef2fa;
    --blue-bright: #2f6fdf; /* the truck stripes */
    --ink: #22262c; /* the truck's charcoal */
    --ink-2: #2a2e35;
    /* Supporting colors, used sparingly */
    --brass: #a8875a;
    --sage: #6f8471;

    --color-heading: var(--ink);
    --color-text: #2a2e35;
    --color-muted: #5b6169;
    --color-bg: #fff;
    --color-stone: #f6f5f2;
    --color-linen: #ece9e3;
    --color-rule: #dfdbd4;
    --on-ink: #ecebe8;
    --on-ink-muted: #a7abb2;

    /* The logo's open circle: two arcs, upper right and lower left. Used as a mask so it takes any color. */
    --arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M80 6.1A96 96 0 0 1 193.9 80'/%3E%3Cpath d='M120 193.9A96 96 0 0 1 6.1 120'/%3E%3C/g%3E%3C/svg%3E");
    --shadow: 0 1px 2px rgb(29 32 37 / .05), 0 10px 30px rgb(29 32 37 / .07);
    --radius: .25rem;
    /* Photos sit in a thin white mat with a hairline border, like a framed print */
    --frame-pad: .55rem;
    --frame-shadow: 0 12px 28px rgb(34 38 44 / .14);
    --max-width: 72rem;
    --track: .16em;

    font-family: var(--font-body);
    font-size: 106.25%;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--color-bg); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
p { color: var(--color-muted); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Headings: the logo's widely tracked capitals. Josefin sits high in its box, so the top padding is a touch bigger. */
h1, h2, .section-title { font-family: var(--font-heading); font-weight: 400; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.25; color: var(--color-heading); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em; line-height: 1.35; color: var(--color-heading); }
.script { font-family: var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 44rem; }
.centered { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--color-bg); padding: .5rem; z-index: 50; }

/* Header: the wordmark and phone on white, then a charcoal navigation band */
/* A blue top border, a fine canvas weave on warm stone, and the logo's circle drawn faintly behind the wordmark.
   The wordmark row clips the circle, not the header, so the menu's dropdowns can hang below the band. */
.site-header { position: relative; z-index: 30; border-top: 4px solid var(--blue); background:
    repeating-linear-gradient(0deg, rgb(34 38 44 / .035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(34 38 44 / .03) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #faf9f6, #efece6); }
.header-top { position: relative; overflow: clip; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem 1.4rem; }
.brand::before { content: ""; position: absolute; left: 50%; top: 55%; width: 7.75rem; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
    background: var(--ink); opacity: .18; -webkit-mask: var(--arc) center / contain no-repeat; mask: var(--arc) center / contain no-repeat; }
.brand { position: relative; display: inline-grid; justify-items: center; padding-top: 1.6rem; color: var(--blue); text-decoration: none; line-height: 1; }
.brand:hover { color: var(--blue); }
.brand-the { position: absolute; top: -.35rem; left: .1rem; font-family: var(--font-script); font-size: 2.5rem; line-height: 1; color: var(--ink); rotate: -4deg; }
.brand-name { padding-left: .5em; font-size: 2rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; }
.brand-sub { margin-top: .55rem; padding-left: .32em; font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.header-contact { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.2rem .55rem; border: 1px solid var(--blue); border-radius: var(--radius); font-size: 1rem; font-weight: 600; letter-spacing: .08em; color: var(--blue); text-decoration: none; transition: background-color .15s, color .15s; }
.header-phone:hover { background: var(--blue); color: #fff; }
.header-phone svg, .nav-phone svg { width: 1em; height: 1em; fill: currentColor; margin-top: -.15em; }
.nav-band { background: var(--ink); }
.nav-bar { display: flex; align-items: center; justify-content: center; min-height: 3.4rem; }
.nav-brand { display: none; }
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: 0; cursor: pointer; color: var(--on-ink); }
.nav-phone { display: none; align-items: center; gap: .4rem; margin-left: auto; font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--on-ink); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
/* Desktop: the items spread across the whole bar, Free Estimate at the right edge */
.site-nav { flex: 1; }
.nav-menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
.nav-menu > li > a, .nav-group-toggle { display: flex; align-items: center; gap: .45rem; padding-block: .35rem .2rem; border: 0; border-bottom: 1px solid transparent; background: none; font-family: var(--font-body); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--on-ink); cursor: pointer; }
.nav-menu > li > a:hover, .nav-group-toggle:hover { color: #fff; border-bottom-color: rgb(255 255 255 / .5); }
.nav-menu > li > a[aria-current="page"], .nav-menu > li > a.is-current, .nav-group.is-current > .nav-group-toggle { color: #fff; border-bottom: 2px solid var(--blue); }
.nav-chevron { width: .6rem; height: .4rem; margin-top: -.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-group-toggle[aria-expanded="true"] .nav-chevron { rotate: 180deg; }
.nav-band :focus-visible { outline-color: #fff; }

/* Dropdowns: a white panel with ink text under the band. Without the script they open on hover and keyboard focus. */
.nav-group { position: relative; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + .7rem); left: -1.1rem; z-index: 40; min-width: 15rem; padding: .5rem 0; background: #fff; border-top: 2px solid var(--blue); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow), 0 14px 30px rgb(29 32 37 / .18); }
/* A bridge over the gap between the label and the panel, so a hover-opened menu stays open on the way down */
.nav-dropdown::before { content: ""; position: absolute; inset: -.85rem 0 100%; }
/* The first group sits at the bar's left edge, so its panel lines up with it; the group beside Free Estimate is near
   the right edge, so its panel opens leftward */
.nav-menu > .nav-group:first-child > .nav-dropdown { left: 0; }
.nav-group:has(+ .nav-cta-item) > .nav-dropdown { left: auto; right: -1.1rem; }
.nav-group.open > .nav-dropdown,
.site-nav:not(.is-enhanced) .nav-group:is(:hover, :focus-within) > .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: .6rem 1.1rem .5rem; border-left: 2px solid transparent; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-dropdown a:hover { background: var(--blue-mist); color: var(--blue-dark); }
.nav-dropdown a[aria-current="page"] { border-left-color: var(--blue); color: var(--blue); font-weight: 600; }
.nav-dropdown :focus-visible { outline-color: var(--blue); outline-offset: -2px; }
/* Contact Us, as the band's call to action */
.nav-menu > .nav-cta-item > a.nav-cta { padding: .6rem 1.15rem .5rem; border: 1px solid var(--blue); border-radius: var(--radius); background: var(--blue); color: #fff; font-weight: 600; }
.nav-menu > .nav-cta-item > a.nav-cta:hover { background: var(--blue-bright); border-color: var(--blue-bright); }
.nav-menu > .nav-cta-item > a.nav-cta[aria-current="page"] { border-color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .nav-chevron { transition: rotate .15s; }
    .nav-dropdown { animation: nav-drop .14s ease-out; }
}
@keyframes nav-drop { from { opacity: 0; translate: 0 -.25rem; } }

@media (max-width: 48rem) {
    /* The charcoal bar (☰ and phone) stays pinned once the logo row has scrolled away: the whole header is sticky,
       with a negative top as tall as the blue border and the logo row, so only the bar is left on screen. The logo
       row has a fixed height so that offset is exact; the bar's row is a fixed height too, for the open menu's limit. */
    :root { --logo-row-h: 7.25rem; --bar-h: 4rem; }
    html { scroll-padding-top: calc(var(--bar-h) + .75rem); }
    .site-header { position: sticky; top: calc(-4px - var(--logo-row-h)); }
    .header-top { justify-content: center; box-sizing: border-box; height: var(--logo-row-h); padding-block: 1.25rem 1rem; }
    .brand-name { font-size: 1.6rem; }
    .brand-sub { font-size: .68rem; }
    .brand-the { font-size: 2.2rem; }
    .header-contact { display: none; }
    .nav-bar { justify-content: flex-start; flex-wrap: wrap; gap: 0 1rem; min-height: var(--bar-h); padding-block: .75rem; }
    .nav-toggle { display: block; height: calc(var(--bar-h) - 1.5rem); line-height: 1; }
    .nav-phone { display: inline-flex; font-size: .92rem; white-space: nowrap; }
    /* The bar's wordmark: a script "The" and RIDINGS in light colors. It takes its space all along (so nothing moves)
       and fades in once the big logo has scrolled away; without the script it simply shows. */
    .nav-brand { position: relative; display: inline-flex; align-items: baseline; padding: .35rem 0 0 .55rem; color: #fff; text-decoration: none; font-size: .95rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
    .nav-brand:hover { color: #fff; }
    .nav-brand-the { position: absolute; left: 0; top: -.45rem; font-family: var(--font-script); font-size: 1.35rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--on-ink-muted); rotate: -4deg; }
    .site-header.is-unpinned .nav-brand { opacity: 0; visibility: hidden; }
    .site-nav { display: none; flex-basis: 100%; }
    /* The open menu fits under the pinned bar and scrolls on its own, without scrolling the page behind it */
    .site-nav.open { display: block; max-height: calc(100dvh - var(--bar-h) - .75rem); overflow-y: auto; overscroll-behavior: contain; margin-top: .75rem; }
    /* Inside the ☰ menu the groups open in place, as accordions */
    .nav-menu { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .75rem; }
    .nav-menu > li { border-top: 1px solid rgb(255 255 255 / .08); }
    .nav-menu > li > a, .nav-group-toggle { width: 100%; justify-content: space-between; padding-block: .85rem .75rem; border-bottom: 0; font-size: .82rem; }
    .nav-menu > li > a[aria-current="page"], .nav-menu > li > a.is-current, .nav-group.is-current > .nav-group-toggle { border-bottom: 0; box-shadow: inset 2px 0 var(--blue); padding-left: .75rem; }
    .nav-chevron { width: .75rem; height: .5rem; }
    .nav-dropdown { position: static; min-width: 0; margin: 0 0 .6rem; padding: 0 0 0 1rem; background: none; border: 0; border-left: 1px solid rgb(255 255 255 / .15); border-radius: 0; box-shadow: none; animation: none; }
    .nav-dropdown::before { content: none; }
    .site-nav:not(.is-enhanced) .nav-group:is(:hover, :focus-within) > .nav-dropdown { display: none; }
    .site-nav:not(.is-enhanced) .nav-dropdown { display: block; }
    .nav-dropdown a { padding: .6rem .75rem .5rem; color: var(--on-ink); white-space: normal; }
    .nav-dropdown a:hover { background: rgb(255 255 255 / .06); color: #fff; }
    .nav-dropdown a[aria-current="page"] { color: #fff; }
    .nav-dropdown :focus-visible { outline-color: #fff; }
    .nav-menu > .nav-cta-item { border-top: 0; padding-top: .75rem; }
    .nav-menu > .nav-cta-item > a.nav-cta { justify-content: center; padding-block: .85rem .75rem; }
}
@media (max-width: 48rem) and (prefers-reduced-motion: no-preference) {
    .nav-brand { transition: opacity .2s, visibility .2s; }
}
/* The narrowest phones: the phone link keeps its icon (and its tap target) but drops the number */
@media (max-width: 22rem) {
    .nav-phone { font-size: 0; padding: .5rem; }
    .nav-phone svg { width: 1.25rem; height: 1.25rem; margin: 0; }
}

main.container { padding-bottom: 4rem; }
main.full-width { padding-block: 0; }
.privacy-policy { max-width: 46rem; padding-top: 2.5rem; }
.privacy-policy h2 { margin-top: 2rem; }

/* Buttons: squared-off, tracked capitals. Blue is the main call to action. */
.button { display: inline-block; background: var(--blue); color: #fff; padding: .95rem 2rem .8rem; border: 1px solid var(--blue); border-radius: var(--radius); text-decoration: none; font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.button-accent { padding: 1.05rem 2.25rem .9rem; }
.button-light { background: #fff; border-color: #fff; color: var(--ink); }
.button-light:hover { background: transparent; border-color: #fff; color: #fff; }
.home-hero .button-light { background: var(--blue); border-color: var(--blue); color: #fff; padding: 1.05rem 2.25rem .9rem; }
.home-hero .button-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
/* "Message us on Facebook": an m.me link, on the charcoal footer and contact card */
.messenger-button { display: inline-flex; align-items: center; text-align: left; gap: .6rem; padding: .75rem 1.25rem .65rem; font-size: .75rem; letter-spacing: .14em; }
.messenger-button svg { flex: none; margin-top: -.15em; }
.site-footer .messenger-button, .contact-details .messenger-button { color: var(--ink); }
.site-footer .messenger-button:hover, .contact-details .messenger-button:hover { color: #fff; }
.footer-messenger { margin-top: 1rem; }

/* Section heading with a short, fine blue line underneath */
.rule { width: 3.5rem; height: 2px; border: 0; background: var(--blue); margin: 1.1rem 0 2.25rem; }
.centered .rule { margin-inline: auto; }
.band { padding-block: 5rem; }
.band-gray { background: var(--color-stone); }

/* Content pages: full-width photo banner with the page heading over it */
.page-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; margin-inline: calc(50% - 50vw); min-height: 9rem; padding: 2.5rem max(1rem, calc(50vw - var(--max-width) / 2 + 1rem)) 2.25rem; margin-bottom: 3.5rem; }
.page-hero.has-image { min-height: clamp(16rem, 32vw, 26rem); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(29 32 37 / .82), rgb(29 32 37 / .1) 70%); }
.page-hero-eyebrow { position: relative; z-index: 2; margin: 0 0 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #cfdcf7; }
.page-hero h1 { position: relative; z-index: 2; margin: 0; max-width: 44rem; color: #fff; }
.page-hero h1::after { content: ""; display: block; width: 3.5rem; height: 2px; margin-top: 1rem; background: var(--blue); }
.page-hero.has-image h1, .page-hero.has-image .page-hero-eyebrow { text-shadow: 0 1px 3px rgb(0 0 0 / .5), 0 2px 16px rgb(0 0 0 / .3); }
.page-hero.has-image h1::after { background: #fff; }
/* Without a photo: a charcoal band in the header's canvas weave, with the logo's circle drawn large at the right */
.page-hero:not(.has-image) { justify-content: center; min-height: clamp(15rem, 22vw, 18rem); overflow: hidden; background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 5px), var(--ink); }
.page-hero:not(.has-image) .page-hero-eyebrow { color: #8fb0ef; }
.page-hero:not(.has-image)::before { content: ""; position: absolute; top: 50%; right: max(1rem, calc(50vw - var(--max-width) / 2 + 2rem)); width: clamp(14rem, 24vw, 19rem); aspect-ratio: 1; translate: 0 -50%;
    background: #fff; opacity: .25; -webkit-mask: var(--arc) center / contain no-repeat; mask: var(--arc) center / contain no-repeat; }
@media (max-width: 48rem) {
    .page-hero-eyebrow { font-size: .68rem; letter-spacing: .2em; }
    .page-hero:not(.has-image)::before { right: -5rem; opacity: .15; }
}

.content-section { margin-bottom: 3.5rem; }
.content-section h2::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: 1rem; background: var(--blue); }
.content-section img { display: block; margin-block: 1.5rem; padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); border-radius: .2rem; box-shadow: var(--frame-shadow); }
@media (min-width: 56rem) {
    /* Text on the left, photo on the right */
    .content-section:has(> img) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 4rem; align-items: start; }
    .content-section:has(> img) > * { grid-column: 1; }
    .content-section:has(> img) > img { grid-column: 2; grid-row: 1 / span 20; margin: .5rem 0 0; }
}

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0; border-top: 1px solid var(--color-rule); }
.feature-list li { position: relative; padding: .9rem .5rem .75rem 2.5rem; border-bottom: 1px solid var(--color-rule); color: var(--color-text); }
.feature-list li::before { content: ""; position: absolute; left: .4rem; top: 1.05rem; width: 1.1rem; height: 1.1rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8.5' fill='none' stroke='%231f4fb5' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Home: full-width photo, darkened to the left, with the heading framed by the logo's open circle */
.home-hero { position: relative; display: grid; align-items: center; min-height: clamp(30rem, 58vw, 44rem); padding: 5rem max(1rem, calc(50vw - var(--max-width) / 2 + 1rem)); overflow: hidden; background: var(--ink); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(29 32 37 / .88) 0%, rgb(29 32 37 / .6) 45%, rgb(29 32 37 / .05) 85%); }
.home-hero-panel { position: relative; z-index: 2; max-width: 38rem; padding: 4rem 0 4rem 3rem; animation: rise-in .8s .1s ease-out both; }
.home-hero-panel::before { content: ""; position: absolute; left: -2.5rem; top: 50%; width: min(34rem, 100%); aspect-ratio: 1; translate: 0 -50%; z-index: -1;
    background: #fff; opacity: .55; -webkit-mask: var(--arc) center / contain no-repeat; mask: var(--arc) center / contain no-repeat; }
.home-hero-panel h1 { color: #fff; margin: 0 0 1.25rem; font-size: clamp(1.8rem, 3.3vw, 2.6rem); letter-spacing: .12em; }
.home-hero-panel p { color: var(--on-ink); font-size: 1.2rem; margin: 0 0 2rem; }
@media (max-width: 48rem) {
    /* Phones: the photo first, then the heading on charcoal below it */
    .home-hero { display: block; min-height: 0; padding: 0; }
    .home-hero::before { display: none; }
    .home-hero-image { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 4 / 3; }
    .home-hero-panel { max-width: none; padding: 2.75rem 1.5rem 3.25rem; overflow: hidden; }
    .home-hero-panel::before { left: auto; right: -7rem; top: 2rem; translate: none; width: 18rem; opacity: .2; }
    .home-hero-panel h1 { font-size: 1.65rem; letter-spacing: .1em; }
    .home-hero-panel p { font-size: 1.05rem; }
}
@media (max-width: 48rem) {
    :root { --track: .1em; }
    h1 { font-size: 1.7rem; }
}

/* Trust strip: quick proof under the hero, on charcoal like the truck */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 0; margin: 0; padding: 1.1rem 1rem 1rem; list-style: none; background: var(--ink); border-top: 1px solid rgb(255 255 255 / .1); }
.trust-strip li { padding-inline: 1.6rem; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-ink); }
.trust-strip li + li { border-left: 1px solid rgb(255 255 255 / .2); }
.trust-strip a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--blue-bright); }
.trust-strip a:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 48rem) { .trust-strip li { padding-inline: .9rem; font-size: .68rem; letter-spacing: .14em; } }

/* About: short copy and a signature beside two overlapping framed photos, then three points */
.home-about { background: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem 4.5rem; align-items: center; }
.about-copy h3 { margin-top: 0; }
.signature { margin: 1.25rem 0 0; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.about-collage { position: relative; padding: 0 0 6rem; }
.about-collage img { display: block; object-fit: cover; padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); border-radius: .2rem; box-shadow: var(--frame-shadow); }
.collage-main { width: 86%; aspect-ratio: 4 / 3; }
.collage-second { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; box-shadow: 0 18px 40px rgb(34 38 44 / .22); }
.about-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; color: var(--color-muted); }
.about-points li { padding-top: 1.1rem; border-top: 1px solid var(--color-rule); position: relative; }
.about-points li::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--blue); }
.about-points strong, .steps strong { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-heading); }
@media (max-width: 48rem) {
    .about-grid, .about-points { grid-template-columns: 1fr; }
    .about-collage { padding-bottom: 3rem; }
}

/* How We Work: four numbered steps, each number in the logo's open circle */
.how-we-work { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.75rem; margin: 0; padding: 0; list-style: none; counter-reset: step; color: var(--color-muted); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.1rem; padding-top: .2em; font-size: 1.4rem; font-weight: 300; color: var(--blue);
    background: var(--arc) center / contain no-repeat; }
@media (max-width: 56rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .steps { grid-template-columns: 1fr; } }

/* Recent Work: four framed photos with a link to the full gallery */
.recent-work { background: var(--color-stone); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 2rem; }
.see-all { margin-bottom: 2.25rem; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.see-all:hover { text-decoration: underline; text-underline-offset: .35em; }
.photo-grid.recent-grid { grid-template-columns: repeat(4, 1fr); }
.recent-grid a { display: block; }
@media (max-width: 56rem) { .photo-grid.recent-grid { grid-template-columns: repeat(2, 1fr); } }

/* Photo strip: framed prints in an even grid */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.photo-grid li { padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); border-radius: .2rem; box-shadow: var(--frame-shadow); transition: transform .3s; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid li:hover { transform: translateY(-3px); }
@media (max-width: 48rem) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; } .photo-grid li { padding: .35rem; } }

/* Home "What We Do": photo tiles linking to the service and specialty pages */
.service-tiles { background: var(--color-stone); }
.tile-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; height: 100%; color: var(--color-text); text-decoration: none; }
.tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); border-radius: .2rem; box-shadow: var(--frame-shadow); transition: opacity .3s; }
.tile-body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding: 1.25rem 0 0; }
.tile-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.35; color: var(--color-heading); }
.tile-text { color: var(--color-muted); }
.tile-more { margin-top: auto; padding-top: .35rem; font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.tile:hover img { opacity: .88; }
.tile:hover .tile-more { text-decoration: underline; text-underline-offset: .35em; }
.tile:focus-visible { outline-offset: 6px; }

/* Closing band: the invitation on the left, phone, email, hours and social links on the right */
.home-contact { padding-block: 5rem; background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 5px), var(--ink); color: var(--on-ink); }
.contact-band { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: center; }
.home-contact h2, .home-contact h3 { color: #fff; margin-top: 0; }
.home-contact p { color: var(--on-ink-muted); }
.home-contact .button { margin-top: .75rem; }
.contact-reach { padding: 2rem 0 2rem 3rem; border-left: 1px solid rgb(255 255 255 / .15); }
.contact-reach p { margin: 0 0 .5rem; }
.contact-reach a { color: #fff; }
.contact-phone { font-size: 1.6rem; font-weight: 500; letter-spacing: .08em; }
.contact-phone a { text-decoration: none; }
.contact-reach .social-icons { justify-content: flex-start; margin-top: 1.25rem; }
.home-contact .social-icons a { background: transparent; border-color: rgb(255 255 255 / .25); }
.home-contact .social-icons a:hover { border-color: #fff; }
.home-contact .social-icons img { filter: brightness(0) invert(1); }
@media (max-width: 48rem) {
    .contact-band { grid-template-columns: 1fr; }
    .contact-reach { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / .15); }
}

/* About: services as cards, Why Choose Us as numbered tiles */
.services, .why-choose-us { margin-top: 3.5rem; }
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card { position: relative; background: #fff; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--color-rule); border-radius: var(--radius); }
.card::before { content: ""; position: absolute; left: 1.5rem; top: -1px; width: 2.5rem; height: 2px; background: var(--blue); }
.card h3 { margin: 0 0 .75rem; }
.card h3 a { color: var(--color-heading); text-decoration-color: var(--blue); }
.card p { margin: 0; }

.why-choose-us ol { list-style: none; counter-reset: why; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin: 0; padding: 0; }
.why-choose-us li { counter-increment: why; position: relative; padding: 1.5rem 1.5rem 1.25rem 4.75rem; background: var(--color-stone); border-radius: var(--radius); color: var(--color-muted); }
.why-choose-us li::before { content: counter(why, decimal-leading-zero); position: absolute; left: 1.4rem; top: 1.35rem; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--brass); }
.why-choose-us strong { display: block; margin-bottom: .35rem; font-size: 1.1rem; color: var(--color-heading); }

/* Estimate call to action at the foot of content pages: charcoal, with the logo's circle at the right */
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; margin-top: 4.5rem; padding: 3rem 2.75rem; background: var(--ink); border-radius: var(--radius); }
/* Two slanted stripes, as on the work truck */
.cta-band::before { content: ""; position: absolute; right: 2rem; top: -1rem; bottom: -1rem; width: 4.5rem; transform: skewX(-28deg); pointer-events: none;
    background: linear-gradient(90deg, var(--blue-bright) 0 38%, transparent 38% 56%, var(--blue) 56% 100%); opacity: .9; }
@media (min-width: 48.01rem) { .cta-band { padding-right: 9rem; } }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 .4rem; color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.cta-band p { margin: 0; color: var(--on-ink-muted); }
.cta-band .button-accent { z-index: 1; }
.cta-band .button-accent:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 48rem) { .cta-band { padding: 2.5rem 1.5rem; } }

/* Our Work gallery */
.gallery { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); list-style: none; padding: 0; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.5rem; }
.gallery-filters .filter { padding: .55rem 1.1rem .4rem; border: 1px solid var(--color-rule); border-radius: var(--radius); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-heading); text-decoration: none; }
.gallery-filters .filter:hover { border-color: var(--ink); }
.gallery-filters .filter[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Recent Jobs: story cards (the list page and the strips on the home and service pages) */
.job-cards { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.recent-jobs-strip .job-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 56rem) { .recent-jobs-strip .job-cards { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); } }
.job-card { display: flex; flex-direction: column; height: 100%; color: var(--color-text); text-decoration: none; }
.job-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); border-radius: .2rem; box-shadow: var(--frame-shadow); transition: opacity .3s; }
.job-card-body { display: flex; flex-direction: column; gap: .45rem; flex: 1; padding-top: 1.2rem; }
.job-card-meta { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.job-card-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: var(--track); line-height: 1.35; color: var(--color-heading); }
.job-card-summary { color: var(--color-muted); }
.job-card:hover img { opacity: .88; }
.job-card:hover .tile-more { text-decoration: underline; text-underline-offset: .35em; }
.job-card:focus-visible { outline-offset: 6px; }
.job-empty { margin: 2rem 0; color: var(--color-muted); }
.recent-jobs-strip { margin-top: 4.5rem; }
.band .recent-jobs-strip { margin-top: 0; }

/* A Recent Jobs story */
.job-story { max-width: 46rem; margin: 0 auto; }
.job-back { margin: 2rem 0 1.5rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.job-back a { text-decoration: none; }
.job-back a:hover { text-decoration: underline; text-underline-offset: .35em; }
.job-story-head .page-hero-eyebrow { color: var(--blue); }
.job-story-head h1 { margin: 0 0 1rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.job-story-summary { font-size: 1.15rem; color: var(--color-muted); }
.job-story-cover { margin: 2rem 0; padding: var(--frame-pad); background: #fff; border: 1px solid var(--color-rule); box-shadow: var(--frame-shadow); }
.job-story-cover img { display: block; width: 100%; height: auto; }
.job-story-body p { font-size: 1.05rem; line-height: 1.75; }
.job-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.job-tags li { padding: .4rem .9rem .3rem; border: 1px solid var(--color-rule); border-radius: var(--radius); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-heading); }
.job-photos { margin-top: 4rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; overflow: visible; }
.lightbox::backdrop { background: rgb(20 22 26 / .92); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 90vw; max-height: 82vh; display: block; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; padding: .5rem; }
.lightbox button { position: fixed; background: rgb(0 0 0 / .5); color: #fff; border: 0; font-size: 2.5rem; line-height: 1; width: 3rem; height: 3rem; cursor: pointer; border-radius: 50%; }
.lightbox button:focus-visible { outline: 2px solid #fff; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* Contact Us */
.contact-form { padding: 2.25rem; background: #fff; border: 1px solid var(--color-rule); border-top: 2px solid var(--blue); border-radius: var(--radius); }
.contact-form h2 { margin-top: 0; }
.contact-form form { display: grid; gap: .35rem; }
.contact-form label { font-weight: 600; margin-top: .75rem; color: var(--color-heading); }
.contact-form label.checkbox { font-weight: normal; display: flex; gap: .5rem; align-items: start; color: var(--color-muted); }
.contact-form input:not([type=checkbox], [type=radio]), .contact-form select, .contact-form textarea { font: inherit; padding: .7rem .8rem .55rem; border: 1px solid #c9c5be; border-radius: var(--radius); width: 100%; background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 1px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.contact-form input:is([type=checkbox], [type=radio]) { accent-color: var(--blue); width: 1.1rem; height: 1.1rem; }
.contact-form .choice { border: 0; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.contact-form .choice legend { font-weight: 600; color: var(--color-heading); padding: 0; margin-bottom: .35rem; }
.contact-form label.radio { font-weight: normal; margin: 0; display: flex; gap: .4rem; align-items: center; color: var(--color-text); }
.contact-form .field-hint { margin: .25rem 0 0; font-size: .9rem; color: var(--color-muted); }
.contact-form .button { justify-self: start; margin-top: 1.25rem; }
.contact-details { position: relative; overflow: hidden; padding: 2.25rem 2rem; background: var(--ink); border-radius: var(--radius); color: var(--on-ink); }
.contact-details h2 { margin-top: 0; color: #fff; }
.contact-details p { color: var(--on-ink); }
.contact-details a { color: #fff; }
.contact-details .social-links { list-style: none; display: flex; gap: 1rem; padding: 0; }

/* The free estimate form: one question at a time in a centered card (site.js), or one long form without JavaScript. */
.quote-layout { display: grid; gap: 1.5rem; max-width: 46rem; margin: 0 auto; }
.quote-card.contact-form { padding: 2.5rem 3rem 2.25rem; border-top: 1px solid var(--color-rule); box-shadow: var(--shadow); }
.quote-form [hidden] { display: none !important; }
.quote-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.contact-form .quote-kicker, .quote-count { margin: 0; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); }
.quote-bar { height: 4px; margin-bottom: 1.75rem; border-radius: 2px; background: var(--color-linen); overflow: hidden; }
.quote-bar i { display: block; width: 0; height: 100%; background: var(--blue); transition: width .3s ease; }
.quote-answers { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1rem; }
.quote-answers button { padding: .3rem .8rem .2rem; border: 1px solid var(--color-rule); border-radius: 999px; background: var(--color-stone); font: inherit; font-size: .8rem; font-weight: 600; color: var(--color-heading); cursor: pointer; }
.quote-answers button:hover { border-color: var(--blue); }
.quote-step { display: grid; gap: .35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-step + .quote-step { margin-top: 2rem; }
.quote-form.is-wizard .quote-step { margin-top: 0; animation: quote-in .25s ease; }
@keyframes quote-in { from { opacity: 0; transform: translateY(.4rem); } to { opacity: 1; transform: none; } }
.quote-step legend { padding: 0; width: 100%; }
.contact-form .quote-q { margin: 0 0 .25rem; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--color-heading); }
.quote-form.is-wizard .quote-q, .quote-form.is-wizard .quote-sub { text-align: center; }
.quote-q:focus { outline: none; }
.quote-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.quote-sub { margin: 0 0 .75rem; color: var(--color-muted); }
.quote-opt { display: inline-block; margin-left: .5rem; padding: .2rem .55rem .1rem; border-radius: 999px; background: var(--color-linen); font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); vertical-align: middle; }
.quote-tiles { display: grid; gap: .7rem; margin: .5rem 0; }
.quote-tiles-2 { grid-template-columns: 1fr 1fr; }
.contact-form label.quote-tile { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin: 0; padding: 1rem 1.25rem .85rem;
    border: 1px solid #c9c5be; border-radius: var(--radius); background: #fff; font-size: 1.05rem; line-height: 1.3; cursor: pointer; transition: border-color .15s, background-color .15s; }
.quote-tile small { display: block; font-weight: 400; font-size: .85rem; color: var(--color-muted); }
.quote-tile svg { width: 2rem; height: 2rem; stroke: var(--blue); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.quote-tile::after { content: "›"; font-size: 1.6rem; line-height: 1; color: #b9b4ac; }
.contact-form .quote-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.contact-form label.quote-tile:hover { border-color: var(--blue); }
.contact-form label.quote-tile:has(:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-mist); }
.quote-tile:has(:checked)::after { content: "✓"; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; padding-top: .15em; border-radius: 50%; background: var(--blue); color: #fff; font-size: .75rem; }
.quote-tile:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.quote-drop { position: relative; display: grid; justify-items: center; gap: .2rem; padding: 1.4rem 1rem; border: 1px dashed #b9b4ac; border-radius: var(--radius); background: var(--color-stone); text-align: center; }
.quote-drop:hover, .quote-drop.is-over, .quote-drop:has(:focus-visible) { border-color: var(--blue); background: var(--blue-mist); }
.quote-drop:has(:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-form .quote-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.quote-drop-text { margin: 0; color: var(--color-muted); }
.quote-drop-text strong { color: var(--blue); }
.quote-files { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .4rem; }
.quote-files li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .45rem .5rem .35rem .8rem; border: 1px solid var(--color-rule); border-radius: var(--radius); font-size: .9rem; }
.quote-files span { overflow-wrap: anywhere; }
.quote-files small { color: var(--color-muted); white-space: nowrap; }
.quote-files button { margin-left: .5rem; padding: .1rem .45rem; border: 0; background: none; font: inherit; font-size: 1.1rem; line-height: 1; color: var(--color-muted); cursor: pointer; }
.quote-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .9rem; }
.quote-row > div, .quote-field { display: grid; gap: .35rem; min-width: 0; }
.quote-note { display: flex; gap: .6rem; align-items: start; margin: 1rem 0 0; padding: .8rem 1rem .65rem; background: var(--color-stone); border-radius: var(--radius); font-size: .9rem; color: var(--color-muted); }
.quote-note svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; stroke: var(--sage); fill: none; stroke-width: 1.6; }
.quote-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--color-rule); }
.quote-nav-right { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.contact-form .quote-nav .button { margin-top: 0; }
.quote-back, .quote-skip { padding: .5rem 0; border: 0; background: none; font: inherit; cursor: pointer; }
.quote-back { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.quote-back:hover { color: var(--color-heading); }
.quote-skip { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }
.quote-help { margin: 0; text-align: center; }
.quote-help a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.quote-layout .contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .25rem 2rem; padding: 1.75rem 2rem; }
.quote-layout .contact-details h2 { grid-column: 1 / -1; margin-bottom: .5rem; font-size: 1.25rem; }
.quote-layout .contact-details p, .quote-layout .contact-details ul { margin: 0 0 .5rem; }
@media (max-width: 48rem) {
    .quote-card.contact-form { padding: 1.75rem 1.25rem 1.5rem; }
    .contact-form .quote-q { font-size: 1.25rem; }
    .quote-tiles-2 { grid-template-columns: 1fr; }
    .contact-form label.quote-tile { padding: .85rem 1rem .7rem; gap: .9rem; font-size: 1rem; }
    .quote-row { grid-template-columns: 1fr 1fr; }
    .quote-row > div:first-child { grid-column: 1 / -1; }
    .quote-nav { gap: .75rem; }
    .quote-nav-right { gap: .9rem; }
    .quote-nav .button { padding-inline: 1.4rem; }
}
.field-error { color: #b00020; font-size: .9rem; }
.notice { background: var(--blue-mist); padding: 1rem 1.5rem; border-left: 2px solid var(--blue); border-radius: var(--radius); }

/* Facebook / Yelp icons, on white chips so they read on any background */
.social-icons { list-style: none; display: flex; justify-content: center; gap: .75rem; margin: 0; padding: 0; }
.social-icons a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; border: 1px solid var(--color-rule); transition: border-color .15s; }
.social-icons a:hover { border-color: var(--blue); }
.social-icons img { width: 1.3rem; height: 1.3rem; }

/* Footer: charcoal, with the name in the logo's tracked capitals */
.site-footer { background: var(--ink); color: var(--on-ink); border-top: 3px solid var(--blue); }
.footer-inner { display: grid; grid-template-columns: 2fr 1.5fr auto; gap: 2.5rem; padding-block: 3.5rem 2.25rem; }
.footer-name { margin: 0 0 .6rem; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 500; text-transform: uppercase; letter-spacing: .24em; color: #fff; }
.site-footer p { margin: 0 0 .4rem; color: var(--on-ink-muted); }
.site-footer a { color: var(--on-ink); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-careers { margin-top: .9rem; }
.footer-careers a { font-weight: 600; }
.site-footer .social-icons a { background: transparent; border-color: rgb(255 255 255 / .25); }
.site-footer .social-icons a:hover { border-color: #fff; }
.site-footer .social-icons img { filter: brightness(0) invert(1); }
.copyright { padding-block: 1.25rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .8rem; letter-spacing: .06em; }
@media (max-width: 48rem) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-inner .social-icons { justify-content: center; }
    .copyright { text-align: center; }
}

/* Floating "Free Estimate" button, bottom right on public pages. site.js adds .is-tucked while the footer or the
   estimate band is on screen, so it never covers the footer's Messenger button. */
.floating-cta { position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 20;
    display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem .75rem; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px;
    background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgb(34 38 44 / .28); text-decoration: none;
    font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    transition: background-color .15s, transform .25s ease, opacity .25s ease, visibility .25s; }
.floating-cta svg { flex: none; margin-top: -.15em; }
.floating-cta:hover { background: var(--ink); color: #fff; }
.floating-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Also tucked away while the phone menu is open, where it would cover the menu's own Free Estimate button */
.floating-cta.is-tucked, body:has(.site-nav.open) .floating-cta { opacity: 0; visibility: hidden; transform: translateY(1rem); pointer-events: none; }
@media (max-width: 48rem) {
    .floating-cta { right: max(.9rem, env(safe-area-inset-right)); bottom: max(.9rem, env(safe-area-inset-bottom)); padding: .75rem 1.1rem .65rem; font-size: .72rem; letter-spacing: .14em; }
}
@media print { .floating-cta { display: none; } }

/* Google reviews (home page) */
.google-reviews { background: #fff; }
.review-summary { font-size: 1.15rem; margin: 0 0 1.75rem; }
.google-reviews .stars { color: var(--brass); letter-spacing: .12em; margin: 0; }
.review-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); list-style: none; padding: 0; margin: 0; }
.review { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-author img { border-radius: 50%; }
.review-author a, .review-author span:first-child { font-weight: 600; }
.review-time { display: block; font-size: .85rem; color: var(--color-muted); }
.review-text { margin: 0; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review-link, .review-attribution { font-size: .9rem; }
.review-attribution { margin: 1.25rem 0 0; color: var(--color-muted); }

@keyframes rise-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .home-hero-panel, .quote-form.is-wizard .quote-step { animation: none; }
}

/* Blog: posts use the Recent Jobs story layout, plus headings, lists and links in the text. */
.blog-body h2 { margin: 2.5rem 0 .75rem; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.blog-body h3 { margin: 2rem 0 .5rem; font-size: 1.15rem; }
.blog-body li { font-size: 1.05rem; line-height: 1.7; margin-bottom: .35rem; }
.blog-body ul, .blog-body ol { padding-left: 1.4rem; }
.blog-job, .blog-related { margin-top: 3rem; }
.blog-job h2, .blog-related h2 { font-size: 1.15rem; }
.blog-related .job-tags { margin-top: 1rem; }
.blog-related .job-tags a { text-decoration: none; }
.blog-related .job-tags a:hover { text-decoration: underline; text-underline-offset: .3em; }
