/* ========================================================================
   BAR BEHIND THE CURTAIN — design system
   Žižkov, Praha. Inspirováno třicátými lety.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --ink:        #0c0907;   /* near black, warm */
    --ink-2:      #15110d;   /* slightly lifted */
    --ink-3:      #1d1813;
    --paper:      #efe6d3;   /* ivory */
    --paper-dim:  #d6c9a8;
    --gold:       #d9b87a;   /* brighter for better contrast on dark */
    --gold-2:     #a78043;
    --gold-glow:  rgba(217,184,122,.35);
    --oxblood:    #8a1622;
    --oxblood-2:  #4a0b14;
    --smoke:      #c2b291;   /* lifted from b9a98a for readability */
    --line:       rgba(217,184,122,.28);

    --serif:      'Cormorant Garamond', 'Times New Roman', serif;
    --sans:       'Inter', 'Helvetica Neue', sans-serif;
    --mono:       'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;

    --max:        1240px;
    --gutter:     clamp(20px, 4vw, 56px);
}

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

html {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "liga", "calt";
}

body {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,162,91,.08), transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(107,15,26,.08), transparent 60%),
        var(--ink);
    overflow-x: hidden;
    position: relative;
}

/* Film grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.9  0 0 0 0 0.8  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Vignette */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 998;
    background: radial-gradient(ellipse 90% 80% at 50% 50%, transparent 45%, rgba(0,0,0,.55) 100%);
}

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--paper); }

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; margin: 0; }

::selection { background: var(--gold); color: var(--ink); }

/* ============== Layout containers ============== */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
    margin: 64px 0;
}

/* ============== Header / Nav ============== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200; /* MUST be above .nav so the toggle is always clickable */
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .3s ease, padding .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(12,9,7,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px var(--gutter);
    border-bottom-color: var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 26px;
    font-weight: 500;
    color: var(--paper);
    letter-spacing: .005em;
    white-space: nowrap;
    min-width: 0;
    text-shadow: 0 1px 14px rgba(0,0,0,.5);
    line-height: 1;
}
.brand em { font-weight: 500; font-style: italic; }
.brand-text { display: inline; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 110;
}
.nav-toggle span {
    display: block;
    height: 1px;
    background: var(--gold);
    margin: 6px 0;
    transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
    .brand { font-size: 24px; }
}
@media (max-width: 720px) {
    .site-header { padding-left: 18px; padding-right: 18px; }
}
/* Hamburger drawer up to 1180px: six links + the Reserve button + CZ/EN
   no longer fit on one line next to the brand. */
@media (max-width: 1180px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed;
        inset: 0;
        background: rgba(12,9,7,.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transform: translateX(100%);
        transition: transform .35s cubic-bezier(.7,0,.2,1);
        z-index: 105;
    }
    .nav.is-open { transform: none; }
    .nav { z-index: 90; padding-top: 80px; } /* sits BELOW the header so the X stays clickable */
    .nav a { font-size: 17px; font-weight: 500; padding: 10px 0; letter-spacing: .22em; }

    /* Bigger segmented pill in the open mobile drawer */
    .lang-switch {
        margin: 36px 0 0;
        font-size: 15px;
        letter-spacing: .2em;
    }
    .lang-switch a { padding: 12px 28px; font-size: 15px; }

    .brand { font-size: 24px; }
}
@media (max-width: 420px) {
    .brand { font-size: 20px; letter-spacing: 0; }
}
@media (max-width: 360px) {
    .brand { font-size: 18px; }
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav a {
    color: var(--paper-dim);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
}
.nav a:hover, .nav a.is-active { color: var(--gold); }
.nav a.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 18px;
    height: 1px;
    background: var(--gold);
}

/* Language switcher: a segmented pill with CZ / EN halves */
.lang-switch {
    display: inline-flex;
    align-items: stretch;
    margin-left: 18px;
    border: 1px solid var(--gold);
    border-radius: 999px;
    overflow: hidden;
    line-height: 1;
}
.lang-switch a {
    padding: 7px 14px;
    color: var(--paper-dim);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
}
.lang-switch a:hover { color: var(--gold); background: rgba(217,184,122,.08); }
.lang-switch a.is-active {
    background: var(--gold);
    color: var(--ink);
}
.lang-switch a.is-active:hover {
    background: var(--gold);
    color: var(--ink);
}
.lang-switch > span { display: none; } /* hide legacy · separator */

/* ============== Hero ============== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 60%, rgba(217,184,122,.18), transparent 60%),
        radial-gradient(ellipse 80% 80% at 50% 100%, rgba(107,15,26,.25), transparent 70%),
        linear-gradient(180deg, #0a0705 0%, #110b07 50%, #0a0705 100%);
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.hero-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .38;
    filter: brightness(.7) saturate(.75) contrast(1.1) sepia(.15);
    transform: scale(1.04);
    transition: opacity 1.4s ease, transform 12s ease;
}
.is-opened .hero-photo img { opacity: .42; transform: scale(1); }
.hero-photo .editable-image-empty { display: none; }
.hero-photo::after {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 55%, rgba(217,184,122,.08), transparent 70%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0,0,0,.85), transparent 70%),
        linear-gradient(180deg, rgba(10,7,5,.55) 0%, rgba(10,7,5,.2) 35%, rgba(10,7,5,.85) 100%);
    pointer-events: none;
}
.hero-photo.is-editable .editable-image-replace { z-index: 8; bottom: 100px; right: 20px; }

/* The curtain — two velvet panels that part on load */
.curtain {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    pointer-events: none;
}
.curtain-panel {
    flex: 1;
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,.0) 0px,
            rgba(0,0,0,.35) 14px,
            rgba(0,0,0,.0) 28px,
            rgba(0,0,0,.4) 42px),
        linear-gradient(180deg, #4a0b14 0%, #6b0f1a 40%, #380811 100%);
    box-shadow: inset 0 0 80px rgba(0,0,0,.6);
    position: relative;
    transition: transform 1.6s cubic-bezier(.7,0,.2,1) .25s;
}
.curtain-panel::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 14px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.55));
}
.curtain-panel.left::after { right: 0; }
.curtain-panel.right::after { left: 0; transform: scaleX(-1); background: linear-gradient(90deg, transparent, rgba(0,0,0,.55)); }
.curtain-panel.left  { transform-origin: left center;  }
.curtain-panel.right { transform-origin: right center; }
.is-opened .curtain-panel.left  { transform: translateX(-105%) skewY(-2deg); }
.is-opened .curtain-panel.right { transform: translateX(105%) skewY(2deg); }

/* Pelmet at the top */
.curtain-pelmet {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 84px;
    background:
        repeating-linear-gradient(90deg, transparent 0 24px, rgba(0,0,0,.4) 24px 48px),
        linear-gradient(180deg, #5a0d18 0%, #380811 100%);
    z-index: 6;
    border-bottom: 1px solid var(--gold-2);
    box-shadow: 0 6px 16px rgba(0,0,0,.5);
    transition: transform .8s ease;
}
.is-opened .curtain-pelmet { transform: translateY(-100%); }

.hero-inner {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 60px var(--gutter);
    opacity: 0;
    transition: opacity 1.2s ease 1.4s, transform 1.2s ease 1.4s;
    transform: translateY(20px);
}
.is-opened .hero-inner { opacity: 1; transform: none; }

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .38em;
    text-transform: uppercase;
    margin-bottom: 38px;
}
.hero-kicker::before, .hero-kicker::after {
    content: '';
    width: 46px;
    height: 1px;
    background: var(--gold);
    opacity: .8;
}

