:root {
  --orange: #e87820;
  --orange-deep: #cb5710;
  --ivory: #fff8ee;
  --paper: #f5ecdf;
  --espresso: #24150d;
  --ingredients-brown: #2a1208;
  --ink: #17110e;
  --pink: #f4a3ad;
  --yellow: #f2c94c;
  --blue: #79c8d8;
  --green: #91ad7b;
  --control-radius: 16px;
  --field-radius: 14px;
  --serif: Georgia, "Times New Roman", "Noto Sans Thai", serif;
  --sans: "Noto Sans Thai", "Segoe UI", Arial, sans-serif;
  --thai: "Noto Sans Thai", Tahoma, "Segoe UI", Arial, sans-serif;
  --shell: min(1340px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.home-page {
  scrollbar-width: none;
}
html.home-page::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 3000;
  left: 16px;
  top: -80px;
  padding: 12px 18px;
  background: #fff;
  color: var(--espresso);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--orange);
}

.scroll-progress {
  position: fixed;
  z-index: 2500;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--yellow);
}

.site-header {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 220px 1fr 185px;
  align-items: center;
  gap: 24px;
  color: #fff;
  border-bottom: 0;
  transition: background .35s, height .35s, box-shadow .35s;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(232,120,32,.97);
  box-shadow: 0 12px 40px rgba(104,44,5,.22);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; width: 188px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.3vw, 58px);
}
.desktop-nav a {
  position: relative;
  display: grid;
  gap: 1px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .22s ease, text-shadow .22s ease;
}
.desktop-nav a small {
  font-family: var(--thai);
  font-size: 13.5px;
  letter-spacing: 0;
  opacity: .65;
  text-transform: none;
  color: inherit;
}
.desktop-nav a::before {
  content: "";
  position: absolute;
  top: -12px;
  right: auto;
  left: calc(50% + 42px);
  width: 18px;
  height: 18px;
  background: url("assets/spark-mark-gold.webp") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: scale(.25) rotate(-30deg);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(247,207,69,.7));
}
.desktop-nav a::after { content: none; }
.desktop-nav a[aria-current="page"] {
  color: var(--espresso);
  font-weight: 700;
  text-shadow: none;
}
.site-header.scrolled .desktop-nav a[aria-current="page"] {
  color: var(--espresso);
  text-shadow: none;
}
.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #f7cf45;
  text-shadow: 0 0 10px rgba(247,207,69,.7), 0 0 24px rgba(247,207,69,.28);
}
.desktop-nav a:hover::before,
.desktop-nav a:focus-visible::before {
  animation: nav-spark-flash .9s ease-in-out infinite;
}

@keyframes nav-spark-flash {
  0%, 100% { opacity: .16; transform: scale(.35) rotate(-30deg); }
  45% { opacity: 1; transform: scale(1.55) rotate(8deg); }
  65% { opacity: .78; transform: scale(.92) rotate(22deg); }
}
@media (prefers-reduced-motion: reduce) {
  .desktop-nav a:hover::before,
  .desktop-nav a:focus-visible::before {
    animation: none;
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
.nav-cta {
  justify-self: end;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 0;
  padding: 13px 19px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-family: var(--thai);
  font-size: 12px;
  transition: background .2s, color .2s;
}
.nav-cta span { margin-left: 12px; }
.nav-cta:hover { background: #fff; color: var(--espresso); }
.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  max-height: 1050px;
  overflow: hidden;
  isolation: isolate;
  background: var(--espresso);
  color: #fff;
}
.hero-photo {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  transform: scale(1.035);
  animation: hero-breathe 8s ease-in-out infinite alternate;
}
.hero-slide {
  position: absolute;
  inset: -1.5%;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 1.35s ease, transform 4s ease-out;
  will-change: opacity, transform;
}
.hero-slide-one { background-image: url("assets/hero01.webp"); }
.hero-slide-two { background-image: url("assets/hero02.webp"); }
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.105);
}
.hero-wash {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31,15,8,.97) 0%, rgba(38,19,10,.87) 35%, rgba(30,14,8,.30) 63%, rgba(18,9,5,.05) 100%),
    linear-gradient(0deg, rgba(20,9,4,.65), transparent 45%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: clamp(60px, 4.6vw, 88px);
  bottom: clamp(72px, 7vh, 96px);
  width: min(1240px, calc(100vw - 148px));
  margin-left: 0;
  padding-top: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow > span {
  display: inline-grid;
  min-width: 32px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}
.hero-eyebrow { color: rgba(255,255,255,.82); }
.hero-eyebrow > span { width: 32px; min-width: 32px; height: 1px; border: 0; background: var(--orange); border-radius: 0; }
.hero h1,
.section-intro h2,
.muse h2,
.story h2,
.recipe-heading h2,
.journey h2,
.final-cta h2,
.dialog-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .92;
}
.hero h1 { font-size: clamp(66px, 7.2vw, 128px); }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em {
  color: var(--yellow);
  font-weight: 400;
}
.hero-thai {
  margin: 28px 0 0;
  font-family: var(--thai);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
/* Frosted capsule treatment is scoped to the two homepage hero CTAs. */
.home-page .hero-actions .button {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(255,255,255,.20), rgba(213,222,233,.08) 46%, rgba(255,255,255,.19)), rgba(78,84,94,.24);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.36), inset 1px 0 2px rgba(255,255,255,.2), inset 0 -2px 3px rgba(255,255,255,.42), 0 6px 18px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(18px) saturate(70%);
  backdrop-filter: blur(18px) saturate(70%);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-page .hero-actions .button::before,
.home-page .hero-actions .button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}
.home-page .hero-actions .button::before {
  background: radial-gradient(ellipse at 70% 0%, rgba(255,255,255,.65), transparent 40%);
  height: 4px;
}
.home-page .hero-actions .button::after {
  top: auto;
  height: 4px;
  background: radial-gradient(ellipse at 28% 100%, rgba(255,255,255,.75), transparent 44%);
}
.home-page .hero-actions .button:hover,
.home-page .hero-actions .button:focus-visible {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  border-color: rgba(255,255,255,.55);
  background: linear-gradient(155deg, rgba(255,255,255,.27), rgba(213,222,233,.12) 46%, rgba(255,255,255,.24)), rgba(78,84,94,.24);
  transform: none;
}
.home-page .hero-actions .button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.home-page .hero-actions .button:active { box-shadow: inset 0 2px 8px rgba(0,0,0,.2), inset 0 -1px 2px rgba(255,255,255,.4); }
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-actions .button { transition: none; }
}
.hero-actions { display: flex; align-items: center; gap: 38px; margin-top: 34px; }
.hero-actions .button {
  width: clamp(250px, 19vw, 330px);
  flex: 0 0 clamp(250px, 19vw, 330px);
}
.hero-action-secondary {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.04);
  color: #fff;
}
.hero-action-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,.14);
}
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 24px;
  cursor: pointer;
  font-family: var(--thai);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-3px); }
