@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --sage-950: #29332d;
    --sage-800: #415047;
    --sage-700: #5f7266;
    --sage-500: #8a9b8f;
    --sage-300: #c9d3ca;
    --ivory-50: #f5f0e7;
    --ivory-100: #efe7d9;
    --taupe-300: #d4c3ad;
    --taupe-600: #94795e;
    --line: #d9cebd;
    --card: #fcf8f1;
    --text-strong: #2d2925;
    --text-soft: #5f554d;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text-strong);
    background:
        radial-gradient(1000px 420px at -5% -12%, rgba(143, 162, 149, 0.25) 0%, rgba(143, 162, 149, 0) 70%),
        radial-gradient(900px 430px at 110% -10%, rgba(182, 153, 122, 0.2) 0%, rgba(182, 153, 122, 0) 70%),
        linear-gradient(180deg, var(--ivory-50) 0%, #f9f4ec 100%);
    scroll-behavior: smooth;
}

.shell {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}

.qr-header {
    position: sticky;
    top: 0;
    z-index: 30;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(33, 43, 38, 0.96), rgba(82, 62, 46, 0.93)),
        radial-gradient(circle at top right, rgba(255, 234, 202, 0.08), transparent 28%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px rgba(23, 23, 19, 0.16);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.qr-header.is-collapsed {
    transform: translateY(calc(-100% + 10px));
    box-shadow: 0 8px 18px rgba(23, 23, 19, 0.08);
}

.grain-layer {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 0.6px, transparent 0.6px);
    background-size: 4px 4px;
    pointer-events: none;
}

