:root {
    color-scheme: light;
    --bg: #f3eadf;
    --ink: #241910;
    --paper: #fffaf4;
    --line: #e4d3c1;
    --link: #7c2d12;
    --accent: #9a3412;
    --accent-soft: #f6e2d2;
    --gold: #c4a574;
    --alert: #8a1c1c;
    --ok: #0f5132;
    --muted: #5c5148;
    --shadow: 0 18px 40px rgba(56, 32, 16, 0.08);
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
    margin: 0;
    padding-right: 2.75rem;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 70% 42% at 0% -8%, #f6d7b8 0%, transparent 58%),
        radial-gradient(ellipse 50% 36% at 100% 0%, #ead8c6 0%, transparent 52%),
        var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 1.125rem;
    line-height: 1.55;
}

h1, h2, h3, .brand, .price {
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; margin: 0.15rem 0 0.6rem; }
h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.2; margin: 0 0 0.6rem; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.4rem; }

.shell {
    width: min(72rem, calc(100% - 2.5rem));
    margin-left: auto;
    margin-right: auto;
}

.skip {
    position: absolute;
    left: 1rem;
    top: 0;
    transform: translateY(-120%);
    background: var(--paper);
    color: var(--ink);
    padding: 0.75rem 1rem;
    z-index: 8;
    border-radius: 999px;
    box-shadow: var(--shadow);
}

.skip:focus { transform: none; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 250, 244, 0.88);
    border-bottom: 1px solid rgba(196, 165, 116, 0.45);
    backdrop-filter: blur(12px);
}

.header-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0.85rem 0;
}

.site-header nav { flex: 1 1 18rem; min-width: 0; max-width: 100%; }

.brand { margin: 0; font-size: 1.55rem; font-weight: 700; }
.brand a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.65rem; }
.brand a:hover { color: var(--accent); }

.mark,
.plate {
    display: inline-block;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, #fffaf4 0 38%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--gold) 0 62%, var(--accent) 63% 100%);
    box-shadow: inset 0 0 0 2px rgba(255, 250, 244, 0.7);
}

.site-header ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem; margin: 0; padding: 0; }
.site-header a,
.site-header button {
    min-height: 44px;
    margin: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    border: 1px solid transparent;
}
.site-header a { display: inline-flex; align-items: center; padding: 0.45rem 0.9rem; text-decoration: none; }
.site-header a:hover,
.site-header button:hover { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

main { padding: 2rem 0 3rem; }

a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    margin: 0.25rem 0.5rem 0.25rem 0;
    padding: 0.6rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fffaf4;
    font: inherit;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(154, 52, 18, 0.18);
    transition: transform 0.18s ease, background 0.18s ease;
}

a.button,
a.button:visited { color: #fffaf4; }

.button:hover,
button:hover { background: #7c2d12; transform: translateY(-1px); }

.button-quiet {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: none;
}

a.button-quiet,
a.button-quiet:visited { color: var(--accent); }

button.danger {
    background: transparent;
    color: var(--alert);
    border: 1px solid var(--alert);
    box-shadow: none;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.4rem; }
.row-actions form { margin: 0; }

label { display: block; margin-top: 1rem; font-weight: 600; }

input[type="text"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="file"],
textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #d9c6b2;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input[type="text"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="file"] { min-height: 48px; }

textarea { min-height: 9rem; }

input:focus,
textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(154, 52, 18, 0.12); }

.check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    font-weight: 600;
}

.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }

form { margin: 1rem 0 0; }

[role="alert"] { color: var(--alert); font-weight: 700; }
[role="status"] { color: var(--ok); font-weight: 700; }
[role="alert"]:empty { display: none; }

.fine,
.meta,
.day-label,
.eyebrow { color: var(--muted); }

.eyebrow {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lead { font-size: 1.2rem; max-width: 40rem; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0 0.5rem;
}

.hero-plate { display: grid; place-items: center; min-height: 16rem; }

.plate-large {
    width: min(18rem, 70vw);
    height: min(18rem, 70vw);
    box-shadow: var(--shadow), inset 0 0 0 10px rgba(255, 250, 244, 0.55);
}

.feature-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 0;
}

.feature-grid li,
.panel-card,
.menu-card,
.calendar-wrap,
.editor-item,
.dish,
.empty-state {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.feature-grid li { padding: 1.15rem 1.2rem 1.3rem; }
.panel-card { padding: 1.3rem 1.35rem 1.5rem; margin: 1.25rem 0; }
.panel-card.narrow,
.panel-card.narrow { max-width: 36rem; }

.day-hero { padding: 0.4rem 0 0.2rem; }
.day-label { margin-top: 0; font-size: 1.15rem; }

.dishes {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
    gap: 1.1rem;
    margin: 1.25rem 0 0;
    padding: 0;
}

.dish {
    display: grid;
    grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
    gap: 0.9rem;
    overflow: hidden;
    padding: 0.75rem;
    animation: rise 0.45s ease both;
}

.dish:nth-child(2) { animation-delay: 0.06s; }
.dish:nth-child(3) { animation-delay: 0.12s; }
.dish:nth-child(4) { animation-delay: 0.18s; }

.zoom {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    text-decoration: none;
    box-shadow: none;
}
.zoom:hover { text-decoration: none; color: inherit; }

.dish img,
.dish .zoom,
.dish .plate {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    margin: 0;
    object-fit: cover;
    border-radius: 16px;
}
.dish .zoom img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 16px;
}

