:root {
    /* Core Palette */
    --slate-deep: #14202a;
    --slate-hero: #1f2f3b;
    --brass: #c08a3e;
    --brass-dark: #9a6c28;
    --paper: #fafaf8;
    --stone: #ecebe6;
    --muted: #5b6670;

    /* Supporting Colors */
    --white: #ffffff;
    --blue-grey-light: #b8c0c7;
    --grey-pale: #e6e9ec;
    --grey-cool: #c4ccd2;
    --slate-dark: #34414b;
    --slate-divider: #2d3e4b;
    --border-input: #cfd3d6;
    --border-review: #dcdad3;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: var(--paper);
    color: var(--slate-deep);
    animation: fadeIn 0.8s ease-out;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 400;
}

h1, h2, h3 {font-family:'Newsreader',Georgia,serif;
    font-weight:500;
    line-height:1.1;
    letter-spacing:-.01em
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--white);
    text-decoration: none;
}

html,
body {
    background-color: var(--slate-deep, #14202a);
    color: var(--slate-deep, #14202a);
}

/* =========================================
   NAVIGATION BAR (Desktop Full-Width Bar)
   ========================================= */

.menu-toggle, .phone-icon, .mobile-estimate-li {
    display: none;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px clamp(20px, 4vw, 60px);
    
    /* Transparent initial state with top shadow gradient for readability */
    background: linear-gradient(to bottom, rgba(20, 32, 42, 0.85) 0%, rgba(20, 32, 42, 0) 100%);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Solid state triggered via JS on scroll */
.top-bar.scrolled {
    background: var(--slate-deep);
    padding: 14px clamp(20px, 4vw, 60px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Re-apply Pill Format ONLY on Mobile/Tablet */
@media (max-width: 930px) {
    .top-bar {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        border-radius: 40px;
        padding: 15px 20px;
        background: rgba(20, 32, 42, 0.9);
        backdrop-filter: blur(8px);
    }
    .top-bar.scrolled {
        background: var(--slate-deep);
        padding: 15px 20px;
    }
}

#navigation, .top-actions {
    flex: 1;
    flex-basis: 0;
}

.top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Nav Links & Dropdown */
.page-links {
    display: flex;
    list-style: none;
    gap: 0 clamp(15px, 2vw, 30px);
    font-size: clamp(17px, 1.1vw, 20px);
}

.nav-link {
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.services-dropdown {
    position: relative;
    height: 100%;
}

.services {
    position: absolute; 
    top: 100%;
    left: -15px;
    list-style: none;
    padding: 12px 15px;
    margin-top: 0px;
    background-color: var(--slate-deep);
    /* border: 1px solid var(--slate-divider); */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.services li a {
    color: var(--white);
    display: block;   
    white-space: nowrap; 
    padding: 6px 8px;
    transition: color 0.2s ease;
}

@media(hover:hover) {
    .services-dropdown:hover .services {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-link:hover, .services li a:hover {
        color: var(--brass);
    }
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 0.7vw, 10px);
    font-weight: 700;
    color: var(--brass, #c08a3e);
}

.logo-mark {
    width: clamp(32px, 2.8vw, 44px);
    height: auto;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.logo-top {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 2.5vw, 31px);
    font-weight: 700;
    color: var(--white, #ffffff);
    line-height: 0.95;
    letter-spacing: 0.07em;
    white-space: nowrap;
    text-transform: uppercase;
}

.logo-bottom {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(8.5px, 1vw, 15px);
    color: var(--brass, #c08a3e);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 4px;
    white-space: nowrap;
    letter-spacing: 0.2em;
    /* margin-right: -0.22em;  */
}
/* Border around box */
.logo-box {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 3px solid rgba(192, 138, 62, 0.55);
    border-radius: 8px;
    /* background-color: rgba(20, 32, 42, 0.25); */
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

@media (max-width: 930px) {
    .logo-box {
        border: none;
    }
}



























/* Right Side Actions */
.phone-link {
    font-size: clamp(18px, 1.1vw, 20px);
    padding-right: clamp(15px, 2vw, 30px);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.phone-link:hover {
    color: var(--brass);
}

.estimate-btn {
    display: inline-block;
    background-color: var(--brass);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: clamp(14px, 1vw, 16px);
    white-space: nowrap;
}

.estimate-btn:hover {
    background-color: var(--brass-dark);
    transform: translateY(-2px);
}


/* =========================================
   FULL-SCREEN SLIDESHOW HERO
   ========================================= */

/* =========================================
   FULL-SCREEN SLIDESHOW HERO (BOTTOM-LEFT)
   ========================================= */

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    background-color: var(--slate-hero); /* Fallback before images load */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.slides-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.slide.active {
    opacity: 1;
    transform: scale(1); /* Subtle slow zoom-out effect */
}

/* Stronger contrast in bottom-left while keeping upper house view open */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to top right,
        rgba(20, 32, 42, 0.85) 0%,
        rgba(20, 32, 42, 0.45) 45%,
        rgba(20, 32, 42, 0.2) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 900px;
    width: 90%;
    color: var(--white);
    padding: 0 clamp(20px, 4vw, 60px) clamp(40px, 7vh, 80px) clamp(20px, 4vw, 60px);
}

.hero-title {
    order: 1;
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: clamp(38px, 5vw, 55px);
    line-height: 1.12;
    margin-bottom: 14px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.text-brass {
    color: var(--brass);
}

.hero-eyebrow {
    order: 2;
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--grey-pale);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-cta-group {
    order: 3;
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 15px 30px;
    font-size: 16px;
}

.ghost-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1.5px solid var(--white);
    border-radius: 6px;
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ghost-btn:hover {
    background-color: var(--white);
    color: var(--slate-deep);
}

@media (max-width: 650px) {
    .hero-content {
        padding-bottom: 36px;
    }

    .hero-cta-group {
        width: 100%;
    }

    .hero-btn,
    .ghost-btn {
        text-align: center;
    }
}

.ghost-btn:hover {
    background-color: var(--white);
    color: var(--slate-deep);
}


/* =========================================
   RELOCATED ESTIMATE FORM SECTION
   ========================================= */

#estimate-request-form-buffer {
    scroll-margin-top: 80px; /* Prevents fixed navbar from covering the form when clicked */
}

.estimate-section {
    background-color: var(--stone);
    padding: 90px 20px;
}

.estimate-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--white);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(20, 32, 42, 0.06);
    border: 1px solid var(--border-review);
}

.estimate-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-title {
    font-size: clamp(26px, 2.5vw, 36px);
    color: var(--slate-deep);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--muted);
    font-size: 16px;
}

.estimate-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimate-label {
    color: var(--slate-deep);
    font-weight: 500;
    font-size: 14px;
}

.estimate-form input, 
.estimate-form textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-input);
    border-radius: 6px;
    background-color: var(--paper);
    color: var(--slate-deep);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.estimate-form input:focus, 
.estimate-form textarea:focus {
    outline: none;
    border-color: var(--brass);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(192, 138, 62, 0.15);
}

.submit-btn {
    background-color: var(--brass);
    color: var(--white);
    padding: 16px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--brass-dark);
    transform: translateY(-2px);
}

/* =========================================
   SHARED SECTION UTILITIES & BUTTONS
   ========================================= */

.wrap {
    max-width: 1320px;
    width: 90%;
    margin: 0 auto;
}

section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.sec-h {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.15;
    color: var(--slate-deep);
    margin-bottom: 16px;
}

.lead {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.65;
    max-width: 60ch;
    color: var(--muted);
}

.sec-cta {
    margin-top: 32px;
}

.btn {
    display: inline-block;
    background-color: var(--brass);
    color: var(--white);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.4px;
    padding: 14px 28px;
    border-radius: 6px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--brass-dark);
    transform: translateY(-2px);
}

.btn:focus-visible,
.card:focus-visible,
.step a:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}


/* =========================================
   BUILDER HIGHLIGHT SECTION
   ========================================= */

.about-section {
    background-color: var(--paper);
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.ph {
    width: 100%;
    max-width: 440px;
    max-height: 75vh;
    aspect-ratio: 4 / 5;
    justify-self: center;
    background: linear-gradient(135deg, var(--stone), var(--border-input));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(20, 32, 42, 0.08);
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.vals {
    list-style: none;
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.vals li {
    padding-left: 18px;
    border-left: 3px solid var(--brass);
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--slate-dark);
}

.vals b {
    display: block;
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--slate-deep);
    margin-bottom: 3px;
}


/* =========================================
   CONSTRUCTION PROCESS SECTION
   ========================================= */

.process {
    background-color: var(--slate-deep);
    color: var(--white);
}

.process .sec-h {
    color: var(--white);
}

.process .lead {
    color: var(--blue-grey-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background-color: var(--slate-divider);
    border: 1px solid var(--slate-divider);
}

.step {
    background-color: var(--slate-deep);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-num {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--brass);
    margin-bottom: 12px;
}

.step h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.65rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--blue-grey-light);
}

.step a {
    font-family: 'Work Sans', sans-serif;
    color: var(--brass);
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    margin-top: auto;
    padding-top: 20px;
    transition: color 0.25s ease, transform 0.2s ease;
}

.step a:hover {
    color: var(--white);
    transform: translateX(3px);
}


/* =========================================
   RECENT PROJECTS SECTION
   ========================================= */

.projects-section {
    background-color: var(--stone);
}

.feat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-hero), var(--muted));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(20, 32, 42, 0.1);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card span {
    position: absolute;
    inset: auto 0 0;
    padding: 48px 22px 20px;
    background: linear-gradient(to top, rgba(20, 32, 42, 0.9) 0%, rgba(20, 32, 42, 0) 100%);
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.2px;
}


/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

@media (max-width: 930px) {
    .about {
        grid-template-columns: 1fr;
    }

    .ph {
        max-height: 480px;
        aspect-ratio: auto;
    }

    .steps,
    .feat {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 28px 24px;
    }
}


/* =========================================
   GOOGLE REVIEWS SECTION
   ========================================= */

.reviews-section {
    background-color: var(--paper);
}

.reviews-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
}

