:root {
    /* Brand tokens. Defaults below equal the "Lit Bar" kit; the Customizer
       and Branding page override them in wp_head (see inc/customizer.php). */
    --header-bg: #141414;
    --header-text: #F5F1E6;
    --footer-bg: #141414;
    --footer-text: #F5F1E6;
    --main-bg: #1C1C1C;
    --accent-deep: #0D0D0D;
    --card-bg: #0D0D0D;
    --gold: #D4A72C;
    --btn-bg: #D4A72C;
    --btn-hover: #E8C766;
    --on-accent: #141414;
    --headline: #D4A72C;
    --body-text: #F5F1E6;
    --text-strong: #F5F1E6;
    --phone-circle: #D4A72C;
    --white: #FFFFFF;
    --gray: #888;
    --accent-ink: #D4A72C;
    --accent-lit: #D4A72C;
    --gold-rgb: 212, 167, 44;
    --text-rgb: 245, 241, 230;
    --sunken: rgba(0, 0, 0, 0.22);

    /* Type */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --heading-weight: 800;
    --heading-transform: uppercase;
    --heading-tracking: 2px;
    --body-size: 100%;
    --link-decoration: underline;
    --link-weight: 500;
    --btn-transform: uppercase;
    --btn-tracking: 1px;

    /* Shape, depth, rhythm */
    --radius-btn: 5px;
    --radius-ui: 5px;
    --radius-card: 12px;
    --card-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.4);
    --btn-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --section-pad: 80px;

    /* Content & hero dimensions (overridable per page via meta box) */
    --beep-page-content-width: 1180px;
    --beep-single-content-width: 1180px;
    --beep-page-hero-height: 300px;
    --beep-single-hero-height: 100px;

    /* Sitewide link colours */
    --beep-link-color: var(--gold);
    --beep-link-hover-color: #FFFFFF;
    --beep-hero-overlay-gradient: linear-gradient(to top, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.55) 55%, rgba(13, 13, 13, 0.39) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: var(--body-size); }

body, button, input, textarea, select { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6, .section-title, .hero-title, .site-title { font-family: var(--font-heading); font-weight: var(--heading-weight); }

.beep-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

html { scroll-behavior: auto; }

body {
    background-color: var(--main-bg);
    color: var(--body-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-synthesis: none;
}

a { text-decoration: none; color: inherit; transition: color 0.25s ease; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: var(--section-pad) 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--headline);
    margin-bottom: 40px;
    text-transform: var(--heading-transform);
    letter-spacing: var(--heading-tracking);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    background-color: var(--btn-bg);
    color: var(--on-accent);
    padding: 15px 35px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: var(--btn-transform);
    border: none;
    cursor: pointer;
    box-shadow: var(--btn-shadow);
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    letter-spacing: var(--btn-tracking);
}

.btn:hover {
    background-color: var(--btn-hover);
    transform: translateY(-3px);
}

.btn-primary { background-color: var(--btn-bg); color: var(--on-accent); }
.btn-secondary { background-color: transparent; color: var(--accent-ink); border: 2px solid var(--gold); box-shadow: none; }
.btn-secondary:hover { background-color: var(--gold); color: var(--on-accent); }
.btn-outline { background-color: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }
.btn-outline:hover { background-color: var(--white); color: var(--header-bg); }
.btn-small { padding: 10px 20px; font-size: 0.8rem; }

/* ===== HEADER ===== */
.site-header {
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height, 75px);
}

.site-branding { display: flex; align-items: center; gap: 10px; height: 100%; }

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

.site-logo img,
.site-branding .custom-logo-link,
.site-branding .custom-logo-link img,
.site-branding img.custom-logo {
    max-height: var(--logo-max-height, 65px);
    height: 100%;
    width: auto;
}

.site-branding .custom-logo-link { display: flex; align-items: center; }

.site-title {
    font-size: 1.15rem;
    color: var(--accent-lit);
    text-transform: var(--heading-transform);
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 1.2;
}

.primary-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.primary-nav .nav-menu a {
    color: var(--header-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.primary-nav .nav-menu a:hover { color: var(--accent-lit); }

.btn-order {
    background-color: var(--btn-bg);
    color: var(--on-accent);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: var(--btn-transform);
    letter-spacing: var(--btn-tracking);
    box-shadow: var(--btn-shadow);
}

.btn-order { will-change: transform; }
.btn-order:hover { background-color: var(--btn-hover); transform: translateY(-2px); }
.btn-book { background-color: transparent; color: var(--accent-lit); border: 2px solid var(--gold); margin-left: 6px; }
.btn-book:hover { background-color: var(--gold); color: var(--on-accent); }

.site-header .header-buttons { display: flex; align-items: center; gap: 6px; }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-lit);
    padding: 10px;
}

/* ===== HERO ===== */
.hero {
    min-height: var(--beep-home-hero-height, 80vh);
    background-size: cover;
    background-position: center;
    background-color: var(--header-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--beep-hero-overlay-gradient);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-lit);
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    margin-bottom: 14px;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.8);
    text-transform: var(--heading-transform);
    letter-spacing: var(--heading-tracking);
    line-height: 1.15;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 34px;
    color: var(--white);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    opacity: 0.92;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Hero actions: one dominant CTA + lightweight pills ---------- */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.hero-cta-main {
    font-size: 1.1rem;
    padding: 17px 48px;
}

.hero-cta-secondary {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 10px;
    justify-content: center;
}

@media (max-width: 520px) {
    .hero-cta-secondary {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    color: var(--accent-lit);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-pill:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-accent);
}

.hero-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.hero-info-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

a.hero-info-item:hover { color: var(--accent-lit); }
.hero-info .beep-icon { color: var(--accent-lit); }

.hero-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-app-label {
    color: var(--white);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    font-size: 0.85rem;
    opacity: 0.85;
}

.hero-app-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    background: rgba(0, 0, 0, 0.18);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
}

.hero-app-link .beep-icon { width: 1.15em; height: 1.15em; }

.hero-app-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-accent);
}

/* ===== NOTICE BANNER ===== */
.notice-banner {
    background: var(--header-bg);
    color: var(--accent-lit);
    padding: 15px 0;
    text-align: center;
    font-weight: 700;
    border-top: 1px solid rgba(var(--text-rgb), 0.2);
    border-bottom: 2px solid var(--gold);
}

.notice-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.notice-badge {
    background: var(--gold);
    color: var(--on-accent);
    padding: 2px 8px;
    border-radius: var(--radius-ui);
    font-weight: 800;
    font-size: 0.85rem;
}

/* ===== ABOUT ===== */
.about-section { background: var(--accent-deep); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-body p { margin-bottom: 15px; line-height: 1.8; }

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(var(--text-rgb), 0.1);
}

