/*
 * GC Framing v2026 - Main Stylesheet
 *
 * File: _css/main.css
 *
 * Mobile first. Breakpoints:
 *   40em  (640px)  small tablet
 *   64em  (1024px) tablet
 *   69em  (1104px) desktop menu appears (matches _js/main.js)
 *   79em  (1264px) header phone button appears
 *
 * Design tokens come from theme.json (WordPress prints them as CSS variables):
 * Colors:  --wp--preset--color--{brown|espresso|gold|olive|teal|aqua|mist|cream|
 *          peach|linen|oat|wheat|parchment|ink|stone|white}
 * Fonts:   --wp--preset--font-family--{heading|body|mono}
 * Sizes:   --wp--preset--font-size--{tiny|small|base|medium|large|x-large|xx-large}
 * Spacing: --wp--preset--spacing--{10|20|30|40|50|60|70}
 * Radius:  --wp--custom--radius--{small|medium|large|card|pill}
 *
 * Contents:
 *  1. Local shortcuts
 *  2. Base and accessibility
 *  3. Layout, sections and reveal animation
 *  4. Buttons (theme classes and block styles)
 *  5. Top bar and sticky header
 *  6. Dropdown panels and mobile menu
 *  7. Hero, stat strip and marquee
 *  8. Services by license
 *  9. Why call us, process and emergency band
 * 10. Reviews, about and service areas
 * 11. FAQ
 * 12. Estimate section, form and social links
 * 13. Inner pages, content and post cards
 * 14. Footer, action bar and text widget
 * 15. Reduced motion
 */

/* ==========================================================================
   1. Local shortcuts (short names for the theme.json tokens, with fallbacks)
   ========================================================================== */
