/* Lorentz Painting Co. (2026-12-04): one light design in the device's own fonts. Colors: charcoal text, one blue accent, the logo's rainbow as a thin line.
   Contrast: body text #1b2430 on white 15.6:1; links and buttons #1c56b0 on white 6.6:1, white on #1c56b0 6.6:1; muted text #4f5b69 7.0:1. */
:root {
    --ink: #1b2430;
    --muted: #4f5b69;
    --line: #dfe3e8;
    --soft: #f6f5f2;
    --accent: #1c56b0;
    --accent-dark: #143f84;
    --head: #1d2a3a;
    --rainbow: linear-gradient(90deg, #e4007c 0%, #f39200 22%, #ffd500 40%, #3aaa35 60%, #009fe3 80%, #5b2c86 100%);
    --radius: 10px;
    --shadow: 0 1px 2px rgba(20, 30, 45, .06), 0 6px 18px rgba(20, 30, 45, .07);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: #fff; color: var(--ink);
    font: 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
/* links in the page content (Caleb, 2026-12-04): on hover and keyboard focus a darker blue (10.1:1 on white, 9.3:1 on the light sections; the
   normal blue is 7.0:1 / 6.4:1) and a thicker underline, 0.2 s, instant with reduced motion. Menu, footer and buttons keep their own styles. */
main a:not(.btn) { text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-thickness .2s ease; }
main a:not(.btn):hover, main a:not(.btn):focus-visible { color: var(--accent-dark); text-decoration-thickness: 2px; }
/* standalone "more" links (Read all testimonials, See the main gallery, Watch with the steps): an arrow that nudges right on hover and focus */
.more-link::after { content: "\2192"; display: inline-block; margin-left: .3em; text-decoration: none; transition: transform .2s ease; }
.more-link:hover::after, .more-link:focus-visible::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    main a:not(.btn), .more-link::after { transition: none; }
    .more-link:hover::after, .more-link:focus-visible::after { transform: none; }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; color: var(--head); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 1.6em 0 .55em; }
h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* top bar and header */
.topbar { background: var(--head); color: #e8edf3; font-size: .9rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; padding-top: 18px; padding-bottom: 10px; }
.logo-link { display: block; width: 100%; max-width: 940px; }
.logo-link img { width: 100%; height: auto; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: 100%; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 6px; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--accent); }
/* the desktop menu's line (ported from the dealer template, build 20261117-0123, Caleb 2026-12-04): a 3 px line under each link that grows in from
   the left on hover (transform only: nothing moves, it takes no space while hidden), shown in full without the animation on the current page's link
   and on keyboard focus, instant with reduced motion. Not on the Contact button, not in the phone menu. Colors (Caleb, 2026-12-04): the logo's
   rainbow for the hover line that grows in; the accent blue (7.0:1 on white) on the current page's link and on keyboard focus, also when hovered. */
@media (min-width: 761px) {
    .main-nav .nav-link:not(.nav-cta) { position: relative; }
    .main-nav .nav-link:not(.nav-cta)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--rainbow);
        transform: scaleX(0); transform-origin: left center; transition: transform .2s ease; pointer-events: none; }
    .main-nav .nav-link:not(.nav-cta)[aria-current="page"]::after, .main-nav .nav-link:not(.nav-cta):focus-visible::after { transform: scaleX(1); transition: none; background: var(--accent); }
}
@media (min-width: 761px) and (hover: hover) {
    .main-nav .nav-link:not(.nav-cta):hover::after { transform: scaleX(1); }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
    .main-nav .nav-link:not(.nav-cta)::after { transition: none; }
}
.nav-cta { background: var(--accent); color: #fff; }
.nav-cta:hover, .nav-cta.active { background: var(--accent-dark); color: #fff; box-shadow: none; border-radius: 6px; }
.nav-toggle { display: none; }
.phone-tagline { display: none; }
/* phones (below the desktop menu): the wordmark on the left and the menu button on the right in one row, the menu as a full-width panel under
   them (the What Is A Cryptocurrency? pattern); the logo's tagline sits under the wordmark, left-aligned, as one logo block (Caleb, 2026-12-04),
   at the original's proportion (tagline 532 px to wordmark 375 px) */
@media (max-width: 760px) {
    .header-inner { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 12px; padding-top: 10px; padding-bottom: 10px; }
    .logo-link { width: auto; max-width: none; flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
    .logo-link img { width: 164px; height: auto; }
    .logo-link .phone-tagline { display: block; }
    .logo-link .phone-tagline img { width: 233px; max-width: calc(100vw - 100px); }
    /* the logo's rainbow line (cropped from the original's bottom rows) under the tagline, across the logo block, as on the computer header */
    .logo-link .phone-line img { width: 233px; max-width: calc(100vw - 100px); height: 2px; }
    .nav-toggle { display: block; min-width: 44px; min-height: 44px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
    .nav-toggle .bar { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }
    .main-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding: 8px 0 4px; }
    .main-nav.open { display: flex; }
    .nav-link { padding: 12px 8px; border-top: 1px solid var(--line); border-radius: 0; }
    .nav-link.active { box-shadow: inset 4px 0 0 var(--accent); }
    .nav-cta { text-align: center; margin: 10px 0 4px; border-radius: 8px; border-top: 0; }
    .topbar-row span { display: none; }
    .topbar-row { justify-content: center; }
}

/* buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; border: 2px solid var(--accent); color: var(--accent); background: #fff;
    font-weight: 700; text-decoration: none; line-height: 1.2; cursor: pointer; font-size: 1rem; }
.btn:hover { background: #eef3fb; color: var(--accent-dark); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* pages */
.page { padding: 36px 0 56px; }
.page-header { margin-bottom: 1.2em; }
.page-header h1::after { content: ""; display: block; width: 120px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--rainbow); }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--muted); margin: 0 0 .4em; }
.post-meta { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--ink); }
.post-featured-image { margin: 0 0 1.5em; }
.post-featured-image img { border-radius: var(--radius); width: 100%; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 2.2em 0 0; }
.post-navigation a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; height: 100%; }
.post-navigation span { display: block; font-size: .85rem; color: var(--muted); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .post-navigation { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; text-align: left; } }
.cta-box { margin: 2.5em 0 0; padding: 24px; border-radius: var(--radius); background: var(--soft); border-top: 4px solid transparent;
    border-image: var(--rainbow) 1; border-image-slice: 1; }