/* ===== HIGHLIGHTS (Card Design) ===== */
.highlights { background: var(--main-bg); }

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(var(--text-rgb), 0.1);
    position: relative;
    padding-bottom: 20px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--gold);
}

.highlight-img { overflow: hidden; }

.highlight-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    will-change: transform;
}

.highlight-card:hover .highlight-img img { transform: scale(1.05); }

.highlight-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: var(--on-accent);
    padding: 4px 10px;
    border-radius: var(--radius-ui);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    z-index: 2;
}

.highlight-card--text .highlight-badge {
    position: static;
    display: table;
    margin: 20px auto 0;
}

.highlight-info { padding: 20px; text-align: center; }

.highlight-info h3 {
    color: var(--headline);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.highlight-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ===== OPENING HOURS ===== */
.opening-hours { background: var(--main-bg); }

.hours-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.hours-grid-single {
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
}

.hours-column {
    background: var(--sunken);
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-rgb), 0.3);
    box-shadow: var(--card-shadow);
}

.hours-column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(var(--text-rgb), 0.2);
    padding-bottom: 15px;
}

.hours-column-header i, .hours-column-header .beep-icon { font-size: 2rem; color: var(--accent-ink); }

.hours-column-title {
    font-family: var(--font-heading);
    font-weight: var(--heading-weight);
    text-transform: var(--heading-transform);
}

.hours-column-header h3,
.hours-column-title {
    margin: 0;
    color: var(--accent-ink);
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
    text-transform: capitalize;
}

.hours-row.closed { opacity: 0.5; }

.hours-day { font-weight: 700; color: var(--headline); }

.hours-time { color: var(--body-text); }

.hours-note { text-align: center; margin-bottom: 30px; font-size: 1.1rem; color: var(--accent-ink); }

/* ===== GALLERY ===== */
.gallery-preview { background: var(--accent-deep); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--card-bg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    will-change: transform;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-link { display: block; }

.gallery-tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-ui);
    font-size: 0.8rem;
}

.gallery-cta { text-align: center; margin-top: 30px; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--main-bg); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid rgba(var(--text-rgb), 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-5px); }

.testimonial-stars { margin-bottom: 15px; }

.star { color: rgba(var(--text-rgb), 0.25); font-size: 1.3rem; }

.star.filled { color: var(--accent-ink); }

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--accent-ink);
    font-style: normal;
}

.testimonials-ctas {
    text-align: center;
    margin-top: 60px;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 20px;
}

.testimonials-ctas .btn {
    min-width: 220px;
}

/* ===== LOCATION ===== */
.location { background: var(--accent-deep); }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-info { display: flex; align-items: center; }

.location-info-inner { width: 100%; }

.location-info h3 {
    color: var(--headline);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.location-address, .location-phone { margin-bottom: 10px; font-size: 1.05rem; }

.location-phone a { color: var(--accent-ink); font-weight: 700; }

.location-buttons { margin-top: 20px; display: flex; gap: 12px; }
.location-buttons .btn { flex: 1 1 160px; max-width: 200px; padding: 12px 16px; font-size: 0.9rem; white-space: nowrap; }

.location-map iframe { width: 100%; height: 350px; border: 0; border-radius: var(--radius-card); display: block; }
.location-map { border: 1px solid rgba(var(--text-rgb), 0.3); border-radius: var(--radius-card); overflow: hidden; }

.map-placeholder {
    background: var(--sunken);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    color: var(--gray);
    border: 1px dashed var(--gold);
}

/* ===== FLOATING PHONE ===== */
.phone-float {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background-color: var(--phone-circle);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--on-accent);
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.25s ease;
    will-change: transform;
}

.phone-float:hover { transform: scale(1.1); }

/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Desktop: three equal columns. */
@media (min-width: 900px) {
    .footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 48px;
    }
}

/* With a fourth column: four equal columns on desktop, two by two on tablet. */
@media (min-width: 900px) {
    .footer-inner.has-extra { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; column-gap: 32px; }
}

/* Tablet: brand across the top, the two link lists side by side under it. */
@media (min-width: 600px) and (max-width: 899px) {
    .footer-brand { grid-column: 1 / -1; }
    .footer-inner.has-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner.has-extra .footer-brand { grid-column: auto; }
}

.footer-extra .hygiene-link,
.footer-extra .hygiene-badge { display: block; }
.footer-extra .hygiene-badge { width: auto; max-width: 100%; max-height: 110px; margin-bottom: 18px; }
.footer-extra .hygiene-link { width: fit-content; }
.footer-extra .hygiene-link:hover { opacity: 0.85; }

.hygiene-embed { margin-bottom: 18px; max-width: min(100%, 240px); }
/* The badge script sets min-width:291px inline; let it shrink inside a narrow column. */
.hygiene-embed img { display: block; min-width: 0 !important; max-width: 100%; height: auto; }

.payment-label { font-size: 0.85rem; opacity: 0.75; margin-bottom: 10px; }

.payment-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-list li {
    padding: 3px 9px;
    border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
    border-radius: var(--radius-ui);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.footer-inner .footer-heading {
    color: var(--accent-lit);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-brand { padding-right: 0; }
.footer-brand img { max-height: 90px; width: auto; margin-bottom: 15px; }

.footer-address { margin-bottom: 10px; }

.footer-phone a { color: var(--accent-lit); text-decoration: none; }

.footer-menu, .legal-menu {
    list-style: none;
}

.footer-menu li, .legal-menu li { margin-bottom: 8px; }

.footer-menu a, .legal-menu a {
    color: var(--footer-text);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu a:hover, .legal-menu a:hover { opacity: 1; color: var(--accent-lit); }

.footer-social { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; }

.footer-social a {
    color: var(--accent-lit);
    font-weight: 500;
}

.footer-social--compact { gap: 6px 14px; }
.footer-social--compact a { font-size: 0.85rem; }
.footer-social--compact .beep-icon { width: 0.95em; height: 0.95em; }
.footer-social--icons { gap: 4px; }
.footer-social--icons a { min-width: 44px; justify-content: center; }
.footer-social--icons .beep-icon { width: 1.35em; height: 1.35em; }
.footer-social--icons .social-name {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-social a:hover { opacity: 0.8; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
    text-align: center;
    font-size: 0.9rem;
}

.design-credit { margin-top: 5px; }

.design-credit a { color: var(--accent-lit); }

/* ===== PAGES ===== */
.page-content { padding: 60px 20px; }

.page-title {
    font-size: 2.5rem;
    color: var(--headline);
    margin-bottom: 30px;
    text-transform: var(--heading-transform);
    letter-spacing: 2px;
}

.page-gallery .page-title { text-align: center; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--headline);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--sunken);
    border: 1px solid var(--gold);
    border-radius: var(--radius-ui);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-strong);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--sunken);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.contact-info h3 {
    color: var(--headline);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-address, .contact-phone { margin-bottom: 10px; }

.contact-phone a { color: var(--accent-ink); font-weight: 700; }

.contact-buttons { margin-top: 20px; display: flex; gap: 15px; flex-wrap: wrap; }

.contact-map { margin-top: 30px; }

.contact-map iframe { width: 100%; height: 300px; border: 0; border-radius: var(--radius-card); }

.contact-faqs { margin-top: 40px; }

.contact-faqs h3 { margin-bottom: 20px; }

.faq-item {
    margin-bottom: 20px;
    background: var(--sunken);
    padding: 20px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-rgb), 0.1);
}