.qr-header-inner {
    position: relative;
    padding: 18px 0 18px;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 16px;
    padding: 7px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand-title {
    margin: 0;
    color: #fbf7ef;
    font-size: 2.05rem;
    line-height: 1;
    letter-spacing: 0.02em;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

.brand-subtitle {
    margin: 5px 0 0;
    color: rgba(247, 238, 222, 0.84);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-story {
    margin-top: 14px;
    max-width: 720px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-story-kicker {
    margin: 0 0 5px;
    color: rgba(255, 229, 188, 0.9);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand-story-copy {
    margin: 0;
    color: rgba(248, 241, 228, 0.82);
    font-size: 0.9rem;
    line-height: 1.6;
}

.menu-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 26;
    margin-top: 0;
    background: linear-gradient(180deg, rgba(245, 240, 231, 0.96), rgba(245, 240, 231, 0.9));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(217, 206, 189, 0.72);
    box-shadow: 0 8px 20px rgba(71, 56, 43, 0.06);
}

.mobile-nav-summary {
    display: none;
}

.menu-utility-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

.print-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #6d7f72;
    border-radius: 6px;
    background: #415047;
    color: #fffaf2;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.print-menu-button:hover,
.print-menu-button:focus {
    background: #29332d;
    color: #fff;
}

.category-nav,
.beverage-submenu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar,
.beverage-submenu::-webkit-scrollbar {
    height: 5px;
}

.category-nav::-webkit-scrollbar-thumb,
.beverage-submenu::-webkit-scrollbar-thumb {
    background: #b9aa95;
    border-radius: 999px;
}

.category-chip,
.beverage-chip {
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s ease;
}

.category-chip {
    border: 1px solid #b7a995;
    background: rgba(255, 251, 245, 0.94);
    color: var(--sage-800);
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    box-shadow: 0 8px 18px rgba(93, 74, 56, 0.06);
}

.category-chip.is-active,
.category-chip:hover {
    background: var(--sage-800);
    border-color: var(--sage-800);
    color: #f8f2e8;
}

.category-chip-beverage {
    background: linear-gradient(135deg, #6a4e3b, #8a674f);
    border-color: #6a4e3b;
    color: #f9efe1;
}

.category-chip-beverage.is-active,
.category-chip-beverage:hover {
    background: linear-gradient(135deg, #4f3929, #6a4e3b);
    border-color: #4f3929;
    color: #fff8ef;
}

.beverage-submenu {
    margin-top: 0;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.18s ease, margin 0.18s ease;
}

.menu-nav-wrap.show-beverages .beverage-submenu {
    margin-top: 4px;
    padding-top: 2px;
    max-height: 72px;
    opacity: 1;
    pointer-events: auto;
}

.beverage-submenu-title {
    display: inline-flex;
    align-items: center;
    color: var(--taupe-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-right: 4px;
    padding-left: 2px;
}

.beverage-chip {
    border: 1px dashed #bca991;
    color: #694f36;
    background: rgba(255, 250, 242, 0.96);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beverage-chip.is-active,
.beverage-chip:hover {
    background: #6e5540;
    color: #f7efe1;
    border-color: #6e5540;
}

.menu-main {
    padding: 14px 0 46px;
}

.menu-category {
    margin: 36px 0 2px;
    scroll-margin-top: 92px;
}

.category-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.category-kicker {
    margin: 0;
    color: var(--taupe-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.category-title {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.15rem;
    letter-spacing: 0.2px;
    color: var(--sage-950);
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.beverage-master {
    margin-top: 34px;
}

.beverage-master-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 34px 28px;
    margin-bottom: 22px;
    border: 1px solid rgba(116, 84, 51, 0.24);
    background:
        radial-gradient(circle at top right, rgba(255, 244, 228, 0.92), transparent 34%),
        linear-gradient(135deg, rgba(111, 82, 58, 0.14), rgba(255, 250, 242, 0.98));
    box-shadow: 0 20px 48px rgba(86, 62, 41, 0.1);
}

.beverage-master-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--taupe-600);
}

.beverage-master-title {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.beverage-master-copy {
    margin: 0;
    max-width: 720px;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.65;
}

.beverage-subsection {
    margin-top: 18px;
}

.beverage-subsection-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(255, 251, 244, 0.9);
    border: 1px solid #e8dac5;
}

.beverage-subsection-head h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    color: #3b322c;
}

.beverage-subsection-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(148, 121, 94, 0.12);
    color: #6a4e3b;
    font-size: 0.82rem;
    font-weight: 800;
}

.beverage-subsection-label {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--taupe-600);
}

.beverage-grid {
    gap: 16px;
}

.beverage-card {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 241, 231, 0.98));
    border-color: #e4d5bf;
    box-shadow: 0 12px 30px rgba(92, 70, 49, 0.08);
}

.beverage-photo-wrap {
    background: linear-gradient(180deg, #eadcc7 0%, #e2d1b8 100%);
}

.beverage-badge {
    background: rgba(110, 85, 64, 0.92);
}

.food-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.food-card {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(251, 246, 238, 0.98) 100%);
    border: 1px solid #e2d5c3;
    box-shadow: 0 16px 34px rgba(67, 53, 40, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.food-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(67, 53, 40, 0.12);
    border-color: #d5c2a8;
}

.food-card-text-only {
    position: relative;
    overflow: visible;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(183, 161, 136, 0.42);
    background: transparent;
    box-shadow: none;
    padding-top: 4px;
}

.food-card-text-only:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(150, 125, 98, 0.56);
}

.food-card-text-only .food-content {
    padding: 18px 4px 10px;
}

.food-card-text-only .food-headline {
    gap: 18px;
    margin-bottom: 8px;
    align-items: baseline;
}

.food-card-text-only .food-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    line-height: 1.02;
    letter-spacing: 0.01em;
    color: #2b2622;
}

.food-card-text-only .food-price {
    align-self: baseline;
    padding-left: 18px;
    border-left: 1px solid rgba(140, 112, 86, 0.18);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.food-card-text-only .food-description {
    max-width: 58ch;
    min-height: 0;
    font-size: 0.92rem;
    line-height: 1.72;
    color: #6d6257;
}

.food-card-text-only {
    grid-column: 1 / -1;
}

.food-card-text-only .food-headline {
    grid-template-columns: minmax(0, 1fr) auto;
}

.food-photo-wrap {
    position: relative;
    background: linear-gradient(180deg, #eadfcf 0%, #e3d4c0 100%);
}

.food-photo {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.food-badge {
    position: absolute;
    left: 11px;
    top: 11px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f0f8f2;
    background: rgba(64, 90, 74, 0.9);
    border: 1px solid rgba(220, 234, 224, 0.5);
    padding: 5px 9px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.food-content {
    padding: 16px 16px 18px;
}

.food-headline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
}

.food-name {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.18;
    font-weight: 700;
    color: #322d29;
}

.food-description {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.62;
    min-height: 74px;
}

.food-price {
    margin: 0;
    color: #6b4d35;
    font-size: 1.08rem;
    font-weight: 800;
    white-space: nowrap;
}

.category-empty {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed #cebda6;
    background: rgba(251, 245, 236, 0.8);
    color: #6f6458;
    font-size: 0.95rem;
}

.global-empty {
    border-radius: 14px;
    border: 1px dashed #cbb99f;
    background: rgba(255, 251, 244, 0.78);
    padding: 15px;
}

.global-empty h2 {
    margin: 0;
    color: #3f362e;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
}

.global-empty p {
    margin: 6px 0 0;
    color: #6c5f52;
}

.qr-footer {
    margin-top: 14px;
    border-top: 1px solid #d8ccb9;
    background: linear-gradient(180deg, #f6f0e7 0%, #efe7da 100%);
}

.qr-footer-inner {
    text-align: center;
    padding: 17px 0 20px;
}

.footer-brand {
    margin: 0;
    color: #473d35;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    letter-spacing: 0.22px;
}

.footer-note {
    margin: 2px 0 0;
    color: #746759;
    font-size: 0.87rem;
}

@media (min-width: 700px) {
    .brand-title {
        font-size: 2.35rem;
    }

    .food-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .food-photo {
        height: 248px;
    }

    .beverage-subsection-head {
        padding: 18px 20px;
    }

    .food-card-text-only {
        grid-column: span 2;
    }

    .food-card-text-only .food-content {
        padding-right: 14px;
    }
}

@media (min-width: 1024px) {
    .food-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .menu-category {
        margin-top: 42px;
    }

    .category-title {
        font-size: 2.4rem;
    }

    .food-card-text-only {
        grid-column: span 1;
    }
}

@media (max-width: 720px) {
    .menu-utility-row {
        padding-top: 8px;
    }

    .print-menu-button {
        width: 100%;
        min-height: 44px;
    }

    .qr-header.is-collapsed {
        transform: translateY(calc(-100% + 6px));
    }

    .qr-header-inner {
        padding: 14px 0 12px;
    }

    .brand-wrap {
        align-items: flex-start;
        gap: 10px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        padding: 6px;
    }

    .brand-title {
        font-size: 1.45rem;
    }

    .brand-subtitle {
        margin-top: 4px;
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .brand-story {
        margin-top: 10px;
        padding-top: 10px;
    }

    .brand-story-kicker {
        margin-bottom: 4px;
        font-size: 0.66rem;
        letter-spacing: 0.15em;
    }

    .brand-story-copy {
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .menu-nav-wrap {
        top: 0;
        margin-top: 0;
        padding-top: 4px;
        background: linear-gradient(180deg, rgba(245, 240, 231, 0.96), rgba(245, 240, 231, 0.88));
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(217, 206, 189, 0.75);
    }

    .mobile-nav-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0 10px;
    }

    .mobile-nav-current {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-nav-label {
        font-size: 0.68rem;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: var(--taupe-600);
        font-weight: 800;
    }

    #mobileNavCurrentText {
        display: block;
        font-size: 0.95rem;
        color: #2f2a25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 58vw;
    }

    .mobile-nav-toggle {
        border: 1px solid #b7a995;
        background: rgba(255, 251, 245, 0.94);
        color: var(--sage-800);
        border-radius: 999px;
        padding: 9px 14px;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        box-shadow: 0 8px 18px rgba(93, 74, 56, 0.06);
    }

    .category-nav {
        display: none;
        flex-wrap: wrap;
        overflow: visible;
        gap: 10px;
        padding-top: 2px;
        padding-bottom: 10px;
    }

    .menu-nav-wrap.is-open .category-nav {
        display: flex;
    }

    .category-nav,
    .beverage-submenu {
        padding: 8px 0;
    }

    .menu-nav-wrap.is-open.show-beverages .beverage-submenu,
    .menu-nav-wrap.is-open .beverage-submenu {
        overflow: visible;
    }

    .menu-nav-wrap.show-beverages .beverage-submenu {
        max-height: 96px;
    }

    .menu-nav-wrap.is-open.show-beverages .beverage-submenu {
        max-height: 140px;
    }

    .category-chip {
        padding: 8px 12px;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
        white-space: normal;
    }

    .beverage-chip {
        padding: 7px 11px;
        font-size: 0.7rem;
    }

    .menu-main {
        padding-top: 12px;
    }

    .beverage-master-hero,
    .beverage-subsection-head {
        padding: 18px 16px;
    }

    .beverage-subsection-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .food-photo {
        height: 206px;
    }

    .food-headline {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .food-description {
        min-height: 0;
    }

    .food-card-text-only .food-headline {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .food-card-text-only .food-price {
        padding-left: 0;
        border-left: 0;
        font-size: 0.9rem;
    }

    .food-card-text-only .food-name {
        font-size: 1.45rem;
    }

    .food-card-text-only .food-content {
        padding-inline: 2px;
    }
}

@media (max-width: 768px) {
    .menu-utility-row {
        display: none;
    }
}