:root {
    --color_brown: var(--wp--preset--color--brown, #574109);
    --color_espresso: var(--wp--preset--color--espresso, #3c2d06);
    --color_gold: var(--wp--preset--color--gold, #d4c369);
    --color_olive: var(--wp--preset--color--olive, #737144);
    --color_teal: var(--wp--preset--color--teal, #156073);
    --color_aqua: var(--wp--preset--color--aqua, #4aa8c0);
    --color_mist: var(--wp--preset--color--mist, #e7f1f4);
    --color_cream: var(--wp--preset--color--cream, #fffcf7);
    --color_peach: var(--wp--preset--color--peach, #ffe3c8);
    --color_linen: var(--wp--preset--color--linen, #fff4e6);
    --color_oat: var(--wp--preset--color--oat, #f4efe3);
    --color_wheat: var(--wp--preset--color--wheat, #f6f0d9);
    --color_parchment: var(--wp--preset--color--parchment, #f7f0e5);
    --color_ink: var(--wp--preset--color--ink, #4a4136);
    --color_stone: var(--wp--preset--color--stone, #6b6153);
    --color_white: var(--wp--preset--color--white, #ffffff);

    /* Tints used by the design that are not palette entries */
    --color_sand: #8a7534;
    --color_mustard: #a38f2e;
    --color_sky: #9ad4e4;
    --color_line: rgba(87, 65, 9, 0.13);
    --color_line_soft: rgba(87, 65, 9, 0.09);

    --font_heading: var(--wp--preset--font-family--heading, Georgia, serif);
    --font_body: var(--wp--preset--font-family--body, Arial, sans-serif);
    --font_slab: var(--wp--preset--font-family--slab, Rockwell, "Rockwell Nova", Georgia, serif);
    --font_mono: var(--wp--preset--font-family--mono, monospace);

    --radius_small: var(--wp--custom--radius--small, 10px);
    --radius_medium: var(--wp--custom--radius--medium, 14px);
    --radius_large: var(--wp--custom--radius--large, 18px);
    --radius_card: var(--wp--custom--radius--card, 22px);
    --radius_pill: var(--wp--custom--radius--pill, 999px);

    --shadow_soft: var(--wp--preset--shadow--soft, 0 8px 22px rgba(87, 65, 9, 0.08));
    --shadow_card: var(--wp--preset--shadow--card, 0 16px 34px rgba(87, 65, 9, 0.11));
    --shadow_strong: var(--wp--preset--shadow--strong, 0 20px 46px rgba(87, 65, 9, 0.13));

    --space_section: clamp(2.125rem, 3.6vw, 2.625rem);
    --gutter: 24px;
    --container_width: 1280px;

    /* Anchor targets stop below the sticky header (and the admin bar when logged in) */
    --header_offset: calc(var(--wp-admin--admin-bar--height, 0px) + 6rem);
}

/* ==========================================================================
   2. Base and accessibility
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

address {
    font-style: normal;
}

[id] {
    scroll-margin-top: var(--header_offset);
}

:focus-visible {
    outline: 3px solid var(--color_teal);
    outline-offset: 2px;
}

/* Screen reader only text (WordPress class name) */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip_link:focus {
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0.75rem 1rem;
    clip-path: none;
    background: var(--color_white);
    color: var(--color_brown);
    border-radius: var(--radius_small);
    box-shadow: var(--shadow_strong);
}

/* ==========================================================================
   3. Layout, sections and reveal animation
   ========================================================================== */
.site_container {
    width: 100%;
    max-width: calc(var(--container_width) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--space_section);
}

/* White band with hairline rules, used by process and reviews */
.section_white {
    background: var(--color_white);
    border-top: 1px solid var(--color_line_soft);
    border-bottom: 1px solid var(--color_line_soft);
}

.section_header {
    margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section_header_main {
    max-width: 660px;
}

.section_header_center {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}

.section_header_start {
    max-width: 620px;
}

.section_title {
    margin: 0;
    font-size: var(--wp--preset--font-size--x-large);
}

.section_lead {
    max-width: 390px;
    margin: 0;
    font-family: var(--font_slab);
    font-size: 17px;
    line-height: 1.65;
    color: var(--color_stone);
}

.section_header_center .section_lead {
    max-width: none;
}

/* Small uppercase label above titles */
.eyebrow {
    margin: 0 0 1rem;
    font-family: var(--font_heading);
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color_olive);
}

/* Reveal on scroll (classes added by _js/main.js) */
[data-reveal].is_hidden {
    opacity: 0;
    transform: translateY(24px);
}

[data-reveal] {
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is_revealed {
    opacity: 1;
    transform: none;
}

@media (min-width: 64em) {
    .section_header_split {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
    }
}

/* ==========================================================================
   4. Buttons (theme classes and block styles)
   ========================================================================== */
.btn,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 1.5px solid transparent;
    border-radius: var(--radius_pill);
    font-family: var(--font_heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 200ms ease;
}

.btn:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
}

.btn img {
    width: 15px;
    height: auto;
}

.btn_small,
.wp-block-buttons .btn_small {
    padding: 11px 20px;
    font-size: 14.5px;
}

/* Brown: the main action */
.btn_primary {
    background: var(--color_brown);
    color: var(--color_white);
    box-shadow: 0 4px 14px rgba(87, 65, 9, 0.2);
}

.btn_primary:hover {
    background: var(--color_teal);
    color: var(--color_white);
    box-shadow: 0 10px 22px rgba(21, 96, 115, 0.26);
}

/* Gold: main action on dark backgrounds */
.btn_accent,
.wp-block-button.is-style-accent .wp-block-button__link {
    background: var(--color_gold);
    color: var(--color_espresso);
}

.btn_accent:hover,
.wp-block-button.is-style-accent .wp-block-button__link:hover {
    background: var(--color_white);
    color: var(--color_espresso);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

/* Ghost: over the hero photo */
.wp-block-button.is-style-ghost .wp-block-button__link {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(247, 240, 229, 0.42);
    color: var(--color_white);
    backdrop-filter: blur(6px);
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--color_parchment);
    color: var(--color_white);
}

/* White: on the teal emergency band */
.wp-block-button.is-style-white .wp-block-button__link {
    background: var(--color_white);
    color: var(--color_teal);
}

.wp-block-button.is-style-white .wp-block-button__link:hover {
    background: var(--color_gold);
    color: var(--color_espresso);
}

/* Outline for light backgrounds */
.btn_outline {
    border-color: rgba(87, 65, 9, 0.22);
    background: transparent;
    color: var(--color_brown);
}

.btn_outline:hover {
    border-color: var(--color_brown);
    background: rgba(87, 65, 9, 0.05);
    color: var(--color_brown);
}

/* Teal: mobile call button */
.btn_teal {
    background: var(--color_teal);
    color: var(--color_white);
}

.btn_teal:hover {
    background: var(--color_espresso);
    color: var(--color_white);
}

.btn_teal img {
    filter: brightness(0) invert(1);
}

.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin: 0 0 1.5rem;
}

/* ==========================================================================
   5. Top bar and sticky header
   ========================================================================== */
.top_bar {
    background: var(--color_brown);
    color: #f0e4d0;
    font-size: 12.5px;
    letter-spacing: 0.03em;
}

.top_bar_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 14px;
    padding-block: 9px;
}

.top_bar p {
    margin: 0;
}

.top_bar_language {
    color: var(--color_gold);
}

.top_bar_note {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Click to call in the top bar, so the number is visible at every width */
.top_bar_note a {
    font-weight: 700;
    color: var(--color_gold);
    text-decoration: none;
}

.top_bar_note a:hover {
    color: var(--color_white);
    text-decoration: underline;
}

.pulse_dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color_gold);
    animation: pulse_dot 2.4s ease-in-out infinite;
}

@keyframes pulse_dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }
}

.site_header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 80;
    background: rgba(255, 252, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(87, 65, 9, 0.1);
}

@media (max-width: 600px) {
    .admin-bar .site_header {
        top: 0;
    }
}

.site_header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 12px;
}

/* The logo and the buttons keep their size; only the menu gives way */
.site_branding {
    flex-shrink: 0;
}

.site_branding .custom-logo-link {
    display: block;
}

.site_branding .custom-logo {
    display: block;
    width: 148px;
    height: auto;
}

.header_actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}

/* Header buttons stay on one line and sit smaller than page buttons */
.header_cta,
.header_call {
    white-space: nowrap;
}

.header_cta {
    padding: 12px 20px;
    font-size: 15px;
}

/* Which actions show at which width */
.header_cta {
    display: none;
}

.nav_primary {
    display: none;
    min-width: 0;
}

/* Desktop menu only once there is room for a long menu (1280px) */
@media (min-width: 80em) {
    .site_branding .custom-logo {
        width: 172px;
    }

    .nav_primary {
        display: block;
    }

    .header_cta {
        display: inline-flex;
    }

    .header_call,
    .nav_toggle {
        display: none;
    }
}

/* Very wide screens: a little more presence for the logo */
@media (min-width: 100em) {
    .site_branding .custom-logo {
        width: 190px;
    }
}

/* ==========================================================================
   6. Dropdown panels and mobile menu
   ========================================================================== */

/* The menu keeps one text size at every width. If a site adds more items than
   fit, they wrap to a second line instead of running under the buttons. */
.nav_menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font_heading);
    font-size: 14px;
}

.nav_item {
    position: static;
}

.nav_link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--color_brown);
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}


.nav_link:hover,
.nav_item.is_open>.nav_link {
    background: rgba(87, 65, 9, 0.06);
    color: var(--color_teal);
}

/* Small caret on items with a dropdown */
.nav_caret {
    width: 0;
    height: 0;
    border-inline: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.6;
}

.mega_panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color_white);
    border-top: 1px solid rgba(87, 65, 9, 0.1);
    border-bottom: 1px solid rgba(87, 65, 9, 0.1);
    box-shadow: 0 22px 44px rgba(87, 65, 9, 0.13);
}

/* The panel opens at the bottom edge of the header, so there is a gap between the
   menu link and the panel. Hover is handled in _js/main.js (open on the item,
   close when the pointer leaves the whole header) instead of with :hover here,
   otherwise the panel closes while the pointer crosses that gap. */
.nav_item_has_panel:focus-within>.mega_panel,
.nav_item_has_panel.is_open>.mega_panel {
    display: block;
}

/* Without JavaScript, plain hover is still better than nothing */
.no_js .nav_item_has_panel:hover>.mega_panel {
    display: block;
}

.mega_inner {
    display: grid;
    gap: 40px;
    padding-block: 30px 34px;
}

@media (min-width: 64em) {
    .mega_inner {
        grid-template-columns: 1.6fr 1fr;
    }
}

.mega_title {
    margin: 0 0 18px;
    font-family: var(--font_heading);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color_olive);
}

.mega_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px 26px;
}

.mega_grid a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--font_heading);
    font-size: 15.5px;
    color: var(--color_brown);
    text-decoration: none;
    transition: background-color 170ms ease, color 170ms ease, padding-left 170ms ease;
}

