:root {
  --ink: #2a3140; --muted: #6a7385; --bg: #eef2f7; --bg-soft: #e4eaf3; --white: #fff;
  --line: rgba(42,49,64,0.12); --accent: #d4849a; --accent-deep: #b8657d; --accent-bar: #8eb4d8;
  --on-accent: #fff; --font: 'Anuphan', sans-serif; --heading: 'Kanit', 'Anuphan', sans-serif;
  --display: 'Fraunces', 'Anuphan', serif; --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1100px; --demo-h: 48px; --header-h: 72px; --ease: cubic-bezier(0.22, 1, 0.36, 1); --radius: 14px;
}
*, *::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:
    radial-gradient(circle at 90% 10%, rgba(212,132,154,0.14), transparent 40%),
    radial-gradient(circle at 10% 60%, rgba(142,180,216,0.16), transparent 45%),
    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: #1a2030; color: #fff; font-size: .82rem; }
.demo-bar strong { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: #f0b8c6; 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: 10px; font-size: .78rem; font-weight: 500; }
.demo-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.site-header { position: sticky; top: var(--demo-h); z-index: 50; background: rgba(238,242,247,.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(--display); font-size: .75rem; font-weight: 500; font-style: italic; color: var(--accent-deep); letter-spacing: 0.02em; text-transform: none; }
.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: #fff !important; padding: .55rem 1.15rem; border-radius: 10px; }

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

.hero { position: relative; min-height: min(88dvh, 800px); 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(120deg, rgba(35,40,55,.88) 0%, rgba(35,40,55,.45) 55%, rgba(35,40,55,.2) 100%); }
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.sugar-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,184,198,.45) 0%, rgba(200,221,240,.15) 45%, transparent 70%);
  animation: orbDrift 12s ease-in-out infinite;
}
.sugar-orb--1 { width: min(48vw, 380px); height: min(48vw, 380px); right: -4%; top: 10%; }
.sugar-orb--2 {
  width: min(36vw, 260px); height: min(36vw, 260px); left: 18%; bottom: 8%;
  background: radial-gradient(circle, rgba(200,221,240,.4) 0%, transparent 68%);
  animation-duration: 15s; animation-delay: -4s;
}
.spark {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.7);
  animation: sparkTwinkle 3.2s ease-in-out infinite;
}
.spark--1 { left: 55%; top: 28%; animation-delay: 0s; }
.spark--2 { left: 68%; top: 42%; width: 3px; height: 3px; animation-delay: .6s; }
.spark--3 { left: 74%; top: 22%; width: 4px; height: 4px; animation-delay: 1.1s; }
.spark--4 { left: 62%; top: 58%; animation-delay: 1.7s; }
.spark--5 { left: 80%; top: 48%; width: 3px; height: 3px; animation-delay: 2.2s; }
.spark--6 { left: 50%; top: 48%; width: 4px; height: 4px; animation-delay: .3s; }
.hero__inner { position: relative; z-index: 2; padding: 5rem 0 3.25rem; max-width: 36rem; margin-left: max(calc((100% - var(--max)) / 2), 1.25rem); width: min(100% - 2.5rem, 36rem); animation: rise .9s var(--ease) both; }
.hero__brand { font-family: var(--heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; display: flex; gap: .5rem; align-items: baseline; }
.hero__brand span { font-family: var(--display); font-style: italic; font-size: .85rem; font-weight: 500; color: #f0b8c6; letter-spacing: 0; text-transform: none; }
.hero h1 { font-family: var(--heading); font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: .9rem; }
.hero h1 em { display: block; font-family: var(--display); font-style: italic; font-weight: 500; color: #c8ddf0; font-size: .7em; margin-top: .3rem; }
.hero__lead { color: rgba(255,255,255,.88); 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 orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 22px, 0) scale(1.06); }
}
@keyframes sparkTwinkle {
  0%, 100% { opacity: .2; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.25); }
}

