/* Shorefoodies — shared brand styles (used by index.html, listing.html, detail.html, etc.) */

:root {
  --pink: #E8526B;
  --pink-soft: #FBE5E8;
  --cream: #FBF6E5;
  --cream-warm: #FFFDF7;
  --charcoal: #2A2024;
  --charcoal-soft: #6B5E54;
  --gold: #D4A24A;
  --wine: #6B1F2C;
  --sage: #8FA86A;
  --tan: #E8A55B;
  --brick: #B85542;
  --line: #e8dec5;

  /* Tier palette — semantic, used by all tier-colored UI.
     4 tiers (Elite collapsed into Nadia Approved 80-100% on 2026-05-03).
     --tier-elite kept as alias for back-compat with legacy class names. */
  --tier-approved: #E8526B;  /* coral pink — the Shorefoodies brand pink, "Nadia Approved" 80-100% */
  --tier-elite:    #E8526B;  /* alias to --tier-approved (legacy class compat) */
  --tier-solid:    #8FA86A;  /* sage green — "good" 70-79% */
  --tier-mixed:    #E8A55B;  /* amber — neutral 60-69% */
  --tier-skip:     #8B5A50;  /* muted gray-red — de-saturated so it doesn't fight the top tier */
}

/* Tier glyph — small icon prefix used wherever a tier is named.
   Add as <span class="tier-glyph elite">…</span> or via .elite > .tier-glyph */
.tier-glyph {
  display: inline-block;
  width: 1em;
  text-align: center;
  margin-right: 4px;
  font-style: normal;
  line-height: 1;
}
.tier-glyph.elite::before     { content: '\2605'; }   /* ★ filled star */
.tier-glyph.approved::before  { content: '\2713'; }   /* ✓ check */
.tier-glyph.solid::before     { content: '\25CF'; }   /* ● filled circle */
.tier-glyph.mixed::before     { content: '\2013'; }   /* – en dash */
.tier-glyph.skip::before      { content: '\2715'; }   /* ✕ cross */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Prevent any element from causing horizontal page scroll on mobile */
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;  /* iOS Safari zoom on input focus prevention */
}

/* All images responsive by default — no element ever overflows its container */
img { max-width: 100%; height: auto; }

a { color: var(--charcoal); text-decoration: none; }
a:hover { color: var(--pink); }

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 36px; line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.2; }

.tagline {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink);
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------------------------- nav ---------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .logo-link { display: flex; align-items: center; gap: 12px; }
.nav .logo-link img { height: 56px; }
@media (max-width: 1080px) {
  .nav .logo-link img { height: 48px; }
}
@media (max-width: 640px) {
  .nav .logo-link img { height: 40px; }
}
.nav .nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.nav .nav-links a:hover { color: var(--pink); }
.nav .cta-btn {
  background: var(--pink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.nav .cta-btn:hover { background: var(--charcoal); color: var(--cream); }

/* ---------------------------- mobile nav drawer ---------------------------- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}
.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: background 0.15s;
}
.mobile-nav-toggle:hover span { background: var(--pink); }

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 32, 36, 0.55);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-drawer-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: var(--cream);
  z-index: 100;
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(42, 32, 36, 0.18);
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-inner {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}
.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.mobile-drawer-head img { height: 44px; }
.mobile-drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: var(--charcoal);
  font-family: inherit;
  padding: 0;
}
.mobile-drawer-close:hover { color: var(--pink); }
.mobile-drawer-search {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: white;
  width: 100%;
  box-sizing: border-box;
}
.mobile-drawer-search:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232, 82, 107, 0.12);
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 6px;
}
.mobile-drawer-nav a {
  padding: 16px 6px;
  font-size: 17px;
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-nav a:hover { color: var(--pink); }
.mobile-drawer-nav a.active {
  color: var(--pink);
}
.mobile-drawer-nav a.active::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}
.mobile-drawer-cta {
  margin-top: 20px;
  padding: 16px;
  background: var(--pink);
  color: var(--cream);
  border: 0;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.mobile-drawer-cta:hover { background: var(--charcoal); }
.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 700;
  text-align: center;
}
.mobile-drawer-foot a {
  color: var(--pink);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 1px;
  margin: 0 4px;
  text-decoration: none;
}

/* Show hamburger + hide desktop nav at small viewports */
@media (max-width: 900px) {
  .mobile-nav-toggle { display: flex; }
  .nav .nav-links { display: none; }
  .nav .cta-btn { display: none; }
  /* Search bar moves below the logo row on mobile so it stays usable */
  .nav { flex-wrap: wrap; padding: 12px 16px; gap: 8px; }
  .nav .nav-search { order: 3; flex: 1 1 100%; max-width: 100%; margin: 6px 0 2px; }
  .nav .nav-search .ns-form { flex-wrap: wrap; gap: 6px; }
  .nav .nav-search .ns-input-wrap { flex: 1 1 100%; }
  .nav .nav-search .ns-cuisine,
  .nav .nav-search .ns-town { flex: 1 1 0; min-width: 0; }
  .nav .nav-search .ns-btn { flex: 0 0 auto; padding: 10px 18px; }
}

/* ---------------------------- buttons ---------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: var(--cream); }
.btn-primary:hover { background: var(--charcoal); color: var(--cream); }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }

/* ---------------------------- score badge ---------------------------- */
.score-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
}
.score-badge.elite { background: var(--tier-elite); }
.score-badge.approved { background: var(--tier-approved); }
.score-badge.solid { background: var(--tier-solid); }
.score-badge.mixed { background: var(--tier-mixed); }
.score-badge.skip { background: var(--tier-skip); }

.tier-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}
.tier-label.elite { color: var(--tier-elite); }
.tier-label.approved { color: var(--tier-approved); }
.tier-label.solid { color: var(--tier-solid); }
.tier-label.mixed { color: var(--tier-mixed); }
.tier-label.skip { color: var(--tier-skip); }

