/* ============================================================
   v3-memberships.css  —  Memberships page reboot 2026-06-05
   ============================================================ */

/* ---------- Hero ---------- */
.mp-hero {
    background: linear-gradient(180deg, var(--bb-cream) 0%, var(--bb-blush-soft) 100%);
    padding: 130px 0 80px;
    text-align: center;
    position: relative;
}
.mp-hero .eyebrow { color: var(--bb-pink-deep); margin: 0 auto 16px; }
.mp-hero h1 { color: var(--bb-ink); font-weight: 400; max-width: 780px; margin: 0 auto 18px; }
.mp-hero h1 .script { color: var(--bb-pink-deep); }
.mp-hero > .container > p { color: var(--bb-taupe); font-size: 1.1rem; font-weight: 300; max-width: 640px; margin: 0 auto 40px; }
.mp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 760px;
    margin: 0 auto 22px;
}
.mp-hero-stats > div { text-align: center; }
.mp-hero-stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--bb-pink-deep);
    line-height: 1.1;
    margin-bottom: 6px;
}
.mp-hero-stats span {
    font-size: 0.78rem;
    color: var(--bb-taupe);
    letter-spacing: 0.06em;
}
.mp-hero-foot {
    font-size: 0.82rem;
    color: var(--bb-taupe);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.mp-hero-foot a { color: var(--bb-pink-deep); border-bottom: 1px solid var(--bb-pink); }
@media (max-width: 720px) { .mp-hero-stats { grid-template-columns: 1fr; } }

/* ---------- Tier Cards (above fold) ---------- */
.mp-tiers {
    background: var(--bb-cream);
    padding: 80px 0 110px;
}
.mp-tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1100px) { .mp-tier-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 640px)  { .mp-tier-grid { grid-template-columns: 1fr; } }

.mp-tier-card {
    background: var(--bb-white);
    border: 1px solid var(--bb-line);
    border-radius: var(--radius-lg);
    padding: 32px 22px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
    box-shadow: var(--shadow-soft);
}
.mp-tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.mp-tier-card.is-popular {
    border: 2px solid var(--bb-pink-deep);
    box-shadow: 0 22px 60px rgba(190, 134, 118, 0.20), 0 6px 18px rgba(34,28,25,0.08);
    transform: translateY(-6px);
}
.mp-popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--bb-pink) 0%, var(--bb-pink-deep) 100%);
    color: var(--bb-white);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(190, 134, 118, 0.35);
}
.mp-tier-head { text-align: center; margin-bottom: 18px; }
.mp-tier-head h2 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--bb-ink);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 0;
}
.mp-tier-head h2 .script { color: var(--bb-pink-deep); }
.mp-tier-price {
    margin-bottom: 6px;
}
.mp-tier-price strong {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--bb-pink-deep);
    line-height: 1;
}
.mp-tier-price span {
    color: var(--bb-taupe);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}
.mp-tier-tag {
    color: var(--bb-taupe);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin: 0;
}
.mp-tier-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex-grow: 1;
}
.mp-tier-bullets li {
    padding: 7px 0;
    font-size: 0.86rem;
    color: var(--bb-ink-soft);
    line-height: 1.4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.mp-tier-bullets li::before {
    content: '\2713';
    color: var(--bb-pink-deep);
    flex-shrink: 0;
    margin-top: 1px;
    font-weight: 600;
}
.mp-tier-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.mp-tier-cta .btn { width: 100%; text-align: center; padding: 13px 18px; }
.mp-explore {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bb-pink-deep);
    border-bottom: 1px solid var(--bb-pink);
    padding-bottom: 2px;
    margin-top: 4px;
}
.mp-expand {
    margin-top: 18px;
    background: transparent;
    color: var(--bb-taupe);
    border: none;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid var(--bb-line);
}
.mp-expand:hover { color: var(--bb-pink-deep); }
.mp-expand-pane {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--bb-line);
    font-size: 0.86rem;
    color: var(--bb-taupe);
    line-height: 1.5;
}
.mp-expand-pane h4 {
    font-family: var(--font-display);
    font-size: 0.92rem;
    color: var(--bb-ink);
    margin: 10px 0 6px;
    letter-spacing: 0;
}
.mp-expand-pane ul { list-style: disc; padding-left: 18px; margin-bottom: 10px; }
.mp-expand-pane li { padding: 2px 0; }
.mp-expand-pane p { margin-bottom: 8px; }
.mp-expand-pane strong { color: var(--bb-pink-deep); }

