:root {
    --night: #061018;
    --ink: #101820;
    --teal: #0c6370;
    --aqua: #2ab7a9;
    --coral: #ff5a3d;
    --sun: #ffbf57;
    --cream: #fff4df;
    --paper: #fffaf2;
    --wine: #6d214f;
    --muted: #6d7479;
    --line: rgba(16, 24, 32, 0.14);
    --shadow: 0 24px 80px rgba(6, 16, 24, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    letter-spacing: 0;
    overflow-x: hidden;
}

body::selection {
    color: var(--night);
    background: var(--sun);
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 1.7;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 5vw;
    color: #fff;
    background: linear-gradient(180deg, rgba(6, 16, 24, 0.82), rgba(6, 16, 24, 0.18));
    backdrop-filter: blur(18px);
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 800;
}

.brand-mini img {
    width: 38px;
    height: 38px;
}

.brand-mini span {
    white-space: nowrap;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.top-nav a {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.94rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.52);
}

.hero {
    position: relative;
    min-height: min(92svh, 980px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 34px;
    padding: 132px 6vw 76px;
    color: #fff;
    overflow: hidden;
}

.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(6, 16, 24, 0.92) 0%, rgba(6, 16, 24, 0.62) 45%, rgba(6, 16, 24, 0.28) 100%),
        linear-gradient(0deg, rgba(6, 16, 24, 0.86) 0%, rgba(6, 16, 24, 0.08) 48%, rgba(6, 16, 24, 0.58) 100%);
}

.hero-content,
.hero-card {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 980px;
}

.main-logo {
    width: 430px;
    max-width: 78vw;
    margin-bottom: 24px;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.44));
}

.hero-kicker,
.eyebrow {
    margin: 0 0 12px;
    color: var(--sun);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    line-height: 0.98;
}

.hero-copy {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.18rem;
}

.hero-actions,
.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
    color: #15120d;
    background: var(--sun);
}

.button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
}

.button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.button-light {
    color: var(--night);
    background: var(--cream);
}

.hero-card {
    align-self: end;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(6, 16, 24, 0.58);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

.hero-card span,
.hero-card small {
    display: block;
    color: rgba(255, 255, 255, 0.66);
}

.hero-card strong {
    display: block;
    margin: 8px 0;
    color: var(--sun);
    font-size: 1.65rem;
}

.intro-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--night);
    color: #fff;
}

.intro-item {
    min-height: 190px;
    padding: 34px 5vw;
    background: linear-gradient(135deg, #0b2730, #111820);
}

.intro-item:nth-child(2) {
    background: linear-gradient(135deg, #3c1f3d, #111820);
}

.intro-item:nth-child(3) {
    background: linear-gradient(135deg, #0e4f59, #111820);
}

.intro-item span {
    display: block;
    color: var(--sun);
    font-weight: 900;
    margin-bottom: 18px;
}

.intro-item strong {
    display: block;
    font-size: 1.35rem;
}

.intro-item p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.split-section,
.location-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 48px;
    align-items: center;
    padding: 96px 6vw;
}

.section-copy h2,
.section-heading h2,
.records-copy h2,
.legal-page h1,
.admin-dashboard h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    line-height: 1.05;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.records-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.feature-photo {
    position: relative;
    margin: 0;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.feature-photo img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.feature-photo figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #fff;
    background: rgba(6, 16, 24, 0.72);
}

.records-band {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 54px;
    align-items: center;
    padding: 86px 6vw;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 90, 61, 0.18), transparent 32%),
        linear-gradient(90deg, #061018, #0c6370);
}

.records-logo {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 244, 223, 0.08);
}

.records-logo img {
    border-radius: 8px;
}

.records-copy {
    max-width: 760px;
}

.records-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
}

.menu-section,
.events-section,
.gallery-section {
    padding: 92px 6vw;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.drink-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.drink-card {
    position: relative;
    min-height: 210px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.drink-card::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -44px;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: var(--sun);
    opacity: 0.18;
}

.drink-card h3 {
    margin: 48px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.drink-card p {
    max-width: 260px;
    margin: 0;
    color: var(--muted);
}

.drink-mark {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 18px 10px 0 var(--sun);
}

.drink-bold .drink-mark {
    background: var(--wine);
}

.drink-clean .drink-mark,
.drink-green .drink-mark {
    background: var(--aqua);
}

.drink-dark .drink-mark {
    background: var(--night);
}

.drink-citrus .drink-mark {
    background: var(--sun);
}

.events-section {
    color: #fff;
    background: var(--night);
}

.events-section .section-heading p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.7);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.event-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #101820;
}

.event-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content time {
    color: var(--sun);
    font-weight: 800;
}

.event-content h3 {
    margin: 10px 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.event-content p {
    color: rgba(255, 255, 255, 0.7);
}

.event-tag {
    margin: 0;
    color: var(--aqua) !important;
    font-weight: 800;
}

.empty-public {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.social-tile {
    position: relative;
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--night);
}

.social-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.social-tile:hover img {
    transform: scale(1.04);
}

.social-tile figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    color: #fff;
    background: rgba(6, 16, 24, 0.72);
    font-weight: 750;
}

.location-section {
    background: #fff;
}

.hours-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 20px 70px rgba(16, 24, 32, 0.09);
}

.hours-panel h3 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.hours-panel dl {
    margin: 0;
}

.hours-panel div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.hours-panel dt {
    font-weight: 800;
}

.hours-panel dd {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 6vw;
    color: #fff;
    background: var(--night);
}

.site-footer div,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer img {
    width: 34px;
    height: 34px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.74);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

