/* Rieger Renovations Co. site styles */

@font-face {
    font-family: "Gilda Display";
    src: url("../fonts/gilda-display-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hanken Grotesk";
    src: url("../fonts/hanken-grotesk-variable.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --white: #ffffff;
    --cream: #f6f3ec;
    --grey: #efeeeb;
    --ink: #25221f;
    --text: #4a443e;
    --taupe-dark: #6b635a;
    --taupe: #ac9c8c;
    --line: #e4ded3;
    --serif: "Gilda Display", Georgia, "Times New Roman", serif;
    --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
    --container: 1200px;
    --gutter: 24px;
    --radius: 5px;
    --header-shadow: 0 1px 0 rgba(37, 34, 31, 0.08), 0 6px 18px rgba(37, 34, 31, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.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: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

:focus-visible {
    outline: 2px solid var(--taupe-dark);
    outline-offset: 3px;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button--dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.button--light {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.button--outline-light {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.button--outline {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
    .button--dark:hover {
        background: var(--taupe-dark);
        border-color: var(--taupe-dark);
    }

    .button--light:hover {
        background: var(--cream);
        border-color: var(--cream);
    }

    .button--outline-light:hover {
        background: var(--white);
        color: var(--ink);
    }

    .button--outline:hover {
        background: var(--ink);
        color: var(--white);
    }
}

.text-link {
    display: inline-block;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid var(--taupe);
    padding-bottom: 3px;
}

/* Utility bar */

.utility-bar {
    background: var(--ink);
    color: #ece7de;
    font-size: 13.5px;
    line-height: 1.4;
}

.utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.utility-bar__contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.utility-bar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.utility-bar__divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.35);
}

.utility-bar__area {
    margin: 0;
    color: #ece7de;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--header-shadow);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 112px;
}

.site-logo {
    flex: 0 0 auto;
    display: block;
    margin-right: auto;
}

.site-logo img {
    width: auto;
    height: 88px;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav__link {
    display: block;
    padding: 10px 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav__actions {
    display: none;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 32px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
}

.dropdown-toggle__chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -24px;
    z-index: 10;
    min-width: 270px;
    padding: 14px 0;
    background: var(--white);
    border-top: 2px solid var(--ink);
    box-shadow: 0 14px 30px rgba(37, 34, 31, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

/* Invisible bridge so the menu stays open while the pointer moves down. */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}

.dropdown a {
    display: block;
    padding: 9px 24px;
    color: var(--ink);
    font-size: 15px;
    text-decoration: none;
}

.dropdown li:last-child a {
    margin-top: 6px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown a:hover {
        background: var(--cream);
    }

    .main-nav__link:hover {
        color: var(--taupe-dark);
    }
}

.site-header__cta {
    flex: 0 0 auto;
}

.menu-toggle {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    height: clamp(500px, calc(100svh - 190px), 700px);
    overflow: hidden;
    background: #3a3631;
}

.hero__slides,
.hero__slide {
    position: absolute;
    inset: 0;
    margin: 0;
}

.hero__slide {
    opacity: 0;
    transition: opacity 1.1s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darkens the lower part of the photo so the headline stays readable. */
.hero__slides::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(24, 21, 18, 0.78) 0%, rgba(24, 21, 18, 0.5) 38%, rgba(24, 21, 18, 0.14) 72%, rgba(24, 21, 18, 0.06) 100%);
}

.hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-bottom: 78px;
    text-align: center;
}

.hero__title {
    max-width: 920px;
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(30px, 3.7vw, 52px);
    line-height: 1.14;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.3);
}

.hero__line {
    margin: 16px auto 28px;
    color: #f4efe6;
    font-family: var(--serif);
    font-size: clamp(18px, 1.6vw, 22px);
    letter-spacing: 0.02em;
}

.hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    border: 0;
    background: rgba(24, 21, 18, 0.28);
    border-radius: var(--radius);
    cursor: pointer;
}

.hero__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
}

.hero__arrow--prev {
    left: 24px;
}

.hero__arrow--prev::before {
    transform: translate(-30%, -50%) rotate(45deg);
}

.hero__arrow--next {
    right: 24px;
}

.hero__arrow--next::before {
    transform: translate(-70%, -50%) rotate(-135deg);
}

.hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero__dot {
    width: 34px;
    height: 12px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.hero__dot::before {
    content: "";
    display: block;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.hero__dot.is-active::before {
    background: var(--white);
}

/* Trust strip */

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-strip__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 30px;
}

.trust-strip__list li {
    min-width: 0;
    padding: 4px 12px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
}

.trust-strip__list li + li {
    border-left: 1px solid var(--taupe);
}

/* Sections */

.section {
    padding-block: 100px;
}

.section--cream {
    background: var(--cream);
}

.section--grey {
    background: var(--grey);
}

.section-title {
    font-size: clamp(30px, 3vw, 40px);
    text-align: center;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin: 20px auto 0;
    background: var(--ink);
}

.section-intro {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
}

.section-footer {
    margin-top: 48px;
    text-align: center;
}

/* Introduction photo grid */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 56px;
}

.photo-grid a {
    display: block;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--grey);
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    .photo-grid a:hover img {
        transform: scale(1.03);
    }
}

/* Services */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 56px;
}

