/* ==========================================================================
   Organic Eats — visual identity (dining-guide / menu-board)
   Warm tomato + charcoal + citrus on warm white. Syne + Plus Jakarta Sans.
   Not related to Omit Goods.
   ========================================================================== */

:root {
  --bg: #FFF7F0;
  --bg-deep: #F6E8DA;
  --surface: #FFFFFF;
  --ink: #1C1917;
  --ink-soft: #5C534C;
  --ink-faint: #8A8178;
  --line: #EAD9C8;
  --line-strong: #D4BFA9;
  --tomato: #C7342A;
  --tomato-deep: #9E241C;
  --tomato-soft: #F8E4E1;
  --terracotta: #D45A3A;
  --citrus: #F5C518;
  --citrus-ink: #5A4700;
  --herb: #2F7A4A;
  --herb-soft: #E4F0E8;
  --water: #1F6F8B;
  --water-soft: #E0F0F5;
  --charcoal: #1C1917;
  --focus: #C7342A;
  --warn-bg: #FFF1D6;
  --warn-ink: #6B4E00;

  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, .08);
  --shadow-lg: 0 18px 48px rgba(28, 25, 23, .12);
  --header-h: 68px;
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 36px);
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--tomato-deep); text-underline-offset: 3px; }
a:hover { color: var(--tomato); }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em; margin: 0 0 12px; color: var(--ink);
}
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 1.15em; }
::selection { background: var(--citrus); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--tomato); color: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 760px; }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-clay { background: var(--bg-deep); }
.section-ink { background: var(--charcoal); color: #fff; }
.section-ink h2, .section-ink h3, .section-ink .eyebrow { color: #fff; }
.section-ink p, .section-ink .lede { color: rgba(255,255,255,.78); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tomato);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--citrus); border-radius: 2px; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
@media (max-width: 699.98px) { .br-desktop { display: none; } }

/* Buttons */
.btn {
  --btn-bg: var(--tomato); --btn-ink: #fff; --btn-border: var(--tomato);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--btn-border);
  background: var(--btn-bg); color: var(--btn-ink); font: 700 .95rem var(--font-sans);
  text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s;
}
.btn:hover { --btn-bg: var(--tomato-deep); --btn-border: var(--tomato-deep); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-secondary { --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: var(--ink); }
.btn-secondary:hover { --btn-bg: var(--ink); --btn-ink: #fff; --btn-border: var(--ink); color: #fff; }
.btn-citrus { --btn-bg: var(--citrus); --btn-ink: var(--citrus-ink); --btn-border: var(--citrus); }
.btn-citrus:hover { --btn-bg: #E0B000; --btn-border: #E0B000; color: var(--citrus-ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .85rem; }
.btn-ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-border: transparent; text-decoration: underline; border-radius: 0; min-height: auto; padding: 0; }
.btn-ghost:hover { color: var(--tomato); transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: 700 .88rem var(--font-sans); color: var(--tomato-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 247, 240, .92); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.04em; line-height: 1; }
.logo-word em { font-style: normal; color: var(--tomato); }
.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
@media (min-width: 960px) { .nav-desktop ul { display: flex; } }
.nav-desktop a {
  display: block; padding: 8px 12px; border-radius: var(--r-pill);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { background: var(--tomato-soft); color: var(--tomato-deep); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 960px) { .header-actions { margin-left: 8px; } }
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
@media (min-width: 960px) { .menu-toggle { display: none; } .header-actions .btn { display: inline-flex; } }
@media (max-width: 959.98px) { .header-actions .btn { display: none; } }

.mobile-nav {
  position: fixed; z-index: 70; inset: var(--header-h) 0 0 0; background: var(--bg);
  padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; overflow-y: auto; border-top: 2px solid var(--ink);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em;
}
.mobile-nav a svg { width: 22px; height: 22px; color: var(--tomato); }
.mobile-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.mobile-cats a {
  display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1.5px solid var(--ink); color: var(--ink);
  text-decoration: none; font-size: .85rem; font-weight: 600;
}
body.menu-open { overflow: hidden; }
.noscript-nav { padding: 12px var(--gutter); background: var(--bg-deep); border-bottom: 2px solid var(--ink); font-size: .95rem; }
.noscript-nav a { margin-right: 14px; }

/* Hero — search-first dining guide */
.hero {
  position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245, 197, 24, .28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(199, 52, 42, .12), transparent 50%),
    var(--bg);
  border-bottom: 2px solid var(--ink);
}
.hero-inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem); max-width: 11ch; margin-bottom: 16px;
}
.hero h1 .mark {
  display: inline-block; background: var(--citrus); color: var(--ink);
  padding: 0 .12em; border-radius: 6px; transform: rotate(-1.5deg);
}
.hero .lede { margin-bottom: 24px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-search-wrap {
  display: grid; gap: 14px; max-width: 720px;
  padding: 10px; background: var(--surface); border: 2.5px solid var(--ink);
  border-radius: 20px; box-shadow: 6px 6px 0 var(--ink);
}
.hero-search {
  display: flex; align-items: center; gap: 12px; margin: 0;
}
.hero-search svg { width: 22px; height: 22px; color: var(--ink-faint); flex: none; margin-left: 8px; }
.hero-search input[type="search"],
.hero-search input {
  flex: 1; min-height: 52px; border: 0; background: transparent; padding: 0 10px 0 4px !important;
  font: 600 1.05rem var(--font-sans); color: var(--ink); outline: none; box-shadow: none !important;
}
.hero-search input::placeholder { color: var(--ink-faint); font-weight: 500; }
.hero-search .btn { flex: none; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px 6px; }
.hero-quick a, .hero-quick span {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: var(--r-pill); background: var(--bg-deep); color: var(--ink);
  text-decoration: none; font-size: .8rem; font-weight: 700;
}
.hero-quick a:hover { background: var(--tomato-soft); color: var(--tomato-deep); }
.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  list-style: none; padding: 0; margin: 28px 0 0; max-width: 560px;
}
@media (min-width: 560px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-row li {
  padding: 14px 12px; background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--r-md);
}
.stat-row strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; line-height: 1; color: var(--tomato); letter-spacing: -0.03em;
}
.stat-row span { font-size: .74rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }


/* Hero preview stack (desktop visual) */
.hero-preview {
  position: relative; min-height: 380px; display: none;
}
@media (min-width: 960px) { .hero-preview { display: block; } }
.hero-preview-stack {
  position: relative; height: 420px;
}
.hero-preview-stack .place-card {
  position: absolute; width: min(340px, 92%);
  pointer-events: none; /* decorative preview; links live elsewhere */
}
.hero-preview-stack .place-card:nth-child(1) {
  top: 0; left: 8%; z-index: 3; transform: rotate(-2.5deg);
}
.hero-preview-stack .place-card:nth-child(2) {
  top: 70px; left: 22%; z-index: 2; transform: rotate(3deg);
  opacity: .96;
}
.hero-preview-stack .place-card:nth-child(3) {
  top: 150px; left: 4%; z-index: 1; transform: rotate(-5deg);
  opacity: .9;
}
.hero-preview-stack .place-card .why { -webkit-line-clamp: 2; }
.hero-preview-caption {
  position: absolute; right: 0; bottom: 8px; z-index: 4;
  padding: 8px 14px; background: var(--citrus); border: 2.5px solid var(--ink);
  border-radius: var(--r-pill); font-size: .78rem; font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink);
}

.trust-strip { background: var(--charcoal); color: #fff; border-bottom: 2px solid var(--ink); }
.trust-strip ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  list-style: none; margin: 0; padding: 16px 0;
}
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; }
.trust-strip svg { width: 16px; height: 16px; color: var(--citrus); }