/* ---------- Comparison Matrix ---------- */
.mp-compare {
    background: var(--bb-blush-soft);
    padding: 100px 0;
}
.mp-compare .section-header { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.mp-compare .eyebrow { color: var(--bb-pink-deep); }
.mp-compare h2 { color: var(--bb-ink); }
.mp-compare h2 .script { color: var(--bb-pink-deep); }
.mp-compare > .container > .section-header p { color: var(--bb-taupe); font-weight: 300; }
.mp-matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mp-matrix {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bb-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.mp-matrix thead th {
    background: var(--bb-cream);
    padding: 18px 12px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--bb-ink);
    border-bottom: 1px solid var(--bb-line);
    position: relative;
}
.mp-matrix thead th small {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--bb-taupe);
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.mp-matrix thead th.is-popular {
    background: linear-gradient(180deg, var(--bb-pink) 0%, var(--bb-pink-deep) 100%);
    color: var(--bb-white);
}
.mp-matrix thead th.is-popular small { color: rgba(248,243,235,0.9); }
.mp-mp-pill {
    display: block;
    margin-top: 6px;
    background: var(--bb-white);
    color: var(--bb-pink-deep);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
}
.mp-matrix tbody td {
    padding: 13px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(34,28,25,0.06);
    color: var(--bb-ink-soft);
    font-size: 0.88rem;
}
.mp-matrix tbody td:first-child {
    text-align: left;
    color: var(--bb-ink);
    font-weight: 500;
}
.mp-matrix tbody tr:nth-child(odd) td:not(:first-child):nth-child(4) {
    background: rgba(232, 180, 168, 0.06);
}
.mp-matrix tbody tr td:nth-child(4) {
    background: rgba(232, 180, 168, 0.04);
    border-left: 1px solid var(--bb-pink);
    border-right: 1px solid var(--bb-pink);
}
.mp-matrix-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---------- Live Savings Calculator ---------- */
.mp-calc {
    background: var(--bb-cream);
    padding: 100px 0;
}
.mp-calc .section-header { text-align: center; max-width: 660px; margin: 0 auto 42px; }
.mp-calc .eyebrow { color: var(--bb-pink-deep); }
.mp-calc h2 { color: var(--bb-ink); }
.mp-calc h2 .script { color: var(--bb-pink-deep); }
.mp-calc > .container > .section-header p { color: var(--bb-taupe); font-weight: 300; }
.mp-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    background: var(--bb-white);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-lift);
}
@media (max-width: 880px) {
    .mp-calc-grid { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}
.mp-calc-inputs label {
    display: block;
    color: var(--bb-ink);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 18px;
}
.mp-calc-inputs input[type="range"] {
    display: block;
    width: 100%;
    margin: 8px 0 4px;
    accent-color: var(--bb-pink-deep);
}
.mp-calc-val {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--bb-pink-deep);
    margin-left: 6px;
}
.mp-calc-note {
    font-size: 0.74rem;
    color: var(--bb-taupe);
    line-height: 1.4;
    margin-top: 12px;
    border-top: 1px dashed var(--bb-line);
    padding-top: 12px;
}
.mp-calc-results h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--bb-ink);
    margin: 0 0 8px;
    letter-spacing: 0;
}
.mp-calc-alc {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--bb-pink-deep);
    line-height: 1.1;
    margin: 0 0 22px;
}
.mp-calc-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.mp-calc-table th {
    text-align: left;
    font-weight: 500;
    color: var(--bb-ink-soft);
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--bb-line);
}
.mp-calc-table th small { font-weight: 400; color: var(--bb-pink-deep); font-size: 0.7rem; margin-left: 4px; }
.mp-calc-table td {
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--bb-ink);
    padding: 10px 0;
    border-bottom: 1px solid var(--bb-line);
}
.mp-calc-table tr.is-popular th { color: var(--bb-pink-deep); font-weight: 600; }
.mp-calc-table tr.is-popular td { color: var(--bb-pink-deep); font-weight: 600; }
.mp-calc-cta .btn { width: 100%; }