.service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
}

.service-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 28px 30px;
}

.service-card__title {
    font-size: 25px;
}

.service-card__body p {
    margin: 12px 0 20px;
    font-size: 16px;
    line-height: 1.65;
}

.service-card__more {
    align-self: flex-start;
    margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover .service-card__image img {
        transform: scale(1.04);
    }

    .service-card:hover .service-card__more {
        border-color: var(--ink);
    }
}

/* Two column rows */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.split + .split {
    margin-top: 110px;
}

.split--reverse .split__media {
    order: 2;
}

/* Portrait photos get a narrower column so they stay close to the height of the text. */
.split--portrait {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.split--portrait .split__media {
    max-height: 600px;
    overflow: hidden;
}

.split--portrait.split--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__media--tall {
    aspect-ratio: 4 / 5;
}

.split__media--wide {
    aspect-ratio: 5 / 4;
}

.split__title {
    font-size: clamp(28px, 2.6vw, 36px);
}

.split__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin-top: 20px;
    background: var(--ink);
}

.split__role {
    margin: 18px 0 0;
    color: var(--taupe-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.split__body {
    margin-top: 24px;
}

.split__question {
    margin: 26px 0 6px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
}

.split__body .button {
    margin-top: 14px;
}

/* Before and after */

.compare {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 72px;
}

.ba {
    --pos: 50%;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--grey);
    user-select: none;
}

.ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba__before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: var(--white);
    pointer-events: none;
}

.ba__handle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: rgba(24, 21, 18, 0.45);
    transform: translate(-50%, -50%);
}

.ba__label {
    position: absolute;
    top: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: var(--radius);
    background: rgba(24, 21, 18, 0.72);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
}

.ba__label--before {
    left: 16px;
}

.ba__label--after {
    right: 16px;
}

