:root {
    --forest: #193b31;
    --forest-dark: #102a23;
    --gold: #b59a62;
    --ivory: #f6f2e9;
    --ink: #26352e;
    --muted: #56635a;
    --panel: rgba(250, 247, 240, 0.88);
    --line: rgba(181, 154, 98, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    background: var(--forest-dark);
}

a {
    color: inherit;
}

.page-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-home .page-background {
    background-image: url("../../assets/images/demonstrations/home-services/olivias-opulent-home-background-master.png");
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(16, 42, 35, 0.12);
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.5rem clamp(1.25rem, 5vw, 5rem);
    min-height: 96px;
    background: rgba(246, 242, 233, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand img {
    display: block;
    width: clamp(240px, 23vw, 350px);
    max-height: 84px;
    height: auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 2rem);
}

.site-nav a {
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #98753a;
}

.nav-estimate {
    border: 1px solid var(--gold);
    padding: 0.7rem 1rem;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem clamp(1.25rem, 7vw, 7rem);
}

.glass-panel {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content {
    width: min(100%, 650px);
    padding: clamp(2rem, 4vw, 4rem);
}

.eyebrow {
    color: #92743e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    margin: 1.25rem 0;
    font-size: clamp(2.8rem, 5vw, 5.3rem);
}

h2 {
    font-size: clamp(2.3rem, 4vw, 4rem);
}

h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

h1 em, h2 em {
    color: #a48145;
    font-weight: 400;
}

.hero-description {
    max-width: 480px;
    font-size: 1.08rem;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 0.85rem 1.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.button-primary {
    background: var(--forest);
    color: white;
    border: 1px solid var(--forest);
}

.button-primary:hover {
    background: var(--forest-dark);
}

.button-outline {
    border: 1px solid var(--forest);
    color: var(--forest);
}

.button-outline:hover {
    background: var(--forest);
    color: white;
}

.services-section {
    padding: 5rem clamp(1.25rem, 7vw, 7rem);
}

.section-intro {
    max-width: 750px;
    padding: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1150px;
}

.service-card {
    padding: clamp(2rem, 4vw, 3rem);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--forest);
    font-weight: 700;
    text-decoration-color: var(--gold);
    text-underline-offset: 6px;
}

.closing-section {
    display: flex;
    justify-content: flex-end;
    padding: 6rem clamp(1.25rem, 7vw, 7rem);
}

.closing-panel {
    width: min(100%, 650px);
    padding: clamp(2rem, 4vw, 4rem);
}

.site-footer {
    padding: 2.5rem 1.25rem;
    background: rgba(16, 42, 35, 0.96);
    color: var(--ivory);
    text-align: center;
    font-size: 0.78rem;
}

.site-footer p {
    max-width: 650px;
    margin: 0.5rem auto;
}

.return-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.3rem;
    border: 1px solid var(--gold);
    border-radius: 30px;
    text-decoration: none;
}

.return-link:hover {
    background: var(--gold);
    color: var(--forest-dark);
}

@media (max-width: 800px) {
    .site-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
    }

    .site-nav {
        justify-content: center;
    }

    .hero {
        min-height: 70vh;
        padding: 4rem 1.25rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services-section,
    .closing-section {
        padding: 3rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .site-nav {
        gap: 0.65rem 1rem;
    }

    .site-nav a {
        font-size: 0.68rem;
    }

    .hero-content,
    .section-intro,
    .service-card,
    .closing-panel {
        padding: 1.6rem;
    }

    h1 {
        font-size: clamp(2.25rem, 10vw, 3.1rem);
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

/* Full signature logo: refined translucent presentation card. */

.page-home .signature-logo {
    position: absolute;
    top: 195px;
    right: clamp(2rem, 5vw, 6rem);
    width: clamp(300px, 30vw, 480px);
    padding: 1.25rem 1.5rem;
    background: rgba(250, 247, 240, 0.90);
    border: 1px solid rgba(181, 154, 98, 0.55);
    border-radius: 4px;
    box-shadow: 0 12px 35px rgba(20, 35, 28, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
}

.page-home .signature-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Keep the full logo out of the way of the hero text on narrower screens. */

@media (min-width: 601px) and (max-width: 1100px) {
    .page-home .signature-logo {
        top: 180px;
        right: 1.5rem;
        width: clamp(220px, 30vw, 300px);
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .site-header {
        min-height: 0;
        padding: 0.65rem 1rem;
    }

    .brand img {
        width: min(78vw, 280px);
        max-height: 76px;
    }

    .page-home .signature-logo {
        position: relative;
        top: auto;
        right: auto;
        width: min(90%, 350px);
        margin: 1.5rem auto 0;
        padding: 1rem;
    }
}

/* Residential Cleaning: scoped additions. Home page styling retained. */

.page-residential .page-background {
    background-image: url("../../assets/images/demonstrations/home-services/olivias-opulent-residential-background-master.png");
}

.page-residential .residential-main {
    padding: 0 clamp(1rem,5vw,5rem) 5rem;
}

.page-residential .res-hero {
    min-height: 85vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0;
}

.page-residential .res-hero-text {
    width: min(100%,640px);
    padding: clamp(2rem,4vw,4rem);
}

.page-residential .res-hero-text p:not(.eyebrow) {
    font-size: 1.1rem;
}

.page-residential .res-hero-text .button {
    margin-top: 1.25rem;
}

.page-residential .res-price {
    width: min(100%,350px);
    padding: 2rem;
    align-self: flex-end;
}

.page-residential .res-price-label {
    font-family: Georgia,serif;
    font-size: 1.4rem;
    margin-bottom: 0;
}

.page-residential .res-price-number {
    font-family: Georgia,serif;
    font-size: 4rem;
    line-height: 1.2;
    color: var(--forest);
    margin: .4rem 0 1rem;
}

.page-residential .res-price-number small {
    font: normal .9rem Arial,sans-serif;
    color: var(--muted);
}

.page-residential .res-price>p:last-child {
    font-size: .85rem;
}

.page-residential .res-experience,.page-residential .res-details {
    max-width: 1220px;
    margin: 0 auto 5rem;
    padding: clamp(1.5rem,4vw,4rem);
}

.page-residential .res-experience>h2,.page-residential .res-details>h2 {
    margin: .5rem 0;
}

.page-residential .res-experience-grid {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr);
    gap: clamp(1.5rem,4vw,4rem);
    margin-top: 2.5rem;
    align-items: start;
}

.page-residential fieldset {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
    margin: 0 0 2rem;
    min-width: 0;
}

.page-residential legend {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #92743e;
    padding-right: 1rem;
}

.page-residential .res-choices,.page-residential .res-spaces,.page-residential .res-frequency {
    display: grid;
    gap: .75rem;
}

.page-residential .res-choices {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.page-residential .res-spaces {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.page-residential .res-frequency {
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.page-residential .res-controls label {
    display: block;
    position: relative;
    padding: 1rem;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(25,59,49,.25);
    cursor: pointer;
}

.page-residential .res-controls label.chosen {
    background: rgba(219,231,220,.92);
    border-color: var(--forest);
    box-shadow: inset 0 0 0 1px var(--forest);
}

.page-residential .res-controls label:focus-within {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.page-residential .res-controls input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.page-residential .res-controls strong {
    display: block;
    font-family: Georgia,serif;
    font-weight: normal;
    font-size: 1.15rem;
    line-height: 1.3;
}

.page-residential .res-controls small {
    display: block;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .5rem;
    line-height: 1.5;
}

.page-residential .res-summary {
    background: rgba(25,59,49,.96);
    color: var(--ivory);
    padding: 2rem;
    position: sticky;
    top: 115px;
}

.page-residential .res-summary .eyebrow {
    color: #dbc394;
}

.page-residential .res-summary h3 {
    margin: .4rem 0 1.5rem;
}

.page-residential .res-summary h3 em {
    color: #dbc394;
}

.page-residential .res-summary dt {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #dbc394;
    margin-top: 1.2rem;
}

.page-residential .res-summary dd {
    margin: .3rem 0 0;
    font-family: Georgia,serif;
    font-size: 1.2rem;
}

.page-residential .res-summary>p:not(.eyebrow) {
    font-size: .85rem;
    margin: 1.5rem 0;
}

.page-residential .res-summary .button {
    background: var(--ivory);
    color: var(--forest);
    border-color: var(--ivory);
    cursor: pointer;
}

.page-residential .res-summary .text-link {
    color: #dbc394;
}

.page-residential .res-details details {
    border-top: 1px solid var(--line);
    padding: 1.15rem 0;
}

.page-residential .res-details details:last-child {
    border-bottom: 1px solid var(--line);
}

.page-residential .res-details summary {
    font-family: Georgia,serif;
    font-size: 1.55rem;
    cursor: pointer;
}

.page-residential .res-details details p {
    max-width: 760px;
    color: var(--muted);
}

.page-residential .res-ending {
    max-width: 750px;
    margin: 0 0 0 auto;
    padding: clamp(2rem,4vw,4rem);
}

.page-residential .res-ending .button {
    margin-top: 1rem;
}

@media (max-width:1000px) {
    .page-residential .res-hero {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .page-residential .res-price {
        align-self: flex-start;
    }

    .page-residential .res-experience-grid {
        grid-template-columns: 1fr;
    }

    .page-residential .res-summary {
        position: static;
    }
}

@media (max-width:650px) {
    .page-residential .residential-main {
        padding: 0 1rem 3rem;
    }

    .page-residential .res-hero {
        padding: 2rem 0;
        gap: 1rem;
    }

    .page-residential .res-hero-text,.page-residential .res-price {
        width: 100%;
    }

    .page-residential .res-choices {
        grid-template-columns: 1fr;
    }

    .page-residential .res-spaces,.page-residential .res-frequency {
        grid-template-columns: 1fr 1fr;
    }

    .page-residential .res-experience,.page-residential .res-details {
        margin-bottom: 2rem;
    }

    .page-residential .res-summary {
        padding: 1.5rem;
    }
}

/* Commercial page only: load after the existing shared Olivia's stylesheet. */

.page-commercial .page-background {
    background-image: url("../../assets/images/demonstrations/home-services/olivias-opulent-commercial-background-master.png");
}

.commercial-main {
    padding: 0 clamp(1rem,6vw,6rem) 5rem;
}

.commercial-hero {
    min-height: 75vh;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0;
}

.commercial-intro,.commercial-builder,.commercial-policy,.commercial-ending {
    padding: clamp(1.5rem,4vw,4rem);
}

.commercial-intro h1 {
    font-size: clamp(2.8rem,5vw,5.2rem);
}

.commercial-intro .button {
    margin-top: 1.2rem;
}

.commercial-builder {
    scroll-margin-top: 115px;
}

.commercial-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.commercial-controls fieldset {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
    margin: 0;
    min-width: 0;
}

.commercial-controls legend {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--forest);
}

.commercial-options {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .75rem;
}

.commercial-options label,.commercial-controls fieldset>label {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem;
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(25,59,49,.2);
    cursor: pointer;
}

.commercial-options label:has(input:checked) {
    background: rgba(181,154,98,.2);
    border-color: var(--gold);
}

.commercial-controls input {
    accent-color: var(--forest);
}

.commercial-controls select {
    width: 100%;
    min-width: 0;
    padding: .75rem;
    border: 1px solid var(--gold);
    background: var(--ivory);
    font: inherit;
}

#custom-days {
    margin-top: 1rem;
    padding: 1rem;
    border-left: 3px solid var(--gold);
    background: rgba(255,255,255,.55);
}

#custom-days .commercial-options {
    margin-top: .5rem;
}

#day-error {
    color: #9b2828;
    font-weight: 700;
}

.commercial-summary {
    position: sticky;
    top: 110px;
    padding: clamp(1.5rem,3vw,3rem);
    background: rgba(16,42,35,.96);
    color: var(--ivory);
    border: 1px solid var(--gold);
    box-shadow: 0 16px 45px rgba(0,0,0,.2);
}

.commercial-summary .eyebrow,.commercial-summary em {
    color: #e8d0a0;
}

.commercial-summary dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.commercial-summary dt,.commercial-summary dd {
    margin: 0;
    padding: .8rem 0;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: .85rem;
}

.commercial-summary dd {
    text-align: right;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.commercial-summary>p {
    font-size: .84rem;
}

.commercial-summary .button {
    width: 100%;
    background: #ead6ad;
    border-color: #ead6ad;
    color: var(--forest-dark);
    cursor: pointer;
}

.commercial-summary .text-link {
    color: #ead6ad;
}

#copy-status {
    min-height: 1.4em;
    color: #ead6ad;
}

.commercial-policy {
    margin-top: 4rem;
}

.commercial-policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.commercial-policy article {
    border-top: 1px solid var(--gold);
}

.commercial-ending {
    max-width: 680px;
    margin: 4rem 0 0 auto;
}

@media (max-width:950px) {
    .commercial-hero,.commercial-grid {
        grid-template-columns: 1fr;
    }

    .commercial-hero {
        min-height: 0;
    }

    .commercial-summary {
        position: static;
    }
}

@media (max-width:600px) {
    .commercial-main {
        padding: 0 1rem 3rem;
    }

    .commercial-hero {
        padding: 2rem 0;
        gap: 1rem;
    }

    .commercial-options,.commercial-policy-grid {
        grid-template-columns: 1fr;
    }

    .commercial-intro,.commercial-builder,.commercial-policy,.commercial-ending {
        padding: 1.5rem;
    }

    .commercial-policy,.commercial-ending {
        margin-top: 2rem;
    }
}

/* Olivia's Opulent Cleaning Services — Our Story only.
 *   Load after olivias-opulent-cleaning-services.css. */

.page-story .page-background {
    background-image: url("../../assets/images/demonstrations/home-services/olivias-opulent-our-story-background-master.png");
}

.page-story .story-main {
    padding: 0 clamp(1.25rem, 6vw, 6rem) 5rem;
}

.page-story .story-main em {
    color: #a48145;
    font-weight: 400;
}

.page-story .story-hero {
    min-height: min(850px, 88vh);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) 0;
}

.page-story .story-intro {
    padding: clamp(2rem, 4vw, 4rem);
    max-width: 660px;
}

.page-story .story-intro h1 {
    margin: .8rem 0 1.4rem;
    font-size: clamp(3.5rem, 6vw, 6rem);
}

.page-story .story-lede {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.4;
    color: var(--forest);
}

.page-story .story-intro > p:not(.eyebrow) {
    max-width: 31rem;
}

.page-story .story-text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.2rem;
    color: var(--forest);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-decoration-color: var(--gold);
    text-underline-offset: 6px;
}

.page-story .story-portrait {
    margin: 0;
    padding: clamp(.65rem, 1.2vw, 1rem);
    background: rgba(250, 247, 240, .94);
    border: 1px solid rgba(181,154,98,.65);
    min-width: 0;
}

.page-story .story-portrait img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    object-position: center;
}

.page-story .story-portrait figcaption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    padding: 1rem .65rem .25rem;
    border-top: 1px solid var(--line);
}

.page-story .story-portrait figcaption strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--forest);
}

.page-story .story-portrait figcaption span {
    color: #876d41;
    font-size: .72rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.page-story .story-biography,
.page-story .story-philosophy,
.page-story .story-next {
    padding: clamp(2rem, 4.5vw, 4rem);
    scroll-margin-top: 125px;
}

.page-story .story-biography {
    max-width: 1050px;
    margin: 0 auto 5rem;
}

.page-story .story-biography h2,
.page-story .story-philosophy h2,
.page-story .story-next h2 {
    margin: .5rem 0 1.5rem;
}

.page-story .story-copy {
    max-width: 850px;
    font-size: 1.04rem;
    line-height: 1.85;
}

.page-story .story-copy p {
    margin: 0 0 1.35rem;
}

.page-story .story-copy p:last-child {
    margin-bottom: 0;
}

.page-story .story-philosophy {
    max-width: 880px;
    margin: 0 0 5rem auto;
    background: rgba(25, 59, 49, .95);
    color: var(--ivory);
    border-color: rgba(181,154,98,.7);
}

.page-story .story-philosophy .eyebrow,
.page-story .story-philosophy h2 em,
.page-story .story-signoff {
    color: #e3c994;
}

.page-story .story-philosophy blockquote {
    margin: 1.5rem 0;
    max-width: 740px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.6vw, 2.3rem);
    line-height: 1.5;
    font-style: italic;
}

.page-story .story-signoff {
    margin: 2rem 0 0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.page-story .story-next {
    max-width: 850px;
    margin: 0 auto 0 0;
}

.page-story .story-next p:not(.eyebrow) {
    max-width: 660px;
}

.page-story .story-next .button-group {
    align-items: center;
}

.page-story .story-next .story-text-link {
    margin: 0;
}

/* Our Story: align the two closing panels in one row with a visible photo gap. */

@media (min-width: 901px) {
    .page-story .story-main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(2rem, 5vw, 5rem);
        row-gap: clamp(2rem, 4vw, 4rem);
    }

    .page-story .story-hero,
    .page-story .story-biography {
        grid-column: 1 / -1;
    }

    .page-story .story-biography {
        margin: 0 auto;
        width: 100%;
    }

    .page-story .story-philosophy,
    .page-story .story-next {
        max-width: none;
        width: 100%;
        margin: 0;
        align-self: stretch;
    }

    .page-story .story-philosophy {
        grid-column: 1;
    }

    .page-story .story-next {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .page-story .story-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .page-story .story-intro {
        max-width: none;
    }

    .page-story .story-portrait {
        max-width: 560px;
        margin: 0 auto;
    }

    .page-story .story-biography,
    .page-story .story-philosophy {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 600px) {
    .page-story .story-main {
        padding: 0 1rem 3rem;
    }

    .page-story .story-hero {
        padding: 2rem 0;
        gap: 1.25rem;
    }

    .page-story .story-intro,
    .page-story .story-biography,
    .page-story .story-philosophy,
    .page-story .story-next {
        padding: 1.5rem;
    }

    .page-story .story-intro h1 {
        font-size: clamp(2.6rem, 12vw, 4rem);
    }

    .page-story .story-portrait img {
        max-height: none;
    }

    .page-story .story-next .button-group {
        flex-direction: column;
        align-items: stretch;
    }

    .page-story .story-next .button {
        width: 100%;
    }
}

/* Estimate preview: scoped to this page. Load after shared Olivia's CSS. */

.page-estimate .page-background {
    background-image: url("../../assets/images/demonstrations/home-services/olivias-opulent-estimate-background-master.png");
}

.page-estimate .estimate-main {
    padding: 0 clamp(1.25rem,6vw,6rem) 5rem;
}

.page-estimate .estimate-main em {
    color: #a48145;
    font-weight: 400;
}

.page-estimate .estimate-hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr);
    align-items: center;
    gap: clamp(2rem,5vw,5rem);
    max-width: 1300px;
    margin: auto;
    padding: 5rem 0;
}

.page-estimate .estimate-intro,.page-estimate .estimate-side {
    padding: clamp(2rem,4vw,4rem);
}

.page-estimate .estimate-intro h1 {
    font-size: clamp(3rem,5vw,5rem);
}

.page-estimate .estimate-lede {
    font: normal clamp(1.3rem,2vw,1.8rem)/1.4 Georgia,serif;
}

.page-estimate .estimate-intro .button {
    margin-top: 1.25rem;
}

.page-estimate .estimate-side h2 {
    font-size: clamp(1.9rem,2.5vw,2.8rem);
}

.page-estimate .estimate-preview {
    max-width: 1350px;
    margin: 0 auto 4rem;
    padding: clamp(1.5rem,4vw,4rem);
    scroll-margin-top: 115px;
}

.page-estimate .estimate-preview>h2 {
    margin: .5rem 0;
}

.page-estimate .estimate-lead {
    max-width: 750px;
}

.page-estimate .estimate-type {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
    margin-top: 2rem;
}

.page-estimate .estimate-type h3,.page-estimate .estimate-questions h3 {
    font: 700 .9rem/1.5 Arial,sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--forest);
    margin: 0 0 1rem;
}