/* On mobile: shorter decoration lines + symmetric padding so flex actually centers */
@media (max-width: 720px) {
    .hero-inner { padding: 90px 32px; }
    .hero-kicker {
        gap: 12px;
        font-size: 12px;
        letter-spacing: .3em;
        margin-bottom: 28px;
    }
    .hero-kicker::before, .hero-kicker::after { width: 24px; }
}
@media (max-width: 420px) {
    .hero-inner { padding: 90px 28px; }
    .hero-kicker {
        font-size: 11px;
        letter-spacing: .24em;
        gap: 10px;
    }
    .hero-kicker::before, .hero-kicker::after { width: 18px; }
}

.hero-title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(58px, 12vw, 170px);
    line-height: .95;
    color: var(--paper);
    letter-spacing: -.01em;
    margin: 0 0 32px;
    text-shadow: 0 2px 30px rgba(0,0,0,.7);
}
.hero-title .amp {
    font-family: var(--serif);
    color: var(--gold);
    font-style: italic;
    font-weight: 300;
    padding: 0 .12em;
}

.hero-sub {
    color: var(--paper);
    max-width: 760px;
    margin: 0 auto 50px;
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 400;
    line-height: 1.5;
    font-family: var(--serif);
    font-style: normal;
    letter-spacing: .005em;
    text-shadow: 0 1px 20px rgba(0,0,0,.7);
}
@media (max-width: 720px) {
    .hero-sub { font-size: 24px; line-height: 1.45; max-width: none; padding: 0 8px; }
}
@media (max-width: 420px) {
    .hero-sub { font-size: 22px; }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 36px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: color .35s ease, border-color .35s ease;
    background: rgba(12,9,7,.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform .45s cubic-bezier(.7,0,.2,1);
    z-index: 0;
}
.hero-cta > * { position: relative; z-index: 1; }
.hero-cta:hover { color: var(--ink); border-color: var(--gold); }
.hero-cta:hover::before { transform: translateY(0); }
@media (max-width: 540px) {
    .hero-cta { padding: 14px 26px; font-size: 12px; letter-spacing: .22em; gap: 14px; }
}
.hero-cta-arrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    letter-spacing: 0;
    transform: translateY(-1px);
    transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px) translateY(-1px); }
.hero-cta--primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.hero-cta--primary::before { background: var(--ink); }
.hero-cta--primary:hover { color: var(--gold); }
.hero-cta--primary:hover::before { transform: translateY(0); }

/* Decorative deco corner ornaments around the hero title */
.deco-corner {
    position: absolute;
    width: 110px;
    height: 110px;
    pointer-events: none;
    color: var(--gold);
    opacity: .7;
}
.deco-tl { top: 130px; left: var(--gutter); }
.deco-tr { top: 130px; right: var(--gutter); transform: scaleX(-1); }
.deco-bl { bottom: 100px; left: var(--gutter); transform: scaleY(-1); }
.deco-br { bottom: 100px; right: var(--gutter); transform: scale(-1, -1); }

/* ============== Generic sections ============== */
.section {
    padding: clamp(80px, 12vh, 160px) 0;
    position: relative;
}
.section-kicker {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 18px;
}
.section-kicker::before {
    content: '';
    width: 38px; height: 1px;
    background: var(--gold);
    opacity: .8;
}
.section-title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;
    color: var(--paper);
    margin: 18px 0 26px;
    max-width: 18ch;
}
.section-lead {
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(20px, 1.6vw, 26px);
    line-height: 1.55;
    max-width: 60ch;
    margin-top: 18px;
}

/* (signatures grid removed — homepage now uses .menu-teaser, /menu uses .menu-card) */

/* ============== Story split ============== */
.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.story-art {
    /* When there's no image, keep the 4:5 frame for the SVG fallback.
       When there IS an image, the .has-photo modifier lets the image dictate
       the height so the whole photo is visible (no cropping). */
    aspect-ratio: 4/5;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(217,184,122,.18), transparent 70%),
        linear-gradient(135deg, #1a130c 0%, #0c0907 100%);
    position: relative;
    overflow: hidden;
}

/* If the .story-art contains a photo, drop the rigid aspect ratio so the
   image's own dimensions determine the height — guarantees full fit. */
.story-art:has(.story-art-photo) {
    aspect-ratio: auto;
}

/* Art-deco corner brackets that float OVER the image */
.story-art::before,
.story-art::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold);
    z-index: 3;
    pointer-events: none;
}
.story-art::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.story-art::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* The glass SVG (only shown when there's no photo) */
.story-art svg {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 70%;
    height: auto;
    z-index: 1;
}

/* The uploaded photo — full width, intrinsic aspect ratio (no crop). */
.story-art-photo {
    position: relative;
    width: 100%;
    z-index: 2;
}
.story-art-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(.95) contrast(1.05);
}

/* When admin is editing, the photo wrapper has a hover state — keep it relative */
.story-art-photo.is-editable { display: block; }

.story-body p {
    color: var(--paper);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.7;
    margin: 0 0 1em;
}
.story-body p:first-of-type::first-letter {
    font-family: var(--serif);
    font-style: italic;
    font-size: 4em;
    float: left;
    line-height: .9;
    padding-right: 12px;
    color: var(--gold);
}

/* ============== /story value blocks ============== */
.story-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}
.story-value-label {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.story-value-body,
.story-value > p {
    color: var(--paper);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 880px) {
    .story-values { grid-template-columns: 1fr; gap: 36px; }
    .story-value-label { font-size: 13px; }
    .story-value-body, .story-value > p { font-size: 19px; }
}

/* ============== Visit (hours / address) ============== */
.visit-card {
    border: 1px solid var(--line);
    padding: clamp(28px, 4vw, 56px);
    background: rgba(255,255,255,.015);
    position: relative;
}
.visit-card::before, .visit-card::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 1px solid var(--gold);
}
.visit-card::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.visit-card::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}
@media (max-width: 760px) { .visit-grid { grid-template-columns: 1fr; } }

.visit-block h3 {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    font-weight: 600;
}
.visit-block p, .visit-block address {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.55;
    color: var(--paper);
    font-style: normal;
    margin: 0;
}
.visit-block .hour-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted var(--line);
    padding: 8px 0;
}
.visit-block .hour-row:last-child { border-bottom: 0; }

