:root {
  --ink: #17241f;
  --muted: #5f6b65;
  --paper: #f7f3e9;
  --card: #fffdf7;
  --green: #145a44;
  --green-dark: #0d3e2f;
  --mint: #dcebdc;
  --lime: #d8e45b;
  --orange: #dc7048;
  --peach: #f3d3bd;
  --yellow: #f7e8a7;
  --line: #d7d4c8;
  --shadow: 0 18px 50px rgba(25, 52, 42, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
svg { display: block; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .7rem 1rem; color: white; background: var(--green-dark); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.site-header { max-width: 1220px; margin: auto; padding: 1.25rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: .9rem; line-height: 1.05; letter-spacing: -.01em; }
.brand svg { width: 38px; fill: var(--lime); stroke: var(--green-dark); stroke-width: 2; }
.brand strong { font-size: 1.05rem; }
nav { display: flex; align-items: center; gap: 1.4rem; font-size: .9rem; font-weight: 650; }
nav a { text-decoration: none; }
.nav-report { border: 1px solid var(--green-dark); border-radius: 999px; padding: .55rem .9rem; }

.hero { max-width: 1220px; min-height: 590px; margin: 0 auto; padding: 4.4rem 1.2rem 5rem; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); position: relative; }
.hero::before { content: ""; position: absolute; inset: 6% -8% auto auto; width: 390px; height: 390px; border-radius: 50%; background: var(--mint); filter: blur(1px); z-index: -1; }
.eyebrow { margin: 0 0 .8rem; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 780px; margin-bottom: 1.4rem; font-size: clamp(3.4rem, 7.8vw, 6.8rem); }
h1 em { color: var(--orange); font-weight: 500; }
.lede { max-width: 690px; margin-bottom: 2rem; color: #3f4d46; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-search label { display: block; margin-bottom: .5rem; font-size: .86rem; font-weight: 750; }
.search-control { max-width: 700px; display: flex; align-items: center; padding: .4rem; border: 1px solid #c7c8bc; border-radius: 13px; background: white; box-shadow: var(--shadow); }
.search-control svg, .directory-search svg { flex: 0 0 auto; width: 23px; margin-left: .65rem; fill: none; stroke: var(--green-dark); stroke-width: 2; }
.search-control input { width: 100%; min-width: 0; padding: .65rem; border: 0; outline: 0; background: transparent; }
.search-control button, .report-form button { border: 0; border-radius: 9px; padding: .75rem 1rem; color: white; background: var(--green-dark); font-weight: 750; white-space: nowrap; }
.search-note { margin: .75rem 0 0; color: var(--muted); font-size: .85rem; }

.hero-receipt { padding: 1.5rem; border: 1px solid rgba(13,62,47,.15); border-radius: 7px; background: #fffefa; box-shadow: 18px 20px 0 var(--peach), var(--shadow); transform: rotate(1.4deg); position: relative; }
.hero-receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; background: linear-gradient(135deg, transparent 9px, #fffefa 0) 0 0/18px 18px repeat-x; }
.receipt-top { display: flex; justify-content: space-between; padding-bottom: .7rem; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.receipt-name { margin: 1rem 0 1.5rem; font-family: Georgia, serif; font-size: 1.45rem; }
.receipt-line, .receipt-total { display: flex; justify-content: space-between; gap: 1rem; }
.receipt-line { margin: .5rem 0; font-size: .9rem; }
.receipt-line.fee { color: var(--green); }
.receipt-total { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--line); align-items: baseline; }
.receipt-total strong { font-family: Georgia, serif; font-size: 2.1rem; }
.hero-receipt > p:not(.receipt-name) { margin: .6rem 0 1.2rem; color: var(--muted); font-size: .74rem; }
.receipt-stamp { display: inline-block; border: 1px solid var(--green); border-radius: 4px; padding: .25rem .45rem; color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); }

.trust-strip { padding: 1.2rem max(1.2rem, calc((100% - 1180px)/2)); display: flex; justify-content: space-between; gap: 1rem; color: #eef8ee; background: var(--green-dark); font-size: .9rem; }
.trust-strip p { margin: 0; }
.trust-strip a { color: var(--lime); font-weight: 700; white-space: nowrap; }

.directory { max-width: 1220px; margin: auto; padding: 5rem 1.2rem 6rem; scroll-margin-top: 1rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.section-heading > p { max-width: 250px; margin-bottom: .35rem; color: var(--muted); font-size: .85rem; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.directory-search { min-width: 280px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.directory-search input { width: 100%; padding: .72rem; border: 0; outline: 0; background: transparent; }
.filter-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-button { border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; color: var(--ink); background: transparent; font-size: .78rem; font-weight: 700; }
.filter-button:hover, .filter-button.is-active { color: white; border-color: var(--green-dark); background: var(--green-dark); }
.legend { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 2rem; color: var(--muted); font-size: .73rem; }
.dot, .status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.dot.secondary, .status.secondary i { background: #c17d22; }
.dot.needs, .status.needs i { background: #a35b4d; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.restaurant-card { min-height: 390px; padding: 1.35rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .18s, box-shadow .18s; }
.restaurant-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.restaurant-card.featured { border-color: #b5c7b5; background: linear-gradient(160deg, #fffef8, #f0f7ec); }
.restaurant-card.secondary-card { background: #fff8e7; }
.restaurant-card.lead-card { background: #faf4f0; }
.card-top { min-height: 2.5rem; display: flex; justify-content: space-between; align-items: start; gap: .5rem; color: var(--muted); font-size: .67rem; }
.status { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .28rem .48rem; color: var(--green-dark); background: #dfeee2; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.status.secondary { color: #75450d; background: #f9e3b7; }
.status.needs { color: #733b30; background: #f2d8d0; }
.date { text-align: right; }
.restaurant-card h3 { margin: .9rem 0 .15rem; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.1; }
.location { margin-bottom: 1.35rem; color: var(--muted); font-size: .78rem; }
.charge { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; }
.charge strong { font-family: Georgia, serif; font-size: 2.25rem; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.charge span { padding-left: .8rem; border-left: 1px solid var(--line); color: var(--muted); font-size: .72rem; line-height: 1.25; }
.charge.muted strong { color: #865a4e; }
.tip-note { margin-bottom: 1.2rem; display: grid; grid-template-columns: 1.4rem 1fr; gap: .55rem; color: #405047; font-size: .76rem; }
.tip-note span { width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.tip-note.neutral span { background: #657971; }
.tip-note.caution span { background: var(--orange); }
.details-button { width: 100%; margin-top: auto; padding: .7rem 0 0; display: flex; justify-content: space-between; border: 0; border-top: 1px solid var(--line); color: var(--green-dark); background: transparent; font-size: .78rem; font-weight: 800; text-align: left; }
.restaurant-card[hidden] { display: none; }
.empty-state { padding: 3rem 1.5rem; border: 1px dashed #aaa99e; border-radius: var(--radius); text-align: center; }
.empty-state h3 { font-family: Georgia, serif; font-size: 1.8rem; }
.button-link { display: inline-block; padding: .65rem 1rem; border-radius: 8px; color: white; background: var(--green-dark); text-decoration: none; font-weight: 700; }
.noscript-note { margin-top: 1.2rem; padding: 1rem; border: 1px solid #d4c47b; background: #fff6cc; }

.method { padding: 6rem max(1.2rem, calc((100% - 1180px)/2)); color: white; background: var(--green-dark); display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.method .eyebrow { color: var(--lime); }
.method h2 { margin-bottom: 1.5rem; }
.method-intro > p:last-child { max-width: 500px; color: #c9d8d1; }
.method-steps { margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.method-steps li > span { color: var(--lime); font-size: .75rem; font-weight: 800; }
.method-steps h3 { margin-bottom: .25rem; font-family: Georgia, serif; font-size: 1.3rem; }
.method-steps p { margin: 0; color: #c9d8d1; font-size: .86rem; }
.caveat { grid-column: 1 / -1; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; border: 1px solid rgba(216,228,91,.5); border-radius: 10px; }
.caveat strong { color: var(--lime); }
.caveat p { margin: 0; color: #d8e0db; font-size: .85rem; }

.report { max-width: 1180px; margin: 0 auto; padding: 6rem 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); }
.report h2 { margin-bottom: 1.4rem; }
.report > div > p:not(.eyebrow) { color: var(--muted); }
.privacy-list { padding-left: 1.2rem; color: var(--muted); font-size: .83rem; }
.privacy-list li { margin: .55rem 0; }
.report-form { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.report-form label { display: block; margin: .8rem 0 .3rem; font-size: .78rem; font-weight: 750; }
.report-form label:first-child { margin-top: 0; }
.report-form label span { color: var(--muted); font-weight: 500; }
.report-form input, .report-form select, .report-form textarea { width: 100%; border: 1px solid #bbbcb3; border-radius: 7px; padding: .65rem .7rem; color: var(--ink); background: white; }
.report-form textarea { resize: vertical; }
.report-form button { width: 100%; margin-top: 1rem; display: flex; justify-content: space-between; }
.form-status { margin: .65rem 0 0; color: var(--muted); font-size: .7rem; text-align: center; }
.source-list { max-width: 1180px; margin: -2rem auto 4rem; padding: 0 1.2rem; }
.source-list details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-list summary { padding: 1rem 0; cursor: pointer; font-weight: 750; }
.source-list li { margin: .5rem 0; color: var(--muted); font-size: .82rem; }

footer { padding: 3rem max(1.2rem, calc((100% - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; color: #d6e1db; background: #0a2e23; }
.footer-brand { color: white; }
footer p { margin: 0; font-family: Georgia, serif; font-size: 1.3rem; }
.footer-meta { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #a7b7b0; font-family: inherit; font-size: .72rem; }

dialog { width: min(720px, calc(100% - 2rem)); max-height: min(860px, calc(100vh - 2rem)); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: var(--card); box-shadow: 0 24px 90px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(9, 30, 24, .72); backdrop-filter: blur(3px); }
.dialog-shell { padding: clamp(1.25rem, 5vw, 2.4rem); position: relative; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.4rem; }
.detail-heading { padding-right: 3rem; }
.detail-heading h2 { margin: .6rem 0 .25rem; font-size: clamp(2.2rem, 7vw, 3.6rem); }
.detail-address { color: var(--muted); font-size: .83rem; }
.detail-summary { margin: 1.5rem 0; padding: 1rem; border-left: 4px solid var(--green); background: #edf5ea; }
.detail-summary.needs { border-color: var(--orange); background: #fae9e2; }
.detail-section { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.detail-section h3 { margin-bottom: .7rem; font-family: Georgia, serif; font-size: 1.25rem; }
.condition-list { display: grid; gap: .6rem; margin: 0; }
.condition-row { padding: .75rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem; border-radius: 8px; background: #f1efe7; }
.condition-row dt { font-weight: 750; }
.condition-row dd { margin: 0; font-weight: 800; }
.condition-row small { grid-column: 1 / -1; color: var(--muted); }
.price-controls { display: flex; gap: .5rem; margin-bottom: .8rem; }
.price-controls button { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .75rem; background: white; font-size: .75rem; font-weight: 750; }
.price-controls button.is-active { color: white; border-color: var(--green); background: var(--green); }
.price-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.price-table th, .price-table td { padding: .65rem .35rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table strong { color: var(--green); font-size: 1rem; }
.price-caveat { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; }
.source-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--green); font-weight: 800; }
body.dialog-open { overflow: hidden; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 3rem; grid-template-columns: 1fr; }
  .hero-receipt { max-width: 440px; justify-self: center; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .directory-search { min-width: 0; }
  .method { grid-template-columns: 1fr; gap: 2rem; }
  .caveat { grid-template-columns: 1fr; gap: .4rem; }
}

@media (max-width: 640px) {
  .site-header { padding-block: .9rem; }
  nav a:not(.nav-report) { display: none; }
  .nav-report { font-size: .76rem; }
  .hero { padding-block: 2.8rem 4.5rem; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero::before { width: 250px; height: 250px; }
  .search-control button { padding-inline: .7rem; }
  .hero-receipt { margin-right: 1rem; }
  .trust-strip { flex-direction: column; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .section-heading > p { max-width: none; }
  .filter-group { overflow-x: auto; flex-wrap: nowrap; padding: .2rem 0 .5rem; }
  .filter-button { flex: 0 0 auto; }
  .card-grid { grid-template-columns: 1fr; }
  .restaurant-card { min-height: 350px; }
  .method, .report { padding-block: 4.5rem; }
  .report { grid-template-columns: 1fr; gap: 2rem; }
  footer { grid-template-columns: 1fr; }
  .footer-meta { grid-column: auto; }
  .price-table { font-size: .73rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