.page-estimate .estimate-types {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
}

.page-estimate .estimate-types label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(25,59,49,.25);
    cursor: pointer;
}

.page-estimate .estimate-types label:has(input:checked) {
    background: rgba(222,232,222,.94);
    border-color: var(--forest);
    box-shadow: inset 0 0 0 1px var(--forest);
}

.page-estimate .estimate-types input,.page-estimate .estimate-checks input {
    accent-color: var(--forest);
}

.page-estimate .estimate-types strong {
    display: block;
    font: normal 1.4rem Georgia,serif;
}

.page-estimate .estimate-types small {
    display: block;
    color: var(--muted);
    font-size: .83rem;
    margin-top: .25rem;
}

.page-estimate .estimate-grid {
    display: grid;
    grid-template-columns: minmax(0,1.5fr) minmax(290px,.75fr);
    gap: clamp(1.5rem,4vw,4rem);
    align-items: start;
}

.page-estimate .estimate-questions section {
    border-top: 1px solid var(--line);
    padding: 1.6rem 0 2rem;
}

.page-estimate .estimate-commercial {
    display: none;
}

.page-estimate .estimate-main:has(#service-commercial:checked) .estimate-commercial {
    display: block;
}

.page-estimate .estimate-main:has(#service-commercial:checked) .estimate-residential {
    display: none;
}

