/* =====================================================================
   Local Flooring Installation — Site Stylesheet
   ---------------------------------------------------------------------
   Design language: warm espresso + cream + bronze gold.
   Display type: Fraunces (serif) · Body type: Inter (sans)
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    /* Color */
    --ink:        #191410;   /* deep espresso */
    --ink-2:      #241d16;   /* raised espresso */
    --ink-3:      #322821;   /* borders on dark */
    --cream:      #f8f4ed;   /* warm section background */
    --paper:      #fffdf9;   /* page background */
    --line:       #e7ddcf;   /* hairline borders on light */
    --gold:       #c09457;   /* bronze gold accent */
    --gold-deep:  #a87f43;
    --gold-soft:  #f3e8d7;
    --text:       #3d352d;   /* body text on light */
    --text-soft:  #6f6457;
    --text-light: #cdc3b6;   /* body text on dark */

    /* Type */
    --font-display: "Fraunces", Georgia, serif;
    --font-body:    "Inter", -apple-system, "Segoe UI", sans-serif;

    /* Rhythm */
    --section-pad: clamp(4.5rem, 9vw, 7.5rem);
    --radius:      18px;
    --radius-sm:   12px;
    --shadow-soft: 0 18px 45px -18px rgba(25, 20, 16, .22);
    --shadow-lift: 0 28px 60px -20px rgba(25, 20, 16, .32);
    --ease:        cubic-bezier(.22, .61, .36, 1);

    /* Header height (used for scroll offsets) */
    --header-h: 86px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -.01em;
}

.container {
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
}

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--ink); }
.section--dark h2, .section--dark h3 { color: #f6f1e8; }
.section--dark p { color: var(--text-light); }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .65rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold-deep); margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: ""; width: 28px; height: 1.5px; background: var(--gold); flex: none;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 1.5px; background: var(--gold); flex: none; }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title { font-size: clamp(1.9rem, 3.6vw, 2.85rem); margin-bottom: 1rem; }
.section-head__lede { color: var(--text-soft); font-size: 1.05rem; }
.section--dark .section-head__lede { color: var(--text-light); }

.lede { font-size: 1.15rem; color: var(--text-soft); }

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    padding: .9rem 1.9rem; border-radius: 999px;
    border: 1.5px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease),
                background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--gold {
    background: linear-gradient(135deg, #d2a86b 0%, var(--gold) 55%, var(--gold-deep) 100%);
    color: #241a0e;
    box-shadow: 0 12px 28px -12px rgba(168, 127, 67, .65);
}
.btn--gold:hover { color: #1a1208; box-shadow: 0 18px 36px -12px rgba(168, 127, 67, .8); }

.btn--dark { background: var(--ink); color: #f6f1e8; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }

.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.14); }

.btn--ghost-dark { border-color: rgba(25,20,16,.3); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); color: var(--ink); background: rgba(25,20,16,.04); }

.btn--lg { padding: 1.05rem 2.3rem; font-size: 1rem; }
.btn--sm { padding: .62rem 1.35rem; font-size: .88rem; }

