:root {
    --accent: #b7754a;
    --ink: #29241f;
    --muted: #746d66;
    --cream: #faf7f2;
    --sand: #efe8df;
    --line: #e8e0d7;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    height: auto;
    min-height: 100%;
    /* clip horizontal overflow without creating a nested scroll container */
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    height: auto;
    min-height: 100vh;
    /* sticky header needs the document to remain the vertical scroll container */
    overflow-x: clip;
}

* {
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.9rem, 6vw, 5.4rem);
    letter-spacing: -.045em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: 1.25rem;
}

.section {
    padding: 100px 0;
}

.section-soft {
    background: var(--cream);
}

.section-dark {
    background: #302c28;
    color: var(--white);
}

.eyebrow {
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    margin-bottom: 20px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading p,
.section-intro {
    color: var(--muted);
    font-size: 1.05rem;
}

.section-dark .section-heading p {
    color: #d3cbc4;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 850;
    width: 100%;
    background: rgba(255, 253, 249, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    gap: 24px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: .13em;
}

.wordmark-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    font-size: .85rem;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav .nav-cta {
    padding: 12px 20px;
    background: var(--ink);
    color: var(--white);
}

.menu-toggle {
    display: none;
}

/* Buttons */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: .87rem;
    font-weight: 700;
    transition: .2s ease;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(.91);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: #8b8178;
    color: var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--white);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Hero */

.hero {
    background: var(--cream);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    align-items: center;
    min-height: 650px;
    gap: 65px;
    padding-block: 55px;
}

.hero-copy h1 em {
    display: block;
    color: var(--accent);
    font-family: Georgia, serif;
    font-weight: 400;
}

.hero-copy > p {
    max-width: 530px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #645b52;
    font-size: .76rem;
    font-weight: 600;
}

.hero-benefits span::before {
    content: "✓";
    color: var(--accent);
    margin-right: 7px;
}

/* Empty image placeholders */

.media-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    background:
            linear-gradient(135deg, #ebe3d9, #ded1c2);
    color: #756b61;
    border: 1px dashed #c5b5a5;
    overflow: hidden;
}

.placeholder-label {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.placeholder-path {
    max-width: 100%;
    font-size: .72rem;
    overflow-wrap: anywhere;
}

.hero-image {
    min-height: 540px;
    border-radius: 48% 48% 4px 4px;
}

/* Products */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--cream);
    overflow: hidden;
}

.product-image {
    aspect-ratio: 4 / 4.7;
}

.product-content {
    padding: 27px;
}

.product-content h3 {
    font-family: Georgia, serif;
    font-size: 1.65rem;
}

.product-content p {
    min-height: 110px;
    color: var(--muted);
}

.product-content a {
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-size: .86rem;
}

/* Manufacturing and installation */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
}

.feature-image {
    aspect-ratio: 16 / 10;
}

.feature-copy {
    padding: 30px;
}

.feature-copy p {
    color: var(--muted);
}

/* Order processing system */

.process-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 80px;
    align-items: start;
}

.system-image {
    aspect-ratio: 16 / 10;
    margin-top: 32px;
}

.benefit-list {
    display: grid;
    gap: 20px;
}

.benefit-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.benefit-number {
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 1.6rem;
}

.benefit-list h3 {
    margin-bottom: 7px;
}

.benefit-list p {
    margin-bottom: 0;
    color: var(--muted);
}

/* Warranty */

.warranty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.warranty-card {
    padding: 32px 24px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}

.warranty-years {
    color: #ebba92;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 25px;
}

