:root {
  color-scheme: light;
  --ink: #162128;
  --muted: #617078;
  --line: #d8deda;
  --paper: #f5f0e8;
  --panel: #ffffff;
  --green: #174e49;
  --green-deep: #0f3a37;
  --clay: #b96a4e;
  --gold: #cfa15c;
  --blue: #406274;
  --charcoal: #10212b;
  --shadow: 0 24px 80px rgba(16, 33, 43, 0.12);
  --font-display: "Sora", "Aptos", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Aptos", "Segoe UI", sans-serif;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

body.public-page {
  background:
    radial-gradient(circle at top right, rgba(207, 161, 92, 0.12), transparent 25%),
    linear-gradient(180deg, #fbf7f2 0%, #f3ede4 100%);
}

.site-footer {
  align-items: flex-start;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  display: grid;
  font-size: 0.86rem;
  gap: 24px 48px;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, auto);
  padding: 22px clamp(20px, 5vw, 64px);
}

.site-footer a {
  color: white;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 10px 24px;
  grid-template-columns: repeat(3, max-content);
  justify-content: end;
  line-height: 1.35;
}

.site-footer a[aria-current="page"] {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-shell {
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.legal-shell h1,
.legal-shell h2 {
  font-family: var(--font-display);
}

.legal-shell h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.legal-shell h2 {
  font-size: 1.35rem;
  margin: 34px 0 10px;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-shell li + li {
  margin-top: 7px;
}

.legal-shell a {
  color: var(--green-deep);
  font-weight: 800;
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 28px;
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(16, 33, 43, 0.08);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form h2 {
  margin: 0;
}

.contact-form label {
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form button {
  background: var(--green);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 16px;
}

.contact-form-note {
  font-size: 0.84rem;
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.public-header {
  backdrop-filter: blur(14px);
  gap: 12px;
  justify-content: flex-start;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 48px;
  height: 48px;
  object-fit: contain;
  width: 48px;
}

nav a {
  color: var(--muted);
  font-weight: 700;
  margin-left: 18px;
  text-decoration: none;
}

.public-nav {
  display: flex;
  gap: 10px;
}

.public-nav a {
  border-radius: 999px;
  padding: 8px 12px;
  margin-left: 0;
}

.public-nav a:hover,
.public-nav a:focus-visible {
  background: rgba(16, 33, 43, 0.05);
}

.home-shell {
  min-height: calc(100vh - 72px);
}

.home-hero {
  align-items: center;
  background:
    linear-gradient(115deg, rgba(16, 33, 43, 0.94), rgba(23, 78, 73, 0.65)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80") center/cover;
  display: flex;
  min-height: min(86vh, 860px);
  padding: clamp(28px, 7vw, 86px);
}

.home-copy {
  color: white;
  max-width: 760px;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.home-copy .eyebrow,
.city-hero .eyebrow {
  color: #ffd483;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 22px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin-bottom: 8px;
}

h3 {
  font-family: var(--font-display);
}

p {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.home-copy p,
.city-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 620px;
}

.hero-brand-lockup,
.city-brand-lockup {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  width: min(100%, 380px);
}

.hero-brand-lockup-image,
.city-brand-lockup-image {
  display: block;
  height: auto;
  width: 100%;
}

.primary-link,
button {
  background: linear-gradient(135deg, var(--green), var(--blue));
  border: 0;
  border-radius: 7px;
  box-shadow: 0 16px 40px rgba(23, 78, 73, 0.22);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-weight: 800;
  justify-content: center;
  padding: 14px 18px;
  text-decoration: none;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-highlights,
.city-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-highlights span,
.city-highlights span {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: white;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 9px 12px;
}

.hero-proof,
.city-intro-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.hero-proof div,
.city-intro-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  min-height: 100%;
  padding: 14px;
}

.hero-proof strong,
.city-intro-grid strong {
  color: #ffe0a7;
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-proof span,
.city-intro-grid span {
  color: rgba(255, 255, 255, 0.86);
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
}

.city-trust-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 620px;
}

.home-band {
  padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 64px);
}

.home-band-alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(16, 33, 43, 0.05);
  border-bottom: 1px solid rgba(16, 33, 43, 0.05);
}

.band-shell {
  margin: 0 auto;
  max-width: 1240px;
}

.section-heading-wide {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.benefit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.comparison-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.benefit-item {
  border-top: 1px solid rgba(16, 33, 43, 0.12);
  padding-top: 16px;
}

.benefit-item span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.benefit-item h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.benefit-item p {
  margin-bottom: 0;
}

.comparison-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 33, 43, 0.08);
  border-radius: 8px;
  min-height: 100%;
  padding: 20px;
}

.comparison-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.comparison-card strong {
  color: var(--green);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin: 14px 0 6px;
  text-transform: uppercase;
}

.comparison-card p:last-child {
  margin-bottom: 0;
}

.two-column-band {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-item {
  border-bottom: 1px solid rgba(16, 33, 43, 0.08);
  padding-bottom: 18px;
}

.process-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 7px;
}

.city-hero {
  background:
    linear-gradient(135deg, rgba(16, 33, 43, 0.95), rgba(23, 78, 73, 0.82)),
    url("https://images.unsplash.com/photo-1559339352-11d035aa65de?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: white;
  padding: clamp(28px, 6vw, 72px);
}

.city-hero-inner {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  margin: 0 auto;
  max-width: 1240px;
}

.city-copy {
  padding-top: 14px;
}

.finder-panel {
  background: rgba(255, 252, 248, 0.98);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 24px;
}

.finder-heading {
  margin-bottom: 18px;
}

.finder-heading h2 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.finder-heading p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 7px;
}

select {
  appearance: none;
  background: #f8f4ee;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

input[type="search"] {
  background: #f6f7f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 0 12px;
  width: 100%;
}

.advanced {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 16px;
}

summary {
  color: var(--green-deep);
  cursor: pointer;
  font-weight: 800;
}

.option-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.option-grid label {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 0.94rem;
  gap: 8px;
}

.finder-panel button {
  margin-top: 20px;
  width: 100%;
}

.results-section {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.results-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 760px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 14px;
}

.section-heading p {
  margin-bottom: 0;
}

.results-list {
  display: grid;
  gap: 18px;
}

.restaurant-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 220px minmax(0, 1fr) 210px;
  overflow: hidden;
  padding: 18px;
}

.restaurant-card img {
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-body h3 {
  font-size: 1.38rem;
  margin: 0 0 8px;
}

.result-title-link {
  color: var(--ink);
  text-decoration: none;
}

.result-title-link:hover,
.result-title-link:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.result-kicker {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  gap: 8px;
  margin-bottom: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag {
  background: #edf2ef;
  border-radius: 999px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}

.review-callout {
  border-left: 2px solid rgba(23, 78, 73, 0.18);
  margin-top: 14px;
  padding-left: 14px;
}

.review-callout strong {
  color: var(--green);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.review-callout p {
  margin-bottom: 0;
}

.result-actions {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-width: 160px;
}

.result-actions a {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-deep);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.result-actions svg {
  fill: currentColor;
  flex: 0 0 17px;
  height: 17px;
  width: 17px;
}

.result-actions a:first-child {
  background: #edf5f2;
  border-color: #d5e6df;
}

.show-more-results {
  display: flex;
  margin: 24px auto 0;
  min-width: 210px;
}

.empty-state {
  background: white;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
}

.admin-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.admin-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.admin-heading h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.admin-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 1fr);
}

.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.admin-panel h2 {
  font-size: 1.35rem;
}

.range-field {
  display: block;
  margin-top: 20px;
}

.range-field span {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

input[type="range"] {
  accent-color: var(--green);
  width: 100%;
}

.admin-actions {
  margin-top: 22px;
}

.admin-result {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 28px minmax(0, 1fr) 54px;
  padding: 14px 0;
}

.admin-result:first-child {
  padding-top: 0;
}

.admin-result:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-result span {
  align-items: center;
  background: #eef3f1;
  border-radius: 999px;
  color: var(--green-deep);
  display: inline-flex;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.admin-result p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.admin-result b {
  color: var(--green);
  font-size: 1.25rem;
  text-align: right;
}

.management-toolbar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(280px, 1fr) 190px 150px;
  margin-bottom: 20px;
  padding: 18px;
}

.restaurant-table-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.restaurant-table {
  display: grid;
}

.restaurant-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1.3fr) minmax(130px, 0.8fr) minmax(140px, 0.8fr) 70px minmax(150px, 0.9fr) 160px;
  padding: 14px 0;
}

.restaurant-row-head {
  border-top: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding-top: 0;
  text-transform: uppercase;
}

.restaurant-row p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.status-pill {
  background: #eef3f1;
  border-radius: 999px;
  color: var(--green-deep);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  justify-content: center;
  padding: 7px 9px;
  text-transform: capitalize;
}

.status-pill.replace-before-production,
.status-pill.replace_before_production {
  background: #fff3df;
  color: #7a4c09;
}

.status-pill.blocked {
  background: #ffe8e1;
  color: #8a321c;
}

.status-pill.needs-review {
  background: #fff3df;
  color: #7a4c09;
}

.status-pill.near-ready {
  background: #e9f5ed;
  color: var(--green-deep);
}

.candidate-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
}

.candidate-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.priority-badge {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.candidate-card h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.candidate-checklist {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 14px;
}

.candidate-checklist ul {
  color: var(--muted);
  margin: 12px 0 0;
  padding-left: 18px;
}

.candidate-checklist li {
  margin-bottom: 6px;
}

.source-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 14px;
}

.source-note a {
  color: var(--green-deep);
  font-weight: 800;
}

.candidate-promote-link {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-deep);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 12px;
  text-decoration: none;
}

.checklist-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist-grid label {
  align-items: center;
  background: #f6f7f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  gap: 8px;
  padding: 12px;
}

.record-preview {
  background: #f6f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  max-height: 520px;
  overflow: auto;
  padding: 16px;
}

.record-preview code {
  font-size: 0.86rem;
  white-space: pre;
}

.field-stack {
  display: grid;
  gap: 14px;
}

.visit-review-fields {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.visit-review-fields legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 800;
}

.field-stack label {
  display: block;
}

.field-stack textarea,
.field-stack input,
.field-stack select {
  background: #f6f7f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  margin-top: 7px;
  padding: 10px 12px;
  width: 100%;
}

.narrow-panel {
  margin: 0 auto;
  max-width: 560px;
}

.verification-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 150px;
}

.inline-link {
  margin-top: 10px;
  max-width: 110px;
}

.compact-form {
  margin-top: 12px;
}

.hours-grid {
  display: grid;
  gap: 10px;
}

.hours-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 140px 120px minmax(0, 1fr) minmax(0, 1fr);
}

.hours-toggle {
  align-items: center;
  display: flex;
  gap: 8px;
}

.hours-toggle span {
  margin-bottom: 0;
}

.setup-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.setup-status strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.setup-ok {
  background: #edf7ef;
  border-color: #cfe3d4;
}

.setup-warn {
  background: #fff8ea;
  border-color: #ecd8a8;
}

.detail-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 8px;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--green-deep);
  font-weight: 800;
  text-decoration: none;
}

