/* ═══════════════════════════════════════════════════════════
   YO POKE — yopokesushi.com
   Palette locked 2026-07-05 (D1 badge) · Hero 1:1 from SOT demos
   Desktop hero: 官网Hero预览.html Yo Poke section (2026-07-13 final)
   Mobile hero:  mobile/yopoke-b.html pool-chat immersive
   ═══════════════════════════════════════════════════════════ */

:root {
  /* surfaces */
  --cream: #F7F3E8;
  --teal: #0F5158;
  --teal-deep: #0A3D43;
  --teal-mid: #1E8E96;
  --card: #FFFFFF;
  /* ink pairs */
  --ink-on-cream: #0F5158;
  --ink-on-cream-body: #205F66;
  --ink-on-cream-dim: rgba(15, 81, 88, 0.68);
  --ink-on-teal: #F7F3E8;
  --ink-on-teal-dim: rgba(247, 243, 232, 0.78);
  /* accents */
  --coral: #F0704A;
  --coral-hot: #E05A35;
  --coral-ink: #3A1F16;
  --link: #256A70;
  /* type */
  --font-display: "Titan One", system-ui, sans-serif;
  --font-body: Nunito, system-ui, sans-serif;
  /* layout */
  --nav-height: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 22px rgba(15, 81, 88, 0.10);
  --shadow-lift: 0 14px 34px rgba(15, 81, 88, 0.16);
  --transition: 200ms ease-out;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* z scale */
  --z-sticker: 2;
  --z-nav: 100;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-on-cream-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.icon { width: 100%; height: 100%; display: block; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--cream) 92%, white);
  border-bottom: 1px solid rgba(15, 81, 88, 0.10);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  height: var(--nav-height);
  display: flex; align-items: center; gap: 26px;
  padding: 0 clamp(20px, 4.5vw, 58px);
}
.nav-logo {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.2rem; letter-spacing: 0.03em;
  color: var(--teal); text-decoration: none;
}
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--link); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-order {
  background: var(--coral); color: var(--coral-ink);
  padding: 10px 22px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 0.9rem; text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease-out;
}
.nav-order:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(240, 112, 74, 0.35); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; border-radius: 2px; background: var(--teal); }

/* mobile nav panel (subpages) */
@media (max-width: 900px) {
  .nav-inner { gap: 14px; }
  .nav-links {
    display: none;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(15, 81, 88, 0.12);
    box-shadow: var(--shadow-card);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 15px 24px; border-top: 1px solid rgba(15, 81, 88, 0.08); }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-order { margin-left: 0; }
  /* homepage: immersive — wordmark + pill only, no hamburger (yopoke-b SOT) */
  .nav--home .nav-toggle { display: none; }
  .nav--home .nav-order { margin-left: auto; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); }
  .nav--home {
    position: absolute; background: none; border-bottom: none;
  }
  .nav--home .nav-logo { text-shadow: 0 1px 10px rgba(247, 243, 232, 0.8); font-size: 1.12rem; }
}