.ba__range {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.ba__range:focus-visible + .ba__handle::after {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

.compare__text .split__title {
    text-align: left;
}

/* Process */

.process {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 28px;
    margin-top: 60px;
    counter-reset: step;
}

.process li {
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid var(--taupe);
}

.process__number {
    display: block;
    color: var(--taupe-dark);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1;
}

.process__title {
    display: block;
    margin: 16px 0 8px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.process li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* Featured projects */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 56px;
}

.project-card {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.project-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card__town {
    display: block;
    margin-top: 22px;
    color: var(--taupe-dark);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-card__title {
    margin-top: 8px;
    font-size: 25px;
}

.project-card p {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover .project-card__image img {
        transform: scale(1.04);
    }
}

/* FAQ */

.faq {
    max-width: 860px;
    margin: 48px auto 0;
}

.faq details {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.faq details + details {
    margin-top: 10px;
}

.faq summary {
    position: relative;
    padding: 22px 64px 22px 28px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before,
.faq summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 28px;
    width: 14px;
    height: 1.5px;
    background: var(--ink);
}

.faq summary::after {
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(0deg);
}

.faq details p {
    margin: 0;
    padding: 0 28px 24px;
}

/* Contact band */

.contact {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: start;
}

.contact__title {
    font-size: clamp(30px, 3vw, 40px);
}

.contact__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 1px;
    margin-top: 20px;
    background: var(--ink);
}

.contact__text {
    margin-top: 24px;
}

.contact__details {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.contact__details li {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact__details span {
    min-width: 76px;
    color: var(--taupe-dark);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 2;
    text-transform: uppercase;
}

.contact__details a {
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.estimate-form {
    padding: 40px;
    border-radius: var(--radius);
    background: var(--cream);
}

.estimate-form__title {
    margin-bottom: 24px;
    font-size: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.form-field {
    min-width: 0;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-field input,
.form-field select {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #d4cdc1;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 1px var(--ink);
}

.form-field.has-error input,
.form-field.has-error select {
    border-color: #a3332a;
}

.form-error {
    margin: 6px 0 0;
    color: #a3332a;
    font-size: 14px;
}

.form-hp {
    position: absolute;
    left: -9999px;
}

.estimate-form .button {
    width: 100%;
    margin-top: 24px;
}

.form-note {
    margin: 14px 0 0;
    font-size: 14px;
    text-align: center;
}

.form-success {
    padding: 22px 24px;
    border-left: 3px solid var(--ink);
    background: var(--white);
    color: var(--ink);
}

.form-success strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
}

/* Footer */

.site-footer {
    background: var(--ink);
    color: #d8d2c8;
    font-size: 15.5px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
    padding-block: 80px 64px;
}

.site-footer__logo {
    display: inline-block;
}

.site-footer__logo img {
    width: auto;
    height: 96px;
}

.site-footer__brand p {
    max-width: 300px;
    margin: 22px 0 0;
}

.site-footer__heading {
    margin-bottom: 18px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer__col li + li {
    margin-top: 8px;
}

.site-footer a {
    color: #f1ece3;
    text-decoration: none;
    overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
    .site-footer a:hover {
        color: var(--white);
        text-decoration: underline;
    }
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 14px;
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 22px;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.site-footer a.site-footer__credit {
    color: var(--white);
}

/* Mobile action bar */

.mobile-actions {
    display: none;
}

/* Tablet and below: hamburger menu */

@media (max-width: 1080px) {
    .site-header__inner {
        min-height: 92px;
        gap: 16px;
    }

    .site-logo img {
        height: 72px;
    }

    .site-header__cta {
        display: none;
    }

    .menu-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        cursor: pointer;
    }

    .menu-toggle__bars,
    .menu-toggle__bars::before,
    .menu-toggle__bars::after {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .menu-toggle__bars {
        position: relative;
    }

    .menu-toggle__bars::before,
    .menu-toggle__bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .menu-toggle__bars::before {
        top: -7px;
    }

    .menu-toggle__bars::after {
        top: 7px;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bars {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: var(--menu-top, 92px);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99;
        overflow-y: auto;
        padding: 12px var(--gutter) 40px;
        background: var(--white);
        border-top: 1px solid var(--line);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s;
    }

    .main-nav.is-open {
        visibility: visible;
        opacity: 1;
    }

    .main-nav__list {
        display: block;
    }

    .main-nav__item {
        flex-wrap: wrap;
        border-bottom: 1px solid var(--line);
    }

    .main-nav__link {
        flex: 1;
        padding: 18px 0;
        font-size: 15px;
    }

    .dropdown-toggle {
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .dropdown-toggle[aria-expanded="true"] .dropdown-toggle__chevron {
        transform: translateY(2px) rotate(-135deg);
    }

    .has-dropdown::after {
        display: none;
    }

    .dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        padding: 0 0 12px;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-dropdown.is-open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 11px 16px;
        font-size: 16px;
    }

    .main-nav__actions {
        display: grid;
        gap: 14px;
        margin-top: 32px;
    }

    .main-nav__phone {
        display: block;
        padding: 14px;
        border: 1px solid var(--ink);
        border-radius: var(--radius);
        color: var(--ink);
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    .split {
        gap: 48px;
    }

    .compare {
        gap: 48px;
    }

    .process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 40px;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .service-grid,
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .split--portrait,
    .split--portrait.split--reverse,
    .compare,
    .contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .split--portrait .split__media {
        max-height: none;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .split__media--tall {
        aspect-ratio: 4 / 3;
    }

    .trust-strip__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .trust-strip__list li:nth-child(3) {
        border-left: 0;
    }
}

/* Phones */

@media (max-width: 767px) {
    :root {
        --gutter: 20px;
    }

    body {
        font-size: 16px;
        padding-bottom: 58px;
    }

    .utility-bar__inner {
        justify-content: center;
        min-height: 36px;
    }

    .utility-bar__divider,
    .utility-bar__email,
    .utility-bar__area {
        display: none;
    }

    .site-header__inner {
        min-height: 82px;
    }

    .site-logo img {
        height: 62px;
    }

    .hero {
        height: clamp(520px, calc(100svh - 190px), 640px);
    }

    .hero__content {
        padding-bottom: 64px;
    }

    .hero__title {
        font-size: 29px;
        line-height: 1.18;
    }

    .hero__line {
        margin: 12px auto 22px;
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__arrow {
        display: none;
    }

    .hero__dots {
        bottom: 22px;
    }

    .trust-strip__list {
        padding-block: 24px;
    }

    .trust-strip__list li {
        font-size: 17px;
    }

    .section {
        padding-block: 68px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 40px;
    }

    .photo-grid a:nth-child(9) {
        display: none;
    }

    .service-grid,
    .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 40px;
    }

    .split + .split {
        margin-top: 64px;
    }

    .process {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
        margin-top: 40px;
    }

    .process li {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 12px;
        padding: 18px 0;
    }

    .process__number {
        grid-row: span 2;
        font-size: 30px;
    }

    .process__title {
        margin: 2px 0 4px;
    }

    .faq summary {
        padding: 18px 56px 18px 20px;
        font-size: 17px;
    }

    .faq summary::before,
    .faq summary::after {
        right: 20px;
    }

    .faq details p {
        padding: 0 20px 20px;
    }

    .estimate-form {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-block: 60px 44px;
    }

    .site-footer__logo img {
        height: 84px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--ink);
        box-shadow: 0 -4px 16px rgba(37, 34, 31, 0.12);
    }

    .mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-decoration: none;
        text-transform: uppercase;
    }

    .mobile-actions__call {
        background: var(--white);
        color: var(--ink);
        border-top: 1px solid var(--line);
    }

    .mobile-actions__estimate {
        background: var(--ink);
        color: var(--white);
    }
}

/* Inner page banner */

.page-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    overflow: hidden;
    background: #3a3631;
}

.page-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 21, 18, 0.78) 0%, rgba(24, 21, 18, 0.45) 55%, rgba(24, 21, 18, 0.25) 100%);
}

.page-banner__content {
    position: relative;
    z-index: 1;
    padding-block: 64px 46px;
    text-align: center;
}

.page-banner__title {
    max-width: 900px;
    margin: 0 auto;
    color: var(--white);
    font-size: clamp(32px, 3.6vw, 50px);
    line-height: 1.15;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin-top: 16px;
    color: #efe9df;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

/* Text blocks */

.narrow {
    max-width: calc(860px + var(--gutter) * 2);
}

.prose {
    margin-top: 28px;
}

.prose--center {
    text-align: center;
}

.section--tight {
    padding-block: 64px;
}

.section--cream.section--flush-top {
    padding-top: 72px;
}

/* Lists */

.check-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 48px;
    margin-top: 48px;
}

.check-list li {
    position: relative;
    padding: 13px 0 13px 26px;
    border-bottom: 1px solid #dcd6cb;
    color: var(--ink);
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 21px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--taupe-dark);
    transform: rotate(45deg);
}

.check-list--grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 48px;
    margin-top: 48px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.link-row a {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #cfc8bc;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-size: 15px;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .link-row a:hover {
        border-color: var(--ink);
    }
}

.related-label {
    margin: 0;
    color: var(--taupe-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.related-label + .link-row {
    margin-top: 16px;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin: 24px 0 0;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.facts dt {
    color: var(--taupe-dark);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.facts dd {
    margin: 2px 0 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
}

.split__media a {
    display: block;
    height: 100%;
}

.project-card__more {
    margin-top: 16px;
}

.project-grid--1 {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

.project-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
}

/* Gallery filters */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.filters__button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #cfc8bc;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.filters__button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.photo-grid--gallery {
    margin-top: 32px;
}

.photo-grid a[hidden] {
    display: none;
}

/* Lightbox */

.lightbox {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(20, 18, 16, 0.94);
    color: var(--white);
}

.lightbox::backdrop {
    background: rgba(20, 18, 16, 0.94);
}

.lightbox__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    height: 100%;
    padding: 64px 80px 40px;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100% - 70px);
    object-fit: contain;
}

.lightbox__caption {
    max-width: 760px;
    margin: 0;
    color: #ece7de;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

.lightbox__button {
    position: absolute;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.lightbox__close {
    top: 16px;
    right: 16px;
}

.lightbox__close::before,
.lightbox__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--white);
    transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__prev,
.lightbox__next {
    top: 50%;
    margin-top: -24px;
}

.lightbox__prev {
    left: 16px;
}

.lightbox__next {
    right: 16px;
}

.lightbox__prev::before,
.lightbox__next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
}

.lightbox__prev::before {
    transform: translate(-30%, -50%) rotate(45deg);
}

.lightbox__next::before {
    transform: translate(-70%, -50%) rotate(-135deg);
}

body.lightbox-open {
    overflow: hidden;
}

/* Process timeline */

.timeline {
    margin-top: 48px;
}

.timeline__item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #d6d0c5;
}

.timeline__item:last-child {
    border-bottom: 1px solid #d6d0c5;
}

.timeline__number {
    color: var(--taupe-dark);
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1;
}

.timeline__title {
    margin-bottom: 8px;
    font-size: 24px;
}

.timeline__item p {
    margin: 0 0 10px;
}

/* Service areas */

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.area {
    padding: 34px 36px;
    border-radius: var(--radius);
    background: var(--white);
}

.area__title {
    font-size: 26px;
}

.area p {
    margin: 12px 0 0;
}

.area__links {
    margin-top: 14px;
}

.area__links li + li {
    margin-top: 6px;
}

.area__links a {
    color: var(--ink);
    font-weight: 500;
}

.area-note {
    margin: 32px 0 0;
    text-align: center;
}

/* Estimate page */

.next-steps__title {
    margin-top: 32px;
    font-size: 22px;
}

.next-steps {
    margin-top: 14px;
    counter-reset: steps;
}

.next-steps li {
    position: relative;
    padding: 8px 0 8px 40px;
    counter-increment: steps;
}

.next-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 8px;
    width: 26px;
    height: 26px;
    border: 1px solid var(--taupe-dark);
    border-radius: 50%;
    color: var(--taupe-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
}

.next-steps--center {
    max-width: 420px;
    margin: 32px auto 0;
}

.form-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-step + .form-step {
    margin-top: 36px;
}

.form-step__legend {
    margin-bottom: 20px;
    padding: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
}

.form-step__legend span {
    display: block;
    margin-bottom: 4px;
    color: var(--taupe-dark);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-step__next,
.form-step__back {
    display: none;
}

.has-steps .form-step {
    display: none;
}

.has-steps .form-step.is-active {
    display: block;
}

.has-steps .form-step + .form-step {
    margin-top: 0;
}

.has-steps .form-step__next,
.has-steps .form-step__back {
    display: inline-flex;
}

.form-step__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.estimate-form .form-step__actions .button {
    width: auto;
    margin-top: 0;
    flex: 1;
}

.estimate-form .form-step__actions .button--outline {
    flex: 0 0 auto;
}

.estimate-form .form-step__next {
    width: 100%;
    margin-top: 24px;
}

.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d4cdc1;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
}

.form-field textarea:focus {
    border-color: var(--ink);
    outline: none;
    box-shadow: 0 0 0 1px var(--ink);
}

.form-field__optional {
    color: var(--taupe-dark);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
}

.file-input {
    width: 100%;
    padding: 12px;
    border: 1px dashed #bdb5a8;
    border-radius: var(--radius);
    background: var(--white);
    font-family: var(--sans);
    font-size: 15px;
}

.form-help {
    margin: 6px 0 0;
    font-size: 14px;
}

.form-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.form-check input {
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    accent-color: var(--ink);
}

.form-field.form-check label {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.form-check .form-error {
    grid-column: 2;
}

.form-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-left: 3px solid #a3332a;
    background: var(--white);
    color: #a3332a;
}

/* Thank you and 404 */

.thanks {
    padding-block: 120px;
}

.thanks__reference {
    margin-top: 18px;
    color: var(--ink);
}

.thanks__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

/* Legal pages */

.legal h2 {
    margin: 40px 0 12px;
    font-size: 26px;
}

.legal__updated {
    color: var(--taupe-dark);
    font-size: 14px;
}

/* Reviews and credentials (shown only when real data exists) */

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.review {
    margin: 0;
    padding: 32px;
    border-radius: var(--radius);
    background: var(--white);
}

.review blockquote {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.5;
}

.review figcaption {
    margin-top: 16px;
    color: var(--taupe-dark);
    font-size: 14px;
    font-weight: 600;
}

.credentials {
    margin-top: 20px;
    font-size: 14px;
}

.credentials span {
    font-weight: 600;
}

/* Inner page responsive rules */

@media (max-width: 900px) {
    .check-columns,
    .check-list--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-grid,
    .review-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .project-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-banner {
        min-height: 260px;
    }

    .page-banner__content {
        padding-block: 48px 32px;
    }

    .page-banner__title {
        font-size: 29px;
    }

    .breadcrumb ol {
        font-size: 12px;
    }

    .check-columns,
    .check-list--grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
    }

    .project-grid--1,
    .project-grid--2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .timeline__item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 24px 0;
    }

    .timeline__number {
        font-size: 30px;
    }

    .timeline__title {
        font-size: 21px;
    }

    .area {
        padding: 26px 22px;
    }

    .lightbox__inner {
        padding: 70px 12px 80px;
    }

    .lightbox__prev,
    .lightbox__next {
        top: auto;
        bottom: 16px;
        margin-top: 0;
    }

    .form-step__actions {
        flex-direction: column-reverse;
    }

    .estimate-form .form-step__actions .button--outline {
        flex: 1;
    }

    .thanks {
        padding-block: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