.lightbox {
    width: min(72rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    margin: auto;
    padding: 3.4rem 0.8rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow);
}
.lightbox::backdrop { background: rgba(36, 25, 16, 0.72); }
.lightbox img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 7rem);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 16px;
}
.lightbox-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}
.lightbox-close:hover { transform: none; background: var(--accent-soft); color: var(--accent); }

.empty-state .plate {
    width: 7rem;
    height: 7rem;
    min-height: 0;
    margin: 0;
}

.dish-body { padding: 0.35rem 0.35rem 0.35rem 0; }
.dish-title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 0.8rem; align-items: baseline; }
.dish h2 { margin: 0; font-size: 1.55rem; }

.price {
    margin: 0;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
}

.description ul,
.description ol { padding-left: 1.25rem; }

.empty-state {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    text-align: center;
}


.archive-link { margin-top: 1.4rem; }

.share { margin: 0.9rem 0 0; }
.share-label {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.share-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
}
.share-actions a:hover { background: var(--accent-soft); color: var(--accent); }
.share-direct {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
    margin: 0.45rem 0 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}
.share-copy {
    min-height: 44px;
    margin: 0;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--accent);
    box-shadow: none;
}

.point-list { list-style: none; margin: 0; padding: 0; }
.point-list li {
    margin: 0.8rem 0;
    padding: 0.9rem 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.point-list a { font-weight: 700; }
.meta { display: block; }

.editor-items { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem; }
.editor-item { padding: 1rem 1.1rem 1.15rem; }

.tools { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.tools button {
    min-width: 2.75rem;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
    font-weight: 700;
}
.tools button b,
.tools button i { pointer-events: none; }
.tools button i { font-style: italic; }

.city-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}
.city-row input { flex: 1 1 16rem; margin-top: 0.35rem; }
.city-row button { margin: 0.35rem 0 0; }
.empty-note { font-size: 1.2rem; }

.seller-drawer {
    position: fixed;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}
.seller-tab,
.seller-panel { pointer-events: auto; }
.seller-tab {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    margin: 0;
    padding: 0.75rem 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    writing-mode: horizontal-tb;
}
.seller-tab:hover { transform: none; }
.seller-tab span {
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    font-weight: 700;
}
.seller-panel {
    position: absolute;
    top: 0;
    right: 2.75rem;
    bottom: 0;
    width: min(28rem, calc(100vw - 2.75rem));
    padding: 1.4rem 1.25rem 2rem;
    overflow: auto;
    background: var(--paper);
    box-shadow: -18px 0 40px rgba(56, 32, 16, 0.16);
    transform: translateX(calc(100% + 2.75rem));
    transition: transform 0.35s ease;
}
.seller-drawer.is-open .seller-panel { transform: translateX(0); }
.seller-panel .feature-grid { grid-template-columns: 1fr; margin-top: 1rem; }
.seller-panel .feature-grid h3 { margin-top: 0; font-size: 1.25rem; }

img { display: block; max-width: 100%; height: auto; margin: 0.75rem 0; border-radius: 16px; }
.editor-item .zoom { max-width: min(100%, 24rem); }
.editor-item img { width: 100%; max-height: 16rem; height: auto; object-fit: cover; }

.month-nav { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.calendar-wrap { overflow-x: auto; padding: 1rem; }

.calendar {
    width: 100%;
    min-width: 36rem;
    border-collapse: separate;
    border-spacing: 0.35rem;
    table-layout: fixed;
}

.calendar caption {
    margin-bottom: 0.75rem;
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    font-size: 1.6rem;
    text-align: left;
}

.calendar th,
.calendar td {
    border: 0;
    text-align: center;
    vertical-align: middle;
    height: 4.2rem;
    padding: 0.15rem;
    border-radius: 14px;
    background: #f7f1ea;
}

.calendar th { height: auto; background: transparent; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }

.calendar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 700;
    text-decoration: none;
    color: var(--accent);
}

.calendar .has-menu { background: var(--accent-soft); }
.is-today { box-shadow: inset 0 0 0 2px var(--accent); }

.today-mark { display: block; font-size: 0.75rem; font-weight: 700; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    margin-top: auto;
    padding: 0.4rem 0 1.2rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 1.5rem;
    align-items: start;
    border-top: 1px solid rgba(196, 165, 116, 0.4);
    padding-top: 0.85rem;
}

.legal { max-width: 46rem; }
.legal summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.legal p { margin: 0.2rem 0 0.6rem; }

[hidden] { display: none !important; }

@keyframes rise {
    from { transform: translateY(10px); }
    to { transform: none; }
}

@media (max-width: 52rem) {
    .shell { width: min(72rem, calc(100% - 1.25rem)); }
    .header-bar { display: block; }
    .site-header ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(8.2rem, 1fr));
        width: 100%;
        justify-content: stretch;
    }
    .site-header a,
    .site-header button {
        width: 100%;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
        white-space: normal;
    }
    .hero,
    .feature-grid { grid-template-columns: 1fr; }
    .hero-plate { min-height: 0; }
    .plate-large { width: 8rem; height: 8rem; }
    .dish { grid-template-columns: 1fr; }
    .city-row { align-items: stretch; }
    .city-row input,
    .city-row button { width: 100%; }
    .calendar { min-width: 22rem; border-spacing: 0.2rem; }
    main { padding-top: 1.25rem; }
}

@media (forced-colors: active) {
    :focus-visible { outline: 3px solid Highlight; }
    button,
    .button,
    input,
    textarea,
    .dish,
    .panel-card { border: 1px solid ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