.warranty-years span {
    font-family: Arial, sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.warranty-card p {
    color: #d3cbc4;
    font-size: .9rem;
}

.warranty-note {
    margin: 28px 0 0;
    color: #c7bfb8;
    font-size: .82rem;
    text-align: center;
}

/* Reviews */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.review-source {
    padding: 35px;
    background: var(--cream);
    border: 1px solid var(--line);
}

.review-google {
    margin-bottom: 22px;
    color: #56785b;
    font-size: .78rem;
    font-weight: 700;
}

.review-source p {
    color: var(--muted);
}

.review-placeholder {
    margin-top: 24px;
    padding: 20px;
    border: 1px dashed #c9bdb0;
    color: #91867c;
    text-align: center;
    font-size: .82rem;
}

/* Enquiry */

.enquiry-section {
    background: var(--cream);
}

.enquiry-form {
    max-width: 1080px;
    margin: 0 auto;
    padding: 38px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 15px 50px rgba(40, 30, 20, .05);
}

.form-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 38px;
}

.form-fields h3,
.form-preferences h3 {
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.form-fields,
.form-preferences {
    min-width: 0;
}

.field {
    margin-bottom: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: .83rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    background: #faf9f7;
    border: 1px solid #dcd3ca;
    border-radius: 2px;
    color: var(--ink);
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.enquiry-form.was-validated
.field :is(input, select, textarea):invalid {
    border-color: #b94141;
}

.form-preferences {
    background: #faf7f2;
    padding: 25px;
}

.form-preferences fieldset {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.form-preferences legend {
    width: 100%;
    margin-bottom: 12px;
    font-size: .85rem;
    font-weight: 700;
}

.check-option {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 11px;
    font-size: .88rem;
    cursor: pointer;
}

.check-option input {
    flex: none;
    margin-top: 5px;
    accent-color: var(--accent);
}

.message-field {
    margin: 28px 0;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.form-footer p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: .79rem;
}

.form-status {
    margin-top: 22px;
    padding: 15px 18px;
    border-radius: 3px;
    font-size: .9rem;
}

.form-status.success {
    background: #eaf5eb;
    color: #24532b;
}

.form-status.warning {
    background: #fff4df;
    color: #76511c;
}

.form-status.error {
    background: #fdeceb;
    color: #812a26;
}

/* Footer */

.site-footer {
    padding: 55px 0 24px;
    background: #25211e;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-brand {
    margin-bottom: 13px;
    font-weight: 800;
    letter-spacing: .15em;
}

.site-footer p {
    color: #beb4aa;
    font-size: .9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 20px;
    font-size: .85rem;
}

.copyright {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid #504942;
    color: #aaa198;
    font-size: .77rem;
}

/* Tablet */

@media (max-width: 1000px) {

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: .78rem;
    }

    .hero-grid {
        gap: 30px;
    }

    .process-layout {
        gap: 35px;
    }

    .warranty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 767px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 65px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    html {
        scroll-padding-top: 85px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--ink);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        padding: 20px;
        background: white;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        font-size: .95rem;
        padding: 8px 0;
    }

    .main-nav .nav-cta {
        padding: 12px 16px;
        text-align: center;
    }

    .hero-grid,
    .process-layout,
    .feature-grid,
    .reviews-grid,
    .form-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-block: 55px;
    }

    .hero-image {
        min-height: 360px;
    }

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

    .product-image {
        aspect-ratio: 16 / 11;
    }

    .product-content p {
        min-height: 0;
    }

    .warranty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .warranty-card {
        padding: 24px 16px;
    }

    .warranty-years {
        font-size: 3rem;
    }

    .enquiry-form {
        padding: 20px;
    }

    .form-footer,
    .footer-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .form-footer .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {

    .wordmark {
        font-size: .78rem;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .hero-actions .btn {
        width: 100%;
    }
}

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

/* === Miss Curtains storefront v2: enhancements to original design === */
.brand-logo {display:block;width:auto;max-width:205px;max-height:64px;object-fit:contain}
.brand-fallback {font-weight:700;letter-spacing:.13em;color:var(--ink)}
.header-contact {display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-size:.78rem;line-height:1.35;white-space:nowrap;color:var(--muted)}
.header-contact a:hover,.site-footer a:hover {color:var(--accent)}
.header-contact strong {color:var(--ink)}
.header-inner {gap:18px}
.main-nav {gap:17px}
/* The v1 arch-shaped HERO placeholder remains unchanged. */
.gallery-chooser {display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:30px}
.gallery-category {padding:12px 22px;border:1px solid #cbbbad;background:transparent;color:var(--ink);font-weight:700;cursor:pointer}
.gallery-category.is-active,.gallery-category:hover {background:var(--ink);border-color:var(--ink);color:var(--white)}
.gallery-feature {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);background:white;border:1px solid var(--line);min-height:420px}
.gallery-display {min-width:0}
.gallery-stage {min-height:420px;height:100%;position:relative}
.gallery-stage .media-placeholder {width:100%;height:100%;min-height:420px}
.gallery-info {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:48px}
.gallery-info h3 {font:normal 2.4rem Georgia,serif}
.gallery-info p {color:var(--muted)}
.gallery-controls {display:flex;align-items:center;gap:18px;margin:20px 0 30px}
.gallery-arrow {width:44px;height:44px;border:1px solid var(--line);background:var(--cream);font-size:1.4rem}
.gallery-arrow:hover {border-color:var(--accent)}
.gallery-quote {margin-top:5px}
.store-carousel {position:relative;overflow:hidden;background:#e8ded4}
.store-carousel .media-placeholder {width:100%;height:100%;min-height:inherit;border:0}
.carousel-slide {width:100%;height:100%;min-height:inherit}
.carousel-tools {position:absolute;right:12px;bottom:12px;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.91);padding:5px 7px;border-radius:2px}
.carousel-tools button {width:31px;height:31px;background:white;border:1px solid #ded4ca;color:var(--ink);font-size:1.1rem}
.carousel-tools button:hover {border-color:var(--accent)}
.carousel-count {min-width:30px;text-align:center;font-size:.73rem;font-weight:700}
.promise-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:28px}
.promise-grid>div {display:flex;flex-direction:column;gap:8px;background:white;padding:22px;border:1px solid var(--line)}
.promise-grid strong {font-size:.94rem}
.promise-grid span {font-size:.82rem;color:var(--muted)}
.review-note {font-size:.77rem;color:var(--muted);font-style:italic;margin-bottom:0}
/* Two permanent showroom sections on the page, with auto-advancing photo decks. */
.showroom-region {color:var(--accent);font-size:.72rem;letter-spacing:.16em;font-weight:800}
.visit-row {display:grid;grid-template-columns:minmax(290px,.82fr) minmax(0,1.18fr);background:#fff;border:1px solid var(--line);margin-bottom:30px;min-height:365px;overflow:hidden}
.visit-details {padding:38px 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.visit-details h3 {font:normal 1.75rem Georgia,serif;margin:12px 0 18px}
.visit-details address {font-style:normal;color:var(--muted);margin-bottom:18px;line-height:1.7}
.visit-details p {margin-bottom:14px;color:var(--muted)}
.visit-details p strong {color:var(--ink)}
.visit-details p a {color:var(--accent);font-weight:700}
.showroom-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:9px}
.showroom-actions a {font-size:.76rem;font-weight:700;padding:10px 12px;border:1px solid #d8cbbd;background:var(--cream)}
.showroom-actions a:hover {border-color:var(--accent)}
.visit-media {position:relative;min-width:0;min-height:365px}
.showroom-carousel {position:absolute;inset:0;width:100%;height:100%;min-height:365px}
.showroom-carousel .carousel-slide .media-placeholder {border:0}
@media(max-width:1130px) {
  .header-contact {display:none}
  .main-nav {gap:12px}
  .promise-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px) {
  .brand-logo {max-width:155px;max-height:50px}
  .gallery-feature {grid-template-columns:1fr}
  .gallery-stage,.gallery-stage .media-placeholder {min-height:330px}
  .gallery-info {padding:27px}
  .gallery-info h3 {font-size:1.85rem}
  .promise-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .visit-row {grid-template-columns:1fr}
  .visit-details {padding:28px 25px}
  .visit-media {min-height:310px}
  .showroom-carousel {min-height:310px}
  .site-footer {padding-bottom:30px}
}
@media(max-width:440px) {
  .promise-grid {grid-template-columns:1fr}
  .gallery-category {padding:10px 14px}
}
/* Ensure carousel images fill the original 16:10 placeholder frame. */
.store-carousel {isolation:isolate}
.store-carousel .carousel-slide {position:absolute;inset:0;min-height:0}
.store-carousel .carousel-slide .media-placeholder {height:100%;min-height:0}
.store-carousel .carousel-tools {z-index:2}

@media (min-width:768px) and (max-width:980px) {
  .visit-row {grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr)}
  .visit-details {padding:26px}
}
@media (max-width:767px) {
  .visit-row {grid-template-columns:1fr}
  .visit-details {padding:26px}
  .visit-media, .showroom-carousel {min-height:300px}
}


/* ================================================================
   MISS CURTAINS V4: header, craft gallery, FAQ drawer, contact dock
   ================================================================ */
.brand-fallback {display:grid;place-items:center;width:54px;height:54px;border:1px solid var(--accent);border-radius:50%;font:30px Georgia,serif;color:var(--accent)}
.brand-fallback[hidden] {display:none}
/* Craft section: keep the original beige photo-placeholder aesthetic. */
.craft-section {background:#fff}
.craft-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);gap:clamp(28px,5vw,65px);align-items:center}
.craft-visual {position:sticky;top:110px;align-self:center;min-width:0;width:100%;max-width:520px;margin-inline:auto}
.craft-carousel {height:auto;min-height:0;width:100%;aspect-ratio:1/1;border-radius:6px;border:1px dashed #c5b5a5}
.craft-carousel .carousel-slide .media-placeholder {border-radius:6px}
.craft-visual-note {margin:15px 4px 0;color:var(--muted);font-size:.81rem;text-align:center}
.craft-copy h3 {font:normal clamp(1.75rem,2.7vw,2.35rem) Georgia,serif;margin-bottom:18px}
.craft-copy>p {color:var(--muted);margin-bottom:25px}
.craft-points {display:grid;gap:4px;margin:20px 0 26px}
.craft-points article {padding:10px 14px;border-left:3px solid transparent;border-bottom:1px solid var(--line);transition:background-color .25s ease,border-color .25s ease}
.craft-points h4 {font-size:.94rem;line-height:1.4;margin:0 0 5px;color:var(--ink)}
.craft-points p {font-size:.9rem;line-height:1.65;color:var(--muted);margin:0}
.leadtime-note {display:flex;flex-direction:column;gap:7px;max-width:1080px;margin:0 auto 25px;padding:19px 23px;background:#f0e7dc;border-left:4px solid var(--accent)}
.leadtime-note strong {font-size:1rem}
.leadtime-note span {color:#62574e;font-size:.9rem}
/* Compact floating FAQ / phone / email card */
/* FAQ drawer opens from the right, independently of the in-page showrooms. */
.faq-backdrop {position:fixed;inset:0;background:rgba(26,22,19,.4);z-index:899}
.faq-backdrop[hidden] {display:none}
.faq-drawer {position:fixed;top:0;right:0;bottom:0;z-index:900;width:min(490px,100vw);display:flex;flex-direction:column;background:var(--white);box-shadow:-16px 0 45px rgba(0,0,0,.19);transform:translateX(105%);transition:transform .25s ease;visibility:hidden}
.faq-drawer.is-open {transform:translateX(0);visibility:visible}
.faq-drawer-header {display:flex;align-items:start;justify-content:space-between;gap:18px;padding:27px 26px 15px;border-bottom:1px solid var(--line)}
.faq-drawer-header .eyebrow {margin-bottom:6px}
.faq-drawer-header h2 {font-size:clamp(1.4rem,2.6vw,1.9rem);margin:0}
.faq-close {border:1px solid var(--line);background:white;width:38px;height:38px;flex:0 0 38px;font-size:1.55rem;line-height:1;border-radius:50%}
.faq-drawer-content {padding:9px 26px 22px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}
.faq-drawer details {border-bottom:1px solid var(--line);padding:17px 0}
.faq-drawer summary {font-size:.95rem;font-weight:700;cursor:pointer;line-height:1.45;padding-right:14px}
.faq-drawer details p {margin:11px 0 0;color:var(--muted);font-size:.89rem}
.faq-drawer details p a {color:var(--accent);text-decoration:underline}
.faq-drawer-footer {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 26px;border-top:1px solid var(--line);background:var(--cream);font-size:.85rem}
.faq-drawer-footer>a:last-child {white-space:nowrap;color:var(--ink)}
body.faq-open {overflow:hidden}
@media(max-width:1240px) {
}
@media(max-width:850px) {.craft-layout {grid-template-columns:1fr;gap:28px}.craft-visual {position:static;max-width:520px;margin:0 auto;width:100%}.craft-carousel {aspect-ratio:1/1}}
@media(max-width:600px) {
  .faq-drawer-header {padding:21px 18px 13px}.faq-drawer-content {padding:7px 18px 20px}.faq-drawer-footer {padding:15px 18px;flex-wrap:wrap}
  .craft-carousel {aspect-ratio:1/1}
}
@media(prefers-reduced-motion:reduce) {.faq-drawer {transition:none}}

/* V5: the current craft slide highlights its matching, fully readable description. */
.craft-detail.is-active {background:#f6eee5;border-left-color:var(--accent)}
.craft-detail h4 {margin:0 0 5px}
.craft-detail p {margin:0}
@media(prefers-reduced-motion:reduce) {
  .craft-points article {transition:none}
}

/* V6 — Craft introduction above square images, columns align at top. */
.craft-layout {align-items:start;gap:clamp(28px,4vw,55px)}
.craft-left {display:flex;flex-direction:column;gap:22px;min-width:0}
.craft-intro .eyebrow {margin-bottom:12px}
.craft-intro h3 {font:normal clamp(1.6rem,2.6vw,2.2rem)/1.25 Georgia,serif;margin:0 0 14px;color:var(--ink)}
.craft-intro p {max-width:510px;margin:0;color:var(--muted);line-height:1.65}
.craft-visual {position:static;top:auto;align-self:auto;max-width:520px;width:100%;margin:0}
.craft-visual-note {margin-top:10px}
@media(max-width:850px) {.craft-left {gap:20px}.craft-visual {margin-inline:auto}}

/* Automatic images: only show a photo after it has actually loaded. */
.media-placeholder {position:relative}
.media-loaded-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0}
.media-placeholder.has-image .media-loaded-image {opacity:1}
.media-placeholder.has-image > .placeholder-label,
.media-placeholder.has-image > .placeholder-path {visibility:hidden}

/* Google Reviews links */

a.review-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease,
    border-color .2s ease;
}

a.review-placeholder:hover {
    background: #f6eee5;
    border-color: var(--accent);
    color: var(--ink);
}

a.review-placeholder:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}


/* ==========================================================
   V7 SINGLE-ROW STICKY HEADER
   Logo | navigation | FAQ | phone | Free Quote (desktop)
   Logo | FAQ | phone | menu (compact screens)
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 850;
    width: 100%;
    background: rgba(255, 253, 249, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 76px;
}

.site-header .wordmark {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.site-header .brand-logo {
    max-height: 58px;
    max-width: 184px;
    width: auto;
    height: auto;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 1.15vw, 18px);
    margin-left: auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.site-header .main-nav a {
    font-size: .79rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-header .main-nav .nav-cta {
    display: none; /* main quote button is a standalone header action */
}

.site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.site-header .header-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ded4ca;
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
}

.site-header .header-icon-button:hover,
.site-header .header-icon-button:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
}