/* ── Hero (desktop = demo 1:1) ───────────────────── */
.hero {
  min-height: calc(100svh - var(--nav-height));
  display: flex; flex-direction: column;
}
.hero-bg { display: none; }
.yopoke-body {
  flex: 1; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 60px); align-items: center;
  padding: clamp(10px, 2vw, 30px) clamp(20px, 4.5vw, 58px) clamp(30px, 4vw, 54px);
  max-width: 1240px; width: 100%; margin: 0 auto;
}
.chat { display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.chat .stamp {
  font-size: 0.75rem; font-weight: 700; color: #4E8087;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.bubble {
  margin: 0; padding: 12px 18px; border-radius: 20px; width: fit-content;
  font-weight: 700; font-size: 1.15rem;
  animation: bubble-in 480ms var(--ease-out) backwards;
}
.bubble.left {
  background: #FFFFFF; color: var(--teal);
  border-bottom-left-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.bubble.right {
  background: var(--teal-mid); color: var(--cream);
  border-bottom-right-radius: 6px; align-self: flex-end;
}
.bubble:nth-of-type(2) { animation-delay: 160ms; }
.bubble:nth-of-type(3) { animation-delay: 460ms; }
.bubble:nth-of-type(4) { animation-delay: 760ms; }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.yopoke-copy h1 {
  margin: 26px 0 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.1; color: var(--teal);
}
.yopoke-copy h1 .yo { color: var(--coral-hot); }
.yopoke-copy .pitch {
  margin: 14px 0 0; max-width: 44ch;
  font-weight: 600; font-size: 1.02rem; line-height: 1.7; color: var(--ink-on-cream-body);
}
.yopoke-ctas { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.hero-cta {
  display: inline-block; background: var(--coral); color: var(--coral-ink);
  padding: 15px 30px; border-radius: var(--radius-pill); text-decoration: none;
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease-out;
}
.hero-cta:hover { transform: translateY(-2px); }
.yopoke-ctas .alt {
  color: #17696F; font-weight: 700;
  text-decoration: underline; text-underline-offset: 5px;
}
.yopoke-figure { position: relative; margin: 0; }
.yopoke-figure img {
  width: 100%; border-radius: var(--radius-lg);
  border: 8px solid #FFFFFF; transform: rotate(1.6deg);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}
.yopoke-sticker {
  position: absolute; left: -16px; bottom: -18px; z-index: var(--z-sticker);
  border-radius: var(--radius-pill); background: var(--teal-mid); color: var(--cream);
  padding: 11px 20px; transform: rotate(-4deg);
  font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* mobile hero = yopoke-b 1:1 (pool-chat immersive) */
@media (max-width: 900px) {
  .hero {
    position: relative; min-height: 100svh; isolation: isolate;
    padding-top: var(--nav-height);
  }
  .hero-bg {
    display: block; position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(to top,
      rgba(247, 243, 232, 0.96) 0%, rgba(247, 243, 232, 0.82) 18%,
      rgba(247, 243, 232, 0) 44%, rgba(247, 243, 232, 0.3) 100%);
  }
  .yopoke-body {
    grid-template-columns: 1fr; gap: 0; align-items: stretch;
    flex: 1; display: flex; flex-direction: column;
    padding: 8px 0 0;
  }
  .yopoke-copy { display: flex; flex-direction: column; flex: 1; }
  .chat { padding: 0 20px; max-width: 320px; gap: 9px; }
  .chat .stamp { font-size: 0.72rem; text-shadow: 0 1px 8px rgba(247, 243, 232, 0.9); }
  .bubble { padding: 11px 16px; border-radius: 18px; font-size: 1.08rem; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); }
  .bubble.left { border-bottom-left-radius: 6px; }
  .bubble.right { border-bottom-right-radius: 6px; }
  .yopoke-copy h1 {
    margin: auto 0 0; padding: 0 22px;
    font-size: clamp(2.2rem, 11vw, 2.9rem);
  }
  .yopoke-copy .pitch { margin: 10px 0 0; padding: 0 22px; max-width: 42ch; font-size: 0.98rem; line-height: 1.65; }
  .yopoke-ctas { margin: 20px 0 30px; padding: 0 22px; gap: 18px; }
  .hero-cta { padding: 16px 30px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); }
  .hero-cta:hover { transform: none; }
  .hero-cta:active { transform: scale(0.97); }
  /* figure 只藏图，sticker 保留 — absolute 向上挂到 .hero（demo: right 14px / top 44%） */
  .yopoke-figure { position: static; margin: 0; }
  .yopoke-figure img { display: none; }
  .yopoke-sticker {
    position: absolute; left: auto; right: 14px; top: 44%; bottom: auto;
    padding: 10px 18px; font-size: 0.8rem;
  }
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--teal); color: var(--cream);
  padding: 14px 30px; border-radius: var(--radius-pill); text-decoration: none;
  font-weight: 800; font-size: 0.98rem; border: none; cursor: pointer;
  font-family: var(--font-body);
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease-out;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.section--teal .btn-primary { background: var(--coral); color: var(--coral-ink); }

/* ── Section system ──────────────────────────────── */
.section { padding: 80px 0; }
.section--teal { background: var(--teal); color: var(--ink-on-teal-dim); }
.section--teal h2, .section--teal h3 { color: var(--ink-on-teal); }
.section--white { background: var(--card); }
.section-header { max-width: 640px; margin-bottom: 44px; }
.section-header h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; color: var(--teal);
}
.section--teal .section-header h2 { color: var(--ink-on-teal); }
.section-header h2 .yo { color: var(--coral-hot); }
.section--teal .section-header h2 .yo { color: var(--coral); }
.section-header p { margin: 12px 0 0; font-size: 1.02rem; }

/* ── Bowl cards (real photography, polaroid DNA) ── */
.bowl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.bowl-card {
  background: var(--card); border-radius: var(--radius-md);
  padding: 10px 10px 0; text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease-out;
}
.bowl-card:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow-lift); }
.bowl-card:nth-child(even):hover { transform: translateY(-4px) rotate(0.5deg); }
.bowl-card-img {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--cream);
}
.bowl-card-img img { width: 100%; height: 100%; object-fit: cover; }
.bowl-card-body { padding: 14px 8px 16px; }
.bowl-card-name {
  margin: 0; font-weight: 800; font-size: 1.06rem; color: var(--teal);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.bowl-card-name .price { color: var(--coral-hot); font-weight: 800; white-space: nowrap; }
.bowl-card-desc { margin: 6px 0 0; font-size: 0.88rem; line-height: 1.55; color: var(--ink-on-cream-dim); }

/* ── BYOB steps band ─────────────────────────────── */
.byob-band .section-header { margin-bottom: 36px; }
.byob-steps {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
  counter-reset: byob;
  list-style: none; padding: 0; margin: 0;
}
.byob-step {
  background: rgba(247, 243, 232, 0.08);
  border-radius: var(--radius-md); padding: 18px 16px;
}
.byob-step::before {
  counter-increment: byob; content: counter(byob);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral); color: var(--coral-ink);
  font-weight: 800; font-size: 0.9rem;
}
.byob-step h3 { margin: 10px 0 4px; font-size: 1rem; font-weight: 800; }
.byob-step p { margin: 0; font-size: 0.85rem; line-height: 1.5; }
.byob-cta-row { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.byob-price-tag {
  font-family: var(--font-display); font-weight: 400; font-size: 1.4rem;
  color: var(--ink-on-teal);
}

/* ── Fact strip (about/home) ─────────────────────── */
.fact-strip {
  display: flex; gap: 14px 40px; flex-wrap: wrap; align-items: center;
  margin-top: 40px;
}
.fact {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.95rem; color: var(--ink-on-cream);
}
.fact .fact-icon { width: 22px; height: 22px; color: var(--teal-mid); flex: none; }

/* ── Page hero (subpages) ────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--teal); color: var(--ink-on-teal);
  padding: 68px 0; text-align: center;
}
.page-hero .wave {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 92vw); color: var(--teal-mid); opacity: 0.5;
}
.page-hero h1 {
  position: relative; z-index: 1; margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}
.page-hero h1 .yo { color: var(--coral); }
.page-hero p {
  position: relative; z-index: 1; margin: 10px 0 0;
  font-weight: 700; color: var(--ink-on-teal-dim);
}

/* ── Menu page: chat-order flow ──────────────────── */
.chips-bar {
  position: sticky; top: var(--nav-height); z-index: 5;
  display: flex; gap: 8px; overflow-x: auto;
  justify-content: safe center;
  padding: 12px 24px; background: var(--cream);
  box-shadow: 0 8px 16px -12px rgba(15, 81, 88, 0.28);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips-bar::-webkit-scrollbar { display: none; }
.chips-bar a {
  white-space: nowrap; background: var(--card); color: var(--link);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.88rem; text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: color var(--transition);
}
.chips-bar a:hover { color: var(--teal); }
.chat-menu { max-width: 680px; margin: 0 auto; padding: 30px 22px 90px; }
.cm-stamp {
  display: block; text-align: center; margin: 4px 0 8px;
  font-size: 0.74rem; font-weight: 700; color: #4E8087;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cm-section {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 34px; scroll-margin-top: calc(var(--nav-height) + 66px);
}
.cm-q, .cm-a {
  margin: 0; padding: 11px 17px; border-radius: 18px;
  width: fit-content; max-width: 85%;
  font-weight: 700; font-size: 1.02rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}
.cm-q { background: var(--teal-mid); color: var(--cream); border-bottom-right-radius: 5px; align-self: flex-end; }
.cm-a { background: var(--card); color: var(--teal); border-bottom-left-radius: 5px; }
.dish {
  display: grid; grid-template-columns: 118px 1fr;
  background: var(--card); border: none; padding: 0;
  border-radius: 18px; border-bottom-left-radius: 5px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 81, 88, 0.10);
  max-width: 94%; width: 100%;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease-out;
}
.dish:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dish-img { position: relative; min-height: 96px; }
.dish-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--teal); color: var(--cream);
}
.dish-ph .icon { width: 42px; height: 42px; }
.dish-tx { padding: 12px 16px 13px; }
.dish-nm {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-weight: 800; color: var(--teal);
}
.dish-nm .price { color: var(--coral-hot); white-space: nowrap; }
.dish-ds { margin: 3px 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--ink-on-cream-dim); }
.tag {
  padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(30, 142, 150, 0.14); color: var(--teal);
  font-weight: 700; font-size: 0.72rem;
}