.button-orange { background: var(--orange); color: #fff; }
.button-orange:hover { background: #ff8b2e; }
.button-light { background: #fff; color: var(--espresso); }
.button-espresso { background: var(--espresso); color: #fff; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 5px 0 8px;
  background: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--thai);
  font-size: 13px;
  text-decoration: none;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.text-link.dark { color: var(--espresso); }
.hero-note {
  position: absolute;
  right: clamp(36px, 5vw, 82px);
  bottom: 100px;
  z-index: 3;
  width: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.55);
}
.hero-note div { display: grid; }
.hero-note strong { font-family: var(--serif); font-size: 38px; line-height: 1; }
.hero-note span, .hero-note p { margin: 0; font-size: 9px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.hero-note span { color: rgba(255,255,255,.58); }
.hero-note p { align-self: end; }
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 31px;
  left: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  letter-spacing: .2em;
  text-decoration: none;
}
.scroll-cue i { font-size: 16px; font-style: normal; animation: bob 1.5s ease-in-out infinite; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 370px; height: 370px; right: -140px; top: 18%; }
.orbit-two { width: 110px; height: 110px; left: 44%; bottom: 8%; border-color: rgba(242,201,76,.35); }

@media (min-width: 901px) {
  .hero h1 span,
  .hero h1 em { white-space: nowrap; }
}

.flavor-ribbon {
  position: relative;
  z-index: 4;
  overflow: hidden;
  padding: 16px 0;
  background: var(--yellow);
  color: var(--espresso);
  transform: none;
}
.ribbon-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 32px;
  font-family: var(--serif);
  font-size: 27px;
  animation: ribbon 30s linear infinite;
}
.ribbon-track i { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; font-size: 0; background: url("assets/spark-mark-gold.webp") center / contain no-repeat; }

.section-shell { width: var(--shell); margin-inline: auto; }
.ingredients {
  padding-block: 150px 130px;
  background: var(--ingredients-brown);
  color: #fff8ee;
  box-shadow: 0 0 0 100vmax var(--ingredients-brown);
  clip-path: inset(0 -100vmax);
}
.section-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 72px;
}
.section-intro > div {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: end;
}
.section-intro h2, .story h2, .recipe-heading h2, .journey h2 { font-size: clamp(54px, 6vw, 96px); }
.section-intro h2 em, .muse h2 em, .story h2 em, .recipe-heading h2 em, .journey h2 em, .final-cta h2 em, .dialog-panel h2 em { color: var(--orange); font-weight: 400; }
.ingredients .section-intro h2 { color: #fff8ee; }
.ingredients .section-intro h2 em { color: #ffd95f; }
.section-intro > div > p,
.story-copy > p:not(.eyebrow),
.muse-intro > p:not(.eyebrow) {
  margin: 0 0 7px;
  font-family: var(--thai);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #76645a;
}
.ingredients .section-intro > div > p { color: rgba(255,248,238,.82); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-card {
  display: block;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 30px 32px;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.product-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(36,21,13,.25);
  border-radius: 50%;
  transition: transform .5s;
}
.product-card:hover, .product-card:focus-within { transform: translateY(-8px); box-shadow: 0 25px 60px rgba(60,25,6,.13); }
.product-card:hover::before { transform: scale(1.3); }
.card-orange { background: rgba(237, 125, 39, .8); color: #fff; }
.card-pink { background: rgba(239, 178, 187, .8); }
.card-yellow { background: rgba(243, 211, 99, .8); }
.card-blue { background: rgba(136, 207, 221, .8); }
.card-number { display: none; }
.product-copy { position: absolute; z-index: 3; left: 34px; bottom: 36px; }
.product-copy p { margin: 0 0 8px; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.product-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 5vw, 78px); font-weight: 400; line-height: .85; }
.product-copy span { font-family: var(--thai); font-size: 15px; opacity: .82; }
.product-card > img {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 57%;
  width: min(310px, 48%);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(56,22,6,.25));
  transform: translate(-50%, -50%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover > img { transform: translate(-50%, -54%) scale(1.12); }
.circle-action {
  --action-right: 26px;
  --action-bottom: 26px;
  --action-size: 54px;
  position: absolute;
  z-index: 5;
  right: var(--action-right);
  bottom: var(--action-bottom);
  width: var(--action-size);
  height: var(--action-size);
  padding: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 22px;
  isolation: isolate;
  overflow: visible;
  transition: background .2s, color .2s, transform .2s;
}
.circle-action-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(24px, 2vw, 30px);
  height: clamp(24px, 2vw, 30px);
  display: block;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.circle-action-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.circle-action:hover { background: var(--espresso); border-color: var(--espresso); color: #fff; transform: rotate(45deg); }
.secondary-range {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  border: 1px solid rgba(36,21,13,.18);
}
.secondary-range > a {
  min-height: 134px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px;
  align-items: center;
  padding: 18px;
  border-right: 1px solid rgba(36,21,13,.18);
  color: inherit;
  text-decoration: none;
}
.secondary-range > a:last-child { border-right: 0; }
.secondary-range img { width: 78px; height: 78px; object-fit: contain; transition: transform .25s; }
.secondary-range > a:hover img { transform: translateY(-5px) scale(1.08); }
.secondary-range span { font-family: var(--thai); font-size: 10px; color: #837269; }
.secondary-range strong { display: block; margin-bottom: 5px; color: var(--espresso); font-family: var(--sans); font-size: 13px; }
.ingredients .secondary-range {
  border-color: rgba(255,248,238,.18);
}
.ingredients .secondary-range > a {
  border-right-color: rgba(255,248,238,.18);
}
.ingredients .secondary-range span { color: rgba(255,248,238,.66); }
.ingredients .secondary-range strong { color: #fff8ee; }

.muse {
  position: relative;
  overflow: hidden;
  padding: 104px 0 52px;
  background:
    linear-gradient(90deg, rgba(34,13,5,.84) 0%, rgba(34,13,5,.68) 46%, rgba(34,13,5,.48) 100%),
    linear-gradient(180deg, rgba(20,8,4,.34) 0%, rgba(20,8,4,.08) 54%, rgba(20,8,4,.44) 100%),
    url("musebackground.webp") center bottom / cover no-repeat;
  color: #fff;
  isolation: isolate;
}
.muse::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .055;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 70px 70px;
}
.muse-glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(232,120,32,.15);
  filter: blur(2px);
}
.muse-shell { width: var(--shell); margin-inline: auto; }
.muse-intro {
  display: grid;
  grid-template-columns: 1.15fr .7fr 140px;
  gap: 48px;
  align-items: end;
  margin-bottom: 74px;
}
.eyebrow-light { color: rgba(255,255,255,.7); align-self: start; }
.muse h2 { grid-column: 1; font-size: clamp(64px, 7vw, 110px); }
.muse h2:focus { outline: 0; box-shadow: none; }
.muse h2 em { color: var(--pink); }
.muse-intro > p:not(.eyebrow) { grid-column: 2; color: rgba(255,255,255,.82); }
.muse-intro-copy {
  display: grid;
  gap: 2px;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.62;
}
.muse-intro-copy strong {
  display: block;
  margin-bottom: 7px;
  color: #fff8ee;
  font-family: var(--sans);
  font-size: clamp(22px, 1.65vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}
.muse-intro-copy span { display: block; }
.muse-intro > p.muse-intro-copy:not(.eyebrow) { font-weight: 400; }
.muse-seal {
  position: relative;
  grid-column: 3;
  width: 118px;
  height: 118px;
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--yellow);
  transform: rotate(9deg);
  isolation: isolate;
}
.muse-seal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.86);
  animation: spark-seal-ring 3.2s ease-in-out infinite;
  pointer-events: none;
}
.muse-seal span { font-size: 8px; letter-spacing: .25em; }
.spark-pulse {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  isolation: isolate;
}
.spark-pulse-small { width: 38px; height: 38px; }
.spark-pulse-large { width: 92px; height: 92px; }
.spark-pulse::before,
.spark-pulse::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10%;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.spark-pulse::before { animation: spark-wave-one 3.2s cubic-bezier(.16,.72,.2,1) infinite; }
.spark-pulse::after { animation: spark-wave-two 3.2s cubic-bezier(.16,.72,.2,1) infinite; }
.spark-mark-image {
  width: 58%;
  height: 58%;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(212,175,24,.48));
  animation: spark-flash 3.2s ease-in-out infinite;
  transform-origin: center;
}
.muse-studio {
  display: grid;
  grid-template-columns: 1fr .92fr;
  min-height: 710px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(35,13,5,.08), rgba(35,13,5,.28));
}
.muse-steps { padding: 52px; border-right: 1px solid rgba(255,255,255,.22); }
.muse-steps fieldset { margin: 0 0 34px; padding: 0; border: 0; }
.muse-steps legend {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--thai);
  font-size: 16px;
}
.muse-steps legend > span {
  min-width: 32px;
  display: inline-grid;
  place-items: center;
  color: var(--orange);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 2.2vw, 36px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: 0;
}
.muse-steps legend small { margin-left: auto; color: rgba(255,255,255,.42); font-family: var(--sans); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.choice-row.four { grid-template-columns: repeat(4, 1fr); }
.choice-row button {
  min-height: 54px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.025);
  color: rgba(255,255,255,.78);
  cursor: pointer;
  font-size: 12.7px;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.choice-row button i { margin-right: 6px; color: var(--yellow); font-style: normal; }
.choice-row button.choice-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.choice-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px rgba(0,0,0,.24));
  transition: transform .25s ease;
}
.choice-row button.choice-with-icon:hover .choice-icon,
.choice-row button.choice-with-icon.selected .choice-icon { transform: scale(1.08); }
.choice-row button:hover { border-color: transparent; transform: translateY(-2px); }
.choice-row button.selected { border-color: transparent; background: var(--orange); color: #fff; }
.choice-row button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.selection-hint { min-height: 20px; margin: -3px 0 16px; color: rgba(255,255,255,.42); font-family: var(--thai); font-size: 12.7px; }
.selection-hint.ready { color: var(--yellow); }
.spark-button {
  width: max-content;
  max-width: 100%;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-inline: auto;
  border: 0;
  padding: 14px 30px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: background .2s, opacity .2s, transform .2s;
}
.spark-button span { align-self: auto; font-family: var(--thai); font-size: 15px; }
.spark-button small { align-self: auto; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; opacity: .7; }
.spark-button:not(:disabled):hover { background: #ff8b2e; transform: translateY(-3px); }
.spark-button:disabled { cursor: not-allowed; opacity: .25; }
.muse-result { position: relative; min-width: 0; overflow: hidden; border-radius: 26px; background: #f3b2bb; color: var(--espresso); }
.muse-result.has-result { overflow: visible; background: transparent; }
.muse-result,
.result-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.muse-result::-webkit-scrollbar,
.result-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.result-empty { min-height: 100%; display: grid; place-content: center; justify-items: center; padding: 50px; text-align: center; }
.empty-orbit {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  box-shadow: inset 0 0 36px rgba(255,255,255,.08), 0 0 30px rgba(255,255,255,.10);
}
.empty-orbit::before, .empty-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
}
.empty-orbit::before { width: 134px; height: 134px; }
.empty-orbit::after { width: 78px; height: 78px; }
.result-empty p { margin: 0; font-family: var(--serif); font-size: 38px; line-height: 1; }
.result-empty small { margin-top: 16px; font-family: var(--thai); color: rgba(36,21,13,.62); }
.result-card { height: 100%; min-height: 0; display: grid; grid-template-rows: 48% 52%; overflow: visible; background: transparent; animation: result-in .55s cubic-bezier(.2,.8,.2,1); }
.result-visual { position: relative; z-index: 2; min-height: 0; margin: 0; overflow: visible; background: transparent; }
.result-visual img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122%;
  height: 122%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 22px rgba(92,37,16,.24));
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: drink-float 4.2s ease-in-out infinite;
  transition: filter .4s ease, opacity .35s;
}
.result-card:hover .result-visual img { filter: drop-shadow(0 28px 26px rgba(92,37,16,.31)); }
.result-content { min-width: 0; min-height: 0; overflow-y: auto; border-radius: 26px; padding: clamp(14px, 2svh, 22px) clamp(20px, 2.7vw, 36px) 14px; background: #f7c6cc; text-align: center; }
.result-heading-row { display: block; text-align: center; }
.result-heading-row > div { width: 100%; }
.result-kicker { margin: 0 0 7px; font-size: 8px; font-weight: 600; letter-spacing: .16em; }
.result-card h3 { max-width: 530px; margin: 0 auto; font-family: var(--serif); font-size: clamp(34px, 3.2vw, 52px); font-weight: 400; letter-spacing: -.035em; line-height: .92; }
.result-thai { margin: 7px 0 12px; font-family: var(--thai); font-size: 15px; font-weight: 600; }
.result-story { max-width: 600px; margin: 0 auto; font-family: var(--thai); font-size: 11px; line-height: 1.65; color: rgba(36,21,13,.69); }
.result-products { margin-top: 12px; border: 1px solid rgba(36,21,13,.16); border-radius: var(--field-radius); padding: 10px; background: rgba(255,255,255,.35); }
.result-products-heading { display: grid; justify-items: center; gap: 3px; margin-bottom: 9px; text-align: center; }
.result-products-heading span { font-size: 7px; letter-spacing: .14em; }
.result-products-heading strong { font-family: var(--thai); font-size: 11px; }
.result-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.result-product-card { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 5px 9px; background: rgba(255,255,255,.54); text-align: center; }
.result-product-card img { flex: 0 0 auto; width: 50px; height: 52px; object-fit: contain; filter: drop-shadow(0 8px 7px rgba(36,21,13,.18)); }
.result-product-card span { min-width: 0; max-width: 70%; overflow-wrap: anywhere; font-family: var(--thai); font-size: 9px; font-weight: 600; line-height: 1.35; text-align: center; }
.recipe-details { margin-top: 10px; border-top: 1px solid rgba(36,21,13,.22); }
.recipe-details summary { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 8px 1px 2px; cursor: pointer; list-style: none; font-family: var(--thai); font-size: 10px; font-weight: 600; }
.recipe-details summary::-webkit-details-marker { display: none; }
.recipe-details summary span:first-child { grid-column: 2; transition: opacity .2s, visibility .2s; }
.recipe-details summary span:last-child { grid-column: 3; justify-self: end; font-family: var(--sans); font-size: 18px; font-weight: 300; transition: transform .25s; }
.recipe-details[open] summary span:first-child { visibility: hidden; opacity: 0; }
.recipe-details[open] summary span:last-child { transform: rotate(45deg); }
.recipe-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 14px; text-align: left; }
.recipe-columns h4 { margin: 0 0 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.recipe-columns ul, .recipe-columns ol { margin: 0; padding-left: 17px; font-family: var(--thai); font-size: 11px; line-height: 1.8; }

/* Keep the expanded recipe content tight to the top edge. */
.recipe-details[open] { position: relative; }
.recipe-details[open] summary {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.recipe-details[open] summary span:first-child { display: none; }
.recipe-details[open] summary span:last-child { margin: 0; }
.recipe-details[open] .recipe-columns { padding-top: 4px; }
.muse-disclaimer { margin: 17px 0 0; text-align: right; color: rgba(255,255,255,.35); font-family: var(--thai); font-size: 9px; }

@keyframes drink-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 10px)); }
}