.reviews-eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 10px;
}

.rating-summary {
    background-color: var(--slate-deep);
    color: var(--white);
    padding: 24px 28px;
    border-radius: 10px;
    border: 1px solid var(--slate-divider);
    box-shadow: 0 12px 28px rgba(20, 32, 42, 0.08);
}

.rating-score-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.rating-score {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}

.stars,
.review-stars {
    color: var(--brass);
    letter-spacing: 2px;
    line-height: 1;
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.rating-source {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-cool);
}

.rating-note {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--blue-grey-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-top: 3px solid var(--brass);
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 24px rgba(20, 32, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(20, 32, 42, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-stars {
    font-size: 1rem;
}

.review-location {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.review-quote {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--slate-dark);
}

.review-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--stone);
}

.reviewer-name {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--slate-deep);
}

.review-tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--brass-dark);
}

@media (max-width: 930px) {
    .reviews-top,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}


/*  */
/*  */
/* FAQ */
.faq-section {
    max-width: 1500px;
    width: 90%;
    margin: 80px auto;
}
.faq-title {
    font-size: clamp(32px, 3vw, 48px);
    color: #32a852;
    text-align: center;
    position: relative;
    z-index: 2;
    letter-spacing: 3px;
}
.faq-section .divider {
    margin-left: auto;
    margin-right: auto;
}
.faq-container {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
}
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(14px, 3vw, 26px);
}
.faq-question:hover {
    background-color: #252525;
}
.faq-icon {
    font-size: 24px;
    color: #32a852;
    transition: transform 0.3s ease;
}
/* The Answer - Hidden by default */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #111;
}
.faq-answer p, .faq-answer ul li {
    padding: 5px 25px 7px 25px;
    color: #eee;
    font-size: 18px;
    line-height: 1.6;
    margin-top: 10px;
}
/* Active State */
.faq-item.active .faq-answer {
    max-height: 1400px; /* Adjust if answers are very long */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: white;
}