.faq-item h4 {
    color: var(--accent-ink);
    margin-bottom: 5px;
}

.faq-item a { color: var(--accent-ink); }

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 100px 20px; }

.error-404 h1 { margin-bottom: 20px; }

.error-404 p { margin-bottom: 30px; font-size: 1.2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; letter-spacing: 1px; }
    .hero-eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; }
    .hero-desc { font-size: 1rem; }
    .hero-cta-main { font-size: 0.95rem; padding: 14px 32px; }
    .section-title { font-size: 1.8rem; letter-spacing: 2px; }
    .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .hours-grid { grid-template-columns: 1fr; gap: 30px; }
    .section { padding: 50px 0; }
    .archive-wrapper, .single-wrapper, .page-wrapper { padding: 50px 0; }

    .menu-toggle { display: block; padding: 10px 15px; }

    .site-branding { gap: 0; flex: 1; }
    .site-logo { gap: 35px; }

    .primary-nav .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        padding: 20px;
        border-top: 1px solid var(--gold);
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        gap: 15px;
    }

    .primary-nav .nav-menu.active { display: flex; }

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

    .site-title { font-size: 1.2rem; letter-spacing: 1px; }

    .notice-banner-inner { flex-direction: column; gap: 10px; }

    .hours-column { padding: 25px; }

    .logo { font-size: 1.2rem; letter-spacing: 1px; }

    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .single-layout { grid-template-columns: 1fr; }
    .single-title { font-size: 1.8rem; }
}

/* ===== BLOG ARCHIVE ===== */
.archive-wrapper, .single-wrapper, .page-wrapper { padding: 80px 0; background: var(--main-bg); }

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

.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(var(--text-rgb), 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); }

.blog-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-body { padding: 20px; }

.blog-card-title {
    font-size: 1.15rem;
    color: var(--headline);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-title a { color: var(--headline); }
.blog-card-title a:hover { color: var(--accent-ink); }

.blog-card-meta { font-size: 0.85rem; color: var(--accent-ink); margin-bottom: 10px; }

.blog-card-excerpt { font-size: 0.9rem; margin-bottom: 15px; line-height: 1.5; }

.pagination { text-align: center; margin-top: 40px; }

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: var(--accent-deep);
    color: var(--body-text);
    border-radius: var(--radius-ui);
    margin: 0 3px;
    border: 1px solid rgba(var(--text-rgb), 0.1);
    transition: 0.25s ease;
}

.pagination .page-numbers:hover, .pagination .current { background: var(--gold); color: var(--on-accent); }

.pagination .prev, .pagination .next { font-size: 0.85rem; }

.no-posts { text-align: center; padding: 60px 0; font-size: 1.2rem; }

/* ===== SINGLE POST ===== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.single-title {
    font-size: 2.2rem;
    color: var(--headline);
    margin-bottom: 15px;
    line-height: 1.2;
}

.single-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--accent-ink);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.single-meta i, .single-meta .beep-icon { margin-right: 5px; }
.single-meta a { color: var(--accent-ink); }

.single-thumbnail { margin-bottom: 25px; }

.single-thumbnail img { width: 100%; height: auto; border-radius: var(--radius-card); display: block; }

.single-body { line-height: 1.8; font-size: 1.05rem; }

.single-body p { margin-bottom: 20px; }
.single-body h2, .single-body h3, .single-body h4 { color: var(--headline); margin: 25px 0 15px; }
.single-body ul, .single-body ol { margin: 0 0 20px 25px; }
.single-body blockquote {
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.16);
    border-radius: var(--radius-card);
    font-style: italic;
}
.single-body blockquote::before {
    content: '\201C';
    display: block;
    margin-bottom: 4px;
    color: var(--accent-ink);
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-style: normal;
    line-height: 0.6;
}

.single-footer-meta { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(var(--text-rgb), 0.1); }

.post-tags a {
    display: inline-block;
    background: var(--sunken);
    padding: 4px 12px;
    border-radius: var(--radius-ui);
    margin: 3px;
    font-size: 0.85rem;
    color: var(--accent-ink);
}

.post-tags a:hover { background: var(--gold); color: var(--on-accent); }

.page-links { margin-top: 20px; text-align: center; }
.page-links a { color: var(--accent-ink); padding: 0 5px; }

/* ===== SIDEBAR ===== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.single-column-main {
    min-width: 0;
}

.single-sidebar {
    position: sticky;
    top: 100px;
}

.single-sidebar .widget a,
.single-sidebar .widget a:not(.btn) {
    text-decoration: none;
    color: var(--body-text);
    text-decoration-color: transparent;
}

.single-sidebar .widget a:hover,
.single-sidebar .widget a:not(.btn):hover {
    color: var(--accent-ink);
    text-decoration: none;
}

.single-sidebar .widget .widget-title {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.single-sidebar .widget {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius-card);
    margin-bottom: 25px;
    border: 1px solid rgba(var(--text-rgb), 0.1);
}

.widget-title {
    color: var(--headline);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(var(--text-rgb), 0.08); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--body-text); }
.widget ul li a:hover { color: var(--accent-ink); }

.widget .beep-rp-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.beep-rp-thumb {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-card);
}

.beep-rp-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-card);
    display: block;
}

.beep-rp-link {
    font-weight: 600;
    line-height: 1.35;
}

/* ===== COMMENTS ===== */
.comments-area { margin-top: 40px; background: var(--accent-deep); border-radius: var(--radius-card); padding: 30px; border: 1px solid rgba(var(--text-rgb), 0.1); }

.comments-title { color: var(--headline); font-size: 1.4rem; margin-bottom: 25px; }

.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid rgba(var(--text-rgb), 0.08); }
.comment-meta { font-size: 0.9rem; color: var(--accent-ink); margin-bottom: 8px; }
.comment-author { font-weight: 700; color: var(--headline); }
.comment-author a { color: var(--headline); }
.comment-body p { margin-top: 8px; }

