/* LocalBites showcase. Tokens follow the LocalBites site (Website/localbites-202): warm dark ground,
   cream ink, one orange accent, Fraunces for headings and Inter Tight for text. */
:root {
  --bg: #14110d;
  --bg-soft: #1a1611;
  --bg-card: #1f1a14;
  --line: rgba(255, 240, 220, 0.10);
  --line-bright: rgba(255, 240, 220, 0.22);
  --ink: #f5ecd9;
  --ink-soft: #d8c9ad;
  --ink-muted: #b3a58d;
  --accent: #e8853f;
  --accent-bright: #f39a5a;
  --on-accent: #14110d;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent-bright); }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 600 18px/1 var(--display); }
.mark .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 14px; padding: 10px 8px; border-radius: 8px; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 479px) { .top nav a[href="#faq"] { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font: 600 16px/1 var(--sans); text-decoration: none;
  transition: background-color .2s ease;
}
.btn:hover { background: var(--accent-bright); }

/* Hero */
.hero { padding: 36px 0 8px; }
.hero-in { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(32px, 8.4vw, 60px); max-width: 15ch; }
.lede { margin-top: 16px; color: var(--ink-soft); font-size: 16px; max-width: 38ch; }
.hero .btn { margin-top: 24px; }
.hero-shots { position: relative; height: 300px; max-width: 420px; }
.hs {
  position: absolute; top: 0; width: 38%; border-radius: 18px;
  border: 1px solid var(--line-bright); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  background: var(--bg-card); aspect-ratio: 390 / 844;
}
.hs-1 { left: 0; top: 34px; transform: rotate(-4deg); }
.hs-2 { left: 31%; z-index: 2; }
.hs-3 { left: 62%; top: 34px; transform: rotate(4deg); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 8px; }
  .hero-in { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; }
  .lede { font-size: 18px; }
  .hero-shots { height: 520px; max-width: none; }
  .hs { width: 36%; }
  .hs-1 { left: 2%; top: 60px; }
  .hs-2 { left: 32%; }
  .hs-3 { left: 62%; top: 60px; }
}

/* Section heads */
section { scroll-margin-top: 12px; }
.gallery { padding: 48px 0 24px; }
.sec-head h2, .how h2, .faq h2 { font-size: clamp(26px, 5.6vw, 38px); }
.sec-head p { margin-top: 10px; color: var(--ink-soft); max-width: 60ch; }

/* Filter */
.filter { margin-top: 28px; }
.filter-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-bright); background: transparent; color: var(--ink);
  font: 500 15px/1 var(--sans);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--ink-muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.count { margin-top: 14px; font-size: 14px; color: var(--ink-muted); }

/* Grid of cards */
.grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; grid-template-columns: 1fr; transition: opacity .18s ease; }
.grid.fading { opacity: 0; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.shot { position: relative; aspect-ratio: 1200 / 750; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.shot .desk { width: 100%; height: 100%; object-fit: cover; }
.shot .phone {
  position: absolute; right: 12px; bottom: -22px; width: 23%;
  aspect-ratio: 390 / 844; object-fit: cover; border-radius: 10px;
  border: 2px solid var(--bg); box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  background: var(--bg-soft);
}
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 22px; padding-right: 26%; }
.num { font: 600 13px/1 var(--sans); color: var(--ink-muted); letter-spacing: .04em; vertical-align: 3px; margin-right: 2px; }
.line { color: var(--ink-soft); font-size: 15px; }
.tags { font-size: 13px; color: var(--ink-muted); }
.live {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center;
  min-height: 44px; padding-top: 6px; font-weight: 600; font-size: 15px;
  color: var(--accent-bright); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.live:hover { color: var(--ink); }
.live .arrow { display: inline-block; margin-left: 4px; text-decoration: none; }
@media (min-width: 1100px) { .line { font-size: 16px; } }

/* One-time ease-in (only added by app.js when motion is allowed) */
.ease .card { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.ease .card.in { opacity: 1; transform: none; }

/* How it works */
.how { padding: 56px 0; border-top: 1px solid var(--line); margin-top: 40px; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.steps li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps .n {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-bright); font: 600 15px/1 var(--sans);
}
.steps h3 { margin-top: 14px; font-size: 21px; }
.steps p { margin-top: 8px; color: var(--ink-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } .steps li { padding: 26px; } }

.price {
  margin-top: 30px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-bright);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 18px;
}
.price > span:first-child { font-family: var(--display); font-size: 22px; }
.tbc { font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 2px 10px; border-radius: 6px; }
.price-note { color: var(--ink-soft); font-size: 16px; flex-basis: 100%; }
@media (min-width: 700px) { .price-note { flex-basis: auto; margin-left: auto; } }

/* FAQ */
.faq { padding: 56px 0; border-top: 1px solid var(--line); }
.faq h2 { margin-bottom: 18px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0; font-weight: 500; font-size: 17px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 var(--sans); color: var(--accent-bright); flex: none; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* Close + footer */
.close { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.close-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.close h2 { font-size: clamp(24px, 5vw, 34px); }
.foot { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: 14px; color: var(--ink-muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ease .card { opacity: 1; transform: none; }
}