/* dish modal（浮窗放大看）*/
#dish-modal {
  border: none; padding: 0; border-radius: 22px;
  width: min(92vw, 500px); background: var(--card); color: var(--ink-on-cream-body);
  box-shadow: 0 30px 80px rgba(10, 61, 67, 0.4);
}
#dish-modal::backdrop { background: rgba(10, 61, 67, 0.5); }
#dish-modal[open] { animation: modal-in 220ms var(--ease-out); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(247, 243, 232, 0.92); color: var(--teal);
  font-size: 1.25rem; font-weight: 800; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.modal-img { position: relative; aspect-ratio: 4 / 3; background: var(--cream); }
.modal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-img .dish-ph .icon { width: 84px; height: 84px; }
.modal-body { padding: 20px 24px 26px; }
.modal-name {
  margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-weight: 800; font-size: 1.2rem; color: var(--teal);
}
.modal-name .price { color: var(--coral-hot); white-space: nowrap; }
.modal-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.modal-desc { margin: 10px 0 0; font-size: 0.95rem; line-height: 1.65; }
.modal-link {
  display: inline-block; margin-top: 16px;
  color: var(--link); font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ── Build-a-bowl page ───────────────────────────── */
.bab-step-block { margin-top: 48px; }
.bab-step-block h2 {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; color: var(--teal);
}
.bab-step-block h2 .step-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--coral); color: var(--coral-ink);
  font-family: var(--font-body); font-weight: 800; font-size: 1.05rem;
}
.bab-note { margin: 0 0 18px; font-size: 0.95rem; color: var(--ink-on-cream-dim); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--card); color: var(--ink-on-cream);
  font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow-card);
}
.chip .plus { color: var(--coral-hot); font-weight: 800; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); margin-bottom: 14px;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.02rem; color: var(--teal);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-weight: 800; font-size: 1.3rem; color: var(--teal-mid);
  transition: transform var(--transition); flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; font-size: 0.96rem; }