/* Flavor Muse opens as a focused, full-viewport studio beneath the persistent header. */
body.muse-focus-mode { overflow: hidden; }
body.muse-focus-mode .scroll-progress { visibility: hidden; }
body.muse-focus-mode .site-header {
  height: 72px;
  background: rgba(232,120,32,.98);
  box-shadow: 0 12px 40px rgba(104,44,5,.22);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
body.muse-focus-mode .desktop-nav a[href="#flavor-muse"] { color: var(--espresso); font-weight: 700; text-shadow: none; }
body.muse-focus-mode .muse {
  position: fixed;
  z-index: 1500;
  inset: 72px 0 0;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
}
body.muse-focus-mode .muse .reveal { opacity: 1; transform: none; }

.story {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: center;
  padding-block: 150px;
  color: #fff8ee;
}
.story::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 34%, rgba(0,0,0,.36) 62%, rgba(0,0,0,.5) 100%),
    url("Annapolis Head Office.webp") center center / cover no-repeat;
}
.story::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(circle at 12% 28%, rgba(232,120,32,.26), transparent 34%);
  pointer-events: none;
}
.story h2 { color: #ead7bd; text-shadow: 0 10px 34px rgba(0,0,0,.58); }
.story h2 em { color: #e87820; text-shadow: 0 8px 28px rgba(0,0,0,.5); }
.story-copy > p:not(.eyebrow) { max-width: 530px; margin: 32px 0 30px; color: rgba(255,248,238,.86); }
.story .text-button {
  color: #fff8ee;
  border-color: rgba(255,248,238,.56);
  background: rgba(0,0,0,.2);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,248,238,.34); border-left: 1px solid rgba(255,248,238,.34); background: rgba(0,0,0,.13); backdrop-filter: blur(2px); }
.stats-grid > div { min-height: 245px; padding: 32px; border-right: 1px solid rgba(255,248,238,.34); border-bottom: 1px solid rgba(255,248,238,.34); }
.stats-grid strong { color: #d75a0b; font-family: var(--serif); font-size: clamp(64px, 7vw, 108px); font-weight: 500; line-height: .9; }
.stats-grid b { color: #d75a0b; font-family: var(--serif); font-size: 32px; font-weight: 700; }
.stats-grid span { display: block; width: 100%; max-width: none; margin-top: 26px; font-family: var(--thai); font-size: 12px; line-height: 1.6; color: rgba(255,248,238,.86); }

.recipes { padding-block: 135px; background: #eee4d5; }
.recipe-heading { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 70px; }
.recipe-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: 330px 330px; gap: 18px; }
.recipe-feature { position: relative; grid-row: 1 / 3; overflow: hidden; min-height: 678px; color: #fff; }
.recipe-feature > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.recipe-feature:hover > img { transform: scale(1.05); }
.recipe-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34,14,7,.8), rgba(34,14,7,.05) 65%); }
.recipe-overlay { position: absolute; z-index: 2; inset: auto 0 0; padding: 42px; }
.recipe-overlay p, .recipe-card p { margin: 0 0 11px; font-size: 9px; letter-spacing: .17em; }
.recipe-overlay h3, .recipe-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: .86; }
.recipe-overlay h3 { font-size: clamp(62px, 6vw, 94px); }
.recipe-overlay span, .recipe-card span { font-family: var(--thai); font-size: 12px; opacity: .74; }
.recipe-feature .circle-action { right: 37px; bottom: 40px; }
.recipe-card { position: relative; overflow: hidden; padding: 30px; isolation: isolate; }
.recipe-matcha { background: #789262; color: #fff; }
.recipe-coffee { background: #d86618; color: #fff; }
.recipe-card > div:last-of-type { position: absolute; z-index: 3; left: 32px; bottom: 31px; }
.recipe-card h3 { font-size: clamp(42px, 4.4vw, 66px); }
.recipe-product { position: absolute; z-index: 2; top: 16px; right: 82px; width: 185px; height: 180px; }
.recipe-product img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(20,8,4,.26)); transition: transform .4s; }
.recipe-card:hover .recipe-product img { transform: translateY(-6px) rotate(3deg); }
.coffee-orb { position: absolute; z-index: -1; top: -120px; right: -80px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; }
.coffee-orb span, .coffee-orb i, .coffee-orb b { position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.coffee-orb span { inset: 55px; }
.coffee-orb i { inset: 110px; }
.coffee-orb b { width: 16px; height: 16px; bottom: 50px; left: 15px; background: var(--yellow); border: 0; }

.journey { padding-block: 145px; }
.journey-heading { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 70px; }
.journey-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(36,21,13,.25); }
.journey-steps li { display: grid; grid-template-columns: 180px 1fr; min-height: 215px; border-bottom: 1px solid rgba(36,21,13,.25); }
.journey-steps li > span { padding-top: 35px; font-size: 10px; letter-spacing: .18em; }
.journey-steps li > div { display: grid; grid-template-columns: 95px .55fr 1fr; align-items: center; gap: 30px; border-left: 1px solid rgba(36,21,13,.25); padding: 30px 42px; transition: background .25s, color .25s; }
.journey-steps li:hover > div { background: var(--espresso); color: #fff; }
.journey-steps i { color: var(--orange); font-size: 34px; font-style: normal; }
.journey-steps h3 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5vw, 76px); font-weight: 400; }
.journey-steps p { max-width: 470px; margin: 0; font-family: var(--thai); font-size: 13px; line-height: 1.7; color: #7b6a61; }
.journey-steps li:hover p { color: rgba(255,255,255,.6); }

.final-cta {
  position: relative;
  min-height: 100svh;
  padding-block: 96px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--orange);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .13;
  background-image: repeating-radial-gradient(circle at center, transparent 0 52px, #fff 53px 54px);
}
.cta-sun { position: absolute; z-index: 1; width: 440px; height: 440px; border-radius: 50%; background: #f29d2f; box-shadow: 0 0 0 65px rgba(255,255,255,.06), 0 0 0 130px rgba(255,255,255,.045); }
.final-cta-inner { position: relative; z-index: 2; width: min(94vw, 1320px); }
.final-cta-inner > p { margin: 0 0 22px; font-size: 9px; letter-spacing: .22em; }
.final-cta h2 { font-family: var(--thai); font-size: clamp(52px, 6.3vw, 96px); font-weight: 500; line-height: 1.22; }
.final-cta h2 em { display: inline-block; padding-top: .04em; color: #fff3c5; font-family: var(--thai); font-weight: 400; }
.final-cta .button { margin-top: 35px; }
.cta-orbit-products { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.orbit-slot {
  position: absolute;
  left: var(--orbit-x);
  top: var(--orbit-y);
  width: var(--orbit-size);
  height: var(--orbit-size);
  display: grid;
  place-items: center;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity .82s ease;
  will-change: opacity;
}
.orbit-slot.is-entering { opacity: 0; }
.orbit-slot.is-leaving { opacity: 0; }
.orbit-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(var(--orbit-tilt));
  filter: drop-shadow(0 18px 18px rgba(70,25,2,.28));
  animation: orbit-float var(--orbit-duration) ease-in-out var(--orbit-delay) infinite alternate;
}
@keyframes orbit-float {
  from { translate: 0 -7px; }
  to { translate: 0 9px; }
}

.site-footer {
  min-height: 0;
  padding: clamp(24px, 2.2vw, 32px) 0 clamp(12px, 1.1vw, 16px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(20px, 1.9vw, 26px);
  background: var(--espresso);
  color: #fff;
}
.footer-top {
  width: min(1900px, calc(100vw - 140px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px 300px;
  gap: 70px;
}
.footer-brand img { width: 215px; }
.footer-top h3 { margin: 0 0 12px; color: rgba(255,255,255,.42); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.footer-top > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-top a, .footer-top span, .footer-button { border: 0; padding: 0; background: none; color: rgba(255,255,255,.72); font-family: var(--thai); font-size: 15px; line-height: 1.5; text-align: left; text-decoration: none; }
.footer-top a:hover, .footer-button:hover { color: var(--yellow); }
.footer-button { cursor: pointer; }
.footer-phone { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.footer-phone span { font-size: 14px; line-height: 1; color: currentColor; }
.footer-phone.footer-button {
  width: max-content;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.footer-address {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-family: var(--thai);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.footer-top .footer-social-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: rgba(255,255,255,.78);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.footer-top .footer-social-link:hover,
.footer-top .footer-social-link:focus-visible {
  border-color: rgba(247,207,69,.72);
  background: rgba(247,207,69,.08);
  color: var(--yellow);
  transform: translateY(-2px);
}
.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-bottom {
  width: min(1900px, calc(100vw - 140px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.38);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-bottom::before { content: ""; }
.footer-bottom > span {
  min-width: max-content;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.footer-bottom a { justify-self: end; color: inherit; text-decoration: none; }

.sample-dialog {
  width: min(1080px, calc(100vw - 40px));
  height: min(760px, calc(100svh - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--ivory);
  color: var(--espresso);
  overflow: hidden;
}
.sample-dialog::backdrop { background: rgba(20,10,5,.78); backdrop-filter: blur(8px); }
.sample-dialog[open] { display: grid; grid-template-columns: .85fr 1.15fr; animation: dialog-in .35s ease-out; }
.dialog-art { position: relative; overflow: hidden; display: grid; align-content: center; padding: 50px; background: var(--orange); color: #fff; }
.dialog-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("assets/hero02.webp") center / cover no-repeat;
  opacity: .2;
  pointer-events: none;
}
.dialog-art span { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(54px, 6vw, 82px); line-height: .82; }
.dialog-art span:nth-child(2) { color: var(--yellow); font-style: italic; }
.dialog-panel { position: relative; overflow-y: auto; padding: 52px 58px; }
.dialog-close { position: absolute; z-index: 4; top: 20px; right: 22px; width: 42px; height: 42px; border: 1px solid rgba(36,21,13,.3); border-radius: 50%; background: transparent; color: var(--espresso); cursor: pointer; font-size: 25px; line-height: 1; }
.dialog-panel .eyebrow { margin-bottom: 18px; color: var(--orange); }
.dialog-panel h2 { font-family: var(--thai); font-size: 47px; line-height: 1.06; }
.dialog-panel h2 em { font-family: var(--serif); }
.dialog-form-wrap > p:not(.eyebrow) { max-width: 560px; margin: 20px 0 27px; color: #77675e; font-family: var(--thai); font-size: 12px; line-height: 1.7; }
.sample-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.sample-form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--thai); font-size: 10px; font-weight: 600; }
.sample-form label > span { color: var(--orange); }
.sample-form input, .sample-form select { width: 100%; height: 48px; border: 1px solid rgba(36,21,13,.25); border-radius: 0; padding: 0 12px; background: #fff; color: var(--espresso); font-size: 12px; }
.sample-form input.invalid, .sample-form select.invalid { border-color: #b53a29; background: #fff5f2; }
.field-error { min-height: 13px; color: #a52f22; font-size: 9px; font-weight: 400; }
.sample-form .button { grid-column: 1 / -1; margin-top: 2px; }
.form-success { min-height: 100%; display: grid; place-content: center; justify-items: start; }
.form-success > div { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 25px; }
.form-success > p { margin: 22px 0 7px; color: var(--orange); font-family: var(--thai); font-size: 11px; font-weight: 700; }
.form-success h2 { margin-bottom: 22px; }
.form-success > span { max-width: 430px; color: #76655c; font-family: var(--thai); font-size: 12px; line-height: 1.7; }
.form-success .button { margin-top: 30px; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-breathe { to { transform: scale(1.085); } }
@keyframes bob { 50% { transform: translateY(6px); } }
@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes soft-spin { to { transform: rotate(360deg); } }
@keyframes spark-flash {
  0%, 4%, 20%, 100% {
    opacity: .72;
    transform: scale(.94);
    filter: drop-shadow(0 0 3px rgba(212,175,24,.40));
  }
  7%, 14% {
    opacity: 1;
    transform: scale(1.16);
    filter: drop-shadow(0 0 9px rgba(255,226,91,.96)) drop-shadow(0 0 20px rgba(212,175,24,.82));
  }
  10%, 17% { opacity: .84; transform: scale(1.02); }
}
@keyframes spark-seal-ring {
  0%, 4%, 20%, 100% { opacity: 0; transform: scale(.86); }
  7% { opacity: .82; transform: scale(1); }
  14% { opacity: .52; transform: scale(1.08); }
  17% { opacity: 0; transform: scale(1.15); }
}
@keyframes spark-wave-one {
  0%, 5% { opacity: 0; transform: scale(.48); }
  8% { opacity: .82; }
  58%, 100% { opacity: 0; transform: scale(2.05); }
}
@keyframes spark-wave-two {
  0%, 12% { opacity: 0; transform: scale(.48); }
  15% { opacity: .58; }
  68%, 100% { opacity: 0; transform: scale(2.05); }
}
@keyframes result-in { from { opacity: 0; transform: translateY(15px) scale(.985); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 48px, 1120px); }
  .site-header { grid-template-columns: 185px 1fr 160px; padding-inline: 24px; }
  .brand { width: 170px; }
  .desktop-nav { gap: 24px; }
  .hero-content { left: 48px; width: calc(100vw - 96px); }
  .hero-note { right: 32px; }
  .section-intro, .recipe-heading, .journey-heading { grid-template-columns: 1fr; gap: 0; }
  .section-intro > div { grid-template-columns: 1fr; gap: 25px; }
  .muse-intro { grid-template-columns: 1.15fr .85fr; }
  .muse-seal { display: none; }
  .muse-studio { grid-template-columns: 1fr 1fr; }
  .muse-steps { padding: 38px; }
  .story { gap: 55px; }
  .recipe-grid { grid-template-rows: 300px 300px; }
  .recipe-feature { min-height: 618px; }
}

@media (max-width: 1180px) and (orientation: portrait) {
  .site-header {
    height: 70px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    padding-inline: 18px;
  }
  .brand { width: 155px; }
  .desktop-nav,
  .desktop-language-switch,
  .nav-cta {
    display: none;
  }
  .menu-button {
    display: grid;
    gap: 7px;
    width: 46px;
    height: 46px;
    place-content: center;
  }
  .mobile-language-switch {
    position: relative;
    width: 62px;
    height: 42px;
    display: block;
    justify-self: end;
    align-self: center;
    margin: 0;
    transform: none;
  }
  .mobile-language-switch .language-switch {
    width: 62px;
    height: 42px;
  }
  .mobile-language-switch .language-menu {
    top: 0;
    left: auto;
    right: 0;
    width: 62px;
    min-width: 62px;
  }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  :root { --shell: calc(100% - 36px); }
  .site-header { height: 70px; grid-template-columns: 1fr auto auto; gap: 10px; padding-inline: 18px; }
  .brand { width: 155px; }
  .desktop-nav, .nav-cta { display: none; }
  .menu-button { display: grid; gap: 7px; width: 46px; height: 46px; place-content: center; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; }
  .menu-button span { width: 22px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: fixed; top: 70px; left: 0; right: 0; display: grid; gap: 0; padding: 15px 18px 24px; background: rgba(36,21,13,.98); border-top: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 30px rgba(0,0,0,.2); }
  .mobile-nav a { display: flex; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; font-family: var(--serif); font-size: 25px; text-decoration: none; }
  .mobile-nav small { font-family: var(--thai); font-size: 10px; opacity: .5; }
  .mobile-nav .button { margin-top: 20px; }
  .hero { min-height: 780px; height: 100svh; }
  .hero-slide-one { background-position: 55% center; }
  .hero-slide-two { background-position: 57% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(31,15,8,.96), rgba(31,15,8,.65) 62%, rgba(20,9,4,.25)), linear-gradient(0deg, rgba(20,9,4,.65), transparent 55%); }
  .hero-content { left: 24px; bottom: 118px; width: calc(100% - 48px); }
  .hero h1 { font-size: clamp(60px, 11vw, 94px); }
  .hero-note { right: 24px; bottom: 60px; width: 250px; }
  .scroll-cue { display: none; }
  .ingredients { padding-block: 110px 90px; }
  .section-intro, .recipe-heading, .journey-heading { grid-template-columns: 1fr; gap: 0; }
  .section-intro > div { gap: 20px; }
  .product-card { min-height: 420px; }
  .secondary-range { grid-template-columns: 1fr 1fr; }
  .secondary-range > a:nth-child(2) { border-right: 0; }
  .secondary-range > a:nth-child(-n+2) { border-bottom: 1px solid rgba(36,21,13,.18); }
  .muse { padding-top: 82px; }
  .muse-intro { grid-template-columns: 1fr; gap: 19px; }
  .muse h2, .muse-intro > p:not(.eyebrow) { grid-column: 1; }
  .muse-studio { grid-template-columns: 1fr; }
  .muse-steps { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .muse-result { min-height: 630px; }
  .story { grid-template-columns: 1fr; padding-block: 105px; }
  .story-copy { max-width: 700px; }
  .recipe-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 560px 330px; }
  .recipe-feature { grid-column: 1 / 3; grid-row: 1; min-height: 560px; }
  .journey { padding-block: 105px; }
  .journey-steps li { grid-template-columns: 95px 1fr; }
  .journey-steps li > div { grid-template-columns: 70px .6fr 1fr; padding-inline: 28px; }
  .final-cta { min-height: 100svh; }
  .orbit-slot { opacity: .9; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sample-dialog[open] { grid-template-columns: 1fr; }
  .dialog-art { display: none; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .muse-glow { left: -230px; width: 520px; height: 520px; }
  .hero { min-height: 720px; }
  .hero-slide-one { background-position: 58% center; }
  .hero-slide-two { background-position: 60% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(31,15,8,.93), rgba(31,15,8,.55)), linear-gradient(0deg, rgba(20,9,4,.78), transparent 60%); }
  .hero-content { left: 14px; bottom: 128px; width: calc(100% - 28px); }
  .hero-eyebrow { margin-bottom: 20px; font-size: 9px; }
  .hero h1 { font-size: clamp(46px, 14.5vw, 66px); line-height: .9; }
  .hero h1 span { max-width: 360px; }
  .hero-thai { margin-top: 20px; font-size: 14px; line-height: 1.5; }
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    margin-top: 22px;
  }
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    font-size: clamp(11px, 3.45vw, 14px);
    white-space: nowrap;
  }
  .hero-actions .text-link { border-bottom: 0; }
  .hero-note { left: 14px; right: auto; bottom: 24px; width: calc(100% - 28px); }
  .ribbon-track { gap: 22px; font-size: 22px; }
  .ingredients { padding-block: 90px 75px; }
  .section-intro { margin-bottom: 45px; }
  .section-intro h2, .story h2, .recipe-heading h2, .journey h2 { font-size: 52px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 390px; padding: 23px; }
  .product-copy { left: 24px; bottom: 25px; }
  .product-copy h3 { font-size: 56px; }
  .product-card > img { top: 42%; left: 58%; width: 54%; }
  .secondary-range { grid-template-columns: 1fr; }
  .secondary-range > a { min-height: 110px; border-right: 0; border-bottom: 1px solid rgba(36,21,13,.18); }
  .secondary-range > a:last-child { border-bottom: 0; }
  .muse { padding-top: 64px; }
  .muse-intro { margin-bottom: 44px; }
  .muse h2 { font-size: 62px; }
  .muse-steps { padding: 27px 18px; }
  .muse-steps legend { flex-wrap: wrap; }
  .muse-steps legend small { width: 100%; margin-left: 31px; }
  .choice-row, .choice-row.four { grid-template-columns: 1fr; }
  .choice-row button { min-height: 46px; }
  .muse-result { min-height: 560px; }
  .result-empty { padding: 30px 18px; }
  .empty-orbit { width: 150px; height: 150px; }
  .result-empty p { font-size: 31px; }
  .result-card { height: auto; min-height: 660px; grid-template-rows: 350px auto; overflow: hidden; }
  .result-visual img { top: 60%; width: 140%; height: 140%; }
  .result-content { overflow: visible; padding: 86px 20px 28px; }
  .result-card h3 { font-size: 42px; }
  .result-product-list { grid-template-columns: 1fr; }
  .recipe-columns { grid-template-columns: 1fr; gap: 20px; }
  .muse-disclaimer { text-align: left; line-height: 1.5; }
  .story { gap: 48px; }
  .stats-grid > div { min-height: 185px; padding: 20px; }
  .stats-grid strong { font-size: 62px; }
  .recipes { padding-block: 85px; }
  .recipe-heading { margin-bottom: 42px; }
  .recipe-grid { grid-template-columns: 1fr; grid-template-rows: 500px 300px 300px; }
  .recipe-feature { grid-column: 1; grid-row: 1; min-height: 500px; }
  .recipe-overlay { padding: 27px; }
  .recipe-overlay h3 { font-size: 64px; }
  .recipe-feature .circle-action { right: 24px; bottom: 27px; }
  .recipe-card { padding: 22px; }
  .recipe-card h3 { font-size: 47px; }
  .recipe-product { right: 56px; width: 145px; height: 150px; }
  .journey-steps li { grid-template-columns: 52px 1fr; }
  .journey-steps li > span { padding-left: 3px; }
  .journey-steps li > div { grid-template-columns: 1fr; gap: 11px; padding: 27px 20px; }
  .journey-steps i { font-size: 24px; }
  .journey-steps h3 { font-size: 48px; }
  .final-cta { min-height: 100svh; padding-inline: 15px; }
  .final-cta h2 { font-size: 52px; }
  .cta-sun { width: 330px; height: 330px; }
  .orbit-slot { opacity: .72; }
  .sample-dialog { width: calc(100vw - 18px); height: calc(100svh - 18px); }
  .dialog-panel { padding: 48px 22px 28px; }
  .dialog-panel h2 { font-size: 40px; }
  .sample-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-slot img { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Rounded acrylic controls */
.nav-cta,
.button,
.text-link,
.circle-action,
.choice-row button,
.spark-button,
.footer-button,
.dialog-close,
.menu-button {
  border-radius: var(--control-radius);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 12px 30px rgba(25,10,3,.12);
}

.nav-cta,
.menu-button {
  border-color: rgba(255,255,255,.48);
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.07));
}
.nav-cta:hover,
.menu-button:hover {
  border-color: rgba(255,255,255,.78);
  background: linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,.12));
  color: #fff;
}

.button {
  border-color: rgba(255,255,255,.44);
}
.button-light {
  border-color: rgba(255,255,255,.82);
  background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  color: var(--espresso);
}
.button-light:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.68));
}
.button-orange {
  border-color: rgba(255,196,142,.58);
  background: linear-gradient(135deg, rgba(245,132,44,.84), rgba(203,87,16,.66));
  color: #fff;
}
.button-orange:hover {
  background: linear-gradient(135deg, rgba(255,151,67,.92), rgba(218,94,18,.72));
}
.button-espresso {
  border-color: rgba(255,255,255,.28);
  background: linear-gradient(135deg, rgba(36,21,13,.84), rgba(36,21,13,.62));
  color: #fff;
}
.button-espresso:hover {
  background: linear-gradient(135deg, rgba(36,21,13,.92), rgba(36,21,13,.72));
}

.text-link {
  border: 1px solid rgba(255,255,255,.32);
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
}
.text-link.dark {
  border-color: rgba(36,21,13,.20);
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.30));
}

.circle-action,
.dialog-close {
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.07));
}
.circle-action:hover {
  border-color: rgba(36,21,13,.75);
  background: linear-gradient(135deg, rgba(36,21,13,.82), rgba(36,21,13,.58));
}

.choice-row button {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow: 0 12px 30px rgba(25,10,3,.12);
}
.choice-row button:hover {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(255,255,255,.21), rgba(255,255,255,.08));
}
.choice-row button.selected {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(238,124,37,.82), rgba(203,87,16,.60));
}

.spark-button {
  border: 1px solid rgba(255,193,136,.52);
  background: linear-gradient(135deg, rgba(238,124,37,.84), rgba(203,87,16,.62));
}
.spark-button:not(:disabled):hover {
  background: linear-gradient(135deg, rgba(255,151,67,.92), rgba(218,94,18,.70));
}

.footer-button {
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 11px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.035));
}
.dialog-close {
  background: linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.30));
}

