:root {
  --forest: #173b35;
  --forest-dark: #102d29;
  --forest-soft: #e8efeb;
  --gold: #bd8c35;
  --gold-light: #f2e7d1;
  --ink: #17201e;
  --muted: #65716d;
  --paper: #f7f5ef;
  --white: #fff;
  --line: #d9ddd8;
  --silver: #a9b0b0;
  --bronze: #a66a3f;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(23, 59, 53, 0.09);
  --shell: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.server-warning {
  padding: 16px 0;
  background: #fff0d6;
  border-bottom: 1px solid #dca94e;
  color: #553a0d;
}
.server-warning-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.server-warning strong { display: block; }
.server-warning code {
  padding: 3px 6px;
  background: rgba(255, 255, 255, .7);
  font-size: .9em;
}

.utility-bar { background: var(--forest-dark); color: #dbe5e1; font-size: .75rem; letter-spacing: .04em; }
.utility-inner { min-height: 32px; display: flex; justify-content: space-between; align-items: center; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 245, 239, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.masthead { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.1; }
.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.22rem; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.site-nav a { padding: 10px 0; text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }
.site-nav .nav-cta { padding: 11px 17px; border: 1px solid var(--forest); color: var(--forest); }
.site-nav .nav-cta:hover, .site-nav .nav-cta.active { background: var(--forest); color: #fff; }
.menu-button { display: none; min-height: 48px; border: 0; background: transparent; color: var(--ink); font-weight: 700; }

h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.lead { color: #4e5b57; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.7; }
.muted { color: var(--muted); }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--forest); background: var(--forest); color: #fff; text-decoration: none; font-size: .88rem; font-weight: 700; transition: .2s ease; }
.button:hover { background: var(--forest-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--forest-soft); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 700; text-underline-offset: 4px; }
.text-link.light { color: #fff; }
.contact-email { min-height: 44px; display: inline-flex; align-items: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.compact { padding: clamp(48px, 7vw, 78px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--forest); color: #fff; }
.section-heading { max-width: 730px; margin-bottom: 38px; }
.section-heading.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.section-heading h2 { margin-bottom: 12px; }

.hero { min-height: 650px; display: grid; align-items: center; color: #fff; background:
  linear-gradient(90deg, rgba(10, 37, 32, .96) 0%, rgba(10, 37, 32, .82) 48%, rgba(10, 37, 32, .35) 100%),
  radial-gradient(circle at 80% 25%, #7d947f 0, #355c51 34%, #183a34 72%); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: 8%; top: 18%; border: 1px solid rgba(255,255,255,.17); rotate: 45deg; }
.hero-content { position: relative; z-index: 1; max-width: 820px; padding-block: 92px; }
.hero h1 { max-width: 790px; }
.hero .lead { max-width: 680px; margin: 25px 0 32px; color: #e0e8e4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button { background: #fff; border-color: #fff; color: var(--forest); }
.hero .button.secondary { background: transparent; color: #fff; }
.hero .button.secondary:hover { background: rgba(255,255,255,.1); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.intro-grid h2 { max-width: 460px; }
.rule-stat { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 28px; flex-wrap: wrap; }
.rule-stat strong { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.rule-stat span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.featured-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 480px; background: #fff; box-shadow: var(--shadow); }
.photo-placeholder { position: relative; min-height: 260px; overflow: hidden; background: linear-gradient(145deg, #789287, #173b35); }
.photo-placeholder::before, .photo-placeholder::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.22); rotate: 45deg; }
.photo-placeholder::before { width: 220px; height: 220px; right: -50px; top: -60px; }
.photo-placeholder::after { width: 120px; height: 120px; left: 18%; bottom: -55px; }
.photo-label { position: absolute; left: 22px; bottom: 18px; color: rgba(255,255,255,.82); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.featured-copy { padding: clamp(30px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: start; }
.meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-bottom: 18px; color: var(--muted); font-size: .82rem; }
.featured-copy h2 { margin-bottom: 15px; }
.featured-copy .score-line { margin: 20px 0 25px; }
.score { display: inline-flex; align-items: baseline; gap: 4px; color: var(--forest); font-family: var(--serif); font-size: 2.6rem; font-weight: 700; }
.score small { color: var(--muted); font-family: var(--sans); font-size: .76rem; font-weight: 600; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border: 1px solid var(--line); transition: .2s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card a { text-decoration: none; }
.card-copy { padding: 24px; }
.card-copy h3 { margin: 8px 0 10px; }
.card-copy p { color: var(--muted); font-size: .92rem; }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.mini-score { color: var(--forest); font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.badge { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 9px; background: var(--gold-light); color: #795417; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge.silver { background: #edf0f0; color: #5c6969; }
.badge.bronze { background: #f2e3d9; color: #804a2b; }
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rank-item { min-height: 155px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; transition: .2s; }
.rank-item:hover { background: #fff; }
.rank-item span { color: var(--gold); font-family: var(--serif); font-size: 1.3rem; }
.rank-item h3 { margin-top: 20px; }
.homepage-best-grid .rank-item:last-child { grid-column: 1 / -1; }
.best-of-intro { max-width: 850px; }
.best-of-card { cursor: default; }
.best-of-card:hover { background: transparent; }
.best-of-card-link { cursor: pointer; color: inherit; }
.best-of-card-link:hover { background: #fff; }
.best-of-card-primary { grid-column: 1 / -1; min-height: 185px; }
.best-of-preview-card { min-height: 390px; justify-content: flex-start; gap: 24px; }
.best-of-card h3 { margin-bottom: 14px; }
.coming-soon { display: inline-flex; margin: 0; padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.coming-soon.available { border-color: var(--gold); color: var(--ink); }
.preview-label { display: inline-flex; margin: 0 0 18px; padding: 6px 10px; border: 1px solid var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.top-five-list { margin: 0; padding: 0; list-style: none; counter-reset: top-five; }
.top-five-list li { counter-increment: top-five; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.top-five-list li::before { content: counter(top-five, decimal-leading-zero); color: var(--gold); font-family: var(--serif); font-weight: 700; }
.best-of-note { max-width: 800px; margin: 32px 0 0; padding-left: 18px; border-left: 3px solid var(--gold); color: var(--muted); }
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.award-card { padding: 34px 28px; border: 1px solid rgba(255,255,255,.2); }
.award-medallion { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid currentColor; rotate: 45deg; color: #e3b65e; }
.award-medallion span { rotate: -45deg; font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.award-card.silver-card .award-medallion { color: #c9d1d0; }
.award-card.bronze-card .award-medallion { color: #d69567; }
.award-card h3 { margin-bottom: 12px; }
.award-card p { color: #c8d4d0; font-size: .9rem; }
.sponsor-panel { display: grid; grid-template-columns: .8fr 1.2fr; background: #efe9dc; }
.sponsor-label { padding: 34px; border-right: 1px solid #d4caba; display: flex; align-items: center; justify-content: center; text-align: center; }
.sponsor-label strong { font-family: var(--serif); font-size: 1.35rem; }
.sponsor-copy { padding: clamp(30px, 5vw, 58px); }
.sponsor-copy h2 { margin-bottom: 14px; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-strip h2 { max-width: 680px; }

.page-hero { padding: clamp(64px, 9vw, 108px) 0; background: var(--forest); color: #fff; }
.page-hero h1 { max-width: 850px; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.page-hero .lead { max-width: 720px; margin: 20px 0 0; color: #d7e1dd; }
.filter-bar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; padding: 20px; margin: -38px auto 48px; position: relative; background: #fff; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { color: var(--muted); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); }
.filter-count { min-width: 115px; display: grid; place-items: center; color: var(--muted); font-size: .88rem; }
.restaurant-list { display: grid; gap: 18px; }
.restaurant-row { display: grid; grid-template-columns: 180px 1fr auto; min-height: 190px; background: #fff; border: 1px solid var(--line); }
.restaurant-row .photo-placeholder { min-height: 190px; }
.restaurant-info { padding: 28px; }
.restaurant-info h2 { margin: 8px 0 9px; font-size: 1.8rem; }
.restaurant-info p { max-width: 680px; color: var(--muted); }
.restaurant-score { min-width: 135px; padding: 25px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.empty-state { padding: 50px; background: #fff; border: 1px solid var(--line); text-align: center; }
.data-pending { max-width: 820px; margin-inline: auto; }
.data-pending p:last-child { max-width: 620px; margin: 14px auto 0; color: var(--muted); }
.restaurant-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.score-pending { font-family: var(--sans); font-size: 1rem; letter-spacing: .08em; }

.review-hero { padding: 55px 0; background: #fff; border-bottom: 1px solid var(--line); }
.review-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.review-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.review-score-box { min-width: 170px; padding: 22px; border: 1px solid var(--line); text-align: center; }
.review-score-box .score { font-size: 3.5rem; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(38px, 7vw, 90px); align-items: start; }
.article-body { font-family: var(--serif); font-size: 1.06rem; line-height: 1.9; }
.article-body h2 { margin: 42px 0 15px; font-size: 1.8rem; }
.article-body ul { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.pull-quote { margin: 34px 0; padding: 24px 0 24px 26px; border-left: 4px solid var(--gold); color: var(--forest); font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.45; }
.standard-take { margin: 36px 0; padding: 28px; border-left: 4px solid var(--gold); background: #fff; }
.standard-take h2 { margin: 0 0 12px; }
.review-aside { position: sticky; top: 135px; }
.detail-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-list strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.detail-list a { display: inline-flex; min-height: 44px; align-items: center; }
.best-for { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.best-for span { padding: 7px 10px; background: var(--forest-soft); color: var(--forest); font-size: .78rem; font-weight: 700; }
.photo-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: 220px 220px; gap: 12px; }
.photo-grid .photo-placeholder:first-child { grid-row: 1 / 3; }

.recognition-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.recognition { padding: 30px; background: #fff; border: 1px solid var(--line); }
.recognition h3 { margin: 12px 0; }
.notice { margin-top: 22px; padding: 22px; background: var(--gold-light); border-left: 4px solid var(--gold); color: #5f481e; }
.best-list { counter-reset: places; display: grid; }
.best-entry { counter-increment: places; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.best-entry::before { content: "0" counter(places); color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.best-entry h3 { margin-bottom: 6px; }
.best-entry p { margin: 0; color: var(--muted); }

.content-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.prose h2 { margin: 35px 0 12px; font-size: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.feature-list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.feature-list li { padding: 18px 18px 18px 48px; background: #fff; border: 1px solid var(--line); position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 19px; color: var(--gold); font-weight: 700; }
.form-card { padding: clamp(25px, 5vw, 45px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.field.full { grid-column: 1 / -1; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 14px; color: var(--muted); font-size: .78rem; }
.form-success { margin-top: 16px; padding: 12px; background: var(--forest-soft); color: var(--forest); font-weight: 700; }

.site-footer { padding-top: 65px; background: var(--forest-dark); color: #d3dfdb; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 45px; padding-bottom: 52px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 9px; }
.footer-grid h2 { margin-bottom: 8px; color: #fff; font-family: var(--sans); font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { color: #d3dfdb; font-size: .87rem; }
.footer-grid p { max-width: 320px; color: #9fb0aa; font-size: .85rem; }
.footer-brand { margin-bottom: 15px; color: #fff; }
.footer-brand .brand-logo { width: 64px; height: 64px; }
.footer-brand small { color: #9fb0aa; }
.footer-bottom { min-height: 64px; border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; color: #8fa29b; font-size: .75rem; }

@media (max-width: 900px) {
  .site-header { backdrop-filter: none; }
  .utility-inner span:last-child { display: none; }
  .menu-button { display: inline-flex; align-items: center; gap: 9px; }
  .menu-icon { width: 22px; display: grid; gap: 4px; }
  .menu-icon i { display: block; height: 2px; background: currentColor; }
  .site-nav { position: fixed; z-index: 19; inset: 115px 0 0; display: none; padding: 28px 18px max(28px, env(safe-area-inset-bottom)); background: var(--paper); align-items: stretch; overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.open { display: flex; flex-direction: column; gap: 0; }
  .site-nav a { min-height: 54px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
  .site-nav .nav-cta { margin-top: 20px; padding: 14px 18px; text-align: center; font-family: var(--sans); font-size: .9rem; }
  .intro-grid, .featured-grid, .sponsor-panel, .content-grid { grid-template-columns: 1fr; }
  .card-grid, .award-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid .photo-placeholder { min-height: 380px; }
  .sponsor-label { border-right: 0; border-bottom: 1px solid #d4caba; }
  .review-layout { grid-template-columns: 1fr; }
  .review-aside { position: static; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .utility-bar { display: none; }
  .masthead { min-height: 76px; }
  .brand strong { font-size: 1.02rem; }
  .brand small { font-size: .72rem; line-height: 1.2; letter-spacing: .07em; }
  .brand-logo { width: 45px; height: 45px; }
  .site-nav { inset: 77px 0 0; }
  .server-warning-inner { align-items: start; flex-direction: column; gap: 8px; }
  .photo-label { font-size: .75rem; }
  .badge, .field label { font-size: .75rem; }
  .hero { min-height: 600px; background: linear-gradient(rgba(10,37,32,.88), rgba(10,37,32,.94)), radial-gradient(circle at 75% 20%, #6f8e82, #173b35 65%); }
  .hero::after { width: 250px; height: 250px; right: -90px; top: 60px; }
  .hero-content { padding-block: 75px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .section-heading.split { align-items: start; flex-direction: column; }
  .card-grid, .award-grid, .rank-grid, .recognition-list { grid-template-columns: 1fr; }
  .homepage-best-grid .rank-item:last-child { grid-column: auto; }
  .best-of-card-primary { grid-column: auto; }
  .best-of-preview-card { min-height: 0; }
  .featured-grid .photo-placeholder { min-height: 270px; }
  .cta-strip { align-items: stretch; flex-direction: column; }
  .cta-strip .button { width: 100%; }
  .filter-bar { grid-template-columns: 1fr; margin-top: -24px; }
  .filter-count { min-height: 40px; }
  .restaurant-row { grid-template-columns: 1fr; }
  .restaurant-row .photo-placeholder { min-height: 170px; }
  .restaurant-score { min-width: 0; padding: 20px 25px; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; }
  .review-hero-grid { grid-template-columns: 1fr; align-items: start; }
  .review-score-box { width: 100%; text-align: left; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 220px); }
  .photo-grid .photo-placeholder:first-child { grid-row: auto; }
  .best-entry { grid-template-columns: 55px 1fr; }
  .best-entry .badge { grid-column: 2; justify-self: start; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-grid .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 25px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-grid h2, .footer-bottom { font-size: .78rem; }
  .footer-bottom { padding: 18px 0; align-items: start; flex-direction: column; gap: 5px; }
}

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