/* Barbecue Grill Review — light, photo-led theme */
:root {
  --bg: #ffffff;
  --soft: #f6f4f0;
  --ink: #141414;
  --muted: #666660;
  --line: #e6e3dc;
  --accent: #c4511a;
  --accent-hover: #a94213;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.93rem; }

/* Hero */
.hero { position: relative; min-height: min(84vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #1a1a1a; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.38) 55%, rgba(0,0,0,.12) 100%), linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,0) 45%); }
.hero-copy { position: relative; width: 100%; padding-top: 120px; padding-bottom: 72px; color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 13ch; letter-spacing: -0.035em; }
.hero p { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34ch; color: rgba(255, 255, 255, 0.88); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.lede { color: var(--muted); margin-top: 12px; font-size: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .opt {
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.93rem; font-weight: 500; color: var(--ink);
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover, .opt:hover { border-color: var(--ink); }
.chip.is-on, .opt.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Grill cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { display: flex; flex-direction: column; }
.card-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; border: 0; padding: 0; width: 100%; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-photo:hover img { transform: scale(1.03); }
.tag { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 18px; }
.card-meta { color: var(--muted); font-size: 0.93rem; margin-top: 6px; }
.card-verdict { margin-top: 12px; flex: 1; }
.card-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-actions .btn-accent { flex: 1; white-space: nowrap; }

/* Help me choose */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.split-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.q { margin-top: 28px; }
.q h3 { margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.match { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.match img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.match small { color: var(--accent); font-weight: 600; font-size: 0.85rem; }
.match h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.match p { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.match .card-actions { margin-top: 14px; }
.match .card-actions .btn-accent { flex: 0 1 auto; }
.also { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; font-size: 0.95rem; color: var(--muted); }
.link { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Compare */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vs-col img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.vs-col h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 18px; }
.vs-col .card-meta { margin-bottom: 14px; }
.vs-col p { margin-top: 10px; }
.vs-col p.skip { color: var(--muted); }
.vs-col .btn { margin-top: 20px; }
.vs-table { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 0.97rem; }
.vs-table th, .vs-table td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.vs-table th { font-weight: 500; color: var(--muted); width: 28%; }
.vs-table thead th { border-top: 0; color: var(--ink); font-weight: 700; }
.vs-table td { font-weight: 500; }

/* Photo band */
.band { position: relative; overflow: hidden; background: #1a1a1a; color: #fff; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 80%); }
.band-copy { position: relative; padding-top: 170px; padding-bottom: 170px; }
.band-copy p { margin-top: 16px; max-width: 46ch; font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); }

/* Footer */
.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.footer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.footer-row .brand { color: var(--ink); display: inline-block; margin-bottom: 8px; }
.fine { font-size: 0.85rem; }

/* Detail sheet */
.sheet { border: 0; padding: 0; margin: auto; width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 18px; background: #fff; color: var(--ink); overflow: auto; }
.sheet::backdrop { background: rgba(0, 0, 0, 0.55); }
.sheet-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sheet-body { padding: 28px; }
.sheet-body h2 { font-size: 1.9rem; }
.sheet-body h3 { margin-top: 28px; margin-bottom: 8px; }
.sheet-body p { margin-top: 10px; }
.facts { list-style: none; margin-top: 4px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.97rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { font-weight: 600; text-align: right; }
.sheet-close { position: sticky; top: 12px; float: right; margin: 12px 12px -52px 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.3rem; line-height: 1; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); z-index: 2; }
.sheet .card-actions { margin-top: 28px; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.88rem; }
  .nav a:nth-child(3) { display: none; }
  .section { padding: 64px 0; }
  .grid, .vs, .footer-row { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-copy { padding-bottom: 48px; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.15) 100%); }
  .match { grid-template-columns: 84px 1fr; padding: 16px; gap: 14px; }
  .match img { width: 84px; height: 84px; }
  .vs-table { font-size: 0.9rem; }
  .band-copy { padding-top: 80px; padding-bottom: 80px; }
  .band-shade { background: rgba(0, 0, 0, 0.55); }
  .sheet-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-photo img { transition: none; }
}