/* Text-arrow link */
.link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 600; font-size: .95rem; color: var(--gold-deep);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- 5. Top bar ---------- */
.topbar { background: var(--ink); color: var(--text-light); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-block: .5rem; gap: 1rem; }
.topbar__note { letter-spacing: .04em; }
.topbar__links { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.topbar__link { white-space: nowrap; }
.topbar__link { color: var(--text-light); }
.topbar__link--phone { color: var(--gold); font-weight: 600; }
.topbar__sep { width: 1px; height: 14px; background: var(--ink-3); }
@media (max-width: 720px) {
    .topbar__note { display: none; }
    .topbar__inner { justify-content: center; }
}
@media (max-width: 560px) {
    /* Keep the bar to one line: the phone is the action worth showing here,
       and the email is repeated in the contact card and the footer. */
    .topbar__link:not(.topbar__link--phone),
    .topbar__sep { display: none; }
}

/* ---------- 6. Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 253, 249, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 12px 30px -18px rgba(25, 20, 16, .25);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand__mark { color: var(--gold-deep); display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.brand__sub { font-size: .68rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-deep); }

.main-nav__list { display: flex; gap: .25rem; }
.main-nav__item { position: relative; }
.main-nav__link {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .55rem .85rem; border-radius: 8px;
    font-size: .95rem; font-weight: 500; color: var(--ink);
    transition: color .25s var(--ease), background-color .25s var(--ease);
}
.main-nav__link:hover { color: var(--gold-deep); background: rgba(192, 148, 87, .08); }
.main-nav__link.is-active { color: var(--gold-deep); }
.main-nav__link.is-active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem;
    height: 2px; border-radius: 2px; background: var(--gold);
}
.main-nav__caret { transition: transform .25s var(--ease); }
.main-nav__item--has-children:hover .main-nav__caret,
.main-nav__item--has-children:focus-within .main-nav__caret { transform: rotate(180deg); }

.main-nav__dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%;
    min-width: 230px; padding: .6rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lift);
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.main-nav__item--has-children:hover .main-nav__dropdown,
.main-nav__item--has-children:focus-within .main-nav__dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.main-nav__sublink {
    display: block; padding: .55rem .85rem; border-radius: 9px;
    font-size: .92rem; font-weight: 500; color: var(--text);
}
.main-nav__sublink:hover { background: var(--gold-soft); color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.main-nav__cta { display: none; }
.header-phone {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 600; font-size: .95rem; color: var(--ink);
}
.header-phone:hover { color: var(--gold-deep); }
.header-phone svg { color: var(--gold-deep); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .6rem; border-radius: 8px; }
.nav-toggle__bar {
    width: 24px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .header-phone span { display: none; }
}
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .header-phone { display: none; }
    :root { --header-h: 72px; }

    /* No room for the quote button beside the logo — it moves into the menu. */
    .site-header__actions .btn { display: none; }

    .main-nav__cta { display: grid; gap: .7rem; padding: 0 1.5rem 1.6rem; }
    .main-nav__cta .btn { width: 100%; }

    .main-nav {
        /* Anchored to the header itself, so it opens flush beneath it whether
           or not the top bar has scrolled away. */
        position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
        max-height: 0; overflow: hidden;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        transition: max-height .45s var(--ease);
        box-shadow: 0 30px 50px -25px rgba(25,20,16,.35);
    }
    .main-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .main-nav__list { flex-direction: column; padding: 1rem 1.5rem 1.75rem; gap: 0; }
    .main-nav__link { width: 100%; padding: .85rem .5rem; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--line); }
    .main-nav__link.is-active::after { display: none; }
    .main-nav__dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; border: 0; box-shadow: none; background: transparent;
        padding: 0 0 .25rem .85rem; display: none;
    }
    .main-nav__item--has-children.is-open .main-nav__dropdown { display: block; }
    .main-nav__sublink { font-size: .98rem; padding: .6rem .5rem; color: var(--text-soft); }
}

/* ---------- 7. Home hero ---------- */
.hero {
    position: relative; isolation: isolate;
    min-height: min(92vh, 860px);
    display: flex; align-items: center;
    color: #fff; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: -8% 0; z-index: -2;
    background: url("../images/hero-flooring.jpg") center/cover no-repeat,
                linear-gradient(125deg, #2c2118 0%, #4a3826 45%, #6b5436 80%, #8a6c44 100%);
    will-change: transform; /* parallax via JS */
}
.hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(15, 11, 8, .88) 0%, rgba(15, 11, 8, .62) 48%, rgba(15, 11, 8, .25) 100%);
}
.hero__inner { padding-block: clamp(6rem, 12vh, 9rem); max-width: 720px; }
.hero__title {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    color: #fdfaf4; margin-bottom: 1.4rem;
    text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(248, 244, 237, .85); max-width: 560px; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: .85rem; font-weight: 500; color: rgba(250, 246, 239, .92);
}
.badge svg { color: var(--gold); flex: none; }