/* ---------------------------- restaurant card ---------------------------- */
.rest-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(42,32,36,0.08);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(42,32,36,0.14);
}
.rest-card .photo {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.rest-card .photo .nadia-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 92px;
  height: 92px;
  background-image: url('../nadiaApproved.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(8deg);
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(42,32,36,0.25));
}
.rest-card .rank-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.rest-card .content { padding: 18px 18px 22px; }
.rest-card .content h4 {
  font-family: Georgia, serif;
  font-size: 19px;
  margin: 0 0 4px 0;
  line-height: 1.2;
}
.rest-card .content .loc {
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.rest-card .content .loc::before {
  content: "📍";
  font-size: 12px;
}
.rest-card .content .loc .pending {
  font-weight: 500;
  color: var(--charcoal-soft);
  font-style: italic;
}
.rest-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.rest-card .tag {
  background: var(--pink-soft);
  color: var(--pink);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}
.rest-card .tag.style {
  background: rgba(212, 162, 74, 0.14);
  color: #9a7a30;
}
.rest-card .price-pill {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: Georgia, serif;
}
.rest-card .score-row-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rest-card .score-meta-block { flex: 1; min-width: 0; }
.rest-card .score-meta {
  font-size: 12px;
  color: var(--charcoal);
  margin-top: 4px;
  font-style: italic;
  font-family: Georgia, serif;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rest-card .audience-line {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal-soft);
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rest-card .audience-line.takeover { color: var(--pink); }
.rest-card .audience-line .empty { color: var(--charcoal-soft); opacity: 0.7; font-style: italic; font-weight: 500; }
.rest-card .name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.rest-card .name-row h4 { margin: 0; flex: 1; min-width: 0; }
.rest-card .yelp-mini {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 3px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.rest-card .yelp-mini:hover { background: rgba(211, 35, 35, 0.08); }
.rest-card .yelp-mini .stars { color: var(--gold); font-size: 14px; }
.rest-card .yelp-mini .val {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
}
.rest-card .yelp-mini img {
  height: 16px;
  width: auto;
  display: block;
}

/* placeholder photo gradients by tier (until real photos arrive) */
.photo-placeholder.elite { background: linear-gradient(135deg, #d8a8b0 0%, #6B1F2C 100%); }
.photo-placeholder.approved { background: linear-gradient(135deg, #f5d68f 0%, #D4A24A 100%); }
.photo-placeholder.solid { background: linear-gradient(135deg, #c5d3a8 0%, #8FA86A 100%); }
.photo-placeholder.mixed { background: linear-gradient(135deg, #f5d3b8 0%, #E8A55B 100%); }
.photo-placeholder.skip { background: linear-gradient(135deg, #d59c8a 0%, #B85542 100%); }

/* ---------------------------- score scale / legend ---------------------------- */
.score-scale-strip {
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 48px;
}
.score-scale-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.score-scale-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal-soft);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.score-scale-label strong {
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: -0.3px;
  text-transform: none;
}
.score-scale-tiers {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.scale-tier {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  flex: 1;
  min-width: 160px;
}
.scale-tier .scale-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
}
.scale-tier .scale-badge .stamp-corner {
  position: absolute;
  bottom: -6px;
  right: -10px;
  width: 26px;
  height: 26px;
  background-image: url('../nadiaApproved.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 2px 4px rgba(42,32,36,0.3));
  transform: rotate(10deg);
}
.score-scale-note {
  max-width: 1280px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--charcoal-soft);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
}
.score-scale-note .stamp-icon {
  width: 24px;
  height: 24px;
  background-image: url('../nadiaApproved.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  flex-shrink: 0;
  transform: rotate(-6deg);
}
.score-scale-note strong { color: var(--pink); font-weight: 700; }
.scale-tier .scale-badge.elite { background: var(--tier-elite); }
.scale-tier .scale-badge.approved { background: var(--tier-approved); }
.scale-tier .scale-badge.solid { background: var(--tier-solid); }
.scale-tier .scale-badge.mixed { background: var(--tier-mixed); }
.scale-tier .scale-badge.skip { background: var(--tier-skip); }
.scale-tier .scale-text { display: flex; flex-direction: column; gap: 1px; }
.scale-tier .scale-name {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.scale-tier .scale-name.elite { color: var(--wine); }
.scale-tier .scale-name.approved { color: var(--gold); }
.scale-tier .scale-name.solid { color: var(--sage); }
.scale-tier .scale-name.mixed { color: var(--tan); }
.scale-tier .scale-name.skip { color: var(--brick); }
.scale-tier .scale-range {
  font-size: 11px;
  color: var(--charcoal-soft);
  letter-spacing: 1px;
}
@media (max-width: 1080px) {
  .score-scale-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .score-scale-tiers { width: 100%; }
}

/* ---------------------------- 3-visit qualifier badge ---------------------------- */
.visit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #f5e3a8 0%, var(--gold) 100%);
  color: var(--charcoal);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(42,32,36,0.1);
}
.visit-badge::before { content: "✓"; font-size: 12px; }

/* ---------------------------- sponsored pill + card ---------------------------- */
.sponsored-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cream);
  color: var(--pink);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--pink);
  z-index: 3;
}
.rest-card.sponsored { border: 1px dashed var(--pink); }
.rest-card.sponsored .content { padding-bottom: 16px; }
.rest-card.sponsored .sponsor-byline {
  font-size: 10px;
  color: var(--charcoal-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* ---------------------------- nav search (multi-control) ---------------------------- */
.nav-search {
  flex: 1;
  max-width: 640px;
  margin: 0 18px;
}
.nav-search .ns-form {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}
.nav-search .ns-input-wrap {
  flex: 1 1 200px;
  position: relative;
  min-width: 0;
}
.nav-search .ns-input-wrap::before {
  content: "🔍";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: 0.55;
  pointer-events: none;
}
.nav-search .ns-q,
.nav-search .ns-cuisine,
.nav-search .ns-town {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}
.nav-search .ns-q { padding-left: 38px; }
.nav-search .ns-cuisine,
.nav-search .ns-town {
  flex: 0 0 auto;
  width: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23999' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 28px;
}
.nav-search .ns-q:focus,
.nav-search .ns-cuisine:focus,
.nav-search .ns-town:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(232,82,107,0.12);
}
/* ---------- autocomplete dropdown ---------- */
.nav-search .ns-input-wrap { z-index: 50; }
.nav-search .ns-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(42, 32, 36, 0.14);
  z-index: 1000;
  max-height: 360px;
  overflow-y: auto;
}
.nav-search .ns-sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  color: var(--charcoal);
  transition: background 0.1s;
}
.nav-search .ns-sug-item:hover,
.nav-search .ns-sug-item.active {
  background: rgba(232, 82, 107, 0.08);
}
.nav-search .ns-sug-icon {
  flex: 0 0 22px;
  text-align: center;
  font-size: 14px;
  opacity: 0.65;
}

/* Score badge in the leading slot of every restaurant suggestion.
   Fixed width so name column always lines up regardless of score digits.
   Color-coded by tier — pink at approved+, warm at solid/mixed, muted skip. */
.nav-search .ns-sug-score {
  flex: 0 0 38px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: white;
  border: 1px solid transparent;
}
.nav-search .ns-sug-score.sb-elite    { background: linear-gradient(135deg, #E8526B, #D4A24A); }
.nav-search .ns-sug-score.sb-approved { background: #E8526B; }
.nav-search .ns-sug-score.sb-solid    { background: #D4A24A; }
.nav-search .ns-sug-score.sb-mixed    { background: #C48A5A; }
.nav-search .ns-sug-score.sb-skip     { background: #8a7d75; }
.nav-search .ns-sug-score.sb-none     {
  background: transparent; color: var(--charcoal-soft, #888);
  border-color: var(--line, rgba(0,0,0,0.1)); font-size: 12px;
}
.nav-search .ns-sug-item:hover .ns-sug-score,
.nav-search .ns-sug-item.active .ns-sug-score {
  box-shadow: 0 2px 8px rgba(232, 82, 107, 0.25);
}
.nav-search .ns-sug-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-search .ns-sug-text strong {
  color: var(--pink);
  font-weight: 700;
}
.nav-search .ns-sug-meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--charcoal-soft, #888);
  font-weight: 400;
}
.nav-search .ns-sug-meta strong { color: var(--pink); }
.nav-search .ns-sug-empty {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--charcoal-soft, #888);
  font-style: italic;
}
.nav-search .ns-btn {
  flex: 0 0 auto;
  background: var(--pink);
  color: white;
  border: 0;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.nav-search .ns-btn:hover { background: var(--charcoal); }
/* Plain input fallback (before JS injects multi-control) */
.nav-search input[type="text"] {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 16px 10px 38px;
  font-size: 13px;
  font-family: inherit;
  color: var(--charcoal);
  outline: none;
}
.nav-search::before {
  content: none;
}

/* ---------------------------- analytics widgets ---------------------------- */
.analytics-strip {
  background: var(--cream-warm);
  padding: 70px 48px;
}
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.analytics-tile {
  background: white;
  border-radius: 14px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: all 0.2s;
}
.analytics-tile:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,82,107,0.12);
}
.analytics-tile .label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 700;
}
.analytics-tile .stat {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
}
.analytics-tile .stat .unit { font-size: 16px; color: var(--charcoal-soft); margin-left: 4px; font-family: 'Helvetica Neue', sans-serif; }
.analytics-tile .ctx {
  font-size: 12px;
  color: var(--charcoal-soft);
  margin-top: 4px;
  line-height: 1.4;
}
.analytics-tile .trend {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 4px;
  display: inline-block;
  width: max-content;
}
.analytics-tile .trend.up { background: rgba(143,168,106,0.18); color: #5d7544; }
.analytics-tile .trend.down { background: rgba(184,85,66,0.18); color: var(--brick); }
.analytics-tile .micro-bar {
  height: 4px;
  background: var(--pink-soft);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}
.analytics-tile .micro-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--bar-width, 60%);
  background: var(--pink);
  border-radius: 2px;
}

/* ---------------------------- sponsor strip ---------------------------- */
.sponsor-strip {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 48px;
}
.sponsor-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.sponsor-inner .lead {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 700;
  white-space: nowrap;
}
.sponsor-logos {
  display: flex;
  gap: 36px;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}
.sponsor-logo {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal-soft);
  opacity: 0.55;
  transition: opacity 0.2s;
  letter-spacing: -0.5px;
  padding: 0 8px;
  border-radius: 6px;
}
.sponsor-logo:hover { opacity: 1; }
.sponsor-cta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pink);
  border-bottom: 1px solid var(--pink);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* ---------------------------- follow / subscribe ---------------------------- */
.follow-section {
  background:
    radial-gradient(circle at 80% 30%, rgba(212,162,74,0.15), transparent 50%),
    var(--charcoal);
  color: var(--cream);
  padding: 80px 48px;
}
.follow-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.follow-inner h2 { color: var(--cream); margin-bottom: 14px; }
.follow-inner p {
  font-size: 16px;
  color: rgba(251,246,229,0.75);
  max-width: 540px;
  margin: 0 auto 28px;
}
.follow-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.follow-form input {
  flex: 1;
  min-width: 220px;
  background: rgba(251,246,229,0.08);
  border: 1px solid rgba(251,246,229,0.2);
  border-radius: 100px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--cream);
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.follow-form input::placeholder { color: rgba(251,246,229,0.4); }
.follow-form input:focus { border-color: var(--pink); }
.follow-form button {
  background: var(--pink);
  color: var(--cream);
  border: 0;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.follow-form button:hover { background: var(--cream); color: var(--pink); }
.follow-socials {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(251,246,229,0.5);
  font-weight: 700;
}
.follow-socials a {
  color: var(--cream);
  margin: 0 10px;
  border-bottom: 1px solid var(--pink);
  padding-bottom: 1px;
}
.follow-socials a:hover { color: var(--pink); }
.follow-decoration {
  position: absolute;
  top: -50px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('../nadiaApproved.png');
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(12deg);
  opacity: 0.95;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
  pointer-events: none;
}

@media (max-width: 1080px) {
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .follow-decoration { display: none; }
}
@media (max-width: 640px) {
  .analytics-grid { grid-template-columns: 1fr; }
  .sponsor-inner { gap: 16px; }
  .sponsor-inner .lead { width: 100%; text-align: center; }
}

/* ---------------------------- footer ---------------------------- */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 60px 48px 30px;
}
.footer .footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer h5 {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 14px 0;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: 13px; }
.footer a { color: var(--cream); }
.footer a:hover { color: var(--pink); }
/* ---------------------------- sticky social CTA ---------------------------- */
.sf-cta-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.sf-cta-wrap.sf-cta-dismissed { display: none; }
.sf-cta-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: var(--cream);
  border: 0; padding: 12px 18px;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 6px 18px rgba(42,32,36,0.18);
  transition: transform 0.15s, background 0.15s;
  font-family: inherit;
}
.sf-cta-toggle:hover { transform: translateY(-1px); background: var(--charcoal); }
.sf-cta-toggle-icon { font-size: 15px; }
.sf-cta-wrap.sf-cta-open .sf-cta-toggle { transform: scale(0.95); opacity: 0.55; }
.sf-cta-panel {
  position: absolute;
  right: 0; bottom: 56px;
  width: 320px; max-width: calc(100vw - 36px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(42,32,36,0.18);
}
.sf-cta-close {
  position: absolute; top: 8px; right: 12px;
  background: transparent; border: 0;
  font-size: 22px; line-height: 1;
  color: var(--charcoal-soft);
  cursor: pointer; padding: 4px 8px;
}
.sf-cta-close:hover { color: var(--charcoal); }
.sf-cta-head {
  font-family: Georgia, serif; font-size: 22px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 4px;
}
.sf-cta-sub {
  font-size: 13px; color: var(--charcoal-soft); margin: 0 0 16px;
  line-height: 1.4;
}
.sf-cta-form {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.sf-cta-email {
  flex: 1;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 14px;
  font-size: 13px; font-family: inherit;
  outline: none; min-width: 0;
  background: var(--cream-warm);
}
.sf-cta-email:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,82,107,0.12); }
.sf-cta-submit {
  background: var(--charcoal); color: var(--cream); border: 0;
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.sf-cta-submit:hover:not(:disabled) { background: var(--pink); }
.sf-cta-submit:disabled { opacity: 0.6; cursor: wait; }
.sf-cta-status { font-size: 12px; min-height: 16px; margin: 6px 0 12px; line-height: 1.3; }
.sf-cta-or {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--charcoal-soft); font-weight: 700;
  margin: 14px 0 10px; text-align: center;
  position: relative;
}
.sf-cta-or::before, .sf-cta-or::after {
  content: ''; position: absolute; top: 50%; width: 28%;
  height: 1px; background: var(--line);
}
.sf-cta-or::before { left: 0; }
.sf-cta-or::after { right: 0; }

/* Suggest A Restaurant section (top of panel) */
.sf-cta-suggest-btn {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.15s;
}
.sf-cta-suggest-btn:hover {
  border-color: var(--pink);
  background: var(--pink-soft);
}
.sf-cta-suggest-icon { font-size: 22px; flex-shrink: 0; }
.sf-cta-suggest-text { flex: 1; min-width: 0; }
.sf-cta-suggest-title {
  display: block;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}
.sf-cta-suggest-sub {
  display: block;
  font-size: 12px;
  color: var(--charcoal-soft);
  margin-top: 2px;
}
.sf-cta-suggest-chevron {
  font-size: 22px;
  color: var(--charcoal-soft);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sf-cta-suggest-btn.sf-cta-suggest-open .sf-cta-suggest-chevron {
  transform: rotate(90deg);
}
.sf-cta-suggest-form {
  display: flex; flex-direction: column; gap: 8px;
  padding: 4px 2px 12px;
  margin-bottom: 4px;
}
.sf-cta-suggest-form input,
.sf-cta-suggest-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: white;
  resize: vertical;
}
.sf-cta-suggest-form input:focus,
.sf-cta-suggest-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(232,82,107,0.12);
}
.sf-cta-suggest-submit {
  background: var(--pink); color: var(--cream); border: 0;
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  cursor: pointer; font-family: inherit;
  align-self: flex-start;
  transition: background 0.15s;
}
.sf-cta-suggest-submit:hover:not(:disabled) { background: var(--charcoal); }
.sf-cta-suggest-submit:disabled { opacity: 0.6; cursor: wait; }
.sf-cta-suggest-status { font-size: 12px; min-height: 0; line-height: 1.3; }
.sf-cta-suggest-status:not(:empty) { min-height: 16px; padding: 4px 2px 8px; }
.sf-cta-divider {
  height: 1px;
  background: var(--line);
  margin: 14px -22px;
}
.sf-cta-socials {
  display: flex; flex-direction: column; gap: 6px;
}
.sf-cta-soc {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--charcoal);
  text-decoration: none;
  transition: all 0.15s;
}
.sf-cta-soc:hover { border-color: var(--pink); color: var(--pink); transform: translateX(2px); }
.sf-cta-soc svg { color: currentColor; flex-shrink: 0; }

/* Mobile: panel becomes near-full-width */
@media (max-width: 480px) {
  .sf-cta-wrap { right: 12px; bottom: 12px; }
  .sf-cta-panel { width: calc(100vw - 24px); right: -12px; }
  .sf-cta-toggle { padding: 11px 16px; font-size: 12px; }
}

/* ---------------------------- audience inline form (modal + trigger) ---------------------------- */
.af-trigger {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 6px;
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 100px;
  font: 700 10px/1 'Helvetica Neue', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(42,32,36,0.08);
  z-index: 5;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.af-trigger:hover { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.af-trigger-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pink); color: var(--cream);
  font-size: 11px; font-weight: 700;
}
.af-trigger:hover .af-trigger-ico { background: var(--cream); color: var(--pink); }
/* Hide the trigger label on very narrow viewports — keep just the + icon */
@media (max-width: 540px) {
  .af-trigger { padding: 4px; }
  .af-trigger-text { display: none; }
  .af-trigger-ico { width: 16px; height: 16px; }
}
/* lb-row needs relative positioning for the absolute trigger */
.lb-row { position: relative; }

.af-modal-wrap {
  position: fixed; inset: 0;
  background: rgba(42,32,36,0.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.18s;
}
.af-modal-wrap.open { opacity: 1; }
.af-modal-wrap[hidden] { display: none; }
.af-modal {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 28px 26px 22px;
  width: 100%; max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(42,32,36,0.3);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.af-close {
  position: absolute; top: 10px; right: 14px;
  background: transparent; border: 0;
  font-size: 26px; line-height: 1;
  color: var(--charcoal-soft); cursor: pointer;
  padding: 4px 8px;
}
.af-close:hover { color: var(--charcoal); }
.af-eyebrow {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: var(--pink); margin-bottom: 4px;
}
.af-title {
  font-family: Georgia, serif; font-size: 24px; font-weight: 700;
  color: var(--charcoal); margin: 0 0 6px;
}
.af-sub { font-size: 13px; color: var(--charcoal-soft); margin: 0 0 14px; }
.af-scores {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px;
  margin-bottom: 14px;
}
.af-score {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 0;
  font: 700 13px/1 Georgia, serif; color: var(--charcoal);
  cursor: pointer; transition: all 0.12s;
  font-family: Georgia, serif;
}
.af-score:hover { border-color: var(--pink); }
.af-score.selected { background: var(--pink); color: var(--cream); border-color: var(--pink); }
.af-modal textarea, .af-modal input[type="text"], .af-modal input[type="email"] {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; font-size: 13px;
  outline: none; box-sizing: border-box;
  background: var(--cream-warm);
}
.af-modal textarea:focus, .af-modal input[type="text"]:focus, .af-modal input[type="email"]:focus {
  border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,82,107,0.12);
}
.af-modal textarea { min-height: 64px; resize: vertical; margin-bottom: 10px; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
@media (max-width: 480px) { .af-row { grid-template-columns: 1fr; } }
.af-photo-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--cream-warm);
  border: 1px dashed var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--charcoal-soft);
  margin-bottom: 14px;
}
.af-photo-row input[type="file"] { display: none; }
.af-photo-name { margin-left: auto; font-weight: 700; color: var(--charcoal); font-size: 12px; }
.af-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.af-status { font-size: 12px; color: var(--charcoal-soft); flex: 1; min-width: 0; }
.af-submit {
  background: var(--pink); color: var(--cream); border: 0;
  padding: 11px 22px; border-radius: 100px;
  font: 700 13px/1 'Helvetica Neue', sans-serif;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s;
  font-family: inherit;
}
.af-submit:hover:not(:disabled) { background: var(--charcoal); }
.af-submit:disabled { opacity: 0.6; cursor: wait; }

.footer .footer-logo {
  height: 88px;
  width: auto;
  max-width: 100%;
  margin-bottom: 18px;
  display: block;
}
.footer .footer-tagline {
  font-size: 15px;
  color: rgba(251,246,229,0.85);
  max-width: 360px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 640px) {
  .footer .footer-logo { height: 96px; margin-bottom: 16px; }
  .footer .footer-tagline { font-size: 15px; max-width: none; color: rgba(251,246,229,0.92); }
}
.footer-bottom {
  border-top: 1px solid rgba(251,246,229,0.15);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(251,246,229,0.7);
  letter-spacing: 1px;
}
@media (max-width: 640px) {
  .footer-bottom { font-size: 13px; line-height: 1.6; padding: 24px 16px 0; }
}
.footer-attribution {
  text-align: center;
  font-size: 11px;
  color: rgba(251,246,229,0.4);
  letter-spacing: 0.5px;
  margin-top: 14px;
  line-height: 1.6;
}
.footer-attribution a { color: rgba(251,246,229,0.65); border-bottom: 1px dashed rgba(251,246,229,0.3); }
.footer-attribution a:hover { color: var(--pink); border-color: var(--pink); }

/* ---------------------------- section helpers ---------------------------- */
.section { padding: 80px 48px; }
.section-narrow { max-width: 1280px; margin: 0 auto; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.section-head .label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}
.section-head .view-all {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal);
  border-bottom: 2px solid var(--pink);
  padding-bottom: 2px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 16px; flex-wrap: wrap; gap: 8px; }
  .nav .nav-links { display: none; }
  .section { padding: 40px 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 16px; }
  /* Ensure CTAs hit 44px touch-target minimum on mobile */
  .nav .cta-btn { padding: 12px 18px; min-height: 44px; }
  .btn { padding: 14px 22px; min-height: 48px; }
  /* Sponsor strip stacks vertically on phone */
  .sponsor-strip { padding: 22px 16px; }
  .sponsor-inner { gap: 14px; flex-direction: column; align-items: flex-start; }
  .sponsor-logos { gap: 20px; }
  /* Section heads stack on phone */
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* Footer columns 1-col on phone */
  .footer-inner { grid-template-columns: 1fr !important; gap: 28px; }
  /* Restaurant card name + Yelp pill spacing on tight viewports */
  .rest-card .name-row { gap: 10px; }
  .rest-card .yelp-mini { padding: 4px 7px 3px; }
  .rest-card .yelp-mini .val { font-size: 13px; }
  .rest-card .yelp-mini img { height: 14px; }
}

/* ===== Sub-score pill row (Food / Value / Atmo / Svc) ===== */
/* Compact strip below the main score that surfaces Nadia's sub-scores so
   visitors can compare what matters to them. Used by index cards + rankings
   rows. Each pill is a small pseudo-badge: tiny uppercase label + score
   value out of 100. */
.sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(42, 32, 36, 0.10);
}
.sub-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(232, 82, 107, 0.06);
  border-radius: 100px;
  font-size: 11px;
  line-height: 1;
}
.sub-pill .lbl {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal-soft);
  font-size: 9px;
}
.sub-pill .val {
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--pink);
  font-size: 13px;
}
.lb-row .sub-pills {
  margin-top: 8px;
  padding-top: 8px;
}
@media (max-width: 600px) {
  .sub-pill { padding: 2px 7px; font-size: 10px; }
  .sub-pill .val { font-size: 12px; }
}