.detail-hero {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 52px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  margin-bottom: 28px;
}

.detail-hero img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.detail-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.detail-meta {
  margin-bottom: 14px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-actions a {
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 7px;
  color: white;
  font-weight: 900;
  padding: 11px 14px;
  text-decoration: none;
}

.restaurant-actions {
  margin-top: 22px;
}

.restaurant-actions a {
  background: white;
  color: var(--green-deep);
}

.restaurant-actions a:first-child {
  background: #edf5f2;
  border-color: #d5e6df;
}

.detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 1fr 1fr;
}

.detail-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.detail-panel h2 {
  font-size: 1.25rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 4px 0 0;
}

.detail-panel h3 {
  font-size: 1rem;
  margin: 22px 0 8px;
}

.related-restaurants {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 36px;
}

.visit-reviews {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 36px;
}

.visit-reviews-intro {
  max-width: 720px;
}

.visit-review-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.visit-review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.visit-review-card strong {
  color: var(--green-deep);
  font-family: var(--font-display);
  line-height: 1.4;
}

.visit-review-card > span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
}

.visit-review-source {
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.related-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  text-decoration: none;
}

.related-card strong {
  color: var(--green-deep);
  font-family: var(--font-display);
}

.related-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.editorial-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.editorial-heading {
  max-width: 820px;
}