/* ---- 2026-06-05 round 2: clearer step-by-step layout ---- */
.mp-calc-inputs-head,
.mp-calc-results-head {
    margin-bottom: 14px;
}
.mp-calc-inputs-head h3,
.mp-calc-results-head h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    color: var(--bb-ink);
    margin: 4px 0 0;
    letter-spacing: 0;
}
.mp-calc-step {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bb-white);
    background: linear-gradient(135deg, var(--bb-pink) 0%, var(--bb-pink-deep) 100%);
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}
.mp-calc-inputs label {
    display: block;
    margin-bottom: 22px;
    color: var(--bb-ink);
}
.mp-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}
.mp-calc-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--bb-ink);
}
.mp-calc-val {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--bb-pink-deep);
    line-height: 1;
    margin-left: 0;
}
.mp-calc-sub {
    display: block;
    font-size: 0.74rem;
    color: var(--bb-taupe);
    margin-top: 4px;
    line-height: 1.3;
}
.mp-calc-table thead { display: contents; }
/* 2026-06-06: unified row template — header + body + winner all share the
   same grid AND the same horizontal padding so the "Annual cost" and
   "What you save" header labels sit dead over the numbers below them. */
.mp-calc-table thead tr,
.mp-calc-table tbody tr {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1.1fr;
    gap: 10px;
    padding: 0 14px;
    align-items: center;
    box-sizing: border-box;
}
.mp-calc-table thead tr {
    align-items: end;
    border-bottom: 2px solid var(--bb-line);
}
.mp-calc-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    color: var(--bb-taupe);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: none;
}
.mp-calc-table thead th:not(:first-child) { text-align: right; }
.mp-calc-table tbody td { text-align: right; padding: 12px 0; font-size: 0.95rem; }
.mp-calc-table tbody td:first-child { text-align: left; }
.mp-calc-table tbody td:last-child { padding-right: 0; }
.mp-calc-table tbody th {
    display: flex;
    flex-direction: column;
    text-align: left;
    border-bottom: 1px solid var(--bb-line);
    padding: 12px 0;
}
.mp-calc-table tbody th strong {
    font-family: var(--font-display);
    color: var(--bb-ink);
    font-size: 0.98rem;
    font-weight: 600;
}
.mp-calc-table tbody th small {
    font-size: 0.72rem;
    color: var(--bb-taupe);
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 1px;
}
.mp-calc-table .mp-pos { color: #19874c; font-weight: 700; font-family: var(--font-display); }
.mp-calc-table .mp-neg { color: var(--c0392b, #c0392b); font-weight: 500; }
.mp-calc-table .mp-flat { color: var(--bb-taupe); font-style: italic; }
.mp-calc-table tbody tr.is-winner {
    background: linear-gradient(90deg, rgba(232,180,168,0.22), rgba(232,180,168,0.06));
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1.5px var(--bb-pink);
    transition: background 220ms ease;
}
.mp-calc-table tbody tr.is-winner th strong { color: var(--bb-pink-deep); }
.mp-calc-winner {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--bb-ink);
    background: var(--bb-blush-soft);
    border-left: 4px solid var(--bb-pink-deep);
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0 18px;
    line-height: 1.45;
    min-height: 50px;
}
.mp-calc-winner strong { color: var(--bb-pink-deep); }

/* ---------- Why Members Love It ---------- */
.mp-why {
    background: linear-gradient(180deg, var(--bb-cream) 0%, var(--bb-blush-soft) 100%);
    padding: 90px 0;
}
.mp-why .section-header { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.mp-why .eyebrow { color: var(--bb-pink-deep); }
.mp-why h2 { color: var(--bb-ink); }
.mp-why h2 .script { color: var(--bb-pink-deep); }
.mp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 920px) { .mp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .mp-why-grid { grid-template-columns: 1fr; } }
.mp-why-card {
    background: var(--bb-white);
    padding: 30px 22px 26px;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.mp-why-card .mp-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bb-pink), var(--bb-pink-deep));
    color: var(--bb-white);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
}
.mp-why-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--bb-ink);
    margin-bottom: 8px;
    letter-spacing: 0;
}
.mp-why-card p { color: var(--bb-taupe); font-size: 0.88rem; line-height: 1.5; margin: 0; }

