:root {
  --ink: #3a2418;
  --muted: #7a5644;
  --bg: #f3e4d4;
  --bg-soft: #e8d0b8;
  --paper: #fff7ef;
  --line: rgba(58, 36, 24, 0.14);
  --accent: #c45c48;
  --accent-deep: #9a3d2e;
  --stem: #6b8f5a;
  --petal: #e8a090;
  --on-accent: #fff8f2;
  --font: 'Anuphan', sans-serif;
  --heading: 'Prompt', 'Anuphan', sans-serif;
  --mono: 'IBM Plex Mono', 'Anuphan', monospace;
  --max: 1040px;
  --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:
    radial-gradient(ellipse 50% 35% at 0% 20%, rgba(196, 92, 72, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 60%, rgba(107, 143, 90, 0.1), transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(58, 36, 24, 0.03) 31px, rgba(58, 36, 24, 0.03) 32px),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-size: 16px; }
ul { 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: 0.55rem 1.25rem;
  background: #2a1810; color: #fff; font-size: 0.82rem;
}
.demo-bar strong {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--petal); font-weight: 500;
}
.demo-bar__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.demo-bar a {
  padding: 0.35rem 0.7rem; border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius); font-size: 0.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(243, 228, 212, 0.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: 0.45rem;
}
.brand small {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-deep); font-weight: 500;
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 0.45rem 0.8rem; cursor: pointer; border-radius: var(--radius); color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--muted); }
.nav-cta {
  background: var(--accent); color: var(--on-accent) !important;
  padding: 0.55rem 1.05rem; border-radius: var(--radius); font-weight: 700;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.4rem; font-weight: 700; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.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,0.45); background: transparent; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.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 24s var(--ease) both;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(118deg, rgba(42, 24, 16, 0.92) 0%, rgba(42, 24, 16, 0.55) 48%, rgba(42, 24, 16, 0.25) 100%);
}
.hero__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; width: 120px; height: 80px; border-radius: 60% 40% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 160, 144, 0.45), transparent 70%);
  filter: blur(2px); animation: drift 14s ease-in-out infinite;
}
.petal--1 { top: 18%; left: 12%; animation-delay: 0s; }
.petal--2 { top: 42%; right: 18%; width: 90px; height: 60px; animation-delay: -4s; }
.petal--3 { bottom: 28%; left: 38%; width: 70px; height: 50px; animation-delay: -8s; }
.stem-glow {
  position: absolute; left: 8%; bottom: 0; width: 3px; height: 55%;
  background: linear-gradient(to top, transparent, rgba(107, 143, 90, 0.55), transparent);
  opacity: 0.7;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.55; }
  50% { transform: translateY(-18px) rotate(6deg); opacity: 0.9; }
}
@keyframes ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__inner {
  position: relative; z-index: 2;
  width: min(100% - 2.5rem, var(--max)); margin: 0 auto;
  padding: 4.5rem 0 3.75rem; max-width: 38rem;
}
.hero__brand {
  font-family: var(--heading); font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.85rem; line-height: 1.15;
}
.hero__brand span {
  display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--petal); margin-top: 0.35rem;
}
.hero h1 {
  font-family: var(--heading); font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.85rem;
}
.hero h1 em { font-style: normal; color: #f5c4b4; }
.hero__lead { color: rgba(255,255,255,0.82); margin-bottom: 1.4rem; max-width: 32rem; }

.section { padding: 4.5rem 0; }
.section--season {
  background:
    linear-gradient(180deg, transparent, rgba(255, 247, 239, 0.65)),
    var(--bg-soft);
}
.section--contact {
  background: linear-gradient(160deg, #3a2418 0%, #5a3224 100%);
  color: #fff7ef;
}
.eyebrow {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.5rem;
}
.eyebrow.light { color: var(--petal); }
.stem-board__head { margin-bottom: 2.25rem; max-width: 36rem; }
.stem-board__head h2 {
  font-family: var(--heading); font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  letter-spacing: -0.02em; margin: 0.35rem 0 0.65rem;
}
.stem-board__head p { color: var(--muted); }

/* Stem menu — botanical rail + dotted cafe prices */
.stem-rail {
  position: relative;
  display: grid; gap: 0.35rem;
  padding: 0.5rem 0 0.5rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(58, 36, 24, 0.06);
}
.stem-rail__line {
  position: absolute; left: 1.55rem; top: 1.5rem; bottom: 1.5rem; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--stem), var(--stem), transparent);
  border-radius: 2px;
}
.stem-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(8rem, 1fr) minmax(2rem, 1fr) auto;
  gap: 0.85rem; align-items: center;
  padding: 0.85rem 1.25rem 0.85rem 1.5rem;
  transition: background 0.2s var(--ease), transform 0.25s var(--ease);
}
.stem-item:hover {
  background: color-mix(in srgb, var(--petal) 16%, transparent);
  transform: translateX(4px);
}
.stem-item__node {
  position: absolute; left: -0.05rem; top: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--stem); z-index: 1;
  box-shadow: 0 0 0 3px var(--paper);
}
.stem-item img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--petal) 55%, white);
  transition: transform 0.35s var(--ease);
}
.stem-item:hover img { transform: scale(1.06); }
.stem-item__copy { display: grid; gap: 0.2rem; min-width: 0; }
.stem-item__copy strong {
  font-family: var(--heading); font-size: 1.12rem; font-weight: 600;
}
.stem-item__copy small { color: var(--muted); font-size: 0.86rem; }
.stem-item__dots {
  border-bottom: 2px dotted color-mix(in srgb, var(--ink) 28%, transparent);
  align-self: end; margin-bottom: 0.55rem; min-width: 1.5rem;
}
.stem-item__price {
  font-family: var(--heading); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 1.12rem; color: var(--accent-deep); white-space: nowrap;
}

