:root {
  --paper: #f3eadc;
  --paper-2: #e9dcc8;
  --cream: #fff8ee;
  --ink: #2a1810;
  --ink-soft: #5c4336;
  --espresso: #3b2218;
  --rust: #b85c38;
  --rust-deep: #8d3d20;
  --gold: #c9a36a;
  --sage: #5b6a48;
  --open: #24663a;
  --closed: #8a3f2e;
  --unknown: #6b5346;
  --line: rgba(42, 24, 16, 0.12);
  --shadow: 0 10px 30px rgba(42, 24, 16, 0.08);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(184, 92, 56, 0.08), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(201, 163, 106, 0.14), transparent 45%),
    var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--rust-deep); }
a:hover { color: var(--rust); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 234, 220, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--cream);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px var(--gold);
}
.brand-mark svg { width: 24px; height: 24px; fill: currentColor; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-text span { display: block; font-size: 0.75rem; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  padding: 6px 0;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.hero { padding: 36px 0 16px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rust-deep);
  margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 42rem; margin: 0 0 22px; }
.clock {
  font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 18px;
}
.filters {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}
.search {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.search:focus { outline: 2px solid var(--gold); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .select-wrap select {
  font: inherit; font-weight: 600; font-size: 0.92rem;
  border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  padding: 8px 14px; cursor: pointer;
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--espresso); color: var(--cream); border-color: var(--espresso);
}
.select-wrap select { cursor: pointer; }
.fine {
  margin: 0; font-size: 0.88rem; color: var(--ink-soft);
}
.results-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin: 22px 0 12px; flex-wrap: wrap;
}
.results-meta h2 { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.grid { display: grid; gap: 14px; padding-bottom: 48px; }
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(42,24,16,.12); }
.card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.town { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 999px; padding: 4px 9px;
  background: var(--paper-2); color: var(--unknown); white-space: nowrap;
}
.status.open { background: #e1f0e5; color: var(--open); }
.status.closed { background: #f6e3dd; color: var(--closed); }
.status.confirm { background: #f7ead0; color: #7a4e10; }
.status.call { background: #eee6dc; color: var(--unknown); }
.card h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0; line-height: 1.2; }
.kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--sage);
  background: rgba(91, 106, 72, 0.12);
  border-radius: 999px; padding: 3px 8px;
}
.hours-line { margin: 2px 0 0; font-weight: 600; color: var(--espresso); }
.muted { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.page { padding: 28px 0 64px; }
.page h1 { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.03em; }
.page h2 { font-family: var(--serif); font-size: 1.55rem; margin: 28px 0 10px; }
.page-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 42rem; }
.crumb { font-size: 0.9rem; margin: 0 0 14px; color: var(--ink-soft); }
.crumb a { color: inherit; }
.listing-hero {
  display: grid; gap: 18px; margin-bottom: 28px;
  grid-template-areas: "intro" "hours" "about";
}
.listing-intro { grid-area: intro; }
.listing-hero > .panel { grid-area: hours; }
.listing-about { grid-area: about; }
@media (min-width: 800px) {
  .listing-hero {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
    grid-template-areas: "intro hours" "about hours";
  }
}
.panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table th { text-align: left; font-weight: 400; color: var(--ink-soft); padding: 6px 8px 6px 0; width: 40%; }
.hours-table td { padding: 6px 0; font-weight: 600; }
.hours-table tr.is-today { background: rgba(201, 163, 106, 0.22); }
.hours-table tr.is-today th, .hours-table tr.is-today td { padding-left: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { font-weight: 600; text-decoration: none; }
.note {
  background: #f7ead0;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}
.note.alert { background: #f6e3dd; border-left-color: var(--closed); }
.callout {
  background: var(--espresso); color: var(--cream);
  border-radius: var(--radius); padding: 22px 22px;
  margin: 28px 0;
}
.callout a { color: var(--gold); }
.prose p, .prose li { max-width: 42rem; }
.prose ul { padding-left: 1.2rem; }
.form {
  display: grid; gap: 12px; max-width: 36rem;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.form textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn, button.btn, a.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700;
  background: var(--rust); color: #fff; border: 0;
  border-radius: 999px; padding: 12px 18px; cursor: pointer;
  text-decoration: none;
}
.btn:hover, a.btn:hover { background: var(--rust-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--espresso); border: 1.5px solid var(--espresso); }
.btn-secondary:hover { background: var(--espresso); color: var(--cream); }
.deals { display: grid; gap: 14px; }
@media (min-width: 720px) { .deals { grid-template-columns: 1fr 1fr; } }
.deal {
  border: 2px dashed var(--gold);
  background: repeating-linear-gradient(-45deg, #fff8ee, #fff8ee 12px, #f7ead0 12px, #f7ead0 24px);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}
.deal .ribbon {
  position: absolute; top: 12px; right: 12px;
  background: var(--espresso); color: var(--cream);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
}
.site-footer {
  background: var(--espresso); color: #f0e2d2;
  padding: 36px 0 28px; margin-top: auto;
}
.site-footer a { color: var(--gold); }
.footer-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 8px; color: #fff; }
.site-footer p, .site-footer li { color: #e4d3c2; font-size: 0.95rem; }
.sample-flag {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(240,226,210,.18);
  font-size: 0.92rem; color: #d7c4b2;
}
.empty { padding: 32px 8px; color: var(--ink-soft); }
.hidden { display: none !important; }
.illus {
  height: 120px; border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,163,106,.45), transparent 45%),
    linear-gradient(160deg, #3b2218, #8d3d20 70%);
  margin-bottom: 8px;
  position: relative; overflow: hidden;
}
.illus.breakfast {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,248,238,.3), transparent 40%),
    linear-gradient(160deg, #5b6a48, #3b2218 75%);
}
.steam {
  position: absolute; left: 50%; bottom: 28%;
  width: 8px; height: 40px;
  border-radius: 8px;
  background: rgba(255,248,238,.35);
  filter: blur(2px);
  animation: rise 3s ease-in-out infinite;
}
.steam:nth-child(2) { left: 42%; animation-delay: .6s; height: 32px; }
.steam:nth-child(3) { left: 58%; animation-delay: 1.1s; height: 36px; }
@keyframes rise {
  0%, 100% { transform: translateY(8px); opacity: .2; }
  50% { transform: translateY(-10px); opacity: .7; }
}
.study-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .study-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 719px) {
  .header-inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 0 12px; }
  .nav { width: 100%; justify-content: space-between; flex-wrap: nowrap; gap: 8px; }
  .nav a { font-size: 0.9rem; padding: 4px 0; }
  .brand-text span { letter-spacing: 0.03em; }
  .hero { padding: 22px 0 10px; }
  .hero h1 { margin-bottom: 10px; }
  .lede { font-size: 1.05rem; margin-bottom: 12px; }
  .clock { margin-bottom: 12px; }
  .filters { padding: 12px; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero h1 { max-width: 18ch; }
.featured-town { margin-top: 28px; }
.regions { margin: 8px 0 12px; display: grid; gap: 18px; }
.region-block h3, .region-section h2 { font-family: var(--serif); margin: 0 0 6px; }
.town-links { display: flex; flex-wrap: wrap; gap: 8px; }
.town-link {
  display: inline-block; text-decoration: none;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px;
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
}
.town-link:hover { border-color: var(--gold); }
.town-link-featured {
  background: var(--espresso); color: var(--cream); border-color: var(--espresso);
}
.town-link-featured:hover { color: #fff; }
.ad-slot {
  margin: 22px 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255,248,238,.55);
  padding: 10px;
  text-align: center;
}
.ad-slot.ad-sidebar { margin: 16px 0 0; }
.ad-label {
  display: block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px;
}
.ad-box { min-height: 90px; }
.article { max-width: 46rem; }
.guides-grid { padding-bottom: 24px; }
.region-section { margin-top: 28px; }

@media (max-width: 719px) {
  .nav { flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; }
}

/* Maps, counties, pricing, example featured card */
.filter-selects { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-selects .select-wrap select { min-width: 11rem; }
.map-frame { margin: 8px 0 22px; }
.leaflet-map {
  height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #e9dcc8;
  z-index: 1;
}
.map-compact .leaflet-map { height: 220px; }
.map-legend, .map-attrib { margin: 8px 0 0; font-size: 0.88rem; color: var(--ink-soft); }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.swatch {
  display: inline-block; width: 12px; height: 12px; border-radius: 50%;
  margin-right: 6px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(42,24,16,.2);
}
.swatch-coffee { background: #8d3d20; }
.swatch-breakfast { background: #5b6a48; }
.swatch-approx { background: #8d3d20; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #8d3d20; opacity: .7; }
.pin-wrap { background: none !important; border: none !important; }
.map-pin {
  display: block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #fff8ee; box-shadow: 0 1px 4px rgba(42,24,16,.35);
}
.map-pin.is-approx { border-style: dashed; opacity: .9; }
.map-pin.is-featured { width: 18px; height: 18px; border-color: #c9a36a; box-shadow: 0 0 0 2px #3b2218, 0 2px 6px rgba(42,24,16,.4); }
.leaflet-popup-content { font-family: var(--sans); font-size: 0.92rem; }
.leaflet-popup-content a { font-weight: 700; }
.badge-featured, .badge-example {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 999px; padding: 4px 8px;
  margin-right: 6px;
}
.badge-featured { background: var(--espresso); color: var(--gold); }
.badge-example { background: #7a4e10; color: #fff8ee; }
.card-example, .card-featured { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.example-feature { margin: 8px 0 28px; }
.example-feature-row { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .example-feature-row { grid-template-columns: minmax(260px, 360px) 1fr; align-items: start; }
}
.example-caption { margin: 0; }
.pricing {
  display: grid; gap: 14px; margin: 22px 0 28px;
  max-width: none;
}
@media (min-width: 860px) {
  .pricing { grid-template-columns: 1fr 1fr 1fr; }
}
.price-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow);
}
.price-col h3 { font-family: var(--serif); font-size: 2rem; margin: 0 0 4px; }
.price-unit { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.price-line { font-weight: 700; color: var(--espresso); margin: 0 0 10px; }
.price-col-mid { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.price-col-premium { background: #fff8ee; box-shadow: 0 0 0 2px var(--espresso), var(--shadow); }
.price-col ul { padding-left: 1.15rem; margin: 0 0 10px; }
@media (max-width: 719px) {
  .leaflet-map { height: 320px; }
  .map-compact .leaflet-map { height: 200px; }
  .nav { flex-wrap: wrap; }
}
