/* =========================================================
   Snack Chez Lito — peony-gold lunch counter (warm cream daytime)
   Palette: cream / paper / peony / gold / oxblood
   Display: Bodoni Moda italic (high-contrast Italian serif)
   Body: Inter
   Distinct from all other clients: light cream base + Bodoni, peony accent
   ========================================================= */

:root {
  --cream: #f5ead0;
  --cream-2: #efe2c1;
  --paper: #fbf4e0;
  --ink: #1a0e0e;
  --ink-dim: rgba(26, 14, 14, 0.72);
  --ink-muted: rgba(26, 14, 14, 0.5);
  --peony: #b6333c;
  --peony-deep: #952630;
  --gold: #b8832a;
  --gold-deep: #926622;
  --line: rgba(26, 14, 14, 0.12);
  --line-strong: rgba(26, 14, 14, 0.22);

  --font-display: "Fraunces", "Bodoni Moda", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--peony); color: var(--cream);
  padding: .5rem 1rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  background: rgba(245, 234, 208, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .75rem; }
.nav__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 72;
}
.nav__mark em {
  font-style: italic;
  color: var(--peony);
  font-weight: 500;
}
.nav__links {
  display: flex; align-items: center; gap: 1.6rem;
  font-size: .92rem; font-weight: 500;
}
.nav__links a {
  color: var(--ink-dim);
  transition: color .2s ease;
  position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0; background: var(--peony);
  transition: width .35s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta { color: var(--peony) !important; }
.nav__phone {
  background: var(--peony); color: var(--cream) !important;
  padding: .5rem 1rem; border-radius: 2px;
  font-weight: 700; font-feature-settings: "tnum";
  border: 1px solid var(--peony);
}
.nav__phone::after { display: none !important; }
.nav__phone:hover { background: var(--peony-deep); color: var(--cream) !important; }

/* ---------- Hero (full-bleed storefront bg, warm dark scrim) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 800px);
  display: grid; place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(232,74,84,.16), transparent 70%),
    radial-gradient(50% 70% at 20% 90%, rgba(216,161,58,.12), transparent 70%),
    #1a0e0e;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero__stripe {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(-18deg,
      transparent 0 120px,
      rgba(245,234,208,.015) 120px 122px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 900px; width: 100%; margin: 0 auto; }
.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: .78rem;
  font-weight: 700;
  color: #d8a13a;
  margin: 0 0 1.25rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 7.4rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: 0;
  font-variation-settings: "opsz" 96, "wght" 800;
  display: flex; flex-direction: column; align-items: center;
  gap: .05em;
}
.hero__word--italic {
  font-style: italic;
  color: #e84a54;
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wght" 700;
}
.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  color: rgba(245,234,208,0.82);
  margin: 1.4rem auto 0;
  font-variation-settings: "opsz" 28;
}
.hero__tagline .dot { color: #d8a13a; margin: 0 .5rem; }
.hero__cta {
  display: flex; gap: .85rem; flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0 0;
}
.hero__meta {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  font-size: .85rem; color: rgba(245,234,208,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2.2rem;
}

/* Hero buttons need cream-on-dark override since hero inverts the cream body */
.hero .btn--primary { background: var(--cream); color: var(--ink); }
.hero .btn--primary:hover { background: #fff; }
.hero .btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,234,208,0.32);
}
.hero .btn--ghost:hover { border-color: var(--cream); background: rgba(245,234,208,0.08); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .3s ease;
  will-change: transform;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--ink); color: var(--cream);
}
.btn--primary:hover { background: #000; box-shadow: 0 10px 28px -12px rgba(26,14,14,0.35); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(26,14,14,0.04); }
.btn--peony {
  background: var(--peony); color: var(--cream);
  box-shadow: 0 10px 30px -12px rgba(182,51,60,0.55);
}
.btn--peony:hover { background: var(--peony-deep); box-shadow: 0 14px 38px -10px rgba(182,51,60,0.75); }
.btn--big { padding: 1rem 1.7rem; font-size: 1rem; }
.btn__badge {
  font-size: .72rem; font-weight: 700;
  padding: .15rem .55rem; border-radius: 2px;
  background: rgba(26,14,14,0.2); color: var(--cream);
  letter-spacing: 0.04em;
}

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--peony);
  color: var(--cream);
  overflow: hidden;
  border-top: 1px solid var(--peony-deep);
  border-bottom: 1px solid var(--peony-deep);
}
.strip__track {
  display: flex;
  width: max-content;
  padding: 1rem 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.015em;
  animation: slide 42s linear infinite;
  font-variation-settings: "opsz" 96;
  will-change: transform;
}
.strip__track span { display: inline-block; flex-shrink: 0; margin-right: 2rem; }
.strip__track span.sep { color: var(--gold); }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Section shared ---------- */
.section__head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  margin-bottom: 3rem;
}
.section__kicker {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: .76rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section__kicker--light { color: rgba(245,234,208,0.75); }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
  margin-bottom: 1rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.section__title--light { color: var(--cream); }
.section__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ink-dim);
  max-width: 52ch;
  margin: 0 auto;
  font-variation-settings: "opsz" 28;
}
.hl--italic {
  font-style: italic;
  color: var(--peony);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "wght" 500;
}
.hl--gold { color: var(--gold); }