/* ============== Drinks card teaser (homepage) ============== */
.menu-teaser-section { padding: 40px 0; }
.menu-teaser {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink);
    padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 56px);
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 6px 18px rgba(0,0,0,.35);
    text-align: center;
}
.menu-teaser::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(167,128,67,.55);
    pointer-events: none;
}
.menu-teaser::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(167,128,67,.18);
    pointer-events: none;
}
.menu-teaser-inner { position: relative; z-index: 1; }
.menu-teaser-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(30px, 4.5vw, 48px);
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -.005em;
    margin: 0 0 22px;
}
.menu-teaser-title em { font-style: italic; }
.menu-teaser-rule {
    width: 60px;
    height: 1px;
    background: rgba(167,128,67,.6);
    margin: 0 auto 22px;
    position: relative;
}
.menu-teaser-rule::before,
.menu-teaser-rule::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px; height: 7px;
    transform: rotate(45deg);
    background: var(--gold-2);
}
.menu-teaser-rule::before { left: -12px; }
.menu-teaser-rule::after  { right: -12px; }
.menu-teaser-note {
    margin: 0 auto 28px;
    max-width: 50ch;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(19px, 1.9vw, 22px);
    color: #3d2f22;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.menu-teaser-list {
    text-align: left;
    margin: 8px 0 36px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 28px;
    border-top: 1px solid rgba(167,128,67,.35);
}
/* Homepage teaser drinks: inherit the /menu page styles exactly (no overrides) */
.menu-teaser-cta .hero-cta { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.menu-teaser-cta .hero-cta:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--paper); }
@media (max-width: 560px) {
    .menu-teaser { padding: 36px 18px; }
    .menu-teaser::before { inset: 8px; }
    .menu-teaser::after { inset: 12px; }
    .menu-teaser-list { gap: 28px; padding-top: 24px; }
    /* Mobile drink styles already cover this — no teaser-specific overrides */
}

/* ============== Menu stage (velvet backdrop for the drinks card) ============== */
.wrap-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.menu-stage {
    position: relative;
    padding: 56px 0 140px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(138,22,34,.18), transparent 70%),
        linear-gradient(180deg, var(--ink) 0%, #1a0a0d 60%, var(--ink) 100%);
}
.menu-stage::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,.22) 0 22px,
            transparent 22px 72px);
    opacity: .35;
    mix-blend-mode: multiply;
}
.menu-stage > * { position: relative; z-index: 1; }

.menu-stage-head {
    text-align: center;
    padding: 24px 0 36px;
}
.menu-stage-head .section-kicker { display: inline-block; margin-bottom: 16px; }
.menu-stage-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(38px, 5.5vw, 64px);
    line-height: 1.05;
    color: var(--paper);
    margin: 0 0 18px;
    letter-spacing: -.005em;
}
.menu-stage-title em { font-style: italic; color: var(--paper); }
.menu-stage-lead {
    max-width: 56ch;
    margin: 0 auto;
    color: var(--paper-dim);
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 24px);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ============== Search bar (sticky, above the category nav) ============== */
.menu-search-bar {
    position: sticky;
    top: 55px;
    z-index: 81;
    background: rgba(15,8,9,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217,184,122,.22);
    margin-top: 70px; /* matches unscrolled header height */
}
.menu-search-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px clamp(16px, 4vw, 56px);
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-search-icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gold-2); }
.menu-search-input {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(217,184,122,.32);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .03em;
    padding: 4px 2px 6px;
    transition: border-color .2s ease;
}
.menu-search-input::placeholder { color: var(--paper-dim); opacity: .55; }
.menu-search-input:focus { outline: none; border-color: var(--gold); }
.menu-search-input::-webkit-search-cancel-button { filter: invert(1) brightness(2); cursor: pointer; }

/* ============== Category chip nav (sticky, clinging under the search bar) ============== */
.menu-cat-nav {
    position: sticky;
    top: 99px; /* just below the sticky search bar */
    z-index: 80;
    display: flex;
    align-items: center;
    background: rgba(15,8,9,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217,184,122,.22);
}
/* Gallery has no search bar above it — its category nav sticks right below the header.
   Deliberately a couple px less than the header's real scrolled height (~60.2px):
   the header sits on top (z-index 200 vs. this nav's 80) and has its own opaque
   background, so a slight overlap just tucks under it — a gap doesn't, since
   sub-pixel header heights (60.1875px) don't reliably match an integer "top" at
   every zoom level/browser. */
#gallery-cat-nav { top: 58px; }
/* Only 2 categories, never enough to overflow — center them instead of hugging the left edge. */
#gallery-cat-nav .menu-cat-nav-track { justify-content: center; }
/* A bit more breathing room above the chips once the nav is pinned under the search bar. */
#menu-cat-nav .menu-cat-nav-track { padding-top: 20px; }
.menu-cat-chip.is-search-hidden { display: none; }

/* Non-scrolling wrapper the track lives in — needed so the edge fades stay
   pinned to the visible viewport instead of scrolling away with the chips. */
.menu-cat-nav-scroller {
    position: relative;
    min-width: 0;
    flex: 1 1 auto;
}
.menu-cat-nav-scroller::before,
.menu-cat-nav-scroller::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 36px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity .2s ease;
}
.menu-cat-nav-scroller::before { left: 0;  background: linear-gradient(to right, rgba(15,8,9,.98), transparent); }
.menu-cat-nav-scroller::after  { right: 0; background: linear-gradient(to left,  rgba(15,8,9,.98), transparent); }
.menu-cat-nav.can-scroll-left  .menu-cat-nav-scroller::before { opacity: 1; }
.menu-cat-nav.can-scroll-right .menu-cat-nav-scroller::after  { opacity: 1; }

.menu-cat-nav-track {
    display: flex;
    flex-wrap: nowrap;
    /* flex-start, not center — centering an overflowing scroll container
       traps the chips that overflow "before" center: the browser can't
       scroll far enough left to reach them, so they render clipped
       instead of reachable. */
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 12px clamp(16px, 4vw, 56px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.menu-cat-nav-track::-webkit-scrollbar { display: none; }

/* Scroll arrows — filled and shadowed so they read as clickable controls
   against the busy chip row, not as decoration. Shown on every breakpoint
   (smaller on mobile) — the track still swipes/drags directly on touch too,
   the edge fades above are just a secondary hint there. */
.menu-cat-nav-arrow {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 10px;
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.5);
    transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, box-shadow .2s ease, transform .15s ease;
}
.menu-cat-nav-arrow:first-child { margin-left: clamp(12px, 3vw, 28px); }
.menu-cat-nav-arrow:last-child { margin-right: clamp(12px, 3vw, 28px); }
.menu-cat-nav-arrow:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); transform: scale(1.06); }
.menu-cat-nav-arrow:active:not(:disabled) { transform: scale(.96); }
.menu-cat-nav-arrow:disabled {
    background: transparent;
    color: var(--paper-dim);
    border-color: rgba(217,184,122,.28);
    box-shadow: none;
    opacity: .45;
    cursor: default;
}
@media (min-width: 721px) {
    .menu-cat-nav-track { padding-left: 4px; padding-right: 4px; }
}
.menu-cat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid rgba(217,184,122,.32);
    border-radius: 999px;
    color: var(--paper-dim);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    scroll-snap-align: start;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.menu-cat-chip:hover { color: var(--gold); border-color: var(--gold); }
.menu-cat-chip.is-active {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
@media (max-width: 720px) {
    .menu-search-bar { top: 68px; margin-top: 88px; }
    .menu-search-inner { padding: 10px 16px; }
    .menu-cat-nav { top: 108px; }
    .menu-cat-nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 18px;
        margin: 0 6px;
        box-shadow: 0 3px 10px rgba(0,0,0,.5);
    }
    .menu-cat-nav-arrow:first-child { margin-left: 10px; }
    .menu-cat-nav-arrow:last-child { margin-right: 10px; }
    .menu-cat-nav-scroller::before, .menu-cat-nav-scroller::after { width: 24px; }
    .menu-cat-nav-track { justify-content: flex-start; gap: 6px; padding: 10px 16px; }
    .menu-cat-chip { padding: 9px 15px; font-size: 12px; letter-spacing: .12em; }
}

