:root {
  --ink: #2c2118; --muted: #6b5a4c; --bg: #ebe6df; --bg-soft: #e0d8ce; --white: #f7f3ed;
  --line: rgba(44,33,24,0.14); --accent: #b8892d; --accent-deep: #8f6a1f; --accent-bar: #d4a84a;
  --on-accent: #1f160e; --font: 'Anuphan', sans-serif; --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace; --max: 1080px; --demo-h: 48px; --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1); --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font); color: var(--ink); line-height: 1.65; overflow-x: hidden; font-synthesis: none;
  background:
    repeating-linear-gradient(-12deg, transparent, transparent 28px, rgba(184,137,45,0.035) 28px, rgba(184,137,45,0.035) 29px),
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(184,137,45,0.12), transparent 50%),
    var(--bg);
}
img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; } ul, ol { list-style: none; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.demo-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .55rem 1.25rem; background: #14110e; color: #fff; font-size: .82rem; }
.demo-bar strong { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--accent-bar); font-weight: 500; }
.demo-bar__actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.demo-bar a { padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); font-size: .78rem; font-weight: 500; }
.demo-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.site-header { position: sticky; top: var(--demo-h); z-index: 50; background: rgba(235,230,223,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); position: relative; }
.brand { font-family: var(--heading); font-weight: 700; font-size: 1.3rem; display: inline-flex; align-items: baseline; gap: .45rem; }
.brand small { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: .45rem .8rem; cursor: pointer; border-radius: var(--radius); color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); }
.nav-cta { background: var(--accent); color: var(--on-accent) !important; padding: .55rem 1.05rem; border-radius: var(--radius); font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; font-weight: 700; border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero { position: relative; min-height: min(90dvh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: ken 20s var(--ease) both; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(30,20,12,.9) 0%, rgba(30,20,12,.55) 52%, rgba(30,20,12,.25) 100%); }
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.oven-glow {
  position: absolute; right: 8%; bottom: 12%; width: min(42vw, 340px); height: min(42vw, 340px); border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,74,.55) 0%, rgba(184,137,45,.2) 42%, transparent 70%);
  animation: ovenPulse 4.5s ease-in-out infinite;
}
.steam {
  position: absolute; bottom: 28%; right: 22%; width: 18px; height: 70px; border-radius: 999px;
  background: linear-gradient(180deg, transparent, rgba(255,245,220,.35), transparent);
  filter: blur(2px); opacity: .55; transform-origin: bottom center;
  animation: steamRise 3.8s var(--ease) infinite;
}
.steam--2 { right: 28%; bottom: 32%; height: 90px; animation-delay: .7s; opacity: .4; }
.steam--3 { right: 18%; bottom: 30%; height: 60px; animation-delay: 1.4s; opacity: .35; }
.crumb {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(240,220,180,.75);
  animation: crumbFloat 9s linear infinite;
}
.crumb--1 { left: 12%; top: 30%; animation-duration: 10s; }
.crumb--2 { left: 22%; top: 55%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: -3s; }
.crumb--3 { left: 38%; top: 22%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: -5s; }
.crumb--4 { left: 48%; top: 48%; width: 3px; height: 3px; animation-duration: 13s; animation-delay: -2s; }
.crumb--5 { left: 18%; top: 70%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: -7s; }
.hero__inner { position: relative; z-index: 2; padding: 5rem 0 3.5rem; max-width: 38rem; margin-left: max(calc((100% - var(--max)) / 2), 1.25rem); width: min(100% - 2.5rem, 38rem); animation: rise .9s var(--ease) both; }
.hero__brand { font-family: var(--heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: baseline; }
.hero__brand span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-bar); }
.hero h1 { font-family: var(--heading); font-size: clamp(2.15rem, 5vw, 3.35rem); line-height: 1.18; letter-spacing: -.02em; margin-bottom: .9rem; }
.hero h1 em { display: block; font-style: normal; color: var(--accent-bar); font-size: .72em; margin-top: .25rem; }
.hero__lead { color: rgba(255,255,255,.86); margin-bottom: 1.5rem; }
@keyframes ken { from { transform: scale(1.05); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ovenPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.08); }
}
@keyframes steamRise {
  0% { opacity: 0; transform: translateY(12px) scaleY(.7); }
  25% { opacity: .55; }
  100% { opacity: 0; transform: translateY(-70px) scaleY(1.2); }
}
@keyframes crumbFloat {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  15% { opacity: .8; }
  85% { opacity: .5; }
  100% { transform: translate3d(40px, -120px, 0); opacity: 0; }
}