.mega_grid a:hover {
    padding-left: 18px;
    background: var(--color_linen);
    color: var(--color_teal);
}

.mega_promo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: var(--color_linen);
    border-radius: var(--radius_medium);
}

.mega_pitch {
    margin: 0;
    font-family: var(--font_heading);
    font-size: 19px;
    line-height: 1.3;
    color: var(--color_brown);
}

.mega_promo_text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color_stone);
}

.mega_promo .btn {
    align-self: flex-start;
}

/* Menu button */
.nav_toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid rgba(87, 65, 9, 0.22);
    border-radius: var(--radius_small);
    background: transparent;
    cursor: pointer;
}

.nav_toggle_icon,
.nav_toggle_icon::before,
.nav_toggle_icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--color_brown);
    transition: transform 200ms ease, background-color 200ms ease;
}

.nav_toggle_icon {
    position: relative;
}

.nav_toggle_icon::before,
.nav_toggle_icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav_toggle_icon::before {
    top: -6px;
}

.nav_toggle_icon::after {
    top: 6px;
}

.nav_toggle[aria-expanded="true"] .nav_toggle_icon {
    background: transparent;
}

.nav_toggle[aria-expanded="true"] .nav_toggle_icon::before {
    transform: translateY(6px) rotate(45deg);
}

.nav_toggle[aria-expanded="true"] .nav_toggle_icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.nav_mobile {
    display: none;
    max-height: 70vh;
    padding-block: 14px 22px;
    overflow-y: auto;
    background: var(--color_white);
    border-top: 1px solid rgba(87, 65, 9, 0.1);
}

.js .nav_mobile.is_open {
    display: block;
}

.no_js .nav_mobile {
    display: block;
}

/* Desktop: no mobile menu, no menu button, no small call button.
   These rules come after the base ones on purpose, so they win. */
@media (min-width: 80em) {

    .nav_mobile,
    .no_js .nav_mobile,
    .nav_toggle,
    .header_call {
        display: none;
    }
}

.nav_mobile_menu,
.nav_mobile_sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav_mobile_menu>li>a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(87, 65, 9, 0.08);
    font-family: var(--font_heading);
    font-size: 17px;
    color: var(--color_brown);
    text-decoration: none;
}

.nav_mobile_sub {
    padding: 4px 0 10px 14px;
}

.nav_mobile_sub a {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: var(--color_stone);
    text-decoration: none;
}

.nav_mobile_menu a:hover,
.nav_mobile_sub a:hover {
    color: var(--color_teal);
}

.nav_mobile_cta {
    width: 100%;
    margin-top: 14px;
}

/* ==========================================================================
   7. Hero, stat strip and marquee
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: min(760px, 88vh);
    overflow: hidden;
    background: var(--color_espresso);
    color: var(--color_white);
}

.hero_media {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.hero_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 58%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(60, 45, 6, 0.72) 0%, rgba(60, 45, 6, 0.55) 45%, rgba(60, 45, 6, 0.78) 100%);
}

.hero_content {
    padding-top: 96px;
}

.hero_content>* {
    max-width: 720px;
}

.hero_eyebrow {
    color: #ffe9a8;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-shadow: 0 1px 2px rgba(26, 18, 2, 1), 0 2px 10px rgba(26, 18, 2, 0.95);
}

.hero_title {
    margin: 0 0 24px;
    font-size: var(--wp--preset--font-size--xx-large);
    line-height: 1.03;
    letter-spacing: -0.015em;
    color: var(--color_white);
    text-shadow: 0 1px 2px rgba(26, 18, 2, 1), 0 2px 9px rgba(26, 18, 2, 0.95), 0 8px 34px rgba(26, 18, 2, 0.8);
}

.hero_text {
    max-width: 540px;
    margin: 0 0 34px;
    font-size: 19px;
    line-height: 1.62;
    color: var(--color_white);
    text-shadow: 0 1px 2px rgba(26, 18, 2, 1), 0 2px 8px rgba(26, 18, 2, 0.98), 0 5px 22px rgba(26, 18, 2, 0.85);
}

.hero_buttons {
    margin-bottom: 44px;
}

/* Stat strip sits on the bottom edge of the hero */
.stat_strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 1px;
    max-width: none;
    overflow: hidden;
    background: rgba(247, 240, 229, 0.2);
    border: 1px solid rgba(247, 240, 229, 0.2);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
}

.stat_cell {
    padding: 22px 24px;
    background: var(--color_espresso);
}

.stat_label {
    margin: 0 0 4px;
    font-family: var(--font_heading);
    font-size: 22px;
    color: var(--color_gold);
}

