@import url('https://unpkg.com/leaflet/dist/leaflet.css');

/* =========================================
   Main Channel Brewing
   Unified Single-Page Stylesheet
   ========================================= */

/* ---------- Theme ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #ffffff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-solid: #ffffff;
    --surface-dark: #171717;
    --surface-darker: #101010;
    --text: #1f1f1f;
    --text-soft: #5f5f5f;
    --text-inverse: #ffffff;
    --border: #e7ded4;
    --accent: #d76a2b;
    --accent-dark: #b84e14;
    --accent-soft: #f4e0d1;
    --shadow-sm: 0 6px 18px rgba(18, 18, 18, 0.06);
    --shadow-md: 0 14px 40px rgba(18, 18, 18, 0.10);
    --shadow-lg: 0 24px 60px rgba(18, 18, 18, 0.16);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 78px;
    --content-width: 1280px;
    --wide-width: 1760px;
    --transition: 0.22s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(215, 106, 43, 0.08), transparent 28%),
        linear-gradient(180deg, #f8f5f0 0%, #f2eee8 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 3000;
}

.skip-link:focus {
    left: 18px;
    top: 18px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    border: 2px solid var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.interactive-card:focus-visible {
    outline: 3px solid rgba(215, 106, 43, 0.35);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- Layout ---------- */
main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: var(--header-height);
    background: transparent;
}

section {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.container,
.header-inner {
    width: min(var(--content-width), calc(100% - 40px));
    margin: 0 auto;
}

.wide-container,
.beer-menu-container,
.homepage-merch .container {
    width: min(var(--wide-width), calc(100% - 32px));
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 32px;
}

.section-title h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 2.7vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1rem;
}

/* ---------- Shared Interactive Treatment ---------- */
.interactive-card {
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.interactive-card:hover,
.interactive-card:focus-visible,
.interactive-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #e1cab7;
}

@media (hover: none) {
    .interactive-card:active {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: #e1cab7;
    }
}

/* ---------- Fixed Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    background: rgba(23, 23, 23, 0.94);
    backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo {
    height: 40px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin-left: auto;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-inverse);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.10);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform var(--transition), opacity var(--transition);
    content: "";
}

.nav-toggle-bar {
    position: relative;
}

.nav-toggle-bar::before {
    position: absolute;
    top: -6px;
    left: 0;
}

.nav-toggle-bar::after {
    position: absolute;
    top: 6px;
    left: 0;
}

.site-header.menu-open .nav-toggle-bar {
    background: transparent;
}

.site-header.menu-open .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 10px 2px;
    transition: color var(--transition);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    text-shadow: 0 0 14px rgba(215, 106, 43, 0.22);
}

.social-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.social-nav a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.social-nav a:hover,
.social-nav a:focus-visible {
    transform: translateY(-1px);
    background: var(--accent);
    color: #ffffff;
}

.social-nav svg,
.social-nav i {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* ---------- Age Gate ---------- */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate-content {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 620px;
    width: calc(100% - 40px);
    padding: 32px;
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}

.age-gate-logo {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-logo img {
    max-width: 120px;
    height: auto;
}

.age-gate-text {
    flex: 1 1 auto;
    text-align: left;
}

.age-gate-text h2 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    line-height: 1.2;
}

.age-gate-text p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.85);
}

.age-gate-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.age-gate-buttons button {
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.age-gate-buttons button:hover,
.age-gate-buttons button:focus-visible {
    transform: translateY(-1px);
}

#age-yes {
    background: var(--accent);
    color: #ffffff;
}

#age-yes:hover,
#age-yes:focus-visible {
    background: #f07c3a;
}

#age-no {
    background: #444444;
    color: #ffffff;
}

#age-no:hover,
#age-no:focus-visible {
    background: #5a5a5a;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: min(72vh, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-inverse);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.56) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 40px));
    padding: 48px 20px;
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero-tagline {
    margin: 0 0 24px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.94);
}

.hero-cta,
.about-cta {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e27a3f 0%, var(--accent) 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.about-cta:hover,
.about-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, #dd7235 0%, var(--accent-dark) 100%);
}

