:root {
    color-scheme: light;
    --ink: #202124;
    --muted: #62656a;
    --line: #ded8cf;
    --paper: #fbfaf7;
    --panel: #ffffff;
    --accent: #b6462f;
    --accent-dark: #88311f;
    --leaf: #3c6b4b;
    --shadow: 0 18px 45px rgba(32, 33, 36, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 5vw, 72px);
    background: rgba(251, 250, 247, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    object-fit: contain;
}

.brand span {
    line-height: 1.1;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
}

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

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    min-height: calc(100vh - 68px);
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero-copy {
    max-width: 680px;
}

.hero-logo {
    width: clamp(72px, 12vw, 120px);
    height: clamp(72px, 12vw, 120px);
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: contain;
}

.eyebrow,
.dish-label {
    margin: 0 0 10px;
    color: var(--leaf);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.7rem, 8vw, 6.25rem);
    line-height: 0.95;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

h3 {
    margin-bottom: 8px;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.1rem;
}

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

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none;
}

.button.primary {
    background: var(--accent);
    color: #fff;
}

.button.secondary {
    color: var(--accent-dark);
}

.hero-media {
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
    background: #2f3d32;
    box-shadow: var(--shadow);
}

.hero-media img,
.hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-placeholder {
    display: grid;
    place-items: center;
    padding: 36px;
    color: #fff;
    background:
        linear-gradient(rgba(32, 33, 36, 0.14), rgba(32, 33, 36, 0.32)),
        url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80") center/cover;
    font-size: 1.4rem;
    font-weight: 800;
}

.section {
    padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.photo-section {
    padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
    background: #f3eee7;
}

.order-online-section {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 0.7fr) minmax(180px, 0.8fr);
    align-items: center;
    gap: clamp(18px, 4vw, 40px);
    padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 72px);
    background: var(--ink);
}

.order-online-copy {
    display: grid;
    justify-items: center;
    text-align: center;
    color: #fff;
}

.order-online-copy .eyebrow {
    color: #ffcf7a;
}

.order-online-copy h2 {
    margin-bottom: 20px;
}

.order-online-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.order-online-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 14px 28px;
    background: #ffcf7a;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
}

.order-online-button:hover {
    background: #ffd994;
}

.group-reservation-section {
    position: relative;
    display: grid;
    min-height: 560px;
    align-items: center;
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 207, 122, 0.16), transparent 22rem),
        linear-gradient(135deg, #201f1c, #384538);
    color: #fff;
    overflow: hidden;
}

.group-reservation-section.has-group-reservation-background {
    background-position: center;
    background-size: cover;
}

.group-reservation-section::after {
    position: absolute;
    inset: auto clamp(20px, 5vw, 72px) 34px auto;
    width: min(36vw, 420px);
    height: 1px;
    background: rgba(255, 207, 122, 0.72);
    content: "";
}

.group-reservation-copy {
    position: relative;
    max-width: 620px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: clamp(28px, 5vw, 48px);
    background: rgba(32, 33, 36, 0.44);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.group-reservation-copy .eyebrow {
    color: #ffcf7a;
}

.group-reservation-copy h2 {
    max-width: 520px;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    letter-spacing: 0;
}

.group-reservation-copy p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.group-reservation-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffcf7a;
    border-radius: 6px;
    padding: 14px 28px;
    background: #ffcf7a;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.group-reservation-button:hover {
    background: #ffd994;
    transform: translateY(-1px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.accent {
    background: #f3eee7;
}

.reviews-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.reviews-section.has-review-background {
    background:
        linear-gradient(rgba(32, 33, 36, 0.68), rgba(32, 33, 36, 0.72)),
        var(--reviews-bg) center/cover;
    color: #fff;
}

.reviews-section.has-review-background .eyebrow {
    color: #ffcf7a;
}

.reviews-section.has-review-background .empty-state {
    color: rgba(255, 255, 255, 0.78);
}

.photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: 220px;
    gap: 16px;
}

.photo-tile {
    position: relative;
    min-height: 220px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #2f3d32;
    box-shadow: var(--shadow);
}

.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-photo {
    grid-row: span 2;
}

.photo-tile figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 6px;
    padding: 8px 10px;
    background: rgba(32, 33, 36, 0.72);
    color: #fff;
    font-weight: 700;
}

.photo-placeholder {
    display: grid;
    min-height: 280px;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
}

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

.recommendation-strip {
    display: grid;
    grid-auto-columns: minmax(260px, 340px);
    grid-auto-flow: column;
    gap: 18px;
    margin-inline: calc(clamp(20px, 5vw, 72px) * -1);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 clamp(20px, 5vw, 72px) 14px;
    scroll-padding-inline: clamp(20px, 5vw, 72px);
    scrollbar-width: none;
}

.recommendation-strip::-webkit-scrollbar {
    display: none;
}

.recommendation-strip .menu-card {
    min-width: 0;
}

.item-grid.compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu-card,
.event-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.menu-card {
    overflow: hidden;
}

.menu-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.menu-card-body {
    padding: 18px;
}

.menu-card-body p:not(.dish-label),
.event-card p {
    color: var(--muted);
}

.price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    color: var(--accent-dark);
    font-weight: 800;
}