.section { padding: 4.75rem 0; }
.section--soft { background: var(--bg-soft); }
.section--accent { background: #2a3140; color: #fff; }
.section__head { margin-bottom: 1.75rem; max-width: 36rem; }
.section__head h2 { font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.eyebrow { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .5rem; }
.eyebrow.light { color: #f0b8c6; }

/* WALL MENU — unique: photo column + dotted cafe menu */
.wall { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.75rem; align-items: start; }
.wall__photo { position: sticky; top: 130px; }
.wall__stack { display: grid; gap: .65rem; }
.wall__stack img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px;
  transition: transform .5s var(--ease);
}
.wall__stack img:first-child { aspect-ratio: 4/5; }
.reveal.is-in .wall__stack img:nth-child(1) { animation: stackFloat 7s ease-in-out infinite; }
.reveal.is-in .wall__stack img:nth-child(2) { animation: stackFloat 8.5s ease-in-out infinite .4s; }
.reveal.is-in .wall__stack img:nth-child(3) { animation: stackFloat 9s ease-in-out infinite .8s; }
.wall__photo p { margin-top: .85rem; color: var(--muted); font-size: .9rem; }
@keyframes stackFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.wall__menu h2 { font-family: var(--heading); font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin: .35rem 0 .75rem; }
.wall__lead { color: var(--muted); margin-bottom: 1.75rem; max-width: 32rem; }

.menu-wall { display: grid; gap: .85rem; }
.menu-wall a {
  display: grid; grid-template-columns: 64px 1fr auto; gap: .85rem; align-items: center;
  padding: .55rem; border-radius: 12px; border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.menu-wall a:hover { background: var(--white); border-color: var(--line); transform: translateX(4px); }
.menu-wall a img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 10px;
  transition: transform .35s var(--ease);
}
.menu-wall a:hover img { transform: scale(1.06); }
.menu-wall__text { display: grid; gap: .2rem; min-width: 0; }
.menu-wall__name { font-family: var(--heading); font-size: 1.1rem; font-weight: 600; }
.menu-wall a small { color: var(--muted); font-size: .85rem; }
.menu-wall__price { font-family: var(--heading); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.15rem; color: var(--accent-deep); white-space: nowrap; }

.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.shot img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .55s var(--ease);
}
.shot:hover img { transform: scale(1.05); }
.shot--wide { grid-column: span 2; }
.shot--wide img { aspect-ratio: 16/10; }
.shot figcaption { padding: .75rem .9rem; font-size: .88rem; color: var(--muted); }

.voice-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.voice-gallery__item {
  margin: 0;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: stretch;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.voice-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 7.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.voice-gallery__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0.55rem;
}
.voice-gallery__menu {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.voice-gallery__body blockquote { margin: 0; }
.voice-gallery__body p {
  font-family: var(--heading);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.4;
  margin: 0 0 0.55rem;
  font-weight: 600;
}
.voice-gallery__body cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.reveal-stagger > * { opacity: 0; transform: translateY(12px); 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: .04s; }
.reveal.is-in.reveal-stagger > *:nth-child(2) { transition-delay: .08s; }
.reveal.is-in.reveal-stagger > *:nth-child(3) { transition-delay: .12s; }
.reveal.is-in.reveal-stagger > *:nth-child(4) { transition-delay: .16s; }
.reveal.is-in.reveal-stagger > *:nth-child(5) { transition-delay: .2s; }
.reveal.is-in.reveal-stagger > *:nth-child(6) { transition-delay: .24s; }

.flavors { display: flex; flex-wrap: wrap; gap: .65rem; }
.flavor {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  padding: .65rem 1.15rem; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.flavor:hover { transform: translateY(-2px); }
.flavor.is-on {
  background: var(--accent); border-color: var(--accent); color: #fff;
  animation: chipPop .35s var(--ease);
}
.flavor.is-on, .flavor:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.flavor-hint { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
@keyframes chipPop {
  0% { transform: scale(.92); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.pickup { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.pickup h2 { font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.25rem); margin: .35rem 0 .75rem; }
.pickup > div > p:last-child { color: var(--muted); }
.windows { display: grid; gap: .75rem; }
.windows div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.windows strong { font-family: var(--heading); }
.windows span { color: var(--muted); }

.order { display: grid; grid-template-columns: 1fr 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: #fff; color: var(--ink); padding: 1.6rem; border-radius: 20px; 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: 12px; background: var(--bg); }

.site-footer { background: #1a2030; 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; }

@media (max-width: 900px) {
  .wall, .pickup, .order { grid-template-columns: 1fr; }
  .wall__photo { position: static; }
  .wall__stack { grid-template-columns: 1fr 1fr; }
  .wall__stack img:first-child { grid-column: span 2; aspect-ratio: 16/10; }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .shot--wide { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .voice-gallery { grid-template-columns: 1fr; }
}
@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); }
  .wall__stack { grid-template-columns: 1fr; }
  .wall__stack img:first-child { grid-column: auto; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
  .menu-wall a { grid-template-columns: 56px 1fr; }
  .menu-wall__price { grid-column: 2; justify-self: start; }
  .voice-gallery__item { grid-template-columns: 5.5rem 1fr; gap: 0.85rem; padding: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .hero__inner,
  .sugar-orb, .spark, .flavor.is-on,
  .reveal.is-in .wall__stack img { animation: none; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}
