/* The Miller's Toll – walnut night, whiskey amber and window snow.
   DM Serif Display for the name, headings and drinks; Josefin Sans for the text. One dark theme. */

@font-face {
    font-family: "DM Serif Display";
    src: url("/fonts/dm-serif-display.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DM Serif Display";
    src: url("/fonts/dm-serif-display-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("/fonts/josefin-sans.woff2") format("woff2");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --night: #140e0a;
    --raised: #1f1611;
    --lit: #2b2018;
    --line: #4a3828;
    --amber: #e3a54e;
    --amber-deep: #b97a2a;
    --cream: #f4e8d6;
    --muted: #cdb99c;
    --snow: #c9d6de;
    --ink-on-amber: #1a0f06;
    --display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --text: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
    --radius: 22px;
    --wrap: 1180px;
    --lb-bg: rgba(14, 9, 6, 0.96);
    --lb-text: #f4e8d6;
    --lb-accent: #e3a54e;
    --lb-accent-soft: rgba(227, 165, 78, 0.22);
    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(227, 165, 78, 0.12), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(201, 214, 222, 0.05), transparent 60%),
        var(--night);
    color: var(--cream);
    font-family: var(--text);
    font-size: 1.125rem;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--amber);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

a:hover {
    color: #f3c27a;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em {
    color: var(--amber);
}

p {
    margin: 0 0 1em;
}

strong {
    font-weight: 700;
}

.wrap {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 50;
    padding: 0.6rem 1rem;
    background: var(--amber);
    color: var(--ink-on-amber);
    border-radius: 8px;
    font-weight: 700;
}

.skip:focus {
    top: 1rem;
    color: var(--ink-on-amber);
}

.muted {
    color: var(--muted);
}

.eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--snow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.lead {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
    color: var(--cream);
    max-width: 44ch;
}

.section-title {
    font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
    max-width: 18ch;
}

.section-lead {
    color: var(--muted);
    max-width: 52ch;
    font-size: 1.15rem;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.4rem 0.65rem;
    border-radius: 999px;
    border: 1.5px solid var(--amber);
    color: var(--amber);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
    background: rgba(227, 165, 78, 0.14);
    color: #f3c27a;
    transform: translateY(-1px);
}

.btn-amber {
    background: var(--amber);
    color: var(--ink-on-amber);
}

.btn-amber:hover {
    background: #f0b766;
    color: var(--ink-on-amber);
}

.btn-ghost {
    background: transparent;
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(20, 14, 10, 0.82);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid rgba(74, 56, 40, 0.6);
}

.top-row {
    display: flex;
    align-items: center;
    gap: 1rem 1.2rem;
    min-height: 72px;
    flex-wrap: wrap;
    padding-block: 0.5rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--cream);
    text-decoration: none;
    line-height: 1;
    margin-right: auto;
}

.brand:hover {
    color: var(--cream);
}

.brand-name {
    font-family: var(--display);
    font-size: 1.6rem;
    letter-spacing: -0.01em;
}

.brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    margin-top: 0.35rem;
    font-weight: 600;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.2rem;
    align-items: center;
}

.nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.55rem 0 0.4rem;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    color: var(--amber);
}

.nav a[aria-current] {
    color: var(--amber);
    border-bottom-color: var(--amber);
}

.nav .nav-gift {
    color: var(--snow);
    border: 1px solid rgba(201, 214, 222, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.9rem 0.3rem;
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.55rem 1.1rem 0.45rem;
    border-radius: 999px;
    background: var(--amber);
    color: var(--ink-on-amber);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: #f0b766;
    color: var(--ink-on-amber);
}

.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(201, 214, 222, 0.45);
    color: var(--snow);
}

.social:hover {
    color: var(--amber);
    border-color: var(--amber);
}

.nav-toggle {
    display: none;
}