.season {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.season h2 {
  font-family: var(--heading); font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0.35rem 0 0.75rem; letter-spacing: -0.02em;
}
.season__copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.1rem; max-width: 30rem; }
.ticks { display: grid; gap: 0.55rem; }
.ticks li {
  padding-left: 1.35rem; position: relative; font-weight: 500;
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--stem);
}
.season__frame {
  position: relative; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--line); background: var(--paper);
}
.season__frame img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.season__frame:hover img { transform: scale(1.04); }
.season__frame p {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.75rem 1rem; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(42, 24, 16, 0.75)); color: #fff;
}

.section__head { margin-bottom: 2rem; max-width: 36rem; }
.section__head h2 {
  font-family: var(--heading); font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.55rem;
}
.section__head p { color: var(--muted); }

.info-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.info-cell {
  padding: 1.45rem 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 75%, transparent);
}
.info-cell:last-child { border-right: none; }
.info-cell__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}
.info-cell h3 {
  font-family: var(--heading);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.info-cell p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

.shop-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
}
.shop-split__copy > p { color: var(--muted); margin-bottom: 1.2rem; }
.shop-meta { display: grid; gap: 1rem; }
.shop-meta dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}
.shop-meta dd { font-weight: 500; line-height: 1.5; }
.shop-split__panel {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--petal) 28%, var(--bg)), var(--paper)),
    repeating-linear-gradient(-16deg, transparent, transparent 14px, rgba(42, 24, 16, 0.04) 14px, rgba(42, 24, 16, 0.04) 15px);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem;
}
.shop-split__panel strong { font-family: var(--heading); font-size: 1.15rem; }
.shop-split__panel span { color: var(--muted); font-size: 0.9rem; max-width: 16rem; }

.voice-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.voice-strip__item {
  margin: 0;
  padding: 1.55rem 1.4rem 1.45rem 1.5rem;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  background: transparent;
}
.voice-strip__item:nth-child(even) {
  border-left-color: color-mix(in srgb, var(--stem) 70%, transparent);
}
.voice-strip__item p {
  font-family: var(--heading);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.45;
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.voice-strip__item cite {
  display: block;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start;
}
.contact h2 {
  font-family: var(--heading); font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.4rem 0 0.7rem; color: #fff;
}
.contact > .reveal > p { color: rgba(255,247,239,0.78); }
.form {
  background: var(--paper); color: var(--ink); padding: 1.6rem;
  border-radius: 10px; display: grid; gap: 0.9rem;
}
.field { display: grid; gap: 0.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 0.75rem 0.9rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff;
}

.site-footer { background: #2a1810; color: rgba(255,255,255,0.72); padding: 1.75rem 0; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--petal); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .season, .contact, .shop-split { grid-template-columns: 1fr; }
  .info-rail { grid-template-columns: 1fr 1fr; }
  .info-cell:nth-child(2n) { border-right: none; }
  .stem-item {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "img copy"
      "img price";
    gap: 0.55rem 0.85rem;
  }
  .stem-item img { grid-area: img; width: 64px; height: 64px; }
  .stem-item__copy { grid-area: copy; }
  .stem-item__dots { display: none; }
  .stem-item__price { grid-area: price; justify-self: start; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; right: 0; left: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 0.75rem 1.25rem 1rem; gap: 0.35rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.65rem 0.35rem; }
  .hero__inner { padding-bottom: 3rem; }
  .info-rail { grid-template-columns: 1fr; }
  .info-cell { border-right: none; }
  .voice-strip { grid-template-columns: 1fr; }
}