/* Category tiles — bold stamps */
.cat-grid {
  display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile, .place-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 150px; padding: 18px; border-radius: var(--r-lg);
  border: 2.5px solid var(--ink); background: var(--surface); color: var(--ink);
  text-decoration: none; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s;
  box-shadow: 4px 4px 0 var(--ink);
}
.cat-tile:hover, .place-tile:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.cat-tile .tile-icon {
  position: absolute; right: 14px; top: 14px; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; background: var(--citrus); color: var(--ink);
  border: 2px solid var(--ink);
}
.cat-tile .tile-icon svg { width: 22px; height: 22px; }
.cat-tile .count {
  position: absolute; left: 14px; top: 14px; padding: 4px 10px;
  border-radius: var(--r-pill); background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.cat-tile .label strong {
  display: block; font-family: var(--font-display); font-size: 1.15rem;
  letter-spacing: -0.02em; margin-bottom: 2px;
}
.cat-tile .label span { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.cat-cafes { background: #FFF0E4; }
.cat-quick-service { background: #FFE8E4; }
.cat-juice-bowls { background: #E8F5EC; }
.cat-market-deli { background: #FFF6D6; }
.cat-plant-based { background: #E4F0E8; }
.cat-dessert { background: #FCE8F0; }
.cat-events { background: #EDE6F5; }

/* Pillars / steps */
.pillars { display: grid; gap: 14px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
  padding: 28px 24px; background: var(--surface); border: 2.5px solid var(--ink);
  border-radius: var(--r-lg); box-shadow: 4px 4px 0 var(--ink);
}
.pillar .icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 50%; background: var(--tomato); color: #fff; border: 2px solid var(--ink);
}
.pillar .icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

.steps { display: grid; gap: 12px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; padding: 22px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 2px solid var(--ink);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; color: var(--tomato); margin-bottom: 8px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .92rem; }

/* Tier cards */
.tier-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }
.tier-card {
  display: block; padding: 24px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink);
  background: var(--surface); border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.tier-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.tier-card .tier-symbol {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 2.2rem; color: var(--tomato); letter-spacing: -0.04em; margin-bottom: 4px;
}
.tier-card h3 { margin-bottom: 4px; font-size: 1.3rem; }
.tier-card p { color: var(--ink-soft); margin: 0 0 12px; }
.tier-card .tier-n {
  display: inline-flex; align-items: center; gap: 6px; font-size: .88rem;
  font-weight: 700; color: var(--tomato-deep);
}
.tier-card .tier-n svg { width: 16px; height: 16px; }

/* Restaurant cards — ticket / menu style */
.product-grid, .results-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .product-grid, .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .product-grid, .results-grid { grid-template-columns: repeat(3, 1fr); } }

.place-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 2.5px solid var(--ink); border-radius: 4px 18px 18px 4px;
  overflow: visible; transition: transform .2s var(--ease), box-shadow .2s;
  box-shadow: 5px 5px 0 rgba(28,25,23,.12);
}
.place-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--tomato);
}
.place-card:hover { transform: translateY(-3px); box-shadow: 7px 7px 0 rgba(28,25,23,.16); }
.place-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.place-card .media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-deep); border-bottom: 2px dashed var(--line-strong); }
.place-media {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--bg-deep), #fff);
}
.place-media .pm-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--citrus); border: 2.5px solid var(--ink); color: var(--ink);
}
.place-media .pm-icon svg { width: 30px; height: 30px; }
.place-media .pm-cat {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: calc(100% - 24px); padding-right: 4px;
}
.place-card .media { padding-bottom: 0; }
.place-media { padding-bottom: 4px; }
.place-media .pm-city { display: none; } /* city already under the title */
.place-media.is-big .pm-city {
  display: inline-flex; position: absolute; right: 16px; bottom: 14px; left: auto;
  align-items: center; gap: 4px; max-width: 48%;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.place-media.is-big .pm-city svg { width: 12px; height: 12px; flex: none; }
.place-media.is-big .pm-cat {
  left: 16px; right: auto; bottom: 14px; max-width: 46%;
}
.place-media.is-big {
  aspect-ratio: 4 / 3; border-radius: var(--r-xl); border: 2.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.place-media.is-big .pm-icon { width: 96px; height: 96px; }
.place-media.is-big .pm-icon svg { width: 44px; height: 44px; }
.place-card .media-flag { position: absolute; left: 18px; top: 12px; display: flex; gap: 6px; z-index: 1; }
.place-card .cert-stamp {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 100px; height: 78px; transform: rotate(-2deg);
  filter: drop-shadow(2px 2px 0 rgba(28,25,23,.2));
  pointer-events: none;
}
.place-card > .media {
  overflow: hidden; border-radius: 0 15px 0 0;
}
.place-card .body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px 20px; gap: 8px; border-radius: 0 0 16px 0; overflow: hidden; }
.place-card .brand {
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 0;
}
.place-card h3 { font-size: 1.28rem; margin: 0; letter-spacing: -0.03em; }
.place-card h3 a { color: var(--ink); text-decoration: none; }
.place-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.place-card .place-loc {
  display: inline-flex; align-items: center; gap: 5px; margin: 0; font-size: .88rem; font-weight: 600; color: var(--tomato-deep);
}
.place-card .place-loc svg { width: 14px; height: 14px; }
.place-card .why { font-size: .9rem; color: var(--ink-soft); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.place-card .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.place-card .meta {
  margin-top: auto; padding-top: 12px; border-top: 1.5px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.place-card .meals { font-size: .8rem; font-weight: 600; color: var(--ink-faint); }
.place-card .go {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 4px;
  font-size: .85rem; font-weight: 800; color: var(--tomato); text-decoration: none;
}
.place-card .go svg { width: 15px; height: 15px; }

/* Badges & tier pills */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: var(--r-pill); background: var(--bg-deep); border: 1.5px solid var(--ink);
  font-size: .72rem; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-editorial { background: var(--bg); }
.water-yes { background: var(--water-soft); border-color: var(--water); color: var(--water); }
.water-part { background: #EEF3F4; border-color: #7AA8B8; color: #2A5A6A; }
.water-unknown { background: #F3EDE6; border-color: var(--line-strong); color: var(--ink-soft); }

.tier-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  min-width: 58px; min-height: 40px; padding: 8px 14px;
  border-radius: 8px; background: var(--ink); color: var(--citrus);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: 0.06em; line-height: 1; border: 2.5px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(28,25,23,.3);
}
.tier-pill b { color: inherit; font-weight: 800; font-size: 1.4rem; }
.tier-budget { background: #1C1917; color: #F5C518; }
.tier-medium { background: #C7342A; color: #FFF7F0; border-color: #1C1917; }
.tier-premium { background: #1C1917; color: #F5C518; }

.cert-seal {
  display: block; width: 100%; height: 100%;
}

/* Page hero */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 36px); border-bottom: 2px solid var(--ink); background: var(--bg-deep); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.page-hero .lede { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--tomato); }

/* Chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border-radius: var(--r-pill); border: 2px solid var(--ink); background: var(--surface);
  color: var(--ink); font: 700 .84rem var(--font-sans); text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background .15s, color .15s;
}
.chip:hover { background: var(--tomato-soft); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-water svg { width: 14px; height: 14px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }

/* ========== Search: TOP horizontal filter bar (not side panel) ========== */
.search-page { padding-bottom: var(--section); }
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 85;
  background: rgba(255, 247, 240, .96); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink); padding: 12px 0; margin-bottom: 20px;
}
.filter-bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filter-search {
  display: flex; align-items: center; gap: 18px;
  flex: 1 1 220px; min-width: 180px; min-height: 44px;
  padding: 0 18px 0 16px; background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--r-pill);
}
.filter-search svg {
  position: static; transform: none; flex: none;
  width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none;
}
.filter-search input[type="search"],
.filter-search input {
  flex: 1; width: auto; min-width: 0; min-height: 40px;
  padding: 8px 0 !important; border: 0 !important; border-radius: 0;
  background: transparent; box-shadow: none !important;
  font: 600 .95rem var(--font-sans); color: var(--ink);
}
.filter-search:focus-within { box-shadow: 0 0 0 3px var(--citrus); }
.filter-search input:focus-visible { outline: none; box-shadow: none !important; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-dd { position: relative; }
.filter-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--surface);
  font: 700 .84rem var(--font-sans); color: var(--ink); cursor: pointer;
}
.filter-dd-btn[aria-expanded="true"], .filter-dd-btn.has-value {
  background: var(--ink); color: #fff;
}
.filter-dd-btn .dd-caret { width: 12px; height: 12px; transition: transform .15s; }
.filter-dd-btn[aria-expanded="true"] .dd-caret { transform: rotate(180deg); }
.filter-dd-btn .dd-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--citrus); color: var(--ink); font-size: .72rem;
}
.filter-dd-btn:not(.has-value) .dd-count:empty, .filter-dd-btn:not(.has-value) .dd-count { display: none; }
.filter-dd-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; min-width: 240px;
  padding: 12px; background: var(--surface); border: 2.5px solid var(--ink);
  border-radius: var(--r-md); box-shadow: 6px 6px 0 var(--ink);
}
.filter-dd-panel[hidden] { display: none !important; }
.filter-dd-panel .check {
  display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: .9rem; font-weight: 600;
}
.filter-dd-panel .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--tomato); flex: none; cursor: pointer; }
.filter-dd-panel .n { margin-left: auto; font-size: .78rem; color: var(--ink-faint); font-weight: 600; }
.filter-note { margin: 8px 0 0; font-size: .76rem; color: var(--ink-soft); line-height: 1.4; }
.filter-bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.result-count { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin: 0; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.sort select {
  min-height: 40px; padding: 0 32px 0 12px; border: 2px solid var(--ink); border-radius: var(--r-pill);
  background: var(--surface); font: 600 .85rem var(--font-sans); color: var(--ink); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231C1917' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

/* Mobile filter sheet (replaces old side drawer) */
.filters-toggle { display: none; }
@media (max-width: 799.98px) {
  .filters-toggle { display: inline-flex; }
  .filter-pills { display: none; }
  .filter-pills.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: 85vh;
    overflow-y: auto; padding: 16px 18px 24px; background: var(--surface);
    border-radius: 24px 24px 0 0; border: 2.5px solid var(--ink); border-bottom: 0;
    box-shadow: 0 -12px 40px rgba(0,0,0,.15);
  }
  .filter-pills.is-open .filter-dd { width: 100%; }
  .filter-pills.is-open .filter-dd-btn { width: 100%; justify-content: space-between; }
  .filter-pills.is-open .filter-dd-panel {
    position: static; box-shadow: none; margin-top: 6px; border-width: 2px;
  }
  .drawer-foot { display: flex; gap: 10px; margin-top: 12px; }
  .drawer-foot .btn { flex: 1; }
}
@media (min-width: 800px) { .drawer-foot { display: none; } }
.drawer-backdrop { display: none; position: fixed; inset: 0; z-index: 80; background: rgba(28, 25, 23, .4); }
.drawer-backdrop.is-open { display: block; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.active-filters:empty { display: none; }
.active-filters button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: var(--r-pill); border: 2px solid var(--tomato); background: var(--tomato-soft);
  color: var(--tomato-deep); font: 700 .8rem var(--font-sans); cursor: pointer;
}
.active-filters button svg { width: 12px; height: 12px; }

.empty-state {
  text-align: center; padding: 56px 24px; border: 2.5px dashed var(--ink);
  border-radius: var(--r-lg); background: var(--surface); grid-column: 1 / -1;
}
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }

/* Water section */
.water-split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .water-split { grid-template-columns: .95fr 1.05fr; } }
.water-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.water-row, .water-box {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--ink);
}
.water-row h3 {
  font: 800 1rem var(--font-display); letter-spacing: -0.02em; margin: 0 0 4px;
  display: flex; align-items: center; gap: 10px;
}
.water-row p, .water-box p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.wr-n {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px;
  border-radius: 13px; background: var(--citrus); color: var(--ink); font-size: .8rem; font-weight: 800;
}
.wr-icon, .water-badge-lg {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--water-soft); color: var(--water); flex: none; border: 2px solid var(--water);
}
.wr-icon svg, .water-badge-lg svg { width: 22px; height: 22px; }
.water-unknown .wr-icon { background: var(--bg-deep); color: var(--ink-soft); border-color: var(--line-strong); }
.water-part .wr-icon { background: #EEF3F4; color: #2A5A6A; border-color: #7AA8B8; }
.water-yes .wr-icon { background: var(--water-soft); color: var(--water); border-color: var(--water); }
.water-box strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.water-hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: var(--r-pill); background: var(--water); color: #fff;
  font-weight: 800; font-size: .9rem; margin-bottom: 16px; border: 2px solid var(--ink);
}
.water-hero-badge svg { width: 20px; height: 20px; }

