:root {
    --ink: #111827;
    --muted: #52606d;
    --line: #dbe3ea;
    --paper: #ffffff;
    --mist: #f5f8fa;
    --deep: #07181f;
    --teal: #0e9f9a;
    --teal-dark: #08706d;
    --blue: #2563eb;
    --amber: #f2b441;
    --shadow: 0 24px 70px rgba(7, 24, 31, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--mist);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 24, 31, 0.88);
    color: white;
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(14, 159, 154, 0.95), rgba(37, 99, 235, 0.95));
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(7, 24, 31, 0.88) 0%, rgba(7, 24, 31, 0.58) 44%, rgba(7, 24, 31, 0.18) 100%),
        linear-gradient(0deg, rgba(7, 24, 31, 0.42), rgba(7, 24, 31, 0.02));
}

.hero-content {
    position: relative;
    width: min(720px, calc(100% - 36px));
    margin-left: clamp(18px, 6vw, 72px);
    padding: 72px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
    color: #7de5df;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(3rem, 8vw, 6.5rem);
}

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

h3 {
    font-size: 1.25rem;
}

.hero-copy {
    max-width: 620px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-band {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--teal);
    color: white;
    box-shadow: 0 16px 32px rgba(14, 159, 154, 0.25);
}

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

.button-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.button-outline {
    border-color: var(--line);
    color: var(--deep);
    background: white;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--deep);
    color: white;
}

.trust-strip div {
    min-height: 122px;
    padding: 24px clamp(18px, 3vw, 36px);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip strong,
.trust-strip span {
    display: block;
}

.trust-strip strong {
    margin-bottom: 8px;
    font-size: 1rem;
}

.trust-strip span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.94rem;
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
}

.intro-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(28px, 6vw, 80px);
}

.section-copy h2,
.section-heading h2 {
    margin-bottom: 0;
}

.intro-grid {
    display: grid;
    gap: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.gallery-section,
.services-preview,
.steps-section,
.testimonials-section,
.package-section,
.add-on-section,
.service-area-section,
.faq-section {
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px;
}

.gallery-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    border-radius: 8px;
    color: white;
    overflow: hidden;
    background-color: var(--deep);
    background-image:
        linear-gradient(0deg, rgba(7, 24, 31, 0.88), rgba(7, 24, 31, 0.08)),
        url("./assets/mirrorfinish-hero.png");
    background-size: cover;
    box-shadow: var(--shadow);
}

.before-card {
    filter: saturate(0.75);
    background-position: 28% center;
}

.after-card {
    background-position: 62% center;
}

.shine-card {
    background-position: 86% center;
}

.gallery-card span {
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gallery-card h3 {
    margin-bottom: 0;
}

.package-row,
.package-grid,
.add-on-grid,
.testimonial-grid {
    display: grid;
    gap: 18px;
}

.package-row {
    grid-template-columns: repeat(3, 1fr);
}

.package-grid {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 8px;
}

.package-card,
.service-card,
.add-on-grid article,
blockquote,
.workflow-card,
.quote-form {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(7, 24, 31, 0.07);
}

.package-card,
.service-card,
.add-on-grid article {
    padding: 26px;
}

.package-kicker {
    margin: 0 0 8px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.package-card p:not(.package-kicker),
.service-card p:not(.package-kicker),
.add-on-grid p,
.workflow-card span,
.faq-list p,
.quote-note p {
    color: var(--muted);
}

.package-card strong,
.service-card strong {
    display: block;
    margin-top: 22px;
    font-size: 1.08rem;
}

.featured-card {
    border-color: rgba(14, 159, 154, 0.7);
    box-shadow: 0 24px 70px rgba(14, 159, 154, 0.16);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--teal-dark);
    font-weight: 900;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0;
    list-style: none;
}

.steps li {
    min-height: 210px;
    padding: 24px;
    border-top: 4px solid var(--teal);
    background: white;
    border-radius: 8px;
}

.steps span {
    display: block;
    margin-bottom: 28px;
    color: var(--teal-dark);
    font-weight: 900;
}

.steps strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

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

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

blockquote {
    margin: 0;
    padding: 28px;
}

blockquote p {
    margin-top: 0;
    font-size: 1.15rem;
}

cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.cta-band {
    justify-content: space-between;
    margin: 0 auto clamp(42px, 8vw, 86px);
    padding: clamp(28px, 5vw, 48px);
    width: min(1180px, calc(100% - 36px));
    border-radius: 8px;
    color: white;
    background:
        linear-gradient(135deg, rgba(7, 24, 31, 0.94), rgba(14, 159, 154, 0.82)),
        url("./assets/mirrorfinish-hero.png") center / cover;
    box-shadow: var(--shadow);
}

.cta-band h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.page-hero {
    display: grid;
    align-items: end;
    min-height: 420px;
    padding: clamp(70px, 11vw, 128px) clamp(18px, 6vw, 72px) clamp(56px, 8vw, 86px);
    color: white;
    background:
        linear-gradient(90deg, rgba(7, 24, 31, 0.94), rgba(7, 24, 31, 0.68), rgba(7, 24, 31, 0.3)),
        url("./assets/mirrorfinish-hero.png") center / cover;
}

.compact-hero {
    min-height: 390px;
}

.page-hero div {
    max-width: 880px;
}

.page-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
}

