:root {
  --cream: #F7F1E6;
  --milk: #FFFBF4;
  --sand: #EADFCB;
  --olive: #6B7045;
  --olive-soft: #DCE0C8;
  --caramel: #B9783F;
  --brown: #3B2A20;
  --brown-soft: #6E5A4B;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 1px rgba(59, 42, 32, 0.04), 0 12px 32px rgba(59, 42, 32, 0.08);
  --topbar: calc(56px + env(safe-area-inset-top));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.has-tabs {
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  touch-action: manipulation;
}

a {
  color: inherit;
  touch-action: manipulation;
}

::selection {
  background: var(--olive-soft);
  color: var(--brown);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar);
  padding: env(safe-area-inset-top) 16px 0 20px;
  background: rgba(247, 241, 230, 0.9);
  background: color-mix(in srgb, var(--cream) 84%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(59, 42, 32, 0.05);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--brown);
}

.cart-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--brown);
  text-decoration: none;
}

.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--brown);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.badge.is-empty {
  display: none;
}

.badge.is-pop {
  animation: badge-pop 0.45s var(--ease);
}

@keyframes badge-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Views */

main {
  position: relative;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
  position: relative;
  z-index: 2;
  background: var(--cream);
  animation: view-in 0.48s var(--ease);
}

.view.is-active.is-leaving {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
  animation: view-out 0.28s var(--ease) forwards;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes view-out {
  to { opacity: 0; transform: translateY(-10px); }
}

.wrap {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 8px 20px 28px;
}

.wrap-wide {
  width: min(980px, 100%);
  padding-left: 0;
  padding-right: 0;
}

.page-head .eyebrow {
  margin: 0;
}

.page-head h1 {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wrap .page-head {
  padding: 0 0 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--olive);
  flex: none;
}

.lede {
  margin: 14px 0 0;
  max-width: 36ch;
  color: var(--brown-soft);
  font-size: 16px;
}

/* Home */

.view[data-view="home"].is-active {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--topbar));
  min-height: calc(100dvh - var(--topbar));
  padding-top: 0;
}

.hero {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 12px 24px 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 52px;
  height: auto;
  color: var(--olive);
}

.brand-dami {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  line-height: 0.85;
  letter-spacing: -0.03em;
}

.brand-home {
  display: block;
  margin-top: 4px;
  margin-left: 2px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--olive);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-block {
  width: 100%;
}

.btn-light {
  width: 100%;
  background: var(--cream);
  color: var(--brown);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brown-soft);
  text-underline-offset: 4px;
}

.hero-stage {
  position: relative;
  height: 220px;
  margin-top: 28px;
}

.platter {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 46px;
  bottom: 0;
  height: 142px;
  border-radius: 28px 28px 72px 28px;
  background: var(--sand);
}

.blob-olive {
  position: absolute;
  z-index: 0;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  right: 0;
  bottom: 24px;
  background: var(--olive);
  opacity: 0.18;
}

.blob-caramel {
  position: absolute;
  z-index: 3;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  right: 22px;
  top: 16px;
  background: var(--caramel);
}

.stage-mark {
  position: absolute;
  z-index: 2;
  width: min(196px, 62%);
  height: auto;
  left: 16px;
  bottom: 34px;
}

/* Intro */

.intro {
  display: none;
}

.intro.is-on {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
  animation: intro-lift 0.55s var(--ease) 1.45s forwards;
}

.intro.is-on.is-out {
  animation: intro-lift 0.34s var(--ease) 0s forwards;
}

.intro-inner {
  text-align: center;
}

.intro-brand {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 8.2vw, 54px);
  line-height: 1;
  letter-spacing: 0.38em;
  white-space: nowrap;
  animation: intro-track 0.9s var(--ease) forwards;
}

.intro-brand span {
  display: inline-block;
  opacity: 0;
  transform: translateY(42%);
  animation: intro-letter 0.55s var(--ease) forwards;
  animation-delay: calc(var(--i) * 50ms);
}

.intro-i {
  margin-right: 0.28em;
}

@keyframes intro-track {
  to { letter-spacing: 0.14em; }
}

@keyframes intro-letter {
  to { opacity: 1; transform: none; }
}

.intro-line {
  display: block;
  height: 1px;
  width: min(168px, 46vw);
  margin: 18px auto 0;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: center;
  animation: intro-draw 0.45s var(--ease) 0.72s forwards;
}

@keyframes intro-draw {
  to { transform: scaleX(1); }
}

.intro-sub {
  margin: 16px 0 0;
  opacity: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-soft);
  animation: intro-fade 0.45s ease 1.05s forwards;
}

.intro-skip-hint {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
  opacity: 0;
  animation: intro-fade 0.4s ease 1.15s forwards;
}

@keyframes intro-fade {
  to { opacity: 1; }
}

@keyframes intro-lift {
  to { transform: translateY(-105%); }
}

@keyframes intro-fade-out {
  to { opacity: 0; }
}