/* ============== Drinks card (paper) ============== */
.menu-card {
    position: relative;
    background: var(--paper);
    color: var(--ink);
    padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px);
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 6px 18px rgba(0,0,0,.35);
    background-image:
        radial-gradient(circle at 20% 10%, rgba(217,184,122,.08), transparent 60%),
        radial-gradient(circle at 80% 90%, rgba(138,22,34,.05), transparent 60%);
}
.menu-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(167,128,67,.55);
    pointer-events: none;
}
.menu-card::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(167,128,67,.18);
    pointer-events: none;
}
@media (max-width: 560px) {
    .menu-card { padding: 36px 20px; }
    .menu-card::before { inset: 8px; }
    .menu-card::after { inset: 12px; }
}

.menu-cat {
    scroll-margin-top: 220px;
    margin-bottom: 56px;
}
.menu-cat:last-of-type { margin-bottom: 28px; }
.menu-cat.is-search-hidden { display: none; }
@media (max-width: 720px) {
    .menu-cat { scroll-margin-top: 230px; }
}

.menu-cat-head {
    display: block;
    text-align: center;
    margin-bottom: 36px;
    cursor: pointer;
    list-style: none;
}
.menu-cat-head::-webkit-details-marker { display: none; }
.menu-cat-head::marker { content: ''; }
.menu-cat:not([open]) .menu-cat-head { margin-bottom: 0; }
.menu-cat-head:hover .menu-cat-name,
.menu-cat-head:hover .menu-cat-mark { color: var(--gold-2); }
.menu-cat-head:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 6px; }

/* Diamond expand/collapse indicator — echoes the ◆ markers already on .menu-cat-rule */
.menu-cat-toggle-mark {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 14px;
    vertical-align: 3px;
    background: var(--gold-2);
    transform: rotate(45deg);
    transition: transform .25s ease, background .2s ease;
}
.menu-cat[open] .menu-cat-toggle-mark { transform: rotate(45deg) scale(1.3); background: var(--gold); }
.menu-cat:not([open]) .menu-cat-drinks,
.menu-cat:not([open]) .menu-cat-rule,
.menu-cat:not([open]) .menu-cat-note { display: none; }
.menu-cat-mark {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #5d4727;
    margin-bottom: 10px;
    -webkit-font-smoothing: antialiased;
}
.menu-cat-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1;
    color: #0a0805;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
.menu-cat-name em { font-style: italic; }
.menu-cat-rule {
    width: 60px;
    height: 1px;
    background: rgba(167,128,67,.6);
    margin: 16px auto 0;
    position: relative;
}
.menu-cat-rule::before,
.menu-cat-rule::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 7px; height: 7px;
    transform: rotate(45deg);
    background: var(--gold-2);
}
.menu-cat-rule::before { left: -12px; }
.menu-cat-rule::after  { right: -12px; }
.menu-cat-note {
    margin: 20px auto 0;
    max-width: 54ch;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 21px);
    color: #1f1812;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.menu-cat-drinks { display: flex; flex-direction: column; gap: 30px; }

.drink {
    /* drink card on paper */
}
/* No description → less trailing whitespace than the price line alone implies */
.drink:not(.has-desc):not(:last-child) { margin-bottom: -14px; }
.drink.has-image {
    cursor: pointer;
    transition: opacity .15s ease;
}
.drink.has-image:hover,
.drink.has-image:focus-visible {
    opacity: .78;
}
.drink-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.drink-name {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: .035em;
    text-transform: uppercase;
    color: #0a0805;
    line-height: 1.15;
    white-space: normal;
    flex-shrink: 1;
    min-width: 0;
    -webkit-font-smoothing: antialiased;
}
.drink-year {
    font-family: var(--sans);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #8a6d3b;
    margin-left: 12px;
    white-space: nowrap;
    vertical-align: 3px;
}
.drink-star {
    color: var(--gold-2);
    font-size: 16px;
    margin-left: 10px;
    vertical-align: 1px;
}
.drink-dots {
    flex: 1 1 auto;
    border-bottom: 2px dotted #9d8a6c;
    transform: translateY(-6px);
    min-width: 18px;
}
.drink-price {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(24px, 2.4vw, 28px);
    color: #5d4a37;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .01em;
    opacity: .92;
}
.drink-price small {
    font-family: var(--sans);
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8a6d3b;
    margin-left: 5px;
    opacity: .85;
}
/* Two-pour drinks (beer, shots): a size/price line per pour instead of one price on the name line */
.drink-line-name { margin-bottom: 4px; }
.drink-sizes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drink-size-row .drink-price { font-size: 20px; }
.drink-size-row .drink-dots { transform: translateY(-4px); }
.drink-size-label {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    color: #7a5b2a;
    white-space: nowrap;
}
/* Ingredients: italic serif spec line, gold-brown */
.drink-ing {
    margin: 10px 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .01em;
    text-transform: none;
    color: #7a5b2a;
    line-height: 1.5;
    max-width: 62ch;
}
.drink-desc {
    margin: 10px 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 21px;
    color: #3d2f22;
    line-height: 1.5;
    max-width: 62ch;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 560px) {
    .menu-cat-drinks { gap: 28px; }
    .drink-name { white-space: normal; font-size: 21px; line-height: 1.25; }
    .drink-year { display: inline; margin-left: 8px; font-size: 11px; letter-spacing: .2em; vertical-align: 2px; }
    .drink-star { font-size: 14px; }
    .drink-dots { display: none; }
    .drink-line {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: baseline;
        gap: 6px 14px;
    }
    .drink-price { font-size: 22px; }
    .drink-size-row .drink-price { font-size: 19px; }
    .drink-size-label { font-size: 17px; }
    .drink-ing { font-size: 20px; letter-spacing: .01em; margin-top: 8px; }
    .drink-desc { font-size: 19px; margin-top: 6px; line-height: 1.45; }
}

.menu-card-foot {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
}
.menu-card-foot-rule {
    display: block;
    width: 80px;
    height: 1px;
    background: rgba(167,128,67,.5);
    margin: 0 auto 18px;
}
.menu-card-foot p {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: 15px;
    color: #3d2f22;
    letter-spacing: .04em;
    -webkit-font-smoothing: antialiased;
}

/* ============== Footer ============== */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 80px 0 40px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-tag { max-width: 100%; }
}
.footer-brand {
    font-family: var(--serif);
    font-style: italic;
    font-size: 32px;
    color: var(--paper);
    margin-bottom: 16px;
}
.footer-tag {
    color: var(--paper-dim);
    font-family: var(--serif);
    font-style: italic;
    max-width: 100%;
}
.footer-grid h4 {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-grid p { color: var(--paper); font-family: var(--serif); font-size: 19px; margin: 0 0 6px; line-height: 1.4; }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--paper-dim);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.footer-bottom a { color: var(--gold); }

/* ============== Admin bar (when logged in) ============== */
.admin-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(90deg, var(--oxblood-2), var(--oxblood));
    color: var(--paper);
    padding: 12px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    box-shadow: 0 -6px 20px rgba(0,0,0,.4);
    border-top: 1px solid var(--gold);
}
.admin-bar a {
    color: var(--gold);
    margin-left: 18px;
}
.admin-bar a:hover { color: var(--paper); }