.old-price {
    color: var(--muted);
    font-weight: 600;
    text-decoration: line-through;
}

.event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: start;
    gap: 18px;
}

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

.event-calendar {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.event-calendar-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.event-calendar-header h3 {
    margin-bottom: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendar-weekday {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day {
    display: grid;
    min-width: 0;
    min-height: 74px;
    align-content: start;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
}

.calendar-day-button {
    cursor: pointer;
}

.calendar-day-button:hover,
.calendar-day-button:focus-visible {
    border-color: var(--accent);
    outline: none;
    box-shadow: inset 0 0 0 1px var(--accent);
}

.calendar-day > span {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.calendar-day.muted-day {
    background: #f7f4ef;
    opacity: 0.48;
}

.calendar-day.today {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.calendar-day.has-events {
    background: #fff8e8;
}

.calendar-events {
    display: grid;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.calendar-events small {
    display: -webkit-box;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 4px;
    padding: 3px 5px;
    background: var(--leaf);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: none;
    place-items: center;
    padding: 20px;
}

.event-modal.is-open {
    display: grid;
}

.event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 33, 36, 0.58);
    backdrop-filter: blur(4px);
}

.event-modal-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    border-radius: 8px;
    padding: 28px;
    background: var(--panel);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.event-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.event-modal-content {
    display: grid;
    gap: 16px;
}

.event-modal-content h3 {
    margin: 0 40px 4px 0;
    font-size: 1.65rem;
}

.event-modal-content article {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.event-modal-content h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.event-modal-content p {
    margin-bottom: 6px;
    color: var(--muted);
}

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

.review-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.has-review-background .review-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: #b6462f;
    font-weight: 800;
}

.empty-star {
    color: var(--line);
}

.review-card blockquote {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 1.05rem;
}

.review-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.event-card {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    overflow: hidden;
}

.event-card.has-event-image {
    min-height: 260px;
    align-items: end;
    background:
        linear-gradient(rgba(32, 33, 36, 0.18), rgba(32, 33, 36, 0.76)),
        var(--event-bg) center/cover;
    color: #fff;
}

.event-card.has-event-image p {
    color: rgba(255, 255, 255, 0.82);
}

.event-card time {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 6px;
    background: var(--leaf);
    color: #fff;
    font-weight: 800;
}

.event-card.has-event-image time {
    background: rgba(32, 33, 36, 0.72);
}

.contact-section {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 32px;
    background: var(--ink);
    color: #fff;
}

.contact-section .eyebrow,
.contact-section a {
    color: #ffcf7a;
}

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

.restaurant-detail-page {
    background: #fffdf8;
}

.restaurant-detail-header {
    background: rgba(255, 253, 248, 0.94);
}

.restaurant-detail {
    display: grid;
    gap: 0;
}

.restaurant-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
    min-height: calc(100vh - 70px);
    align-items: stretch;
}

.restaurant-detail-copy {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 8vw, 108px) clamp(20px, 6vw, 84px);
}

.restaurant-detail-logo {
    width: clamp(72px, 10vw, 112px);
    height: clamp(72px, 10vw, 112px);
    margin-bottom: 22px;
    border-radius: 8px;
    object-fit: contain;
}

.restaurant-detail-copy h1 {
    max-width: 740px;
    margin-bottom: 22px;
}

.restaurant-detail-copy p:not(.eyebrow) {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.restaurant-detail-media {
    min-height: 520px;
    background: #2f3d32;
}

.restaurant-detail-media img,
.restaurant-detail-media .hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.restaurant-location-section {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 84px);
    background: var(--paper);
}

.restaurant-location-copy {
    display: grid;
    justify-items: start;
}

.restaurant-location-copy h2 {
    margin-bottom: 18px;
}

.restaurant-address {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 1.08rem;
}

.restaurant-map {
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.restaurant-map iframe,
.restaurant-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
}

.restaurant-map-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero,
    .order-online-section,
    .contact-section,
    .restaurant-detail-hero,
    .restaurant-location-section {
        grid-template-columns: 1fr;
    }

    .restaurant-detail-media {
        order: -1;
    }

    .photo-grid,
    .item-grid.compact,
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-layout {
        grid-template-columns: 1fr;
    }

    .featured-photo {
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        padding-top: 36px;
    }

    .hero-media,
    .hero-media img,
    .hero-placeholder,
    .restaurant-detail-media,
    .restaurant-detail-media img,
    .restaurant-detail-media .hero-placeholder {
        min-height: 280px;
    }

    .restaurant-detail-copy {
        min-height: auto;
        padding-top: 36px;
    }

    .restaurant-map,
    .restaurant-map iframe,
    .restaurant-map-placeholder {
        min-height: 320px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .photo-grid,
    .item-grid.compact,
    .review-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .event-list {
        grid-template-columns: 1fr;
    }

    .event-calendar {
        padding: 14px;
    }

    .calendar-day {
        min-height: 54px;
        padding: 6px;
    }

    .calendar-events small {
        font-size: 0;
        width: 7px;
        height: 7px;
        padding: 0;
        border-radius: 999px;
    }

    .photo-grid {
        grid-auto-rows: 240px;
    }

    .event-card {
        grid-template-columns: 1fr;
    }
}