/* ---------- Menu cards ---------- */
.menu {
  padding: 6rem var(--gutter);
  background: var(--cream);
  position: relative;
}
.menu::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--peony);
  opacity: .6;
}
.cards {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px -30px rgba(26,14,14,0.28);
  border-color: var(--peony);
}
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(26,14,14,0);
  transition: background .3s ease;
}
.card__media:hover::after { background: rgba(26,14,14,0.1); }
.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--paper);
  color: var(--peony);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .68rem;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 2px;
  border: 1px solid rgba(182,51,60,0.35);
}
.card__body {
  padding: 1.4rem 1.5rem 1.7rem;
}
.card__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: 1.4rem;
  margin-bottom: .5rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.card__body p {
  color: var(--ink-dim);
  font-size: .94rem;
  line-height: 1.5;
}
.card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--paper), var(--cream-2));
}
.card--featured .card__media { aspect-ratio: 16/10; }
.card--featured .card__body h3 {
  font-style: italic;
  font-size: 2rem;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "wght" 500;
  color: var(--peony);
}
.card--featured .card__tag {
  background: var(--peony);
  color: var(--cream);
  border-color: var(--peony);
}

/* ---------- Carte (full menu, 4 pages at natural aspect ratio, clickable) ---------- */
.carte {
  padding: 6rem var(--gutter);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.carte__pages {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.carte__page {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -28px rgba(26,14,14,0.32);
  cursor: zoom-in;
  background: var(--paper);
  transition: transform .5s ease, box-shadow .5s ease;
}
.carte__page img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.carte__page:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -28px rgba(26,14,14,0.42);
}
.carte__page:hover img { transform: scale(1.02); }

/* ---------- Order / FoodEase (dark inversion for contrast) ---------- */
.order {
  padding: 6rem var(--gutter);
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(184,131,42,0.14), transparent 60%),
    radial-gradient(900px 450px at 15% 100%, rgba(182,51,60,0.14), transparent 60%),
    #1a0e0e;
  position: relative;
  color: var(--cream);
}
.order__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.order__brand { text-align: center; }
.order__brand img {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--cream);
  padding: 1.25rem;
  margin: 0 auto 1rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.65);
}
.order__partner {
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  color: var(--gold);
  font-variation-settings: "opsz" 28;
}
.order__body .section__title {
  margin: 0 0 1rem; text-align: left; max-width: none;
  color: var(--cream);
}
.order__body .section__kicker { text-align: left; margin-left: 0; }
.order__lede {
  font-size: 1.05rem;
  color: rgba(245,234,208,0.82);
  margin-bottom: 1.5rem;
  max-width: 52ch;
}
.order__lede strong { color: var(--gold); font-weight: 600; }
.order__cta { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 1rem; }
.order__note {
  font-size: .85rem;
  color: rgba(245,234,208,0.55);
  font-style: italic;
}

