/*
Theme Name: Porky's Cafe
Theme URI: https://porkyscafe.example/
Author: Built for Don
Author URI: https://porkyscafe.example/
Description: A bold, sports-bar-themed WordPress theme for Porky's Cafe (Shelton, CT). Black background, varsity orange and yellow accents, condensed display type. Sections for menu, game-day specials, hours, live Instagram feed, and event-space inquiries. Update content directly from the WordPress admin.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: restaurant-bones
Tags: restaurant, sports-bar, one-page, dark-mode, custom-menu, custom-logo
*/

/* =========================================================================
   0. FONTS — served from this site (latin subset, SIL Open Font License)
   ========================================================================= */
@font-face {
    font-family: 'Anton';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/anton-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Caveat (handwriting accents, used near the bottom of the homepage) is
   added after the page has loaded; see rb_late_fonts() in functions.php. */

/* =========================================================================
   1. DESIGN TOKENS — Porky's Cafe sports-bar palette
   ========================================================================= */
:root {
    --color-bg: #0F0F0F;            /* rich black, not pure black */
    --color-bg-alt: #1A1A1A;        /* slightly lifted surface */
    --color-bg-card: #181818;
    --color-text: #FFFFFF;
    --color-text-muted: #B5B5B5;
    --color-text-dim: #8A8A8A;
    --color-accent: #F37021;        /* Shelton varsity orange */
    --color-accent-hover: #FF8533;
    --color-yellow: #F5C518;        /* logo yellow */
    --color-yellow-hover: #FFD53A;
    --color-pig: #E795A1;           /* pig body pink (sampled from logo) */
    --color-pig-hover: #F2A5B1;
    --color-border: #2A2A2A;
    --color-border-light: #3A3A3A;

    --font-display: 'Anton', 'Oswald', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Caveat', 'Bradley Hand', cursive;

    --content-max: 1320px;
    --content-narrow: 880px;
    --space-section: clamp(4rem, 10vw, 9rem);
    --space-block: clamp(2rem, 5vw, 4rem);

    --radius: 4px;
    --transition: 200ms ease;
}

/* =========================================================================
   2. RESET & BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover, a:focus { color: var(--color-accent-hover); }

button { cursor: pointer; font-family: inherit; }

::selection { background: var(--color-accent); color: #fff; }

/* Headlines — bold, condensed, sports-vibe */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(3rem, 9vw, 7rem); }
h2 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

/* =========================================================================
   3. LAYOUT HELPERS
   ========================================================================= */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow { max-width: var(--content-narrow); }

.section { padding: var(--space-section) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--accent { background: var(--color-accent); color: #0F0F0F; }
.section--accent h2, .section--accent .eyebrow { color: #0F0F0F; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 1.25rem;
}

.section-header { text-align: center; margin-bottom: var(--space-block); }
.section-header p {
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0.5rem auto 0;
    font-size: 1.05rem;
}

.handwritten {
    font-family: var(--font-accent);
    font-size: 1.45rem;
    color: var(--color-yellow);
    transform: rotate(-2deg);
    display: inline-block;
}

/* =========================================================================
   4. BUTTONS
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 2px solid var(--color-text);
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-text);
    transition: all var(--transition);
    cursor: pointer;
}

.btn:hover, .btn:focus {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn--accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.btn--accent:hover, .btn--accent:focus {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}

.btn--yellow {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: #0F0F0F;
}
.btn--yellow:hover, .btn--yellow:focus {
    background: var(--color-yellow-hover);
    border-color: var(--color-yellow-hover);
    color: #0F0F0F;
}

/* =========================================================================
   5. HEADER & NAV
   ========================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
    padding: 1rem 0;
}
.nav-toggle { margin-left: auto; }

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-yellow);
}
.site-brand:hover { color: var(--color-yellow-hover); }
/* Brand lockup — pig + "Porky's Cafe" wordmark in one click target. */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    line-height: 1;
}
.site-brand__img,
.custom-logo-link img,
img.custom-logo {
    max-height: 56px !important;
    max-width: 64px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
}
.site-brand__text {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.6vw, 2.1rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FFFFFF;
    white-space: nowrap;
    line-height: 1;
    transition: color 0.15s ease;
}
.site-brand:hover .site-brand__text { color: var(--color-yellow); }

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-height: 56px;
    line-height: 0;
}