.stat_text {
    margin: 0;
    font-size: 13.5px;
    color: rgba(247, 240, 229, 0.78);
}

@media (min-width: 80em) {
    .hero::before {
        background: linear-gradient(75deg, rgba(60, 45, 6, 0.86) 0%, rgba(60, 45, 6, 0.6) 34%, rgba(60, 45, 6, 0.2) 64%, rgba(60, 45, 6, 0.05) 100%);
    }
}

/* Scrolling city list */
.marquee {
    overflow: hidden;
    background: var(--color_gold);
    border-bottom: 1px solid rgba(87, 65, 9, 0.14);
}

.marquee_track {
    display: flex;
    width: max-content;
    padding-block: 11px;
    font-family: var(--font_heading);
    font-size: 14.5px;
    letter-spacing: 0.04em;
    color: #4a380a;
    animation: marquee 42s linear infinite;
}

.marquee_list {
    display: flex;
    gap: 34px;
    padding-right: 34px;
    white-space: nowrap;
}

.marquee_list span::after {
    content: " ·";
    margin-left: 34px;
    opacity: 0.6;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   8. Services by license
   ========================================================================== */
/* Tab rail: one tab per license, sitting on the open panel */
.service_rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.service_rail::-webkit-scrollbar {
    display: none;
}

.service_tab {
    display: flex;
    flex: 1 0 25%;
    min-width: 160px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    scroll-snap-align: start;
    margin: 0 0 0 -1px;
    padding: 14px 20px 15px;
    background: var(--color_oat);
    border: 1px solid var(--color_line);
    border-right: none;
    font-family: inherit;
    text-align: left;
    color: #6b5c42;
    cursor: pointer;
    transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease;
}

.service_tab:first-child {
    margin-left: 0;
    border-radius: 16px 0 0 0;
}

.service_tab:last-child {
    border-right: 1px solid var(--color_line);
    border-radius: 0 16px 0 0;
}

/* The open tab joins the panel below it */
.service_tab.is_active {
    position: relative;
    z-index: 2;
    border-right: 1px solid;
    color: var(--color_white);
}

.service_tab_number {
    font-family: var(--font_mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #a3917f;
}

.service_tab.is_active .service_tab_number {
    color: rgba(255, 255, 255, 0.7);
}

.service_tab_title,
.service_tab_short {
    font-family: var(--font_heading);
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
}

.service_tab_short {
    display: none;
}

/* Tab colours, one per license */
.service_tab_general.is_active {
    background: var(--color_brown);
    border-color: var(--color_brown);
}

.service_tab_carpentry.is_active {
    background: #5f5d38;
    border-color: #5f5d38;
}

.service_tab_painting.is_active {
    background: #7e6b1e;
    border-color: #7e6b1e;
}

.service_tab_plumbing.is_active {
    background: var(--color_teal);
    border-color: var(--color_teal);
}

.service_card {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    background: var(--color_white);
    border: 1px solid var(--color_line);
    border-top: none;
    border-radius: 0 0 var(--radius_card) var(--radius_card);
}

/* Without JavaScript every panel stays on the page, one after another */
.services_tabs[data-enhanced="true"] .service_card {
    display: none;
    animation: service_panel_in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services_tabs[data-enhanced="true"] .service_card.is_active {
    display: flex;
}

@keyframes service_panel_in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services_tabs[data-enhanced="true"] .service_card {
        animation: none;
    }
}

/* Narrow screens: the four tabs sit two by two above a rounded panel */
@media (max-width: 55em) {
    .service_rail {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 10px;
        overflow: visible;
    }

    .service_tab {
        min-width: 0;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 12px 10px;
        border: 1px solid var(--color_line);
        border-radius: 13px;
        text-align: center;
    }

    .service_tab:first-child,
    .service_tab:last-child {
        border-radius: 13px;
    }

    .service_tab_number,
    .service_tab_title {
        display: none;
    }

    .service_tab_short {
        display: block;
    }

    .service_card {
        border-top: 1px solid var(--color_line);
        border-radius: var(--radius_large);
    }
}

.service_card_intro {
    display: flex;
    flex: 0 1 25%;
    min-width: min(100%, 170px);
    flex-direction: column;
    padding: 32px 30px;
}

.service_card_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.service_license {
    margin: 0;
    font-family: var(--font_mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.service_badge {
    padding: 5px 12px;
    border-radius: var(--radius_pill);
    background: var(--color_teal);
    font-family: var(--font_heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color_white);
}

.service_card_title {
    margin: 0 0 13px;
    font-size: clamp(20px, 2.1vw, 27px);
    line-height: 1.18;
    overflow-wrap: break-word;
}

.service_card_text {
    margin: 0 0 24px;
    font-size: 15.5px;
    line-height: 1.62;
}

.service_card_link {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 3px;
    border-bottom: 2px solid currentColor;
    font-family: var(--font_heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.service_card_link::after {
    content: " \2192";
    transition: margin-left 200ms ease;
}

.service_card_link:hover::after {
    margin-left: 6px;
}

.service_card_columns {
    display: grid;
    flex: 3 1 460px;
    min-width: min(100%, 260px);
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 28px;
    align-content: start;
    padding: 34px 32px;
}

@media (max-width: 55em) {
    .service_card_intro {
        flex: 1 1 100%;
        min-width: 0;
        padding: 24px 20px;
    }

    .service_card_columns {
        flex: 1 1 100%;
        min-width: 0;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 20px 26px;
    }
}

.service_column_title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid currentColor;
    font-family: var(--font_heading);
    font-size: 11.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service_list li {
    padding: 7px 0;
    border-bottom: 1px solid var(--color_line_soft);
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--color_stone);
}

/* 01 General building: solid brown intro panel */
.service_card_general .service_card_intro {
    background: var(--color_brown);
    color: var(--color_parchment);
}

.service_card_general .service_license,
.service_card_general .service_card_link {
    color: var(--color_gold);
}

.service_card_general .service_card_title {
    color: var(--color_white);
}

.service_card_general .service_card_text {
    color: rgba(247, 240, 229, 0.82);
}

.service_card_general .service_column_title {
    color: var(--color_sand);
}

/* 02 Carpentry */
.service_card_carpentry {
    border-color: rgba(115, 113, 68, 0.3);
}

.service_card_carpentry .service_card_intro {
    background: var(--color_oat);
}

.service_card_carpentry .service_license,
.service_card_carpentry .service_column_title {
    color: var(--color_olive);
}

.service_card_carpentry .service_card_link {
    color: var(--color_brown);
}

/* 03 Painting */
.service_card_painting {
    border-color: rgba(212, 195, 105, 0.55);
}

.service_card_painting .service_card_intro {
    background: var(--color_wheat);
}

.service_card_painting .service_license,
.service_card_painting .service_column_title {
    color: var(--color_mustard);
}

.service_card_painting .service_card_link {
    color: var(--color_brown);
}

/* 04 Plumbing */
.service_card_plumbing {
    border-color: rgba(21, 96, 115, 0.32);
}

.service_card_plumbing .service_card_intro {
    background: var(--color_mist);
}

.service_card_plumbing .service_license,
.service_card_plumbing .service_column_title,
.service_card_plumbing .service_card_link {
    color: var(--color_teal);
}

.service_card_plumbing .service_card_text {
    color: #556a70;
}

/* "Plus, on every job" strip */
.extras_strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 22px;
    margin-top: var(--space_section);
    padding: 16px 22px;
    background: var(--color_peach);
    border-radius: var(--radius_large);
    color: #6b5c42;
}

.extras_title {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    margin: 0;
    font-family: var(--font_slab);
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--color_brown);
}

.extras_rule {
    width: 26px;
    height: 2px;
    background: #c9a961;
}

.extras_items {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 13px;
    margin-left: auto;
}

.extras_item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font_slab);
    font-size: 14px;
    white-space: nowrap;
}

.extras_check {
    flex: 0 0 auto;
    color: var(--color_sand);
}

.extras_divider {
    flex: 0 0 auto;
    width: 1px;
    height: 17px;
    background: rgba(87, 65, 9, 0.22);
}

/* Once the items wrap onto their own lines the dividers only add noise */
@media (max-width: 55em) {
    .extras_strip {
        gap: 14px;
        padding: 18px 20px;
    }

    .extras_items {
        justify-content: flex-start;
        margin-left: 0;
        gap: 8px 18px;
    }

    .extras_divider {
        display: none;
    }
}

/* ==========================================================================
   9. Why call us, process and emergency band
   ========================================================================== */
.why_card {
    display: grid;
    gap: 44px;
    align-items: center;
    padding: clamp(34px, 5vw, 64px);
    background: var(--color_peach);
    border-radius: 24px;
}

.why_content p {
    color: #6b5c42;
    font-size: 17px;
    line-height: 1.68;
}

.why_cards {
    display: grid;
    gap: 12px;
}

.promise_card {
    padding: 20px 22px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius_medium);
}