.comment-reply-link { color: var(--accent-ink); font-size: 0.85rem; }

.comment-respond { margin-top: 30px; }
.comment-reply-title { color: var(--headline); font-size: 1.2rem; margin-bottom: 15px; }
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 10px 15px;
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: var(--radius-ui);
    color: var(--text-strong);
    font-family: var(--font-body);
    margin-bottom: 15px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); outline: none; }
.comment-form input:focus-visible, .comment-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.comment-form input[type="checkbox"] { width: auto; display: inline; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; margin-bottom: 15px; line-height: 1.4; }
.comment-form .comment-form-cookies-consent label { margin: 0; vertical-align: middle; }
.comment-form .comment-form-cookies-consent input[type="checkbox"] { margin: 0 8px 0 0; flex-shrink: 0; }
.comment-form .submit { background: var(--btn-bg); color: var(--on-accent); border: none; padding: 12px 30px; border-radius: var(--radius-btn); font-weight: 700; cursor: pointer; text-transform: var(--btn-transform); }
.comment-form .submit:hover { background: var(--btn-hover); }

/* ===== BREADCRUMB ===== */
.beep-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--body-text);
    opacity: 0.75;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.beep-breadcrumb a { color: var(--body-text); }
.beep-breadcrumb a:hover { color: var(--accent-ink); }
.beep-breadcrumb-current { color: var(--accent-ink); font-weight: 600; }
.beep-breadcrumb-sep { opacity: 0.75; }

/* ===== PAGE ===== */
.page-body { line-height: 1.8; font-size: 1.05rem; }
.page-body p { margin-bottom: 20px; }
.page-body h2, .page-body h3 { color: var(--headline); margin: 25px 0 15px; }
.page-body ul, .page-body ol { margin: 0 0 20px 25px; }

/* ===== RESPONSIVE BLOG ===== */
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
    .single-layout { grid-template-columns: 1fr 280px; gap: 30px; }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .single-layout { grid-template-columns: 1fr; }
    .single-title { font-size: 1.6rem; }
    .single-sidebar { margin-top: 30px; }
}

@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
    .testimonials-ctas { flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
    .testimonials-ctas .btn { min-width: 0; width: 100%; }
}

/* ============================================================
   PAGE & SINGLE — REDESIGNED
   ============================================================ */

/* ---------- Page hero with featured image ---------- */
.page-hero--image {
    padding: 0;
    min-height: var(--beep-page-hero-height);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--header-bg);
}

.page-hero-bg,
.page-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero--image .page-hero-overlay {
    background:
        var(--beep-hero-overlay-gradient, linear-gradient(to top, rgba(35, 31, 32, 0.88) 0%, rgba(35, 31, 32, 0.55) 55%, rgba(35, 31, 32, 0.39) 100%)),
        radial-gradient(rgba(var(--text-rgb), 0.08) 1px, transparent 1px);
    background-size: auto, 26px 26px;
}

.page-hero--image .page-hero-content {
    position: relative;
    z-index: 1;
    padding: 70px 20px;
}

/* ---------- Table of Contents ---------- */
.beep-toc {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: 0;
    padding: 26px 2px 10px;
    margin: 0 0 2.4em;
    box-shadow: none;
}

.beep-toc-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-ink);
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.beep-toc-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-ink);
    font-size: 1rem;
}

.beep-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    column-count: 2;
    column-gap: 32px;
}

.beep-toc-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
    break-inside: avoid;
    border-bottom: 1px dashed rgba(var(--text-rgb), 0.12);
}

.beep-toc-item:last-child {
    border-bottom: none;
}

.beep-toc-num {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--accent-ink);
    min-width: 26px;
    font-variant-numeric: tabular-nums;
}

.beep-toc-item a {
    color: var(--body-text);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.beep-toc-item a:hover {
    color: var(--accent-ink);
}

.beep-toc-child {
    margin-left: 26px;
}

.beep-toc-child .beep-toc-num {
    font-weight: 700;
}

.page-body--styled h1[id],
.page-body--styled h2[id],
.page-body--styled h3[id],
.page-body--styled h4[id],
.page-body--styled h5[id] {
    scroll-margin-top: 110px;
}

/* ---------- FAQ accordions ---------- */
.beep-faq-section {
    margin-top: 2.2em;
}

.beep-faq-title {
    margin-bottom: 0.6em;
}

.page-body--styled details.wp-block-details,
.page-body--styled details.beep-faq,
.page-body--styled .faq-block {
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: var(--radius-card);
    margin: 0 0 1.1em;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.page-body--styled details.wp-block-details[open],
.page-body--styled details.beep-faq[open] {
    border-color: rgba(var(--gold-rgb), 0.55);
}

.page-body--styled details.wp-block-details > summary,
.page-body--styled details.beep-faq > summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 60px 20px 22px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--text-strong);
    line-height: 1.4;
    user-select: none;
    transition: color 0.25s ease;
}

.page-body--styled details.wp-block-details > summary::-webkit-details-marker,
.page-body--styled details.beep-faq > summary::-webkit-details-marker {
    display: none;
}

.page-body--styled details.wp-block-details > summary::after,
.page-body--styled details.beep-faq > summary::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--text-rgb), 0.14);
    color: var(--accent-ink);
    border-radius: 50%;
    border: 1px solid rgba(var(--text-rgb), 0.3);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.page-body--styled details.wp-block-details > summary::before,
.page-body--styled details.beep-faq > summary::before {
    content: '';
    position: absolute;
    right: 33px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
    z-index: 1;
}

.page-body--styled details.wp-block-details[open] > summary::after,
.page-body--styled details.beep-faq[open] > summary::after {
    background: var(--gold);
}

.page-body--styled details.wp-block-details[open] > summary::before,
.page-body--styled details.beep-faq[open] > summary::before {
    border-color: var(--on-accent);
    transform: translateY(-30%) rotate(225deg);
}

.page-body--styled details.wp-block-details > summary:focus-visible,
.page-body--styled details.beep-faq > summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.page-body--styled details.wp-block-details > *:not(summary),
.page-body--styled details.beep-faq > *:not(summary) {
    padding: 4px 22px 20px;
}

.page-body--styled details.wp-block-details p:last-child,
.page-body--styled details.beep-faq p:last-child {
    margin-bottom: 0;
}

/* Alternate FAQ card row (h3 + following div/paragraphs) */
.page-body--styled .faq-card {
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    margin: 0 0 1.1em;
}

.page-body--styled .faq-card h3,
.page-body--styled .faq-card h4 {
    margin: 0 0 10px;
    padding-left: 0;
    border-left: none;
    font-size: 1.12rem;
}

