:root {
    --accent: #2457D6;
    --accent-ink: #163583;
    --accent-soft: #EEF2FC;
    --accent-line: #CBD7F6;
    --ink: #0F172A;
    --ink-2: #334155;
    --muted: #5B6678;
    --bg: #F6F8FB;
    --tint: #F6F8FB;
    --surface: #FFFFFF;
    --line: #E3E8EF;
    --line-2: #D3DAE4;
    --track: #E8EDF3;
    --star: #E8A317;
    --star-off: #D7DDE6;
    --ok: #157A3B;
    --warn: #8A5A00;
    --warn-soft: #FFF4DE;
    --ok-soft: #E6F5EC;
    --closed: #B42318;
    --closed-soft: #FDECEA;
    --footer: #0F172A;
    --footer-text: #CBD5E1;
    --footer-dim: #94A3B8;
    --shade: 15, 23, 42;
    --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1rem/1.6 var(--font-ui);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
::selection { background: var(--accent); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--line-2) transparent; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
    width: 1.15em; height: 1.15em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: 12px; top: -60px; z-index: 50;
    background: var(--ink); color: #FFFFFF; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; color: #FFFFFF; }
.skip:hover { color: #FFFFFF; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
@media (min-width: 1024px) { .wrap { padding-inline: 32px; } }

/* ---------- type ---------- */
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.55rem + 3.2vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.12; }
h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 0.85em; }
.rich ul { list-style: disc; padding-left: 1.25em; }
.rich li + li { margin-top: 0.35em; }
.rich { color: var(--ink-2); max-width: 72ch; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font: 600 1rem/1 var(--font-ui); text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-accent { background: var(--accent); color: #FFFFFF; box-shadow: 0 1px 2px rgba(var(--shade), 0.12), 0 8px 18px -10px rgba(var(--shade), 0.55); }
.btn-accent:hover { background: var(--accent-ink); color: #FFFFFF; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: var(--ink-2); color: #FFFFFF; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
    font: 700 1.25rem/1.2 var(--font-display); color: var(--ink); text-decoration: none;
    letter-spacing: -0.01em; margin-right: auto; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
/* the network's logo (config.yaml brand:), its height set on the img */
.brand-wrap { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand-logo { display: inline-flex; flex: none; }
.brand-logo img { display: block; width: auto; max-width: 180px; object-fit: contain; }
.main-nav { display: none; gap: 4px; align-items: center; }
.main-nav a {
    color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px;
    max-width: 16em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current] { background: var(--accent-soft); color: var(--accent-ink); }
.main-nav a.nav-cta { background: var(--accent); color: #FFFFFF; margin-left: 4px; }
.main-nav a.nav-cta:hover { background: var(--accent-ink); color: #FFFFFF; }
.header-call span { display: none; }
.header-call { padding: 0; width: 40px; }
@media (min-width: 720px) {
    .header-call span { display: inline; }
    .header-call { padding: 0 16px; width: auto; }
}
@media (min-width: 960px) { .main-nav { display: flex; } }

/* ---------- hero ---------- */
.hero { background: var(--tint); padding: 16px 0 36px; }
.crumbs {
    display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 0; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
    font-size: 0.875rem; color: var(--muted); margin-bottom: 18px;
}
.crumbs > * + *::before { content: "/"; margin: 0 9px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.hero-grid { display: grid; gap: 24px; }
.hero-text { min-width: 0; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.tag {
    display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-ink); font-size: 0.875rem; font-weight: 600;
}
.rating-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.rating-inline strong { font-variant-numeric: tabular-nums; }
.rating-inline .muted { font-size: 0.9375rem; }
.status {
    display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px;
    border-radius: 999px; font-size: 0.875rem; font-weight: 600;
    animation: status-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.is-open { background: var(--ok-soft); color: var(--ok); }
.is-closed { background: var(--closed-soft); color: var(--closed); }
@keyframes status-in { from { opacity: 0.4; transform: translateY(3px); } }
.hero h1 { margin-bottom: 12px; }
.hero-where { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; margin-bottom: 16px; }
.hero-where .i { color: var(--accent); }
.hero-lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 58ch; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero-actions .btn { flex: 0 0 auto; } }

.mosaic { position: relative; order: -1; margin-inline: -16px; }
.mosaic-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.mosaic-track::-webkit-scrollbar { display: none; }
.mosaic-track li { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--track); }
.mosaic-1 .mosaic-track li { flex-basis: 100%; }
.mosaic-track a, .mosaic-track img { display: block; width: 100%; height: 100%; }
.mosaic-track img { object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.mosaic-track a:hover img { transform: scale(1.03); }
.mosaic-count {
    position: absolute; left: 16px; bottom: 12px; min-height: 30px; padding: 4px 12px; border-radius: 999px;
    background: rgba(var(--shade), 0.78); color: #FFFFFF; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.mosaic-all {
    position: absolute; right: 16px; bottom: 12px;
    display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
    background: rgba(var(--shade), 0.78); color: #FFFFFF; border-radius: 999px;
    font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.mosaic-all:hover { background: var(--ink); color: #FFFFFF; }
.mosaic-all { display: none; }
.crumb-wide { display: none; }
@media (min-width: 960px) { .crumb-wide { display: inline; } }

@media (min-width: 960px) {
    .hero { padding: 24px 0 56px; }
    .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
    .hero-text-only .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
    .mosaic { order: 0; margin: 0; }
    .mosaic-track {
        display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px;
        padding: 0; overflow: visible; height: clamp(380px, 34vw, 500px);
    }
    .mosaic-track li { aspect-ratio: auto; border-radius: 18px; }
    .mosaic-count { display: none; }
    .mosaic-all { display: inline-flex; }
    .mosaic-track li:first-child { grid-row: 1 / 3; }
    .mosaic-track li:nth-child(n+4) { display: none; }
    .mosaic-1 .mosaic-track { grid-template-columns: 1fr; grid-template-rows: 1fr; }
    .mosaic-2 .mosaic-track { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
    .mosaic-2 .mosaic-track li:first-child { grid-row: auto; }
    .mosaic-all { right: 14px; bottom: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 6px 20px rgba(var(--shade), 0.18); }
    .mosaic-all:hover { background: var(--surface); color: var(--accent-ink); }
}

.hero-page { padding: 16px 0 40px; }
.hero-page h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); }
.hero-page .hero-lead { margin-bottom: 20px; }
.hero-page .hero-actions .btn { flex: 0 0 auto; }

/* ---------- section bar ---------- */
.subnav {
    position: sticky; top: 0; z-index: 20;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 6px 18px -14px rgba(var(--shade), 0.35);
}
.subnav-row { display: flex; align-items: center; gap: 16px; }
.subnav-links { display: flex; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a {
    flex: none; padding: 16px 14px; color: var(--muted); font-weight: 600; font-size: 0.9375rem;
    text-decoration: none; box-shadow: inset 0 -2px 0 transparent; transition: color 0.18s, box-shadow 0.18s;
}
.subnav-links a:hover { color: var(--ink); }
.subnav-links a.is-current { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.subnav-cta { display: none; }
@media (min-width: 960px) { .subnav-cta { display: inline-flex; } }

/* ---------- facts ---------- */
.facts-band { padding-top: 28px; }
.facts {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.facts > div { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.facts dt { font-size: 0.8125rem; font-weight: 500; color: var(--muted); }
.facts dd { font-weight: 600; color: var(--ink); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.fact-big { font: 700 1.75rem/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.facts dd.is-open-text { color: var(--ok); }
.facts > div:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 720px) {
    .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .facts > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 5vw + 24px, 88px); }
.bg-surface { background: var(--surface); }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-sub { color: var(--muted); font-size: 1.0625rem; margin-top: 10px; max-width: 62ch; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.head-row .section-head { margin-bottom: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.panel-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.badge-icon {
    display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none;
    border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink);
}
.sub-title { font-family: var(--font-display); font-size: 1.375rem; margin: 40px 0 16px; }
.empty-note { color: var(--muted); padding: 24px; border: 1px dashed var(--line-2); border-radius: 16px; text-align: center; }

/* about */
.about-grid { display: grid; gap: 32px; }
.about-lead { font: 600 clamp(1.15rem, 1rem + 0.5vw, 1.35rem)/1.5 var(--font-display); color: var(--ink); margin-bottom: 18px; }
.quick-list { display: grid; gap: 14px; }
.quick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); line-height: 1.45; }
.quick-list .i { color: var(--accent); margin-top: 2px; }
.quick-list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.quick-list a:hover { color: var(--accent-ink); text-decoration: underline; }
.quick-list strong { color: var(--ink); font-weight: 600; }
@media (min-width: 960px) {
    .about-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .quick { position: sticky; top: 76px; }
}

/* highlights */
.takes {
    display: grid; gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.take { background: var(--surface); padding: 24px 26px; }
.take h3 { font: 700 1.25rem/1.3 var(--font-display); letter-spacing: -0.01em; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.take-1 h3 { border-color: var(--ok); }
.take-2 h3 { border-color: var(--warn); }
.take-3 h3, .take-4 h3 { border-color: var(--accent); }
.take .rich { font-size: 0.975rem; }
@media (min-width: 860px) {
    .takes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .takes-3, .takes-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* dishes */
.dishes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: thin; }
.dish { flex: 0 0 68%; scroll-snap-align: start; }
.dish a { display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--track); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.dish a:hover img { transform: scale(1.04); }
.dish p { font-weight: 600; margin-top: 10px; line-height: 1.35; }
@media (min-width: 720px) {
    .dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 20px; overflow: visible; margin: 0; padding: 0; }
}

/* menus */
.menu-cols { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.menu-cat { font: 700 1.3rem/1.2 var(--font-display); padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.menu-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-name { font-weight: 600; }
.menu-price { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-ink); }
.menu-desc { flex-basis: 100%; color: var(--muted); font-size: 0.9375rem; }
.menu-intro { margin-bottom: 32px; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; padding-bottom: 2px; }
.menu-tabs a {
    flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2);
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem; background: var(--surface);
}
.menu-tabs a:hover { border-color: var(--ink); }
.menu-col { scroll-margin-top: 24px; }

/* amenities */
.amenity-groups { columns: 300px; column-gap: 20px; }
.amenity-group {
    break-inside: avoid; margin-bottom: 20px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
}
.amenity-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1.0625rem; }
.amenity-group li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--ink-2); line-height: 1.45; }
.amenity-group li .i { color: var(--ok); margin-top: 2px; }
@media (max-width: 719px) {
    .amenity-groups { columns: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 4px 20px; }
    .amenity-group { background: none; border: 0; border-radius: 0; padding: 16px 0; margin: 0; }
    .amenity-group + .amenity-group { border-top: 1px solid var(--line); }
    .amenity-group h3 { margin-bottom: 6px; }
    .amenity-group .badge-icon { width: 32px; height: 32px; border-radius: 10px; }
}
.more { margin-top: 16px; }
.more summary { list-style: none; width: max-content; max-width: 100%; }
.more summary::-webkit-details-marker { display: none; }
.more summary .i { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.more[open] summary { margin-bottom: 16px; }
.more[open] summary .i { transform: rotate(180deg); }

/* hours */
.hours-card { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.hours-status { padding: 18px 24px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hours-status span { white-space: nowrap; }
.hours-status strong { font: 700 1.35rem/1.2 var(--font-display); white-space: nowrap; }
.hours-status.is-open { background: var(--ok-soft); color: var(--ok); }
.hours-status.is-closed { background: var(--closed-soft); color: var(--closed); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 14px 24px; vertical-align: top; }
.hours th { text-align: left; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hours td { text-align: right; color: var(--ink); }
.hours tr.is-today { background: var(--accent-soft); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent-ink); font-weight: 700; }
.today-chip {
    display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px;
    background: var(--surface); color: var(--accent-ink); font-size: 0.6875rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px;
}
.hours-side { background: var(--tint); padding: 22px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.side-row { display: flex; gap: 14px; align-items: center; padding: 10px 0; color: var(--ink); text-decoration: none; }
.side-row small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 500; }
.side-row strong { display: block; font-weight: 600; line-height: 1.4; }
a.side-row:hover strong { color: var(--accent-ink); }
.side-links a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }
.side-links a:hover { color: var(--accent-ink); }
.side-actions { display: grid; gap: 10px; margin-top: 12px; }
.note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.875rem; margin-top: 14px; line-height: 1.5; }
.note .i { margin-top: 2px; }
@media (min-width: 900px) {
    .hours-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .hours-side { border-top: 0; border-left: 1px solid var(--line); padding: 28px; }
}

/* location */
.location-grid { display: grid; gap: 20px; align-items: start; }
.location-grid.no-map { max-width: 640px; }
.map { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--track); min-height: 320px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.location-card { display: flex; flex-direction: column; gap: 6px; }
.loc-label { color: var(--muted); font-size: 0.875rem; font-weight: 500; }
.loc-address { font: 600 1.3rem/1.4 var(--font-display); margin-bottom: 14px; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.loc-actions .btn { flex: 1 1 auto; }
.contact-rows { display: grid; gap: 8px; }
.contact-rows a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600;
    transition: border-color 0.18s;
}
.contact-rows a:hover { border-color: var(--ink); color: var(--ink); }
.contact-rows .badge-icon { width: 34px; height: 34px; border-radius: 10px; }
.chev { margin-left: auto; color: var(--muted); }
@media (min-width: 960px) {
    .location-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
    .map, .map iframe { min-height: 440px; }
}

/* photos */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
.gallery li { border-radius: 14px; overflow: hidden; background: var(--track); }
.gallery a, .gallery img { display: block; width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery a:hover img { transform: scale(1.04); }
.gallery-5 li:first-child, .gallery-3 li:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 720px) {
    .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 12px; }
    .gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 320px; }
    .gallery-3 { grid-template-columns: 2fr 1fr; }
    .gallery-3 li:first-child { grid-column: auto; }
    .gallery-4 { grid-auto-rows: 240px; }
}
.more-photos { margin-top: 20px; }
.more-photos summary { list-style: none; width: max-content; }
.more-photos summary::-webkit-details-marker { display: none; }
.more-photos[open] summary { margin-bottom: 12px; }
.gallery-more, .gallery-menu { grid-auto-rows: 160px; }
.gallery-more li:first-child, .gallery-menu li:first-child { grid-column: auto; grid-row: auto; }

/* reviews */
.review-summary { display: grid; gap: 16px; margin-bottom: 20px; }
.score-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.score-big { font: 700 3.5rem/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score-big span { font: 600 1.125rem var(--font-ui); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.distribution { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.dist-bars { display: grid; gap: 10px; }
.dist-bars li { display: grid; grid-template-columns: 44px 1fr 48px; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.dist-n { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.dist-n .i { width: 0.95em; height: 0.95em; color: var(--star); fill: var(--star); }
.bar { display: block; height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.dist-pct { text-align: right; color: var(--muted); font-size: 0.9375rem; }
.review-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.review-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-head strong { display: block; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-head .muted { font-size: 0.8125rem; }
.avatar {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-ink); font: 700 1.05rem var(--font-ui);
}
.review p { color: var(--ink-2); font-size: 0.975rem; overflow-wrap: anywhere; }
@media (min-width: 860px) { .review-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; } }

.stars {
    --r: 0;
    display: inline-block; width: 5.6em; height: 1em; flex: none; vertical-align: -0.12em;
    background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), var(--star-off) 0);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") 0 0 / 1.12em 1em repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5-4.8-4.6 6.6-.9z'/%3E%3C/svg%3E") 0 0 / 1.12em 1em repeat-x;
}
.stars-lg { font-size: 1.35rem; }

/* scores */
.score-grid { display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.score-grid li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; }
.score-grid .bar { grid-column: 1 / -1; }
.score-name { font-weight: 600; }
.score-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.score-max { color: var(--muted); font-weight: 500; font-size: 0.875em; }

/* faq */
.faq-wrap { max-width: 920px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.18s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); max-width: 72ch; }

/* booking, nearby, similar */
.partners { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.partner {
    display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px;
    border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none;
}
.partner:hover { border-color: var(--ink); color: var(--ink); }
.partner span { color: var(--accent-ink); font-weight: 600; }
.spots { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.spot {
    display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface);
    border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none;
}
.spot span { color: var(--muted); font-size: 0.9375rem; }
.spot-rating { display: inline-flex; align-items: center; gap: 8px; }
.places { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.place a {
    display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line);
    border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none;
    transition: box-shadow 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.place a:hover { color: var(--ink); box-shadow: 0 14px 30px -18px rgba(var(--shade), 0.45); transform: translateY(-2px); }
.place img, .place-blank { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.place img { background: var(--accent-soft); color: transparent; font-size: 0; }
.place img:not([hidden]) + .place-blank { display: none; }
.place-blank { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.place-blank .i { width: 2rem; height: 2rem; }
.place-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.place-body strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.place-body .muted { font-size: 0.9rem; line-height: 1.45; }
.place-distance { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-size: 0.875rem; font-weight: 600; margin-top: 4px; }

/* ---------- listing page (a city / category page, listing_builder.py) ---------- */
.hero-count { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; }
.hero-count .i { color: var(--accent); }
.listing-cover { margin: 0; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--accent-soft); }
.listing-cover img { width: 100%; height: 100%; object-fit: cover; }
.sort { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.sort select {
    appearance: none; min-height: 40px; padding: 0 38px 0 16px; cursor: pointer;
    border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font: 500 0.9375rem/1 var(--font-ui);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
}
.sort select:hover { border-color: var(--ink); }
.listing-places { margin: 0; padding: 0; list-style: none; }
.listing-places .place-body { flex: 1; }
.place-kind { color: var(--accent-ink); font-size: 0.875rem; font-weight: 600; }
.place-body .spot-rating { gap: 6px; font-size: 0.9375rem; }
.spot-rating b { font-weight: 700; font-variant-numeric: tabular-nums; }
.place-visit {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px;
    color: var(--accent-ink); font-size: 0.9375rem; font-weight: 600;
}
.place-visit .i { width: 1em; height: 1em; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.place a:hover .place-visit .i { transform: translateX(3px); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink);
    font-weight: 500; text-decoration: none;
}
.related-links a:hover { border-color: var(--ink); color: var(--ink); }
.related-links .i { width: 1em; height: 1em; color: var(--accent); }
.site-footer .footer-cta { color: #FFFFFF; font-weight: 600; }

/* ---------- main site (s10_mainsite.py) ---------- */
.ms-hero h1 { max-width: 16ch; }
.ms-search {
    display: flex; align-items: center; gap: 10px; max-width: 560px; margin-bottom: 18px;
    padding: 6px 6px 6px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px;
    box-shadow: 0 10px 30px -22px rgba(var(--shade), 0.5);
}
.ms-search:focus-within { border-color: var(--accent); }
.ms-search > .i { color: var(--muted); }
.ms-search input {
    flex: 1; min-width: 0; min-height: 40px; border: 0; background: none; outline: none;
    font: 500 1rem/1.2 var(--font-ui); color: var(--ink);
}
.ms-search input::placeholder { color: var(--muted); }
.ms-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.ms-quick a {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.875rem; font-weight: 500; text-decoration: none;
}
.ms-quick a:hover { border-color: var(--ink); color: var(--ink); }
.ms-head .ms-intro { margin-top: 14px; }
.ms-outro { margin-top: 28px; }
.ms-count { color: var(--muted); font-size: 0.875rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ms-features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.ms-feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.bg-surface .ms-feature, .bg-surface .ms-cat, .bg-surface .ms-step { background: var(--bg); }
.ms-feature h3 { margin: 14px 0 6px; font-size: 1.125rem; }
.ms-feature p, .ms-cat p, .ms-step p { color: var(--ink-2); font-size: 0.975rem; }
.ms-cats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.ms-cat { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.ms-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ms-cat-head h3 { font: 700 1.2rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.ms-cat-head a { color: var(--ink); text-decoration: none; }
.ms-cat-head a:hover { color: var(--accent-ink); text-decoration: underline; }
.ms-cat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.ms-cat-links a {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px;
    background: var(--accent-soft); color: var(--accent-ink); font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.ms-cat-links a:hover { background: var(--accent-line); }
.ms-cat-links .i { width: 0.95em; height: 0.95em; }
.ms-why { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; margin-top: 4px; }
.ms-geo { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
          grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.ms-geo li { display: flex; align-items: center; gap: 10px; background: var(--surface); padding: 16px 18px; min-width: 0; }
.ms-geo .i { color: var(--accent); }
.ms-geo-name { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-geo .ms-count { margin-left: auto; }
.ms-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: none; }
.ms-step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.ms-step-n {
    display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--ink); color: #FFFFFF; font: 700 1.1rem/1 var(--font-display);
}
.ms-step h3 { margin: 14px 0 6px; font-size: 1.125rem; }
.ms-updated { font-size: 0.9375rem; }
.ms-article { max-width: 760px; }
.ms-article h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); margin: 1.6em 0 0.5em; }
.ms-article h2:first-child { margin-top: 0; }
.ms-form-panel { max-width: 860px; padding: clamp(22px, 3vw, 36px); }
.ms-fields { display: grid; gap: 14px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-bottom: 18px; }
.ms-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.ms-field b { color: var(--closed); font-weight: 600; }
.ms-field-wide { grid-column: 1 / -1; }
.ms-field input, .ms-field textarea {
    width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px;
    background: var(--surface); color: var(--ink); font: 400 1rem/1.4 var(--font-ui);
}
.ms-field textarea { resize: vertical; min-height: 120px; }
.ms-field input:focus, .ms-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ms-consent { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 10px; }
.ms-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.ms-required-note { font-size: 0.875rem; margin-bottom: 18px; }
.ms-form-note { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; }
.ms-form-ok { background: var(--ok-soft); color: var(--ok); }
.ms-form-bad { background: var(--closed-soft); color: var(--closed); }
.ms-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 860px) {
    .footer-grid.ms-footer-grid { grid-template-columns: minmax(0, 2fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-text); padding: 56px 0 0; }
.footer-grid { display: grid; gap: 32px; }
.site-footer .brand { color: #FFFFFF; display: inline-block; margin-bottom: 8px; white-space: normal; }
.site-footer .brand-logo { display: flex; width: fit-content; margin-bottom: 12px; }
.site-footer p { margin-bottom: 6px; }
.site-footer a { color: var(--footer-text); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-title { font: 600 0.9375rem/1.3 var(--font-ui); color: #FFFFFF; margin-bottom: 12px; letter-spacing: 0; }
.footer-links { display: grid; gap: 6px; }
.social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-block: 18px; color: var(--footer-dim); }
.site-footer .footer-buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; margin: 14px 0 0; }
.site-footer .footer-buttons > span { width: 100%; color: #FFFFFF; font-weight: 600; }
.site-footer .footer-buttons .footer-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); color: #FFFFFF; font-size: 0.875rem;
}
.site-footer .footer-buttons .footer-btn:hover { background: rgba(255, 255, 255, 0.16); text-decoration: none; }
.site-footer .footer-buttons .footer-btn svg { width: 18px; height: 18px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- phone action bar ---------- */
.actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(var(--shade), 0.4);
}
.actionbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; border-radius: 14px; color: var(--ink); text-decoration: none;
    font-size: 0.8125rem; font-weight: 600;
}
.actionbar a .i { width: 1.35em; height: 1.35em; }
.actionbar a.is-primary { background: var(--accent); color: #FFFFFF; }
body:has(.actionbar) .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) {
    .actionbar { display: none; }
    body:has(.actionbar) .site-footer { padding-bottom: 0; }
}

/* ---------- photo viewer ---------- */
.viewer {
    width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
    background: transparent; color: #FFFFFF;
}
.viewer::backdrop { background: rgba(8, 12, 20, 0.92); }
.viewer[open] { display: grid; place-items: center; }
.viewer-frame { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 16px; }
.viewer-frame img { max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.viewer-count { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); font-weight: 600; font-variant-numeric: tabular-nums; }
.viewer-btn {
    position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, 0.14); color: #FFFFFF; cursor: pointer;
}
.viewer-btn:hover { background: rgba(255, 255, 255, 0.26); }
.viewer-close { top: 12px; right: 12px; }
.viewer-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer-next { right: 12px; top: 50%; transform: translateY(-50%); }

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