/* ---------- FAQ ---------- */
.mp-faq {
    background: var(--bb-cream);
    padding: 90px 0;
}
.mp-faq .section-header { text-align: center; margin-bottom: 36px; }
.mp-faq .eyebrow { color: var(--bb-pink-deep); }
.mp-faq h2 .script { color: var(--bb-pink-deep); }
.mp-faq .faq-item {
    background: var(--bb-white);
    border: 1px solid var(--bb-line);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    padding: 0;
}
.mp-faq .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bb-ink);
    font-weight: 500;
    font-size: 1rem;
}
.mp-faq .faq-item summary::-webkit-details-marker { display: none; }
.mp-faq .faq-item .faq-mark {
    color: var(--bb-pink-deep);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 200ms ease;
}
.mp-faq .faq-item[open] .faq-mark { transform: rotate(45deg); }
.mp-faq .faq-a {
    padding: 0 22px 18px;
    color: var(--bb-taupe);
    line-height: 1.6;
    font-size: 0.94rem;
}

/* ---------- Fine print ---------- */
.mp-fineprint {
    background: var(--bb-cream);
    padding: 30px 0 80px;
}
.mp-fineprint p {
    font-size: 0.78rem;
    color: var(--bb-taupe);
    font-style: italic;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.5;
}

/* ---------- Sticky CTA bar ---------- */
.mp-sticky-cta {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 200;
    background: var(--bb-white);
    border: 1px solid var(--bb-pink);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    box-shadow: 0 20px 50px rgba(34,28,25,0.18);
    max-width: 460px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 320ms ease, transform 320ms ease;
}
.mp-sticky-cta.is-visible { opacity: 1; transform: translateY(0); }
.mp-sticky-inner {
    display: flex;
    align-items: center;
    gap: 14px;
}
.mp-sticky-inner span { font-size: 0.84rem; color: var(--bb-ink-soft); line-height: 1.4; flex: 1; }
.mp-sticky-inner strong { color: var(--bb-pink-deep); }
.mp-sticky-inner .btn { padding: 10px 16px; font-size: 0.72rem; white-space: nowrap; }
@media (max-width: 720px) {
    .mp-sticky-cta { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 12px; }
    .mp-sticky-inner { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
    .mp-sticky-inner span { text-align: center; }
    .mp-sticky-inner .btn { width: 100%; }
}

/* ===================================================================
   v3-memberships.css — Sweep #18 patch (2026-06-06)
   - Fix calc alignment so Annual Cost + What You Save align with numbers
   - Add photo-backed hero
   - Add background photos to key sections
   - Compress repeat copy treatments
   =================================================================== */

/* ---------- (Calc alignment now lives in the unified rule above — old override removed 2026-06-06) ---------- */

/* ---------- Photo-backed hero ---------- */
.mp-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../assets/glam-blonde.jpg');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.18;
    z-index: -1;
    filter: contrast(1.05) saturate(0.9);
}
.mp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248,233,226,0.8) 0%, rgba(253,246,241,0.95) 100%);
    z-index: -1;
}