.site-header .header-quote {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 41px;
    padding: 9px 15px;
    background: var(--ink);
    color: var(--white);
    font-size: .79rem;
    font-weight: 700;
    white-space: nowrap;
}

.site-header .header-quote:hover {
    background: var(--accent);
    color: var(--white);
}

.site-header .menu-toggle {
    display: none;
}

html {
    scroll-padding-top: 96px;
}

/* Switch early so nav links never crowd the actions */
@media (max-width: 1380px) {
    .site-header .header-inner {
        min-height: 70px;
        gap: 12px;
    }

    .site-header .brand-logo {
        max-height: 53px;
        max-width: 175px;
    }

    .site-header .header-actions {
        margin-left: auto;
    }

    .site-header .header-quote {
        display: none;
    }

    .site-header .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .site-header .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--ink);
    }

    .site-header .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1;
        margin: 0;
        padding: 14px max(20px, calc((100vw - 1180px)/2));
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - 70px);
        overflow-y: auto;
        box-shadow: 0 12px 20px rgba(0,0,0,.05);
    }

    .site-header .main-nav.open {
        display: flex;
    }

    .site-header .main-nav a {
        padding: 10px 7px;
        font-size: .92rem;
        white-space: normal;
    }

    .site-header .main-nav .nav-cta {
        display: block;
        margin-top: 8px;
        padding: 11px 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .site-header .header-inner {
        min-height: 62px;
        gap: 9px;
    }

    .site-header .brand-logo {
        max-width: min(145px, 31vw);
        max-height: 45px;
    }

    .site-header .header-actions {
        gap: 5px;
    }

    .site-header .header-icon-button {
        width: 34px;
        height: 34px;
    }

    .site-header .menu-toggle {
        width: 36px;
        height: 38px;
        flex-basis: 36px;
    }

    .site-header .main-nav {
        max-height: calc(100dvh - 62px);
    }

    html {
        scroll-padding-top: 76px;
    }
}