/* Site note */
.site-note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  background: var(--warn-bg); border: 2.5px solid var(--ink); border-radius: var(--r-md);
  box-shadow: 4px 4px 0 var(--ink);
}
.site-note > svg { width: 24px; height: 24px; flex: none; color: var(--warn-ink); margin-top: 2px; }
.site-note p { margin: 0; color: var(--warn-ink); font-size: .93rem; }
.site-note strong { color: var(--ink); }
.note-wrap { padding-block: 0 var(--s-7, 48px); }

/* Detail page */
.detail-layout { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; padding-bottom: var(--section); }
@media (min-width: 900px) { .detail-layout { grid-template-columns: 1fr 1.05fr; } }
.cert-card {
  margin-top: 18px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.cert-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin-bottom: 14px; }
.cert-card h2 svg { width: 24px; height: 24px; color: var(--tomato); }
.cert-dl { margin: 0 0 16px; display: grid; gap: 10px; }
.cert-dl div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; font-size: .9rem; }
.cert-dl dt { color: var(--ink-soft); font-weight: 600; } .cert-dl dd { margin: 0; font-weight: 700; }
.cert-card .fine { margin: 12px 0 0; font-size: .8rem; color: var(--ink-soft); }
.fact-list {
  margin: 22px 0; display: grid; gap: 12px; padding: 18px 20px;
  border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--ink);
}
.fact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: start; }
.fact-list dt { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.fact-list dt svg { width: 15px; height: 15px; color: var(--tomato); }
.fact-list dd { margin: 0; font-size: .95rem; font-weight: 600; }
@media (max-width: 520px) { .fact-list div, .cert-dl div { grid-template-columns: 1fr; gap: 2px; } }
.small-link { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; margin-left: 6px; font-weight: 700; }
.small-link svg, .source-list a svg { width: 13px; height: 13px; }
.muted-p { color: var(--ink-soft); margin: 0; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.detail-block { padding: 22px 0; border-top: 2px solid var(--line); }
.detail-block h2 { font-size: 1.25rem; margin-bottom: 12px; }
.pass-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pass-list li { display: flex; gap: 12px; align-items: flex-start; }
.pass-list .ok {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--herb); color: #fff; flex: none; border: 2px solid var(--ink);
}
.pass-list .ok svg { width: 12px; height: 12px; }
.caveat-list, .source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.caveat-list li, .source-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.caveat-list li > svg, .source-list li > svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--terracotta); }
.source-list li > svg { color: var(--tomato); }
.source-list a { display: inline-flex; align-items: center; gap: 6px; word-break: break-word; font-weight: 600; }
.product-info .brand { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.product-info .why { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 16px; }
.product-info .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

/* About */
.prose h2 { margin-top: 40px; font-size: 1.5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.excluded-list { display: grid; gap: 8px; list-style: none; padding: 0; }
.excluded-list li {
  padding: 12px 14px; border-radius: var(--r-md); background: var(--bg-deep);
  border: 2px solid var(--line-strong); font-size: .92rem; color: var(--ink-soft);
}
.excluded-list strong { color: var(--ink); }
.callout {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--warn-bg); color: var(--warn-ink); border: 2px solid var(--ink); margin: 0;
}
.callout a { color: var(--tomato-deep); font-weight: 700; }
.more-link { margin-top: 28px; }

/* Footer */
.site-footer {
  background: var(--charcoal); color: rgba(255,255,255,.78); margin-top: 0;
  border-top: 2px solid var(--ink); padding: clamp(40px, 6vw, 72px) 0 28px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--citrus); }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-word em { color: var(--citrus); }