.promise_title {
    margin: 0 0 5px;
    font-family: var(--font_heading);
    font-size: 17px;
    color: var(--color_brown);
}

.promise_text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #6b5c42;
}

.process_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
}

.process_step {
    padding-top: 26px;
    border-top: 2px solid var(--color_gold);
}

.process_step_label {
    margin: 0 0 14px;
    font-family: var(--font_mono);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color_mustard);
}

.process_step_title {
    margin: 0 0 9px;
    font-size: 20px;
}

.process_step_text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--color_stone);
}

.emergency {
    padding-block: 52px;
    background: var(--color_teal);
    color: var(--color_white);
}

.emergency_inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.emergency_text {
    max-width: 640px;
}

.emergency .eyebrow {
    color: var(--color_sky);
}

.emergency_title {
    margin: 0 0 12px;
    font-size: var(--wp--preset--font-size--large);
    line-height: 1.18;
    color: var(--color_white);
}

.emergency p {
    margin: 0;
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.emergency .wp-block-buttons {
    margin: 0;
}

@media (min-width: 64em) {
    .why_card {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ==========================================================================
   10. Reviews, about and service areas
   ========================================================================== */
.reviews_link {
    margin: 0;
}

.reviews_link a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 17px;
    font-family: var(--font_slab);
    border: 1.5px solid rgba(87, 65, 9, 0.2);
    border-radius: var(--radius_pill);
    font-size: 14.5px;
    color: var(--color_brown);
    text-decoration: none;
    transition: background-color 200ms ease, border-color 200ms ease;
}

/* Yelp mark inside the pill, as in the design */
.reviews_link a::before {
    content: "";
    width: 17px;
    height: 17px;
    background: url("../_images/yelp.png") center / contain no-repeat;
}

.reviews_link a:hover {
    border-color: var(--color_brown);
    background: rgba(87, 65, 9, 0.05);
    color: var(--color_brown);
}

.reviews_header {
    margin-bottom: 24px;
}

.reviews_heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
}

.reviews_heading .section_title {
    font-size: var(--wp--preset--font-size--large);
}

/* Star row, shared by the heading rating and the cards */
.stars {
    display: flex;
    gap: 2px;
    color: #d4a423;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating_text {
    font-family: var(--font_slab);
    font-size: 14px;
    color: var(--color_sand);
}

.reviews_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 16px;
    align-items: stretch;
}

.review_card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 214px;
    margin: 0;
    padding: 22px 24px 20px;
    background: var(--color_cream);
    border: 1px solid var(--color_line);
    border-radius: var(--radius_large);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, border-color 240ms ease;
}

.review_card:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 65, 9, 0.22);
    box-shadow: var(--shadow_card);
}