.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__scroll::after {
    content: ""; width: 1px; height: 38px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(.4); opacity: .4; transform-origin: top; }
    50%      { transform: scaleY(1);  opacity: 1; }
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- 8. Inner page hero ---------- */
.page-hero {
    position: relative; isolation: isolate;
    background: var(--ink); color: #fff;
    padding-block: clamp(4.5rem, 9vw, 7rem) clamp(3.5rem, 7vw, 5.5rem);
    overflow: hidden;
}
.page-hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    opacity: .45;
}
.page-hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, rgba(15, 11, 8, .92) 10%, rgba(15, 11, 8, .55) 70%, rgba(15,11,8,.35) 100%);
}
.page-hero__inner { max-width: 760px; }
.page-hero__title { font-size: clamp(2.1rem, 4.5vw, 3.3rem); color: #fdfaf4; margin-bottom: 1rem; text-wrap: balance; }
.page-hero__text { font-size: 1.1rem; color: rgba(248, 244, 237, .82); max-width: 600px; }

.breadcrumbs { margin-bottom: 1.75rem; font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; gap: .35rem; color: rgba(248,244,237,.55); }
.breadcrumbs li + li::before { content: "/"; color: rgba(248,244,237,.35); margin-right: .35rem; }
.breadcrumbs a { color: rgba(248,244,237,.75); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--gold); font-weight: 500; }

/* ---------- 9. Cards ---------- */
/* Service card (image top) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
/* Five cards in a three-wide grid: centre the orphan row instead of leaving a hole. */
.card-grid--5 { grid-template-columns: repeat(6, 1fr); }
.card-grid--5 > * { grid-column: span 2; }
.card-grid--5 > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--5 > *, .card-grid--5 > :nth-child(4) { grid-column: auto; } }
@media (max-width: 640px)  { .card-grid { grid-template-columns: 1fr; }
  .card-grid--5 { grid-template-columns: 1fr; } }

.service-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.service-card__media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: linear-gradient(135deg, #3a2d20, #6b5436); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20, 15, 10, .35), transparent 45%);
}
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.7rem 1.8rem; }
.service-card__title { font-size: 1.35rem; margin-bottom: .6rem; }
.service-card__text { color: var(--text-soft); font-size: .97rem; margin-bottom: 1.4rem; flex: 1; }
.service-card .link-arrow { margin-top: auto; }
.service-card__link-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card .link-arrow { position: relative; z-index: 2; }

/* Feature / value card (icon top, no image) */
.feature-card {
    padding: 2rem 1.9rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold); }
.feature-card__icon {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 1.25rem;
    background: var(--gold-soft); color: var(--gold-deep);
}
.feature-card__title { font-size: 1.2rem; margin-bottom: .55rem; }
.feature-card__text { color: var(--text-soft); font-size: .95rem; }

