/* Phones: a thinner top that stays the same size the whole time you scroll.
   Banner = one short line, menu bar = smaller logo, and both stay pinned together. */
@media (max-width: 768px) {
    .top-banner {
        position: sticky !important;
        top: 0 !important;
        z-index: 1001 !important;
        height: 32px !important;
        padding: 0 12px !important;
        line-height: 32px !important;
        font-size: 14px !important;
        white-space: nowrap !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    .top-banner .banner-break,
    .top-banner .banner-long { display: none !important; }
    .top-banner a { padding-bottom: 0 !important; }

    /* menu bar sits right under the banner and never changes height */
    .top-nav-bar { top: 32px !important; }
    /* Homepage: the whole block is already pinned, so the two rows just stack inside it.
       (Sticky inside a fixed block makes iPhone Safari slide the banner over the menu.) */
    .fixed-header-stack .top-banner,
    .fixed-header-stack .top-nav-bar { position: relative !important; top: auto !important; }
    .top-nav-bar .nav-container {
        height: 60px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        box-sizing: border-box;
    }
    .top-nav-bar .logo-placeholder { width: 46px !important; height: 46px !important; }
    .top-nav-bar .brand-name { font-size: 1.15em !important; }
    .top-nav-bar .brand-tagline { display: none !important; }

    /* homepage keeps both rows in a fixed block: leave exactly that much room */
    html body:has(.fixed-header-stack) { padding-top: 94px !important; }
    html { scroll-padding-top: 104px; }
}

/* Phone/tablet menu: reach past the bottom edge so iPhone Safari's collapsing
   toolbar never leaves a strip of page showing under the menu or its dimmed backdrop. */
@media (max-width: 1024px) {
    /* Size from the top using the tallest the screen gets (toolbar hidden), plus extra,
       instead of pinning to a bottom edge iPhone Safari moves around (Kasey, Dec 1) */
    .main-nav, .nav-backdrop {
        top: 0 !important;
        bottom: auto !important;
        height: calc(100vh + 160px) !important;
        height: calc(100lvh + 160px) !important;
    }
    .main-nav { padding-bottom: 190px !important; overscroll-behavior: contain; }
    /* the page behind stays put while the menu is open, so the toolbar can't shift under it */
    html:has(.main-nav.mobile-active),
    html:has(.main-nav.mobile-active) body { overflow: hidden !important; }
}

/* ===== Readability: small text a little bigger (Cormorant reads small) ===== */
/* Reading text: at least 17px */
.hero-description, .review-card p, .area-map-note, .contact-card-value, .hours-reply,
.companion-bio, .perk-banner-note, .returning-line, .form-description, .note-foot,
.review-band-sub, .magazine-tip, .expand-indicator {
    font-size: max(17px, 1em) !important;
}
/* Small labels: a step up */
.review-badge, .review-band-eyebrow, .section-eyebrow, .meet-greet-availability-title,
.perk-banner-label, .coupon-eyebrow { font-size: max(15px, 1em) !important; }
.svc-pill, .fine-q { font-size: max(15.5px, 1em) !important; }
.svc-label, .review-name, .review-date, .time-tag, .carousel-count, .footer-seal-main,
.ribbon-banner-text { font-size: max(16px, 1em) !important; }
.svc-tab { font-size: 14.5px !important; }
@media (max-width: 768px) { .svc-tab { font-size: clamp(13.5px, 3.6vw, 14.5px) !important; } }
@media (max-width: 768px) {
    .top-banner { font-size: clamp(13.5px, 3.85vw, 15px) !important; }
}

/* very small phones: keep the five service tabs from touching */
@media (max-width: 340px) { .service-details-content .svc-tab { letter-spacing: 0 !important; padding-left: 1px !important; padding-right: 1px !important; } }

/* Computers: a thinner banner and menu bar so the top takes up less of the screen (Kasey, Nov 26) */
@media (min-width: 769px) {
    .top-banner {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        font-size: 15.5px !important;
        line-height: 1.35 !important;
    }
    .top-nav-bar .nav-container {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }
    .top-nav-bar .logo-placeholder { width: 56px !important; height: 56px !important; }
    .top-nav-bar .brand-name { font-size: 1.35em !important; line-height: 1.2 !important; }
    .top-nav-bar .brand-tagline { font-size: 15px !important; line-height: 1.3 !important; margin-top: 1px !important; }
}
/* homepage keeps the header in a fixed block: leave exactly that much room (105px header + the usual 9px) */
@media (min-width: 769px) {
    html body:has(.fixed-header-stack) { padding-top: 114px !important; }
}

/* pink buttons are flat: no glow or blur around them (Kasey, Dec 1) */ html:not(#x) body :is(.cta-button.cta-primary,.cta-nav,.ck-btn-primary,.nav-button.primary,.carousel-button,.carousel-btn,.magazine-btn),html:not(#x) body :is(.cta-button.cta-primary,.cta-nav,.ck-btn-primary,.nav-button.primary,.carousel-button,.carousel-btn,.magazine-btn):is(:hover,:focus,:active){box-shadow:none !important;text-shadow:none !important;filter:none !important}
