:root {
    --ink: #22212a;
    --muted: #645f6d;
    --line: #eaded1;
    --paper: #ffffff;
    --cream: #fff8ef;
    --deep: #272039;
    --plum: #6b3f7a;
    --coral: #f46f5e;
    --coral-dark: #d75043;
    --gold: #f4bd4f;
    --shadow: 0 24px 70px rgba(39, 32, 57, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    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(39, 32, 57, 0.9);
    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-radius: 8px;
    background: linear-gradient(135deg, var(--coral), var(--gold));
    color: var(--deep);
    font-weight: 900;
}

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

.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: 800;
    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(39, 32, 57, 0.88) 0%, rgba(39, 32, 57, 0.58) 46%, rgba(39, 32, 57, 0.16) 100%),
        linear-gradient(0deg, rgba(39, 32, 57, 0.42), rgba(39, 32, 57, 0.02));
}

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

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

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

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

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

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

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

h3 {
    font-size: 1.25rem;
}

.hero-copy {
    max-width: 640px;
    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(--coral);
    color: white;
    box-shadow: 0 16px 32px rgba(244, 111, 94, 0.26);
}

.button-primary:hover {
    background: var(--coral-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;
}

.category-section,
.packages-preview,
.gallery-section,
.steps-section,
.testimonials-section,
.inventory-section,
.package-section,
.add-on-section,
.radius-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;
}

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

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

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

.category-card,
.gallery-card {
    display: flex;
    min-height: 320px;
    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(39, 32, 57, 0.88), rgba(39, 32, 57, 0.08)),
        url("./assets/brightyard-hero.png");
    background-size: cover;
    box-shadow: var(--shadow);
}

.bounce-card {
    background-position: 70% center;
}

.tent-card {
    background-position: 42% center;
}

.table-card {
    background-position: 54% center;
}

.game-card {
    background-position: 82% center;
}

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

.layout-card {
    background-position: 36% center;
}

.fun-card {
    background-position: 75% center;
}

.service-card {
    background-position: 88% center;
}

.category-card span,
.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;
}

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

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

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

.inventory-grid {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
}

.package-card,
.rental-card,
.inventory-grid article,
.add-on-grid article,
blockquote,
.quote-form,
.workflow-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 18px 45px rgba(39, 32, 57, 0.08);
}

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

.inventory-grid article {
    min-width: 190px;
}

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

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

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

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

.rental-card {
    display: flex;
    flex-direction: column;
}

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

.featured-card {
    border-color: rgba(244, 111, 94, 0.65);
    box-shadow: 0 24px 70px rgba(244, 111, 94, 0.16);
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--plum);
    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(--coral);
    background: white;
    border-radius: 8px;
}

.steps span {
    display: block;
    margin-bottom: 28px;
    color: var(--coral-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(39, 32, 57, 0.94), rgba(107, 63, 122, 0.82)),
        url("./assets/brightyard-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(39, 32, 57, 0.94), rgba(39, 32, 57, 0.68), rgba(39, 32, 57, 0.25)),
        url("./assets/brightyard-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: 700px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

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

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

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

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

.radius-panel 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) 370px;
    gap: 24px;
    align-items: start;
}

.quote-form {
    display: grid;
    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 #d8c9bc;
    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(244, 111, 94, 0.18);
    border-color: var(--coral);
}

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

.checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0;
    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;
}

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

.form-submit {
    width: 100%;
}

.form-message {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--plum);
    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: #fff1e7;
}