/* Dark variant */
.section--dark .feature-card { background: var(--ink-2); border-color: var(--ink-3); }
.section--dark .feature-card__title { color: #f6f1e8; }
.section--dark .feature-card__text { color: var(--text-light); }
.section--dark .feature-card__icon { background: rgba(192, 148, 87, .14); color: var(--gold); }

/* ---------- 10. Checklist (what's included) ---------- */
.checklist { display: grid; gap: .85rem; }
.checklist--two-col { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
@media (max-width: 720px) { .checklist--two-col { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before {
    content: "✓"; flex: none;
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center; margin-top: .15rem;
    background: var(--gold-soft); color: var(--gold-deep);
    font-size: .8rem; font-weight: 700;
}
.section--dark .checklist li::before { background: rgba(192,148,87,.16); color: var(--gold); }

/* ---------- 11. Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.split__media img {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lift);
    aspect-ratio: 4 / 4.6; object-fit: cover;
    background: linear-gradient(135deg, #3a2d20, #6b5436);
}
.split__media--frame::before {
    content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem;
    border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 900px) { .split__media--frame::before { display: none; } }
/* Two family photos stacked in the media column instead of a single portrait. */
.split__media--pair { display: grid; gap: 1rem; }
.split__media--pair img { aspect-ratio: 4 / 3; }

.split__media-tag {
    position: absolute; left: 1.25rem; bottom: 1.25rem;
    background: rgba(25, 20, 16, .82); backdrop-filter: blur(8px);
    color: #f6f1e8; border: 1px solid rgba(255,255,255,.14);
    padding: .8rem 1.2rem; border-radius: var(--radius-sm);
    font-size: .85rem; line-height: 1.4;
}
.split__media-tag strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }

/* ---------- 12. Before / after slider ---------- */
.ba-slider {
    position: relative; overflow: hidden;
    border-radius: var(--radius); box-shadow: var(--shadow-lift);
    aspect-ratio: 16 / 9.5;
    user-select: none; touch-action: pan-y;
    background: #2c2118;
    cursor: ew-resize;
}
.ba-slider img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; pointer-events: none;
}
.ba-slider__before-wrap {
    position: absolute; inset: 0; overflow: hidden;
    width: 50%; /* JS updates this */
    z-index: 2;
}
.ba-slider__before-wrap img { width: auto; min-width: 100%; }
.ba-slider__handle {
    position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
    width: 2px; background: rgba(255,255,255,.9); transform: translateX(-50%);
}
.ba-slider__handle::after {
    content: "⟷";
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gold); color: #241a0e; font-size: 1.2rem; font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.ba-slider__label {
    position: absolute; top: 1rem; z-index: 4;
    padding: .35rem .9rem; border-radius: 999px;
    background: rgba(15, 11, 8, .72); backdrop-filter: blur(6px);
    color: #f6f1e8; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    pointer-events: none;
}
.ba-slider__label--before { left: 1rem; }
.ba-slider__label--after { right: 1rem; }

/* ---------- 13. Process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid { grid-template-columns: 1fr; } }
.process-step {
    position: relative; counter-increment: step;
    padding: 2.1rem 1.8rem 1.9rem;
    background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.process-step:hover { transform: translateY(-6px); border-color: var(--gold); }
.process-step::before {
    content: "0" counter(step);
    position: absolute; top: .6rem; right: 1rem;
    font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(192, 148, 87, .45);
}
.process-step__title { font-size: 1.25rem; color: #f6f1e8; margin-bottom: .6rem; }
.process-step__text { font-size: .94rem; color: var(--text-light); }

/* ---------- 14. Stats band ---------- */
.stats-band { border-block: 1px solid var(--ink-3); }
.stats-band .container { padding-block: clamp(3rem, 6vw, 4.5rem); }
.stat { text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat__number {
    font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 600; color: var(--gold); line-height: 1.1;
}
.stat__label { font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin-top: .35rem; }

/* ---------- 15. Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.75rem; }
.filter-chip {
    padding: .55rem 1.3rem; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--paper);
    font-size: .9rem; font-weight: 500; color: var(--text-soft);
    transition: all .3s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: #f6f1e8; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

.project-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4 / 3.2; background: linear-gradient(135deg, #3a2d20, #6b5436);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover img { transform: scale(1.06); }
.project-card__overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; color: #fff;
    background: linear-gradient(to top, rgba(15, 11, 8, .82) 0%, rgba(15,11,8,.25) 45%, transparent 70%);
}
.project-card__cat {
    font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .3rem;
}
.project-card__title { font-size: 1.2rem; color: #fdfaf4; }
.project-card.is-hidden { display: none; }

/* ---------- 16. Service areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 960px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
.area-tile {
    display: flex; align-items: center; gap: .7rem;
    padding: 1.1rem 1.3rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-weight: 500; color: var(--ink);
    transition: all .3s var(--ease);
}
.area-tile:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-soft); color: var(--ink); }
.area-tile svg { color: var(--gold-deep); flex: none; }

/* Marquee strip of areas */
.area-marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--line); background: var(--cream); }
.area-marquee__track {
    display: flex; gap: 3rem; width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--font-display); font-size: 1.05rem; color: var(--text-soft); white-space: nowrap;
}
.area-marquee__track span { display: inline-flex; align-items: center; gap: 3rem; }
.area-marquee__track i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .area-marquee__track { animation: none; } }