.editorial-heading h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.editorial-heading > p:last-child {
  font-size: 1.12rem;
}

.editorial-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.detail-empty {
  margin: 0 auto;
  max-width: 680px;
}

.metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 20px;
}

.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.metric-card span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--green);
  font-size: 2rem;
}

.analytics-grid {
  margin-bottom: 20px;
}

.analytics-list {
  display: grid;
  gap: 10px;
}

.analytics-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.analytics-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.analytics-row strong {
  color: var(--green);
}

.analytics-row small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 3px;
}

.analytics-events-wrap {
  margin-top: 20px;
}

.event-log {
  display: grid;
}

.event-row {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  padding: 14px 0;
}

.event-row:first-child {
  border-top: 0;
}

.event-row p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.event-row code {
  background: #f6f7f5;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  padding: 10px;
}

@media (max-width: 860px) {
  .city-hero-inner,
  .restaurant-card,
  .section-heading-wide,
  .benefit-grid,
  .two-column-band,
  .hero-proof,
  .city-intro-grid,
  .admin-grid,
  .management-toolbar,
  .candidate-grid,
  .detail-hero,
  .detail-grid,
  .metric-grid,
  .event-row {
    grid-template-columns: 1fr;
  }

  .related-grid,
  .visit-review-list,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-table {
    gap: 14px;
  }

  .restaurant-row,
  .restaurant-row-head {
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .restaurant-row-head {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .result-actions {
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (max-width: 540px) {
  .field-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    height: auto;
    min-height: 64px;
    padding-bottom: 14px;
    padding-top: 14px;
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header.public-header {
    align-items: center;
    flex-direction: row;
    min-height: 64px;
    padding: 8px 18px;
  }

  .public-header .brand-mark {
    flex-basis: 44px;
    height: 44px;
    width: 44px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .home-hero,
  .city-hero,
  .results-section,
  .detail-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .hero-highlights,
  .city-highlights {
    align-items: start;
    flex-direction: column;
  }

  .hero-brand-lockup,
  .city-brand-lockup {
    width: min(58vw, 210px);
  }

  .restaurant-card {
    padding: 0;
  }

  .restaurant-card img {
    border-radius: 0;
  }

  .card-body,
  .result-actions {
    padding: 0 16px 16px;
  }

  .home-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    gap: 18px;
  }

  .footer-links {
    gap: 10px 18px;
    grid-template-columns: repeat(2, max-content);
  }
}