.review_quote {
    display: -webkit-box;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--color_brown);
}

.review_person {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color_line_soft);
}

.review_initial {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1e7d4;
    font-family: var(--font_heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color_brown);
}

.review_who {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.review_author {
    font-family: var(--font_heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color_brown);
}

.review_context {
    font-size: 13px;
    color: var(--color_sand);
}

.review_source {
    width: 16px;
    height: 16px;
    margin-left: auto;
    opacity: 0.7;
}

.about_grid {
    display: grid;
    gap: 52px;
    align-items: center;
}

.about_media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius_card);
    box-shadow: var(--shadow_strong);
}

.about_media img {
    width: 100%;
    height: clamp(360px, 44vw, 520px);
    object-fit: cover;
    object-position: 42% 55%;
}

.about_content p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--color_stone);
}

.chip_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.chip_list li {
    padding: 9px 16px;
    background: var(--color_peach);
    border-radius: var(--radius_pill);
    font-size: 14px;
    color: var(--color_brown);
}

.areas {
    background: var(--color_brown);
    color: var(--color_parchment);
}

.areas .eyebrow {
    color: var(--color_gold);
}

.areas .section_title {
    color: var(--color_white);
}

.areas p {
    font-size: 16.5px;
    line-height: 1.68;
    color: rgba(247, 240, 229, 0.82);
}

.areas_layout {
    display: grid;
    gap: 48px;
    align-items: start;
}

.areas_grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.area_columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.area_column_title {
    margin: 0 0 12px;
    padding-top: 16px;
    border-top: 2px solid var(--color_gold);
    font-family: var(--font_heading);
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color_gold);
}

.area_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.area_list li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(247, 240, 229, 0.14);
    font-family: var(--font_heading);
    font-size: 16.5px;
    color: var(--color_parchment);
}

.area_list li:last-child {
    border-bottom: 0;
}

.area_feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--color_gold);
    border-radius: 16px;
}

.area_feature>div {
    flex: 1;
    min-width: 180px;
}

/* Scoped to .areas so the dark text wins over the light text of the section */
.areas .area_feature_title {
    margin: 0 0 4px;
    font-family: var(--font_heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color_espresso);
}

.areas .area_feature_text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(60, 45, 6, 0.78);
}

.area_feature_badge {
    padding: 8px 14px;
    border: 1.5px solid rgba(60, 45, 6, 0.35);
    border-radius: var(--radius_pill);
    font-family: var(--font_heading);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color_espresso);
    white-space: nowrap;
}

@media (min-width: 64em) {

    .about_grid,
    .areas_layout {
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    }
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.faq_inner {
    max-width: 960px;
}

.faq_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq_item {
    overflow: hidden;
    background: var(--color_white);
    border: 1px solid var(--color_line);
    border-radius: var(--radius_medium);
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.faq_item:hover {
    border-color: rgba(87, 65, 9, 0.3);
    box-shadow: var(--shadow_soft);
}

.faq_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    list-style: none;
    font-family: var(--font_heading);
    font-size: 17.5px;
    line-height: 1.4;
    color: var(--color_brown);
    cursor: pointer;
}

.faq_item summary::-webkit-details-marker {
    display: none;
}

/* Round plus that turns into a cross when open */
.faq_item summary::after {
    content: "+";
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(87, 65, 9, 0.09);
    font-size: 17px;
    line-height: 1;
    color: var(--color_brown);
    transition: background-color 220ms ease, color 220ms ease, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq_item[open] summary::after {
    background: var(--color_teal);
    color: var(--color_white);
    transform: rotate(135deg);
}

.faq_item p {
    margin: 0;
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.68;
    color: var(--color_stone);
}

/* ==========================================================================
   12. Estimate section, form and social links
   ========================================================================== */
.estimate {
    background: var(--color_linen);
    border-top: 1px solid var(--color_line_soft);
}

.estimate_grid {
    display: grid;
    gap: 52px;
    align-items: start;
}

.estimate_info p {
    font-size: 17px;
    line-height: 1.68;
    color: var(--color_stone);
}

.contact_cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
}

.contact_card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--color_white);
    border: 1px solid var(--color_line);
    border-radius: var(--radius_medium);
    color: var(--color_brown);
    text-decoration: none;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

a.contact_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(87, 65, 9, 0.12);
}

.contact_card_icon {
    width: 24px;
    text-align: center;
    font-size: 19px;
}

.contact_card_title {
    display: block;
    font-family: var(--font_heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--color_brown);
}

.contact_card_text {
    display: block;
    font-size: 14px;
    color: var(--color_olive);
}

.estimate_form_card {
    padding: clamp(26px, 3vw, 38px);
    background: var(--color_white);
    border: 1px solid var(--color_line);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(87, 65, 9, 0.1);
}

.estimate_form_title {
    margin-top: 0;
}

.estimate_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form_row_split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.form_field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
}

.form_label {
    font-family: var(--font_heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color_brown);
}

