/* ============================================================
   Chicken Latino — Centreville, VA
   Semi-premium revamp. Warm charcoal + ember + rotisserie gold.
   Type-led, photo-light. Fraunces (display) + Figtree (body).
   ============================================================ */

:root {
  --ink:        #17110d;   /* warm near-black */
  --ink-2:      #221913;
  --char:       #2c211a;   /* charcoal cards on light */
  --ember:      #c1362f;   /* Peruvian brick/ember red */
  --ember-2:    #d9583f;   /* brighter ember */
  --gold:       #e0a03d;   /* rotisserie glow */
  --gold-soft:  #eec27a;
  --cream:      #fbf5e9;   /* bone / page bg */
  --cream-2:    #f4ead6;
  --paper:      #fffdf8;
  --line:       rgba(23,17,13,.12);
  --line-lite:  rgba(251,245,233,.14);
  --muted:      #6b5c4e;
  --muted-lite: rgba(251,245,233,.62);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Figtree", system-ui, -apple-system, sans-serif;

  --maxw: 1160px;
  --r: 16px;
  --shadow: 0 22px 60px -30px rgba(23,17,13,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle warm paper grain over whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--ember); display: inline-block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  padding: .92em 1.55em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--ember); color: var(--cream); box-shadow: 0 12px 30px -12px rgba(193,54,47,.7); }
.btn-primary:hover { background: var(--ember-2); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ghost.on-dark { color: var(--cream); }
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------------------------------------------------------- NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(23,17,13,.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--gold) 0%, var(--ember) 62%, var(--ink) 130%);
  color: var(--cream); font-weight: 800; font-family: var(--sans);
  display: grid; place-items: center; font-size: .92rem; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.brand b { color: var(--ember); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.nav-links a.link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--ember); transition: width .28s ease;
}
.nav-links a.link:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }
.mobile-menu {
  flex-direction: column; gap: .3rem; padding: 12px 24px 24px;
  background: var(--cream); border-bottom: 1px solid var(--line);
  position: sticky; top: 72px; z-index: 49;
}
.mobile-menu a { padding: .8rem 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------------------------------------------------------- HERO */
.hero {
  position: relative; z-index: 1;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(224,160,61,.16), transparent 60%),
    radial-gradient(900px 560px at 8% 108%, rgba(193,54,47,.14), transparent 58%),
    var(--cream);
  padding: clamp(48px, 8vw, 88px) 0;
  overflow: hidden;
}
/* Desktop: fill the viewport under the 72px sticky nav and vertically
   center the whole grid so the rating strip is guaranteed above the fold. */
@media (min-width: 941px) {
  .hero {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    padding-block: 40px;
  }
  .hero .wrap { width: 100%; }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  margin: 1.1rem 0 0;
}
.hero h1 em { font-style: italic; color: var(--ember); }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin: 1.4rem 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-rating { display: flex; align-items: center; gap: .9rem; margin-top: 2.4rem; flex-wrap: wrap; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: 1.05rem; }
.hero-rating small { color: var(--muted); font-size: .92rem; }
.hero-rating small b { color: var(--ink); font-weight: 700; }

/* hero side "seal" card */
.hero-card {
  position: relative;
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--cream);
  border-radius: 22px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background: radial-gradient(340px 220px at 78% 6%, rgba(224,160,61,.4), transparent 70%);
}
.hero-card .hc-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.hero-card h3 { font-size: 1.9rem; margin: .7rem 0 .3rem; color: var(--cream); }
.hero-card p { color: var(--muted-lite); font-size: .96rem; margin: 0 0 1.4rem; }
.hc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; position: relative; z-index: 1; }
.hc-list li { display: flex; justify-content: space-between; align-items: baseline; padding: .82rem 0; border-bottom: 1px solid var(--line-lite); gap: 1rem; }
.hc-list li:last-child { border-bottom: 0; }
.hc-list .n { font-family: var(--serif); font-size: 1.08rem; }
.hc-list .p { font-family: var(--sans); font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.hc-note { margin-top: 1.5rem; font-size: .8rem; color: var(--muted-lite); position: relative; z-index: 1; }

/* ---------------------------------------------------------- MARQUEE band */
.band {
  background: var(--ink); color: var(--cream);
  position: relative; z-index: 1;
  padding: 20px 0; overflow: hidden;
  border-block: 1px solid rgba(224,160,61,.2);
}
.band-track { display: flex; gap: 3.2rem; white-space: nowrap; width: max-content; animation: slide 34s linear infinite; }
.band-track span { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 3.2rem; }
.band-track span::after { content: "✶"; color: var(--ember-2); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } }

/* ---------------------------------------------------------- SECTION frame */
section { position: relative; z-index: 1; }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-top: 1rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 0; }

/* ---------------------------------------------------------- MENU */
.menu { background: var(--cream-2); }
.menu-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.menu-col { display: grid; gap: 30px; }
.menu-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 30px 26px; box-shadow: 0 14px 40px -30px rgba(23,17,13,.4);
}
.menu-card.feature { background: linear-gradient(160deg, var(--char), var(--ink)); color: var(--cream); border-color: transparent; }
.menu-card h3 { font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.menu-card.feature h3 { color: var(--cream); }
.menu-card .cat-note { font-size: .82rem; color: var(--muted); margin: .35rem 0 1.2rem; letter-spacing: .01em; }
.menu-card.feature .cat-note { color: var(--muted-lite); }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.menu-card.feature .menu-list li { border-bottom-color: var(--line-lite); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list .item { font-weight: 600; }
.menu-list .sub { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: .1rem; }
.menu-card.feature .menu-list .sub { color: var(--muted-lite); }
.menu-list .price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ember); }
.menu-card.feature .menu-list .price { color: var(--gold); }
.menu-foot { margin-top: 1.5rem; font-size: .84rem; color: var(--muted); }
.menu-card.feature .menu-foot { color: var(--muted-lite); }

/* ---------------------------------------------------------- STATS */
.stats { background: var(--ink); color: var(--cream); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 20px; border-right: 1px solid var(--line-lite); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold); line-height: 1; }
.stat .lbl { display: block; margin-top: .7rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-lite); }

/* ---------------------------------------------------------- REVIEWS */
.reviews-grid { columns: 3; column-gap: 24px; }
.review {
  break-inside: avoid; margin-bottom: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 22px; box-shadow: 0 14px 40px -34px rgba(23,17,13,.45);
}
.review .stars { font-size: .95rem; margin-bottom: .8rem; }
.review p { margin: 0 0 1.1rem; font-size: .98rem; color: #37281e; }
.review .who { display: flex; align-items: center; gap: .7rem; }
.review .av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--cream); font-size: .9rem; background: var(--ember); }
.review .who b { font-family: var(--sans); font-weight: 700; font-size: .92rem; display: block; }
.review .who span { font-size: .78rem; color: var(--muted); }

/* ---------------------------------------------------------- VISIT */
.visit { background: var(--cream-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: stretch; }
.visit-info { display: grid; gap: 22px; align-content: start; }
.info-row { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.15rem; }
.info-row h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; font-weight: 700; }
.info-row p { margin: 0; font-size: 1.05rem; }
.info-row a { color: var(--ember); font-weight: 600; }
.hours-line { display: flex; justify-content: space-between; max-width: 260px; font-size: 1rem; }
.hours-line b { color: var(--ink); }
.map-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 380px; background: var(--char); }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.2) contrast(1.03); }

/* ---------------------------------------------------------- CTA */
.cta { background: linear-gradient(160deg, var(--ink) 0%, #2a1c14 100%); color: var(--cream); text-align: center; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(600px 300px at 50% -20%, rgba(224,160,61,.28), transparent 70%); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.3rem, 5.5vw, 4rem); max-width: 16ch; margin-inline: auto; }
.cta h2 em { font-style: italic; color: var(--gold); }
.cta p { color: var(--muted-lite); font-size: 1.1rem; margin: 1.3rem auto 2.2rem; max-width: 48ch; }
.cta .hero-actions { justify-content: center; }

/* ---------------------------------------------------------- FOOTER */
.footer { background: var(--ink-2); color: var(--muted-lite); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.footer .brand { color: var(--cream); }
.footer p { margin: .8rem 0 0; font-size: .92rem; max-width: 34ch; }
.footer .fcol h5 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; color: var(--gold-soft); margin: 0 0 1rem; }
.footer .fcol a, .footer .fcol p { display: block; color: var(--muted-lite); font-size: .95rem; margin: .5rem 0; }
.footer .fcol a:hover { color: var(--cream); }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-lite); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }

/* ---------------------------------------------------------- REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------- RESPONSIVE */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .menu-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .reviews-grid { columns: 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .reviews-grid { columns: 1; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-lite); padding-bottom: 24px; }
  .stat:last-child { border-bottom: 0; }

  /* Mobile hero: tighten vertical rhythm so the ★★★★★ rating strip is
     guaranteed in the initial viewport (the menu card drops below the fold). */
  .hero { padding-block: 26px 30px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.1rem); margin-top: .7rem; }
  .hero .lede { font-size: 1.02rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-rating { margin-top: 1.6rem; }
}