/* ================================================
   V7 Header responsive fix
   Desktop: full navigation
   Mobile: FAQ + Call + Free Quote + Menu
   ================================================ */

/* Desktop: show the full navigation */
@media (min-width: 1101px) {

    .site-header .header-inner {
        min-height: 76px;
        gap: 12px;
    }

    .site-header .brand-logo {
        max-width: 175px;
        max-height: 58px;
    }

    .site-header .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: clamp(8px, 1vw, 15px);
        margin-left: auto;
        padding: 0;
        max-height: none;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .site-header .main-nav a {
        padding: 0;
        font-size: .76rem;
        white-space: nowrap;
    }

    .site-header .main-nav .nav-cta {
        display: none;
    }

    .site-header .header-quote {
        display: inline-flex;
    }

    .site-header .menu-toggle {
        display: none;
    }
}

/* Tablet and mobile */
@media (max-width: 1100px) {

    .site-header .header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .site-header .header-actions {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-left: auto;
    }

    .site-header .header-quote {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 7px 12px;
        font-size: .75rem;
        white-space: nowrap;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .site-header .main-nav {
        display: none;
    }

    .site-header .main-nav.open {
        display: flex;
    }

    /* Avoid showing Free Quote twice */
    .site-header .main-nav .nav-cta {
        display: none;
    }
}

/* Small phone screens */
@media (max-width: 600px) {

    .site-header .header-inner {
        min-height: 60px;
        gap: 5px;
    }

    .site-header .brand-logo {
        max-width: min(108px, 28vw);
        max-height: 42px;
    }

    .site-header .header-actions {
        gap: 4px;
    }

    .site-header .header-icon-button {
        width: 31px;
        height: 31px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .site-header .header-icon-button svg {
        width: 17px;
        height: 17px;
    }

    .site-header .header-quote {
        min-height: 32px;
        padding: 6px 8px;
        font-size: .69rem;
    }

    .site-header .menu-toggle {
        width: 32px;
        height: 36px;
        flex-basis: 32px;
    }

    .site-header .menu-toggle span {
        width: 22px;
    }

    html {
        scroll-padding-top: 75px;
    }
}