.sample-dialog {
  border-radius: 26px;
}
.sample-form input,
.sample-form select {
  border-radius: var(--field-radius);
  background: rgba(255,255,255,.68);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 22px rgba(36,21,13,.06);
}
.sample-form input.invalid,
.sample-form select.invalid {
  background: rgba(255,245,242,.82);
}
.result-product {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--field-radius);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

/* Keep the three-step journey within one desktop viewport at 100% zoom. */
@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .journey {
    height: calc(100svh - 72px);
    min-height: 650px;
    display: flex;
    flex-direction: column;
    padding-block: clamp(38px, 5svh, 64px);
  }
  .journey-heading {
    flex: 0 0 auto;
    margin-bottom: clamp(24px, 3svh, 38px);
  }
  .journey-heading h2 {
    font-size: clamp(58px, 5vw, 82px);
  }
  .journey-steps {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
  .journey-steps li {
    min-height: 0;
  }
  .journey-steps li > span {
    padding-top: clamp(18px, 2.4svh, 28px);
  }
  .journey-steps li > div {
    padding-block: clamp(14px, 2svh, 24px);
  }
  .journey-steps h3 {
    font-size: clamp(48px, 4vw, 68px);
  }
}

/* Fit the complete Flavor Muse workspace within one desktop viewport. */
@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .muse {
    height: calc(100svh - 72px);
    min-height: 650px;
    padding: clamp(24px, 4svh, 56px) 0 clamp(20px, 3svh, 40px);
  }
  .muse-shell {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .muse-intro {
    flex: 0 0 auto;
    margin-bottom: clamp(16px, 2.2svh, 32px);
  }
  .muse h2 {
    font-size: clamp(56px, 5vw, 82px);
  }
  .muse-intro > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.65;
  }
  .muse-seal {
    width: clamp(88px, 8vw, 112px);
    height: clamp(88px, 8vw, 112px);
  }
  .muse-studio {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 750px;
    align-items: stretch;
  }
  .muse-steps {
    min-height: 0;
    overflow-y: auto;
    padding: clamp(20px, 3svh, 38px);
    scrollbar-gutter: stable;
  }
  .muse-steps fieldset {
    margin-bottom: clamp(12px, 2svh, 24px);
  }
  .muse-steps legend {
    margin-bottom: 8px;
    font-size: 13.8px;
  }
  .muse-steps legend small {
    font-size: 10.4px;
  }
  .choice-row button {
    font-size: 12.7px;
  }
  .choice-row button {
    min-height: clamp(40px, 6svh, 50px);
  }
  .selection-hint {
    margin-bottom: 10px;
  }
  .spark-button {
    min-height: clamp(56px, 8svh, 68px);
  }
  .muse-result {
    min-height: 0;
    overflow-y: auto;
  }
  .result-empty {
    padding: 28px;
  }
  .empty-orbit {
    width: clamp(112px, 15svh, 160px);
    height: clamp(112px, 15svh, 160px);
    margin-bottom: 18px;
  }
  .result-empty p {
    font-size: clamp(29px, 3vw, 36px);
  }
  .result-card {
    grid-template-columns: 32% minmax(0, 68%);
    grid-template-rows: 1fr;
  }
  .result-visual {
    grid-column: 1;
    grid-row: 1;
  }
  .result-content {
    grid-column: 2;
    grid-row: 1;
  }
  .result-visual img {
    left: 58%;
    width: 235%;
    height: 116%;
  }
  .result-content { padding-inline: clamp(18px, 2.1vw, 28px); }
  .result-card h3 {
    margin-top: 0;
    font-size: clamp(30px, 2.35vw, 42px);
  }
  .result-product-list { grid-template-columns: 1fr; }
  .result-product {
    margin: 18px 0;
  }
  .recipe-columns {
    padding-top: 16px;
  }
  .muse-disclaimer {
    flex: 0 0 auto;
    margin-top: 8px;
    line-height: 1.25;
  }
}

/* Give the Flavor Muse description a single uninterrupted desktop line. */
@media (min-width: 1200px) {
  .muse-intro {
    grid-template-columns: minmax(420px, .94fr) minmax(0, 1.06fr) 118px;
    gap: clamp(32px, 2.8vw, 58px);
  }
  .muse-intro > p:not(.eyebrow) {
    min-width: 0;
    max-width: 760px;
    justify-self: end;
    padding-right: clamp(8px, .8vw, 18px);
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    font-size: clamp(14px, 1vw, 16px);
  }
}

/* Fit the complete ingredient range, including the ribbon, in one desktop viewport. */
@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .flavor-ribbon {
    padding-block: 10px;
  }
  .ribbon-track {
    gap: 26px;
    font-size: 22px;
  }
  .ingredients {
    height: calc(100svh - 119px);
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(20px, 4svh, 48px) 0 clamp(16px, 3svh, 36px);
  }
  .section-intro {
    flex: 0 0 auto;
    margin-bottom: clamp(14px, 2.2svh, 26px);
  }
  .section-intro h2 {
    font-size: clamp(48px, 4vw, 72px);
  }
  .section-intro > div > p {
    font-size: 13px;
    line-height: 1.65;
  }
  .product-grid {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 620px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.5svh, 16px);
  }
  .product-card {
    min-height: 0;
    height: 100%;
    padding: clamp(14px, 2svh, 24px);
  }
  .product-card::before {
    width: clamp(180px, 24vw, 300px);
    height: clamp(180px, 24vw, 300px);
  }
  .card-number {
    font-size: 8px;
  }
  .product-copy {
    left: clamp(16px, 2vw, 28px);
    bottom: clamp(13px, 2svh, 24px);
  }
  .product-copy p {
    margin-bottom: 5px;
    font-size: 8px;
  }
  .product-copy h3 {
    font-size: clamp(36px, 3vw, 58px);
  }
  .product-copy span {
    font-size: clamp(14px, 1.15vw, 18px);
  }
  .product-card > img {
    top: 38%;
    width: min(220px, 42%);
    max-height: clamp(105px, 16svh, 210px);
  }
  .product-card .circle-action {
    --action-right: clamp(13px, 1.8vw, 22px);
    --action-bottom: clamp(13px, 1.8svh, 22px);
    --action-size: clamp(38px, 3.4vw, 48px);
    font-size: 18px;
  }
  .secondary-range {
    flex: 0 0 auto;
    margin-top: clamp(8px, 1.4svh, 14px);
  }
  .secondary-range > a {
    min-height: clamp(64px, 10svh, 100px);
    grid-template-columns: clamp(48px, 5vw, 68px) 1fr;
    padding: clamp(9px, 1.5svh, 15px);
  }
  .secondary-range img {
    width: clamp(44px, 5vw, 62px);
    height: clamp(44px, 5vw, 62px);
  }
  .secondary-range strong {
    font-size: 11px;
  }
  .secondary-range span {
    font-size: 9px;
  }
}

/* Ingredients opens as a focused product-range view beneath the persistent header. */
body.ingredients-focus-mode {
  overflow: hidden;
  background: var(--ingredients-brown);
}
body.ingredients-focus-mode .scroll-progress { visibility: hidden; }
body.ingredients-focus-mode .hero { visibility: hidden; }
body.ingredients-focus-mode .site-header {
  height: 72px;
  background: rgba(232,120,32,.98);
  box-shadow: 0 12px 40px rgba(104,44,5,.22);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
body.ingredients-focus-mode .desktop-nav a[href="#ingredients"] { color: var(--espresso); font-weight: 700; text-shadow: none; }
body.ingredients-focus-mode .flavor-ribbon {
  position: fixed;
  z-index: 1600;
  top: 72px;
  left: 0;
  right: 0;
}
body.ingredients-focus-mode .ingredients {
  position: fixed;
  z-index: 1500;
  inset: 118px 0 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  overflow: hidden;
  padding: clamp(18px, 2.8svh, 30px) clamp(32px, 3vw, 54px) 16px;
  background: var(--ingredients-brown);
  color: #fff8ee;
  box-shadow: none;
  clip-path: none;
}
body.ingredients-focus-mode .ingredients .reveal { opacity: 1; transform: none; }
body.ingredients-focus-mode .ingredients h2:focus { outline: 0; box-shadow: none; }

@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  body.ingredients-focus-mode .ingredients {
    display: flex;
    flex-direction: column;
  }
  body.ingredients-focus-mode .section-intro {
    flex: 0 0 auto;
    margin-bottom: clamp(12px, 1.8svh, 20px);
  }
  body.ingredients-focus-mode .section-intro > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.5svh, 18px);
  }
  body.ingredients-focus-mode .section-intro h2 {
    font-size: clamp(48px, 4vw, 72px);
  }
  body.ingredients-focus-mode .section-intro > div > p {
    grid-column: 2;
    justify-self: start;
    align-self: end;
    text-align: left;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.65;
  }
  body.ingredients-focus-mode .product-grid {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 1.2svh, 13px) clamp(10px, 1.2vw, 18px);
  }
  body.ingredients-focus-mode .product-card {
    min-height: 0;
    height: 100%;
    padding: clamp(13px, 1.8svh, 20px) clamp(16px, 1.7vw, 26px);
  }
  body.ingredients-focus-mode .product-card > img {
    top: 40%;
    width: min(185px, 38%);
    max-height: clamp(84px, 13svh, 150px);
  }
  body.ingredients-focus-mode .product-copy {
    left: clamp(16px, 1.8vw, 27px);
    bottom: clamp(11px, 1.5svh, 18px);
  }
  body.ingredients-focus-mode .product-copy h3 { font-size: clamp(34px, 3vw, 54px); }
  body.ingredients-focus-mode .secondary-range {
    flex: 0 0 clamp(62px, 9svh, 88px);
    margin-top: clamp(8px, 1.2svh, 12px);
  }
  body.ingredients-focus-mode .secondary-range > a {
    min-height: 0;
    grid-template-columns: clamp(44px, 4.4vw, 64px) 1fr;
    padding: clamp(7px, 1.1svh, 12px);
  }
  body.ingredients-focus-mode .secondary-range img {
    width: clamp(42px, 4.5vw, 60px);
    height: clamp(42px, 4.5vw, 60px);
  }
}

