@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #261f19;
  --muted: #5d5145;
  --line: #d9cebc;
  --accent: #89552e;
  --gold: #ecc88a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ae622d; outline-offset: 4px; }
button, input, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(4rem, 9vw, 8.35rem); }
h2 { font-size: clamp(3.25rem, 5.5vw, 5.25rem); margin-bottom: .22em; }
h3 { font-size: 2.5rem; margin-bottom: .2em; }
.wide { width: min(100% - 6.5rem, 1280px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: .5rem; left: .5rem; background: white; padding: .5rem; }

.masthead { border-bottom: 1px solid #e6dbca; }
.masthead-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.3rem; }
.brand { font-family: var(--serif); text-decoration: none; font-size: 2.85rem; line-height: 1; letter-spacing: -.07em; width: fit-content; }
.brand span { color: #a05d33; }
.masthead nav { display: flex; gap: clamp(1rem, 3.6vw, 3.25rem); align-items: center; font-size: .92rem; font-weight: 650; }
.masthead nav a, .header-action, .text-link, .card-link { text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current], .header-action:hover, .text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.header-action { justify-self: end; font-size: .9rem; font-weight: 700; padding: .58rem .9rem; border: 1px solid #ac9279; }
.header-action span { margin-left: .4rem; color: var(--accent); }

.hero {
  background: linear-gradient(90deg, rgb(18 14 11 / .32), transparent 72%), #19150f url('/static/table.jpg') center 53%/cover no-repeat;
  color: #fff8e9;
}
.hero-content { min-height: 632px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 5.5rem 5rem; }
.eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.hero .eyebrow { color: var(--gold); margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: .2em; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-copy { color: #f2e4d1; font-size: 1.06rem; max-width: 25rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .65rem 1rem; border: 1px solid transparent; text-decoration: none; font-size: .88rem; font-weight: 700; cursor: pointer; }
.button-gold { background: var(--gold); color: #241b14; }
.button-ghost { color: #fff8e9; border-color: #bda88b; background: #231b168a; }
.button-dark { background: var(--ink); color: #fff8ed; }
.button:hover { filter: brightness(.9); }
.button-ghost:hover { background: #4b3928; }

.stats { background: #eee5d7; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.36rem; }
.stats-inner div { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .2rem .8rem; text-align: center; }
.stats-inner div + div { border-left: 1px solid #cdbfa9; }
.stats strong { font: 400 2.45rem/1 var(--serif); }
.stats span { font-size: .85rem; font-weight: 650; color: var(--muted); }

.editorial, .directory { padding-block: 4.45rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.3rem; margin-bottom: 1.9rem; }
.section-heading p:last-child, .atlas p:not(.eyebrow), .page-intro p:last-child { color: var(--muted); max-width: 36rem; margin-bottom: 0; }
.text-link { color: var(--accent); font-size: .92rem; font-weight: 700; }
.section-heading .text-link { flex: 0 0 auto; padding-bottom: .18rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-width: 0; min-height: 210px; padding: 1.35rem; border: 1px solid var(--line); background: #fffcf6; display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.stars { color: #895023; font: 1rem/1.05 Arial, sans-serif; letter-spacing: .13em; white-space: nowrap; }
.card .cuisine { color: var(--muted); font-size: .92rem; }
.card .price { white-space: nowrap; }
.card p { margin-bottom: .8rem; }
.card-link { margin-top: auto; align-self: flex-start; color: var(--accent); font-size: .84rem; font-weight: 700; padding-block: .25rem; }
.team { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: .65rem; row-gap: .15rem; margin: 0 0 1rem; font-size: .85rem; }
.team dt { color: var(--muted); }
.team dd { margin: 0; overflow-wrap: anywhere; }
.team a { text-underline-offset: .18em; }

.atlas { background: #eae0d0; border-block: 1px solid var(--line); }
.atlas-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: 3.75rem; }
.atlas .button { margin-top: 1.3rem; }
.atlas-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.atlas-links a, .state-grid a { display: flex; justify-content: space-between; align-items: center; gap: .7rem; text-decoration: none; border-bottom: 1px solid #cab79f; padding: .85rem .15rem; }
.atlas-links a { font-family: var(--serif); font-size: 1.8rem; }
.atlas-links a span, .state-grid a span:last-child { font: 600 .85rem/1 var(--sans); color: var(--accent); }
.atlas-links a:hover, .state-grid a:hover { color: var(--accent); background: #efe6d9; }

.page-intro { background: #efe6d8; padding-block: 3.2rem; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin-bottom: .15em; font-size: clamp(3.8rem, 7.4vw, 7rem); overflow-wrap: break-word; }
.page-intro .text-link { display: inline-block; margin-block: .6rem; }
.directory { min-height: 42vh; }
.filters, .atlas-filter { padding: 1rem; background: #f1eade; display: flex; align-items: end; gap: .8rem; margin-bottom: 1.5rem; border: 1px solid var(--line); }
.filters .search-field { flex: 1; }
.filters label, .atlas-filter label { font-size: .8rem; font-weight: 700; color: var(--muted); }
select, input { padding: .66rem .7rem; min-height: 47px; border: 1px solid #ae9a81; background: #fffdf8; color: var(--ink); border-radius: 0; }
.filters select, .filters input { display: block; width: 100%; margin-top: .25rem; font-size: .94rem; }
.atlas-filter { align-items: center; }
.atlas-filter select { min-width: 13rem; }
.results { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .9rem; }
.results p, .source-note { margin: 0; color: var(--muted); font-size: .9rem; }
.source-note { margin-top: 1.3rem; }
.source-note a { text-underline-offset: .18em; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: center; margin-top: 1.6rem; font-size: .9rem; }
.pagination :last-child { justify-self: end; }
.pagination a { font-weight: 700; color: var(--accent); }
.state-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 1.4rem; }
.state-grid a { font-size: 1rem; font-weight: 650; padding: .9rem .2rem; }
.city-list { padding-left: 2.15rem; }
.city-list li { border-bottom: 1px solid var(--line); padding-left: .4rem; }
.city-list li::marker { color: var(--accent); font-weight: 700; }
.city-list li a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; text-decoration: none; padding-block: .75rem; }
.city-list a:hover strong { text-decoration: underline; text-underline-offset: .22em; }
.city-list small { display: block; color: var(--muted); }
.city-summary { color: var(--accent); text-align: right; font-size: .84rem; }
.city-detail { margin-bottom: 2.85rem; }
.subheading { margin: 1.25rem 0 .75rem; }
.city-detail .card h3 { font-size: 2.15rem; }
.empty { background: #efe6d8; padding: 1.25rem; }
.empty h2 { font-size: 2.35rem; }
.empty p:last-child { margin-bottom: 0; }

.footer { background: #261d17; color: #f4e7d3; padding-block: 2.5rem; }
.footer .brand span { color: var(--gold); }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; }
.footer-main p { margin: .55rem 0 .65rem; }
.footer-note { max-width: 29rem; color: #dfd0b9; font-size: .86rem; }

@media (max-width: 900px) {
  .wide { width: calc(100% - 3.25rem); }
  .hero-content { min-height: 565px; }
  .hero-copy { max-width: 20rem; }
  .stats-inner div { flex-direction: column; gap: .22rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .state-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .wide { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 65px; grid-template-columns: 1fr auto; gap: .8rem; }
  .brand { font-size: 2.5rem; }
  .masthead nav { font-size: .78rem; gap: .7rem; }
  .header-action { display: none; }
  .hero { background: linear-gradient(90deg, rgb(18 14 11 / .86), rgb(18 14 11 / .33)), #19150f url('/static/table.jpg') 58% center/cover no-repeat; }
  .hero-content { min-height: 490px; padding-block: 3.55rem; }
  .hero h1 { font-size: clamp(4rem, 13vw, 6rem); }
  .hero-copy { max-width: 18.5rem; }
  .stats-inner { padding-block: .7rem; }
  .stats-inner div { padding-inline: .2rem; }
  .stats span { font-size: .67rem; }
  .stats strong { font-size: 1.8rem; }
  .editorial, .directory { padding-block: 2.6rem; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .card-grid, .atlas-inner { grid-template-columns: 1fr; }
  .atlas-inner { padding-block: 2.5rem; gap: 1.3rem; }
  .state-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .8rem; }
  .filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .search-field { grid-column: 1 / -1; }
  .atlas-filter { flex-wrap: wrap; }
  .atlas-filter label { width: 100%; }
  .atlas-filter select { flex: 1; min-width: 0; }
  .footer-main { flex-direction: column; gap: .8rem; }
}
