:root {
    color-scheme: light;
    --paper: #f8f5ec;
    --surface: #fffdf7;
    --surface-strong: #fffefa;
    --soft: #eee8d9;
    --line: #e1d8c7;
    --ink: #242821;
    --muted: #575d51;
    --brand: #a53322;
    --brand-dark: #7e2519;
    --accent: #ba4932;
    --herb: #345648;
    --editorial-cover: #263f33;
    --soft-shadow: 0 8px 28px rgba(44, 42, 30, .07);
    --shadow: 0 18px 42px rgba(44, 42, 30, .13);
    --ux-page: var(--paper);
    --ux-ink: var(--ink);
    --ux-accent: var(--brand);
    --ux-ease: cubic-bezier(.2,.8,.2,1);
    --ux-spring: cubic-bezier(.34,1.45,.64,1);
}

body { background: var(--paper); color: var(--ink); }
.eyebrow { color: var(--brand); }
.site-header { background: var(--paper); border-color: var(--line); box-shadow: none; }
.brand-mark, .app-install-mark { background: var(--brand); box-shadow: none; }
.brand strong { letter-spacing: -.04em; }
.gnb a { min-height: 44px; border-radius: 10px; }
.gnb a:hover, .gnb a[aria-current] { background: var(--soft); color: var(--brand-dark); }
.region-form { background: var(--surface); box-shadow: none; border-color: var(--line); }
.region-form .region-search-input, .region-form .region-group-select { min-height: 38px; }
.region-search-results { max-width: 100%; }
.site-footer { background: var(--editorial-cover); color: #fff7e7; border-color: transparent; }
.site-footer :is(a, strong, span) { color: #fff7e7; }

main > .section { scroll-margin-top: 132px; }
.section-head h2, .page-title h1, .detail-hero h1 {
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
}
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head .text-link { flex-shrink: 0; }
.text-link { color: var(--brand-dark); text-underline-offset: .25em; }
.text-link:hover { text-decoration: underline; }
.page-title::before { background: var(--soft); border-color: var(--line); }
.page-title h1 { font-size: clamp(32px, 5vw, 56px); }
.page-title p:not(.eyebrow) { color: var(--muted); }
.band, .discovery-section, .district-intro { border-color: var(--line); background: var(--surface); }
.chip { background: var(--surface); border-color: var(--line); color: var(--ink); min-height: 44px; }
.chip:hover { background: var(--soft); color: var(--brand-dark); }
.app-install-banner {
    background: var(--editorial-cover);
    border-color: transparent;
    box-shadow: none;
}
.app-install-copy :is(p, h2, .eyebrow) { color: #fff7e7; }
.btn.primary, .filter-search-button { background: var(--brand); color: #fff; box-shadow: none; }
.btn.primary:hover, .filter-search-button:hover { background: var(--brand-dark); }

.editorial-hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    min-height: 450px;
    margin-top: 26px;
    border-radius: 26px;
    overflow: hidden;
    background: var(--soft);
}
.editorial-hero-copy { min-width: 0; align-self: center; padding: clamp(22px, 4.5vw, 56px); }
.editorial-hero-copy .eyebrow { margin: 0 0 14px; }
.editorial-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5.2vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.075em;
    word-break: keep-all;
}
.editorial-hero-copy > p:not(.eyebrow) { margin: 18px 0 22px; color: var(--muted); word-break: keep-all; }
.editorial-search { display: flex; padding: 5px; gap: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-strong); }
.editorial-search input[type="search"] {
    min-width: 0;
    flex: 1;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-size: 16px;
}
.editorial-search button {
    flex: none;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    background: var(--editorial-cover);
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.editorial-cover { position: relative; min-width: 0; min-height: 260px; display: flex; align-items: end; background: var(--editorial-cover); isolation: isolate; }
.editorial-cover img, .editorial-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.editorial-cover img { object-fit: cover; }
.editorial-cover::after { content: ""; background: linear-gradient(180deg, transparent 36%, rgba(16, 21, 14, .91)); z-index: 0; }
.editorial-cover-caption { position: relative; z-index: 1; display: grid; gap: 6px; color: #fff; padding: 24px 82px 26px 26px; overflow-wrap: anywhere; }
.editorial-cover-caption small { font-size: 13px; font-weight: 650; }
.editorial-cover-caption strong { font-size: clamp(20px, 3vw, 38px); line-height: 1.13; letter-spacing: -.04em; }
.editorial-cover-arrow { position: absolute; z-index: 1; right: 20px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fffdf3; color: #242821; font-size: 22px; }
.editorial-cover:focus-visible { outline-offset: -5px; outline-color: #fff; }
.editorial-home .picks-hero::before { content: none; }
#today-picks { scroll-margin-top: 132px; }
.today-pick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pick-card, .curation-card, .restaurant-card, .district-guide-card, .district-restaurant-card,
.detail-card, .detail-hero-copy, .review-form, .review-item, .review-empty, .filter-panel {
    background: var(--surface-strong);
    border-color: var(--line);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
}
.pick-card:hover, .restaurant-card:hover, .curation-card:hover { border-color: #b28a6c; }
.pick-thumb { aspect-ratio: 4 / 3; }
.pick-body { align-content: start; }
.curation-visual { border-radius: 14px; }
.restaurant-card { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.restaurant-card-body { min-width: 0; overflow-wrap: anywhere; }
.restaurant-card-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.restaurant-quick-info { max-width: 100%; overflow-wrap: anywhere; }
.filter-field select, .filter-field input { min-height: 44px; font-size: 16px; }
.detail-hero h1, .detail-hero-copy p:not(.eyebrow) { color: var(--ink); }
.detail-hero-media { border-radius: 20px; }
.visit-info-grid > div { background: var(--surface); border-color: var(--line); }
.restaurant-list { row-gap: 0; }
.restaurant-list > .restaurant-card:not(:last-child) { margin-bottom: 12px; }
.restaurant-list > .adfit-slot[hidden] { display: none; }

:focus-visible, .pick-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Lucian #002 theme mapping and component, fitted to the home search column. */
.ux, .ux *, .ux *::before, .ux *::after { box-sizing: border-box; }
.ux { color: var(--ux-ink); font-family: inherit; -webkit-font-smoothing: antialiased; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; }
.ux :focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 3px; }
.u002 {
    --bg: var(--editorial-cover);
    --fg: #fff7e7;
    --blob: linear-gradient(135deg, #a53322, #93421e 60%, #3e6954);
    position: relative;
    display: grid;
    place-items: start;
    inline-size: fit-content;
    max-inline-size: 100%;
    margin-top: 14px;
    isolation: isolate;
}
.u002-mag { transition: translate .9s var(--ux-spring); }
.u002-btn {
    position: relative; display: flex; align-items: center; gap: 18px; height: 76px; padding: 0 10px 0 32px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
    box-shadow: 0 24px 40px -24px rgba(38, 63, 51, .6), 0 0 0 1px color-mix(in srgb, var(--fg) 8%, transparent);
    transition: transform .6s var(--ux-spring), box-shadow .6s var(--ux-ease);
}
.u002-btn:hover { box-shadow: 0 30px 52px -22px rgba(38, 63, 51, .7), 0 0 0 1px transparent; }
.u002-btn:active { transform: scale(.96); }
.u002-btn:focus-visible { outline: 2px solid var(--ux-accent); outline-offset: 5px; }
.u002-fill { position: absolute; inset: 0; z-index: -1; background: var(--blob); clip-path: circle(28px at calc(100% - 38px) 50%); transition: clip-path .8s var(--ux-ease); }
.u002-btn:hover .u002-fill, .u002-btn:focus-visible .u002-fill { clip-path: circle(160% at calc(100% - 38px) 50%); }
.u002-txt { position: relative; overflow: hidden; padding: 5px 0; font-size: 19px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; transition: translate .7s var(--ux-spring), color .5s var(--ux-ease); }
.u002-btn:hover .u002-txt { color: #fff; }
.u002-txt span { display: block; transition: transform .6s var(--ux-spring), opacity .35s var(--ux-ease); }
.u002-txt span + span { position: absolute; left: 0; top: 5px; transform: translateY(130%); opacity: 0; }
.u002[data-state="go"] .u002-txt span:first-child { transform: translateY(-130%); opacity: 0; }
.u002[data-state="go"] .u002-txt span + span { transform: none; opacity: 1; }
.u002-orb { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; overflow: hidden; flex: none; transition: translate .7s var(--ux-spring); }
.u002-orb svg { position: absolute; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.u002-orb svg:last-child { transform: translateX(-46px); }
.u002[data-state="go"] .u002-orb svg:first-child { animation: u002-out .55s var(--ux-ease) forwards; }
.u002[data-state="go"] .u002-orb svg:last-child { animation: u002-in .6s var(--ux-spring) .28s forwards; }
@keyframes u002-out { to { transform: translateX(46px); } }
@keyframes u002-in { to { transform: none; } }
.u002-glow { position: absolute; left: 50%; top: 50%; width: min(300px, 100%); height: 110px; translate: -50% -40px; border-radius: 50%; background: var(--blob); filter: blur(36px); opacity: 0; z-index: -1; transition: opacity .7s var(--ux-ease); }
.u002:hover .u002-glow { opacity: .45; }

@media (max-width: 860px) {
    .gnb { justify-content: space-between; gap: 4px; }
    .gnb a { justify-content: center; flex: 1 1 auto; min-height: 44px; padding-inline: 6px; }
    .editorial-hero { min-height: 0; }
    .today-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 640px) {
    .editorial-hero { grid-template-columns: minmax(0, 1fr); margin-top: 14px; border-radius: 20px; }
    .editorial-hero-copy { padding: 22px 18px; }
    .editorial-cover { min-height: 0; aspect-ratio: 4 / 3; }
    .editorial-cover-caption { padding: 14px 66px 16px 16px; }
    .editorial-cover-arrow { right: 14px; bottom: 14px; }
    .section-head { flex-wrap: wrap; align-items: baseline; }
    .section-head > div { min-width: 0; }
    .restaurant-card { grid-template-columns: minmax(0, 29%) minmax(0, 1fr); }
    .filter-panel { padding: 12px; }
    .filter-field { flex-basis: calc(50% - 6px); }
    .filter-field-search { flex-basis: 68%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ux, .ux *, .ux *::before, .ux *::after, .pick-card, .restaurant-card, .curation-visual {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

.collection-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    margin-top: 24px;
    border-radius: 24px;
    padding: clamp(24px, 5vw, 58px);
    background: var(--editorial-cover);
    color: #fff9ed;
}
.collection-copy { min-width: 0; max-width: 660px; }
.collection-copy .eyebrow { color: #ffe0ac; margin: 0 0 12px; }
.collection-copy h1 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 66px);
    line-height: 1.08;
    letter-spacing: -.06em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.collection-copy > p:not(.eyebrow) { max-width: 54ch; margin: 16px 0 0; color: #f4e9d6; line-height: 1.65; }
.collection-links { display: flex; flex-wrap: wrap; gap: 8px; }
.collection-links a, .detail-jumps a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 750;
}
.collection-links a { background: #f8f0dd; color: #263f33; }
.collection-links a:hover { background: #fffaf1; }
.collection-hero a:focus-visible { outline-color: #ffe0ac; }
.collection-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 10px; color: #fff9ed; font-weight: 750; }
.themes-hero { background: #793a2b; }
.themes-hero .u002 { margin: 0; }
.neighborhood-hero { background: #354d3d; }
.theme-hero { align-items: stretch; grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden; }
.theme-hero:has(.theme-hero-photo) { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 0; }
.theme-hero .collection-copy { padding: clamp(22px, 4vw, 44px); }
.theme-hero .collection-links { margin-top: 18px; }
.theme-hero-photo { display: block; align-self: stretch; width: 100%; height: 100%; min-height: 250px; object-fit: cover; }

#browse-filters, .detail-page :is(#restaurant-story, #restaurant-location, #restaurant-hours) { scroll-margin-top: 132px; }
.browse-page .list-layout { padding-top: 24px; }
.browse-page .list-filter-bar { padding: 18px; }
.browse-page .list-toolbar { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
.browse-page .list-toolbar h2 { margin: 0 6px 0 0; color: var(--ink); font-size: clamp(22px, 3vw, 32px); }
.browse-page .list-toolbar .result-total { color: var(--herb); background: var(--soft); border-radius: 999px; padding: 5px 12px; }
.browse-page .list-toolbar [data-list-count] { color: inherit; font-size: inherit; }
:is(.browse-page, .theme-page) .restaurant-card { overflow: hidden; padding: 0; gap: 0; }
:is(.browse-page, .theme-page) .restaurant-card > .restaurant-thumb {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
}
:is(.browse-page, .theme-page) .restaurant-thumb > img { position: absolute; inset: 0; }
img[src^="/uploads/restaurants/restaurant-auto-original-"] { object-fit: contain !important; }
@media (max-width: 420px) {
    .site-header .gnb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .site-header .gnb a { min-width: 0; padding-inline: 3px; text-align: center; white-space: normal; word-break: keep-all; }
}
:is(.browse-page, .theme-page) .restaurant-card-body { padding: 14px; align-content: start; }
:is(.browse-page, .theme-page) .restaurant-card h3 { font-size: clamp(17px, 2vw, 23px); line-height: 1.25; letter-spacing: -.035em; }
:is(.browse-page, .theme-page) .restaurant-quick-info {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
:is(.browse-page, .theme-page) .restaurant-card:not([href]) { display: block; grid-column: 1 / -1; padding: 18px; }

.detail-page .detail-hero-rich { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: stretch; }
.detail-page .detail-hero-media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.detail-page .detail-hero-copy { grid-column: 2; grid-row: 1; min-height: 0; padding: clamp(20px, 3vw, 34px); background: var(--soft); }
.detail-page .detail-hero-copy h1 { font-size: clamp(33px, 4.6vw, 58px); }
.detail-jumps { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-jumps a { background: var(--surface); color: var(--brand-dark); border: 1px solid var(--line); }
.detail-jumps a:hover { background: var(--paper); }
.restaurant-story {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(16px, 4vw, 46px);
    align-items: start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 38px);
}
.restaurant-story-copy:only-child { grid-column: 1 / -1; }
.restaurant-story h2, .visit-info-section h2 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 34px); letter-spacing: -.04em; }
.restaurant-story p { margin: 0; white-space: normal; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.restaurant-story .editor-recommendation { margin: 0; }
.detail-page .visit-info-section { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 3vw, 30px); }

.theme-lead-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.theme-lead-card .curation-hub-body { align-content: center; padding: clamp(18px, 4vw, 44px); }
.theme-lead-card .curation-hub-body h3 { font-size: clamp(24px, 4vw, 44px); line-height: 1.15; letter-spacing: -.04em; }
.theme-lead-card .curation-hub-visual { height: 100%; }
.region-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.region-directory-panel { padding: clamp(16px, 3vw, 26px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.region-directory-panel h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.035em; }
.region-directory-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.region-directory-links a { display: flex; justify-content: space-between; align-items: center; gap: 5px; min-height: 44px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.region-directory-links a:hover { background: var(--soft); }
.region-directory-links a span { color: var(--brand); }
.site-footer .footer-inner { padding-block: 32px; gap: 20px; }
.site-footer .footer-brand strong { font-size: 25px; letter-spacing: -.045em; }
.site-footer .footer-nav { gap: 4px 14px; }
.site-footer .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-nav a:focus-visible { outline-color: #ffe0ac; }

@media (min-width: 861px) {
    .browse-page .restaurant-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; }
    .theme-page .restaurant-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
    :is(.browse-page, .theme-page) .restaurant-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; margin-bottom: 14px; }
    :is(.browse-page, .theme-page) .restaurant-thumb { aspect-ratio: 16 / 9; }
}
@media (max-width: 860px) {
    .collection-hero, .theme-hero:has(.theme-hero-photo) { grid-template-columns: minmax(0, 1fr); }
    .theme-hero-photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .detail-page .detail-hero-rich { grid-template-columns: minmax(0, 1fr); }
    .detail-page .detail-hero-media, .detail-page .detail-hero-copy { grid-column: 1; grid-row: auto; }
    .detail-page .detail-hero-media { order: -1; }
    .restaurant-story, .region-directory { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .collection-hero { margin-top: 14px; border-radius: 18px; gap: 16px; }
    .theme-hero:has(.theme-hero-photo) { gap: 0; }
    .theme-lead-card { grid-template-columns: minmax(0, 1fr); }
    .theme-lead-card .curation-hub-visual { height: auto; }
    :is(.browse-page, .theme-page) .restaurant-card-body { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .curation-hub-card, .curation-hub-visual img { transition: none; }
}