.intro-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-skip:focus-visible {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  z-index: 2;
}

/* Menu */

.view[data-view="menu"] {
  position: relative;
  overflow: hidden;
}

.view.is-active[data-view="menu"] {
  background:
    radial-gradient(520px 320px at 110% -8%, rgba(107, 112, 69, 0.16), transparent 70%),
    radial-gradient(420px 340px at -18% 36%, rgba(220, 224, 200, 0.9), transparent 72%),
    radial-gradient(360px 260px at 90% 110%, rgba(185, 120, 63, 0.1), transparent 70%),
    var(--cream);
}

.view[data-view="menu"]::before,
.view[data-view="menu"]::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.view[data-view="menu"]::before {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(107, 112, 69, 0.08);
  top: 96px;
  right: -90px;
}

.view[data-view="menu"]::after {
  width: 170px;
  height: 150px;
  border-radius: 46% 54% 62% 38%;
  background: rgba(234, 223, 203, 0.65);
  bottom: 28px;
  left: -70px;
}

.menu-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
}

.menu-wrap .page-head {
  padding: 8px 20px 12px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 20px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--brown);
  font-size: 14px;
  white-space: nowrap;
}

.chip[aria-pressed="true"] {
  background: var(--brown);
  color: var(--cream);
}

.carousel-shell {
  position: relative;
}

.carousel {
  --card-w: min(78vw, 340px);
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 11vw;
  padding: 12px 11vw 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  position: relative;
  align-items: flex-start;
  user-select: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel:focus-visible {
  outline-offset: -4px;
}

.card {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  background: var(--milk);
  border-radius: 28px;
  padding: 10px 10px 16px;
  box-shadow: var(--shadow);
  opacity: 0.6;
  transform: scale(0.94);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.card.is-active {
  opacity: 1;
  transform: none;
}

.card-art {
  position: relative;
  height: 158px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(255, 251, 244, 0.45), rgba(255, 251, 244, 0) 55%),
    var(--sand);
}

.card:nth-child(even) .card-art {
  background:
    linear-gradient(165deg, rgba(255, 251, 244, 0.35), rgba(255, 251, 244, 0) 55%),
    #e4d2b8;
}

.card-num {
  position: absolute;
  left: -2px;
  bottom: -22px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--caramel);
  opacity: 0.34;
  pointer-events: none;
}

.card-art-title {
  position: absolute;
  top: 48px;
  right: 12px;
  left: 34%;
  margin: 0;
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--brown);
}

.card-ornament {
  position: absolute;
  width: 84px;
  height: auto;
  right: -4px;
  bottom: -6px;
  opacity: 0.4;
}

.pill {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--olive-soft);
  color: var(--brown);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.card-name {
  margin: 14px 8px 12px;
  min-height: 2.3em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.seg {
  display: flex;
  gap: 4px;
  margin: 0 8px;
  padding: 4px;
  background: var(--sand);
  border-radius: 999px;
}

.seg-btn {
  flex: 1;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--brown-soft);
  font-size: 13px;
  line-height: 1.15;
}

.seg-btn[aria-pressed="true"] {
  background: var(--milk);
  color: var(--brown);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(59, 42, 32, 0.08);
}

.seg-single {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 14px;
}

.portion {
  margin: 8px 10px 0;
  min-height: 1.2em;
  font-size: 13px;
  color: var(--brown-soft);
}

.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 8px 2px;
  padding-top: 0;
}

.kbju {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--brown-soft);
}

.price {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--caramel);
  font-variant-numeric: tabular-nums;
}

.price.is-swap,
.kbju.is-swap {
  animation: price-in 0.35s var(--ease);
}

@keyframes price-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.add {
  position: relative;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
}

.add svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.add .is-check {
  opacity: 0;
  transform: scale(0.4);
}

.add.is-done {
  animation: add-pop 0.45s var(--ease);
}

.add.is-done .is-plus {
  opacity: 0;
  transform: scale(0.4);
}

.add.is-done .is-check {
  opacity: 1;
  transform: none;
}

@keyframes add-pop {
  0% { transform: scale(1); }
  35% { transform: scale(0.88); }
  100% { transform: scale(1); }
}

.arrow {
  display: none;
  place-items: center;
  position: absolute;
  top: 86px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--milk);
  color: var(--brown);
  box-shadow: 0 8px 22px rgba(59, 42, 32, 0.12);
}

.arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-meta {
  padding: 0 20px;
}

.counter {
  margin: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brown-soft);
  font-variant-numeric: tabular-nums;
}

.progress {
  width: min(160px, 42vw);
  height: 2px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: var(--sand);
  overflow: hidden;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: left center;
}

.swipe-hint {
  margin: 14px 20px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--brown-soft);
  transition: opacity 0.5s var(--ease);
}

.swipe-hint.is-gone {
  opacity: 0;
}

.menu-empty {
  margin: 12px 20px;
  color: var(--brown-soft);
}

