/* walkthrough-site: restaurant/cafe/bar template.
   Color/font tokens are filled from the step-4 Visual DNA proposal, sampled
   from the client's own delivered frames — never left as defaults. */
:root {
  --color-primary: #F4EDE2;
  --color-secondary: #401e0e;
  --color-accent: #fc9628;
  --color-ground: #0f0e09;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;
}


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-ground);
  color: var(--color-primary);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; }

/* nav, shared by every page that carries the filmstrip hero */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.nav-logo-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--color-accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; color: var(--color-ground); }
.nav-brand { font-family: var(--font-display); font-weight: 700; color: #fff; }
.nav-cta { padding: .6rem 1.2rem; border-radius: 8px; background: var(--color-accent); color: var(--color-ground); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { nav { padding: 0 1.5rem; } }

/* filmstrip hero — generalised verbatim from blueprint.md / the live reference build */
.filmstrip { position: relative; height: 620vh; background: var(--color-ground); }
.filmstrip-stage { position: sticky; top: 0; height: 100svh; width: 100%; overflow: hidden; background: var(--color-ground); }
.filmstrip-canvas, .filmstrip-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.filmstrip-poster { z-index: 1; transition: opacity .7s ease; }
.film-ready .filmstrip-poster { opacity: 0; }
.filmstrip-canvas { z-index: 0; }
.filmstrip-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(104deg, rgba(20,14,8,.60) 0%, rgba(20,14,8,.24) 26%, rgba(20,14,8,0) 50%),
              linear-gradient(0deg, rgba(20,14,8,.52) 0%, rgba(20,14,8,.10) 26%, rgba(20,14,8,0) 46%);
}
.illustrative-label {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 3;
  font-family: var(--font-body); font-size: .85rem; letter-spacing: .02em;
  background: rgba(0,0,0,.55); color: #fff; padding: .4rem .75rem; border-radius: 3px;
}
.illustrative-label[hidden] { display: none; }
.filmstrip-caps { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fcap { position: absolute; left: clamp(24px,6vw,96px); bottom: clamp(88px,16vh,180px); max-width: 38ch;
  opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
.fcap.on { opacity: 1; transform: none; }
.fcap h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5rem; text-shadow: 0 2px 24px rgba(20,14,8,.92), 0 1px 4px rgba(20,14,8,.8); }
.fcap .eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); text-shadow: 0 1px 10px rgba(20,14,8,.9); }
.fcap p { font-size: 15.5px; color: rgba(244,237,226,.88); line-height: 1.72; margin: 0; max-width: 40ch;
  text-shadow: 0 2px 18px rgba(20,14,8,.95), 0 1px 3px rgba(20,14,8,.85); }
.fcap .btn-secondary { pointer-events: auto; margin-top: .6rem; display: inline-block; }
.filmstrip-rail { position: absolute; z-index: 3; right: clamp(24px,5vw,72px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.filmstrip-rail i { width: 24px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); transition: width .4s ease, background .4s ease; }
.filmstrip-rail i.on { width: 46px; background: var(--color-accent); }
@media (max-width: 900px) {
  .filmstrip { height: 500vh; }
  .filmstrip-rail { display: none; }
  .fcap { right: clamp(24px,6vw,96px); max-width: none; }
  .filmstrip-scrim { background: linear-gradient(0deg, rgba(20,14,8,.66) 0%, rgba(20,14,8,.14) 30%, rgba(20,14,8,0) 52%); }
}
@media (prefers-reduced-motion: reduce) { .filmstrip { height: 100svh; } }
.skip-intro { color: #fff; opacity: .7; font-size: .85rem; margin-top: .25rem; }

.btn {
  display: inline-block; padding: .75rem 1.4rem; border-radius: 3px;
  font-family: var(--font-body); font-weight: 600; text-decoration: none;
  border: 1px solid var(--color-accent);
}
.btn-primary { background: var(--color-accent); color: var(--color-ground); }
.btn-secondary { background: transparent; color: inherit; }

.section { padding: 4rem 1.5rem; max-width: 56rem; margin: 0 auto; }
.house-photo { width: 100%; border-radius: 4px; margin: 1.5rem 0; }
.see-menu { color: var(--color-accent); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.card { border: 1px solid var(--color-secondary); border-radius: 4px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .card-body { padding: 1rem; }

.menu-search { width: 100%; padding: .6rem .9rem; margin: 1.5rem 0; border: 1px solid var(--color-secondary); border-radius: 3px; font-family: var(--font-body); }
.menu-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.menu-tabs button { font-family: var(--font-body); padding: .4rem .9rem; border: 1px solid var(--color-secondary); background: transparent; border-radius: 999px; cursor: pointer; }
.menu-tabs button[aria-selected="true"] { background: var(--color-accent); color: var(--color-ground); }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--color-secondary); }

.hours { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.hours td { padding: .25rem 0; }
.visit-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

.closing { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; text-align: center; }

.site-footer { padding: 2rem 1.5rem; text-align: center; font-size: .85rem; border-top: 1px solid var(--color-secondary); }
.socials { margin-top: .5rem; }
.socials a { margin: 0 .4rem; }

.sticky-actions {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--color-primary); color: var(--color-ground);
}
.sticky-actions a { padding: .9rem 0; text-align: center; font-weight: 600; color: inherit; text-decoration: none; }
@media (max-width: 820px) { .sticky-actions { display: grid; } body { padding-bottom: 3.2rem; } }

.motion-toggle {
  position: fixed; top: 1rem; right: 1rem; z-index: 20;
  font-family: var(--font-body); font-size: .8rem; padding: .4rem .8rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.35); color: #fff; cursor: pointer;
}

/* Reduced motion / Save-Data (set by engine/scrub.js via is-static-hero, or
   the OS media query): poster stays, no canvas scrub, captions just show. */
.is-static-hero .filmstrip { height: 100svh; }
.is-static-hero .filmstrip-canvas { display: none; }
.is-static-hero .filmstrip-poster { opacity: 1 !important; }
.is-static-hero .fcap:first-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .filmstrip-poster { opacity: 1 !important; }
}