.today { border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.today__inner { display: flex; gap: 1.25rem; align-items: center; flex-wrap: nowrap; padding: 1.15rem 0; }
.today__label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: .45rem; flex-shrink: 0;
}
.live-dot {
  width: .55rem; height: .55rem; border-radius: 50%; background: #c45c2a;
  box-shadow: 0 0 0 0 rgba(196,92,42,.45); animation: livePulse 1.8s ease-out infinite;
}
.today__track {
  display: flex; gap: 2rem; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.today__list {
  display: flex; flex-wrap: nowrap; gap: .5rem 1.5rem; font-weight: 500; font-size: .95rem;
  white-space: nowrap; animation: todayScroll 28s linear infinite;
}
.today__list li { position: relative; padding-right: 1.5rem; }
.today__list li::after { content: '·'; position: absolute; right: 0; color: var(--accent); }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(196,92,42,.5); }
  70% { box-shadow: 0 0 0 10px rgba(196,92,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,92,42,0); }
}
@keyframes todayScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.section { padding: 4.5rem 0; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: #241910; color: #fff; }
.section__head { margin-bottom: 2.25rem; max-width: 38rem; }
.section__head h2 { font-family: var(--heading); font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -.02em; line-height: 1.22; margin-bottom: .5rem; }
.section__head p { color: var(--muted); }
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .5rem; }
.eyebrow.light { color: var(--accent-bar); }

/* SHELF LAYOUT — unique to Bake Oven A */
.shelf { margin-bottom: 2.5rem; }
.shelf__rail {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #5a4332, #3d2c20);
  color: #f0e6d4; padding: .55rem 1rem; border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.shelf__rail::after {
  content: ''; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,230,180,.22), transparent);
  transform: translateX(-120%);
}
.reveal.is-in .shelf__rail::after { animation: railShine 1.4s var(--ease) .15s both; }
.shelf__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  padding: 1.25rem 1rem 1.5rem; background: var(--white);
  border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 10px 0 -2px #c4b59f, 0 12px 0 -2px rgba(44,33,24,.08);
}
.pastry { display: grid; gap: .45rem; transition: transform .25s var(--ease); }
.pastry:hover { transform: translateY(-4px); }
.pastry img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px;
  transition: transform .45s var(--ease);
}
.pastry:hover img { transform: scale(1.04); }
@keyframes railShine {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}
.pastry h3 { font-family: var(--heading); font-size: 1.15rem; letter-spacing: -.015em; }
.pastry p { color: var(--muted); font-size: .88rem; }
.pastry strong { font-family: var(--heading); font-size: 1.25rem; color: var(--accent-deep); font-variant-numeric: tabular-nums; }

.custom { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.custom h2 { font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .4rem 0 1rem; letter-spacing: -.02em; }
.custom > .custom__copy > p { color: var(--muted); margin-bottom: 1.25rem; }
.ticks { display: grid; gap: .7rem; }
.ticks li { padding-left: 1.35rem; position: relative; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55rem; width: .5rem; height: .5rem; background: var(--accent); }
.custom__note { background: var(--white); border: 1px solid var(--line); padding: 1.5rem 1.35rem; border-top: 4px solid var(--accent); }
.custom__note-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .75rem; }
.custom__note > p:nth-of-type(2) { font-family: var(--heading); font-size: 1.25rem; line-height: 1.4; margin-bottom: .85rem; }
.custom__note span { color: var(--muted); font-size: .9rem; }

.order { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; }
.order h2 { font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin: .4rem 0 .7rem; }
.form { background: var(--white); color: var(--ink); padding: 1.6rem; border-radius: var(--radius); display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #f4efe8; }

.site-footer { background: #14110e; color: rgba(255,255,255,.75); padding: 1.75rem 0; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { color: #fff; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in .reveal-stagger > * { opacity: 1; transform: none; }
.reveal.is-in .reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal.is-in .reveal-stagger > *:nth-child(2) { transition-delay: .12s; }
.reveal.is-in .reveal-stagger > *:nth-child(3) { transition-delay: .2s; }

.voice-roster { display: grid; gap: 0; }
.voice-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.85rem 1.5rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.voice-row:first-child { border-top: 1px solid var(--line); }
.voice-row__tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-top: 0.25rem;
}
.voice-row__body p {
  font-family: var(--heading);
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 0.55rem;
}
.voice-row__body cite {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .shelf__row { grid-template-columns: 1fr 1fr; }
  .custom, .order { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .voice-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .shelf__row { grid-template-columns: 1fr; }
  .today__inner { flex-wrap: wrap; }
  .steam { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__inner,
  .oven-glow, .steam, .crumb, .live-dot, .today__list { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .reveal.is-in .shelf__rail::after { animation: none; }
  .today__list { flex-wrap: wrap; white-space: normal; }
  .today__track { mask-image: none; overflow: visible; flex-wrap: wrap; }
  .today__list[aria-hidden="true"] { display: none; }
}