.form_control {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid rgba(87, 65, 9, 0.2);
    border-radius: var(--radius_small);
    background: var(--color_cream);
    font-family: var(--font_body);
    font-size: 15.5px;
    color: var(--color_ink);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form_control:focus {
    border-color: var(--color_teal);
    box-shadow: 0 0 0 3px rgba(21, 96, 115, 0.14);
    outline: none;
}

textarea.form_control {
    resize: vertical;
}

.form_field_short .form_control {
    max-width: 160px;
}

.form_submit {
    margin-top: 6px;
    width: 100%;
    font-size: 17px;
    padding: 17px 30px;
}

.form_note {
    margin: 0;
    font-size: 13.5px;
    text-align: center;
    color: #8a8072;
}

.form_success {
    margin: 0;
    padding: 1.25rem;
    background: var(--color_linen);
    border-left: 4px solid var(--color_gold);
    border-radius: var(--radius_small);
    font-weight: 700;
    color: var(--color_brown);
}

.social_links {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social_links a {
    display: block;
    transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social_links a:hover {
    transform: translateY(-4px) scale(1.08);
}

.social_links img {
    display: block;
    width: 30px;
    height: 30px;
}

.social_links_large img {
    width: 34px;
    height: 34px;
}

@media (min-width: 64em) {
    .estimate_grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .form_submit {
        width: auto;
        align-self: flex-start;
    }
}

/* ==========================================================================
   13. Inner pages, content and post cards
   ========================================================================== */
.page_header {
    position: relative;
    isolation: isolate;
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: var(--color_linen);
    border-bottom: 1px solid var(--color_line_soft);
}

.page_title {
    margin: 0;
    font-size: var(--wp--preset--font-size--x-large);
}

.page_meta {
    margin: 0.75rem 0 0;
    color: var(--color_stone);
}

.page_header_has_image {
    display: grid;
    align-items: end;
    min-height: clamp(16rem, 40vw, 26rem);
    background: var(--color_espresso);
    border-bottom: 0;
}

.page_header_image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page_header_has_image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(60, 45, 6, 0.2) 0%, rgba(60, 45, 6, 0.85) 100%);
}

.page_header_has_image .page_title,
.page_header_has_image .page_meta,
.page_header_has_image .breadcrumbs {
    color: var(--color_white);
}

.breadcrumbs {
    margin-bottom: 0.75rem;
    font-size: var(--wp--preset--font-size--small);
    color: var(--color_stone);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li+li::before {
    content: "/";
    margin-right: 0.25rem;
    opacity: 0.6;
}

.breadcrumbs p {
    margin: 0;
}

.breadcrumbs a,
.breadcrumbs a:hover {
    color: inherit;
}

.entry_content {
    max-width: var(--wp--style--global--content-size, 56rem);
    margin-inline: auto;
}

.entry_content::after {
    content: "";
    display: table;
    clear: both;
}

.entry_content h2,
.entry_content h3 {
    margin-top: 1.5em;
}

.entry_content ul,
.entry_content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.entry_content li {
    margin-bottom: 0.35em;
}

.entry_content img {
    border-radius: var(--radius_medium);
}

.entry_content .alignwide {
    max-width: none;
    margin-inline: calc((100% - min(100vw - var(--gutter) * 2, var(--wp--style--global--wide-size, 80rem))) / 2);
}

.entry_content .alignfull {
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.alignleft {
    float: left;
    margin: 0.25em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.25em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

figcaption,
.wp-caption-text {
    font-size: var(--wp--preset--font-size--small);
    color: var(--color_stone);
}

/* Legacy classes used in older page content (the v2022 theme loaded Bootstrap) */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.row>[class*="col"] {
    flex: 1 1 16rem;
}

.clearFloat {
    clear: both;
}

.floatLeft {
    float: left;
    margin: 0 0.5rem 0.5rem 0;
}

.widget_area {
    max-width: var(--wp--style--global--content-size, 56rem);
    margin: 0 auto 1.5rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.search-form label {
    flex: 1;
}

.search-field {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid rgba(87, 65, 9, 0.2);
    border-radius: var(--radius_small);
    font: inherit;
}

.search-submit {
    padding: 13px 22px;
    border: 0;
    border-radius: var(--radius_pill);
    background: var(--color_brown);
    color: var(--color_white);
    font-family: var(--font_heading);
    font-weight: 700;
    cursor: pointer;
}

.post-navigation .nav-links {
    display: grid;
    gap: 1rem;
    max-width: var(--wp--style--global--content-size, 56rem);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color_line_soft);
}

.post_nav_label {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color_olive);
}

.post_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1.5rem;
}

.articles_intro {
    margin-bottom: 2.5rem;
}

.post_card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color_white);
    border: 1px solid var(--color_line);
    border-radius: var(--radius_large);
}

.post_card_media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post_card_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.post_card:hover .post_card_image {
    transform: scale(1.04);
}

.post_card_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.post_card_meta {
    margin: 0 0 0.5rem;
    font-size: var(--wp--preset--font-size--small);
    color: var(--color_stone);
}

.post_card_title {
    font-size: var(--wp--preset--font-size--medium);
}

.post_card_title a,
.post_card_title a:hover {
    color: var(--color_brown);
    text-decoration: none;
}

.post_card_title a:hover {
    text-decoration: underline;
}

.post_card_excerpt {
    color: var(--color_stone);
}

.post_card_more {
    margin-top: auto;
    font-weight: 700;
    color: var(--color_teal);
}

.pagination {
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--color_line);
    border-radius: var(--radius_pill);
    font-weight: 700;
    color: var(--color_brown);
    text-decoration: none;
}

.page-numbers.current,
a.page-numbers:hover {
    background: var(--color_brown);
    border-color: var(--color_brown);
    color: var(--color_white);
}

/* Call to action band on inner pages */
.cta_band {
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--color_brown);
    color: var(--color_parchment);
}

.cta_band_inner {
    display: grid;
    align-items: center;
    gap: 1.5rem;
}

.cta_band_title {
    margin: 0 0 0.25rem;
    font-size: var(--wp--preset--font-size--large);
    color: var(--color_white);
}

.cta_band p {
    margin: 0;
}

.site_notice {
    padding-block: 1rem;
    background: var(--color_gold);
    color: var(--color_espresso);
    font-weight: 700;
    text-align: center;
}

@media (min-width: 40em) {
    .post-navigation .nav-links {
        grid-template-columns: 1fr 1fr;
    }

    .post-navigation .nav-next {
        text-align: right;
    }
}

@media (min-width: 64em) {
    .cta_band_inner {
        grid-template-columns: 1fr auto;
    }
}

/* ==========================================================================
   14. Footer, action bar and text widget
   ========================================================================== */