/* Mobile — slightly smaller wordmark so it fits next to the hamburger. */
@media (max-width: 480px) {
    .site-brand { gap: 0.5rem; }
    .site-brand__text { font-size: 1.3rem; letter-spacing: 0.03em; }
    .site-brand__img { max-height: 46px !important; max-width: 52px !important; }
}

.site-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text);
}

.site-nav a:hover, .site-nav a:focus { color: var(--color-accent); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    color: var(--color-text);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem 0;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
    .site-nav li { padding: 0.85rem 0; border-bottom: 1px solid var(--color-border); }
    .site-nav li:last-child { border-bottom: 0; }
}

/* =========================================================================
   6. HERO
   ========================================================================= */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(5rem, 10vw, 9rem) 1.25rem;
    overflow: hidden;
    background: var(--color-bg-alt);
    isolation: isolate;
}
/* Mobile — shorter hero so the container aspect ratio is closer to a
   landscape photo, drastically reducing side-cropping of the hero image
   (e.g. the brick-mural shot can actually show the mural). */
@media (max-width: 700px) {
    .hero { min-height: 58vh; padding: 3.5rem 1rem; }
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.42;
    z-index: -1;
}

/* Slideshow mode — multiple .hero__bg--slide layers stacked, one visible at a
   time. JS toggles .is-active; opacity transitions handle the crossfade. */
.hero--slideshow .hero__bg--slide {
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}
.hero--slideshow .hero__bg--slide.is-active { opacity: 0.42; }

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(15,15,15,0.85) 90%);
    z-index: -1;
}

.hero__content { position: relative; z-index: 1; max-width: 920px; }

.hero h1 {
    margin-bottom: 1rem;
    color: var(--color-text);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* H1 kept in DOM for SEO/a11y, hidden from sighted users — brand wordmark
   in the header already does the visible job. */
.hero h1.hero__title-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero h1 .accent { color: var(--color-yellow); }

.hero__tagline {
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--color-yellow);
    margin-bottom: 2.5rem;
    transform: rotate(-1deg);
    display: inline-block;
}

.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__hours-strip {
    margin-top: 3rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}
.hero__hours-strip strong { color: var(--color-accent); font-weight: 700; }

/* Each phrase ("kitchen until 10 PM") is kept whole; only the · separators
   between phrases are valid wrap points. */
.hero__hours-strip__bit { white-space: nowrap; }
.hero__hours-strip__bits { display: inline; }

/* Live status color cues:
   - Both open   → green (welcoming, kitchen serving)
   - Bar only    → yellow (still open, but no food)
   - Closed      → muted red */
.hero__hours-strip.is-both-open strong { color: #4caf50; }
.hero__hours-strip.is-bar-only  strong { color: var(--color-yellow); }
.hero__hours-strip.is-closed    strong { color: #e95d5d; }

/* Mobile — stack label above the phrases, hide the inline · between them. */
@media (max-width: 600px) {
    .hero__hours-strip {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
        line-height: 1.4;
    }
    .hero__hours-strip__bits {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.15rem 0.4rem;
    }
}

/* =========================================================================
   7. MENU
   ========================================================================= */
.menu-section { background: var(--color-bg); }

/* Masonry-style layout via CSS columns — categories with few items don't
   create dead space below the card. Browser packs them top-of-column to
   bottom-of-column instead of locking each row to the tallest item. */
.menu-grid {
    column-count: 2;
    column-gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 720px) {
    .menu-grid { column-count: 1; }
}

.menu-category {
    background: var(--color-bg-card);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    /* Don't split a category across columns mid-card */
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 2rem;
    display: inline-block; /* iOS Safari column-break fallback */
    width: 100%;
}

.menu-category h3 {
    color: var(--color-yellow);
    text-align: center;
    padding-bottom: 0.75rem;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--color-accent);
    letter-spacing: 0.02em;
}

.menu-category__note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.45;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--color-border-light);
}