/* Match the 100% desktop reference on full-height displays. */
@media (min-width: 1181px) and (min-height: 850px), (min-width: 901px) and (min-height: 850px) and (orientation: landscape) {
  body.ingredients-focus-mode .site-header {
    height: 92px;
    padding-left: 60px;
    padding-right: 50px;
    grid-template-columns: 250px 1fr 185px;
  }
  body.ingredients-focus-mode .brand { width: 230px; }
  body.ingredients-focus-mode .desktop-nav {
    gap: clamp(44px, 3.4vw, 58px);
    transform: translateX(-14px);
  }
  body.ingredients-focus-mode .desktop-nav a { font-size: 22px; }
  body.ingredients-focus-mode .desktop-nav a small { font-size: 16px; }
  body.ingredients-focus-mode .nav-cta {
    min-width: 150px;
    min-height: 60px;
    padding: 16px 24px;
    font-size: 13px;
  }
  body.ingredients-focus-mode .flavor-ribbon {
    top: 92px;
    padding-block: 16px;
  }
  body.ingredients-focus-mode .ribbon-track {
    gap: 32px;
    font-size: 30px;
  }
  body.ingredients-focus-mode .ingredients {
    inset: 156px 0 0;
    padding: 28px 42px 16px;
  }
  body.ingredients-focus-mode .section-intro {
    margin-bottom: 22px;
  }
  body.ingredients-focus-mode .product-grid {
    flex: 1 1 auto;
    height: auto;
    gap: 14px;
  }
  body.ingredients-focus-mode .product-card {
    padding: 18px;
  }
  body.ingredients-focus-mode .product-card > img {
    width: min(220px, 42%);
    max-height: clamp(132px, 16svh, 170px);
  }
  body.ingredients-focus-mode .product-copy {
    left: 34px;
    bottom: 24px;
  }
  body.ingredients-focus-mode .product-card .circle-action {
    --action-right: 28px;
    --action-bottom: 20px;
    --action-size: 58px;
  }
  body.ingredients-focus-mode .secondary-range {
    flex-basis: clamp(94px, 11.6svh, 110px);
    margin-top: 14px;
  }
  body.ingredients-focus-mode .secondary-range > a {
    grid-template-columns: 68px 1fr;
    padding: 14px 18px;
  }
  body.ingredients-focus-mode .secondary-range img {
    width: 64px;
    height: 64px;
  }
  body.ingredients-focus-mode .secondary-range strong { font-size: 13px; }
  body.ingredients-focus-mode .secondary-range span { font-size: 10px; }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  body.ingredients-focus-mode .site-header { height: 70px; }
  body.ingredients-focus-mode .flavor-ribbon { top: 70px; }
  body.ingredients-focus-mode .ingredients {
    inset: 116px 0 0;
    overflow-y: auto;
    padding: 52px 14px 40px;
  }
}

/* Keep full-screen menu views scrollable without moving the page behind them. */
body.muse-focus-mode .muse,
body.ingredients-focus-mode .ingredients {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

/* Let the four hero product groups feel larger and break the card edge slightly. */
.product-card-surface { display: none; }

/* All four homepage category artworks: 50% larger, with unclipped top edges. */
body.home-page .ingredients .product-card {
  overflow: visible;
}
body.home-page .ingredients .product-card::before { display: none; }
body.home-page .ingredients .product-card-surface {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
body.home-page .ingredients .product-card-surface::before {
  content: "";
  position: absolute;
  width: clamp(180px, 24vw, 360px);
  height: clamp(180px, 24vw, 360px);
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(36,21,13,.25);
  border-radius: 50%;
}
body.home-page .ingredients .product-card > img,
body.home-page .ingredients .product-card:hover > img {
  transform: translate(-50%, -50%) scale(1.5);
  transform-origin: 50% 65%;
  pointer-events: none;
}

@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  body.ingredients-focus-mode .product-card {
    z-index: 1;
    overflow: visible;
  }
  body.ingredients-focus-mode .product-card:hover,
  body.ingredients-focus-mode .product-card:focus-within { z-index: 6; }
  body.ingredients-focus-mode .product-card::before { display: none; }
  body.ingredients-focus-mode .product-card-surface {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    overflow: hidden;
    pointer-events: none;
  }
  body.ingredients-focus-mode .product-card-surface::before {
    content: "";
    position: absolute;
    width: clamp(180px, 24vw, 300px);
    height: clamp(180px, 24vw, 300px);
    right: -80px;
    bottom: -90px;
    border: 1px solid rgba(36,21,13,.25);
    border-radius: 50%;
    transition: transform .5s;
  }
  body.ingredients-focus-mode .product-card:hover .product-card-surface::before,
  body.ingredients-focus-mode .product-card:focus-within .product-card-surface::before { transform: scale(1.2); }
  body.ingredients-focus-mode .product-card > img {
    top: 50%;
    left: 50%;
    width: 36.4%;
    height: 80%;
    max-height: none;
    object-position: center;
  }
  body.ingredients-focus-mode .product-card.card-yellow > img {
    width: 40.6%;
    height: 102%;
  }
  body.ingredients-focus-mode .product-card:hover > img {
    transform: translate(-50%, -54%) scale(1.14);
  }
}

@media (min-width: 1181px) and (min-height: 850px), (min-width: 901px) and (min-height: 850px) and (orientation: landscape) {
  body.ingredients-focus-mode .product-card > img {
    width: 37.8%;
    height: 81.2%;
    max-height: none;
  }
  body.ingredients-focus-mode .product-card.card-yellow > img {
    width: 42%;
    height: 103.6%;
  }
}

/* Keep the Ingredients description within two deliberate lines on wider layouts. */
@media (min-width: 1200px) {
  .ingredients .section-intro > div,
  body.ingredients-focus-mode .section-intro > div {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(42px, 4vw, 70px);
  }
  body.ingredients-focus-mode .section-intro > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.5svh, 18px);
  }
  .ingredients .section-intro > div > p,
  body.ingredients-focus-mode .section-intro > div > p {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(11px, .86vw, 13px);
  }
  body.ingredients-focus-mode .section-intro > div > p {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

/* Keep the Ingredients description within the viewport on tablet layouts too. */
@media (min-width: 621px) and (max-width: 1199px) {
  .ingredients .section-intro > div > p,
  body.ingredients-focus-mode .section-intro > div > p {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(9px, 1.05vw, 11px);
  }
}

@media (min-width: 901px) and (max-width: 1199px) and (orientation: landscape) {
  .ingredients .section-intro > div,
  body.ingredients-focus-mode .section-intro > div {
    grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
    gap: clamp(24px, 3vw, 38px);
  }
}

@media (max-width: 620px) {
  .ingredients-intro-break { display: none; }
}

/* Center and enlarge product artwork while keeping it inside each card. */
@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .ingredients .product-card > img,
  body.ingredients-focus-mode .product-card > img {
    top: 50%;
    left: 50%;
    width: 46%;
    height: 88%;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }
  .ingredients .product-card.card-yellow > img,
  body.ingredients-focus-mode .product-card.card-yellow > img {
    width: 50%;
    height: 90%;
  }
}

.language-dropdown {
  position: absolute;
  z-index: 20;
  top: 50%;
  right: 42px;
  transform: translateY(-50%);
  width: 62px;
}

.language-switch {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.20), rgba(255,255,255,0) 34%),
    linear-gradient(145deg, rgba(255,151,53,.98), rgba(237,112,24,.98));
  color: #1f1008;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -18px 28px rgba(179,69,8,.12),
    0 14px 32px rgba(111,43,4,.28);
  transition: border-color .2s, background .2s, transform .2s;
}
.language-switch span {
  display: block;
  width: 100%;
  text-align: center;
}
.language-switch:hover {
  border-color: rgba(255,255,255,.92);
  background:
    linear-gradient(155deg, rgba(255,255,255,.27), rgba(255,255,255,0) 34%),
    linear-gradient(145deg, rgba(255,163,68,.98), rgba(240,118,29,.98));
  transform: translateY(-1px);
}
.language-caret {
  display: none;
}
.language-menu {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 62px;
  min-width: 62px;
  padding: 42px 5px 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.18), rgba(255,255,255,0) 35%),
    linear-gradient(145deg, rgba(255,151,53,.98), rgba(237,112,24,.98));
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    inset 0 -18px 28px rgba(179,69,8,.14),
    0 18px 38px rgba(72,26,2,.32);
}
.language-menu button {
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  cursor: pointer;
}
.language-menu button:hover {
  color: #1f1008;
  background: rgba(255,255,255,.16);
}
.language-menu button[aria-current="true"] {
  display: none;
}
.language-dropdown.is-open .language-switch {
  border-color: rgba(255,255,255,.92);
  box-shadow: none;
}
.sample-form label > .field-caption {
  display: inline-flex;
  flex-direction: row;
  gap: 4px;
  align-items: baseline;
  color: inherit;
}
.sample-form .field-caption b {
  color: var(--orange);
  font-weight: 600;
}
.mobile-language-switch { display: none; }
body.ingredients-focus-mode .desktop-language-switch { right: 42px; }

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  body.muse-focus-mode .muse-studio {
    grid-template-columns: 1fr;
  }
  body.muse-focus-mode .muse-result.has-result {
    min-height: auto;
    overflow: visible;
    background: transparent;
  }
  body.muse-focus-mode .result-card {
    height: auto;
    min-height: 0;
    grid-template-rows: minmax(420px, 58svh) auto;
    overflow: visible;
  }
  body.muse-focus-mode .result-visual {
    min-height: min(620px, 58svh);
    overflow: visible;
    scroll-margin-top: 86px;
  }
  body.muse-focus-mode .result-visual img {
    top: 56%;
    width: min(92vw, 560px);
    height: min(112%, 620px);
    max-height: 620px;
    object-fit: contain;
  }
  body.muse-focus-mode .result-content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: clamp(24px, 5vw, 42px);
    overflow: visible;
  }
}

@media (max-width: 620px) {
  body.muse-focus-mode .result-card {
    grid-template-rows: minmax(440px, 62svh) auto;
  }
  body.muse-focus-mode .result-visual {
    min-height: min(620px, 62svh);
  }
  body.muse-focus-mode .result-visual img {
    top: 58%;
    width: min(96vw, 520px);
    height: min(112%, 590px);
  }
}

@media (min-width: 1181px) and (min-height: 850px), (min-width: 901px) and (min-height: 850px) and (orientation: landscape) {
  body.ingredients-focus-mode .desktop-language-switch { right: 50px; }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  .desktop-language-switch { display: none; }
  .mobile-language-switch {
    position: relative;
    width: 62px;
    height: 42px;
    display: block;
    justify-self: end;
    margin: 0;
    transform: none;
  }
  .mobile-language-switch .language-switch { width: 62px; height: 42px; }
  .mobile-language-switch .language-menu { top: 0; left: auto; right: 0; width: 62px; min-width: 62px; }
  .mobile-language-switch:hover { transform: none; }
}

/* Keep the portrait language control in the same header row as the logo and menu. */
@media (max-width: 1180px) and (orientation: portrait) {
  .desktop-language-switch { display: none; }
  .mobile-language-switch {
    position: relative;
    inset: auto;
    width: 62px;
    height: 42px;
    display: block;
    justify-self: end;
    align-self: center;
    margin: 0;
    transform: none;
  }
  .mobile-language-switch .language-switch {
    width: 62px;
    height: 42px;
  }
  .mobile-language-switch .language-menu {
    top: 0;
    right: 0;
    left: auto;
    width: 62px;
    min-width: 62px;
  }
  .mobile-language-switch:hover { transform: none; }
}

/* Footer reference: compact two-column portrait and wide three-column landscape. */
@media (orientation: portrait) {
  .site-footer {
    min-height: 0;
    padding: 24px 0 22px;
    justify-content: flex-start;
    gap: 22px;
  }
  .footer-top {
    width: min(100% - 40px, 805px);
    grid-template-columns: minmax(0, 1fr) minmax(150px, 1.05fr);
    gap: 22px clamp(24px, 7vw, 64px);
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: min(215px, 62vw); }
  .footer-top h3 {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .footer-top > div:not(.footer-brand) { gap: 8px; }
  .footer-top a,
  .footer-top span,
  .footer-button { font-size: clamp(13px, 2.25vw, 18px); }
  .footer-phone span { font-size: clamp(12px, 2vw, 16px); }
  .footer-bottom { display: none; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .site-footer {
    min-height: 0;
    padding: clamp(24px, 4vw, 32px) 0 clamp(14px, 2vw, 18px);
    gap: clamp(20px, 3vw, 28px);
  }
  .footer-top,
  .footer-bottom { width: calc(100vw - clamp(32px, 8vw, 140px)); }
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 20vw) minmax(145px, 25vw);
    gap: clamp(16px, 4vw, 70px);
  }
  .footer-brand img { width: clamp(155px, 25vw, 215px); }
  .footer-top h3 {
    margin-bottom: clamp(8px, 1.5vw, 12px);
    font-size: clamp(9px, 1.3vw, 11px);
  }
  .footer-top > div:not(.footer-brand) { gap: clamp(6px, 1.2vw, 9px); }
  .footer-top a,
  .footer-top span,
  .footer-button { font-size: clamp(10px, 1.7vw, 15px); }
  .footer-phone { gap: clamp(5px, 1vw, 9px); }
  .footer-phone span { font-size: clamp(10px, 1.5vw, 14px); }
  .footer-bottom {
    gap: clamp(12px, 3vw, 25px);
    padding-top: clamp(10px, 1.8vw, 14px);
    font-size: clamp(8px, 1.1vw, 10px);
  }
}