/* Inline edit highlight */
[contenteditable="plaintext-only"] {
    outline: 1px dashed transparent;
    outline-offset: 4px;
    transition: outline-color .2s ease, background .2s ease;
    cursor: text;
}
[contenteditable="plaintext-only"]:hover {
    outline-color: var(--gold);
    background: rgba(200,162,91,.06);
}
[contenteditable="plaintext-only"]:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    background: rgba(200,162,91,.1);
}

/* ============== Admin pages ============== */
.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
.admin-side {
    background: var(--ink-2);
    border-right: 1px solid var(--line);
    padding: 32px 24px;
}
.admin-side h1 {
    font-family: var(--serif);
    font-style: italic;
    font-size: 26px;
    color: var(--paper);
    margin-bottom: 36px;
    line-height: 1.1;
}
.admin-nav a {
    display: block;
    padding: 12px 14px;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 4px;
    border-left: 2px solid transparent;
}
.admin-nav a:hover { color: var(--gold); border-left-color: var(--gold); background: rgba(217,184,122,.06); }
.admin-nav a.is-active { color: var(--gold); border-left-color: var(--gold); background: rgba(217,184,122,.1); }

.admin-main {
    padding: 44px clamp(24px, 4vw, 56px);
}
.admin-main h2 {
    font-family: var(--serif);
    font-style: italic;
    font-size: 44px;
    color: var(--paper);
    margin-bottom: 12px;
}
.admin-main .lead {
    color: var(--paper);
    margin-bottom: 36px;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.55;
    opacity: .9;
    max-width: 70ch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 32px;
}
.admin-table th, .admin-table td {
    text-align: left;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}
.admin-table th {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--gold);
}
.admin-table td { color: var(--paper); font-family: var(--sans); font-size: 17px; font-weight: 400; vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.admin-table td em { color: var(--paper); font-style: italic; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.admin-table tr:hover td { background: rgba(217,184,122,.04); }

.admin-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    padding: 36px;
    margin-bottom: 28px;
}
.admin-card h3 { color: var(--gold); margin-bottom: 20px; font-family: var(--sans); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }

.stat-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-bottom: 32px;
}
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
    background: var(--ink-2);
    border: 1px solid var(--line);
    padding: 24px;
    position: relative;
}
.stat-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; height: 2px; width: 40px; background: var(--gold);
}
.stat-card .n { font-family: var(--serif); font-style: italic; font-size: 64px; color: var(--paper); line-height: 1; }
.stat-card .l { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 14px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.field input, .field select, .field textarea {
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--paper);
    padding: 16px 18px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0;
    outline: none;
    transition: border-color .2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--gold);
}
.field textarea { min-height: 150px; resize: vertical; font-family: var(--sans); font-size: 18px; line-height: 1.55; font-weight: 400; }
.checkbox-row { display: flex; gap: 28px; flex-wrap: wrap; }
.checkbox-row label {
    display: flex; align-items: center; gap: 12px;
    color: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
.btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 15px 32px;
    background: var(--gold);
    color: var(--ink);
    border: 1px solid var(--gold);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold); color: var(--ink); }
.btn.danger { background: transparent; color: var(--oxblood); border-color: var(--oxblood); }
.btn.danger:hover { background: var(--oxblood); color: var(--paper); }

.flash {
    padding: 18px 22px;
    margin-bottom: 22px;
    border-left: 3px solid var(--gold);
    background: rgba(217,184,122,.08);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.flash.error { border-color: var(--oxblood); background: rgba(138,22,34,.18); }

/* Login */
.login-shell {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
}
.login-card {
    width: 100%;
    max-width: 440px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    padding: 56px 44px;
    position: relative;
}
.login-card::before, .login-card::after {
    content: ''; position: absolute; width: 24px; height: 24px; border: 1px solid var(--gold);
}
.login-card::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.login-card::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.login-card h1 {
    font-family: var(--serif); font-style: italic; font-size: 36px;
    text-align: center; margin-bottom: 8px;
}
.login-card .sub {
    text-align: center; color: var(--smoke); margin-bottom: 36px;
    font-family: var(--sans); font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* page transitions */
main { display: block; }

/* Small typographic flourishes */
.ornament {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--gold);
    margin: 40px 0;
    letter-spacing: 1em;
    font-size: 12px;
}
.ornament::before, .ornament::after {
    content: ''; display: inline-block; width: 80px; height: 1px; background: var(--gold);
    vertical-align: middle; margin: 0 16px;
}
@media (max-width: 720px) {
    .ornament { margin: 32px 0; font-size: 10px; letter-spacing: .6em; }
    .ornament::before, .ornament::after { width: 40px; margin: 0 10px; }
    .section { padding: clamp(40px, 6vh, 80px) 0; }
}
@media (max-width: 420px) {
    .ornament { margin: 28px 0; }
}

/* Centered section head (kicker + title stacked, no inline CTA) */
.section-head-simple {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 44px;
}
.section-head-simple .section-title { margin-top: 0; margin-bottom: 0; max-width: none; }
@media (max-width: 720px) {
    .section-head-simple { gap: 10px; margin-bottom: 28px; }
    .section-head-simple .section-title { margin: 0; }
}

/* Foot CTA: centered button under the section's content */
.section-foot-cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

/* ============== Hero CTA row & video button ============== */
.hero-cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.hero-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    /* inherit .hero-cta look */
}
/* .hero-cta--video inherits its look from --primary or default --secondary */
@media (max-width: 540px) {
    .hero-cta-row { flex-direction: column; align-items: center; }
}