/* Cart */

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.34s var(--ease), opacity 0.34s var(--ease), transform 0.34s var(--ease);
}

.cart-item.is-removing {
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateX(16px);
}

.cart-clip {
  overflow: hidden;
  min-height: 0;
}

.cart-card {
  background: var(--milk);
  border-radius: 22px;
  padding: 14px 10px 12px 16px;
  box-shadow: var(--shadow);
}

.cart-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-name {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.icon-x {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  color: var(--brown-soft);
  font-size: 22px;
  line-height: 1;
}

.cart-meta {
  margin: 4px 0 0;
  color: var(--brown-soft);
  font-size: 14px;
}

.cart-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-right: 6px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  border-radius: 999px;
  padding: 2px;
}

.stepper button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: default;
}

.stepper span {
  min-width: 1.6ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.line-total {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--caramel);
  font-variant-numeric: tabular-nums;
}

.fields {
  margin-top: 16px;
}

.field {
  display: block;
  margin-top: 12px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--brown-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--milk);
  box-shadow: 0 1px 0 rgba(59, 42, 32, 0.04);
  font-size: 16px;
  resize: vertical;
}

.field textarea {
  min-height: 96px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--caramel);
}

::placeholder {
  color: rgba(110, 90, 75, 0.72);
}

.checkout-panel {
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: var(--brown);
  color: var(--cream);
}

.grand {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.grand strong {
  font-weight: 600;
}

.empty-card {
  background: var(--milk);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.empty-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.empty-text {
  margin: 8px 0 18px;
  color: var(--brown-soft);
}

/* Contacts */

.contact-card {
  background: var(--milk);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration: none;
}

.contact-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.contact-value {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-card .btn {
  margin: 4px 4px 6px;
}

.delivery-card {
  margin-top: 14px;
  padding: 22px 22px 8px;
  border-radius: 24px;
  background: var(--brown);
  color: var(--cream);
}

.delivery-card h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.delivery-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.delivery-card li {
  padding: 12px 0;
  border-top: 1px solid rgba(247, 241, 230, 0.16);
  font-size: 15px;
}

/* Tabs and toast */

.tabbar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255, 251, 244, 0.94);
  background: color-mix(in srgb, var(--milk) 90%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(59, 42, 32, 0.08);
}

.tab {
  flex: 1;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--brown-soft);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.tab[aria-current="page"] {
  color: var(--brown);
  font-weight: 600;
}

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--cream);
  font-size: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

body.has-tabs .toast {
  bottom: calc(78px + env(safe-area-inset-bottom));
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) {
  .btn:hover {
    filter: brightness(1.08);
  }

  .wordmark:hover,
  .text-link:hover,
  .contact-row:hover {
    opacity: 0.72;
  }

  .chip:hover {
    filter: brightness(0.98);
  }
}

@media (min-width: 900px) {
  body.has-tabs {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .hero {
    width: min(980px, calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .hero-stage {
    height: 360px;
    margin-top: 0;
  }

  .platter {
    height: 230px;
    right: 64px;
    border-radius: 36px 36px 96px 36px;
  }

  .blob-olive {
    width: 230px;
    height: 230px;
    right: 0;
    bottom: 48px;
  }

  .blob-caramel {
    width: 96px;
    height: 96px;
    right: 36px;
    top: 28px;
  }

  .stage-mark {
    width: 280px;
    left: 28px;
    bottom: 64px;
  }

  .arrow {
    display: grid;
  }

  .arrow-prev {
    left: max(12px, calc(50% - min(39vw, 170px) - 64px));
  }

  .arrow-next {
    right: max(12px, calc(50% - min(39vw, 170px) - 64px));
  }

  .swipe-hint {
    display: none;
  }

  .tabbar {
    left: 50%;
    right: auto;
    width: min(420px, calc(100% - 32px));
    bottom: 16px;
    transform: translateX(-50%);
    border: 1px solid rgba(59, 42, 32, 0.08);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(59, 42, 32, 0.08);
    padding-bottom: 6px;
  }

  body.has-tabs .toast {
    bottom: 108px;
  }
}

@media (max-height: 700px) {
  .hero-stage {
    height: 168px;
    margin-top: 16px;
  }

  .brand {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view.is-active,
  .view.is-active.is-leaving,
  .card,
  .price,
  .kbju,
  .toast,
  .badge,
  .add,
  .add svg,
  .cart-item,
  .btn,
  .swipe-hint {
    animation: none !important;
    transition: none !important;
  }

  .intro-brand,
  .intro-brand span,
  .intro-line,
  .intro-sub,
  .intro-skip-hint {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    letter-spacing: 0.16em;
  }

  .intro-line {
    transform: none !important;
  }

  .intro.is-on,
  .intro.is-on.is-out {
    animation: intro-fade-out 0.4s ease 0.65s forwards !important;
  }

  .intro.is-on.is-out {
    animation-delay: 0s !important;
  }
}