/* Landscape phones and tablets retain the desktop header hierarchy at a smaller scale. */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header,
  body.muse-focus-mode .site-header,
  body.ingredients-focus-mode .site-header {
    height: clamp(56px, 11vh, 70px);
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: clamp(8px, 1.5vw, 14px);
    padding-inline: clamp(16px, 3vw, 28px);
  }
  .brand { width: clamp(135px, 18vw, 170px); }
  .desktop-nav,
  .desktop-language-switch,
  .nav-cta { display: none; }
  .menu-button {
    display: grid;
    width: clamp(38px, 7vh, 46px);
    height: clamp(38px, 7vh, 46px);
    gap: clamp(5px, 1vh, 7px);
    place-content: center;
    border: 1px solid rgba(255,255,255,.5);
    background: transparent;
    color: #fff;
  }
  .menu-button span { width: clamp(18px, 3.3vh, 22px); }
  .mobile-language-switch {
    position: relative;
    inset: auto;
    top: auto;
    right: auto;
    width: clamp(52px, 9vw, 62px);
    height: clamp(36px, 6.5vh, 42px);
    display: block;
    justify-self: end;
    align-self: center;
    margin: 0;
    transform: none;
  }
  .mobile-language-switch .language-switch {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    font-size: clamp(10px, 1.7vw, 12px);
  }
  .mobile-language-switch .language-menu {
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    min-width: 0;
    padding: clamp(36px, 6.5vh, 42px) 4px 6px;
    border-radius: 22px;
  }
  .mobile-language-switch .language-menu button {
    height: clamp(26px, 4.5vh, 32px);
    font-size: clamp(10px, 1.7vw, 12px);
  }
  .mobile-language-switch:hover { transform: none; }
  .mobile-nav { top: clamp(56px, 11vh, 70px); }

  .hero {
    min-height: 100svh;
    height: 100svh;
    max-height: none;
  }
  .hero-content {
    left: clamp(18px, 4vw, 48px);
    bottom: clamp(18px, 7vh, 56px);
    width: min(72vw, 620px);
  }
  .hero-eyebrow {
    margin-bottom: clamp(10px, 2vh, 18px);
    font-size: clamp(8px, 1.25vw, 10px);
  }
  .hero-eyebrow span { width: clamp(28px, 5vw, 48px); }
  .hero h1 {
    font-size: clamp(36px, 7.4vw, 68px);
    line-height: .88;
  }
  .hero-thai {
    margin-top: clamp(10px, 2vh, 18px);
    font-size: clamp(11px, 1.8vw, 14px);
    line-height: 1.4;
  }
  .hero-actions {
    gap: clamp(8px, 1.5vw, 12px);
    margin-top: clamp(12px, 2.5vh, 20px);
  }
  .hero-actions .button,
  .hero-actions .text-link {
    min-height: clamp(40px, 7vh, 54px);
    padding-inline: clamp(10px, 1.6vw, 16px);
    font-size: clamp(10px, 1.55vw, 13px);
  }
  .hero-note,
  .scroll-cue { display: none; }
}

/* Flavor Muse: keep every control inside the studio and remove the white frame. */
.muse-studio {
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  border: 0;
}

.muse-steps {
  min-width: 0;
  max-width: 100%;
  border-right: 0;
  border-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-gutter: auto;
}

.muse,
.muse-result,
.result-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scrollbar-gutter: auto;
}