.page-body--styled .faq-card p:last-child {
    margin-bottom: 0;
}

/* ---------- Call-to-Action Banners ---------- */
.beep-cta {
    position: relative;
    padding: 32px 44px 28px;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid rgba(var(--text-rgb), 0.22);
    box-shadow: var(--card-shadow);
    margin: 2.6em 0;
    overflow: hidden;
}
.beep-cta--compact  { padding: 20px 32px 18px; box-shadow: var(--card-shadow); }
.beep-cta--spacious { padding: 48px 44px 42px; }

.beep-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.beep-cta--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--btn-hover) 100%);
    border-color: color-mix(in srgb, var(--on-accent) 35%, transparent);
    color: var(--on-accent);
}
.beep-cta--gold::before {
    background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.28));
}

.beep-cta--deep {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--footer-bg) 100%);
    border-color: rgba(var(--gold-rgb), 0.35);
    color: var(--header-text);
}
.beep-cta--deep::before {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(var(--gold-rgb), 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(var(--gold-rgb), 0.06), transparent 50%);
}

.beep-cta--outline {
    background: transparent;
    border: 1px dashed rgba(var(--gold-rgb), 0.45);
    box-shadow: none;
    color: var(--body-text);
}
.beep-cta--outline::before { display: none; }

.beep-cta--soft {
    background: rgba(var(--text-rgb), 0.05);
    border: 1px solid rgba(var(--gold-rgb), 0.18);
    box-shadow: var(--card-shadow);
    color: var(--body-text);
}
.beep-cta--soft::before {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(var(--gold-rgb), 0.06), transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(var(--gold-rgb), 0.04), transparent 50%);
}

.beep-cta-ornament {
    position: relative;
    color: var(--accent-lit);
    font-size: 0.95rem;
    margin-bottom: 6px;
    opacity: 0.65;
}
.beep-cta--gold .beep-cta-ornament { color: var(--on-accent); opacity: 0.5; }

.beep-cta-overline {
    position: relative;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    margin-bottom: 8px;
    color: var(--accent-lit);
}
.beep-cta--gold .beep-cta-overline { color: var(--on-accent); }

.beep-cta-headline {
    position: relative;
    font-family: var(--font-heading);
    font-weight: var(--heading-weight);
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 10px;
    color: inherit;
}
.beep-cta--gold .beep-cta-headline { color: var(--on-accent); }

.beep-cta-message {
    position: relative;
    max-width: 560px;
    margin: 0 auto 16px;
    opacity: 0.88;
    line-height: 1.55;
}
.beep-cta .beep-cta-message p { margin: 0; color: inherit; }

.beep-cta-btn {
    position: relative;
}

/* CTA text colours, pinned per variant so page-content heading rules cannot recolour them */
.beep-cta.beep-cta--gold .beep-cta-message { color: var(--on-accent); opacity: 1; }
.beep-cta.beep-cta--deep .beep-cta-headline,
.beep-cta.beep-cta--deep .beep-cta-message { color: var(--header-text); }
.beep-cta.beep-cta--deep .beep-cta-overline,
.beep-cta.beep-cta--deep .beep-cta-ornament { color: var(--accent-lit); }
.beep-cta.beep-cta--outline .beep-cta-headline,
.beep-cta.beep-cta--soft .beep-cta-headline { color: var(--headline); }
.beep-cta.beep-cta--outline .beep-cta-message,
.beep-cta.beep-cta--soft .beep-cta-message { color: var(--body-text); }
.beep-cta.beep-cta--outline .beep-cta-overline,
.beep-cta.beep-cta--outline .beep-cta-ornament,
.beep-cta.beep-cta--soft .beep-cta-overline,
.beep-cta.beep-cta--soft .beep-cta-ornament { color: var(--accent-ink); }

/* CTA button variants */
.beep-cta--gold .beep-cta-btn {
    background: var(--header-bg);
    color: var(--accent-lit);
    border: 1px solid var(--header-bg);
}
.beep-cta--gold .beep-cta-btn:hover {
    background: var(--header-bg);
    transform: translateY(-2px);
}

.beep-cta--deep .beep-cta-btn {
    background: var(--gold);
    color: var(--on-accent);
    border: 1px solid var(--gold);
}
.beep-cta--deep .beep-cta-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
}

.beep-cta--outline .beep-cta-btn {
    background: transparent;
    color: var(--accent-ink);
    border: 2px solid var(--gold);
}
.beep-cta--outline .beep-cta-btn:hover {
    background: var(--gold);
    color: var(--on-accent);
}

.beep-cta--soft .beep-cta-btn {
    background: var(--btn-bg);
    color: var(--on-accent);
    border: 1px solid var(--gold);
}
.beep-cta--soft .beep-cta-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
}

/* ---------- Images inside content ---------- */
.page-body--styled figure {
    margin: 2em 0;
    text-align: center;
}

.page-body--styled figure img {
    display: block;
}

.page-body--styled figure figcaption,
.page-body--styled .wp-caption-text {
    font-size: 0.88rem;
    color: var(--accent-ink);
    text-align: center;
    padding-top: 12px;
    font-style: italic;
    letter-spacing: 0.02em;
}

.page-body--styled .alignleft,
.page-body--styled img.alignleft {
    float: left;
    margin: 0.5em 2em 1.2em 0;
    max-width: 45%;
}

.page-body--styled .alignright,
.page-body--styled img.alignright {
    float: right;
    margin: 0.5em 0 1.2em 2em;
    max-width: 45%;
}

.page-body--styled .aligncenter,
.page-body--styled img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-body--styled .alignnone,
.page-body--styled img.alignnone {
    display: block;
}

.page-body--styled figure.alignleft,
.page-body--styled figure.alignright {
    margin-top: 0.4em;
}

.page-body--styled figure.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* Cinematic image band */
.page-body--styled .wp-block-gallery,
.page-body--styled .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 2em 0;
}

.page-body--styled .wp-block-gallery .blocks-gallery-item,
.page-body--styled .gallery-item {
    margin: 0;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.page-body--styled .wp-block-gallery img,
.page-body--styled .gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-body--styled .wp-block-gallery .blocks-gallery-item:hover img,
.page-body--styled .gallery-item:hover img {
    transform: scale(1.05);
}

.page-body--styled .wp-block-gallery .blocks-gallery-item figcaption,
.page-body--styled .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    padding: 30px 14px 12px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--accent-ink);
}

/* ---------- Tables ---------- */
.page-body--styled table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: var(--sunken);
    border-radius: var(--radius-card);
    overflow: hidden;
    font-size: 0.97rem;
}