.cta-box h2 { margin-top: 0; font-size: 1.35rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* home */
.hero { background: var(--soft); padding: 44px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 22px; } .hero { padding: 28px 0; } }
.section { padding: 48px 0; }
.section-alt { background: var(--soft); }
.section h2:first-child { margin-top: 0; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.photo-strip img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 22px 24px; background: #fff; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.quote p { font-size: 1.1rem; margin-bottom: .5em; }
.quote cite { font-style: normal; color: var(--muted); font-weight: 600; }
.quotes { display: grid; gap: 18px; }
.quote + p { margin-top: 22px; }

/* videos: the click-to-play lightbox ported from Root Level Healing (its styles.css .video-lightbox / .video-trigger-container rules, with its later
   phone fixes folded in: the centering, the title text, the phone held sideways, the close button above the video). assets/video.js runs it. */
.yt-video { margin: 0 0 1.4em; }
.yt-video figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.video-lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px); animation: lpFadeIn 0.3s ease-in-out; justify-content: center; align-items: center; }
.video-lightbox.active { display: flex; align-items: center; justify-content: center; }
.video-lightbox-content { position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 90%; max-width: 900px;
    aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: visible; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5); animation: lpSlideIn 0.4s ease-out; }
.video-lightbox iframe { width: 100%; height: 100%; border: none; border-radius: 12px; }
.video-close-btn { position: absolute; top: -50px; right: 0; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.3); color: white; font-size: 24px;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; backdrop-filter: blur(10px); }
.video-close-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); transform: scale(1.1); }
.video-trigger-container { position: relative; cursor: pointer; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 600px; margin: 0 auto; }
.video-trigger-container:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2); }
.video-trigger-container:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.video-thumbnail { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: all 0.3s ease; }
.video-trigger-container:hover .video-thumbnail { transform: scale(1.02); }
.video-play-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.3); transition: all 0.3s ease; }
.video-trigger-container:hover .video-play-overlay { background: rgba(0, 0, 0, 0.4); }
.video-play-button { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }
.video-trigger-container:hover .video-play-button { transform: scale(1.1); background: rgba(255, 255, 255, 1); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); }
.video-play-icon { width: 0; height: 0; border-left: 25px solid #333; border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 5px; }
.video-info-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: white; padding: 30px 20px 20px; text-align: center; }
.video-title { font-size: 18px; font-weight: 600; margin-bottom: 5px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); line-height: 1.3; }
.video-duration { font-size: 14px; opacity: 0.9; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
/* this site's thumbnails carry their own title in the picture ("How-To Paint Interior Windows"), so nothing is drawn over it but RLH's round white
   play button, in the bottom-left corner (clear on all three thumbnails); the title and "Watch Now" are the caption below (Caleb, 2026-12-04).
   The lightbox itself is RLH's. */
.yt-video .video-play-overlay { align-items: flex-end; justify-content: flex-start; padding: 0 0 14px 14px; background: none; }
.yt-video .video-trigger-container:hover .video-play-overlay { background: rgba(0, 0, 0, 0.12); }
/* 46 px on computers, 44 px on phones (the tap target): clear of the picture's own "Interior Windows" text (Caleb, 2026-12-04) */
.yt-video .video-play-button { width: 46px; height: 46px; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 6px 18px rgba(0, 0, 0, 0.5); }
.yt-video .video-play-icon { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
@media (max-width: 760px) {
    .yt-video .video-play-button { width: 44px; height: 44px; }
    .yt-video .video-play-icon { border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
}
/* the hover look is RLH's own (.video-trigger-container:hover .video-play-button above: 10 % larger, fully white, a deeper shadow, the picture a
   touch darker); keyboard focus gets the same look; with reduced motion only the color and shadow change, nothing grows */
.yt-video .video-trigger-container:focus-visible .video-play-button { transform: scale(1.1); background: rgba(255, 255, 255, 1); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 12px 35px rgba(0, 0, 0, 0.4); }
.yt-video .video-trigger-container:hover .video-play-button { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.55), 0 12px 35px rgba(0, 0, 0, 0.4); }
.yt-video .video-trigger-container:focus-visible .video-play-overlay { background: rgba(0, 0, 0, 0.12); }
@media (prefers-reduced-motion: reduce) {
    .video-trigger-container, .video-trigger-container .video-thumbnail, .video-play-button { transition: none; }
    .video-trigger-container:hover, .video-trigger-container:hover .video-thumbnail, .yt-video .video-trigger-container:hover .video-play-button,
    .yt-video .video-trigger-container:focus-visible .video-play-button { transform: none; }
}
.yt-video figcaption { margin-top: 10px; }
.video-caption-title { display: block; font-weight: 600; color: var(--head); line-height: 1.35; }
.video-caption-meta { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }
@keyframes lpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lpSlideIn { from { opacity: 0; transform: scale(0.8) translateY(50px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (max-width: 768px) {
    .video-lightbox-content { width: 95% !important; margin: 0 !important; position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }
    .video-close-btn { top: -45px; width: 35px; height: 35px; font-size: 20px; }
    .video-play-button { width: 60px; height: 60px; }
    .video-play-icon { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
    .video-info-overlay { padding: 20px 10px 10px !important; background: linear-gradient(transparent, rgba(0, 0, 0, 0.95)) !important; }
    .video-title { font-size: 14px !important; line-height: 1.3 !important; margin-bottom: 4px !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important; overflow: hidden !important; }
    .video-duration { font-size: 12px !important; }
}
/* a phone held sideways: the height decides, so the whole 16:9 video fits the visible area, with the close button beside it (RLH, 2026-11-02) */
@media (orientation: landscape) and (max-height: 500px) {
    .video-lightbox-content { width: min(calc(100vw - 112px), calc((100vh - 16px) * 16 / 9)) !important; width: min(calc(100vw - 112px), calc((100svh - 16px) * 16 / 9)) !important;
        max-width: none !important; margin: 0 !important; top: 50vh !important; top: 50svh !important; left: 50vw !important; overflow: visible; }
    .video-lightbox iframe { height: 100% !important; }
    .video-close-btn { top: 0; right: -48px; }
}
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } }

/* galleries */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-intro a { text-decoration: none; color: var(--ink); }
.gallery-intro img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery-intro .card { padding: 0; overflow: hidden; }
.gallery-intro .card div { padding: 16px 18px; }
.gallery-intro h2 { margin: 0 0 .3em; font-size: 1.3rem; color: var(--accent); }
@media (max-width: 700px) { .gallery-intro { grid-template-columns: 1fr; } }
.pairs { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair figure { margin: 0; position: relative; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.pair .tag { position: absolute; left: 10px; top: 10px; background: rgba(27, 36, 48, .85); color: #fff; font-size: .8rem; font-weight: 700;
    padding: 3px 9px; border-radius: 4px; letter-spacing: .04em; text-transform: uppercase; }
.pair .tag-after { background: var(--accent); }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }

/* lightbox (site.js) */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10, 14, 20, .92); display: none; align-items: center; justify-content: center; padding: 56px 12px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; border-radius: 6px; }
.lightbox p { position: absolute; left: 16px; right: 16px; bottom: 14px; margin: 0; color: #fff; text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .14); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; margin-top: -24px; }
.lb-next { right: 10px; top: 50%; margin-top: -24px; }

/* blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-content { padding: 16px 18px 20px; }
.blog-card-date { font-size: .88rem; color: var(--muted); }
.blog-card-title { font-size: 1.2rem; margin: .3em 0 .5em; }
.blog-card-title a { text-decoration: none; color: var(--head); }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card:hover .blog-card-title a { color: var(--accent); }
.blog-card .btn { padding: 8px 14px; font-size: .92rem; }
.card-art { aspect-ratio: 16 / 9; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted); }

/* estimate form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 5px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #a9b2bd; border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid rgba(28, 86, 176, .25); }
/* errors (Caleb, 2026-12-05: hard to miss): the field gets a red 2 px border and a pale red fill, the message sits right under it in bold with a "!" mark,
   and a list above the form names each problem (a link to its field); the page moves to the first one */
.estimate { scroll-margin-top: 16px; }
.field .err { display: flex; gap: 8px; align-items: flex-start; color: #b42318; font-size: .95rem; font-weight: 600; margin: 6px 0 0; }
.field .err::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #b42318; color: #fff; font-size: .8rem; font-weight: 700;
  line-height: 20px; text-align: center; margin-top: 1px; }
.field.has-err label { color: #b42318; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border: 2px solid #b42318; padding: 10px 11px; background: #fff8f7; }
.field.has-err input:focus, .field.has-err textarea:focus, .field.has-err select:focus { border-color: #b42318; outline: 3px solid rgba(180, 35, 24, .25); }
.field input, .field select, .field textarea { scroll-margin-top: 90px; }
.notice-err ul { margin: .4em 0 0; padding-left: 1.2em; }
.notice-err li { margin: .2em 0; }
.notice-err a { color: #8f1c13; font-weight: 600; }
.notice-err:focus { outline: 3px solid rgba(180, 35, 24, .35); outline-offset: 2px; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .95rem; }
.notice { padding: 16px 18px; border-radius: var(--radius); margin: 0 0 1.4em; }
.notice-ok { background: #ecf7ee; border: 1px solid #a6d8ad; }
.notice-err { background: #fdeceb; border: 1px solid #f0b4ae; border-left: 6px solid #b42318; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { background: var(--soft); padding: 22px; border-radius: var(--radius); }
.contact-side h2 { margin-top: 0; font-size: 1.25rem; }
.big-call { font-size: 1.4rem; font-weight: 700; text-decoration: none; }

/* FAQ (when a page has one) */
.faq-item { border-top: 1px solid var(--line); padding: 12px 0; }
.faq-badge { display: none; }

/* footer */
.site-footer { background: var(--head); color: #dfe6ee; margin-top: 0; padding: 36px 0 18px; font-size: .97rem; border-top: 5px solid transparent; border-image: var(--rainbow) 1; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
/* the focus outline in the footer is white: the site's blue outline would be about 1.9:1 on the dark footer */
.site-footer a:focus-visible { outline-color: #fff; }
/* "Request an estimate" as a small outline button (Caleb, 2026-12-04): white border and text, at least 44 px tall; on hover and keyboard focus it
   fills white with the footer's dark text (14.6:1 both ways), 0.2 s, instant with reduced motion */
.footer-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid #fff; border-radius: 8px; color: #fff;
    font-weight: 700; text-decoration: none; line-height: 1.2; transition: background-color .2s ease, color .2s ease; }
.site-footer a.footer-btn:hover, .site-footer a.footer-btn:focus-visible { background: #fff; color: var(--head); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .footer-btn { transition: none; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-name { font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: .3em; }
.footer-call a { font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.footer-call a:hover, .footer-call a:focus-visible { text-decoration: underline; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 22px; padding-top: 14px; font-size: .88rem; color: #b9c4d0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
@media print { .topbar, .nav-toggle, .main-nav, .site-footer, .cta-box { display: none; } }