.page-hero p:last-child {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.service-card {
    display: flex;
    min-width: 220px;
    flex-direction: column;
}

.service-card .button {
    margin-top: auto;
}

.add-on-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-area-panel {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 28px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 8px;
    color: white;
    background: var(--deep);
}

.service-area-panel p {
    color: rgba(255, 255, 255, 0.72);
}

.area-list {
    display: grid;
    gap: 12px;
    align-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.area-list li {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

summary {
    padding: 20px;
    font-weight: 900;
    cursor: pointer;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.quote-form {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.form-section {
    padding: clamp(22px, 4vw, 34px);
    border-bottom: 1px solid var(--line);
}

.form-section:last-child {
    border-bottom: 0;
}

.form-section-heading {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 22px;
}

.form-section-heading span {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--deep);
    color: white;
    font-weight: 900;
}

.form-section-heading h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
}

.form-section-heading p {
    margin: 0;
    color: var(--muted);
}

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

label,
fieldset {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    font: inherit;
    padding: 12px 13px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(14, 159, 154, 0.2);
    border-color: var(--teal);
}

.full-field {
    grid-column: 1 / -1;
}

.checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
}

.checkbox-grid legend {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    font-weight: 900;
}

.checkbox-grid label,
.consent-field {
    display: flex;
    align-items: start;
    gap: 10px;
    font-weight: 700;
}

.checkbox-grid input,
.consent-field input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.upload-field {
    min-height: 154px;
    margin-bottom: 16px;
    place-items: center;
    border: 1px dashed #9fb0be;
    border-radius: 8px;
    background: #f8fbfc;
    text-align: center;
    cursor: pointer;
}

.upload-field:hover {
    border-color: var(--teal);
    background: #f1fbfa;
}

.upload-field input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.upload-field span {
    font-size: 1.08rem;
}

.upload-field small {
    display: block;
    max-width: 460px;
    color: var(--muted);
    font-weight: 600;
}

.consent-field {
    margin: 18px 0;
    color: var(--muted);
}

.form-submit {
    width: 100%;
}

.form-message {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--teal-dark);
    font-weight: 900;
}

.workflow-card {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.workflow-card h2 {
    font-size: 1.7rem;
}

.workflow-card ol {
    display: grid;
    gap: 16px;
    margin: 22px 0;
    padding-left: 20px;
}

.workflow-card strong,
.workflow-card span {
    display: block;
}

.workflow-card strong {
    margin-bottom: 4px;
}

.quote-note {
    padding: 16px;
    border-radius: 8px;
    background: #eefaf9;
}

.quote-note p {
    margin-bottom: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 34px clamp(18px, 4vw, 56px);
    color: white;
    background: var(--deep);
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.64);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

@media (max-width: 980px) {
    .trust-strip,
    .intro-section,
    .package-row,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .service-area-panel,
    .quote-layout {
        grid-template-columns: 1fr 1fr;
    }

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

    .quote-layout {
        grid-template-columns: 1fr;
    }

    .workflow-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: start;
        min-height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 8px;
        background: rgba(7, 24, 31, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        width: min(100% - 36px, 620px);
        margin: 0 auto;
        padding: 58px 0;
    }

    .trust-strip,
    .intro-section,
    .package-row,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .service-area-panel,
    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .gallery-card {
        min-height: 270px;
    }

    .site-footer,
    .cta-band {
        display: grid;
    }
}


/* Demo-specific layout variation: diagnostic detail board */
.detail-board {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    border-top: 1px solid var(--line);
}

.detail-board-copy {
    position: sticky;
    top: 104px;
}

.detail-board-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.detail-board-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-board-panel .featured-card {
    grid-row: span 2;
    display: grid;
    align-content: center;
}

.condition-list {
    padding: 26px;
    border-radius: 8px;
    color: white;
    background: var(--deep);
    box-shadow: var(--shadow);
}

.condition-list span {
    display: block;
    margin-bottom: 18px;
    color: #7de5df;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.condition-list ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 20px;
}

.finish-comparison,
.quote-roadmap {
    border-top: 1px solid var(--line);
}

.comparison-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 0.7fr) minmax(220px, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

.comparison-layout .gallery-card {
    min-height: 420px;
}

.comparison-copy {
    display: grid;
    align-content: center;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 45px rgba(7, 24, 31, 0.07);
}

.comparison-copy h3 {
    font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.comparison-copy p:not(.eyebrow) {
    color: var(--muted);
}

.quote-roadmap {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 72px);
}

.quote-roadmap .steps {
    grid-template-columns: 1fr;
    position: relative;
}

.quote-roadmap .steps li {
    min-height: auto;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 18px;
    border-top: 0;
    border-left: 4px solid var(--teal);
}

.quote-roadmap .steps span {
    margin: 0;
    font-size: 1.35rem;
}

.service-card h2,
.rental-card h2,
.menu-card h2,
.cake-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

@media (max-width: 980px) {
    .detail-board,
    .comparison-layout,
    .quote-roadmap {
        grid-template-columns: 1fr;
    }

    .detail-board-copy {
        position: static;
    }

    .detail-board-panel {
        grid-template-columns: 1fr 1fr;
    }

    .detail-board-panel .featured-card {
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .detail-board-panel {
        grid-template-columns: 1fr;
    }

    .comparison-layout .gallery-card {
        min-height: 280px;
    }

    .quote-roadmap .steps li {
        grid-template-columns: 1fr;
    }
}

.package-grid .service-card {
    min-width: 250px;
}

.package-grid .service-card h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    overflow-wrap: normal;
}


/* Unique homepage and story additions */
.service-brief { position: relative; min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(24px, 5vw, 64px); align-items: end; overflow: hidden; color: white; padding: clamp(70px, 9vw, 130px) clamp(18px, 6vw, 72px) clamp(42px, 7vw, 84px); }
.service-brief .hero-content { width: min(760px, 100%); margin: 0; padding: 0; }
.quick-estimate { position: relative; z-index: 1; padding: 26px; border: 1px solid rgba(255,255,255,0.22); border-radius: 8px; background: rgba(7,24,31,0.82); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.quick-estimate dl, .order-ticket dl, .client-card dl { display: grid; gap: 12px; margin: 0; }
.quick-estimate div, .order-ticket div, .client-card div { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.quick-estimate div:last-child, .order-ticket div:last-child, .client-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.quick-estimate dt, .order-ticket dt, .client-card dt { color: rgba(255,255,255,0.68); font-weight: 800; }
.quick-estimate dd, .order-ticket dd, .client-card dd { margin: 0; font-weight: 900; text-align: right; }
.route-ledger, .field-notes, .owner-profile { display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr); gap: clamp(26px, 5vw, 64px); border-top: 1px solid var(--line); }
.route-ledger p:not(.eyebrow), .field-note-card p, .owner-profile p { color: var(--muted); font-size: 1.06rem; }
.ledger-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ledger-grid article, .field-note-card, .field-note-list article, .owner-profile aside, .detail-values article { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 18px 45px rgba(7,24,31,0.07); }
.ledger-grid span, .detail-values span { display: block; margin-bottom: 22px; color: var(--teal-dark); font-weight: 900; }
.ledger-grid strong, .field-note-list strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.ledger-grid p, .field-note-list span, .detail-values p { color: var(--muted); }
.field-note-card { background: var(--deep); color: white; }
.field-note-card p { color: rgba(255,255,255,0.72); }
.field-note-card .eyebrow, .field-note-card .text-link { color: #7de5df; }
.field-note-list { display: grid; gap: 14px; align-content: center; }
.owner-profile aside { background: var(--deep); color: white; }
.owner-profile aside ul { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 20px; color: rgba(255,255,255,0.76); }
.detail-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .service-brief, .route-ledger, .field-notes, .owner-profile, .detail-values { grid-template-columns: 1fr; } .service-brief { align-items: end; min-height: 780px; } .ledger-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .service-brief { padding: 340px 18px 42px; } .ledger-grid, .detail-values { grid-template-columns: 1fr; } }


/* Route-first detailing demo additions */
.route-console,
.route-map-section,
.weather-strip {
    border-top: 1px solid var(--line);
}

.route-console {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.route-console-copy p:not(.eyebrow),
.route-map-copy p,
.access-grid p,
.weather-strip span {
    color: var(--muted);
}

.route-console-board {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 24, 31, 0.94), rgba(7, 24, 31, 0.82)),
        url("./assets/mirrorfinish-hero.png") center / cover;
    box-shadow: var(--shadow);
}

.route-ticket {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.route-ticket span {
    grid-row: span 2;
    color: #7de5df;
    font-weight: 900;
}

.route-ticket strong {
    font-size: 1.08rem;
}

.route-ticket p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.active-ticket {
    background: rgba(14, 159, 154, 0.22);
    border-color: rgba(125, 229, 223, 0.45);
}

.route-hero {
    background:
        linear-gradient(90deg, rgba(7, 24, 31, 0.96), rgba(7, 24, 31, 0.7), rgba(7, 24, 31, 0.28)),
        url("./assets/mirrorfinish-hero.png") 58% center / cover;
}

.route-map-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.route-map-shell {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.78fr);
    gap: 18px;
    padding: clamp(18px, 4vw, 30px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 45px rgba(7, 24, 31, 0.07);
}

.route-map-visual {
    position: relative;
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(125, 229, 223, 0.2), transparent 38%),
        linear-gradient(135deg, #07181f, #0b2e38 55%, #0e5557);
    background-size: 34px 34px, 34px 34px, auto, auto;
}

.map-ring,
.map-pin {
    position: absolute;
}

.map-ring {
    inset: 50%;
    border: 1px solid rgba(125, 229, 223, 0.34);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.outer-ring {
    width: 82%;
    aspect-ratio: 1;
}

.middle-ring {
    width: 58%;
    aspect-ratio: 1;
}

.inner-ring {
    width: 30%;
    aspect-ratio: 1;
    background: rgba(14, 159, 154, 0.12);
}

.map-pin {
    min-width: 84px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(7, 24, 31, 0.82);
    color: white;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.home-pin {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--teal);
}

.north-pin {
    top: 18%;
    left: 52%;
}

.east-pin {
    top: 48%;
    right: 10%;
}

.south-pin {
    right: 26%;
    bottom: 13%;
}

.route-zone-list {
    display: grid;
    gap: 12px;
    align-content: center;
}

.route-zone-list article,
.access-grid article {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfc;
}

.route-zone-list span,
.access-grid span {
    display: block;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.route-zone-list strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.route-zone-list p,
.access-grid p {
    margin-bottom: 0;
}

.access-section {
    border-top: 1px solid var(--line);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.weather-strip {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.weather-strip ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weather-strip li {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 18px 45px rgba(7, 24, 31, 0.06);
}

.weather-strip strong {
    color: var(--deep);
}

@media (max-width: 1060px) {
    .site-nav a {
        padding-inline: 10px;
        font-size: 0.88rem;
    }
}

@media (max-width: 980px) {
    .route-console,
    .route-map-section,
    .route-map-shell,
    .weather-strip,
    .access-grid {
        grid-template-columns: 1fr;
    }

    .route-map-visual {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .route-ticket,
    .weather-strip li {
        grid-template-columns: 1fr;
    }

    .route-ticket span {
        grid-row: auto;
    }

    .route-map-shell {
        padding: 14px;
    }

    .route-map-visual {
        min-height: 310px;
    }

    .map-pin {
        min-width: 74px;
        font-size: 0.72rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE SAFETY NET
   ============================================ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

main,
section,
article,
aside,
.site-header,
.site-footer,
.brand,
.site-nav,
.hero-content,
.section,
.request-form,
.quote-form,
.workflow-card,
.package-card,
.service-card,
.menu-card,
.cake-card,
.rental-card,
.gallery-card,
.category-card,
.form-section,
.cta-band {
    min-width: 0;
}

h1,
h2,
h3,
p,
a,
button,
label,
li,
span,
strong,
dd,
dt {
    overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
    .site-header {
        gap: 14px;
    }

    .brand {
        max-width: min(46vw, 320px);
    }

    .site-nav {
        gap: 4px;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: center;
        min-height: 70px;
        padding: 12px 16px;
    }

    .brand {
        max-width: calc(100% - 56px);
    }

    .brand-mark,
    .nav-toggle {
        flex: 0 0 auto;
    }

    .brand strong {
        font-size: 0.98rem;
        line-height: 1.12;
    }

    .brand small {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .site-nav {
        top: calc(100% - 1px);
        right: 12px;
        left: 12px;
        z-index: 30;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-nav a {
        width: 100%;
        min-height: 46px;
        display: flex;
        align-items: center;
    }

    .hero,
    .service-brief,
    .studio-ledger,
    .planner-console,
    .bakery-counter {
        min-height: auto;
    }

    .hero-content,
    .service-brief .hero-content,
    .studio-ledger .hero-content {
        width: min(100% - 28px, 680px);
        margin-inline: auto;
        padding-block: 52px;
    }

    .service-brief,
    .studio-ledger {
        padding: 260px 14px 40px;
    }

    .planner-console,
    .bakery-counter {
        padding: 36px 14px;
    }

    .page-hero,
    .compact-hero,
    .request-hero,
    .appointment-hero {
        min-height: auto;
        padding: 68px 14px 44px;
    }

    .section,
    .cta-band,
    .detail-band,
    .policy-band {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding-block: clamp(42px, 12vw, 72px);
    }

    .section-heading {
        display: grid;
        gap: 12px;
        align-items: start;
    }

    .hero-actions,
    .cta-band {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .button,
    .text-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .trust-strip,
    .intro-section,
    .gallery-grid,
    .package-row,
    .package-grid,
    .order-row,
    .cake-grid,
    .service-row,
    .service-grid,
    .category-grid,
    .inventory-grid,
    .add-on-grid,
    .testimonial-grid,
    .steps,
    .form-grid,
    .checkbox-grid,
    .quote-layout,
    .request-layout,
    .service-area-panel,
    .guide-panel,
    .prep-panel,
    .radius-panel,
    .detail-band,
    .policy-band,
    .detail-board,
    .detail-board-panel,
    .comparison-layout,
    .quote-roadmap,
    .route-ledger,
    .field-notes,
    .owner-profile,
    .detail-values,
    .route-console,
    .route-map-section,
    .route-map-shell,
    .access-grid,
    .weather-strip,
    .cake-collage,
    .cake-collage-grid,
    .bakery-receipt,
    .tasting-notes,
    .tasting-grid,
    .baker-note,
    .studio-profile,
    .studio-values,
    .design-preview,
    .design-preview-board,
    .consult-board,
    .moodboard-shell,
    .palette-grid,
    .sketch-ledger,
    .salon-lookbook,
    .appointment-board,
    .booking-flow,
    .party-builder,
    .party-builder-grid,
    .package-dock,
    .collage-grid,
    .delivery-run .steps,
    .event-briefing,
    .dispatch-board,
    .dispatch-board ol,
    .crew-profile,
    .crew-values {
        grid-template-columns: 1fr !important;
    }

    .package-grid,
    .inventory-grid {
        overflow-x: visible;
    }

    .service-card,
    .menu-card,
    .cake-card,
    .rental-card,
    .package-card,
    .gallery-card,
    .category-card,
    .form-section,
    .workflow-card,
    blockquote,
    .cta-band,
    .detail-band,
    .policy-band {
        padding: clamp(20px, 6vw, 26px);
    }

    .gallery-card,
    .category-card,
    .lookbook-feature,
    .lookbook-stack .gallery-card,
    .comparison-layout .gallery-card,
    .cake-collage-grid .gallery-card,
    .mood-card,
    .swatch-card {
        min-height: 240px;
    }

    .workflow-card,
    .detail-board-copy,
    .party-builder-copy,
    .appointment-menu,
    .form-intro {
        position: static;
    }

    .route-ticket,
    .weather-strip li,
    .sketch-ledger li,
    .bakery-receipt .steps li,
    .appointment-board .service-card {
        grid-template-columns: 1fr !important;
    }

    .quote-roadmap .steps li,
    .route-ticket span,
    .appointment-board .service-card > * {
        grid-column: auto;
        grid-row: auto;
    }

    .site-footer {
        display: grid;
        grid-template-columns: 1fr;
        padding: 28px 16px;
    }

    .site-footer nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .brand small {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
    }

    h1,
    .page-hero h1 {
        font-size: clamp(2.15rem, 14vw, 3rem);
        line-height: 1.04;
    }

    h2,
    .cta-band h2,
    .detail-band h2,
    .policy-band h2 {
        font-size: clamp(1.65rem, 10vw, 2.25rem);
    }

    .hero-copy,
    .page-hero p:last-child {
        font-size: 1rem;
    }

    .hero-content,
    .service-brief .hero-content,
    .studio-ledger .hero-content,
    .section,
    .cta-band,
    .detail-band,
    .policy-band {
        width: min(100% - 24px, 1180px);
    }

    .service-brief,
    .studio-ledger {
        padding-top: 220px;
    }

    .page-hero,
    .compact-hero,
    .request-hero,
    .appointment-hero {
        padding-inline: 12px;
    }

    .form-section-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

    .menu-card dl,
    .cake-card dl,
    .quick-estimate div,
    .order-ticket div,
    .client-card div {
        grid-template-columns: 1fr;
        display: grid;
    }

    .quick-estimate dd,
    .order-ticket dd,
    .client-card dd {
        text-align: left;
    }
}