/* Two-row grid: title + price share row 1, description spans both columns on row 2.
   Description no longer gets squeezed into the title's column on narrow screens. */
.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1rem;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--color-border-light);
}
.menu-item:last-child { border-bottom: 0; }

/* Flatten the inner wrapper so title and desc become direct grid children. */
.menu-item > div:first-child { display: contents; }

.menu-item__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
    letter-spacing: 0.01em;
    line-height: 1.3;
    grid-column: 1;
    grid-row: 1;
}

.menu-item__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0.25rem 0 0;
    line-height: 1.45;
    grid-column: 1 / -1;
    grid-row: 2;
}

.menu-item__price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    line-height: 1.3;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.menu-cta { text-align: center; margin-top: 3rem; }

/* =========================================================================
   8. SPECIALS — Game Day style
   ========================================================================= */
.specials-section {
    background: var(--color-bg-alt);
    position: relative;
}

.specials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        rgba(243, 112, 33, 0.025) 30px,
        rgba(243, 112, 33, 0.025) 60px
    );
    pointer-events: none;
}

.specials-section > * { position: relative; }

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.special-card {
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    padding: 2rem 1.75rem;
    transition: transform var(--transition), border-color var(--transition);
    position: relative;
}

.special-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.special-card__day {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 0.75rem;
}

.special-card h3 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.special-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.special-card__price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
    line-height: 1;
}

.specials-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--color-text-muted);
    font-style: italic;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
}

/* =========================================================================
   9. HOURS & LOCATION
   ========================================================================= */
.hours-section { background: var(--color-bg); }

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-block);
    align-items: start;
}

@media (max-width: 768px) { .hours-grid { grid-template-columns: 1fr; } }

.hours-list { list-style: none; padding: 0; margin: 0; }

/* Kitchen hours — secondary list under the bar hours. Slightly dimmer +
   tighter row padding so it visually nests as a sub-section. */
.kitchen-hours { margin-top: 2rem; }
.kitchen-hours__heading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-yellow);
    margin: 0 0 0.5rem;
    letter-spacing: 0.04em;
}
.hours-list--kitchen li {
    padding: 0.55rem 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.today {
    background: linear-gradient(90deg, transparent, rgba(243,112,33,0.08), transparent);
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 -1rem;
    border-color: var(--color-accent);
}

/* Live OPEN NOW / CLOSED badge on today's row (set in PHP from the real
   open/closed status, so it reflects bar vs kitchen independently). */
.hours-badge {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.12rem 0.45rem;
    border-radius: 3px;
    vertical-align: middle;
    text-transform: uppercase;
}
.hours-badge--open   { background: #4caf50; color: #0F0F0F; }
.hours-badge--closed { background: #e95d5d; color: #0F0F0F; }

.hours-list__day { font-weight: 700; letter-spacing: 0.05em; }
.hours-list__time { color: var(--color-text-muted); }

.location-info p { margin-bottom: 0.5rem; color: var(--color-text-muted); }
.location-info p strong { color: var(--color-text); font-weight: 600; }
.location-info a { color: var(--color-accent); }
.location-info a:hover { color: var(--color-accent-hover); }
.location-info .reservations-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-yellow);
    color: var(--color-text);
    font-size: 0.95rem;
}

.location-map {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    line-height: 0;
    /* Slight grayscale + dim so the map fits the dark sports-bar palette
       instead of glaring as a bright daytime photo. */
    filter: grayscale(0.35) contrast(1.05) brightness(0.85);
}
.location-map iframe { display: block; width: 100%; }

/* =========================================================================
   10. INSTAGRAM
   ========================================================================= */
.instagram-section {
    background: var(--color-bg-alt);
    text-align: center;
}

/* Compact variant — used when no Smash Balloon shortcode is configured yet.
   Slimmer section, single tight callout line, no big empty placeholder. */
.instagram-section--compact {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.instagram-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.instagram-compact__handle {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--color-pig);
    transform: rotate(-1deg);
}

.instagram-handle {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--color-pig);
    margin: 0.5rem 0 2rem;
    transform: rotate(-1deg);
}

.instagram-embed {
    margin: 0 auto 2rem;
    max-width: 1100px;
}

.instagram-cta { margin-top: 1.5rem; }