/*  */
/*  */
/*  */
.page-end-btn {
    display: flex;
    justify-content: center;
}
#page-end-btn {
    
    max-width: 400px;
    padding: 15px clamp(8px, 1.5vw, 20px);
    font-size: clamp(15px, 1.5vw, 22px); 
}


/* =========================================
   SHARED SECTION UTILITIES & BUTTONS
   ========================================= */

.wrap {
    max-width: 1320px;
    width: 90%;
    margin: 0 auto;
}

section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.sec-h {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.15;
    color: var(--slate-deep);
    margin-bottom: 16px;
}

.lead {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.65;
    max-width: 60ch;
    color: var(--muted);
}

.sec-cta {
    margin-top: 32px;
}

.btn {
    display: inline-block;
    background-color: var(--brass);
    color: var(--white);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.4px;
    padding: 14px 28px;
    border-radius: 6px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--brass-dark);
    transform: translateY(-2px);
}

.btn:focus-visible,
.card:focus-visible,
.step a:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}


/* =========================================
   1. CONSULTATION FORM SECTION
   ========================================= */

.estimate-section {
    background-color: var(--stone);
}


/* =========================================
   2. RECENT PROJECTS SECTION
   ========================================= */

.projects-section {
    background-color: var(--paper);
}

.feat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-hero), var(--muted));
    color: var(--white);
    box-shadow: 0 12px 28px rgba(20, 32, 42, 0.1);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card span {
    position: absolute;
    inset: auto 0 0;
    padding: 48px 22px 20px;
    background: linear-gradient(to top, rgba(20, 32, 42, 0.9) 0%, rgba(20, 32, 42, 0) 100%);
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.2px;
}