.page-estimate .estimate-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1.2rem;
}

.page-estimate .estimate-fields label {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    font-size: .86rem;
    font-weight: 700;
    color: var(--forest);
}

.page-estimate .estimate-fields input,.page-estimate .estimate-fields select,.page-estimate .estimate-fields textarea {
    width: 100%;
    min-width: 0;
    padding: .85rem 1rem;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(25,59,49,.28);
    border-radius: 0;
    font: normal .97rem Arial,sans-serif;
    color: var(--ink);
}

.page-estimate .estimate-fields :is(input,select,textarea):focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.page-estimate .estimate-fields .wide {
    grid-column: 1/-1;
}

.page-estimate .estimate-checks {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.2rem;
    border: 0;
    border-top: 1px solid var(--line);
    margin: 1.5rem 0 0;
    padding: 1rem 0 0;
}

.page-estimate .estimate-checks legend {
    font-weight: 700;
    font-size: .85rem;
    color: var(--forest);
    padding-right: .75rem;
}

.page-estimate .estimate-checks label {
    font-size: .9rem;
}

.page-estimate .estimate-note {
    font-size: .87rem;
    color: var(--muted);
}

.page-estimate .estimate-summary {
    background: rgba(16,42,35,.96);
    color: var(--ivory);
    padding: clamp(1.5rem,3vw,3rem);
    border: 1px solid var(--gold);
    position: sticky;
    top: 115px;
    box-shadow: 0 16px 45px rgba(0,0,0,.17);
}

