/* ══════════════════════════════════════════════════════════════
   Eat — marketing site v2 · "From sunrise to supper"
   Kinetic warm editorial. DM Serif Display + DM Sans.
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:#fdf7f0; --cream-2:#f8efe3; --paper:#fffdf9;
  --ink:#241708; --mid:#5c3d1e; --faint:#a08b76;
  --solo:#f06a3a; --solo-deep:#d94f20; --solo-soft:#ffe4d6;
  --power:#4a80c4; --power-deep:#33639f; --power-soft:#dce9f8;
  --night:#160f1e; --night-2:#241a33;
  --line:#eadcca; --line-2:#dfd0bb;
  --serif:'DM Serif Display', Georgia, serif;
  --sans:'DM Sans', system-ui, sans-serif;
  --maxw:1160px;
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out: cubic-bezier(.22,1,.36,1);
}
::selection { background: var(--solo); color: #fff; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden;
}
a { color: inherit; }
img { display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Grain overlay ─────────────────────────────────── */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 999;
  opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Nav ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 90;
  width: min(calc(100% - 32px), 880px);
  border-radius: 99px; border: 1px solid rgba(234,220,202,.9);
  background: rgba(255,253,249,.78);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 40px -18px rgba(90,50,15,.25);
  transition: box-shadow .3s ease, background .3s ease, transform .4s var(--ease-out);
}
.nav.scrolled { box-shadow: 0 18px 50px -18px rgba(90,50,15,.38); background: rgba(255,253,249,.92); }
.nav.nav-hidden { transform: translateX(-50%) translateY(-180%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 10px 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; transition: transform .5s var(--ease-spring); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand b { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.brand b i { font-style: normal; color: var(--solo); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; text-decoration: none; color: var(--mid); font-size: 14.5px; font-weight: 600;
  padding: 9px 14px; border-radius: 99px; transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--cream-2); }
.nav-links a.active { color: var(--solo); }
.nav-links a.nav-cta {
  color: #fff; background: var(--ink); margin-left: 8px; overflow: hidden;
}
.nav-links a.nav-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, var(--solo), var(--solo-deep));
  transform: translateY(102%); transition: transform .35s var(--ease-out);
}
.nav-links a.nav-cta span { position: relative; z-index: 1; }
.nav-links a.nav-cta:hover { background: var(--ink); color: #fff; }
.nav-links a.nav-cta:hover::before { transform: translateY(0); }

/* ── Mobile menu (button injected by site.js) ──────── */
.nav-burger {
  display: none; width: 44px; height: 44px; margin-left: 4px; border: none; cursor: pointer;
  border-radius: 99px; background: var(--cream-2); color: var(--ink);
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .2s ease;
}
.nav-burger:active { background: var(--line); }
.nav-burger svg { display: block; }
.nav-burger .bl { transition: transform .3s var(--ease-out), opacity .2s ease; transform-origin: 12px 12px; }
.nav.menu-open .bl-1 { transform: translateY(5px) rotate(45deg); }
.nav.menu-open .bl-2 { opacity: 0; }
.nav.menu-open .bl-3 { transform: translateY(-5px) rotate(-45deg); }
.nav-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 12px 14px; border-top: 1px solid var(--line);
  animation: menu-in .35s var(--ease-out) both;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.nav-menu a {
  text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 600;
  padding: 13px 14px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between;
}
.nav-menu a:active { background: var(--cream-2); }
.nav-menu a.active { color: var(--solo); }
.nav-menu a svg { opacity: .35; }
.nav-menu a.menu-cta {
  margin-top: 8px; justify-content: center; color: #fff; font-weight: 700;
  background: linear-gradient(120deg, var(--solo), var(--solo-deep));
  box-shadow: 0 12px 26px -12px rgba(240,106,58,.6);
}
.nav.menu-open { border-radius: 28px; }
.nav.menu-open .nav-menu { display: flex; }

/* ── Type ──────────────────────────────────────────── */
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--solo); }
.h-hero { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 7.4vw, 92px); line-height: .98; letter-spacing: -0.025em; text-wrap: balance; }
.h-hero em, .h-sec em { font-style: italic; color: var(--solo); }
.h-sec { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.lede { font-size: clamp(16px, 2vw, 19px); line-height: 1.62; color: var(--mid); text-wrap: pretty; }

/* ── Buttons (magnetic base) ───────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 30px; border: none; border-radius: 99px; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--ink); overflow: hidden;
  transition: transform .25s var(--ease-spring), box-shadow .3s ease;
  box-shadow: 0 16px 34px -14px rgba(36,23,8,.5);
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, var(--solo), var(--solo-deep));
  transform: translateY(102%); transition: transform .38s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 20px 44px -14px rgba(240,106,58,.55); }
.btn:active { transform: scale(.97); }
.btn-solid-solo { background: linear-gradient(120deg, var(--solo), var(--solo-deep)); box-shadow: 0 16px 34px -12px rgba(240,106,58,.6); }
.btn-solid-solo::before { background: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost::before { background: var(--cream-2); }
.btn-ghost:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* ── Scroll reveals ────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; filter: none; }
  .rv-scale { opacity: 0; transform: scale(.92) translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-spring); transition-delay: var(--d, 0s); }
  .rv-scale.in { opacity: 1; transform: none; }
}

/* ── Marquee ───────────────────────────────────────── */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee-track { display: inline-flex; align-items: center; gap: 0; animation: marquee 36s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Footer ────────────────────────────────────────── */
.footer { margin-top: 130px; background: var(--night); color: #efe6da; border-radius: 40px 40px 0 0; position: relative; overflow: hidden; }
.footer-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .22; pointer-events: none; }
.footer-glow.g1 { background: var(--solo); top: -300px; left: -120px; }
.footer-glow.g2 { background: var(--power); bottom: -340px; right: -140px; }
.footer-big {
  font-family: var(--serif); font-size: clamp(70px, 14vw, 190px); line-height: .9; letter-spacing: -0.03em;
  padding: 90px 0 20px; color: #fdf7f0; position: relative;
}
.footer-big i { font-style: italic; color: var(--solo); }
.footer-inner { position: relative; display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; padding: 30px 0 44px; }
.footer-tagline { color: #b3a494; font-size: 14px; margin-top: 12px; max-width: 30ch; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8d7d6b; margin-bottom: 15px; }
.footer-col a { display: block; text-decoration: none; color: #d8cbbc; font-size: 14.5px; font-weight: 500; padding: 5px 0; transition: color .15s ease, transform .2s var(--ease-out); }
.footer-col a:hover { color: var(--solo); transform: translateX(4px); }
.footer-base { position: relative; border-top: 1px solid rgba(253,247,240,.12); padding: 22px 0 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #8d7d6b; font-size: 12.5px; }
.footer .brand b { color: #fdf7f0; }

/* ── Cards ─────────────────────────────────────────── */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 26px 60px -34px rgba(120,60,20,.28);
}

/* ── Page head (inner pages) ───────────────────────── */
.page-head { text-align: center; padding: 150px 0 10px; }
.page-head .eyebrow::before { display: none; }
.page-head .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: var(--solo); }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head .eyebrow::before { display: inline-block; }
.page-head .lede { max-width: 46ch; margin: 22px auto 0; }

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav { top: 12px; width: calc(100% - 24px); }
  .nav-inner { height: 56px; padding: 0 8px 0 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a.nav-cta { height: 40px; display: inline-flex; align-items: center; }
  .nav-burger { display: inline-flex; }
  .page-head { padding: 112px 0 6px; }
  .btn { height: 54px; padding: 0 26px; font-size: 15.5px; }
  .footer { margin-top: 90px; border-radius: 28px 28px 0 0; }
  .footer-big { padding: 64px 0 14px; }
  .footer-inner { flex-direction: column; }
  .footer-cols { gap: 32px 40px; }
  .footer-col a { padding: 8px 0; }
  .footer-base { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