/* =========================================
   3. CONSTRUCTION PROCESS SECTION
   ========================================= */

.process {
    background-color: var(--slate-deep);
    color: var(--white);
}

.process .sec-h {
    color: var(--white);
}

.process .lead {
    color: var(--blue-grey-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background-color: var(--slate-divider);
    border: 1px solid var(--slate-divider);
}

.step {
    background-color: var(--slate-deep);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-num {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--brass);
    margin-bottom: 12px;
}

.step h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.65rem;
    color: var(--white);
    margin-bottom: 12px;
}

.step p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--blue-grey-light);
}

.step a {
    font-family: 'Work Sans', sans-serif;
    color: var(--brass);
    font-weight: 500;
    font-size: 15px;
    display: inline-block;
    margin-top: auto;
    padding-top: 20px;
    transition: color 0.25s ease, transform 0.2s ease;
}

.step a:hover {
    color: var(--white);
    transform: translateX(3px);
}


/* =========================================
   4. BUILDER HIGHLIGHT (ABOUT) SECTION
   ========================================= */

.about-section {
    background-color: var(--paper);
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.ph {
    width: 100%;
    max-width: 440px;
    max-height: 75vh;
    aspect-ratio: 4 / 5;
    justify-self: center;
    background: linear-gradient(135deg, var(--stone), var(--border-input));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(20, 32, 42, 0.08);
}

.ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.vals {
    list-style: none;
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.vals li {
    padding-left: 18px;
    border-left: 3px solid var(--brass);
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--slate-dark);
}

.vals b {
    display: block;
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--slate-deep);
    margin-bottom: 3px;
}


/* =========================================
   5. GOOGLE REVIEWS SECTION
   ========================================= */

.reviews-section {
    background-color: var(--stone);
}

.reviews-top {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: end;
}

.reviews-eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 10px;
}

.rating-summary {
    background-color: var(--slate-deep);
    color: var(--white);
    padding: 24px 28px;
    border-radius: 10px;
    border: 1px solid var(--slate-divider);
    box-shadow: 0 12px 28px rgba(20, 32, 42, 0.08);
}

.rating-score-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.rating-score {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}

.stars,
.review-stars {
    color: var(--brass);
    letter-spacing: 2px;
    line-height: 1;
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.rating-source {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-cool);
}

.rating-note {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--blue-grey-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-top: 3px solid var(--brass);
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 24px rgba(20, 32, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(20, 32, 42, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.review-stars {
    font-size: 1rem;
}

.review-location {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.review-quote {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--slate-dark);
}

.review-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--stone);
}

.reviewer-name {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--slate-deep);
}

.review-tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--brass-dark);
}


/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

@media (max-width: 930px) {
    .about,
    .steps,
    .feat,
    .reviews-top,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .ph {
        max-width: 340px;
        max-height: 55vh;
        aspect-ratio: 4 / 5;
    }

    .step {
        padding: 28px 24px;
    }
}

/* Footer */
/* =========================================
   FOOTER
   ========================================= */

.main-footer {
    background-color: var(--slate-deep);
    color: var(--blue-grey-light);
    padding: 72px 0 28px 0;
    border-top: 1px solid var(--slate-divider);
}

.footer-container {
    max-width: 1320px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(32px, 5vw, 60px);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo .logo-mark {
    width: clamp(28px, 2.5vw, 38px);
}

.footer-logo .logo-text {
    width: clamp(120px, 10vw, 165px);
}

.footer-about {
    margin-top: 18px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--blue-grey-light);
    max-width: 38ch;
}

.footer-heading {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-links a {
    color: var(--grey-cool);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid var(--slate-divider);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--brass);
    border-color: var(--brass);
    transform: translateY(-2px);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 11px;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--blue-grey-light);
}

.footer-contact li span {
    color: var(--grey-cool);
    font-weight: 500;
}

.footer-links a,
.footer-contact a {
    color: var(--blue-grey-light);
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--brass);
}