/* The full menu needs about 1240 px; below that, the menu button. */
@media (max-width: 1239px) {
    .top-row {
        gap: 0.6rem 0.8rem;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .social,
    .call {
        order: 2;
    }

    .call {
        padding-inline: 0.9rem;
        font-size: 0.95rem;
    }

    .nav {
        order: 4;
        width: 100%;
        gap: 0.1rem 1.1rem;
        padding-bottom: 0.3rem;
    }

    /* With the script: the menu button, and the links folded until it opens. */
    .js-nav .nav-toggle {
        order: 3;
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        min-height: 44px;
        padding: 0.5rem 0.9rem 0.4rem;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: var(--raised);
        color: var(--cream);
        font: 600 0.82rem/1 var(--text);
        letter-spacing: 0.16em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .nav-toggle-bars,
    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
        display: block;
        width: 16px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        position: relative;
    }

    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle-bars::before {
        top: -5px;
    }

    .nav-toggle-bars::after {
        top: 5px;
    }

    .js-nav .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 0 0.9rem;
    }

    .js-nav .nav a {
        padding: 0.8rem 0 0.65rem;
        border-bottom: 1px solid var(--line);
    }

    .js-nav .nav a[aria-current] {
        border-bottom-color: var(--amber);
    }

    .js-nav .nav .nav-gift {
        margin-top: 0.8rem;
        text-align: center;
        border: 1px solid rgba(201, 214, 222, 0.45);
    }

    .js-nav.nav-open .nav {
        display: flex;
    }
}

@media (max-width: 420px) {
    .brand-tag {
        letter-spacing: 0.2em;
    }

    .call svg {
        display: none;
    }
}

/* ---- hero ---- */

.hero {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-title {
    font-size: clamp(3.2rem, 1.6rem + 7vw, 7.4rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 1.6rem;
}

.hero-title em {
    display: block;
    font-size: 0.42em;
    letter-spacing: 0;
    margin-top: 0.5em;
    color: var(--amber);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero-window {
    margin: 0;
    position: relative;
    justify-self: end;
    width: min(100%, 460px);
}

.hero-window a {
    display: block;
    border-radius: 999px 999px var(--radius) var(--radius);
    overflow: hidden;
    border: 10px solid var(--lit);
    box-shadow:
        0 0 0 1px var(--line),
        0 40px 80px -30px rgba(0, 0, 0, 0.8),
        0 0 120px -20px rgba(227, 165, 78, 0.35);
}

.hero-window img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: 72% 50%;
}

.hero-window::after {
    /* the window's muntins */
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 999px 999px 14px 14px;
    background:
        linear-gradient(90deg, transparent calc(50% - 2px), rgba(43, 32, 24, 0.55) calc(50% - 2px), rgba(43, 32, 24, 0.55) calc(50% + 2px), transparent calc(50% + 2px));
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-text > * {
        animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero-text > :nth-child(2) {
        animation-delay: 0.08s;
    }

    .hero-text > :nth-child(3) {
        animation-delay: 0.18s;
    }

    .hero-text > :nth-child(4) {
        animation-delay: 0.28s;
    }

    .hero-window {
        animation: glow-in 1.4s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

@keyframes glow-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
}

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

    .hero-window {
        justify-self: center;
        width: min(100%, 340px);
    }
}

/* ---- tonight: hours and rules ---- */

.tonight {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.tonight-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.4rem;
}

.tonight-card {
    background: linear-gradient(160deg, var(--amber) 0%, var(--amber-deep) 100%);
    color: var(--ink-on-amber);
    border-radius: var(--radius);
    padding: 1.8rem 1.8rem 1.4rem;
}

.tonight-card h2 {
    font-size: 2.6rem;
}

.tonight-card .muted {
    color: #2a1a0b;
    font-weight: 600;
}

.tonight-card .hours dt,
.tonight-card .hours dd {
    color: var(--ink-on-amber);
}

.tonight-card .hours > div {
    border-color: rgba(26, 15, 6, 0.25);
}

.hours {
    margin: 0 0 1rem;
}

.hours > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.6rem 0 0.45rem;
    border-bottom: 1px solid var(--line);
}

.hours dt {
    font-weight: 700;
}

.hours dd {
    margin: 0;
}

.rules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.rules li {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.4rem 1.1rem;
    color: var(--muted);
}

.rules strong {
    color: var(--cream);
}

.rules a[href^="tel:"] {
    white-space: nowrap;
}

@media (max-width: 860px) {
    .tonight-grid,
    .rules {
        grid-template-columns: 1fr;
    }
}

/* ---- the era timeline (signature) ---- */

.eras {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
    background:
        linear-gradient(180deg, transparent, rgba(43, 32, 24, 0.55) 20%, rgba(43, 32, 24, 0.55) 80%, transparent);
    overflow: hidden;
}

.era-track {
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
    padding: 2.5rem 0 2rem;
    margin-bottom: 1.5rem;
}

.era-line {
    --n: 13;
    list-style: none;
    margin: 0;
    padding: 0 max(1.25rem, calc((100vw - var(--wrap)) / 2));
    display: grid;
    grid-template-columns: repeat(var(--n), 12.5rem);
    position: relative;
    width: max-content;
}

.era-line::before,
.era-line::after {
    content: "";
    position: absolute;
    left: max(1.25rem, calc((100vw - var(--wrap)) / 2));
    right: max(1.25rem, calc((100vw - var(--wrap)) / 2));
    top: 3.15rem;
    height: 2px;
    background: var(--line);
}

.era-line::after {
    background: linear-gradient(90deg, var(--amber-deep), var(--amber), #f6d29b);
    transform-origin: left center;
}

.era {
    display: flex;
    flex-direction: column;
    padding-right: 1.4rem;
    position: relative;
}

.era-year {
    font-family: var(--display);
    font-size: 2.1rem;
    line-height: 1;
    color: var(--amber);
    height: 2.4rem;
}

.era-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--night);
    border: 3px solid var(--amber);
    margin: 0.3rem 0 1.1rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(227, 165, 78, 0.12);
}

.era-name {
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.era-what {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.45;
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .era-line::after {
            animation: draw-line linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 55%;
        }

        .era {
            animation: light-up linear both;
            animation-timeline: view(inline);
            animation-range: entry 0% entry 80%;
        }
    }
}

@keyframes draw-line {
    from {
        transform: scaleX(0);
    }
}

@keyframes light-up {
    from {
        opacity: 0.25;
        transform: translateY(10px);
    }
}

/* ---- the two doors ---- */

.doors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    width: min(100% - 2.5rem, var(--wrap));
    margin: 0 auto clamp(3.5rem, 7vw, 6rem);
}

