/* SUGBA by Food-D'Licious — demo site styles */
:root {
  --board: #141414;
  --board-2: #232220;
  --chalk: #F4F1EA;
  --flame: #F0562A;
  --ember: #C9301C;
  --glow: #F7A531;
  --wood: #A27B55;
  --paper: #FBF6EE;
  --smoke: #8C8A85;
  --ink: #2A2724;        /* body text on paper */
  --ink-2: #5A554F;      /* muted text on paper (AA) */
  --skin: #F2C9A0;
  --f-display: "Bowlby One", "Arial Black", sans-serif;
  --f-chalk: "Caveat Brush", "Comic Sans MS", cursive;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;
  --wrap: 1200px;
  --gut: 16px;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media (min-width: 768px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--board); color: var(--chalk);
  font: 400 1.0625rem/1.6 var(--f-body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--glow); color: var(--board); padding: 8px 14px; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 64px 0; position: relative; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .04em; }
.small { font-size: .875rem; color: var(--smoke); }
.paper .small, .on-paper .small { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease-out), background-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-flame { background: var(--flame); color: var(--board); }
.btn-flame:hover { background: var(--glow); }
.btn-chalk { background: transparent; color: var(--chalk); border-color: var(--chalk); }
.btn-chalk:hover { background: var(--chalk); color: var(--board); }
.btn-board { background: var(--board); color: var(--chalk); }
.btn-board:hover { background: var(--board-2); }
.btn-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 700; color: var(--glow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.on-paper .link-arrow, .paper .link-arrow { color: var(--ember); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--board); border-bottom: 1px solid #2c2b28; }
.hdr { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; padding: 6px 0; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt .wm { font-size: 1.55rem; }
.logo-txt small { font: 500 .72rem/1.2 var(--f-body); color: var(--chalk); letter-spacing: .02em; margin-top: 2px; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 700; padding: 8px 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--flame); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px;
  background: var(--board-2); border: 1px solid #3a3835; font: 500 .8rem/1.2 var(--f-mono); white-space: nowrap;
}
.chip .dot { width: 14px; height: 16px; flex: none; }
.chip.is-closed .dot { opacity: .45; filter: grayscale(1); }
.chip.is-open .dot { transform-origin: 50% 90%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--flame); color: var(--board); border: 0; cursor: pointer; flex: none;
}
.icon-btn.ghost { background: transparent; color: var(--chalk); border: 2px solid #3a3835; }
.icon-btn svg { width: 22px; height: 22px; }
.call-btn { display: none; }
.hdr .chip { order: 5; flex-basis: 100%; justify-content: center; margin: -4px 0 8px; background: none; border: 0; padding: 0; }
@media (min-width: 560px) { .hdr .chip { order: 0; flex-basis: auto; margin: 0; background: var(--board-2); border: 1px solid #3a3835; padding: 5px 12px 5px 9px; } }
@media (min-width: 980px) {
  .nav { display: flex; gap: 22px; margin-right: 8px; }
  .menu-toggle, .hdr .phone-icon { display: none; }
  .call-btn { display: inline-flex; min-height: 44px; padding: 10px 18px; }
}
.sheet { display: none; border-top: 1px solid #2c2b28; background: var(--board); }
.sheet.open { display: block; }
.sheet ul { list-style: none; margin: 0; padding: 8px var(--gut) 20px; }
.sheet a { display: block; padding: 14px 0; font: 400 1.4rem/1.2 var(--f-display); text-decoration: none; border-bottom: 1px dashed #3a3835; }
.sheet .btn { margin-top: 16px; width: 100%; font-family: var(--f-body); }
@media (min-width: 980px) { .sheet, .sheet.open { display: none; } }

/* ---------- Wordmark (motion 1) ---------- */
.wm {
  position: relative; display: inline-block; font-family: var(--f-display); line-height: 1; letter-spacing: .01em;
  color: var(--ember); -webkit-text-stroke: 1.5px var(--chalk); paint-order: stroke fill;
}
.wm .heat {
  position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 0;
  background: linear-gradient(to top, var(--ember) 0%, var(--flame) 45%, var(--glow) 100%);
  -webkit-background-clip: text; background-clip: text;
  clip-path: inset(0 0 0 0);
}
.wm.big { font-size: clamp(2.7rem, 11.5vw, 7rem); -webkit-text-stroke-width: 3px; }

/* ---------- Chalk lines (motion 3) ---------- */
.chalk { font-family: var(--f-chalk); color: var(--chalk); font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; filter: url(#chalk-rough); display: inline-block; }
.chalk.glow { color: var(--glow); }
.on-paper .chalk { color: var(--ember); }

/* ---------- Flame edge (motion 5) ---------- */
.flame-edge { position: absolute; left: -8px; right: -8px; height: 28px; pointer-events: none; overflow: hidden; }
.flame-edge.bottom { bottom: -1px; }
.flame-edge.top { top: -27px; }
.flame-edge::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 28'%3E%3Cpath d='M0 28 C6 24 4 16 9 10 C9 17 14 19 15 14 C16 9 13 5 17 0 C19 8 25 11 24 18 C27 15 27 12 30 10 C33 16 30 22 34 28 Z M30 28 C36 22 34 15 40 8 C40 15 45 17 46 12 C49 17 45 23 50 28 Z M46 28 C52 23 50 14 56 6 C57 14 62 15 62 9 C64 7 64 4 66 2 C69 10 74 14 72 21 C75 18 76 15 78 13 C81 20 77 24 82 28 Z M78 28 C84 23 82 17 88 11 C88 17 93 19 94 14 C96 9 94 6 97 3 C100 11 105 15 103 22 C106 19 108 17 110 16 C112 21 114 25 120 28 Z' fill='%23F0562A'/%3E%3Cpath d='M12 28 C14 24 15 20 17 18 C18 22 21 24 21 28 Z M58 28 C60 23 62 20 64 16 C66 21 69 24 68 28 Z M92 28 C93 24 95 22 97 19 C99 23 101 25 101 28 Z' fill='%23F7A531'/%3E%3C/svg%3E") repeat-x left bottom / 120px 28px;
}
.flame-edge.top::before { transform: none; }

/* ---------- Food in circles (motif 3, motion 4) ---------- */
.circ { position: relative; isolation: isolate; }
.circ .block { position: absolute; z-index: -1; background: var(--flame); border-radius: 6px; }
.circ picture, .circ > img { display: block; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 6px var(--board); }
.on-paper .circ picture { box-shadow: 0 0 0 6px var(--paper); }
.circ img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grill-mark price tags (motif 5, motion 7) ---------- */
.tag {
  position: relative; display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 14px 8px 40px;
  background: var(--flame); color: var(--board); border-radius: 4px 999px 999px 4px; font-weight: 700; line-height: 1.2;
}
.tag::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 30px; border-radius: 4px 0 0 4px;
  background: linear-gradient(115deg, transparent 18%, rgba(20,20,20,.75) 18% 30%, transparent 30% 44%, rgba(20,20,20,.75) 44% 56%, transparent 56% 70%, rgba(20,20,20,.75) 70% 82%, transparent 82%);
  clip-path: inset(0 0 0 0);
}
.tag .p { font-family: var(--f-mono); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 80px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } .hero { padding: 64px 0 110px; } }
.brand-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.brand-lockup .mascot { width: clamp(84px, 23vw, 160px); flex: none; }
.brand-lockup .by { display: block; font: 700 clamp(.95rem, 2.6vw, 1.2rem)/1 var(--f-body); margin-top: 6px; letter-spacing: .02em; }
.hero h1 { max-width: 16ch; }
.hero .sub { font-size: 1.125rem; max-width: 52ch; color: #E4E0D7; }
.hero-photo { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.hero-photo .circ { width: 88%; margin-left: auto; }
.hero-photo .block { inset: 14% -6% -8% 22%; }
.hero-photo .chalk { position: absolute; left: 0; bottom: -6px; transform: rotate(-6deg); max-width: 9ch; }
@media (min-width: 900px) { .hero-photo .chalk { left: -24px; } }

/* ---------- Next buffet card (motion 8) ---------- */
.nb { padding: 0 0 72px; }
.nb-card {
  background: var(--board-2); border: 2px solid #3a3835; border-radius: 10px; padding: 26px 22px;
  display: grid; gap: 18px; position: relative; box-shadow: inset 0 0 0 6px var(--board-2), inset 0 0 0 8px #34322e;
}
@media (min-width: 768px) { .nb-card { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 30px 36px; } }
.nb-label { color: var(--glow); font-size: .85rem; }
.nb-day { perspective: 600px; }
.nb-day b { display: inline-block; font: 400 clamp(2.4rem, 8vw, 3.4rem)/1 var(--f-display); color: var(--chalk); transform-origin: 50% 50%; }
.nb-meta { font-family: var(--f-mono); font-weight: 500; font-size: 1.15rem; color: var(--chalk); margin-top: 6px; }
.nb-meta .price { color: var(--glow); }
.nb-card .small { margin: 0; max-width: 46ch; }
.nb-card .btns a:not(.btn) { color: var(--chalk); font-weight: 700; text-underline-offset: 4px; }

/* ---------- Sizzle strip (motion 9) ---------- */
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin: 0 calc(var(--gut) * -1); padding-left: var(--gut); padding-right: var(--gut); scrollbar-color: var(--flame) var(--board-2); }
@media (min-width: 768px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.strip figure { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.strip .shot { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--board-2); }
.strip .shot img { width: 100%; height: 100%; object-fit: cover; }
.strip figure:nth-child(even) .shot { border-radius: 999px 999px 8px 8px; }
.strip figcaption { display: flex; }
.strip .tag { font-size: .95rem; }

/* ---------- Java-log two-col ---------- */
.two { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; } .two.flip > :first-child { order: 2; } }
.two .circ { max-width: 440px; width: 86%; margin: 0 auto; }
.jl-photo .block { inset: -6% 30% 36% -8%; }
.fp-photo .block { background: var(--board); inset: 40% -6% -6% 34%; }

/* ---------- Orange block ---------- */
.orange { background: var(--flame); color: var(--board); }
.orange h2 { color: var(--board); }
.orange .circ picture { box-shadow: 0 0 0 6px var(--flame); }
.orange .small { color: #3a1a0f; }

/* ---------- Reviews (motion 10) ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 32px; }
.rating { font-family: var(--f-mono); font-weight: 500; color: var(--glow); font-size: 1.05rem; }
.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 1100px) { .cards { grid-template-columns: 1.15fr .85fr 1fr .9fr; align-items: start; } .cards .ccard:nth-child(even) { margin-top: 36px; } }
.ccard {
  margin: 0; background: var(--board-2); border: 2px solid #3a3835; border-radius: 8px; padding: 22px 20px 18px;
  position: relative; box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.ccard::before { content: "\201C"; position: absolute; top: -18px; left: 14px; font: 400 3.4rem/1 var(--f-display); color: var(--flame); }
.ccard blockquote { margin: 0 0 14px; font-size: 1rem; line-height: 1.55; }
.ccard figcaption { font-family: var(--f-chalk); font-size: 1.35rem; color: var(--glow); }

/* ---------- Find us strip ---------- */
.findus { background: var(--board-2); padding: 40px 0 72px; }
.findus-grid { display: grid; gap: 18px 40px; align-items: center; }
@media (min-width: 900px) { .findus-grid { grid-template-columns: 1.2fr 1fr auto; } }
.findus h2 { font-size: 1.5rem; margin-bottom: .3em; }
.findus p { margin: 0; }
.findus .hours { font-family: var(--f-mono); font-weight: 500; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--board); padding: 64px 0 28px; border-top: 0; margin-top: 28px; }
.ft-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .ft-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft-grid p { margin: 0 0 6px; }
.ft-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.ft-brand svg { width: 52px; height: 52px; }
.site-footer .chalk { color: var(--glow); }
.site-footer a { text-underline-offset: 3px; }
.ft-last { margin-top: 36px; padding-top: 18px; border-top: 1px dashed #3a3835; font-size: .875rem; color: var(--smoke); }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding: 40px 0 72px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .phero { padding: 64px 0 96px; } }
.phero .intro { max-width: 60ch; color: #E4E0D7; }

/* ---------- Menu page ---------- */
.rail-wrap { position: sticky; top: 64px; z-index: 40; background: var(--board); border-bottom: 1px solid #2c2b28; }
@media (max-width: 559px) { .rail-wrap { top: 92px; } }
.rail { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 10px; }
.rail::-webkit-scrollbar { display: none; }
.rail button, .rail a { flex: none; background: none; border: 0; color: var(--chalk); font: 700 .95rem/1 var(--f-body); padding: 12px 12px; cursor: pointer; text-decoration: none; white-space: nowrap; opacity: .72; transition: opacity .2s; }
.rail button[aria-current="true"] { opacity: 1; }
.rail a { color: var(--glow); opacity: 1; }
.rail .bar { position: absolute; left: 0; bottom: 6px; height: 3px; width: 100px; background: var(--flame); border-radius: 3px; transform-origin: 0 50%; transform: translateX(0) scaleX(0); transition: transform .35s var(--ease-out); pointer-events: none; }
.cat { padding: 56px 0 8px; scroll-margin-top: 140px; }
.cat-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-head h2 { margin: 0; }
.cat-head .note { font-family: var(--f-mono); font-size: .85rem; color: var(--smoke); }
.cat-body { display: grid; gap: 28px; }
@media (min-width: 900px) { .cat-body.has-photo { grid-template-columns: 1fr 300px; gap: 56px; align-items: start; } .cat:nth-of-type(even) .cat-body.has-photo { grid-template-columns: 300px 1fr; } .cat:nth-of-type(even) .cat-body.has-photo .cat-photo { order: -1; } }
.cat-photo { width: min(260px, 70%); margin: 0 auto; }
.cat-photo .block { inset: 50% -10% -8% 40%; }
@media (min-width: 900px) { .cat-photo { width: 100%; position: sticky; top: 150px; } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px dashed #3a3835; }
.row { border-bottom: 1px dashed #3a3835; }
.row-btn, .row-static { display: flex; width: 100%; align-items: baseline; gap: 10px; padding: 14px 2px; background: none; border: 0; color: var(--chalk); font: 500 1.05rem/1.35 var(--f-body); text-align: left; }
.row-btn { cursor: pointer; }
.row-btn:hover .nm { color: var(--glow); }
.row .nm { font-weight: 700; }
.row .plus { font-family: var(--f-mono); color: var(--flame); font-size: .9rem; width: 1ch; transition: transform .25s var(--ease-out); flex: none; }
.row-btn[aria-expanded="true"] .plus { transform: rotate(45deg); }
.row .dots { flex: 1; border-bottom: 2px dotted #4a4844; transform: translateY(-4px); min-width: 16px; }
.row .pr { font-family: var(--f-mono); font-weight: 500; white-space: nowrap; color: var(--chalk); }
.row .desc { padding: 0 2px 14px 1.6em; color: #D9D4CA; margin: -6px 0 0; }
.row .desc[hidden] { display: none; }
.row-static .plus { visibility: hidden; }

/* Plate builder (motion 13) */
.builder { background: var(--board-2); border: 2px solid #3a3835; border-radius: 10px; padding: 22px; display: grid; gap: 22px; margin-bottom: 28px; }
@media (min-width: 760px) { .builder { grid-template-columns: 240px 1fr; align-items: center; gap: 32px; padding: 28px; } }
.builder .stack { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; width: min(240px, 72%); margin: 0 auto; box-shadow: 0 0 0 6px var(--board-2), 0 0 0 10px var(--flame); }
.builder .stack picture { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.builder .stack picture.on { opacity: 1; }
.builder .stack img { width: 100%; height: 100%; object-fit: cover; }
.builder h3 { font-family: var(--f-chalk); font-size: 1.7rem; color: var(--glow); margin: 0 0 4px; filter: url(#chalk-rough); }
.proteins { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.proteins button { background: transparent; color: var(--chalk); border: 2px solid #4a4844; border-radius: 999px; padding: 9px 14px; font: 700 .92rem/1 var(--f-body); cursor: pointer; min-height: 40px; }
.proteins button[aria-pressed="true"] { background: var(--flame); border-color: var(--flame); color: var(--board); }
.builder-out { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.builder-out .pick { font: 400 1.5rem/1.1 var(--f-display); }
.builder-out .pr { font: 500 1.5rem/1 var(--f-mono); color: var(--glow); }
.builder-out .with { color: #D9D4CA; width: 100%; font-size: .95rem; }

/* ---------- Buffet page ---------- */
.bhero-img { position: relative; margin-top: 28px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.bhero-img img { width: 100%; height: 100%; object-fit: cover; }
.buffet-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .buffet-grid { grid-template-columns: 1fr 340px; gap: 56px; align-items: start; } }
.daycards { display: grid; gap: 16px; margin: 24px 0 14px; }
@media (min-width: 560px) { .daycards { grid-template-columns: 1fr 1fr; } }
.daycard { background: var(--board-2); border: 2px solid #3a3835; border-radius: 10px; padding: 20px; box-shadow: inset 0 0 0 5px var(--board-2), inset 0 0 0 7px #34322e; }
.daycard h3 { font-size: 1.9rem; margin: 0 0 8px; }
.daycard .t { font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem; }
.daycard .p { font-family: var(--f-chalk); font-size: 1.8rem; color: var(--glow); line-height: 1.1; margin-top: 4px; }
.calc { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 22px; margin: 26px 0 20px; display: grid; gap: 18px; }
@media (min-width: 640px) { .calc { grid-template-columns: auto auto 1fr; align-items: end; gap: 28px; padding: 26px 28px; } }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend, .calc .lbl { font: 700 .85rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; display: block; color: var(--ink-2); padding: 0; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 16px; font-weight: 700; min-height: 44px; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: -4px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; background: none; border: 0; font: 700 1.3rem/1 var(--f-mono); cursor: pointer; color: var(--ink); border-radius: 50%; }
.stepper input { width: 3.2ch; border: 0; background: none; text-align: center; font: 500 1.2rem/1 var(--f-mono); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.total { text-align: left; }
@media (min-width: 640px) { .total { text-align: right; } }
.total .lbl { margin-bottom: 6px; }
.odo { display: inline-flex; font: 500 clamp(2rem, 7vw, 2.6rem)/1 var(--f-mono); color: var(--ember); overflow: hidden; height: 1.1em; align-items: center; }
.odo span { display: inline-block; }
.total .how { font: 500 .85rem/1.3 var(--f-mono); color: var(--ink-2); margin-top: 6px; }
.mascot-photo { border-radius: 10px; overflow: hidden; position: relative; }
.mascot-photo img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; }
.mascot-photo .chalk { position: absolute; left: 14px; bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.9); }

.platters { display: grid; gap: 22px; margin-top: 30px; }
@media (min-width: 900px) { .platters { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; } .platters .pl:first-child { grid-row: span 2; } }
.pl { background: var(--board-2); border: 2px solid #3a3835; border-radius: 10px; padding: 24px; position: relative; }
.pl:first-child { background: var(--flame); color: var(--board); border-color: var(--flame); }
.pl .pl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pl h3 { margin: 0; font-size: 1.5rem; }
.pl .pp { font: 500 1.3rem/1 var(--f-mono); color: var(--glow); }
.pl:first-child .pp { color: var(--board); }
.pl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pl li { border: 1.5px solid currentColor; border-radius: 999px; padding: 5px 12px; font-weight: 500; font-size: .95rem; }
.pl .circ { width: min(300px, 80%); margin: 0 auto 22px; }
.pl .circ picture { box-shadow: 0 0 0 6px var(--flame); }
.pl .circ .block { background: var(--board); inset: 46% -8% -6% 46%; }
.pl-note { margin-top: 20px; font-weight: 700; }

.paper { background: var(--paper); color: var(--ink); }
.paper h2, .paper h3 { color: var(--board); }
.party-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .party-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.form { display: grid; gap: 16px; background: #fff; border: 2px solid #E7DFD2; border-radius: 10px; padding: 22px; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; padding: 28px; } .form .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--ink); padding: 0; }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 2px solid #CFC5B6; border-radius: 8px; padding: 11px 12px; min-height: 48px;
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--glow); outline-offset: 1px; border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: flex; gap: 18px; flex-wrap: wrap; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; margin: 0; }
.radios input { width: 20px; height: 20px; accent-color: var(--ember); }

/* ---------- Visit page ---------- */
.visit-hero { position: relative; }
.visit-hero .vh-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
@media (min-width: 900px) { .visit-hero .vh-img { aspect-ratio: 16 / 10; } }
.visit-hero .vh-img img { width: 100%; height: 100%; object-fit: cover; }
.addr-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .addr-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.addr { font-size: 1.25rem; font-weight: 700; color: var(--board); }
.sketch { width: 100%; height: auto; background: #fff; border: 2px solid #E7DFD2; border-radius: 10px; }
.hours-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.board-panel { background: var(--board); color: var(--chalk); border-radius: 10px; padding: 26px 24px; border: 10px solid var(--wood); box-shadow: inset 0 0 40px rgba(0,0,0,.6); }
.board-panel h2 { color: var(--chalk); font-family: var(--f-chalk); font-size: 2.2rem; filter: url(#chalk-rough); }
.hrs { list-style: none; margin: 0 0 18px; padding: 0; font-family: var(--f-mono); font-weight: 500; }
.hrs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #3a3835; position: relative; }
.hrs li.today { color: var(--glow); }
.hrs li:not(.today) .ul { display: none; }
.hrs li .ul { position: absolute; left: 0; right: 0; bottom: 3px; height: 8px; pointer-events: none; }
.hrs li .ul svg { width: 100%; height: 100%; display: block; }
.board-panel .small { color: #C9C5BC; margin: 0; }
.board-panel .small a { color: var(--glow); }
.gtk { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gtk li { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; background: #fff; border: 2px solid #E7DFD2; border-radius: 8px; font-weight: 500; }
.gtk li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--flame); border-radius: 50%; transform: translateY(-1px); }
.gallery { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1fr 1.3fr 1fr; align-items: center; } .gallery figure:nth-child(2) { margin-top: -30px; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery figcaption { font-size: .875rem; color: var(--ink-2); margin-top: 6px; }
.about p { font-size: 1.15rem; max-width: 62ch; }

/* ---------- Bottom CTA (orange) ---------- */
.cta-block { padding: 48px 0 64px; }
.cta-block p { font: 400 clamp(1.4rem, 4vw, 2rem)/1.2 var(--f-display); margin-bottom: 22px; max-width: 26ch; }

/* ---------- Demo modal ---------- */
dialog.demo {
  width: min(460px, calc(100% - 32px)); border: 0; border-radius: 14px; padding: 0; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
dialog.demo::backdrop { background: rgba(10,10,10,.72); }
.demo-in { padding: 26px 24px 24px; text-align: center; }
.demo-in .mascot { width: 110px; margin: 0 auto 10px; }
.demo-in h2 { font-size: 1.5rem; color: var(--board); }
.demo-in p { margin: 0 auto 20px; max-width: 34ch; }
.demo-in .btns { justify-content: center; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 64px 0 96px; }
.nf .mascot { width: 180px; margin: 0 auto 18px; }
.nf .btns { justify-content: center; }

/* ======================================================
   Motion (only when motion is OK)
   ====================================================== */
@keyframes heat { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes flicker { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sway { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { 0% { transform: scale(.85); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes wave { 0% { transform: rotate(0); } 25% { transform: rotate(-38deg); } 45% { transform: rotate(-22deg); } 65% { transform: rotate(-38deg); } 100% { transform: rotate(0); } }
@keyframes slideIn { from { transform: translateX(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes flip { from { transform: rotateX(-90deg); opacity: 0; } to { transform: rotateX(0); opacity: 1; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tilt { from { transform: rotate(-3deg) translateY(14px); opacity: 0; } to { transform: rotate(0) translateY(0); opacity: 1; } }
@keyframes descIn { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes roll { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes drop { 0% { transform: translateY(-60px); opacity: 0; } 70% { transform: translateY(4px); opacity: 1; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes light { from { transform: scale(0); } to { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* 1 wordmark heats up */
  .wm .heat { animation: heat .8s var(--ease-out) .15s both; }
  /* 2 open-now chip flame */
  .chip.is-open .dot { animation: flicker 1.8s ease-in-out infinite; }
  /* 5 flame divider sway */
  .flame-edge::before { animation: sway 3s ease-in-out infinite; }
  /* 3 chalk write-on */
  .js .chalk.rv { clip-path: inset(0 100% 0 0); }
  .js .chalk.rv.in { animation: write 1.1s steps(14, end) forwards; }
  /* 4 circle pop */
  .js .circ.rv picture { transform: scale(.85); opacity: 0; }
  .js .circ.rv.in picture { animation: pop .7s var(--ease-pop) forwards; }
  /* 6 mascot wave */
  .mascot .arm { transform-box: fill-box; transform-origin: 85% 90%; animation: wave 1.6s ease-in-out .9s 1 both; }
  /* 7 grill-mark price tags */
  .js .tag.rv { opacity: 0; }
  .js .tag.rv.in { animation: slideIn .5s var(--ease-out) var(--d, 0ms) forwards; }
  .js .tag.rv::before { clip-path: inset(0 100% 0 0); }
  .js .tag.rv.in::before { animation: sweep .45s ease-out calc(var(--d, 0ms) + 350ms) forwards; }
  /* 8 buffet day flip */
  .nb-day b.flip { animation: flip .6s var(--ease-out) both; }
  /* 9 sizzle strip wipes */
  .js .strip.rv .shot { clip-path: inset(0 0 100% 0); }
  .js .strip.rv.in .shot { animation: wipe .7s var(--ease-out) forwards; }
  .js .strip.rv.in figure:nth-child(2) .shot { animation-delay: 90ms; }
  .js .strip.rv.in figure:nth-child(3) .shot { animation-delay: 180ms; }
  .js .strip.rv.in figure:nth-child(4) .shot { animation-delay: 270ms; }
  .js .strip.rv.in figure:nth-child(5) .shot { animation-delay: 360ms; }
  /* 10 review chalk cards */
  .js .ccard.rv { opacity: 0; transform: rotate(-3deg) translateY(14px); }
  .js .ccard.rv.in { animation: tilt .6s var(--ease-out) var(--d, 0ms) forwards; }
  /* 12 row description */
  .row .desc:not([hidden]) { animation: descIn .3s var(--ease-out); }
  /* 14 platter build-up */
  .js .pl.rv li { opacity: 0; }
  .js .pl.rv.in li { animation: fadeIn .35s ease forwards; animation-delay: calc(var(--i) * 60ms); }
  /* 15 headcount digits roll */
  .odo span.roll { animation: roll .35s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); }
  /* 16 map pin */
  .js .sketch.rv .pin, .js .sketch.rv .pin-flame { opacity: 0; }
  .js .sketch.rv.in .pin { animation: drop .7s var(--ease-out) forwards; }
  .js .sketch.rv.in .pin-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: light .4s var(--ease-pop) .7s both; opacity: 1; }
  /* 17 hours board underline */
  .js .hrs li.today .ul { clip-path: inset(0 100% 0 0); }
  .js .hrs.in li.today .ul { animation: write .9s steps(12, end) .3s forwards; }
  /* 18 wink */
  .mascot .eye-r, .mascot .wink { transition: opacity .12s; }
}
.mascot .wink { opacity: 0; }
.mascot.winking .eye-r { opacity: 0; }
.mascot.winking .wink { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