.footer-bottom {
    max-width: 1320px;
    width: 90%;
    margin: 48px auto 0 auto;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 13.5px;
    color: var(--grey-cool);
}

.footer-divider {
    height: 1px;
    width: 100%;
    background-color: var(--slate-divider);
    margin-bottom: 22px;
}

@media (max-width: 930px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
/* Media Query I'm not sure about yet - Probably replace later */

@media (max-width: 930px) {
    .hero-card-container {
        grid-template-columns: 1fr;
    }

    .hero-cards-header {
        padding-top: 110px; /* Reduced from 170px */
    }
    
    .image-card {
        height: 350px;
        order: -1; 
    }

    .info-card {
        padding: 40px 30px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col {
        align-items: center;
    }
    .top-bar {
        padding: 10px 20px;
        top: 10px;
        
    }

    .top-bar > a {
    display: flex;
    justify-content: center;
    flex: 2; /* Gives the logo more priority in the center */
}

    .phone-text {
        display: none; 
    }
    .top-actions {
        gap: 15px;
        flex: 0; 
    }
    .logo-top {
        font-size: clamp(22px, 3vw, 38px);
    }
    .logo-bottom {
        font-size: clamp(11px, 1.5vw, 12px);
        letter-spacing: .16em;
    }
    .logo-mark {
        font-size: clamp(30px,4vw, 60px);
    }
    .logo {
        gap: clamp(5px, 2vw, 8px);
    }

    .logo-mark {
        width: clamp(40px, 5.5vw, 45px);
    }

    .logo-text {
        width: clamp(105px, 24vw, 145px);
    }


    .logo-bottom {
        
        margin-top: 3px;
        /* text-align: justify;
        text-align-last: justify; */
    }

  
    /* .logo {
        gap: 6px;
    }

    .logo-mark {
        width: 26px;
    }

    .logo-text {
        width: fit-content;
    }

    .logo-top {
        font-size: 22px;
        line-height: 0.95;
    }

    .logo-bottom {
        font-size: 7.2px;
        margin-top: 3px;
        letter-spacing: 0.24em;
        margin-right: -0.24em;
    } */

    .phone-icon {
        display: block; 
        color: white;
        width: clamp(30px, 4vw, 34px);
        height: clamp(30px, 4vw, 34px);
    }
    .why-choose-us {
        font-size: clamp(20px, 6vw, 34px);
        
    }
    .faq-title {
        font-size: clamp(2px, 7.5vw, 34px);
    }
    .paladins-white, .paladins-green {
        font-size: clamp(26px, 7vw, 38px);
    }
    .choose-us-intro {
        font-size: clamp(20px, 4.8vw, 27px);
    }
    .why-choose-us + .divider, .faq-title + .divider {
        margin-top: 10px;
    }
    .services-title {
        font-size: clamp(25px, 7vw, 40px);
    }
    .fertilizing-choose-us {
        font-size: clamp(20px, 6vw, 30px);
    }
    

    

    /* Hamburger Button Styling */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
     
    .bar {
        width: 25px;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
    }
    /* Animations for the "X" state */
    .bar.rotate-down {
        transform: translateY(8px) rotate(45deg);
        background-color: #c08a3e; /* Changes to Green */
    }

    .bar.fade-out {
        opacity: 0;
        transform: translateX(-10px);
    }

    .bar.rotate-up {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #c08a3e; /* Changes to Green */
    }



    .page-links {
        display: flex;             /* Keep it flex but hide it off-screen */
        position: fixed;           /* Stays in place even if you scroll */
        top: 0;
        right: 0;                  /* Aligns to the right edge */
        width: 100%;                /* Takes up most of the screen width */
        max-width: 300px;
        height: 100vh;             /* Full height of the screen */
        /* background-color: #1f2f3b; */
        background-color: #14202a;    
        flex-direction: column;
        padding: 100px 20px;       /* Extra top padding so links start below the header */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        
        /* THE SLIDE LOGIC */
        transform: translateX(100%); /* Starts completely off-screen to the right */
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0), visibility .4s;
        z-index: 999;              /* Sits behind the hamburger but above the content */
        overflow-y: auto
    }

    /* .page-links.active {
        display: flex;
    } */
     /* 2. Slide it in when active */
    .page-links.active {
        transform: translateX(0);
        visibility: visible;
    }


    /* .page-links li {
        margin: 15px 0;
    } */
    .page-links li {
        margin: 20px 0;
        text-align: left;
        border-bottom: 1px solid #222; /* Adds a subtle separator for mobile */
        padding-bottom: 10px;
    }
    .services li {
        margin: 0 !important;
        padding: 5px 0; /* Tight spacing for the sub-menu */
        border-bottom: none !important;
    }
    

    .services-dropdown:hover .services {
        display: block;
    }

    .services {
        display: block;           
        position: static;
        background: transparent;
        padding-left: 20px;
        opacity: 1;
        visibility: visible;
        visibility: hidden;
        transform: none;
       
        
        max-height: 0;            
        margin: 0;
        margin-bottom: 10px;
        padding: 0;
        overflow: hidden;         
        transition: all .4s ease-in-out;
    }

    /* When the JS toggles this class */
    .services.show {
        max-height: 300px;        
        margin-top: 10px;
        margin-bottom: 20px;
        padding-left: 20px;
        visibility: visible;
    }



    .services-dropdown {
    margin-bottom: 0 ;
    padding-bottom: 0 ;
    height: auto;   /* This is very important: Remove this property to get the spacing to work automatically */
}


    /* Estimate Button */

    .top-actions .estimate-btn {
        display: none;
    }

    .mobile-estimate-li {
        display: block;
        margin-top: 30px; /* Space it out from the other links */
    }
    /* button styling */
        .estimate-link-mobile {
        background-color: var(--brass-dark);
        color: white !important; 
        padding: 15px;
        border-radius: 10px;
        
        text-align: center;
        display: block;
        font-weight: bold;
        transition: all .4s ease-in-out;
    }
    .estimate-link-mobile:hover {
        transform: scale(1.01)
    }

    /* The menu backdrop blur */

    .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 999; /* Behind menu (1001), above content */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px); /* Optional: blurs the background content slightly */
}