.page-estimate .estimate-summary .eyebrow {
    color: #e8d0a0;
}

.page-estimate .estimate-summary h3 {
    font-size: clamp(1.8rem,2.3vw,2.5rem);
}

.page-estimate .estimate-summary em {
    color: #e8d0a0;
}

.page-estimate .estimate-summary>p:not(.eyebrow) {
    font-size: .9rem;
}

.page-estimate .estimate-steps {
    border-top: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.2);
    margin: 1.5rem 0;
    padding: .5rem 0;
}

.page-estimate .estimate-steps p {
    display: flex;
    gap: 1rem;
    align-items: baseline;
}

.page-estimate .estimate-steps span {
    color: #e8d0a0;
    font-weight: 700;
    letter-spacing: .12em;
}

.page-estimate .estimate-disclaimer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
    margin-top: 1rem;
}

.page-estimate .estimate-disclaimer strong {
    color: var(--forest);
}

.page-estimate .estimate-disclaimer p {
    max-width: 660px;
    color: var(--muted);
    font-size: .87rem;
}

.page-estimate .estimate-disclaimer button {
    flex-shrink: 0;
    opacity: .55;
    cursor: not-allowed;
}

.page-estimate .estimate-ending {
    max-width: 730px;
    margin: 0 0 0 auto;
    padding: clamp(2rem,4vw,4rem);
}

.page-estimate .estimate-ending h2 {
    font-size: clamp(2.1rem,3vw,3.5rem);
}

.page-estimate .estimate-story-link {
    align-self: center;
    color: var(--forest);
    font-weight: 700;
    font-size: .85rem;
    text-underline-offset: 5px;
}

@media (max-width:1000px) {
    .page-estimate .estimate-hero,.page-estimate .estimate-grid {
        grid-template-columns: 1fr;
    }

    .page-estimate .estimate-hero {
        min-height: 0;
    }

    .page-estimate .estimate-summary {
        position: static;
    }

    .page-estimate .estimate-side {
        max-width: 600px;
    }
}

@media (max-width:650px) {
    .page-estimate .estimate-main {
        padding: 0 1rem 3rem;
    }

    .page-estimate .estimate-hero {
        padding: 2rem 0;
        gap: 1rem;
    }

    .page-estimate .estimate-types,.page-estimate .estimate-fields {
        grid-template-columns: 1fr;
    }

    .page-estimate .estimate-disclaimer {
        flex-direction: column;
        align-items: stretch;
    }

    .page-estimate .estimate-disclaimer button {
        white-space: normal;
    }
}