.faq-answer p { margin: 0; }

/* ── Forms ───────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: 0.9rem; color: var(--ink-on-cream); }
.form-field input, .form-field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid rgba(15, 81, 88, 0.18);
  background: var(--card); color: var(--ink-on-cream);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(15, 81, 88, 0.55); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(30, 142, 150, 0.18);
}
.form-success {
  display: none; margin-bottom: 24px; padding: 16px 20px;
  background: rgba(30, 142, 150, 0.14); border-radius: var(--radius-md);
  color: var(--teal); font-weight: 700;
}
.form-success.show { display: block; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--teal-deep); color: var(--ink-on-teal-dim);
  padding: 60px 0 30px; margin-top: 0;
}
.footer a { color: var(--ink-on-teal-dim); text-decoration: none; transition: color var(--transition); }
.footer a:hover { color: var(--ink-on-teal); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 36px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.3rem; color: var(--ink-on-teal); text-decoration: none;
}
.footer-brand p { font-size: 0.92rem; margin: 12px 0 0; max-width: 30ch; }
.footer h4 {
  margin: 0 0 14px; font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-on-teal);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.95rem; }
.footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(247, 243, 232, 0.1);
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(247, 243, 232, 0.22); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(247, 243, 232, 0.14);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.85rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1050px) {
  .byob-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .bowl-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-height: 60px; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .bowl-grid { grid-template-columns: 1fr; }
  .byob-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .byob-steps { grid-template-columns: 1fr; }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubble { animation: none; }
  #dish-modal[open] { animation: none; }
  .hero-cta, .hero-cta:hover, .hero-cta:active,
  .btn-primary, .btn-primary:hover,
  .nav-order, .nav-order:hover,
  .dish, .dish:hover,
  .bowl-card, .bowl-card:hover, .bowl-card:nth-child(even):hover {
    transform: none; transition: none;
  }
}