/* Admin-only inline video controls right under the CTAs */
.hero-admin-video {
    margin-top: 22px;
    display: inline-flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.hero-admin-link {
    background: rgba(12,9,7,.7);
    border: 1px dashed var(--gold);
    color: var(--gold);
    padding: 6px 12px;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background .15s ease, color .15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hero-admin-link:hover { background: var(--gold); color: var(--ink); }
.hero-video-btn .play-icon {
    width: 18px; height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid currentColor;
}
.hero-video-btn .play-icon::after {
    content: '';
    width: 0; height: 0;
    border-left: 6px solid currentColor;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 2px;
}

/* PIP video — floating bottom-right autoplay-muted, click to expand */
.video-pip {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 320px;
    max-width: calc(100vw - 44px);
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--gold-glow);
    box-shadow: 0 18px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity .5s ease 2.6s, transform .5s ease 2.6s, width .35s ease, height .35s ease, right .35s ease, bottom .35s ease;
    overflow: hidden;
}
.video-pip.is-ready { opacity: 1; transform: none; }
.video-pip-frame { position: absolute; inset: 0; }
.video-pip-video,
.video-pip-iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
    pointer-events: none;
}
.video-pip-empty {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
}
.video-pip-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .2s ease;
}
.video-pip:hover .video-pip-overlay { opacity: 1; }
.video-pip-expand,
.video-pip-close {
    background: rgba(12,9,7,.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 6px 10px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .15s ease, color .15s ease;
}
.video-pip-close { padding: 6px 9px; font-size: 13px; letter-spacing: 0; }
.video-pip-expand:hover,
.video-pip-close:hover { background: var(--gold); color: var(--ink); }
.video-pip.is-hidden { display: none; }
.video-pip-admin {
    position: absolute;
    top: -36px; right: 0;
    display: flex; gap: 6px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.video-pip-replace {
    background: rgba(12,9,7,.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 4px 8px;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
}
.video-pip-replace:hover { background: var(--gold); color: var(--ink); }

/* PIP video is no longer used — kept here as dead rule guard. */

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(8,6,4,.94);
    backdrop-filter: blur(18px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 5vw, 60px);
}
.video-modal.is-open { display: flex; }
.video-modal-frame {
    width: 100%;
    max-width: 1080px;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    border: 1px solid var(--gold-glow);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.video-modal-frame video,
.video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video-modal-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(12,9,7,.85);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
    z-index: 1010;
    backdrop-filter: blur(10px);
    transition: background .2s ease, color .2s ease, transform .2s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.video-modal-close:hover {
    background: var(--gold);
    color: var(--ink);
    transform: scale(1.05);
}
@media (max-width: 640px) {
    .video-modal-close { top: 12px; right: 12px; width: 48px; height: 48px; font-size: 22px; }
}

/* ============== Gallery ============== */
.gallery-section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 48px var(--gutter) 120px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-tile {
    grid-column: span 4;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    background: var(--ink-2);
    border: 1px solid var(--line);
    transition: transform .4s ease, box-shadow .4s ease;
}
.gallery-tile.wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-tile.tall { aspect-ratio: 3 / 5; }

/* Homepage teaser: 1 hero pano + 2 wide halves */
.gallery-grid--teaser .gallery-tile.feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery-grid--teaser .gallery-tile.half    { grid-column: span 6; aspect-ratio: 4 / 3; }
.gallery-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .4s ease;
    filter: none;
}
.gallery-tile::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0,0,0,.25), transparent 60%);
    transition: opacity .35s ease;
    opacity: 1;
}
.gallery-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px var(--gold-glow);
}
.gallery-tile:hover img { transform: scale(1.02); }
.gallery-tile:hover::after { opacity: .4; }

/* Brass corner ornaments — period frame on each tile */
.gallery-tile-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 2;
    opacity: .85;
    transition: width .35s ease, height .35s ease, opacity .35s ease;
}
.gallery-tile-corner--tl { top: 8px; left: 8px;  border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.gallery-tile-corner--tr { top: 8px; right: 8px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.gallery-tile-corner--bl { bottom: 8px; left: 8px;  border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.gallery-tile-corner--br { bottom: 8px; right: 8px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.gallery-tile:hover .gallery-tile-corner { width: 26px; height: 26px; opacity: 1; }

.gallery-tile-caption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(0,0,0,.88), transparent);
    padding: 28px 18px 16px;
    color: var(--paper);
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    z-index: 2;
    opacity: 1;
    transform: none;
}
.gallery-tile-ingredients {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    background: rgba(10,8,6,.74);
    color: var(--gold);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .06em;
    line-height: 1.7;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.gallery-tile:hover .gallery-tile-ingredients { opacity: 1; }
.gallery-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: var(--gold-glow);
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(200,162,91,.12), transparent 70%),
        linear-gradient(135deg, #1a130c 0%, #0c0907 100%);
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: .3em;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .gallery-tile { grid-column: span 6; }
    .gallery-grid--teaser .gallery-tile.feature { aspect-ratio: 16 / 9; }
    .gallery-grid--teaser .gallery-tile.half    { grid-column: span 6; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
    /* Mobile: edge-to-edge, bigger tiles, captions always visible */
    .gallery-section { padding-left: 0; padding-right: 0; padding-top: 32px; padding-bottom: 80px; }
    .gallery-grid { gap: 8px; }
    .gallery-tile { grid-column: span 12; aspect-ratio: 4 / 3; border-left: 0; border-right: 0; }
    .gallery-tile.tall { aspect-ratio: 3 / 4; }
    .gallery-tile.wide { aspect-ratio: 16 / 9; }
    /* Homepage teaser breaks out of the .wrap padding to go edge-to-edge */
    .gallery-grid--teaser {
        gap: 8px;
        margin-left:  calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
    }
    .gallery-grid--teaser .gallery-tile { border-left: 0; border-right: 0; }
    .gallery-grid--teaser .gallery-tile.feature { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
    .gallery-grid--teaser .gallery-tile.half    { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
    .gallery-tile-caption {
        opacity: 1;
        transform: none;
        font-size: 16px;
        padding: 36px 22px 18px;
    }
    /* No hover on touch — ingredients are shown in the lightbox instead */
    .gallery-tile-ingredients { display: none; }
    .gallery-tile-corner { width: 22px; height: 22px; opacity: .9; }
    .gallery-tile-corner--tl, .gallery-tile-corner--tr { top: 12px; }
    .gallery-tile-corner--bl, .gallery-tile-corner--br { bottom: 12px; }
    .gallery-tile-corner--tl, .gallery-tile-corner--bl { left: 12px; }
    .gallery-tile-corner--tr, .gallery-tile-corner--br { right: 12px; }
}

/* Gallery infinite-scroll loader */
.gallery-loader {
    display: flex;
    justify-content: center;
    padding: 48px 0 24px;
}
.gallery-loader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--line);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: gallery-spin .8s linear infinite;
}
@keyframes gallery-spin { to { transform: rotate(360deg); } }

/* ============== Lightbox ============== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(8,5,4,.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .25s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0,0,0,.7);
    border: 1px solid rgba(217,184,122,.25);
}
.lightbox-caption {
    margin-top: 18px;
    color: var(--paper);
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    text-align: center;
    max-width: 60ch;
}
.lightbox-ingredients {
    margin-top: 8px;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    max-width: 60ch;
}
.lightbox-counter {
    position: absolute;
    top: -36px;
    right: 0;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .25em;
    color: var(--gold);
    opacity: .85;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(15,8,9,.6);
    border: 1px solid rgba(217,184,122,.35);
    color: var(--paper);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    z-index: 2;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }
@media (max-width: 720px) {
    .lightbox { padding: 4vh 12px; }
    .lightbox-img { max-width: 100%; max-height: 75vh; }
    .lightbox-close { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 22px; }
    .lightbox-prev  { left: 8px;  width: 44px; height: 44px; font-size: 22px; }
    .lightbox-next  { right: 8px; width: 44px; height: 44px; font-size: 22px; }
    .lightbox-counter { position: static; margin-bottom: 12px; }
    .lightbox-caption { font-size: 16px; margin-top: 12px; padding: 0 12px; }
    .lightbox-ingredients { font-size: 11px; padding: 0 12px; }
}

/* ============== Events ============== */
.events-list { display: flex; flex-direction: column; gap: 0; }
.event {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 36px;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    align-items: center;
}
.event:last-child { border-bottom: 1px solid var(--line); }
.event-date {
    font-family: var(--serif);
    color: var(--gold);
}
.event-date .day { font-size: 64px; line-height: 1; font-style: italic; }
.event-date .month {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-top: 8px;
    color: var(--paper-dim);
}
.event-time {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--gold);
    margin-top: 8px;
    opacity: .9;
}
.event-body h3 {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(26px, 2.4vw, 36px);
    color: var(--paper);
    margin-bottom: 10px;
}
.event-body p {
    color: var(--paper);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.55;
    margin: 0;
    max-width: 70ch;
}
.event-art {
    width: 220px;
    aspect-ratio: 4 / 3;
    background: var(--ink-2);
    border: 1px solid var(--line);
    overflow: hidden;
}
.event-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
    .event { grid-template-columns: 90px 1fr; gap: 22px; }
    .event-art { display: none; }
    .event-date .day { font-size: 44px; }
}

/* ============== Reviews ============== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 800px) { .reviews-grid { grid-template-columns: 1fr; } }
.review {
    border: 1px solid var(--line);
    padding: 36px 32px;
    background: rgba(255,255,255,.015);
    position: relative;
}
.review::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--serif);
    font-size: 96px;
    color: var(--gold);
    opacity: .8;
    line-height: 1;
}
.review-body {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.6;
    color: var(--paper);
    margin: 12px 0 24px;
}
.review-stars {
    display: inline-flex;
    gap: 4px;
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.review-author {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--paper-dim);
}
.review-author strong { color: var(--paper); font-weight: 700; }

.review-form {
    border: 1px solid var(--line);
    padding: clamp(28px, 4vw, 48px);
    background: rgba(255,255,255,.015);
}
.review-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
@media (max-width: 600px) { .review-form .field-row { grid-template-columns: 1fr; } }
.rating-input {
    display: flex;
    gap: 6px;
    direction: rtl;
}
.rating-input input { display: none; }
.rating-input label {
    cursor: pointer;
    color: var(--line);
    font-size: 24px;
    transition: color .15s ease;
}
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--gold); }

/* ============== Admin in-row editing ============== */
.block-row {
    border-top: 1px solid var(--line);
    padding: 22px 0 26px;
}
.block-row:last-child { border-bottom: 1px solid var(--line); }
.block-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.block-key {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 600;
    word-break: break-all;
    letter-spacing: -.01em;
}
.block-row-actions { display: inline-flex; gap: 10px; flex-shrink: 0; }
.block-row-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 0;
}
@media (max-width: 760px) { .block-row-body { grid-template-columns: 1fr; } }
.block-col label {
    display: block;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: .9;
}
.block-col textarea {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--paper);
    padding: 18px 20px;
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.55;
    outline: none;
    transition: border-color .2s ease;
    resize: vertical;
    min-height: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.block-col textarea:focus { border-color: var(--gold); }