/* Activate the backdrop when the menu is open */
.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}
#navigation {
        flex: 0; /* Prevents the nav container from taking up space in the bar */
    }

}















/* Responsive Fix for Mobile */
@media (max-width: 930px) {
    .contact-sidebar {
        border-right: none;
        border-bottom: 4px solid #32a852;
    }
    
    .contact-photo-inline {
        height: 200px;
        margin-bottom: 25px;
    }
}
/* Updated SVG Icon Containers */
.method-icon-svg {
    width: 45px;
    height: 45px;
    background: rgba(50, 168, 82, 0.1);
    color: #32a852; /* Brand Green */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(50, 168, 82, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.method-icon-svg svg {
    width: 24px;
    height: 24px;
}

/* Hover effects for the whole box */
.method-box:hover .method-icon-svg {
    background: #32a852;
    color: #000; /* Icon turns black when background turns green */
    transform: scale(1.05);
}

.method-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1a1a1a;
    padding: 18px;
    border-radius: 15px;
    border: 1px solid #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-box:hover {
    border-color: #32a852;
    background: #222;
    transform: translateX(8px);
}

/* Typography Tweaks */
.method-info strong {
    display: block;
    color: #32a852;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.method-info span {
    color: white;
    font-size: 16px;
    font-weight: 500;
}



/* =========================================
   ABOUT PAGE
   ========================================= */

.subpage-header {
    background-color: var(--slate-deep);
    color: var(--white);
    padding: 150px 0 76px 0;
    border-bottom: 1px solid var(--slate-divider);
}

.subpage-header-inner {
    max-width: 820px;
}

.subpage-eyebrow {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--brass);
    margin-bottom: 14px;
}

.subpage-title {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.14;
    color: var(--white);
    margin-bottom: 18px;
}

.subpage-intro {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.65;
    color: var(--grey-cool);
    max-width: 62ch;
}

/* Builder Story */
.about-story-section {
    background-color: var(--paper);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.about-portrait-frame {
    width: 100%;
    max-width: 460px;
    max-height: 75vh;
    aspect-ratio: 4 / 5;
    justify-self: center;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone), var(--border-input));
    box-shadow: 0 16px 36px rgba(20, 32, 42, 0.09);
}

.about-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.section-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 10px;
}

.body-copy {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--slate-dark);
    margin-bottom: 16px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--border-review);
}

.fact-value {
    display: block;
    font-family: 'Lora', serif;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--slate-deep);
    line-height: 1.1;
    margin-bottom: 6px;
}

.fact-label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--muted);
}

/* Core Principles */
.about-principles-section {
    background-color: var(--stone);
}