.footer-grid {
  display: grid; gap: 32px; margin-bottom: 36px;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { font-size: .92rem; margin-top: 14px; }
.footer-grid h2 {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--citrus); margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid li a { font-size: .92rem; font-weight: 600; }
.footer-signup p { font-size: .9rem; margin-bottom: 14px; }
.footer-legal {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .82rem;
}
.footer-legal strong { color: #fff; }
.footer-legal .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 14px;
}
.footer-legal .row a { font-weight: 700; color: var(--citrus); }

/* Forms base */
input[type="text"], input[type="email"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px;
  border: 2px solid var(--ink); background: var(--surface);
  font: 500 1rem/1.4 var(--font-sans); color: var(--ink);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; box-shadow: 0 0 0 3px var(--citrus);
}
[aria-invalid="true"] { border-color: var(--tomato) !important; }

/* Hero CTAs */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Desktop: filter pills as sticky secondary row under the search bar */
@media (min-width: 800px) {
  .filter-pills {
    position: sticky; top: calc(var(--header-h) + 56px); z-index: 84;
    padding: 0 var(--gutter) 10px; max-width: var(--max);
    margin: -4px auto 12px; background: rgba(255, 247, 240, .96);
  }
}

/* Overlap / clipping guards */
.cat-tile .label strong { overflow: hidden; text-overflow: ellipsis; }
.place-card .brand { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filter-bar-actions { flex-wrap: wrap; }
@media (max-width: 520px) {
  .place-card h3 { font-size: 1.12rem; }
  .place-card .cert-stamp { width: 92px; height: 72px; }
}
.hero-preview .place-card h3 a::after { display: none; }
.hero-preview .place-card { cursor: default; }

.product-grid > *, .results-grid > *, .place-card { min-width: 0; max-width: 100%; }
.place-card { width: 100%; }
.cat-chips { max-width: 100%; -webkit-overflow-scrolling: touch; }
.filter-bar-inner, .filter-bar-actions { min-width: 0; max-width: 100%; }
.hero-search-wrap { max-width: 100%; }