.trans-list { display: flex; flex-direction: column; }
.trans-row {
    display: grid;
    grid-template-columns: 240px 1fr 200px;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.trans-row:first-child { border-top: 1px solid var(--line); }
.trans-key {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 16px;
    font-weight: 600;
    word-break: break-all;
    align-self: center;
    letter-spacing: -.01em;
}
.trans-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
}
.trans-inputs input {
    width: 100%;
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--paper);
    padding: 14px 18px;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.trans-inputs input:focus { border-color: var(--gold); }
.trans-actions { display: inline-flex; gap: 8px; justify-content: flex-end; }

.row-save, .row-delete {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--ink);
    transition: background .2s ease, color .2s ease;
}
.row-save:hover { background: transparent; color: var(--gold); }
.row-save:disabled { opacity: .5; cursor: wait; }
.row-status {
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--smoke);
    margin-right: 8px;
    font-style: italic;
    align-self: center;
}
.row-status.is-saved { color: var(--gold); }
.row-delete {
    background: transparent;
    color: var(--oxblood);
    border-color: var(--oxblood);
}
.row-delete:hover { background: var(--oxblood); color: var(--paper); }

@media (max-width: 760px) {
    .trans-row { grid-template-columns: 1fr; }
    .trans-inputs { grid-template-columns: 1fr; }
    .trans-actions { justify-content: flex-start; }
}

/* ============== Editable image (admin click-to-replace) ============== */
.editable-image { position: relative; overflow: hidden; }
.editable-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editable-image-empty {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: var(--gold);
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 40%, rgba(217,184,122,.12), transparent 70%),
        linear-gradient(135deg, #1a130c 0%, #0c0907 100%);
}
.editable-image-replace {
    position: absolute;
    inset: auto 12px 12px auto;
    background: rgba(12,9,7,.7);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 7px 12px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, opacity .2s ease;
    z-index: 5;
    backdrop-filter: blur(8px);
    opacity: 0;
}
.editable-image.is-editable:hover .editable-image-replace,
.editable-image-replace:focus { opacity: 1; }
.editable-image-replace:hover { background: var(--gold); color: var(--ink); }
.editable-image.is-uploading { opacity: .6; pointer-events: none; }
.editable-image.is-uploading::after {
    content: 'Uploading…';
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: rgba(12,9,7,.7);
    color: var(--gold);
    font-family: var(--sans);
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
}

/* ============== Admin list table content (drinks, events, reviews) ============== */
.drink-name-cs {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    font-weight: 500;
    color: var(--paper);
    line-height: 1.15;
}
.drink-name-en {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    color: var(--paper-dim);
    margin-top: 4px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.drink-row-price {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--gold);
    white-space: nowrap;
}
.drink-row-currency {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--smoke);
    letter-spacing: .12em;
    margin-left: 4px;
}
.drink-row-actions {
    text-align: right;
    white-space: nowrap;
}
.row-edit-link,
.row-delete-link {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 16px;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 4px 0;
}
.row-edit-link { color: var(--gold); }
.row-edit-link:hover { color: var(--paper); }
.row-delete-link { color: var(--oxblood); }
.row-delete-link:hover { color: var(--paper); }
.drink-row-actions form { display: inline; }

.event-when {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: .05em;
    white-space: nowrap;
}
.cat-slug {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: .04em;
}
.cat-count {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--paper);
}
.empty-cell {
    color: var(--smoke);
    font-style: italic;
    font-family: var(--sans);
    font-size: 17px;
    padding: 28px 16px !important;
}