/* ===== Home "Browse by category" chip cloud ===== */
/* A mixed grid of cuisine + tag chips, each linking to /rankings?cuisine=X
   or /rankings?tag=Y. Lets visitors jump from "what am I in the mood for"
   to a pre-sorted leaderboard. */
.cat-cloud-section {
  padding: 56px 48px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat-cloud-inner { max-width: 1100px; margin: 0 auto; }
.cat-cloud-head { margin-bottom: 22px; }
.cat-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  text-decoration: none;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.cat-chip:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  transform: translateY(-1px);
}
.cat-chip .count {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--charcoal-soft);
  background: rgba(42, 32, 36, 0.06);
  padding: 2px 8px;
  border-radius: 100px;
}
.cat-chip:hover .count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
.cat-chip.kind-tag { background: rgba(212, 162, 74, 0.10); border-color: rgba(212, 162, 74, 0.30); }
.cat-chip.kind-tag:hover { background: #D4A24A; border-color: #D4A24A; }
@media (max-width: 740px) {
  .cat-cloud-section { padding: 36px 18px; }
  .cat-chip { padding: 8px 13px; font-size: 13px; }
  .cat-chip .count { font-size: 11px; }
}

/* ===== Entry hero: unified tile-grid layout for all viewports ===== */
/* Replaces both the old desktop hero (giant headline + huge Nadia stamp)
   and the mobile-hero block. One markup, scales up at wider widths.
   The compact Nadia + #1 pick chip in the top strip surfaces the same
   "real critic" signal the old hero leaned on but without dominating the
   above-the-fold. */
.entry-hero {
  padding: 28px 48px 40px;
  background:
    radial-gradient(circle at 15% 100%, rgba(232,82,107,0.10), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(212,162,74,0.10), transparent 50%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.entry-hero-inner { max-width: 1100px; margin: 0 auto; }
.entry-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 18px;
}
.entry-hero-pitch {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--charcoal);
}
.entry-hero-pitch strong { color: var(--pink); font-weight: 700; }
.entry-hero-pitch-sub { font-size: 12px; color: var(--charcoal-soft); margin-top: 8px; }

/* Hero body layout — desktop puts three grid items in a 2×2 grid so the
   editorial masthead sits top-left, the NA spotlight fills the entire
   right column (spans both rows), and the Foodie Meter legend tucks in
   bottom-left under the editorial. Mobile collapses to a single column
   where items appear in DOM order: editorial → spotlight → legend. */
.entry-hero-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .entry-hero-top-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 28px 28px;
  }
  .entry-hero-editorial { grid-column: 1; grid-row: 1; }
  .entry-hero-toplist-col { grid-column: 2; grid-row: 1 / span 2; }
  .entry-hero-legend { grid-column: 1; grid-row: 2; }
}
@media (min-width: 1200px) {
  .entry-hero-top-row {
    grid-template-columns: 1.05fr 1fr;
    gap: 36px 36px;
  }
}