.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: 1020px) {
    .trust-strip,
    .category-grid,
    .package-row,
    .package-grid,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .radius-panel {
        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(39, 32, 57, 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,
    .category-grid,
    .package-row,
    .package-grid,
    .steps,
    .testimonial-grid,
    .add-on-grid,
    .radius-panel,
    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

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

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


/* Demo-specific layout variation: event planner board */
.party-builder {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
    border-top: 1px solid var(--line);
}

.party-builder-copy {
    position: sticky;
    top: 104px;
}

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

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

.party-builder-grid .category-card {
    min-height: 280px;
}

.package-dock {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.52);
}

.setup-collage,
.delivery-run {
    border-top: 1px solid var(--line);
}

.collage-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.85fr;
    grid-template-rows: repeat(2, minmax(230px, 1fr));
    gap: 18px;
}

.collage-grid .gallery-card {
    min-height: 230px;
}

.collage-grid .layout-card {
    grid-row: span 2;
}

.delivery-run .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.delivery-run .steps li {
    border-top: 0;
    border-bottom: 4px solid var(--coral);
}

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

@media (max-width: 1020px) {
    .party-builder {
        grid-template-columns: 1fr;
    }

    .party-builder-copy {
        position: static;
    }

    .package-dock {
        grid-column: auto;
        grid-template-columns: 1fr 1fr;
    }

    .collage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .collage-grid .layout-card {
        grid-row: auto;
    }

    .delivery-run .steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .party-builder-grid,
    .package-dock,
    .delivery-run .steps {
        grid-template-columns: 1fr;
    }
}

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


/* Unique homepage and story additions */
.planner-console { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr); gap: clamp(28px, 6vw, 76px); align-items: center; min-height: calc(100vh - 76px); padding: clamp(48px, 8vw, 100px) clamp(18px, 6vw, 72px); color: white; background: var(--deep); }
.planner-console .button-secondary { border-color: rgba(255,255,255,0.42); color: white; background: rgba(255,255,255,0.1); }
.event-map { position: relative; min-height: 560px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.event-map img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.map-chip { position: absolute; padding: 9px 12px; border-radius: 999px; background: var(--gold); color: var(--deep); font-weight: 900; box-shadow: 0 12px 28px rgba(39,32,57,0.22); }
.map-chip.bounce { left: 9%; top: 24%; } .map-chip.shade { right: 9%; top: 42%; } .map-chip.games { left: 18%; bottom: 16%; }
.event-briefing, .dispatch-board, .crew-profile { display: grid; grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr); gap: clamp(26px, 5vw, 64px); border-top: 1px solid var(--line); }
.event-briefing p:not(.eyebrow), .dispatch-card p, .crew-profile p { color: var(--muted); font-size: 1.06rem; }
.briefing-cards { display: grid; gap: 14px; align-content: center; }
.briefing-cards article, .crew-values article { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 18px 45px rgba(39,32,57,0.08); }
.briefing-cards strong { display: block; margin-bottom: 8px; font-size: 1.12rem; }
.briefing-cards span, .crew-values p { color: var(--muted); }
.dispatch-card { padding: 28px; border-radius: 8px; color: white; background: var(--plum); box-shadow: var(--shadow); }
.dispatch-card p { color: rgba(255,255,255,0.76); }
.dispatch-card .eyebrow, .dispatch-card .text-link { color: #ffd36b; }
.dispatch-board ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dispatch-board li { min-height: 160px; padding: 22px; border-radius: 8px; background: white; box-shadow: 0 18px 45px rgba(39,32,57,0.08); }
.dispatch-board span { display: block; margin-bottom: 38px; color: var(--coral-dark); font-weight: 900; }
.crew-profile aside { display: grid; gap: 12px; padding: 26px; border-radius: 8px; color: white; background: var(--deep); box-shadow: var(--shadow); }
.crew-profile aside span { padding: 12px 14px; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; background: rgba(255,255,255,0.08); }
.crew-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); }
@media (max-width: 1020px) { .planner-console, .event-briefing, .dispatch-board, .crew-profile, .crew-values { grid-template-columns: 1fr; } .dispatch-board ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .planner-console { padding: 36px 18px; } .event-map, .event-map img { min-height: 380px; } .dispatch-board ol, .crew-values { grid-template-columns: 1fr; } }

/* ============================================
   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;
    }
}