.principles-header {
    margin-bottom: 44px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.principle-card {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-left: 4px solid var(--brass);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 24px rgba(20, 32, 42, 0.04);
}

.principle-num {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 10px;
}

.principle-card h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.45rem;
    color: var(--slate-deep);
    margin-bottom: 10px;
}

.principle-card p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--slate-dark);
}

/* Service Area Callout */
.about-area-section {
    background-color: var(--paper);
}

.about-area-box {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-radius: 12px;
    padding: clamp(32px, 5vw, 56px);
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 14px 32px rgba(20, 32, 42, 0.05);
}

.about-area-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-area-actions .btn,
.about-area-actions .btn-outline-dark {
    text-align: center;
}

.btn-outline-dark {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 6px;
    border: 1.5px solid var(--slate-deep);
    color: var(--slate-deep);
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
    font-size: 15.5px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-outline-dark:hover {
    background-color: var(--slate-deep);
    color: var(--white);
}

/* Active Nav Indicator */
.nav-link.active {
    color: var(--brass);
}

@media (max-width: 930px) {
    .subpage-header {
        padding: 130px 0 56px 0;
    }

    .about-story-grid,
    .principles-grid,
    .about-area-box {
        grid-template-columns: 1fr;
    }

    .about-portrait-frame {
        max-width: 340px;
        max-height: 55vh;
    }

    .about-facts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}






/* =========================================
   PROJECTS GRID & LIGHTBOX CAROUSEL
   ========================================= */

.gallery-section {
    background-color: var(--paper);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-tile {
    display: flex;
    flex-direction: column;
    text-align: left;
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 10px 26px rgba(20, 32, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-tile:hover {
    transform: translateY(-4px);
    border-color: var(--brass);
    box-shadow: 0 18px 36px rgba(20, 32, 42, 0.11);
}

.project-tile:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.tile-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--slate-hero);
}

.tile-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.project-tile:hover .tile-image-wrap img {
    transform: scale(1.05);
}

.tile-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background-color: rgba(20, 32, 42, 0.88);
    color: var(--white);
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tile-info {
    padding: 22px 24px 24px 24px;
}

.tile-location {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--brass-dark);
    margin-bottom: 6px;
}

.tile-title {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.35rem;
    color: var(--slate-deep);
    margin-bottom: 6px;
}

.tile-meta {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
}

.gallery-cta-section {
    background-color: var(--stone);
}

/* Expanded <dialog> Lightbox */
.project-dialog {
    width: min(1160px, 94vw);
    max-width: 94vw;
    max-height: 92vh;
    margin: auto;
    padding: 0;
    border: 1px solid var(--border-review);
    border-radius: 12px;
    background-color: var(--paper);
    color: var(--slate-deep);
    box-shadow: 0 28px 70px rgba(10, 18, 25, 0.55);
    overflow: hidden;
}

.project-dialog::backdrop {
    background-color: rgba(20, 32, 42, 0.84);
    backdrop-filter: blur(4px);
}

.dialog-shell {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-review);
}

.dialog-location {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 2px;
}

.dialog-title {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    color: var(--slate-deep);
    line-height: 1.2;
}

.dialog-close {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-input);
    background-color: var(--paper);
    color: var(--slate-deep);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dialog-close:hover {
    background-color: var(--slate-deep);
    border-color: var(--slate-deep);
    color: var(--white);
}

/* Main Carousel Stage */
.carousel-stage {
    position: relative;
    background-color: var(--slate-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(300px, 56vh, 620px);
    overflow: hidden;
}

.carousel-figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(20, 32, 42, 0.8);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-nav.prev {
    left: 16px;
}

.carousel-nav.next {
    right: 16px;
}

.carousel-nav:hover {
    background-color: var(--brass);
    border-color: var(--brass);
}

/* Caption & Thumbnail Strip */
.dialog-footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-review);
    padding: 14px 24px 18px 24px;
}

.dialog-caption-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.dialog-caption {
    font-family: 'Work Sans', sans-serif;
    font-size: 14.5px;
    color: var(--slate-dark);
}