.door {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 26rem;
    justify-content: flex-end;
    padding: 2.2rem 2rem 2rem;
    border-radius: 999px 999px var(--radius) var(--radius);
    text-decoration: none;
    color: var(--cream);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s;
}

.door-libations {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(227, 165, 78, 0.38), transparent 60%),
        linear-gradient(180deg, #3a2614, var(--raised));
}

.door-provisions {
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(201, 214, 222, 0.22), transparent 60%),
        linear-gradient(180deg, #2a2722, var(--raised));
}

.door:hover {
    color: var(--cream);
    transform: translateY(-6px);
    border-color: var(--amber);
}

.door-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--snow);
    font-weight: 600;
}

.door-title {
    font-family: var(--display);
    font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem);
    line-height: 1;
    margin: 0.4rem 0 0.8rem;
}

.door-text {
    color: var(--muted);
    max-width: 34ch;
}

.door-go {
    position: absolute;
    right: 1.8rem;
    bottom: 1.6rem;
    font-size: 1.8rem;
    color: var(--amber);
    transition: transform 0.3s;
}

.door:hover .door-go {
    transform: translateX(6px);
}

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

    .door {
        min-height: 20rem;
        padding: 6rem 1.5rem 3.6rem;
        border-radius: 140px 140px var(--radius) var(--radius);
    }
}

/* ---- the pledge ---- */