/* ---------- Tier section background ---------- */
.mp-tiers {
    background:
        linear-gradient(180deg, rgba(253,246,241,0.92), rgba(248,233,226,0.86)),
        url('../assets/boujee-chair.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
@media (max-width: 920px) {
    .mp-tiers { background-attachment: scroll; }
}

/* ---------- Calc section subtle photo ---------- */
.mp-calc {
    position: relative;
    isolation: isolate;
}
.mp-calc::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../assets/marissa-meet-injector.jpg');
    background-size: cover;
    background-position: right top;
    opacity: 0.08;
    z-index: -1;
    filter: contrast(1.05);
}

/* ---------- Why members love it photo accent ---------- */
.mp-why {
    position: relative;
    isolation: isolate;
}
.mp-why::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../assets/boujee-injecting.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* ---------- New photo strip section ---------- */
.mp-photo-strip {
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.mp-photo-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.mp-photo-strip-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) contrast(1.03);
}
@media (max-width: 920px) {
    .mp-photo-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .mp-photo-strip-grid img { height: 200px; }
}
@media (max-width: 540px) {
    .mp-photo-strip-grid img { height: 150px; }
}

/* 2026-06-06 — second photo strip (inline-styled grid) needs the same mobile
   tightening. Selector here scopes to the section's inline aspect-ratio. */
.mp-photo-strip-21 .container > div { gap: 12px; }
@media (max-width: 720px) {
    .mp-photo-strip-21 .container > div { grid-template-columns: repeat(4, 1fr) !important; gap: 8px; }
    .mp-photo-strip-21 img { aspect-ratio: 1/1; height: auto; }
}
@media (max-width: 480px) {
    .mp-photo-strip-21 .container > div { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------- Compress + style The Math intro ---------- */
.mp-calc .section-header { max-width: 760px; }
.mp-calc-tldr { color: var(--bb-pink-deep); font-weight: 500; font-size: 0.95rem; margin-top: 6px; }


/* === SWEEP-20: bg-photo content layering === */
section.has-bg-photo { isolation: isolate; }
section.has-bg-photo > .container,
section.has-bg-photo > * { position: relative; z-index: 1; }
section.has-bg-photo > .bg-photo { z-index: 0; }


/* ============================================================
   2026-06-06b — mobile-compact comparison matrix
   Desktop unchanged. Mobile: pivot the 4-column matrix into a
   single-screen card-grid view so it fits without scrolling.
   ============================================================ */
@media (max-width: 720px) {
    .mp-compare { padding: 60px 0 70px; }
    .mp-compare .section-header { margin-bottom: 24px; }
    .mp-matrix-wrap { overflow-x: visible; }
    .mp-matrix {
        min-width: 0;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        display: block;
    }
    .mp-matrix thead { display: none; }
    .mp-matrix tbody { display: block; }
    /* Each row becomes a horizontally scrollable mini-card with the
       feature on the left and a tight 4-column comparison on the right. */
    .mp-matrix tbody tr {
        display: grid;
        grid-template-columns: 1.4fr repeat(4, 1fr);
        gap: 6px;
        padding: 10px 8px;
        background: var(--bb-white);
        border-radius: 10px;
        margin-bottom: 6px;
        box-shadow: 0 4px 12px rgba(34,28,25,0.04);
        font-size: 0.74rem;
    }
    .mp-matrix tbody tr td {
        padding: 4px 2px;
        text-align: center;
        font-size: 0.74rem;
        background: transparent !important;
        border: none !important;
        line-height: 1.15;
    }
    .mp-matrix tbody tr td:first-child {
        text-align: left;
        font-weight: 600;
        font-size: 0.78rem;
        padding-left: 4px;
        color: var(--bb-ink);
    }
    /* Mini header pinned above the body grid so users know which column = which tier */
    .mp-matrix tbody::before {
        content: "Feature  •  $99  •  $349  •  $549  •  $799";
        display: block;
        font-size: 0.62rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--bb-taupe);
        text-align: center;
        padding: 6px 0 12px;
    }
    /* Highlight the popular column ($549, 4th column = 4th child) */
    .mp-matrix tbody tr td:nth-child(4) {
        background: rgba(232,180,168,0.14) !important;
        border-radius: 6px;
        font-weight: 600;
        color: var(--bb-pink-deep);
    }
    .mp-matrix-cta { margin-top: 20px; }
}
@media (max-width: 380px) {
    .mp-matrix tbody tr { grid-template-columns: 1.5fr repeat(4, 1fr); font-size: 0.68rem; }
    .mp-matrix tbody tr td, .mp-matrix tbody tr td:first-child { font-size: 0.66rem; }
}
