@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,700;12..96,800&family=Rye&family=Caveat:wght@600&display=swap");

@view-transition { navigation: auto; }

@property --glow {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --char: #120b07;
  --bark: #1f130c;
  --oak: #3a2416;
  --hickory: #6b3f22;
  --ember: #ff6a1a;
  --flame: #ffb347;
  --sauce: #9e1f12;
  --cream: #f6e9d4;
  --smoke: #c9b8a3;
  --display: "Rye", Georgia, serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;
  --script: "Caveat", cursive;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--cream);
  background: var(--char);
  line-height: 1.55;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
img { max-width: 100%; display: block; }
a { color: var(--flame); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .01em; }
.script { font-family: var(--script); color: var(--flame); font-size: 1.6em; line-height: 1; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--sauce), var(--ember), var(--flame));
  transform-origin: 0 50%;
  transform: scaleX(0);
  animation: grow linear both;
  animation-timeline: scroll(root);
}
@keyframes grow { to { transform: scaleX(1); } }

/* header */
.nav {
  position: sticky; top: 0; z-index: 50;
  view-transition-name: nav;
  backdrop-filter: blur(14px) saturate(1.4);
  background: color-mix(in oklab, var(--char) 70%, transparent);
  border-bottom: 1px solid #ffffff10;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { font-family: var(--display); font-size: 1.35rem; color: var(--cream); text-decoration: none; display: flex; align-items: center; gap: .5rem; }
.brand .flame { width: 26px; height: 26px; animation: flicker 1.6s infinite alternate; filter: drop-shadow(0 0 8px var(--ember)); }
@keyframes flicker { 0% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.08, .95) rotate(2deg); } 100% { transform: scale(.96, 1.06) rotate(-1deg); } }
.links { display: none; gap: .35rem; }
.links a { color: var(--smoke); text-decoration: none; padding: .5rem .9rem; border-radius: 99px; transition: .3s var(--ease); font-weight: 700; }
.links a:hover, .links a[aria-current] { color: var(--cream); background: #ffffff12; }
.burger { background: none; border: 0; color: var(--cream); width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: .35s var(--ease); position: relative; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
.drawer {
  display: grid; gap: .25rem; overflow: hidden;
  max-height: 0; transition: max-height .5s var(--ease);
}
.nav.open .drawer { max-height: 420px; }
.drawer a { font-family: var(--display); font-size: 2rem; color: var(--cream); text-decoration: none; padding: .35rem 1.25rem; }
.drawer a:last-child { margin-bottom: 1rem; }
@media (min-width: 860px) {
  .links { display: flex; }
  .burger, .drawer { display: none; }
}

/* buttons */
.btn {
  --x: 50%; --y: 50%;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 800 1.05rem var(--body); letter-spacing: .02em; text-transform: uppercase;
  color: #1a0d05; text-decoration: none;
  padding: 1rem 1.6rem; border-radius: 99px; border: 0; cursor: pointer;
  background: radial-gradient(circle at var(--x) var(--y), #ffe2a8, var(--flame) 35%, var(--ember) 75%);
  box-shadow: 0 10px 40px -10px var(--ember), inset 0 -3px 0 #0003;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--glow), var(--sauce), var(--flame), var(--ember), var(--sauce));
  animation: spin 3s linear infinite; filter: blur(6px); opacity: .8;
}
@keyframes spin { to { --glow: 360deg; } }
.btn:hover { box-shadow: 0 18px 60px -10px var(--ember), inset 0 -3px 0 #0003; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: #ffffff10; color: var(--cream); box-shadow: inset 0 0 0 1.5px #ffffff30; }
.btn.ghost::before { display: none; }
.btn.big { font-size: 1.25rem; padding: 1.25rem 2.2rem; }
.btn svg { width: 1.2em; height: 1.2em; }

/* floating order button (mobile) */
.fab {
  position: fixed; bottom: max(1rem, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; z-index: 70;
  view-transition-name: fab;
  white-space: nowrap;
  width: max-content;
  animation: fabIn .8s 1s var(--ease) both;
}
@keyframes fabIn { from { translate: -50% 150%; } }
@media (min-width: 860px) { .fab { left: auto; right: 1.5rem; translate: 0; } @keyframes fabIn { from { translate: 0 150%; } } }

/* hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate; padding-bottom: 5rem; margin-top: -70px; padding-top: 90px;
}
.hero .bg { position: absolute; inset: 0; z-index: -3; }
.hero .bg .ph { height: 100%; border-radius: 0; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.15) translate(-2%, -2%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 70% at 50% 110%, #ff6a1a55, transparent 60%), linear-gradient(180deg, #120b07cc 0%, #120b0744 35%, #120b07f2 88%);
}
#smoke { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.banner {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; letter-spacing: .25em; font-size: .8rem; text-transform: uppercase;
  background: var(--sauce); color: var(--cream); padding: .5rem 1rem; border-radius: 99px;
  box-shadow: 0 0 0 0 #9e1f1288; animation: pulse 2.2s infinite;
}
.banner i { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 12px var(--flame); }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px #9e1f1200; } 100% { box-shadow: 0 0 0 0 #9e1f1200; } }
.hero h1 {
  font-size: clamp(3rem, 14vw, 10rem);
  margin: 1rem 0 .2rem;
  background: linear-gradient(180deg, #fff6e6 20%, var(--flame) 70%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px #ff6a1a55);
  view-transition-name: title;
}
[data-split] .ch { background: linear-gradient(180deg, #fff6e6 25%, var(--flame) 70%, var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-split] .ch { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 45ms + .2s); }
@keyframes rise { from { opacity: 0; transform: translateY(.6em) rotate(8deg); filter: blur(10px); } }
.hero p.lede { font-size: clamp(1.1rem, 3.6vw, 1.4rem); max-width: 34ch; color: var(--smoke); margin: 0 0 2rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.scrollcue { position: absolute; bottom: 1.4rem; left: 50%; translate: -50%; width: 26px; height: 42px; border: 2px solid #ffffff55; border-radius: 99px; }
.scrollcue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--flame); animation: cue 1.8s infinite; }
@keyframes cue { to { transform: translateY(14px); opacity: 0; } }

/* marquee */
.marquee { background: var(--flame); color: var(--char); overflow: hidden; transform: rotate(-2deg); margin: -1.5rem -2rem 0; padding: .8rem 0; box-shadow: 0 20px 50px -20px #000; position: relative; z-index: 2; }
.marquee div { display: flex; gap: 2.5rem; width: max-content; animation: marq 28s linear infinite; font-family: var(--display); font-size: 1.5rem; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 2.5rem; color: var(--sauce); }
@keyframes marq { to { transform: translateX(-50%); } }

/* sections */
section { padding-block: clamp(4rem, 12vw, 8rem); position: relative; }
.eyebrow { font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; color: var(--ember); margin-bottom: 1rem; display: block; }
.h2 { font-size: clamp(2.4rem, 8vw, 4.6rem); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.rev > :first-child { order: 2; } }

/* reveal (scroll-driven, with JS fallback) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); filter: blur(6px); }
.reveal.in { opacity: 1; transform: none; filter: none; }
@supports (animation-timeline: view()) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(.96); filter: blur(8px); } }
  .parallax { animation: para linear both; animation-timeline: view(); }
  @keyframes para { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
}

/* placeholder photos */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: var(--ar, 4/3);
  background:
    radial-gradient(60% 50% at 30% 30%, #ffb34733, transparent 70%),
    radial-gradient(70% 60% at 80% 90%, #9e1f1255, transparent 70%),
    repeating-linear-gradient(100deg, #3a2416 0 18px, #33200f 18px 30px, #432a19 30px 44px),
    var(--oak);
  box-shadow: 0 30px 80px -30px #000, inset 0 0 0 1px #ffffff12;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img.missing { display: none; }
.ph .tag { display: none; }
.ph .icon { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(3rem, 10vw, 5rem); opacity: .35; filter: grayscale(.3); }
.ph:has(img:not(.missing)) .icon, .ph.has-photo .icon { display: none; }

/* tilt cards */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease); transform-style: preserve-3d; }

/* hours / info */
.info { display: grid; gap: 1rem; }
@media (min-width: 700px) { .info { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; padding: 1.75rem; border-radius: var(--r);
  background: linear-gradient(160deg, #2a1a10, #170e08);
  border: 1px solid #ffffff12;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), #ff6a1a26, transparent 50%);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.6rem; color: var(--flame); }
.card p { margin: .2rem 0; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; padding: .3rem .8rem; border-radius: 99px; font-size: .85rem; margin-bottom: .8rem; }
.status.open { background: #1f7a3a33; color: #7cf0a0; }
.status.closed { background: #9e1f1233; color: #ff9a8a; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed #ffffff14; }
.hours li.today { color: var(--flame); font-weight: 800; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.4rem, 9vw, 3.6rem); color: var(--flame); line-height: 1; }
.stat span { color: var(--smoke); font-size: .9rem; }

/* gallery strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 75%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.strip > * { scroll-snap-align: center; }
@media (min-width: 860px) { .strip { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); } }

/* menu page */
.page-hero { padding: 7rem 0 3rem; text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(3rem, 13vw, 7rem); view-transition-name: title; background: linear-gradient(180deg, #fff6e6 30%, var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--smoke); max-width: 40ch; margin-inline: auto; }
.tabs {
  position: sticky; top: 64px; z-index: 40; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding: .8rem 1.25rem; background: color-mix(in oklab, var(--char) 85%, transparent); backdrop-filter: blur(12px);
  border-bottom: 1px solid #ffffff10;
}
.tabs a { flex: none; text-decoration: none; color: var(--smoke); font-weight: 800; font-size: .9rem; padding: .55rem 1rem; border-radius: 99px; border: 1px solid #ffffff1c; transition: .3s var(--ease); }
.tabs a.active { background: var(--flame); color: var(--char); border-color: transparent; }
.menu-cat { padding-block: 3rem 1rem; scroll-margin-top: 130px; }
.menu-cat h2 { font-size: clamp(2.2rem, 8vw, 3.6rem); display: flex; align-items: baseline; gap: 1rem; }
.menu-cat h2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--hickory), transparent); }
.items { display: grid; gap: 1rem; }
@media (min-width: 760px) { .items { grid-template-columns: 1fr 1fr; } }
.item { display: grid; gap: .4rem; }
.item header { display: flex; align-items: baseline; gap: .6rem; }
.item h3 { font-family: var(--body); font-weight: 800; font-size: 1.2rem; margin: 0; color: var(--cream); }
.item .dots { flex: 1; border-bottom: 2px dotted #ffffff30; transform: translateY(-4px); }
.item .price { font-family: var(--display); font-size: 1.5rem; color: var(--flame); white-space: nowrap; }
.item p { margin: 0; color: var(--smoke); font-size: .95rem; }
.vars { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .2rem; }
.vars li { display: flex; justify-content: space-between; color: var(--cream); }
.vars li b { color: var(--flame); font-family: var(--display); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.chips small { width: 100%; color: var(--ember); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.chips span { font-size: .8rem; padding: .2rem .6rem; border-radius: 99px; background: #ffffff0d; border: 1px solid #ffffff18; }
.badge { display: inline-block; font-family: var(--script); font-size: 1.25rem; color: var(--char); background: var(--flame); padding: 0 .6rem; border-radius: 6px; transform: rotate(-3deg); margin-left: .3rem; }
.note { text-align: center; color: var(--smoke); font-size: .9rem; padding: 2rem 0 6rem; }

/* contact */
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; border: 1px solid #ffffff18; box-shadow: 0 30px 80px -30px #000; }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(1.2) contrast(1.05); }
.big-link { font-family: var(--display); font-size: clamp(1.6rem, 7vw, 2.6rem); color: var(--cream); text-decoration: none; display: block; word-break: break-word; transition: color .3s; }
.big-link:hover { color: var(--flame); }

/* timeline (about) */
.timeline { position: relative; display: grid; gap: 2.5rem; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--ember), var(--hickory), transparent); }
.timeline .t { position: relative; }
.timeline .t::before { content: ""; position: absolute; left: calc(-2rem + 1px); top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 5px #ff6a1a33, 0 0 20px var(--ember); }
.timeline h3 { font-size: 1.6rem; color: var(--flame); }

blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 6vw, 3rem); line-height: 1.15; text-align: center; }
blockquote footer { font-family: var(--script); font-size: 1.6rem; color: var(--flame); margin-top: 1rem; }

/* footer */
.foot { padding: 4rem 0 8rem; border-top: 1px solid #ffffff10; background: linear-gradient(180deg, transparent, #0a0603); color: var(--smoke); font-size: .95rem; }
.foot .wrap { display: grid; gap: 2rem; }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.foot h4 { color: var(--cream); margin: 0 0 .6rem; font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.foot a { color: var(--smoke); }

/* embers */
.embers { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.embers i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px 2px var(--ember); opacity: 0; animation: ember var(--d) linear var(--delay) infinite; left: var(--l); }
@keyframes ember { 0% { opacity: 0; transform: translate(0, 0); } 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -105vh); } }

/* cursor glow */
.glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; translate: -50% -50%; background: radial-gradient(circle, #ff6a1a1c, transparent 60%); transition: opacity .4s; opacity: 0; }
@media (hover: hover) { .glow { opacity: 1; } }

main, .foot { position: relative; z-index: 2; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; filter: blur(8px); transform: scale(.98); } }
@keyframes vtIn { from { opacity: 0; filter: blur(8px); transform: scale(1.02); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  #smoke, .embers, .glow { display: none; }
}