/* ---------- Hours ---------- */
.hours {
  padding: 6rem var(--gutter);
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.hours__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hours__left .section__kicker { text-align: left; margin-left: 0; }
.hours__left .section__title { text-align: left; margin-left: 0; max-width: none; }
.hours__lede {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-dim);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  font-variation-settings: "opsz" 28;
}
.hours__list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: .5rem 1.5rem;
}
.hours__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
  flex-wrap: wrap;
}
.hours__list li:last-child { border-bottom: 0; }
.hours__list li span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .78rem;
  color: var(--gold);
  font-weight: 500;
  flex: 0 0 auto;
}
.hours__list li strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 72;
  color: var(--ink);
  text-align: right;
  flex: 1 1 auto;
}
.hours__list li.closed strong {
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Access ---------- */
.access {
  padding: 6rem var(--gutter);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.access__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}
.access__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(26,14,14,0.3);
}
.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}
.access__info { display: flex; flex-direction: column; gap: 1.4rem; }
.info-block {
  padding: 1.25rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.info-block__label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: .7rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: .55rem;
}
.info-block__value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.5;
  font-variation-settings: "opsz" 28;
}
.info-block__value a { border-bottom: 1px dotted var(--gold); }
.info-block__value a:hover { border-color: var(--peony); color: var(--peony); }

/* ---------- Footer ---------- */
.foot {
  padding: 4rem var(--gutter) 3rem;
  background: #1a0e0e;
  text-align: center;
  color: var(--cream);
}
.foot__inner { max-width: var(--max); margin: 0 auto; }
.foot__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: .5rem;
  font-variation-settings: "opsz" 96;
}
.foot__brand em {
  font-style: italic;
  color: var(--peony);
  font-weight: 500;
}
.foot__tag {
  color: rgba(245,234,208,0.55);
  font-size: .92rem;
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}
.foot__legal {
  font-size: .82rem;
  color: rgba(245,234,208,0.5);
  margin-bottom: 1rem;
}
.foot__legal a { color: rgba(245,234,208,0.75); border-bottom: 1px dotted rgba(245,234,208,0.3); }
.foot__legal a:hover { color: var(--peony); }
.foot__credit {
  font-size: .78rem;
  color: rgba(245,234,208,0.4);
  font-style: italic;
}
.foot__credit a {
  color: var(--gold);
  border-bottom: 1px dotted var(--gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--featured { grid-column: span 2; }
  .order__inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .order__body .section__title, .order__body .section__kicker, .order__body .order__lede { text-align: center; }
  .order__cta { justify-content: center; }
  .order__lede { margin-left: auto; margin-right: auto; }
  .access__grid { grid-template-columns: 1fr; }
  .hours__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 820px) {
  .nav { padding: .85rem var(--gutter); }
  .nav__links { gap: .9rem; font-size: .82rem; }
  .nav__links a:not(.nav__phone) { display: none; }
  .nav__links .nav__phone { display: inline-flex; padding: .45rem .85rem; }
  .hero { padding: 5rem var(--gutter) 3.5rem; min-height: min(78vh, 640px); }
  .hero__title { font-size: clamp(2.6rem, 13vw, 4.5rem); line-height: 0.98; }
  .hero__kicker { font-size: .7rem; letter-spacing: .18em; }
  .hero__tagline { font-size: .98rem; margin-top: 1rem; }
  .hero__cta { gap: .55rem; margin-top: 1.6rem; }
  .hero__cta .btn { font-size: .88rem; padding: .8rem 1.15rem; }
  .hero__meta { font-size: .72rem; letter-spacing: .1em; margin-top: 1.6rem; }
  .menu, .carte, .order, .hours, .access { padding: 4rem var(--gutter); }
  .carte__pages { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .card--featured { grid-column: span 1; }
  .card--featured .card__media { aspect-ratio: 4/3; }
  .card--featured .card__body h3 { font-size: 1.6rem; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.6rem); letter-spacing: -0.015em; }
  .hero__kicker { font-size: .7rem; }
  .hero__cta { gap: .55rem; justify-content: center; }
  .hero__cta .btn { padding: .85rem 1.3rem; font-size: .88rem; }
  .hours__list { padding: .25rem 1.1rem; }
  .hours__list li { padding: .8rem 0; font-size: .9rem; }
  .hours__list li strong { font-size: .92rem; }
  .info-block { padding: 1rem 1.1rem; }
  .foot__brand { font-size: 1.7rem; }
  .section__title { font-size: clamp(1.75rem, 6.5vw, 2.3rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Keep decorative branding marquee alive — it's the heartbeat of the page */
  .strip .strip__track,
  .strip__track {
    animation: slide 42s linear infinite !important;
    animation-name: slide !important;
    animation-duration: 42s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
    animation-play-state: running !important;
  }
}