.site_footer {
    background: var(--color_espresso);
    color: rgba(247, 240, 229, 0.72);
}

.footer_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 40px;
    padding-block: 64px 44px;
    border-bottom: 1px solid rgba(247, 240, 229, 0.16);
}

.footer_logo .custom-logo {
    display: block;
    width: 170px;
    height: auto;
    margin-bottom: 18px;
    filter: brightness(1.06);
}

.footer_text {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(247, 240, 229, 0.72);
}

.footer_phone {
    font-family: var(--font_heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--color_gold);
    text-decoration: none;
}

.footer_phone:hover {
    color: var(--color_white);
}

.footer_title {
    margin: 0 0 16px;
    font-family: var(--font_heading);
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--color_white);
}

.footer_menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer_menu a {
    font-size: 15px;
    color: rgba(247, 240, 229, 0.72);
    text-decoration: none;
}

.footer_menu a:hover {
    color: var(--color_gold);
}

.newsletter_form {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
}

.newsletter_form input[type="email"] {
    flex: 1;
    min-width: 150px;
    padding: 11px 17px;
    border: 1.5px solid rgba(247, 240, 229, 0.25);
    border-radius: var(--radius_pill);
    background: rgba(247, 240, 229, 0.07);
    font-family: var(--font_body);
    font-size: 15px;
    color: var(--color_parchment);
}

.newsletter_form input[type="email"]:focus {
    border-color: var(--color_gold);
    background: rgba(247, 240, 229, 0.13);
    outline: none;
}

.footer_bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-block: 26px;
}

.footer_areas,
.footer_legal {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(247, 240, 229, 0.6);
}

.footer_legal a {
    color: rgba(247, 240, 229, 0.8);
}

.footer_legal a:hover {
    color: var(--color_gold);
}

/* Mobile action bar */
.action_bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 252, 247, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(87, 65, 9, 0.14);
    box-shadow: 0 -6px 22px rgba(87, 65, 9, 0.1);
}

.action_bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 15px 12px;
    border-radius: 12px;
    font-family: var(--font_heading);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.action_bar_call {
    background: var(--color_brown);
    color: var(--color_white);
}

.action_bar_estimate {
    background: var(--color_white);
    border: 1.5px solid rgba(21, 96, 115, 0.4);
    color: var(--color_teal);
}

/* The bar covers the end of the page, so add room for it */
body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 80em) {
    .action_bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}

/* Floating text widget */
.text_widget {
    position: fixed;
    right: 18px;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

@media (min-width: 80em) {
    .text_widget {
        bottom: 22px;
    }
}

.text_toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: none;
    border-radius: var(--radius_pill);
    background: var(--color_teal);
    color: var(--color_white);
    font-family: var(--font_heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(21, 96, 115, 0.36);
    transition: background-color 200ms ease, transform 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text_toggle:hover {
    background: var(--color_espresso);
    transform: translateY(-3px);
}

.text_panel {
    width: min(342px, calc(100vw - 36px));
    max-height: calc(100dvh - 170px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--color_cream);
    border: 1px solid var(--color_line);
    border-radius: var(--radius_card);
    box-shadow: 0 26px 64px rgba(40, 28, 2, 0.3);
}

.text_panel[hidden] {
    display: none;
}

.text_panel_head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--color_brown);
}

.text_avatar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color_gold);
    font-family: var(--font_heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color_espresso);
}

.text_panel_titles {
    flex: 1;
    min-width: 0;
}

.text_panel_title {
    margin: 0 0 2px;
    font-family: var(--font_heading);
    font-size: 16px;
    color: var(--color_white);
}

.text_panel_note {
    margin: 0;
    font-size: 12.5px;
    color: rgba(247, 240, 229, 0.72);
}

.text_close {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color_parchment);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}

.text_close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.text_panel_body {
    padding: 20px 18px 18px;
}

.text_bubble {
    max-width: 82%;
    margin: 0 0 10px;
    padding: 11px 15px;
    background: #ede6da;
    border-radius: 18px 18px 18px 5px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #4a4033;
}

.text_hint {
    margin: 0 0 12px;
    font-size: 11.5px;
    text-align: center;
    color: #a3917f;
}

.text_picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.text_pick {
    padding: 8px 6px;
    border: 1px solid rgba(87, 65, 9, 0.22);
    border-radius: var(--radius_pill);
    background: var(--color_white);
    font-family: var(--font_heading);
    font-size: 12.5px;
    line-height: 1;
    color: var(--color_brown);
    cursor: pointer;
}

.text_pick:hover {
    border-color: var(--color_brown);
    background: var(--color_oat);
}

.text_pick_teal {
    border-color: rgba(21, 96, 115, 0.3);
    color: var(--color_teal);
}

.text_pick_teal:hover {
    border-color: var(--color_teal);
    background: var(--color_mist);
}

.text_fields {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.text_row {
    display: flex;
    gap: 9px;
}

.text_fields input,
.text_fields textarea {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(87, 65, 9, 0.22);
    border-radius: 12px;
    background: var(--color_white);
    font-family: var(--font_body);
    font-size: 16px;
    color: #4a4033;
    resize: none;
}

.text_fields input:focus,
.text_fields textarea:focus {
    border-color: var(--color_teal);
    outline: none;
}

.text_send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--color_teal);
    color: var(--color_white);
    font-family: var(--font_heading);
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 200ms ease, transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text_send:hover {
    background: var(--color_espresso);
    color: var(--color_white);
    transform: translateY(-2px);
}

.text_disclaimer {
    margin: 14px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--color_sand);
}

.text_panel_foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px solid rgba(87, 65, 9, 0.1);
    font-size: 12.5px;
    color: var(--color_sand);
}

.text_panel_foot a {
    font-family: var(--font_heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color_brown);
    text-decoration: none;
}

/* ==========================================================================
   15. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}