.page-body--styled thead th {
    background: rgba(var(--text-rgb), 0.12);
}

.page-body--styled th {
    background: var(--accent-deep);
    color: var(--headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    padding: 16px 20px;
    border: 1px solid rgba(var(--text-rgb), 0.14);
    text-align: left;
}

.page-body--styled td {
    padding: 14px 20px;
    border: 1px solid rgba(var(--text-rgb), 0.1);
    color: var(--body-text);
}

.page-body--styled tbody tr:nth-child(even) {
    background: rgba(var(--text-rgb), 0.04);
}

.page-body--styled tbody tr:hover {
    background: rgba(var(--text-rgb), 0.08);
}

.page-body--styled .wp-block-table {
    overflow-x: auto;
    margin: 2em 0;
}

.page-body--styled .wp-block-table table {
    min-width: 560px;
}

.page-body--styled .wp-block-table figcaption {
    text-align: center;
    padding-top: 12px;
    font-size: 0.86rem;
    color: var(--accent-ink);
    font-style: italic;
}

/* ---------- Shared: content type styles ---------- */
.page-body--styled {
    font-size: 1.1rem;
    line-height: 1.95;
    color: var(--body-text);
}

.page-body--styled > * + * {
    margin-top: 1.6em;
}

.page-body--styled p {
    margin-bottom: 1.6em;
    color: var(--body-text);
}

.page-body--styled > p:first-child::first-line {
    color: var(--accent-ink);
    letter-spacing: 0.04em;
}

.page-body--styled > p:first-child::first-letter {
    float: left;
    font-size: 4.2em;
    line-height: 0.78;
    padding: 0.06em 0.14em 0 0;
    color: var(--accent-ink);
    font-weight: 700;
    text-transform: uppercase;
}

.page-body--styled h1,
.page-body--styled h2,
.page-body--styled h3,
.page-body--styled h4,
.page-body--styled h5 {
    color: var(--accent-ink);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin: 2.2em 0 0.9em;
    letter-spacing: 0.01em;
}

.page-body--styled h1 { font-size: 2.4rem; }
.page-body--styled h2 { font-size: 2rem; }
.page-body--styled h3 { font-size: 1.6rem; }
.page-body--styled h4 { font-size: 1.3rem; }
.page-body--styled h5 { font-size: 1.1rem; }

/* Content headings carry a short accent rule underneath, the same device as the home page section titles. */
.page-body--styled > h2::after,
.page-body--styled > h3::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 0.5em;
    background: var(--gold);
}
.page-body--styled > h3::after { width: 32px; height: 2px; }

.page-body--styled h2:not(:first-child),
.page-body--styled h3:not(:first-child) {
    position: relative;
}

.page-body--styled ul,
.page-body--styled ol {
    margin: 0 0 1.6em;
    padding-left: 1.6em;
}

.page-body--styled ul { list-style: none; padding-left: 0; }
.page-body--styled ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.75em;
}
.page-body--styled ul li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-ink);
    position: absolute;
    left: 0;
    top: 0.08em;
    font-size: 0.85em;
}

.page-body--styled ol:not(.beep-toc-list) { list-style: none; counter-reset: styled-ol; padding-left: 0; }
.page-body--styled ol:not(.beep-toc-list) li {
    counter-increment: styled-ol;
    position: relative;
    padding-left: 44px;
    margin-bottom: 0.75em;
}
.page-body--styled ol:not(.beep-toc-list) li::before {
    content: counter(styled-ol, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--accent-deep);
    border: 1px solid rgba(var(--text-rgb), 0.35);
    color: var(--accent-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.page-body--styled a:not(.btn) {
    color: var(--accent-ink);
    text-decoration: var(--link-decoration);
    font-weight: var(--link-weight);
    text-underline-offset: 3px;
    text-decoration-color: rgba(var(--gold-rgb), 0.4);
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.page-body--styled a:not(.btn):hover {
    color: var(--text-strong);
    text-decoration-color: var(--gold);
}

.page-body--styled blockquote {
    position: relative;
    margin: 2.4em 0;
    padding: 2em 2.2em 2em 3.2em;
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.25);
    border-radius: var(--radius-card);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-strong);
    box-shadow: var(--card-shadow);
}

.page-body--styled blockquote::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent-ink);
    opacity: 0.85;
    position: absolute;
    top: 0.15em;
    left: 0.2em;
}

.page-body--styled blockquote p { margin-bottom: 0; color: var(--text-strong); }
.page-body--styled blockquote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--accent-ink);
}

.page-body--styled img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(var(--text-rgb), 0.15);
}

.page-body--styled .wp-caption {
    max-width: 100%;
    margin-bottom: 1.6em;
}
.page-body--styled .wp-caption-text {
    font-size: 0.9rem;
    color: var(--accent-ink);
    text-align: center;
    padding-top: 0.6em;
    font-style: italic;
}

.page-body--styled hr {
    border: none;
    border-top: 1px solid rgba(var(--text-rgb), 0.25);
    margin: 3em 0;
}

.page-body--styled table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    background: var(--sunken);
    border-radius: var(--radius-card);
    overflow: hidden;
}
.page-body--styled th {
    background: var(--accent-deep);
    color: var(--headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}
.page-body--styled th, .page-body--styled td {
    padding: 14px 18px;
    border: 1px solid rgba(var(--text-rgb), 0.12);
    text-align: left;
}

.page-body--styled pre {
    background: var(--accent-deep);
    border: 1px solid rgba(var(--text-rgb), 0.2);
    border-radius: var(--radius-card);
    padding: 20px;
    overflow-x: auto;
    font-size: 0.9rem;
}

.page-body--styled .btn { margin-top: 0.4em; }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(160deg, var(--header-bg), var(--footer-bg));
    padding: max(64px, var(--beep-page-hero-height)) 20px 70px;
    text-align: center;
    border-bottom: 1px solid rgba(var(--text-rgb), 0.25);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--text-rgb), 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.page-ornament {
    font-size: 1.3rem;
    color: var(--accent-lit);
    margin-bottom: 20px;
    letter-spacing: 0.4em;
    opacity: 0.9;
}

.page-hero-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: var(--heading-weight);
    line-height: 1.15;
    text-transform: var(--heading-transform);
    letter-spacing: 1px;
    margin: 0 0 26px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.page-hero-title--inline,
.single-hero-title.single-hero-title--inline {
    color: var(--headline);
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: var(--heading-weight);
    line-height: 1.2;
    text-transform: var(--heading-transform);
    text-shadow: none;
    letter-spacing: 1px;
    margin: 0 0 12px;
}

/* ---------- Ornament divider ---------- */
.page-ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
}