.muse::-webkit-scrollbar,
.muse-steps::-webkit-scrollbar,
.muse-result::-webkit-scrollbar,
.result-content::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.choice-row {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-row button,
.spark-button {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.choice-row button {
  width: 100%;
  padding-inline: clamp(8px, 1vw, 18px);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}

.choice-row button.choice-with-icon {
  gap: clamp(5px, .75vw, 10px);
}

@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .muse-steps {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(16px, 2.35svh, 30px);
  }

  .muse-steps fieldset {
    margin-bottom: clamp(9px, 1.35svh, 17px);
  }

  .muse-steps legend {
    gap: 9px;
    margin-bottom: clamp(6px, .8svh, 9px);
  }

  .muse-steps legend > span {
    min-width: 28px;
    font-size: clamp(25px, 1.9vw, 32px);
  }

  .choice-row {
    gap: clamp(6px, .65vw, 9px);
  }

  .choice-row button {
    min-height: clamp(38px, 5.2svh, 48px);
    font-size: clamp(11px, .9vw, 13px);
  }

  .choice-icon {
    width: clamp(28px, 2.35vw, 34px);
    height: clamp(28px, 2.35vw, 34px);
    flex-basis: clamp(28px, 2.35vw, 34px);
  }

  .selection-hint {
    min-height: 18px;
    margin: 0 0 clamp(6px, .8svh, 9px);
  }

  .spark-button {
    min-height: clamp(50px, 6.8svh, 62px);
    padding: 9px 24px;
  }
}

@media (max-width: 1180px) {
  .muse-studio {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .muse-steps {
    padding-inline: clamp(18px, 3vw, 32px);
  }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  .muse-studio {
    grid-template-columns: minmax(0, 1fr);
  }

  .muse-steps {
    border: 0;
  }
}

@media (max-width: 620px) {
  .choice-row,
  .choice-row.four {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Flavor Muse two-stage experience: three-column builder, then animated summary. */
.muse-studio {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 460px;
  overflow: visible;
  border: 0;
  background: linear-gradient(180deg, rgba(45,18,8,.18), rgba(28,10,4,.34));
  transition: grid-template-columns .68s cubic-bezier(.2,.8,.2,1), gap .68s cubic-bezier(.2,.8,.2,1);
}

.muse-steps {
  position: relative;
  z-index: 3;
  min-width: 0;
  display: block;
  padding: clamp(28px, 4vw, 56px);
  overflow-anchor: none;
}

.muse-choice-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}

.muse-steps .muse-choice-columns fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.muse-steps .muse-choice-columns legend {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  gap: 4px 12px;
  margin: 0 0 18px;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.35;
}

.muse-steps .muse-choice-columns legend > span {
  grid-row: 1 / 3;
  min-width: 28px;
  place-items: start;
  padding-top: 2px;
  font-size: clamp(28px, 2.5vw, 38px);
}

.muse-steps .muse-choice-columns legend small {
  grid-column: 2;
  width: auto;
  margin: 0;
  font-size: 9px;
  letter-spacing: .18em;
}

.muse-choice-columns .choice-row,
.muse-choice-columns .choice-row.four {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.muse-choice-columns .choice-row button {
  position: relative;
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  padding: 12px 46px 12px 14px;
  background: transparent;
  color: rgba(255,255,255,.68);
  font-family: var(--thai);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 400;
  text-align: left;
  transform: none;
  transition: color .24s ease, background .24s ease, font-weight .24s ease;
}

.muse-choice-columns .choice-row button::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(232,120,32,.18), transparent 72%);
  transition: opacity .24s ease;
  pointer-events: none;
}

.muse-choice-columns .choice-row button::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("assets/spark-mark-gold.webp") center / contain no-repeat;
  position: absolute;
  right: 17px;
  top: 50%;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 21px;
  opacity: 0;
  filter: drop-shadow(0 0 7px rgba(255,210,67,.75));
  transform: translateY(-50%) rotate(-35deg) scale(.25);
  transition: opacity .2s ease, transform .34s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.muse-choice-columns .choice-row button:hover,
.muse-choice-columns .choice-row button:focus-visible {
  color: #fff;
  background: transparent;
  transform: none;
}

.muse-choice-columns .choice-row button:hover::before,
.muse-choice-columns .choice-row button:focus-visible::before,
.muse-choice-columns .choice-row button.selected::before { opacity: 1; }

.muse-choice-columns .choice-row button:hover::after,
.muse-choice-columns .choice-row button:focus-visible::after,
.muse-choice-columns .choice-row button.selected::after {
  opacity: 1;
  transform: translateY(-50%) rotate(0) scale(1);
}

.muse-choice-columns .choice-row button:hover::after,
.muse-choice-columns .choice-row button:focus-visible::after {
  animation: muse-hover-spark .9s ease-in-out infinite alternate;
}

.muse-choice-columns .choice-row button.selected {
  border-color: rgba(255,197,60,.38);
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(104,40,4,.2);
}

.muse-choice-columns .choice-row button.selected::before { opacity: 0; }

.muse-studio.is-complete:not(.is-result) .muse-choice-columns { align-items: start; }

.muse-choice-columns .choice-row button i {
  position: relative;
  z-index: 1;
  min-width: 24px;
  margin: 0;
  color: var(--yellow);
  font-size: 18px;
  text-align: center;
}

.muse-choice-columns .choice-row button.choice-with-icon {
  justify-content: center;
  text-align: center;
  gap: 12px;
}

.muse-choice-columns .choice-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.muse-builder-action {
  display: grid;
  justify-items: center;
  margin-top: clamp(25px, 4vh, 42px);
  text-align: center;
}

.muse-builder-action .selection-hint {
  min-height: 20px;
  margin: 0 0 12px;
}

.muse-builder-action .spark-button {
  min-width: 260px;
  min-height: 72px;
  margin: 0;
  border: 1px solid rgba(255,226,181,.58);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(42,13,2,.28);
}

.muse-builder-action .spark-button[hidden] { display: none !important; }

@keyframes muse-ready-rise-to-center {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 160px)) scale(.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes muse-dark-acrylic-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-steps::after {
  content: "";
  position: fixed;
  z-index: 1601;
  inset: 72px 0 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(115,50,22,.17), transparent 44%),
    rgba(12,5,2,.5);
  -webkit-backdrop-filter: blur(20px) saturate(82%) brightness(.78);
  backdrop-filter: blur(20px) saturate(82%) brightness(.78);
  animation: muse-dark-acrylic-in .52s ease-out both;
}

/* Once all three choices are ready, bring the primary action into the
   visual center of the focused studio instead of leaving it at the bottom. */
body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-builder-action {
  position: fixed;
  z-index: 1602;
  top: calc(50svh - 16px);
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(520px, calc(100vw - 32px));
  margin: 0;
  transform: translate(-50%, -50%);
  animation: muse-ready-rise-to-center .72s cubic-bezier(.16,.78,.24,1) both;
  pointer-events: auto;
}

body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-builder-action .spark-button {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-steps::after {
    background: rgba(12,5,2,.82);
  }
}

.muse-builder-action .recreate-button {
  border-color: rgba(255,231,203,.7);
  background: linear-gradient(135deg, rgba(255,145,56,.92), rgba(199,73,10,.72));
}

.recreate-button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.recreate-button > span > span,
.recreate-button small span {
  align-self: auto;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.recreate-button > span > b {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.muse-studio .muse-result {
  position: absolute;
  z-index: 2;
  inset: 0;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  visibility: hidden;
  border-radius: 0;
  background: transparent;
  color: var(--espresso);
  opacity: 0;
  pointer-events: none;
  transform: translateX(140px);
  transition: opacity .62s ease, transform .78s cubic-bezier(.2,.8,.2,1), visibility 0s linear .78s;
}

.muse-studio.is-result {
  grid-template-columns: minmax(420px, .88fr) minmax(620px, 1.22fr);
  gap: clamp(20px, 2.4vw, 42px);
  min-height: 610px;
  background: transparent;
}

.muse-studio.is-result .muse-steps {
  align-self: center;
  padding: 24px 0 24px 18px;
  animation: muse-builder-left .72s cubic-bezier(.2,.8,.2,1) both;
}

.muse-studio.is-result .muse-choice-columns {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.muse-studio.is-result .muse-steps .muse-choice-columns legend {
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: baseline;
  margin-bottom: 7px;
  font-size: 14px;
}

.muse-studio.is-result .muse-steps .muse-choice-columns legend > span {
  grid-row: auto;
  font-size: 28px;
}

.muse-studio.is-result .muse-steps .muse-choice-columns legend small {
  grid-column: 3;
  margin-left: auto;
}

.muse-studio.is-result .choice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.muse-studio.is-result .choice-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.muse-studio.is-result .muse-choice-columns .choice-row button {
  width: max-content;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 48px;
  justify-content: center;
  border: 0;
  border-radius: 17px;
  padding: 7px 24px;
  background: rgba(91,43,26,.58);
  font-size: 11px;
  text-align: center;
}

.muse-studio.is-result .muse-choice-columns .choice-row button::after { right: 9px; font-size: 14px; }
.muse-studio.is-result .muse-choice-columns .choice-row button:hover { color: #fff; }
.muse-studio.is-result .muse-choice-columns .choice-row button.selected {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
}

.muse-studio.is-result .choice-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
}

.muse-studio.is-result .muse-builder-action {
  justify-items: start;
  margin-top: 15px;
  text-align: left;
}

.muse-studio.is-result .muse-builder-action .spark-button { margin-left: 0; }

.muse-studio.is-result .muse-result {
  position: relative;
  inset: auto;
  grid-column: 2;
  display: block;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.muse-studio.is-result.result-visible .muse-result {
  opacity: 1;
  transform: translateX(0);
}

.muse-studio.is-result .result-card:not([hidden]) {
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(390px, 1.16fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 24px);
  overflow: visible;
  animation: none;
}

.muse-studio.is-result .result-visual {
  min-width: 0;
  min-height: 610px;
  overflow: visible;
}

.muse-studio.is-result .result-visual img {
  left: 50%;
  top: 50%;
  width: 132%;
  height: 110%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}

.muse-studio.is-result .result-content {
  align-self: stretch;
  height: 100%;
  max-height: 610px;
  overflow-y: auto;
  border-radius: 30px;
  padding: clamp(25px, 3vw, 45px) clamp(24px, 3vw, 46px) 24px;
  background: #f7c6cc;
  box-shadow: 0 30px 80px rgba(35,12,3,.24);
}

.muse-studio.is-result .result-card h3 { font-size: clamp(36px, 3.4vw, 57px); }
.muse-studio.is-result .result-story { font-size: 12px; }
.muse-studio.is-result .result-product-card { grid-template-columns: 58px minmax(0, 1fr); }
.muse-studio.is-result .result-product-card img { width: 58px; height: 62px; }
.muse-studio.is-result .result-product-card span { font-size: 10px; }
.muse-studio.is-result .recipe-details summary { font-size: 11px; }

body.muse-focus-mode .muse {
  padding: clamp(16px, 2.2vh, 28px) 0 26px;
}

body.muse-focus-mode .muse-intro {
  align-items: end;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(14px, 2vh, 24px);
}

/* Keep the heading scale identical before and after the Muse view settles. */
.muse h2,
body.muse-focus-mode .muse h2 { font-size: clamp(54px, 5.8vw, 88px); }
body.muse-focus-mode .muse h2 em { white-space: nowrap; }
body.muse-focus-mode .muse-intro > p:not(.eyebrow) { padding-bottom: 7px; }
body.muse-focus-mode .muse-seal { width: 94px; height: 94px; }

body.muse-focus-mode .muse-studio.is-result {
  --muse-summary-height: clamp(400px, calc(100svh - 255px), 540px);
  min-height: var(--muse-summary-height);
}

body.muse-focus-mode .muse-studio.is-result .result-card:not([hidden]),
body.muse-focus-mode .muse-studio.is-result .result-visual {
  min-height: var(--muse-summary-height);
}

body.muse-focus-mode .muse-studio.is-result .result-content {
  max-height: var(--muse-summary-height);
}

.muse.has-summary {
  --muse-summary-height: clamp(500px, 72svh, 760px);
  padding-bottom: max(52px, 6svh);
}

.muse.has-summary .muse-studio.is-result,
.muse.has-summary .muse-studio.is-result .result-card:not([hidden]),
.muse.has-summary .muse-studio.is-result .result-visual {
  min-height: var(--muse-summary-height);
}

.muse.has-summary .muse-studio.is-result .result-card:not([hidden]) {
  height: var(--muse-summary-height);
}

.muse.has-summary .muse-studio.is-result .result-content {
  height: var(--muse-summary-height);
  max-height: var(--muse-summary-height);
}

.muse.has-summary .muse-studio.is-result .result-visual img {
  height: 100%;
}

body.muse-focus-mode .muse.has-summary {
  --muse-summary-height: clamp(500px, 72svh, 760px);
}

@media (min-width: 768px) {
  .muse-studio.is-complete:not(.is-result) .muse-builder-action {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: clamp(14px, 2.5svh, 28px);
    left: 0;
    margin: 0;
  }

  body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-builder-action {
    position: fixed;
    top: calc(50svh - 16px);
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(520px, calc(100vw - 32px));
    margin: 0;
  }
}

@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .muse-shell { position: relative; }

  body.muse-focus-mode .muse-intro {
    grid-template-columns: minmax(420px, 1fr) minmax(0, .92fr) 104px;
  }

  body.muse-focus-mode .muse-intro > p:not(.eyebrow) {
    min-width: 0;
    max-width: 720px;
    justify-self: end;
    padding-right: 12px;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  body.muse-focus-mode .muse-seal {
    position: relative;
    z-index: 2;
    justify-self: end;
  }

  .muse.has-summary .muse-intro {
    position: absolute;
    z-index: 6;
    inset: 0 0 auto;
    display: grid;
    margin: 0;
    pointer-events: none;
  }

  .muse.has-summary .muse-intro > p:not(.eyebrow),
  .muse.has-summary .muse-seal {
    visibility: hidden;
    opacity: 0;
  }

  .muse.has-summary .muse-studio.is-result {
    min-height: 0;
    align-items: stretch;
  }

  .muse.has-summary .muse-studio.is-result .muse-steps {
    height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding-top: clamp(150px, 20svh, 220px);
    padding-bottom: clamp(94px, 13svh, 132px);
  }

  .muse.has-summary .muse-studio.is-result .muse-builder-action {
    position: absolute;
    z-index: 7;
    right: 0;
    bottom: clamp(8px, 1.5svh, 18px);
    left: 18px;
    margin: 0;
  }

  .muse.has-summary .muse-studio.is-result .muse-result {
    top: 12px;
    height: var(--muse-summary-height);
    align-self: center;
    overflow: visible;
  }

  .muse.has-summary .muse-studio.is-result .result-card:not([hidden]) {
    height: 100%;
    min-height: 0;
  }

  .muse.has-summary .muse-studio.is-result .result-visual {
    min-height: 0;
  }
}

@keyframes muse-hover-spark {
  from { opacity: 1; filter: drop-shadow(0 0 3px rgba(255,210,67,.45)); transform: translateY(-50%) rotate(-8deg) scale(.82); }
  to { opacity: 1; filter: drop-shadow(0 0 10px rgba(255,210,67,.95)); transform: translateY(-50%) rotate(8deg) scale(1.12); }
}

@keyframes muse-builder-left {
  from { opacity: .84; transform: translateX(9vw); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1320px) {
  .muse-studio.is-result {
    grid-template-columns: minmax(390px, .84fr) minmax(0, 1.16fr);
    gap: 20px;
  }
  .muse-studio.is-result .result-card:not([hidden]) {
    grid-template-columns: minmax(190px, .68fr) minmax(340px, 1.16fr);
  }
}

@media (min-width: 901px) and (max-height: 980px) {
  .muse.has-summary {
    --muse-summary-height: clamp(390px, calc(100svh - 108px), 520px);
    padding-bottom: 34px;
  }

  .muse.has-summary .muse-intro { display: grid; }
  .muse.has-summary .muse-disclaimer { margin-top: 8px; }

  body.muse-focus-mode .muse.has-summary {
    --muse-summary-height: clamp(390px, calc(100svh - 168px), 500px);
    padding-bottom: 18px;
  }

  .muse.has-summary .muse-studio.is-result .muse-steps {
    padding: clamp(138px, 20svh, 160px) 0 86px 12px;
  }

  .muse.has-summary .muse-studio.is-result .muse-choice-columns { gap: 8px; }

  .muse.has-summary .muse-studio.is-result .muse-steps .muse-choice-columns legend {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .muse.has-summary .muse-studio.is-result .muse-steps .muse-choice-columns legend > span {
    font-size: 24px;
  }

  .muse.has-summary .muse-studio.is-result .muse-choice-columns .choice-row button {
    min-height: 40px;
    padding-block: 5px;
  }

  .muse.has-summary .muse-studio.is-result .choice-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .muse.has-summary .muse-studio.is-result .muse-builder-action { margin-top: 7px; }
  .muse.has-summary .muse-studio.is-result .selection-hint { margin-bottom: 5px; font-size: 11px; }
  .muse.has-summary .muse-studio.is-result .muse-builder-action .spark-button {
    min-height: 58px;
    padding-block: 8px;
  }

  .muse.has-summary .muse-studio.is-result .result-visual img {
    left: 50%;
    top: 50%;
    width: 132%;
    height: 105%;
  }

  .muse.has-summary .muse-studio.is-result .result-content {
    overflow-y: auto;
    border-radius: 25px;
    padding: 17px 22px 15px;
  }

  .muse.has-summary .muse-studio.is-result .result-kicker { margin-bottom: 4px; }
  .muse.has-summary .muse-studio.is-result .result-card h3 { font-size: clamp(32px, 3vw, 46px); }
  .muse.has-summary .muse-studio.is-result .result-thai { margin: 4px 0 7px; font-size: 13px; }
  .muse.has-summary .muse-studio.is-result .result-story { font-size: 10px; line-height: 1.5; }
  .muse.has-summary .muse-studio.is-result .result-products { margin-top: 8px; padding: 7px; }
  .muse.has-summary .muse-studio.is-result .result-products-heading { margin-bottom: 6px; }
  .muse.has-summary .muse-studio.is-result .result-product-card { grid-template-columns: 44px minmax(0, 1fr); }
  .muse.has-summary .muse-studio.is-result .result-product-card img { width: 44px; height: 46px; }
  .muse.has-summary .muse-studio.is-result .recipe-details { margin-top: 7px; }
  .muse.has-summary .muse-studio.is-result .recipe-details summary { padding-top: 6px; }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  .muse-choice-columns { gap: 18px; }
  .muse-steps { padding: 30px 22px; }

  .muse-studio.is-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .muse-studio.is-result .muse-steps {
    grid-column: 1;
    padding: 18px 16px 10px;
  }

  .muse-studio.is-result .muse-result {
    grid-column: 1;
  }

  .muse-studio.is-result .result-card:not([hidden]),
  body.muse-focus-mode .muse-studio.is-result .result-card:not([hidden]) {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(440px, 58svh) auto;
    gap: 0;
  }

  .muse-studio.is-result .result-visual,
  body.muse-focus-mode .muse-studio.is-result .result-visual {
    min-height: min(620px, 58svh);
  }

  .muse-studio.is-result .result-visual img,
  body.muse-focus-mode .muse-studio.is-result .result-visual img {
    left: 50%;
    top: 50%;
    width: min(86vw, 540px);
    height: min(110%, 620px);
  }

  .muse-studio.is-result .result-content,
  body.muse-focus-mode .muse-studio.is-result .result-content {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 32px 24px 28px;
  }
}

@media (max-width: 760px), (min-width: 761px) and (max-width: 1180px) and (orientation: portrait) {
  .muse-choice-columns { grid-template-columns: minmax(0, 1fr); }
  .muse-steps .muse-choice-columns legend { min-height: 0; margin-bottom: 8px; }
  .muse-steps .muse-choice-columns fieldset { margin-bottom: 22px; }
  .muse-builder-action { margin-top: 6px; }

  .muse-studio.is-result .muse-choice-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .muse-studio.is-result .muse-steps .muse-choice-columns fieldset { margin: 0; }
  .muse-studio.is-result .muse-steps .muse-choice-columns legend {
    grid-template-columns: auto minmax(0, 1fr);
    margin-bottom: 6px;
    font-size: 0;
  }
  .muse-studio.is-result .muse-steps .muse-choice-columns legend small { display: none; }
  .muse-studio.is-result .muse-steps .muse-choice-columns legend > span { font-size: 24px; }
  .muse-studio.is-result .choice-row,
  .muse-studio.is-result .choice-row.four {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .muse-studio.is-result .muse-choice-columns .choice-row button,
  .muse-studio.is-result .muse-choice-columns .choice-row button.selected {
    width: 100%;
    min-height: 48px;
    padding: 7px 24px;
    white-space: normal;
  }
  .muse-studio.is-result .muse-builder-action {
    justify-items: center;
    margin-top: 14px;
    text-align: center;
  }
  .muse-studio.is-result .muse-builder-action .spark-button { margin-inline: auto; }
  .muse-studio.is-result .selection-hint { display: none; }
}

@media (max-width: 520px) {
  .muse-steps { padding: 26px 16px; }
  .muse-builder-action .spark-button { width: 100%; min-width: 0; }
  .muse-studio.is-result .muse-choice-columns { grid-template-columns: minmax(0, 1fr); }
  .muse-studio.is-result .muse-choice-columns .choice-row button { min-height: 44px; }
  .muse-studio.is-result .result-product-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1180px) and (orientation: portrait) {
  .muse-studio.is-result .muse-result,
  .muse-studio.is-result.result-visible .muse-result {
    transform: none;
  }

  .muse-studio.is-result .muse-result {
    transition: opacity .38s ease;
  }

  .muse-studio.is-result .result-visual,
  .muse-studio.is-result .result-content {
    opacity: 0;
    transform: translateY(clamp(72px, 12svh, 150px));
    will-change: transform, opacity;
  }

  .muse-studio.is-result .result-visual {
    transition: opacity .55s ease .04s, transform .75s cubic-bezier(.2,.8,.2,1) .04s;
  }

  .muse-studio.is-result .result-content {
    transition: opacity .55s ease .18s, transform .78s cubic-bezier(.2,.8,.2,1) .18s;
  }

  .muse-studio.is-result.result-visible .result-visual,
  .muse-studio.is-result.result-visible .result-content {
    opacity: 1;
    transform: translateY(0);
  }

  /* Keep the portrait drink overlap decorative without covering card copy. */
  .muse-studio.is-result .result-visual img,
  body.muse-focus-mode .muse-studio.is-result .result-visual img {
    top: 49%;
  }
}

@media (min-width: 1181px), (min-width: 901px) and (orientation: landscape) {
  .muse.has-summary .muse-studio.is-result .muse-steps {
    justify-content: center;
    padding: clamp(72px, 11svh, 118px) 0 clamp(20px, 3.5svh, 38px) 18px;
  }

  .muse.has-summary .muse-studio.is-result .muse-builder-action {
    position: static;
    width: 100%;
    margin-top: clamp(14px, 2.2svh, 24px);
    justify-items: center;
    text-align: center;
  }

  .muse.has-summary .muse-studio.is-result .muse-builder-action .spark-button {
    margin-inline: auto;
  }

  .muse.has-summary .muse-studio.is-result .result-content {
    --muse-card-underlap: clamp(38px, 4vw, 62px);
    margin-left: calc(-1 * var(--muse-card-underlap));
    padding-left: calc(clamp(24px, 3vw, 46px) + var(--muse-card-underlap));
    padding-right: calc(clamp(24px, 3vw, 46px) + var(--muse-card-underlap));
  }
}

@media (min-width: 1181px) and (max-height: 980px), (min-width: 901px) and (max-height: 980px) and (orientation: landscape) {
  .muse.has-summary .muse-studio.is-result .result-content {
    padding-left: calc(22px + var(--muse-card-underlap));
    padding-right: calc(22px + var(--muse-card-underlap));
  }
}

/* Preserve the default summary height, then grow with longer recommendations. */
.muse.has-summary .muse-studio.is-result .muse-result,
.muse.has-summary .muse-studio.is-result .result-card:not([hidden]),
.muse.has-summary .muse-studio.is-result .result-content {
  height: auto;
  min-height: var(--muse-summary-height);
  max-height: none;
}

.muse.has-summary .muse-studio.is-result .result-content {
  overflow: visible;
}

/* Liquid Glass treatment for the Flavor Muse builder. */
.muse-steps .muse-choice-columns fieldset {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.muse-steps .muse-choice-columns legend {
  color: rgba(255, 255, 255, .94);
  text-shadow:
    0 2px 2px rgba(20, 4, 0, .9),
    0 5px 13px rgba(20, 4, 0, .74),
    0 0 24px rgba(20, 4, 0, .42);
  filter: drop-shadow(0 8px 12px rgba(20, 4, 0, .38));
}

.muse-choice-columns .choice-row,
.muse-choice-columns .choice-row.four {
  gap: 8px;
}

.muse-choice-columns .choice-row button {
  isolation: isolate;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 10px 46px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035) 55%, rgba(102, 34, 12, .14));
  color: rgba(255, 255, 255, .82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(255, 255, 255, .035),
    0 10px 26px rgba(22, 6, 1, .13);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
  transition:
    color .24s ease,
    border-color .24s ease,
    background .24s ease,
    box-shadow .24s ease,
    transform .24s cubic-bezier(.2, .8, .2, 1);
}

.muse-choice-columns .choice-row button::before {
  inset: 1px;
  border-radius: inherit;
  opacity: .76;
  background:
    radial-gradient(circle at 16% -22%, rgba(255, 255, 255, .5), transparent 38%),
    linear-gradient(115deg, rgba(255, 255, 255, .13), transparent 30%, rgba(255, 190, 112, .07) 66%, transparent 88%);
  mix-blend-mode: screen;
}

.muse-choice-columns .choice-row button:hover,
.muse-choice-columns .choice-row button:focus-visible {
  border-color: rgba(255, 220, 176, .36);
  background: linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 137, 62, .09) 62%, rgba(255, 255, 255, .04));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 14px 32px rgba(32, 8, 1, .2),
    0 0 24px rgba(239, 112, 28, .08);
  transform: translateY(-2px);
}

.muse-choice-columns .choice-row button:hover::before,
.muse-choice-columns .choice-row button:focus-visible::before {
  opacity: 1;
}

.muse-choice-columns .choice-row button.selected {
  border-color: rgba(255, 226, 185, .56);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .25), transparent 38%),
    linear-gradient(135deg, rgba(244, 130, 43, .86), rgba(188, 63, 17, .68));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -1px 0 rgba(107, 28, 4, .18),
    0 16px 34px rgba(92, 27, 4, .28),
    0 0 28px rgba(239, 116, 31, .16);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.muse-choice-columns .choice-row button.selected::before { opacity: .62; }

.muse-choice-columns .choice-icon {
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, .28));
}

/* Clear liquid-glass controls for Flavor Muse choices. */
.muse-choice-columns .choice-row button,
.muse-studio.is-result .muse-choice-columns .choice-row button {
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 20px;
  background: rgba(255, 255, 255, .065);
  color: #fff;
  font-weight: 600;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 6px 18px rgba(18, 4, 0, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.muse-choice-columns .choice-row button::before {
  content: none;
  background: none;
}

.muse-choice-columns .choice-row button:hover,
.muse-choice-columns .choice-row button:focus-visible,
.muse-studio.is-result .muse-choice-columns .choice-row button:hover,
.muse-studio.is-result .muse-choice-columns .choice-row button:focus-visible {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .11);
  color: #fff;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 8px 22px rgba(18, 4, 0, .16);
  transform: translateY(-2px) scale(1.012);
}

.muse-choice-columns .choice-row button.selected,
.muse-studio.is-result .muse-choice-columns .choice-row button.selected {
  border-color: rgba(255, 209, 139, .8);
  background: #e87820;
  color: #000;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    0 8px 22px rgba(18, 4, 0, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.muse-choice-columns .choice-icon {
  filter: drop-shadow(0 5px 7px rgba(72, 31, 10, .2));
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .muse-choice-columns .choice-row button { background-color: rgba(30, 18, 12, .24); }
  .muse-choice-columns .choice-row button.selected { background-color: #e87820; }
}

@media (max-width: 1180px) and (orientation: portrait), (max-height: 500px) and (orientation: landscape) {
  .muse-choice-columns { gap: 16px; }
}

@media (max-width: 520px) {
  .muse-choice-columns .choice-row button { min-height: 56px; border-radius: 16px; }
}

/* Keep iPad landscape result choices in a single, scannable row per step. */
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
  .muse-studio.is-result .muse-choice-columns .choice-row,
  .muse-studio.is-result .muse-choice-columns .choice-row.four {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    flex-wrap: nowrap;
    gap: 6px;
  }

  .muse-studio.is-result .muse-choice-columns .choice-row.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .muse-studio.is-result .muse-choice-columns .choice-row button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    gap: 5px;
    padding: 6px 8px;
    overflow: hidden;
    font-size: clamp(9px, 1.1vw, 12px);
    line-height: 1.1;
    white-space: nowrap;
  }

  .muse-studio.is-result .muse-choice-columns .choice-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .muse-studio.is-result .muse-choice-columns .choice-row button::after {
    display: none;
  }
}

/* Short Android landscape screens need a height-led Muse heading scale. */
@media (max-width: 1180px) and (max-height: 500px) and (orientation: landscape) {
  .muse h2,
  body.muse-focus-mode .muse h2 {
    font-size: clamp(32px, 10svh, 44px);
    line-height: .88;
  }

  body.muse-focus-mode .muse h2 em {
    white-space: normal;
  }
}

/* Keep the complete choice panel stationary while the action becomes an overlay. */
body.muse-focus-mode .muse-studio.is-complete:not(.is-result) .muse-steps {
  overflow-anchor: none;
}

/* Portrait Muse advances one full choice group at a time. The reserved tail
   gives the final group enough scroll range to reach the same reading line. */
@media (max-width: 1180px) and (orientation: portrait) {
  body.muse-focus-mode .muse-studio:not(.is-result) .muse-steps {
    padding-bottom: max(160px, 50svh);
  }

  /* A settled reveal must not become a containing block for fixed actions. */
  .muse-studio.reveal.is-visible {
    transform: none;
    transition-property: opacity;
  }

  .muse-choice-columns fieldset:focus { outline: none; }

  body.muse-mobile-ready .muse-studio {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.muse-mobile-ready:not(.muse-focus-mode) .muse {
    z-index: 1500;
    overflow: visible;
  }

  body.muse-mobile-ready .muse-steps {
    min-height: var(--muse-ready-height);
    overflow-anchor: none;
  }

  body.muse-mobile-ready .muse-studio.is-complete:not(.is-result) .muse-steps::after {
    content: "";
    position: fixed;
    z-index: 1601;
    inset: var(--muse-overlay-top, 72px) 0 auto;
    height: var(--muse-overlay-height, calc(100dvh - 72px));
    pointer-events: auto;
    touch-action: none;
    background: rgba(12,5,2,.5);
    -webkit-backdrop-filter: blur(20px) saturate(82%) brightness(.78);
    backdrop-filter: blur(20px) saturate(82%) brightness(.78);
    animation: muse-dark-acrylic-in .52s ease-out both;
  }

  body.muse-mobile-ready .muse-studio.is-complete:not(.is-result) .muse-builder-action {
    --muse-action-gutter: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    position: fixed;
    z-index: 1602;
    top: var(--muse-overlay-center, 50dvh);
    right: auto;
    bottom: auto;
    left: var(--muse-overlay-center-x, 50%);
    width: min(360px, calc(var(--muse-overlay-width, 100vw) - 2 * var(--muse-action-gutter)));
    max-width: calc(var(--muse-overlay-width, 100vw) - 2 * var(--muse-action-gutter));
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    box-sizing: border-box;
    margin: 0;
    transform: translate(-50%, -50%);
    animation: muse-ready-rise-to-center .72s cubic-bezier(.16,.78,.24,1) both;
    pointer-events: auto;
    touch-action: manipulation;
  }

  body.muse-mobile-ready .muse-builder-action .spark-button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: clamp(16px, 5vw, 24px);
    box-sizing: border-box;
  }

  body.muse-mobile-ready .muse-builder-action .spark-button > span,
  body.muse-mobile-ready .muse-builder-action .spark-button > small,
  body.muse-mobile-ready .muse-builder-action .selection-hint {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Keep the button itself centred; the ready hint sits just above it. */
  body.muse-mobile-ready .muse-builder-action .selection-hint {
    position: absolute;
    bottom: 100%;
    width: 100%;
    margin: 0 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.muse-mobile-ready .muse-studio.is-complete:not(.is-result) .muse-steps::after,
  body.muse-mobile-ready .muse-studio.is-complete:not(.is-result) .muse-builder-action {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .muse-studio,
  .muse-studio .muse-result,
  .muse-studio.is-result .result-visual,
  .muse-studio.is-result .result-content,
  .muse-choice-columns .choice-row button,
  .muse-choice-columns .choice-row button::after { transition: none; }
  .muse-studio.is-result .muse-steps,
  .muse-choice-columns .choice-row button:hover::after { animation: none; }
  .orbit-slot { transition: none; }
}

/* Landscape result cards stay within the viewport; only the pink copy panel scrolls. */
@media (min-width: 761px) and (orientation: landscape) {
  .muse.has-summary .muse-studio.is-result .muse-result,
  .muse.has-summary .muse-studio.is-result .result-card:not([hidden]) {
    height: min(var(--muse-summary-height), calc(100svh - 32px));
    min-height: 0;
    max-height: calc(100svh - 32px);
  }

  .muse.has-summary .muse-studio.is-result .result-content {
    height: calc(100svh - 112px);
    min-height: 0;
    max-height: calc(100svh - 112px);
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
}

/* iPad: one full visible viewport, with CTA and brand facts in separate columns. */
@media (min-width: 700px) and (max-width: 1400px) and (min-height: 550px) {
  .home-page .hero {
    box-sizing: border-box;
    height: 100dvh;
    min-height: 100dvh;
    max-height: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: end;
    gap: 24px;
    padding: 106px 36px max(32px, env(safe-area-inset-bottom));
  }
  .home-page .hero-content {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  .home-page .hero h1 {
    font-size: clamp(44px, min(6vw, 10dvh), 80px);
    line-height: 1;
  }
  .home-page .hero-eyebrow { margin-bottom: 20px; font-size: 10px; }
  .home-page .hero-thai { margin-top: 20px; font-size: 17px; line-height: 1.5; }
  .home-page .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 520px);
    gap: 16px;
    margin-top: 24px;
  }
  .home-page .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }
  .home-page .hero-note {
    position: relative;
    inset: auto;
    width: auto;
    min-width: 0;
    gap: 16px;
    padding: 14px 0;
    margin: 0;
    align-self: end;
  }
}
@media (min-width: 700px) and (max-width: 1400px) and (orientation: portrait) {
  .home-page .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 24px;
    padding-inline: 28px;
  }
  .home-page .hero h1 { font-size: clamp(50px, 8.2vw, 92px); }
  .home-page .hero-content { align-self: end; }
  .home-page .hero-actions { width: min(100%, 560px); }
  .home-page .hero-note {
    width: min(100%, 310px);
    justify-self: end;
  }
}

/* Match the hero glass on Flavor Muse without changing its flow or sizing. */
body .muse-studio :is(.choice-row button, .spark-button) {
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: linear-gradient(155deg, rgba(255,255,255,.20), rgba(213,222,233,.08) 46%, rgba(255,255,255,.19)), rgba(78,84,94,.24);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.36), inset 1px 0 2px rgba(255,255,255,.2), inset 0 -2px 3px rgba(255,255,255,.42), 0 6px 18px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(18px) saturate(70%);
  backdrop-filter: blur(18px) saturate(70%);
}
body .muse-studio :is(.choice-row button, .spark-button):is(:hover, :focus-visible) {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: linear-gradient(155deg, rgba(255,255,255,.27), rgba(213,222,233,.12) 46%, rgba(255,255,255,.24)), rgba(78,84,94,.24);
}
body .muse-studio.muse-studio .choice-row button:is(.selected, :hover, :focus-visible) {
  border-color: rgba(255,235,213,.58);
  background: linear-gradient(155deg, rgba(255,255,255,.27), rgba(255,255,255,.06) 46%, rgba(255,255,255,.22)), rgba(232,120,32,.54);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.48), inset 1px 0 2px rgba(255,255,255,.26), inset 0 -2px 3px rgba(255,255,255,.52), 0 6px 18px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(18px) saturate(70%);
  backdrop-filter: blur(18px) saturate(70%);
  transform: none;
}
body .muse-studio.muse-studio .choice-row button.selected:is(:hover, :focus-visible) {
  background: linear-gradient(155deg, rgba(255,255,255,.34), rgba(255,255,255,.10) 46%, rgba(255,255,255,.27)), rgba(232,120,32,.60);
}
body .muse-studio.muse-studio :is(.choice-row button, .spark-button):is(:hover, :focus-visible)::after {
  animation: none;
}
body .muse-studio :is(.choice-row button, .spark-button)::before {
  background: none;
  opacity: 0;
}
body .muse-studio :is(.choice-row button, .spark-button):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* The final generate action stays orange and readable over the blurred scene. */
body .muse-studio .muse-builder-action .spark-button {
  background: linear-gradient(160deg, rgba(255,255,255,.24), transparent 48%, rgba(136,48,0,.14)), #ed7b20;
  border-color: rgba(255,237,215,.7);
  color: #291408;
  text-shadow: none;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.5), inset 0 -2px 3px rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.22);
}
body .muse-studio .muse-builder-action .spark-button:is(:hover, :focus-visible) {
  background: linear-gradient(160deg, rgba(255,255,255,.3), transparent 48%, rgba(136,48,0,.1)), #ff902f;
  color: #291408;
  text-shadow: none;
}
body .muse-studio .muse-builder-action .spark-button span {
  color: inherit;
  font-weight: 700;
  opacity: 1;
}
body .muse-studio .muse-builder-action .spark-button small {
  color: inherit;
  font-weight: 600;
  opacity: 1;
  letter-spacing: .08em;
}

/* Reuse the navigation's gold star asset on both final Muse actions. */
body .muse-studio .muse-builder-action .spark-button::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 16px;
  width: 26px;
  height: 26px;
  background: url("assets/spark-mark-gold.webp") center / contain no-repeat;
  opacity: .9;
  transform: none;
  filter: none;
  pointer-events: none;
  animation: none;
}
body .muse-studio .muse-builder-action .spark-button:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Animate only direct label wrappers; nested Recreate text must not scale twice. */
body .muse-studio .muse-builder-action .spark-button:is(:hover, :focus-visible) {
  transform: none;
}
body .muse-studio .muse-builder-action .spark-button > :is(span, small) {
  transform: scale(1);
  transform-origin: center;
  transition: transform .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  body .muse-studio .muse-builder-action .spark-button:not(:disabled):hover > :is(span, small) {
    transform: scale(1.06);
  }
}
body .muse-studio .muse-builder-action .spark-button:not(:disabled):focus-visible > :is(span, small) {
  transform: scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
  body .muse-studio .muse-builder-action .spark-button > :is(span, small) { transition: none; }
}
/* Defer layout/paint work for sections below the hero until they approach the viewport. */
.ingredients.section-shell, .muse, .story.section-shell, .final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}