/* ---------- Ambiance ---------- */
.beer-ambiance,
.events-ambiance {
    width: 100%;
    min-height: 260px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ---------- Beer Menu ---------- */
.homepage-beer-menu {
    padding: 0 0 90px;
    background: transparent;
}

.beer-menu-container {
    padding: 30px 8px 0;
}

.beer-menu-empty {
    text-align: center;
    padding: 42px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.beer-menu-grid--homepage,
.homepage-beer-menu .beer-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.beer-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.beer-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.beer-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, #f1ece6 0%, #ebe5dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.beer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.beer-card:hover .beer-card-image img,
.beer-card:focus-within .beer-card-image img,
.beer-card.expanded .beer-card-image img {
    transform: scale(1.03);
}

.beer-card-no-image {
    padding: 18px;
    text-align: center;
    color: #777;
    font-size: 0.92rem;
}

.beer-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 14px 16px;
}

.beer-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.beer-card-header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.beer-price {
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    color: var(--surface-darker);
    background: #f4efe9;
    padding: 3px 8px;
    border-radius: 999px;
}

.beer-abv {
    margin: 0 0 8px;
    color: #6d6259;
    font-size: 0.84rem;
    font-weight: 700;
}

.beer-description {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.52;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.28s ease, -webkit-line-clamp 0.28s ease;
}

@media (hover: hover) {
    .beer-card:hover .beer-description,
    .beer-card:focus-within .beer-description {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
}

.beer-card.expanded .beer-description {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* ---------- Seasonal Specials ---------- */
.seasonal-specials-container {
    max-width: 1300px;
}

.seasonal-section-title {
    margin-bottom: 40px;
}

.seasonal-carousel-shell {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 14px 0 22px;
}

.seasonal-carousel {
    overflow: hidden;
}

.seasonal-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.seasonal-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    min-height: 460px;
    padding: 28px 76px 38px;
}

.seasonal-image-panel {
    flex: 1 1 58%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seasonal-image-wrap {
    width: 100%;
    max-width: 620px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seasonal-image-wrap img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
}

.seasonal-no-image {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
}

.seasonal-content-panel {
    flex: 0 0 340px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.seasonal-content-box {
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
    border: 1px solid #ebd4c5;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.seasonal-content-box h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 500;
    font-family: Georgia, "Times New Roman", serif;
}

.seasonal-content-box p {
    margin: 0;
    color: #434343;
    font-size: 0.96rem;
    line-height: 1.72;
}

.seasonal-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.seasonal-carousel-arrow:hover,
.seasonal-carousel-arrow:focus-visible {
    background: #ffffff;
    color: var(--accent-dark);
}

.seasonal-carousel-arrow--prev {
    left: 14px;
}

.seasonal-carousel-arrow--next {
    right: 14px;
}

.seasonal-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.seasonal-carousel-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: #d9b59b;
    opacity: 0.55;
    cursor: pointer;
    padding: 0;
}

.seasonal-carousel-dot.active {
    opacity: 1;
    background: var(--accent);
}

.seasonal-empty {
    text-align: center;
    padding: 42px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ---------- Merch ---------- */
.homepage-merch {
    padding: 72px 0 90px;
    background: transparent;
}

.merch-empty {
    text-align: center;
    padding: 42px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.carousel-shell {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 14px 0 22px;
}

.merch-carousel {
    overflow: hidden;
}

.merch-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.merch-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    min-height: 440px;
    padding: 28px 76px 38px;
}

.merch-image-panel {
    flex: 1 1 60%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-image-wrap {
    width: 100%;
    max-width: 720px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-image-wrap img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.merch-no-image {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
}

.merch-content-panel {
    flex: 0 0 330px;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.merch-content-box {
    width: 100%;
    padding: 24px 20px;
    background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
    border: 1px solid #ebd4c5;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.merch-content-box h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 500;
    font-family: Georgia, "Times New Roman", serif;
}

.merch-price {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 1.45rem;
    font-weight: 800;
}

.merch-copy {
    margin: 0;
    color: #434343;
    font-size: 0.96rem;
    line-height: 1.72;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    background: #ffffff;
    color: var(--accent-dark);
}

.carousel-arrow.prev {
    left: 14px;
}

.carousel-arrow.next {
    right: 14px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: #d9b59b;
    opacity: 0.55;
    cursor: pointer;
    padding: 0;
}

.carousel-dot.active {
    opacity: 1;
    background: var(--accent);
}

/* ---------- Content Sections ---------- */
#about,
#seasonal-specials,
#locations,
#contact {
    padding: 72px 0 90px;
    background: transparent;
}

.brews-pillars,
.crew-grid,
.locations-grid,
.contact-locations {
    display: grid;
    gap: 20px;
}

.brews-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 34px;
}

.brews-pillar,
.crew-card,
.location-card,
.contact-block,
.upcoming-events,
.about-block-text,
.brewmaster {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.about-block {
    margin-bottom: 32px;
}

.about-block--split,
.about-block--reverse {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.about-block--reverse {
    grid-template-columns: 1fr 1.1fr;
}

.about-block--full {
    display: block;
}

.about-block--reverse .about-block-image {
    order: 2;
}

.about-block--reverse .about-block-text {
    order: 1;
}

.about-block-image {
    height: 320px;
    border-radius: 18px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: var(--shadow-sm);
}

.about-block-text h3,
.upcoming-events h3,
.location-card h3,
.contact-block h3,
.brews-pillar h4,
.crew-card h4 {
    margin: 0 0 10px;
}

.brewmaster {
    margin-bottom: 32px;
    font-style: italic;
}

.brewmaster cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 700;
}

.crew-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.locations-grid,
.contact-locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crew-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-width: 0;
}

.crew-card h4 {
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.crew-card-role {
    color: var(--text-soft);
    line-height: 1.45;
    overflow-wrap: break-word;
    word-break: break-word;
    margin: 0;
}

.crew-card-image {
    width: 100%;
    height: 210px;
    margin-bottom: 12px;
    border-radius: 12px;
    background-color: #f0ece6;
    overflow: hidden;
    flex-shrink: 0;
}

.crew-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.25s ease;
}

.crew-card:hover .crew-card-image img,
.crew-card:focus-within .crew-card-image img,
.crew-card:focus-visible .crew-card-image img {
    transform: scale(1.05);
}

.location-card address {
    margin: 14px 0;
    font-style: normal;
}

.location-card a,
.contact-block a {
    color: var(--accent-dark);
}

/* ---------- Map Section ---------- */
.map-section-container {
    max-width: 1300px;
}

.map-section-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.brewery-map {
    width: 100%;
    min-height: 650px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: #f3efe9;
}

.locations-panel {
    background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
    border: 1px solid #ebd4c5;
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow-sm);
    max-height: 650px;
    overflow-y: auto;
}

.locations-panel h3 {
    margin: 0 0 14px;
    font-size: 1.25rem;
}

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

.location-list li + li {
    margin-top: 12px;
}

.location-button {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 15px;
    cursor: pointer;
    color: inherit;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.location-button:hover,
.location-button:focus-visible,
.location-button.active {
    background: #fff7f1;
    border-color: #ddbda4;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    outline: none;
}

.location-name {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--text);
}

.location-address,
.location-beers {
    display: block;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.location-beers {
    margin-top: 4px;
}

.empty-state {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.leaflet-container a {
    color: var(--accent-dark);
}

.leaflet-popup-content {
    line-height: 1.5;
    font-size: 0.94rem;
}

.popup-title {
    margin-bottom: 6px;
    font-weight: 700;
}

.popup-line {
    margin-bottom: 4px;
}

.popup-line:last-child {
    margin-bottom: 0;
}

/* ---------- Contact Details Layout ---------- */
.contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.contact-location {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-location h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.contact-location p {
    margin: 4px 0;
    font-size: 0.95rem;
}

.contact-info {
    margin: 8px 0;
    line-height: 1.5;
}

.contact-info .address {
    font-weight: 500;
}

.contact-info .phone a {
    color: var(--accent-dark);
    font-weight: 600;
}

.events-list {
    list-style-position: inside;
    padding-left: 0;
}

.events-list li + li {
    margin-top: 8px;
}

/* ---------- Footer ---------- */
footer, .site-footer {
    margin-top: 0;
    padding: 60px 20px 30px; /* Increased top padding for better spacing */
    text-align: center;
    color: var(--text-inverse);
    background: linear-gradient(180deg, #1a1a1a 0%, var(--surface-darker) 100%);
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider line */
    margin-top: 30px;
    padding-top: 30px;
}

.responsibility-msg {
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--accent); /* Uses your orange accent color */
    text-transform: uppercase;
}

.footer-legal p {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}


/* ---------- Legacy Beer Menu Page Support ---------- */
.beer-menu-page {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.beer-menu-intro {
    text-align: center;
    margin-bottom: 30px;
}

.beer-menu-intro h2 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.beer-menu-intro p {
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
}

.beer-menu-page .beer-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
    .beer-menu-grid--homepage,
    .homepage-beer-menu .beer-menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .brews-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seasonal-slide,
    .merch-slide {
        padding: 26px 64px 34px;
        gap: 30px;
    }
}

@media (max-width: 1180px) {
    .nav-right {
        gap: 18px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .social-nav {
        gap: 10px;
    }

    .crew-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .container,
    .header-inner {
        width: calc(100% - 28px);
    }

    .wide-container,
    .beer-menu-container,
    .homepage-merch .container {
        width: calc(100% - 22px);
    }

    .beer-menu-grid--homepage,
    .homepage-beer-menu .beer-menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .locations-grid,
    .about-block--split,
    .about-block--reverse,
    .map-layout {
        grid-template-columns: 1fr;
    }

    .about-block--reverse .about-block-image,
    .about-block--reverse .about-block-text {
        order: initial;
    }

    .seasonal-slide,
    .merch-slide {
        padding: 24px 56px 30px;
    }

    .seasonal-image-wrap img {
        max-height: 320px;
    }

    .brewery-map,
    .locations-panel {
        min-height: 0;
        max-height: none;
    }

    .brewery-map {
        height: 520px;
    }

    .merch-image-wrap img {
        max-height: 300px;
    }
}

@media (max-width: 920px) {
    :root {
        --header-height: 72px;
    }

    .site-logo {
        height: 36px;
    }

    .social-nav {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        background: rgba(18, 18, 18, 0.98);
        box-shadow: var(--shadow-lg);
    }

    .site-header.menu-open .nav-panel {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        border-radius: 10px;
    }

    .main-nav a::after {
        bottom: 8px;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible,
    .main-nav a.active {
        background: rgba(255, 255, 255, 0.05);
    }

    .social-nav {
        justify-content: center;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        border-left: 0;
        padding-top: 16px;
        margin: 0;
    }

    .beer-menu-grid--homepage,
    .homepage-beer-menu .beer-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seasonal-slide,
    .merch-slide {
        flex-direction: column;
        min-height: auto;
        gap: 20px;
        padding: 24px 48px 28px;
    }

    .seasonal-image-panel,
    .seasonal-content-panel,
    .merch-image-panel,
    .merch-content-panel {
        width: 100%;
        flex: 1 1 auto;
    }

    .seasonal-content-box,
    .merch-content-box {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero {
        min-height: 480px;
    }

    .crew-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .age-gate-content {
        flex-direction: column;
        text-align: center;
    }

    .age-gate-text {
        text-align: center;
    }

    .age-gate-logo {
        flex: 0 0 auto;
    }

    .age-gate-buttons {
        justify-content: center;
    }
}

@media (min-width: 861px) {
    .nav-panel {
        display: flex !important;
    }
}

@media (max-width: 640px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .beer-menu-grid--homepage,
    .homepage-beer-menu .beer-menu-grid,
    .brews-pillars,
    .locations-grid,
    .beer-menu-page .beer-menu-grid,
    .contact-locations,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .beer-card-image {
        aspect-ratio: 16 / 10;
    }

    .beer-card-header {
        flex-direction: column;
        gap: 6px;
    }

    .seasonal-carousel-shell,
    .carousel-shell {
        padding-top: 8px;
    }

    .seasonal-slide,
    .merch-slide {
        padding: 18px 34px 24px;
    }

    .seasonal-image-wrap,
    .merch-image-wrap {
        min-height: 220px;
    }

    .seasonal-image-wrap img,
    .merch-image-wrap img {
        max-height: 240px;
    }

    .seasonal-carousel-arrow,
    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.7rem;
    }

    .seasonal-carousel-arrow--prev,
    .carousel-arrow.prev {
        left: 6px;
    }

    .seasonal-carousel-arrow--next,
    .carousel-arrow.next {
        right: 6px;
    }

    #about,
    #seasonal-specials,
    #locations,
    #contact,
    .homepage-merch {
        padding: 56px 0 74px;
    }

    .map-section-card {
        padding: 18px;
    }

    .brewery-map {
        height: 400px;
        min-height: 400px;
        border-radius: 14px;
    }

    .locations-panel {
        padding: 16px;
    }
}

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

    .crew-card-image {
        height: 240px;
    }
}

@media (max-width: 420px) {
    .hero {
        min-height: 400px;
    }

    .hero-content {
        width: calc(100% - 24px);
        padding: 36px 12px;
    }

    .beer-menu-container,
    .homepage-merch .container,
    .container {
        width: calc(100% - 16px);
    }

    .site-logo {
        height: 30px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .seasonal-content-box,
    .merch-content-box {
        padding: 18px 15px;
    }

    .map-section-card {
        padding: 14px;
    }

    .brewery-map {
        height: 340px;
        min-height: 340px;
    }

    .seasonal-content-box h3,
    .merch-content-box h3 {
        font-size: 1.2rem;
    }

    .merch-price {
        font-size: 1.2rem;
    }

    .seasonal-content-box p,
    .merch-copy {
        font-size: 0.92rem;
    }

    .age-gate-content {
        width: calc(100% - 24px);
        padding: 24px 18px;
        gap: 18px;
    }

    .age-gate-logo img {
        max-width: 90px;
    }

    .age-gate-text h2 {
        font-size: 1.45rem;
    }

    .age-gate-buttons {
        flex-direction: column;
        width: 100%;
    }

    .age-gate-buttons button {
        width: 100%;
    }
}