.review-admin-row {
    border-top: 1px solid var(--line);
    padding: 24px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.review-admin-row:first-of-type { border-top: 0; padding-top: 4px; }
.review-admin-body { flex: 1 1 60%; min-width: 280px; }
.review-admin-stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 10px;
    line-height: 1;
}
.review-admin-stars .dim { color: var(--line); }
.review-admin-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--paper);
    margin: 0 0 14px;
}
.review-admin-meta {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--paper-dim);
}
.review-admin-meta strong { color: var(--paper); font-weight: 700; }
.review-admin-date {
    font-family: var(--mono);
    font-weight: 500;
    letter-spacing: .03em;
    margin-left: 4px;
    color: var(--gold);
}
.review-admin-actions {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.review-admin-actions .btn { padding: 10px 18px; font-size: 12px; letter-spacing: .2em; }
.review-admin-actions form { display: inline; }

.admin-empty-note {
    color: var(--smoke);
    font-style: italic;
    font-family: var(--sans);
    font-size: 17px;
    margin: 8px 0 0;
}

/* ============== Admin drinks table: drag, featured, availability ============== */
.drinks-table tr[draggable="true"] { cursor: grab; transition: background .15s ease; }
.drinks-table tr.is-dragging { opacity: .35; background: rgba(217,184,122,.05); }
.drinks-table tr.drag-over { box-shadow: inset 0 2px 0 var(--gold); }
.drinks-table .drag-handle {
    color: var(--smoke);
    font-family: var(--mono);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -2px;
    text-align: center;
    user-select: none;
    cursor: grab;
    padding: 0 6px;
    opacity: .5;
    transition: opacity .15s ease, color .15s ease;
}
.drinks-table tr:hover .drag-handle { opacity: 1; color: var(--gold); }
.drinks-table .drag-handle:active { cursor: grabbing; }

/* ============== Admin gallery cards: drag to reorder ============== */
.gallery-card[draggable="true"] { cursor: grab; transition: background .15s ease; }
.gallery-card.is-dragging { opacity: .35; background: rgba(217,184,122,.05); }
.gallery-card.drag-over { box-shadow: inset 2px 0 0 var(--gold); }
.gallery-card .drag-handle {
    color: var(--smoke);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    user-select: none;
    cursor: grab;
    margin-bottom: 8px;
    opacity: .6;
    transition: opacity .15s ease, color .15s ease;
}
.gallery-card:hover .drag-handle { opacity: 1; color: var(--gold); }
.gallery-card .drag-handle:active { cursor: grabbing; }

.featured-toggle {
    background: none;
    border: 1px solid var(--line);
    color: var(--line);
    font-size: 18px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
    padding: 0;
    line-height: 1;
}
.featured-toggle:hover { border-color: var(--gold); color: var(--gold); }
.featured-toggle.is-on {
    background: rgba(217,184,122,.12);
    border-color: var(--gold);
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.avail-dot {
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--line);
}
.avail-dot.is-on { background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }

.avail-toggle {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--line);
    border: 1px solid var(--line);
    padding: 0;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.avail-toggle:hover { border-color: var(--gold); }
.avail-toggle.is-on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }

/* Inline save indicator */
.save-toast {
    position: fixed;
    bottom: 80px; right: 24px;
    background: var(--ink-2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px 18px;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 300;
    pointer-events: none;
}
.save-toast.show { opacity: 1; transform: none; }
.save-toast.error { border-color: var(--oxblood); color: var(--paper); }

/* ============== Reservations (/visit#reserve) ============== */
.reserve-section { padding-top: 120px; padding-bottom: 120px; scroll-margin-top: 90px; }
.reserve-card { margin-top: 48px; scroll-margin-top: 100px; }
.reserve-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.reserve-card [hidden] { display: none !important; } /* .reserve-form is display:grid, which would beat [hidden] */

.reserve-form { display: grid; gap: 44px; }
.reserve-when {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    max-width: 640px;
}
@media (max-width: 560px) { .reserve-when { grid-template-columns: 1fr; } }

.reserve-form .field input,
.reserve-form .field select,
.reserve-form .field textarea { width: 100%; color-scheme: dark; }
.reserve-form .field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
    cursor: pointer;
}
.reserve-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(79%) sepia(28%) saturate(560%) hue-rotate(358deg) brightness(92%);
    cursor: pointer;
}
.reserve-form .field textarea { min-height: 0; font-size: 17px; }
.reserve-form input::placeholder, .reserve-form textarea::placeholder { color: rgba(214,201,168,.45); }

.reserve-times { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.reserve-times legend {
    font-family: var(--sans);
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    padding: 0;
    margin-bottom: 14px;
}
.reserve-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 10px;
    transition: opacity .2s ease;
}
.is-loading .reserve-slots { opacity: .45; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span {
    display: block;
    text-align: center;
    padding: 13px 0;
    border: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    color: var(--paper);
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.slot:hover span { border-color: var(--gold); }
.slot input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }
.slot input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.slot.is-full { cursor: not-allowed; }
.slot.is-full span { color: rgba(214,201,168,.32); border-style: dashed; text-decoration: line-through; text-decoration-thickness: 1px; }
.slot.is-full:hover span { border-color: var(--line); }

.reserve-hint {
    margin: 14px 0 0;
    min-height: 1.5em;
    font-family: var(--serif);
    font-style: italic;
    font-size: 19px;
    color: var(--paper-dim);
}
.reserve-hint.is-error { color: #e2a3a3; }
.reserve-hint a, .reserve-error a, .reserve-done a { color: var(--gold); white-space: nowrap; }

.reserve-contact {
    border-top: 1px solid var(--line);
    padding-top: 40px;
    transition: opacity .3s ease;
}
.reserve-contact:not(.is-ready) { opacity: .6; }
.reserve-contact:focus-within { opacity: 1; }
.reserve-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.reserve-fields .reserve-note { grid-column: 1 / -1; }
@media (max-width: 900px) { .reserve-fields { grid-template-columns: 1fr 1fr; } .reserve-fields .field:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .reserve-fields { grid-template-columns: 1fr; } }

.reserve-error { margin: 28px 0 0; }
.reserve-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.reserve-actions .btn { padding: 18px 40px; }
.reserve-actions .btn:disabled { opacity: .6; cursor: progress; }
.reserve-privacy { margin: 0; color: var(--smoke); font-size: 14px; letter-spacing: .03em; }

.reserve-done { text-align: center; padding: 24px 0 8px; outline: none; }
.reserve-done-mark { color: var(--gold); font-size: 22px; }
.reserve-done-title {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 46px);
    color: var(--paper);
    margin: 14px 0 18px;
}
.reserve-done-body { font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--paper); max-width: 42ch; margin: 0 auto 14px; }
.reserve-done-note { color: var(--paper-dim); max-width: 52ch; margin: 0 auto 32px; }

/* Small "→ Google Maps" / "Book online" links inside visit cards */
.visit-block .visit-link { margin-top: 18px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.visit-block .visit-link a { color: var(--gold); }
.visit-block .visit-link a:hover { color: var(--paper); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ============== Social links ============== */
.social-links { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold);
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.social-links a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.social-links--footer { margin-top: 24px; }
.social-links--visit { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); justify-content: center; }
.footer-grid p a { color: var(--paper); }
.footer-grid p a:hover { color: var(--gold); }

/* ============== Header "Reserve" button ============== */
.nav a.nav-book {
    color: var(--ink);
    background: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 18px;
    font-weight: 600;
    margin-left: 6px;
    transition: background .2s ease, color .2s ease;
}
.nav a.nav-book:hover { background: transparent; color: var(--gold); }
.nav a.nav-book::after { display: none; }
@media (max-width: 1320px) and (min-width: 1181px) {
    .nav { gap: 24px; }
    .nav a.nav-book { padding: 7px 14px; }
}
@media (max-width: 1180px) {
    .nav a.nav-book { margin: 12px 0 0; padding: 14px 34px; }
}

/* ============== Captcha: Cloudflare Turnstile ============== */
.captcha { margin: 0; }
.captcha-widget { min-height: 65px; max-width: 420px; }   /* reserve the widget's height so the form doesn't jump */
.captcha-status { margin: 8px 0 0; min-height: 1.4em; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--paper-dim); }
.captcha-status:empty { min-height: 0; margin: 0; }
.captcha-status.is-error { color: #e2a3a3; }
.captcha.is-miss .captcha-widget { animation: captcha-shake .45s ease; }
@keyframes captcha-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-7px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}
@media (prefers-reduced-motion: reduce) { .captcha.is-miss .captcha-widget { animation: none; } }

/* Placement inside the two forms */
.reserve-contact .captcha { margin-top: 32px; }
.review-form .captcha { margin-bottom: 26px; }