.page-ornament-line .ornament-wing {
    width: 110px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
    position: relative;
}

.page-ornament-line .ornament-wing:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.page-ornament-line .ornament-diamond {
    color: var(--accent-lit);
    font-size: 0.9rem;
    transform: rotate(45deg);
    display: inline-block;
}

/* ---------- Page content area ---------- */
.page-content-area {
    padding: 55px 20px 100px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(var(--text-rgb), 0.05), transparent 60%),
        var(--main-bg);
}

.page-content-area .container {
    max-width: var(--beep-page-content-width);
}

/* Content width presets (set via meta box / customizer) */
.content-width--narrow   { --beep-page-content-width: 760px; }
.content-width--wide     { --beep-page-content-width: 1200px; }
.content-width--full     { --beep-page-content-width: 1400px; }

.page-body--styled:not(.single-body) {
    background: var(--sunken);
    padding: 60px 70px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-rgb), 0.14);
    box-shadow: var(--card-shadow);
}

/* ---------- Single post hero ---------- */
.single-hero {
    position: relative;
    min-height: var(--beep-single-hero-height);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 64px 20px 70px;
    overflow: hidden;
}

.single-hero-bg,
.single-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-hero-bg--fallback {
    background: linear-gradient(160deg, var(--header-bg), var(--footer-bg));
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--beep-hero-overlay-gradient, linear-gradient(to top, rgba(35, 31, 32, 0.88) 0%, rgba(35, 31, 32, 0.55) 55%, rgba(35, 31, 32, 0.39) 100%));
}

.single-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.single-hero-cats a {
    display: inline-block;
    background: rgba(var(--text-rgb), 0.15);
    border: 1px solid rgba(var(--gold-rgb), 0.5);
    color: var(--accent-lit);
    padding: 7px 18px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 4px 22px;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, color 0.25s ease;
}

.single-hero-cats a:hover {
    background: var(--gold);
    color: var(--on-accent);
}

.single-hero-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: var(--heading-weight);
    line-height: 1.12;
    margin: 0 0 24px;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.65);
}

.single-hero-meta {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--body-text);
    font-size: 0.95rem;
}

.single-hero-meta .meta-item i,
.single-hero-meta .meta-item .beep-icon {
    color: var(--accent-lit);
    margin-right: 6px;
}

.single-hero-meta .meta-sep { color: var(--accent-lit); opacity: 0.6; }

/* ---------- Single content ---------- */
.single-content-area {
    padding: 80px 20px 100px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(var(--text-rgb), 0.05), transparent 60%),
        var(--main-bg);
}

.single-content-area .container {
    max-width: var(--beep-single-content-width);
}

.content-width--narrow   { --beep-single-content-width: 700px; }
.content-width--wide     { --beep-single-content-width: 1180px; }
.content-width--full     { --beep-single-content-width: 1360px; }

.single-tags {
    margin-top: 50px;
    padding-top: 26px;
    border-top: 1px solid rgba(var(--text-rgb), 0.18);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--accent-ink);
}

.single-tags i, .single-tags .beep-icon { margin-right: 4px; }

.single-tags a {
    display: inline-block;
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.25);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: var(--accent-ink);
    transition: background 0.25s ease, color 0.25s ease;
}

/* ---------- Sitewide link styling ---------- */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.single-tags a:hover {
    background: var(--gold);
    color: var(--on-accent);
}

/* ---------- Sitewide link styling (content hyperlinks) ---------- */
.page-body--styled a,
.entry-content a,
.comment-content a,
.widget-content a,
.widget a,
.single-related-card h3 a,
.single-nav-card {
    text-decoration: none;
}

.page-body--styled a:not(.btn):not(.beep-toc-link),
.entry-content a:not(.btn),
.comment-content a:not(.btn),
.widget-content a:not(.btn),
.widget a:not(.btn),
.single-nav-card h3 a {
    color: var(--beep-link-color);
    text-decoration: var(--link-decoration);
    font-weight: var(--link-weight);
    text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, var(--beep-link-color) 55%, transparent);
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.page-body--styled a:not(.btn):not(.beep-toc-link):hover,
.entry-content a:not(.btn):hover,
.comment-content a:not(.btn):hover,
.widget-content a:not(.btn):hover,
.widget a:not(.btn):hover,
.single-nav-card h3 a:hover {
    color: var(--beep-link-hover-color);
    text-decoration-color: var(--beep-link-hover-color);
}

/* ---------- Prev / Next navigation ---------- */
.single-nav-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 45px;
}

.single-nav-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid rgba(var(--text-rgb), 0.15);
    border-radius: var(--radius-card);
    padding: 22px 26px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.single-nav-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--card-shadow-hover);
}

.single-nav-next { text-align: right; }

.single-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-ink);
    margin-bottom: 8px;
}

.single-nav-next .single-nav-label { justify-content: flex-end; }

.single-nav-title {
    color: var(--text-strong);
    font-weight: 600;
    line-height: 1.45;
    font-size: 1.05rem;
}

/* ---------- Related posts ---------- */
.single-related {
    margin-top: 60px;
}

.single-related-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--accent-ink);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: var(--heading-transform);
    letter-spacing: 0.06em;
    text-align: center;
    margin-bottom: 34px;
}

.single-related-heading .related-ornament {
    font-size: 1rem;
    color: var(--accent-ink);
    margin-bottom: 0;
}

.single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    display: block;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(var(--text-rgb), 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--card-shadow-hover);
}

.related-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.related-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-thumb img { transform: scale(1.07); }

.related-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--header-bg), var(--footer-bg));
    color: var(--accent-ink);
    font-size: 2rem;
}

.related-card-body { padding: 20px 22px 24px; }