/* =========================================================================
   11. EVENT SPACE / CONTACT
   ========================================================================= */
.events-section { background: var(--color-bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-block);
    align-items: start;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.event-info p { color: var(--color-text-muted); }
.event-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}
.event-info ul li {
    padding: 0.4rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}
.event-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.event-info p.event-info__catchall {
    margin: -0.5rem 0 1.5rem;
    color: var(--color-pig);
    font-size: 0.95rem;
    padding-left: 1.75rem;
}

.event-info .stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
.event-info .stat {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
}
.event-info .stat__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-yellow);
    display: block;
    margin-bottom: 0.25rem;
}
.event-info .stat__value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-text);
}

.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius);
    display: grid;
    gap: 1rem;
}

.contact-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) { .contact-form .field-row { grid-template-columns: 1fr; } }

.contact-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--color-text-dim); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* "Not a confirmation" note under the submit button on inquiry forms. */
.form-disclaimer {
    margin: 0.9rem 0 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--color-text-dim);
    font-style: italic;
}

/* Replace the native dark calendar icon with a custom yellow SVG so it's
   always visible on the dark form background and matches the brand palette.
   We fully override the native icon (color: transparent + custom background)
   so filter quirks across Chrome/Edge versions don't matter. */
.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F5C518'><path d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    color: transparent;
    width: 26px;
    height: 26px;
    cursor: pointer;
    padding: 0.25rem;
    filter: none;
    opacity: 1;
    transition: transform 0.15s ease;
}
.contact-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    transform: scale(1.1);
}
/* Tells Chrome/Edge to use dark theming for the popup calendar itself. */
.contact-form input[type="date"] { color-scheme: dark; }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.form-message--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #6EE7A0;
}
.form-message--error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #F87171;
}

/* =========================================================================
   12. CATERING / GIFT CARDS STRIP
   ========================================================================= */