.dialog-counter {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.carousel-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-btn {
    width: 76px;
    height: 54px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    background-color: var(--slate-hero);
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-btn:hover,
.thumb-btn.active {
    opacity: 1;
    border-color: var(--brass);
}

/* Responsive Breakpoints */
@media (max-width: 1000px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-dialog {
        width: 96vw;
        max-width: 96vw;
    }

    .dialog-header,
    .dialog-footer {
        padding: 14px 16px;
    }

    .carousel-stage {
        height: 44vh;
    }

    .carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .thumb-btn {
        width: 62px;
        height: 44px;
    }
}




/* =========================================
   CONSTRUCTION PROCESS PAGE
   ========================================= */

.stage-paper {
    background-color: var(--paper);
}

.stage-stone {
    background-color: var(--stone);
}

.stage-slate {
    background-color: var(--slate-deep);
    color: var(--white);
}

.phase-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.phase-jump-nav a {
    font-family: 'Work Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--grey-cool);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--slate-divider);
    background-color: rgba(255, 255, 255, 0.03);
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.phase-jump-nav a:hover {
    color: var(--white);
    border-color: var(--brass);
    background-color: rgba(192, 138, 62, 0.14);
}

.stage-badge {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 10px;
}

.stage-slate .stage-badge {
    color: var(--brass);
}

.stage-slate .sec-h {
    color: var(--white);
}

.stage-slate .lead {
    color: var(--blue-grey-light);
}

.stage-header-block {
    margin-bottom: 40px;
}

/* Stage 01: Walkthrough Split */
.stage-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 76px);
    align-items: center;
}

.stage-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--slate-hero);
    box-shadow: 0 16px 36px rgba(20, 32, 42, 0.09);
}

.stage-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stage 02: Estimate Overview & Optional Calculator */
.estimate-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.estimate-card {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-top: 3px solid var(--brass);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 10px 24px rgba(20, 32, 42, 0.04);
}

.estimate-card h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--slate-deep);
    margin-bottom: 10px;
}

.estimate-card p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--slate-dark);
}

/* Optional Calculator Styles (Ready when uncommented) */
.calc-wrapper {
    margin-top: 36px;
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-radius: 12px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 14px 32px rgba(20, 32, 42, 0.06);
}

.calc-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--stone);
}

.calc-tag {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass-dark);
    margin-bottom: 6px;
}

.calc-header h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--slate-deep);
    margin-bottom: 6px;
}

.calc-header p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: var(--muted);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 32px;
    align-items: start;
}

.calc-field {
    margin-bottom: 24px;
}

.calc-field label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: var(--slate-deep);
    margin-bottom: 12px;
}

.calc-field input[type="range"] {
    width: 100%;
    accent-color: var(--brass);
    cursor: pointer;
}

.calc-range-scale {
    display: flex;
    justify-content: space-between;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.calc-tier-pill {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: var(--stone);
    color: var(--slate-deep);
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.calc-options {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.calc-options legend {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-deep);
    margin-bottom: 12px;
}

.calc-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14.5px;
    color: var(--slate-dark);
    cursor: pointer;
}

.calc-check input {
    margin-top: 3px;
    accent-color: var(--brass);
}

.calc-output {
    background-color: var(--slate-deep);
    color: var(--white);
    border-radius: 10px;
    padding: 28px;
    border: 1px solid var(--slate-divider);
}

.calc-output-label {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brass);
    margin-bottom: 8px;
}

.calc-output-range {
    font-family: 'Lora', serif;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.calc-rate-note {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--blue-grey-light);
    margin-bottom: 14px;
}

.calc-disclaimer {
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--grey-cool);
    margin-bottom: 20px;
}

.calc-cta-btn {
    width: 100%;
    text-align: center;
}

/* Stage 03: Build Storyline */
.build-storyline {
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.story-step {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: 24px;
    border-radius: 12px;
    background-color: var(--slate-hero);
    border: 1px solid var(--slate-divider);
}

.story-step.reverse .story-image {
    order: 2;
}

.story-step.reverse .story-content {
    order: 1;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--slate-deep);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-index {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 8px;
}

.story-content h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.65rem;
    color: var(--white);
    margin-bottom: 12px;
}

.story-content p {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--blue-grey-light);
}

/* Stage 04: After the Build */
.aftercare-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.aftercare-panel {
    background-color: var(--white);
    border: 1px solid var(--border-review);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 12px 28px rgba(20, 32, 42, 0.05);
}

.aftercare-panel h3 {
    font-family: 'Lora', serif;
    font-weight: 500;
    font-size: 1.45rem;
    color: var(--slate-deep);
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .stage-split,
    .estimate-overview-grid,
    .calc-grid,
    .story-step,
    .aftercare-box {
        grid-template-columns: 1fr;
    }

    .story-step.reverse .story-image,
    .story-step.reverse .story-content {
        order: 0;
    }
}