/* ---------- 17. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.form-field label .req { color: var(--gold-deep); }
.form-field input,
.form-field select,
.form-field textarea {
    font: inherit; font-size: .98rem; color: var(--ink);
    padding: .85rem 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(192, 148, 87, .18);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid { border-color: #b3463c; }
.form-field .field-error { font-size: .8rem; color: #b3463c; display: none; }
.form-field.has-error .field-error { display: block; }
textarea { resize: vertical; min-height: 130px; }

.form-status { display: none; margin-top: 1.1rem; padding: .9rem 1.2rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.is-success { display: block; background: #eef5ec; color: #2f5d33; border: 1px solid #cfe3cd; }
.form-status.is-error { display: block; background: #f9ecea; color: #8c3a32; border: 1px solid #ecd2ce; }

.info-card {
    background: var(--ink); color: var(--text-light);
    border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.5rem);
    position: sticky; top: calc(var(--header-h) + 1.5rem);
}
.info-card h3 { color: #f6f1e8; font-size: 1.45rem; margin-bottom: .5rem; }
.info-card__list { display: grid; gap: 1.35rem; margin-block: 1.75rem; }
.info-card__item { display: flex; gap: 1rem; align-items: flex-start; }
.info-card__item svg { flex: none; margin-top: .2rem; color: var(--gold); }
.info-card__item strong { display: block; color: #f6f1e8; font-size: .95rem; margin-bottom: .15rem; }
.info-card__item a { color: var(--text-light); }
.info-card__item a:hover { color: var(--gold); }
.info-card__divider { height: 1px; background: var(--ink-3); margin-block: 1.5rem; }

/* ---------- 18. Testimonial / quote panel ---------- */
.quote-panel {
    position: relative; max-width: 820px; margin-inline: auto; text-align: center;
}
.quote-panel__mark { font-family: var(--font-display); font-size: 5rem; line-height: .5; color: var(--gold); display: block; margin-bottom: 1.4rem; }
.quote-panel blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-style: italic; color: var(--ink); line-height: 1.45; }
.section--dark .quote-panel blockquote { color: #f6f1e8; }
.section--dark .quote-panel blockquote p { color: inherit; }
.quote-panel figcaption { margin-top: 1.4rem; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.section--dark .quote-panel figcaption { color: var(--text-light); }

/* ---------- 19. CTA band ---------- */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ink); color: #fff; text-align: center;
    padding-block: clamp(4.5rem, 9vw, 7rem);
}
.cta-band__glow {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 60% 55% at 50% 110%, rgba(192, 148, 87, .28), transparent 70%),
        radial-gradient(ellipse 40% 40% at 85% -10%, rgba(192, 148, 87, .12), transparent 70%);
}
.cta-band__title { font-size: clamp(2rem, 4.2vw, 3.1rem); color: #fdfaf4; margin-bottom: 1.1rem; text-wrap: balance; }
.cta-band__text { max-width: 560px; margin: 0 auto 2.3rem; color: var(--text-light); font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- 20. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
    .hero__bg { transform: none !important; }
}

/* ---------- 21. Utilities ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1.25rem; }
.mb-2 { margin-bottom: 2rem; }
.narrow-center { max-width: 800px; margin-inline: auto; }
.section--flush-bottom { padding-bottom: 0; }
.section-head--flush { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- 22. Footer ---------- */
.site-footer { background: #120e0a; color: var(--text-light); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.site-footer__grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem;
    padding-bottom: 3rem;
}
.site-footer__col { min-width: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .site-footer__grid { grid-template-columns: 1fr; } }

.brand--footer .brand__name { color: #f6f1e8; }
.site-footer__blurb { margin-top: 1.2rem; font-size: .94rem; max-width: 320px; }
.site-footer__contact { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.2rem; }
.site-footer__contact a { color: var(--gold); font-weight: 600; }
.site-footer__contact a:hover { color: #d8b27a; }

.site-footer__heading {
    color: #f6f1e8; font-size: .85rem; font-family: var(--font-body);
    font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.site-footer__list { display: grid; gap: .55rem; }
.site-footer__list a { color: var(--text-light); font-size: .94rem; }
.site-footer__list a:hover { color: var(--gold); }

.site-footer__hours { display: grid; gap: .45rem; font-size: .92rem; }
.site-footer__hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.08); padding-bottom: .45rem; }
.site-footer__areas-note { margin-top: 1.2rem; font-size: .85rem; color: #8d8275; }

.site-footer__bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
    font-size: .84rem; color: #8d8275;
}