.related-card-date {
    font-size: 0.8rem;
    color: var(--accent-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.related-card-body h3 {
    color: var(--text-strong);
    font-size: 1.1rem;
    line-height: 1.35;
    margin-top: 8px;
    transition: color 0.25s ease;
}

.related-card:hover .related-card-body h3 { color: var(--accent-ink); }

/* ---------- Page / Single responsive ---------- */
@media (max-width: 768px) {
    .page-hero { padding: 64px 20px 54px; }
    .page-hero--image { min-height: calc(var(--beep-page-hero-height) * 0.75); }
    .page-hero--image .page-hero-content { padding: 50px 20px; }
    .page-hero-title { font-size: 2.2rem; }
    .page-content-area { padding: 40px 0 64px; }
    .page-body--styled:not(.single-body) { padding: 26px 20px; font-size: 1.02rem; }

    .beep-toc { padding: 20px 2px 6px; }
    .beep-toc-list { column-count: 1; }
    .beep-toc-child { margin-left: 16px; }

    .page-body--styled table {
        table-layout: fixed;
    }
    .page-body--styled th,
    .page-body--styled td {
        overflow-wrap: break-word;
    }

    .page-body--styled .alignleft,
    .page-body--styled .alignright,
    .page-body--styled img.alignleft,
    .page-body--styled img.alignright,
    .page-body--styled figure.alignleft,
    .page-body--styled figure.alignright {
        float: none;
        display: block;
        max-width: 100%;
        margin: 1.6em auto;
    }

    .single-hero { min-height: calc(var(--beep-single-hero-height) * 0.75); padding: 56px 20px 54px; }
    .single-hero-title { font-size: 2.2rem; }
    .single-content-area { padding: 24px 0 70px; }
    .single-content-area .container { max-width: none; padding: 0; }
    .beep-breadcrumb,
    .single-hero-title--inline,
    .single-meta,
    .single-body.page-body--styled {
        padding-left: 20px;
        padding-right: 20px;
    }
    .single-related-grid { grid-template-columns: 1fr; gap: 18px; }
    .single-nav-row { grid-template-columns: 1fr; }

    .single-tags,
    .single-nav-row,
    .single-related,
    .comments-area {
        margin-left: 20px;
        margin-right: 20px;
    }

    .page-body--styled h1 { font-size: 1.9rem; }
    .page-body--styled h2 { font-size: 1.6rem; }
    .page-body--styled h3 { font-size: 1.35rem; }

    .page-body--styled details.wp-block-details > summary,
    .page-body--styled details.beep-faq > summary {
        font-size: 1rem;
        padding-right: 52px;
    }

    .beep-cta { padding: 30px 24px 24px; margin: 2em 0; }
    .beep-cta--compact  { padding: 18px 20px 16px; }
    .beep-cta--spacious { padding: 36px 24px 32px; }
    .beep-cta-headline { font-size: 1.6rem; }
    .beep-cta-btn { width: 100%; max-width: 300px; padding: 14px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 1.8rem; }
    .single-hero-title { font-size: 1.7rem; }
    .related-card-thumb { aspect-ratio: 16 / 9; }
}

/* ===== SKIP LINK, TOUCH TARGETS, MOBILE CALL ===== */
.skip-link {
    position: absolute;
    top: -120px;
    left: 16px;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--gold);
    color: var(--on-accent);
    font-weight: 700;
    border-radius: var(--radius-btn);
    transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Every button and standalone link is at least 44px tall. */
.btn,
.btn-order,
.hero-pill,
.hero-app-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
a.hero-info-item,
.footer-social a,
.location-phone a,
.footer-brand p a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-menu a,
.legal-menu a { display: inline-block; min-width: 44px; padding: 10px 0; }
.footer-menu li,
.legal-menu li { margin-bottom: 0; }
.primary-nav .nav-menu { gap: 10px; }
.primary-nav .nav-menu a { display: block; min-width: 44px; padding: 12px 4px; }

.menu-toggle span { display: inline-flex; }
.menu-toggle .menu-toggle-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle-close { display: inline-flex; }

.header-order,
.nav-actions { display: none; }

/* ===== ICON + TEXT LINES: one gap, text never wraps back under the icon ===== */
.icon-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.icon-line .beep-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
}
.icon-line--multi { align-items: flex-start; }
.icon-line--multi .beep-icon { margin-top: 0.15em; }
.site-footer .icon-line .beep-icon { color: var(--accent-lit); }
.location .icon-line .beep-icon { color: var(--accent-ink); }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social .beep-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.single-meta span,
.single-hero-meta .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.single-meta .beep-icon,
.single-hero-meta .beep-icon { margin-right: 0; flex: 0 0 18px; width: 18px; height: 18px; }
a.hero-info-item,
.hero-address { gap: 10px; }
/* Same 44px row as the phone link, so the two line up; on phones a wrapped address keeps its icon on the first line. */
.hero-address { align-items: center; text-align: left; padding-block: 10px; }
.hero-address .beep-icon { flex: 0 0 18px; }
@media (max-width: 600px) {
    .hero-address { align-items: flex-start; }
    .hero-address .beep-icon { margin-top: 0.2em; }
}

/* ===== BLOG CARDS, SEARCH WIDGET, POST OPENING ===== */
.blog-card { display: flex; flex-direction: column; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; }
.blog-card-excerpt { flex: 1; }
.blog-card-body .btn { align-self: flex-start; }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.widget .search-form { display: flex; gap: 8px; }
.widget .search-form label { display: block; flex: 1; min-width: 0; }
.widget .search-field {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    background: var(--sunken);
    border: 1px solid rgba(var(--text-rgb), 0.28);
    border-radius: var(--radius-ui);
    color: var(--text-strong);
    font: inherit;
}
.widget .search-field::placeholder { color: rgba(var(--text-rgb), 0.6); }
.widget .search-submit {
    min-height: 44px;
    padding: 0 18px;
    background: var(--btn-bg);
    color: var(--on-accent);
    border: 0;
    border-radius: var(--radius-btn);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.widget .search-submit:hover { background: var(--btn-hover); }

/* Posts open with a normal paragraph; the drop cap stays on pages. */
.single-body.page-body--styled > p:first-child::first-line { color: inherit; letter-spacing: inherit; }
.single-body.page-body--styled > p:first-child::first-letter {
    float: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: none;
}

/* ===== OPEN NOW LINE ===== */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: -14px 0 24px;
    color: var(--white);
    font-size: 1.02rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-status-dot {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent-lit);
    border: 2px solid var(--accent-lit);
}
.hero-status--closed .hero-status-dot { background: transparent; }
.hero-status--closing .hero-status-dot { box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.35); }
.hero-status-label { font-weight: 700; }

@media (max-width: 768px) {
    .header-order {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin-right: 2px;
        padding: 0 14px;
        background: var(--btn-bg);
        color: var(--on-accent);
        border-radius: var(--radius-btn);
        font-size: 0.8rem;
        font-weight: 700;
        white-space: nowrap;
        letter-spacing: var(--btn-tracking);
        text-transform: var(--btn-transform);
    }
    .nav-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
    .nav-actions .btn { flex: 1 1 130px; margin: 0; }
    .nav-actions .btn .beep-icon { width: 16px; height: 16px; margin-right: 6px; }
    .phone-float { width: 52px; height: 52px; right: 16px; bottom: 18px; }
    .footer-bottom { padding-bottom: 76px; }
}

/* ===== ACCESSIBILITY ===== */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.footer-site-name {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--accent-lit);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--heading-weight);
    line-height: 1.2;
    text-transform: var(--heading-transform);
    letter-spacing: var(--heading-tracking);
}