/* Editorial masthead — big Georgia headline, lede paragraph, small sub-line,
   CTA. No more redundant Shorefoodies logo mark (the top nav already carries
   the wordmark); this column reads like a magazine cover-page instead.
   Content anchors to the TOP of the column so it doesn't drift down when the
   right-column featured card + rankings stack makes the grid row taller. */
.entry-hero-editorial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.entry-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  text-wrap: balance;
  margin: 0;
  max-width: 12ch;
}
.entry-hero-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 46ch;
}
.entry-hero-lede strong { color: var(--pink); font-weight: 700; }
.entry-hero-editorial .entry-hero-pitch-sub {
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--charcoal-soft);
  margin: 0;
  max-width: 46ch;
}
.entry-hero-editorial .entry-hero-cta { margin-top: 4px; }

/* The Foodie Meter legend — 5-tier explainer strip. On desktop it lives
   below the editorial masthead in the same grid column (grid gap handles
   spacing, no border-top needed). On mobile it drops below the spotlight
   featured card so the Nadia Approved content leads. */
.entry-hero-legend {
  width: 100%;
  max-width: 560px;
}
@media (max-width: 899px) {
  /* On mobile the legend needs a visual break from the spotlight column
     it now sits under. Reintroduce the divider treatment there. */
  .entry-hero-legend {
    padding-top: 20px;
    border-top: 1px solid rgba(42,32,36,0.10);
    max-width: none;
  }
}
.entry-hero-legend .ehl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--pink); font-weight: 800;
  margin-bottom: 12px;
}
.entry-hero-legend .ehl-eyebrow .dot {
  width: 4px; height: 4px; background: var(--pink); border-radius: 50%;
}
.entry-hero-legend .ehl-list {
  display: flex; flex-direction: column;
  gap: 6px;
}
.entry-hero-legend .ehl-tier {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(42,32,36,0.08);
  background: white;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.entry-hero-legend .ehl-tier:hover {
  transform: translateX(2px);
  border-color: rgba(232,82,107,0.35);
  box-shadow: 0 6px 14px rgba(42,32,36,0.08);
}
.entry-hero-legend .ehl-tier .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 16px; line-height: 1;
  flex-shrink: 0;
}
.entry-hero-legend .ehl-tier .body {
  display: flex; flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.entry-hero-legend .ehl-tier .head {
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.entry-hero-legend .ehl-tier .head strong {
  font-family: Georgia, serif;
  font-size: 15px; font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.entry-hero-legend .ehl-tier .head em {
  font-style: normal;
  font-size: 11px; letter-spacing: 0.8px;
  color: var(--pink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.entry-hero-legend .ehl-tier .head .count {
  margin-left: auto;
  font-size: 11px; letter-spacing: 0.5px;
  color: var(--charcoal-soft);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  white-space: nowrap;
}
.entry-hero-legend .ehl-tier .desc {
  font-size: 12.5px; line-height: 1.4;
  color: var(--charcoal-soft);
  letter-spacing: 0.1px;
  font-weight: 500;
  text-transform: none;
}

.entry-hero-legend .ehl-elite    .icon { background: linear-gradient(135deg, #E8526B, #D4A24A); color: white; }
.entry-hero-legend .ehl-standout .icon { background: #E8526B; color: white; }
.entry-hero-legend .ehl-solid    .icon { background: #D4A24A; color: white; }
.entry-hero-legend .ehl-mixed    .icon { background: rgba(196,138,90,0.18); color: #8a5b3a; }
.entry-hero-legend .ehl-skip     .icon { background: rgba(107,94,84,0.14); color: #6b5e54; }

/* Small circular Nadia Approved stamp on tier rows that earn it — visual
   confirmation that Elite Bite + Standout carry the seal. */
.entry-hero-legend .ehl-tier .stamp-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background-image: url('/brand/nadia-stamp-128.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(232,82,107,0.20));
}

/* Footer note under the legend list — makes the stamp rule explicit for
   anyone who might have missed the badge on the rows above. */
.entry-hero-legend .ehl-stamp-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(232,82,107,0.06);
  border: 1px solid rgba(232,82,107,0.20);
  border-radius: 10px;
  font-size: 12px; line-height: 1.4;
  color: var(--charcoal);
  letter-spacing: 0.1px;
}
.entry-hero-legend .ehl-stamp-note strong { color: var(--pink); font-weight: 800; }
.entry-hero-legend .ehl-stamp-visual {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background-image: url('/brand/nadia-stamp-128.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  filter: drop-shadow(0 2px 4px rgba(232,82,107,0.20));
}
@media (max-width: 720px) {
  .entry-hero-legend .ehl-tier .stamp-mark { width: 32px; height: 32px; }
}

@media (max-width: 720px) {
  .entry-hero-legend { margin-top: 24px; padding-top: 20px; }
  .entry-hero-legend .ehl-tier { padding: 10px 12px; gap: 10px; }
  .entry-hero-legend .ehl-tier .icon { width: 30px; height: 30px; font-size: 14px; }
  .entry-hero-legend .ehl-tier .head strong { font-size: 14px; }
  .entry-hero-legend .ehl-tier .desc { font-size: 12px; }
}

@media (min-width: 900px) {
  .entry-hero-title { font-size: 56px; }
}
@media (min-width: 1200px) {
  .entry-hero-title { font-size: 64px; }
  .entry-hero-lede { font-size: 17px; }
}
@media (max-width: 720px) {
  .entry-hero-title { font-size: 36px; max-width: none; }
  .entry-hero-lede { font-size: 14px; }
}

/* Right column: Nadia Approved spotlight */
.entry-hero-toplist-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.entry-hero-toplist-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.entry-hero-toplist-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
}
.entry-hero-toplist-all {
  font-size: 11px;
  color: var(--pink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.entry-hero-toplist-rarity {
  font-size: 11px;
  color: var(--charcoal-soft);
  font-style: italic;
  margin-bottom: 4px;
}
.entry-hero-toplist-featured {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(232,82,107,0.12), rgba(212,162,74,0.10));
  border: 1px solid rgba(232,82,107,0.30);
  border-radius: 14px;
  padding: 18px 20px 20px;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
/* Right side of the card: tier badge on top, huge Nadia stamp filling the
   remaining vertical space so it visually anchors the card. */
.entry-hero-toplist-featured .ehf-side-col {
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 12px;
  min-width: 160px;
}
.entry-hero-toplist-featured .ehf-side-col .nadia-approved-seal {
  width: clamp(140px, 15vw, 200px);
  height: clamp(140px, 15vw, 200px);
  margin: 0;
  flex-shrink: 0;
}
.entry-hero-toplist-featured .ehf-content-col {
  min-width: 0;
}
@media (max-width: 640px) {
  .entry-hero-toplist-featured {
    grid-template-columns: 1fr;
  }
  .entry-hero-toplist-featured .ehf-side-col {
    flex-direction: row-reverse;
    justify-content: space-between;
    min-width: 0;
  }
  .entry-hero-toplist-featured .ehf-side-col .nadia-approved-seal {
    width: 88px; height: 88px;
  }
}
.entry-hero-toplist-featured:hover {
  border-color: var(--pink);
  box-shadow: 0 8px 24px rgba(232,82,107,0.15);
  transform: translateY(-2px);
}
.entry-hero-toplist-featured .ehf-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 800;
}
.entry-hero-toplist-featured .ehf-name {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.entry-hero-toplist-featured .ehf-rank-line {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px;
  font-size: 12px; letter-spacing: 0.5px;
  color: var(--charcoal-soft); font-weight: 600;
  text-transform: uppercase;
}
.entry-hero-toplist-featured .ehf-rank-line .dot { color: var(--pink); font-weight: 800; }

/* Score row — dial + label (with Google chip) sit together. The tier
   badge and Nadia stamp both moved out to the card's right-side column
   (.ehf-side-col), so this row is just the score cluster now. */
.entry-hero-toplist-featured .ehf-score-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(42,32,36,0.10);
}
.entry-hero-toplist-featured .ehf-score-row .nadia-approved-seal {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .entry-hero-toplist-featured .ehf-score-row {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .entry-hero-toplist-featured .ehf-right-stack {
    grid-column: 1 / -1;
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}

/* --- Foodie Meter dial ---
   SVG-based circular meter, arc fills clockwise based on score. Track is a
   faint pink ring, filled arc uses the brand pink → warm gold gradient
   at 85+ to visually distinguish "elite" scores. Number sits centered. */
.foodie-meter {
  position: relative;
  width: 82px; height: 82px;
  flex-shrink: 0;
}
.foodie-meter svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.foodie-meter .fm-track { fill: none; stroke: rgba(232,82,107,0.15); stroke-width: 7; }
.foodie-meter .fm-fill {
  fill: none; stroke: url(#fm-grad); stroke-width: 7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.foodie-meter .fm-inner {
  fill: var(--cream);
  stroke: rgba(232,82,107,0.12);
  stroke-width: 1;
}
.foodie-meter .fm-value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: Georgia, serif;
  color: var(--pink);
  line-height: 1;
  pointer-events: none;
}
.foodie-meter .fm-num {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
}
.foodie-meter .fm-pct { font-size: 12px; font-weight: 700; margin-top: 2px; }
.foodie-meter .fm-mark {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  font-size: 10px; color: var(--pink); font-weight: 800;
  background: var(--cream);
  padding: 0 5px;
  letter-spacing: 1px;
}

.entry-hero-toplist-featured .ehf-score-label {
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--charcoal-soft); font-weight: 700;
  line-height: 1.35;
  min-height: 0;
}
.entry-hero-toplist-featured .ehf-score-label strong {
  display: block;
  color: var(--charcoal);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 2px;
}
/* ---------- Verdict badge system ----------
   Elite gets a larger, trophy-forward treatment because it's the top verdict
   and should read louder than the rest of the row. Middle tiers stay pill-
   sized. Nadia Approved uses the actual site stamp asset as a circular seal
   so the brand mark carries the recognition. */
.tier-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11px; letter-spacing: 1.7px; text-transform: uppercase;
  font-weight: 800; line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid transparent;
  box-shadow: 0 2px 6px rgba(42,32,36,0.08);
}
.tier-badge .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; font-size: 12px; line-height: 1;
}

/* Elite Bite — the top verdict deserves a real spotlight moment.
   Larger padding, bigger type, chunkier trophy icon, richer shadow. */
.tier-badge.tb-elite {
  padding: 10px 18px 10px 12px;
  font-size: 12.5px; letter-spacing: 2px; gap: 10px;
  background: linear-gradient(135deg, #E8526B 0%, #D4A24A 100%);
  color: white;
  border: 1px solid rgba(212,162,74,0.55);
  box-shadow:
    0 4px 14px rgba(232,82,107,0.35),
    inset 0 -2px 0 rgba(0,0,0,0.08);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.tier-badge.tb-elite .icon {
  width: 24px; height: 24px; font-size: 18px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.12);
}

.tier-badge.tb-standout {
  background: #E8526B;
  color: white;
  box-shadow: 0 3px 10px rgba(232,82,107,0.28);
}
.tier-badge.tb-solid {
  background: #D4A24A;
  color: white;
  box-shadow: 0 3px 10px rgba(212,162,74,0.28);
}
.tier-badge.tb-mixed {
  background: rgba(196,138,90,0.18); color: #8a5b3a;
  border-color: rgba(196,138,90,0.35);
}
.tier-badge.tb-skip {
  background: rgba(107,94,84,0.14); color: #6b5e54;
  border-color: rgba(107,94,84,0.30);
}

/* Nadia Approved seal — the real site stamp asset, hero-sized in the
   right column of the score row. */
.nadia-approved-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 104px; height: 104px;
  background-image: url('/brand/nadia-stamp-256.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  vertical-align: middle;
  filter: drop-shadow(0 6px 18px rgba(232,82,107,0.30));
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nadia-approved-seal:hover { transform: rotate(-5deg) scale(1.04); }
.nadia-approved-seal .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;
}
@media (max-width: 720px) {
  .nadia-approved-seal { width: 88px; height: 88px; }
}

.entry-hero-toplist-featured .ehf-verdicts {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Subscore breakdown — 4 mini bars (Food / Service / Atmosphere / Value).
   Same pink→gold gradient as the Foodie Meter dial so it reads as one
   system. Desktop-only; hidden below 900px so the card doesn't overflow. */
.entry-hero-toplist-featured .ehf-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
  row-gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(42,32,36,0.10);
}
.entry-hero-toplist-featured .ehf-sub {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.entry-hero-toplist-featured .ehf-sub-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 800;
}
.entry-hero-toplist-featured .ehf-sub-bar {
  height: 6px;
  background: rgba(232,82,107,0.13);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.entry-hero-toplist-featured .ehf-sub-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, #E8526B, #D4A24A);
  border-radius: 100px;
  transform-origin: left center;
  animation: ehfBarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ehfBarGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.entry-hero-toplist-featured .ehf-sub-val {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
  font-variant-numeric: tabular-nums;
  min-width: 26px;
  text-align: right;
}
@media (max-width: 900px) {
  .entry-hero-toplist-featured .ehf-breakdown {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entry-hero-toplist-featured .ehf-sub-fill { animation: none; }
}

/* Nadia's pull quote — italic, restrained, italic pink open-quote glyph */
.entry-hero-toplist-featured .ehf-quote {
  margin: 12px 0 0;
  padding: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--charcoal);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.entry-hero-toplist-featured .ehf-quote::before {
  content: '\201C';
  color: var(--pink);
  font-weight: 700;
  margin-right: 2px;
}

/* External-rating chips — inline with tier badges in the center column so
   the Elite Bite verdict and the Google/Yelp benchmark sit shoulder to
   shoulder. Read as a horizontal "verdict row". */
.entry-hero-toplist-featured .ehf-ext-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  background: white;
  border: 1px solid rgba(42,32,36,0.10);
  border-radius: 100px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(42,32,36,0.05);
  vertical-align: middle;
}
.entry-hero-toplist-featured .ehf-ext-chip .logo {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.entry-hero-toplist-featured .ehf-ext-chip .logo svg { width: 100%; height: 100%; }
.entry-hero-toplist-featured .ehf-ext-chip .rating {
  font-family: Georgia, serif; font-weight: 700;
  color: var(--charcoal);
  font-size: 15px; line-height: 1;
  letter-spacing: -0.01em;
}
.entry-hero-toplist-featured .ehf-ext-chip .stars {
  color: #d4a24a; font-size: 11px;
  letter-spacing: -1px;
}
.entry-hero-toplist-featured .ehf-ext-chip .count {
  font-size: 10.5px;
  color: var(--charcoal-soft);
  font-weight: 700;
  letter-spacing: 0.3px;
  padding-left: 6px;
  margin-left: 2px;
  border-left: 1px solid rgba(42,32,36,0.12);
}
.entry-hero-toplist-featured .ehf-meta {
  display: none;   /* legacy container from previous layout — hide when new rows present */
}

.entry-hero-toplist {
  max-height: 320px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  scrollbar-width: thin;
}
.entry-hero-toplist::-webkit-scrollbar { width: 6px; }
.entry-hero-toplist::-webkit-scrollbar-thumb { background: rgba(42,32,36,0.20); border-radius: 3px; }

.eh-tl-row {
  display: grid;
  grid-template-columns: 18px 30px 1fr 34px;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--charcoal);
}
.eh-tl-row:last-child { border-bottom: 0; }
.eh-tl-row:hover { background: var(--cream); }
.eh-tl-row.is-top10 {
  background: linear-gradient(90deg, rgba(232,82,107,0.06), transparent 70%);
}
.eh-tl-row.is-top10:hover {
  background: linear-gradient(90deg, rgba(232,82,107,0.12), var(--cream));
}
.eh-tl-trophy { font-size: 13px; opacity: 0; line-height: 1; text-align: center; }
.eh-tl-row.is-top10 .eh-tl-trophy { opacity: 1; }
.eh-tl-rank {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal-soft);
}
.eh-tl-row.is-top10 .eh-tl-rank { color: var(--pink); }
.eh-tl-info { min-width: 0; }
.eh-tl-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eh-tl-meta {
  font-size: 10px;
  color: var(--charcoal-soft);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.eh-tl-score {
  font-family: Georgia, serif;
  font-weight: 700;
  color: var(--pink);
  font-size: 16px;
  text-align: right;
}
.entry-hero-pick {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 18px 6px 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(42,32,36,0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.entry-hero-pick:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(42,32,36,0.12);
}
.entry-hero-pick-stamp {
  display: inline-block;
  width: 56px;
  height: 56px;
  /* nadiaApproved.png lives at site root, not under /assets. URL is relative
     to this CSS file, so step up one directory. */
  background-image: url('../nadiaApproved.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
.entry-hero-pick-score {
  width: 38px !important;
  height: 38px !important;
  font-size: 16px !important;
  flex-shrink: 0;
}
.entry-hero-pick-text { display: flex; flex-direction: column; }
.entry-hero-pick-name {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.1;
}
.entry-hero-pick-rank {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-top: 3px;
}
.entry-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.eh-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.eh-tile:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 10px 24px rgba(232,82,107,0.14);
}
.eh-emoji { font-size: 38px; line-height: 1; }
.eh-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--charcoal);
}
.entry-hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--pink);
  color: white;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 13px;
}
.entry-hero-cta-mobile { display: none; }

@media (min-width: 1080px) {
  .entry-hero { padding: 40px 48px 56px; }
  .eh-tile { padding: 34px 18px; gap: 12px; }
  .eh-emoji { font-size: 42px; }
  .eh-label { font-size: 15px; }
}

@media (max-width: 740px) {
  .entry-hero {
    padding: 18px 16px 26px;
  }
  .entry-hero-eyebrow { margin-bottom: 12px; }
  .entry-hero-pitch { font-size: 12px; }
  .entry-hero-pitch-sub { display: none; }
  .entry-hero-top-row { gap: 16px; margin-bottom: 16px; }
  /* On phones both columns stack vertically — editorial masthead first,
     then the Nadia Approved spotlight (featured card + top rankings).
     Editorial CTA still hides because a full-width mobile CTA follows
     below the tile grid. */
  .entry-hero-editorial .entry-hero-cta { display: none; }
  .entry-hero-toplist-col {
    /* Show it, but tighten spacing so it doesn't push the tile grid too
       far down the fold. */
    margin-top: 4px;
  }
  .entry-hero-cta-mobile {
    display: block;
    margin-top: 18px;
    padding: 13px 18px;
    text-align: center;
  }
  .entry-hero-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }
  .eh-tile {
    padding: 12px 6px;
    border-radius: 14px;
    gap: 4px;
    aspect-ratio: 1;
  }
  .eh-tile:active { transform: scale(0.96); border-color: var(--pink); }
  .eh-emoji { font-size: 26px; }
  .eh-label { font-size: 10px; line-height: 1.1; }
  .entry-hero-cta {
    display: block;
    padding: 13px 18px;
    text-align: center;
  }
}

/* ===== Versus section: Top by Category (3 cols) + Skip 15 ===== */
/* Default: mobile-only single dropdown showing, desktop 3-col grid hidden. */
.versus-mobile-only { display: block; }
.versus-cuisine-grid { display: none; }

@media (min-width: 900px) {
  /* Wider left column to fit 3 cuisine mini-columns. */
  .versus-grid-v2 {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 36px;
    align-items: start;
  }
  .versus-mobile-only { display: none; }
  .versus-cuisine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 16px;
  }
  .versus-cuisine-col h4 {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--cream);
    margin: 0 0 10px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .versus-cuisine-col h4 .count {
    font-weight: 400;
    color: rgba(251, 246, 229, 0.5);
    font-size: 12px;
  }
  /* Tighten the row layout when 3 sit side by side. */
  .versus-cuisine-col .versus-row {
    padding: 10px 12px;
    gap: 10px;
  }
  .versus-cuisine-col .versus-row .num { font-size: 18px; min-width: 22px; }
  .versus-cuisine-col .versus-row .name { font-size: 13px; }
  .versus-cuisine-col .versus-row .meta { font-size: 10px; }
  .versus-cuisine-col .versus-row .score { font-size: 17px; }
}

/* ===== Mobile chrome: chip rail + bottom tab bar ===== */
/* Injected by assets/mobile-nav.js on every public page. Hidden by default
   so desktop is unchanged; the @media block below reveals them at phone
   breakpoints. */
.mn-chip-rail-wrap,
.mn-tabs { display: none; }

@media (max-width: 740px) {
  /* Horizontal chip rail directly under the top nav. Scrolls horizontally;
     first chip is the "All ranked" escape hatch back to the full leaderboard.
     Not sticky on mobile because the wrapped nav is taller than a single row
     and sticky positioning would force the rail to overlap nav content as
     the user scrolls. */
  .mn-chip-rail-wrap {
    display: block;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .mn-chip-rail {
    display: flex;
    gap: 8px;
    padding: 0 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .mn-chip-rail::-webkit-scrollbar { display: none; }
  .mn-chip {
    flex: 0 0 auto;
    padding: 7px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 100px;
    text-decoration: none;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .mn-chip-tag { background: rgba(212, 162, 74, 0.12); border-color: rgba(212, 162, 74, 0.30); }
  .mn-chip-all {
    background: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
  }

  /* Bottom tab bar: fixed, safe-area aware, 4 destinations. */
  .mn-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: white;
    border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 14px rgba(42, 32, 36, 0.06);
  }
  .mn-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px 4px;
    text-decoration: none;
    color: var(--charcoal-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 10px;
    min-height: 50px;
  }
  .mn-tab .mn-ico {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mn-tab .mn-ico svg { width: 22px; height: 22px; }
  .mn-tab.is-active { color: var(--pink); }
  .mn-tab.is-active .mn-ico { color: var(--pink); }

  /* Push static page content above the tab bar so the last card is not
     hidden behind it. Includes the safe-area inset for notched phones. */
  body.mn-has-tabs {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