.powered-by {
    margin-left: auto;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.powered-by strong {
    color: #fff;
}

.legal-footer {
    margin-top: 40px;
}

.legal-body {
    background: var(--paper);
}

.legal-header {
    position: sticky;
    color: var(--ink);
    background: rgba(255, 250, 242, 0.92);
    border-bottom: 1px solid var(--line);
}

.legal-header .top-nav a {
    color: var(--ink);
    border-color: var(--line);
}

.legal-page {
    width: min(860px, 88vw);
    margin: 0 auto;
    padding: 74px 0 110px;
}

.legal-page h1 {
    margin-bottom: 24px;
}

.legal-page section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.legal-page h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
}

.legal-page a {
    color: var(--teal);
    font-weight: 800;
}

.admin-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 191, 87, 0.18), transparent 28%),
        linear-gradient(180deg, #061018 0, #10202a 330px, var(--paper) 330px);
}

.admin-shell {
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 28px 0 90px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
}

.admin-brand {
    color: #fff;
}

.notice {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.notice.success {
    color: #103822;
    background: #dff6e9;
}

.notice.error {
    color: #551414;
    background: #ffe2df;
}

.login-panel,
.admin-dashboard,
.admin-panel,
.admin-list-section {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 80px rgba(6, 16, 24, 0.14);
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 40px;
    align-items: center;
}

.login-panel h1,
.dashboard-title h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    line-height: 1.05;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 850;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--ink);
    background: #fffdf8;
    font: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form input[type="file"] {
    padding: 10px;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 28px;
    align-items: end;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.stat-card {
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--night);
}

.stat-card span,
.stat-card strong {
    display: block;
}

.stat-card strong {
    margin-top: 8px;
    font-size: 2rem;
}

.admin-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
    gap: 20px;
}

.admin-panel h2,
.admin-list-section h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.two-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-list-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 44px;
    gap: 16px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.admin-list-item img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 8px;
}

.admin-list-item strong,
.admin-list-item span {
    display: block;
}

.admin-list-item span,
.admin-list-item p {
    margin: 4px 0 0;
    color: var(--muted);
}

.icon-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.icon-button.danger {
    background: #b7232f;
}

.admin-gallery-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-gallery-item {
    position: relative;
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--night);
}

.admin-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-gallery-item figcaption {
    position: absolute;
    left: 8px;
    right: 50px;
    bottom: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #fff;
    background: rgba(6, 16, 24, 0.68);
    font-weight: 800;
}

.admin-gallery-item form {
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.admin-credit {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-credit a {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
}

.admin-credit strong {
    color: var(--ink);
}

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

    .hero h1 {
        font-size: 3.8rem;
    }

    .hero-card {
        width: 100%;
    }

    .split-section,
    .location-section,
    .records-band,
    .admin-dashboard,
    .admin-columns {
        grid-template-columns: 1fr;
    }

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

    .social-grid,
    .admin-gallery-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        position: absolute;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 18px;
    }

    .brand-mini span {
        display: none;
    }

    .top-nav {
        gap: 6px;
        flex: 0 0 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .top-nav a {
        padding: 7px 8px;
        font-size: 0.79rem;
    }

    .hero {
        min-height: min(94svh, 900px);
        padding: 132px 20px 44px;
    }

    .main-logo {
        width: 300px;
    }

    .hero h1,
    .section-copy h2,
    .section-heading h2,
    .records-copy h2,
    .legal-page h1,
    .admin-dashboard h1,
    .login-panel h1 {
        font-size: 2.32rem;
    }

    .hero-copy {
        font-size: 1rem;
        max-width: 330px;
    }

    .hero-actions,
    .location-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .intro-band,
    .drink-grid,
    .event-grid,
    .social-grid,
    .login-panel,
    .stat-grid,
    .admin-gallery-list {
        grid-template-columns: 1fr;
    }

    .split-section,
    .location-section,
    .records-band,
    .menu-section,
    .events-section,
    .gallery-section {
        padding: 64px 20px;
    }

    .records-logo {
        max-width: 320px;
    }

    .feature-photo,
    .feature-photo img {
        min-height: 360px;
    }

    .intro-item,
    .section-copy,
    .records-copy,
    .hours-panel,
    .admin-panel,
    .admin-list-section {
        min-width: 0;
    }

    .section-copy h2,
    .section-heading h2,
    .records-copy h2,
    .intro-item p,
    .section-copy p,
    .records-copy p {
        overflow-wrap: break-word;
    }

    .intro-item p,
    .section-copy p:not(.eyebrow),
    .section-heading p:not(.eyebrow),
    .records-copy p:not(.eyebrow) {
        max-width: 34ch;
    }

    .section-copy h2,
    .section-heading h2,
    .records-copy h2 {
        max-width: 12ch;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .powered-by {
        margin-left: 0;
    }

    .two-fields {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        width: min(100% - 28px, 1180px);
    }

    .admin-list-item {
        grid-template-columns: 72px minmax(0, 1fr) 40px;
    }

    .admin-list-item img {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 430px) {
    .site-header {
        gap: 8px;
    }

    .top-nav a {
        padding: 7px;
        font-size: 0.76rem;
    }

    .hero h1,
    .section-copy h2,
    .section-heading h2,
    .records-copy h2,
    .legal-page h1,
    .admin-dashboard h1,
    .login-panel h1 {
        font-size: 2.08rem;
    }

    .admin-panel,
    .admin-list-section,
    .login-panel,
    .admin-dashboard {
        padding: 20px;
    }
}