.callout-strip {
    background: var(--color-accent);
    color: #0F0F0F;
    padding: 2.5rem 0;
    text-align: center;
}
.callout-strip h2 {
    color: #0F0F0F;
    margin-bottom: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.callout-strip p {
    color: #0F0F0F;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
}
.callout-strip a {
    color: #0F0F0F;
    border-bottom: 2px solid #0F0F0F;
    font-weight: 700;
}
.callout-strip a:hover { color: #fff; border-color: #fff; }

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.site-footer {
    padding: 4rem 0 2rem;
    background: #050505;
    color: var(--color-text-muted);
    text-align: center;
    border-top: 4px solid var(--color-accent);
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-yellow);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.site-footer__brand a { display: inline-block; line-height: 0; }
.site-footer__brand img {
    max-height: 90px;
    width: auto;
    height: auto;
}

.site-footer p { margin-bottom: 0.5rem; }

.site-footer a {
    color: var(--color-text);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.site-footer a:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.social-links a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
    transition: all var(--transition);
}
.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.social-links svg { width: 20px; height: 20px; }

.site-footer__meta {
    font-size: 0.85rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dim);
}

/* =========================================================================
   14. UTILITIES
   ===============================================
/* =========================================================================
   14. PAGE TEMPLATES — Private Events, Merch
   ========================================================================= */
.container--narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* Page hero (shared by all dedicated pages) */
.page-hero {
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    background: linear-gradient(180deg, #0B0B0B 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    margin: 0.5rem 0 1.25rem;
}
.page-hero__lead {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.page-content-section { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-content-section img { border-radius: var(--radius); display: block; max-width: 100%; height: auto; }
.page-content-section .wp-block-gallery { margin: 0; }

.gallery-empty {
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    padding: 2rem 0;
}

/* Merch coming-soon */
.merch-soon {
    min-height: 70vh;
    padding: clamp(4rem, 10vw, 8rem) 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #1A1A1A 0%, var(--color-bg) 70%);
}
.merch-soon__logo { max-width: 200px; height: auto; margin: 0 auto 1.5rem; display: block; }
.merch-soon h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 6rem);
    line-height: 1;
    margin: 0.5rem 0 1.5rem;
    color: var(--color-yellow);
    letter-spacing: 0.02em;
}
.merch-soon__lead {
    max-width: 50ch;
    margin: 0 auto 2rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}
.merch-soon__store { margin: 0 0 2rem; }
.merch-soon__follow { font-size: 1.05rem; margin-bottom: 2.5rem; }
.merch-soon__follow a { color: var(--color-accent); font-weight: 700; }
.merch-soon__back a { color: var(--color-text-dim); font-size: 0.9rem; }
.merch-soon__back a:hover { color: var(--color-yellow); }

/* Callout-strip CTA link */
/* Dual-CTA pair under the catering/gift-cards callout — dark pill buttons
   side-by-side, stacked on narrow screens. Override the generic
   `.callout-strip a` underline-link style with extra specificity. */
.callout-strip__ctas {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.callout-strip .callout-strip__btn {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: #0F0F0F;
    color: var(--color-yellow);
    border: 2px solid #0F0F0F;
    border-radius: var(--radius);
    transition: all var(--transition);
    line-height: 1.2;
}
.callout-strip .callout-strip__btn:hover,
.callout-strip .callout-strip__btn:focus {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: #0F0F0F;
}

.callout-strip__phone {
    margin-top: 0.6rem !important;
    font-size: 1.4rem !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------------------
 * v1.1 — hero slides are <img> elements (responsive srcset) instead of CSS
 * backgrounds. Same look: cover-fit, 42% opacity, crossfade on .is-active.
 * ------------------------------------------------------------------------- */
img.hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

/* Specials boxes: a real two-column grid (not the masonry columns the food
   menu uses), so Wing of the Month sits left and Weekly Specials right on
   desktop. On phones they stack in that same order. A single box spans the row. */
.menu-grid--specials {
    column-count: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}
.menu-grid--specials .menu-category { margin: 0; }
.menu-grid--specials .menu-category:only-child { grid-column: 1 / -1; }
@media (max-width: 720px) {
    .menu-grid--specials { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
 * v1.2.1 — Hero rework. The photo is the headline: shown close to full
 * brightness, with the buttons and the open/closed line anchored at the
 * bottom over a dark fade, so nothing sits on top of the subject of the
 * photo (the mural lettering, the bar).
 * ------------------------------------------------------------------------- */
.hero {
    align-items: flex-end;
    min-height: 82vh;
    padding-top: 0;
    padding-bottom: clamp(2.25rem, 6vh, 4.5rem);
}
.hero__bg,
.hero--slideshow .hero__bg--slide.is-active { opacity: 0.9; }
.hero::after {
    background: linear-gradient(to bottom,
        rgba(15, 15, 15, 0.55) 0%,
        rgba(15, 15, 15, 0) 20%,
        rgba(15, 15, 15, 0) 50%,
        rgba(15, 15, 15, 0.86) 84%,
        #0F0F0F 100%);
}
.hero .btn:not(.btn--accent) { background: rgba(15, 15, 15, 0.62); }
.hero .btn:not(.btn--accent):hover { background: var(--color-text); }
.hero__tagline { margin-bottom: 1.5rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); }
.hero__hours-strip {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 1rem;
    color: var(--color-text);
    background: rgba(15, 15, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}
@media (max-width: 700px) {
    .hero { min-height: 64vh; padding: 0 1rem 2rem; }
}
@media (max-width: 600px) {
    .hero__hours-strip { display: inline-flex; border-radius: 14px; padding: 0.6rem 1rem; }
}

/* v1.2.1 — Map in night colours so it belongs on a dark page. */
.location-map { filter: none; background: #1a1a1a; }
.location-map iframe { filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.92); }

/* v1.2.1 — Footer: address, phone and quick links under the logo. */
.site-footer__brand img { max-height: 72px; }
.site-footer__contact { font-size: 1.05rem; line-height: 1.7; margin: 0 0 0.25rem; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

/* v1.2.1 — Phones: the photo sits on top as a landscape banner and the
   buttons come underneath it, so they can never cover the picture. */
@media (max-width: 700px) {
    .hero {
        display: block;
        min-height: 0;
        padding: calc(62vw + 1.5rem) 1rem 2.25rem;
        background: var(--color-bg);
    }
    .hero__bg, img.hero__bg { inset: 0 0 auto 0; height: 62vw; }
    .hero::after {
        inset: 0 0 auto 0;
        height: 62vw;
        background: linear-gradient(to bottom, rgba(15, 15, 15, 0.45) 0%, rgba(15, 15, 15, 0) 22%, rgba(15, 15, 15, 0) 72%, #0F0F0F 100%);
    }
    .hero__content { margin: 0 auto; }
}


/* =========================================================================
   QUICK BAR — phones only. Four thumb-reach buttons fixed to the bottom of
   the screen: Call, Menu, Directions, Book a party. (v1.2.7)
   ========================================================================= */
.quickbar { display: none; }

@media (max-width: 720px) {
    .quickbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;                      /* under the header and its open menu */
        display: flex;
        background: rgba(15, 15, 15, 0.96);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--color-border);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        transition: transform 0.2s ease;
    }
    .quickbar__item {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 60px;
        padding: 8px 4px 7px;
        color: var(--color-text);
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0.01em;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }
    .quickbar__item + .quickbar__item { border-left: 1px solid var(--color-border); }
    .quickbar__item svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: var(--color-accent);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .quickbar__item:active { background: rgba(243, 112, 33, 0.14); }
    .quickbar__item:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: -3px; }

    /* Keep the last lines of every page clear of the bar. */
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }

    /* Out of the way while someone is typing in a form. */
    .quickbar.is-hidden { transform: translateY(110%); }
}

@media print {
    .quickbar { display: none !important; }
    body { padding-bottom: 0 !important; }
}


/* =========================================================================
   TEXT PAGES — Privacy Policy, Terms & Conditions and any other plain page.
   Comfortable reading width, clear headings, readable links. (v1.2.8)
   ========================================================================= */
.page-content {
    max-width: 44rem;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    text-align: left;
}
.page-content > * + * { margin-top: 1rem; }
.page-content h2 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--color-text);
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.page-content strong { color: var(--color-text); font-weight: 600; }
.page-content em { color: var(--color-text-dim); }
.page-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.page-content a:hover, .page-content a:focus { color: var(--color-accent-hover); }
.page-content ul { padding-left: 1.25rem; list-style: disc; }
.page-content li + li { margin-top: 0.4rem; }

.site-footer__legal { display: block; margin-top: 0.6rem; }
.site-footer__legal a { color: var(--color-text-dim); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__legal a:hover, .site-footer__legal a:focus { color: var(--color-text); }
.form-disclaimer--privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }


/* =========================================================================
   ANNOUNCEMENT POPUP — one small notice, shown once per visitor. A centred
   card on big screens; a sheet above the quick bar on phones. (v1.3.1)
   ========================================================================= */
.announce[hidden] { display: none; }
.announce {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.announce.is-open { opacity: 1; }
.announce__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.66); }
.announce__card {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-top: 4px solid var(--color-accent);
    border-radius: 10px;
    padding: 2rem 1.75rem 1.6rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    transform: translateY(14px);
    transition: transform 0.22s ease;
}
.announce.is-open .announce__card { transform: none; }
.announce__card:focus { outline: none; }
.announce__title {
    font-size: clamp(1.6rem, 4.5vw, 2.1rem);
    line-height: 1.08;
    margin: 0 1.5rem 0.75rem;
    color: var(--color-yellow);
}
.announce__text { margin: 0 0 1.4rem; color: var(--color-text); font-size: 1.02rem; line-height: 1.55; }
.announce__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.announce__actions .btn { flex: 1 1 9rem; padding-left: 1rem; padding-right: 1rem; }
.announce__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    border-radius: 50%;
    color: var(--color-text-muted);
    cursor: pointer;
}
.announce__close:hover, .announce__close:focus-visible { color: var(--color-text); background: rgba(255, 255, 255, 0.08); }
.announce__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 720px) {
    .announce { align-items: flex-end; padding: 0.75rem; padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px) + 0.75rem); }
    .announce__card { max-height: 70vh; padding: 1.75rem 1.25rem 1.25rem; transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
    .announce, .announce__card { transition: none; }
}
@media print { .announce { display: none !important; } }