.pledge {
    background: var(--amber);
    color: var(--ink-on-amber);
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.pledge blockquote {
    margin: 0;
}

.pledge p {
    font-family: var(--display);
    font-size: clamp(1.8rem, 1.1rem + 3vw, 3.4rem);
    line-height: 1.12;
    max-width: 26ch;
    margin: 0;
}

.pledge strong {
    font-weight: 400;
    font-style: italic;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.12em;
}

/* ---- events ---- */

.evenings {
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.event-cards {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.event-cards-one {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

.event-card {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    gap: 1.3rem;
    align-items: start;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--raised);
    border: 1px solid var(--line);
    color: var(--cream);
    text-decoration: none;
    height: 100%;
    transition: border-color 0.25s, transform 0.25s;
}

.event-card:hover {
    border-color: var(--amber);
    color: var(--cream);
    transform: translateY(-3px);
}

.event-card img {
    border-radius: 12px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.event-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.event-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--snow);
    font-weight: 600;
}

.event-name {
    font-family: var(--display);
    font-size: 1.8rem;
    line-height: 1.1;
    color: var(--amber);
}

.event-sum {
    color: var(--muted);
    font-size: 1rem;
}

@media (max-width: 860px) {
    .event-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card img {
        aspect-ratio: 16 / 10;
    }
}

/* ---- visit ---- */

.visit {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid var(--line);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.address-big {
    font-style: normal;
    font-family: var(--display);
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.8rem);
    line-height: 1;
    text-decoration: none;
    color: var(--amber);
    white-space: nowrap;
}

.visit-contact p:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

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

/* ---- inner pages ---- */

.page-hero {
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.page-hero h1 {
    font-size: clamp(3rem, 1.8rem + 5.5vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.jump a {
    padding: 0.55rem 1rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--raised);
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.jump a:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1.4rem;
    padding: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.crumbs li + li::before {
    content: "/";
    margin-right: 0.4rem;
    color: var(--line);
}

.menu-band {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    scroll-margin-top: 90px;
}

.menu-band-lit {
    background: linear-gradient(180deg, rgba(43, 32, 24, 0.7), rgba(31, 22, 17, 0.7));
    border-block: 1px solid rgba(74, 56, 40, 0.6);
}

[id] {
    scroll-margin-top: 96px;
}

.era-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
    gap: 1.4rem;
    align-items: start;
    margin-top: 2rem;
}

.era-group {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 0.6rem;
}

.era-title {
    font-family: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--snow);
    margin-bottom: 0.9rem;
}

.twist-title {
    font-family: var(--display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--amber);
    margin: 1rem 0 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.twist-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

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

.drink {
    display: flex;
    flex-direction: column;
    padding: 0 0 0.95rem;
}

.drink-name {
    font-family: var(--display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.drinks-original .drink-name {
    font-size: 1.7rem;
    color: var(--amber);
}

.drink-year {
    font-family: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    vertical-align: 0.35em;
    color: var(--ink-on-amber);
    background: var(--snow);
    border-radius: 999px;
    padding: 0.2em 0.6em 0.05em;
    margin-left: 0.3rem;
    font-weight: 700;
}

.drink-what {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.5;
}

.drink-energy {
    font-style: italic;
    color: var(--snow);
    font-size: 0.95rem;
}

.drinks-cols {
    columns: 2 22rem;
    column-gap: 2.5rem;
    margin-top: 1.5rem;
}

.drinks-cols .drink {
    break-inside: avoid;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

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

.beer-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
}

.beer-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0 0.6rem;
    border-bottom: 1px dashed var(--line);
}

.beer-list em {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
}

.abv {
    color: var(--amber);
    font-weight: 700;
    white-space: nowrap;
}

.wine {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.2rem;
}

.wine th,
.wine td {
    text-align: left;
    padding: 0.75rem 0.4rem 0.6rem 0;
    border-bottom: 1px dashed var(--line);
    vertical-align: top;
}

.wine thead th {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--snow);
    font-weight: 700;
}

.wine tbody th {
    font-weight: 600;
}

.wine td {
    color: var(--amber);
    font-weight: 700;
    white-space: nowrap;
}

.wine-kind {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--snow);
}

.wine-size {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.88rem;
}

.legend {
    color: var(--snow);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}

.legend abbr {
    text-decoration: none;
    font-weight: 700;
    color: var(--amber);
}

.dishes {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
    gap: 0 2.5rem;
}

.split .dishes {
    grid-template-columns: 1fr;
}

.dish {
    padding: 1rem 0 0.9rem;
    border-bottom: 1px dashed var(--line);
}

.dish-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.dish-name {
    font-family: var(--display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.dish-marks {
    font-family: var(--text);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--snow);
    font-weight: 700;
    white-space: nowrap;
}

.dish-price {
    color: var(--amber);
    font-weight: 700;
    text-align: right;
    flex-shrink: 0;
    max-width: 45%;
}

.dish-what {
    color: var(--muted);
    font-size: 1rem;
    margin: 0.3rem 0 0;
}

.dish-note {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--snow);
    margin: 0.35rem 0 0;
}

.crew {
    margin: 1.2rem 0 1.6rem;
}

.crew > div {
    padding: 0.8rem 0 0.6rem;
    border-bottom: 1px solid var(--line);
}

.crew dt {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--snow);
    font-weight: 700;
}

.crew dd {
    margin: 0.2rem 0 0;
    font-family: var(--display);
    font-size: 1.6rem;
}

.pledge-inline {
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.25;
    color: var(--amber);
}

.fine {
    color: var(--muted);
    font-size: 1rem;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.fine p:last-child {
    margin-bottom: 0;
}

.scans {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: 1.4rem;
}

.scans-one {
    max-width: 22rem;
}

.scans figure {
    margin: 0;
}

.scans a {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform 0.25s, box-shadow 0.25s;
}

.scans a:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}

.scans figcaption {
    margin-top: 0.7rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.scans-docs figcaption strong {
    display: block;
    color: var(--cream);
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.2;
}

.doc-no {
    display: block;
    color: var(--amber);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    margin: 0.2rem 0 0.4rem;
}

.menu-next {
    margin-top: 2rem;
    font-size: 1.15rem;
}

.article {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.article-text h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

.article-text .section-title {
    font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
    margin-top: 0;
}

.article-text p,
.article-text li {
    color: var(--muted);
}

.article-text .lead {
    color: var(--cream);
    max-width: none;
}

.article-side {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 0.6rem;
    position: sticky;
    top: 96px;
}

.article-side h2 {
    font-size: 1.6rem;
}

.article-side p {
    color: var(--muted);
}

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

    .article-side {
        position: static;
    }
}

.prices {
    margin: 0 0 0.6rem;
    max-width: 26rem;
}

.prices > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0 0.4rem;
    border-bottom: 1px dashed var(--line);
}

.prices dd {
    margin: 0;
    color: var(--amber);
    font-weight: 700;
}

.facts {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: fact;
}

.facts li {
    position: relative;
    padding: 0 0 1.1rem 3.2rem;
    counter-increment: fact;
}

.facts li::before {
    content: counter(fact, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -0.15rem;
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--amber);
    line-height: 1;
}

.callband {
    background: var(--amber);
    color: var(--ink-on-amber);
    padding: 2rem 0;
}

.callband-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.callband p {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
    line-height: 1.15;
}

.callband .btn-amber {
    background: var(--ink-on-amber);
    color: var(--amber);
    border-color: var(--ink-on-amber);
}

.callband .btn-amber:hover {
    background: #2e1d0e;
    color: #f3c27a;
}

/* ---- contact ---- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: start;
}

.card {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem;
}

.card h2 {
    font-size: 2rem;
}

.card h3 {
    font-size: 1.35rem;
    margin-top: 1.6rem;
    color: var(--amber);
}

.card .big-phone {
    font-size: clamp(2rem, 1.5rem + 1.6vw, 2.6rem);
}

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

    .card-form {
        grid-column: 1 / -1;
    }
}

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

.contact-form label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.contact-form > div {
    margin-bottom: 1.1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--night);
    color: var(--cream);
    font: inherit;
    font-size: 1rem;
}

.contact-form textarea::placeholder {
    color: #a8957c;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 1px;
    border-color: var(--amber);
}

.contact-form ul {
    margin: 0.3rem 0 0;
    padding-left: 1.1rem;
    color: #ffb4a0;
}

.form-hint {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-sent {
    background: rgba(227, 165, 78, 0.15);
    border: 1px solid var(--amber);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.contact-sent strong {
    display: block;
}

/* ---- footer ---- */

.foot {
    background: #0e0907;
    border-top: 1px solid var(--line);
    padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
    color: var(--muted);
    font-size: 1rem;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}

.foot h2 {
    font-family: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--snow);
    margin-bottom: 1rem;
}

.foot address {
    font-style: normal;
}

.brand-foot {
    margin-bottom: 1rem;
}

.brand-foot .brand-name {
    font-size: 2rem;
}

.foot-hours {
    margin: 0;
}

.foot-hours > div {
    margin-bottom: 0.5rem;
}

.foot-hours dt {
    color: var(--cream);
    font-weight: 700;
}

.foot-hours dd {
    margin: 0;
}

.foot-note {
    font-style: italic;
    margin-top: 0.6rem;
}

.foot-phone {
    font-family: var(--display);
    font-size: 1.6rem;
    text-decoration: none;
    white-space: nowrap;
}

.foot-links {
    line-height: 2;
}

.foot-bottom {
    border-top: 1px solid var(--line);
    margin-top: 2.5rem;
    padding-top: 1.2rem;
    font-size: 0.9rem;
}

.foot-bottom a {
    color: var(--muted);
}

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

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

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
    text-align: center;
}

.not-found > div {
    max-width: 38rem;
}

.not-found .brand {
    margin: 0 auto 2rem;
    align-items: center;
}

.not-found h1 {
    font-size: clamp(2.4rem, 1.6rem + 4vw, 4.2rem);
}

.not-found p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}

.page-hero + .menu-band {
    padding-top: 0.5rem;
}
