/* Cocoa Caramel — storefront design system
   Palette from the brand identity: chocolate #47230c, caramel-gold #c8860a,
   plum #50143a, ivory #faefec; secondary sand #e8d5b0, blush #c29e95. */

@font-face { font-family: 'Cormorant'; font-weight: 300; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 300; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-300-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 400; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant'; font-weight: 500; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-display: swap; src: url(/fonts/poppins-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url(/fonts/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations'); }

:root {
  --ivory: #faefec;
  --ivory-2: #f4e5df;
  --paper: #fdf7f4;
  --plum: #50143a;
  --plum-deep: #3a0d2a;
  --plum-ink: #26081b;
  --plum-soft: #6e3a5a;
  --blush: #c29e95;
  --blush-soft: #ecd9d3;
  --blush-mist: #f3e4df;
  --chocolate: #47230c;
  --cocoa: #6b4a38;
  --gold: #c8860a;
  --gold-soft: #d9b26a;
  --sand: #e8d5b0;
  --danger: #8f1d1d;
  --success: #2f5d3a;

  --ink: var(--chocolate);
  --muted: #7a5c4f;
  --rule: rgb(71 35 12 / 0.16);
  --rule-strong: rgb(71 35 12 / 0.32);

  --font-display: 'Cormorant', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-label: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--plum); color: var(--ivory); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }
.on-plum :focus-visible, .site-footer :focus-visible { outline-color: var(--sand); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--plum); color: var(--ivory); padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; margin: 0; }
.display em, h1 em, h2 em { font-style: italic; font-weight: 300; }
.eyebrow {
  font-family: var(--font-label); font-stretch: 125%; font-weight: 500;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; line-height: 1.4;
  display: inline-flex; align-items: center; gap: 14px; margin: 0;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.plain::before { display: none; }
.label { font-family: var(--font-label); font-stretch: 112%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.lede { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; font-weight: 400; }
.fine { font-size: 13px; color: var(--muted); }
.numeral { font-family: var(--font-display); font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }
.measure { max-width: 34em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 12vw, 168px); position: relative; }
.on-plum { background: var(--plum); color: var(--ivory); --ink: var(--ivory); --muted: rgb(250 239 236 / .72); --rule: rgb(250 239 236 / .18); --rule-strong: rgb(250 239 236 / .4); }
.on-plum-deep { background: var(--plum-deep); }
.on-blush { background: var(--blush-mist); }
.on-paper { background: var(--paper); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.gold-rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--plum); --btn-fg: var(--ivory); --btn-bd: var(--plum);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
  font-family: var(--font-label); font-stretch: 118%; font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn::after { /* hairline that draws across on hover */
  content: ''; position: absolute; left: 28px; right: 28px; bottom: 12px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); opacity: .6;
}
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }
.btn:hover { --btn-bg: var(--plum-deep); --btn-bd: var(--plum-deep); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--plum); --btn-bd: var(--rule-strong); }
.btn-ghost:hover { --btn-bg: var(--plum); --btn-fg: var(--ivory); --btn-bd: var(--plum); }
.on-plum .btn { --btn-bg: var(--ivory); --btn-fg: var(--plum); --btn-bd: var(--ivory); }
.on-plum .btn:hover { --btn-bg: var(--sand); --btn-bd: var(--sand); }
.on-plum .btn-ghost { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgb(250 239 236 / .5); }
.on-plum .btn-ghost:hover { --btn-bg: var(--ivory); --btn-fg: var(--plum); --btn-bd: var(--ivory); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn .arrow { width: 18px; height: 8px; transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.is-busy { color: transparent; }
.btn.is-busy::before { content: ''; position: absolute; width: 18px; height: 18px; border: 1px solid var(--btn-fg); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link {
  font-family: var(--font-label); font-stretch: 118%; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding-block: 8px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.link:hover { background-size: 30% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgb(250 239 236 / .94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { color: var(--plum); display: block; line-height: 0; }
.brand svg { width: clamp(150px, 16vw, 210px); height: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; }
.nav a { font-family: var(--font-label); font-stretch: 115%; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; color: var(--plum); font-weight: 500; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease-out); transform-origin: left; }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav-end { justify-content: flex-end; }
.bag-link { display: inline-flex; align-items: center; gap: 10px; }
.bag-count {
  min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; padding: 0 6px;
  background: var(--plum); color: var(--ivory); font: 500 11px/1 var(--font-body); letter-spacing: 0;
  transition: transform .5s var(--ease-out);
}
.bag-count[data-count='0'] { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.bag-count.bump { animation: bump .7s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: -10px; color: var(--plum); cursor: pointer; min-width: 44px; min-height: 44px; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }
/* Laptop widths: tighten the labels so each stays on one line beside the logo. */
@media (max-width: 1360px) {
  .nav { gap: 20px; }
  .nav a { letter-spacing: .12em; }
}
.announcement { background: var(--plum); color: var(--ivory); text-align: center; font-size: 12px; letter-spacing: .04em; padding: 9px var(--gutter); }

@media (max-width: 1100px) {
  :root { --header-h: 64px; }
  .site-header .wrap { grid-template-columns: 44px 1fr 44px; }
  .nav-start, .nav-end a:not(.bag-link) { display: none; }
  .menu-toggle { display: block; }
  .brand { justify-self: center; }
  .brand svg { width: 160px; }
  .bag-link .label-text { display: none; }
  .bag-link { min-width: 44px; min-height: 44px; justify-content: flex-end; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; background: var(--ivory);
    padding: 32px var(--gutter) 48px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility 0s .45s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-menu a.big { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 300; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--plum); }
  .mobile-menu .monogram { width: 44px; color: var(--blush); margin: 40px 0 16px; }
}

/* ---------- Brand marks ---------- */
.monogram { color: var(--gold); width: 40px; display: block; }
.monogram svg { width: 100%; height: auto; }

/* ---------- Opening mark (never blocks interaction) ---------- */
.intro-mark {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--plum); color: var(--ivory);
  pointer-events: none; animation: intro-out .9s var(--ease) 1.05s forwards;
}
.intro-mark .monogram { width: 92px; color: var(--ivory); opacity: 0; animation: intro-in 1s var(--ease-out) .1s forwards; }
.intro-mark .intro-line { position: absolute; bottom: 38%; width: 0; height: 1px; background: var(--gold); animation: intro-line 1s var(--ease-out) .2s forwards; }
@keyframes intro-in { from { opacity: 0; transform: scale(.94); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes intro-line { to { width: 72px; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
html.intro-seen .intro-mark, html.no-js .intro-mark { display: none; }

/* ---------- Pictures & frames ---------- */
.frame { position: relative; background: var(--ph, var(--ivory-2)); overflow: hidden; }
.frame picture { width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.mount { padding: clamp(10px, 1.4vw, 18px); background: var(--paper); box-shadow: 0 1px 0 var(--rule), 0 30px 60px -40px rgb(71 35 12 / .45); }
.frame.mount::after { content: ''; position: absolute; inset: clamp(5px, .7vw, 9px); border: 1px solid rgb(200 134 10 / .45); pointer-events: none; }
.caption { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.caption .numeral { font-size: 18px; color: var(--ink); }

/* Scroll reveal (only when JS + motion allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(8% 8% 8% 8%); transition: clip-path 1.6s var(--ease-out); }
.js .reveal-img img { transform: scale(1.08); transition: transform 2.2s var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(64px, 9vw, 128px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 clamp(16px, 2vw, 32px); align-items: end; }
.hero-copy { grid-column: 1 / span 5; grid-row: 1; position: relative; z-index: 2; padding-bottom: clamp(8px, 3vw, 48px); }
.hero-title { font-size: clamp(52px, 6.2vw, 96px); color: var(--plum); line-height: .94; margin: 28px 0 32px; letter-spacing: -0.02em; }
.hero-title .line, h1 .line, h2 .line { display: block; }
.hero-title .line + .line { padding-left: clamp(24px, 4vw, 72px); font-style: italic; }
.hero-intro { max-width: 25em; color: var(--cocoa); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { grid-column: 6 / span 7; grid-row: 1; position: relative; }
.hero-art .frame { aspect-ratio: 1 / 1; }
.hero-art .frame img { animation: hero-settle 2.4s var(--ease-out) both; }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; }
.hero-side { position: absolute; right: calc(-1 * clamp(10px, 2.5vw, 44px)); top: 0; writing-mode: vertical-rl; color: var(--muted); }
.hero-monogram { position: absolute; left: -56px; bottom: 18%; width: 34px; color: var(--gold); opacity: .9; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .hero-art { grid-column: 1; }
  .hero-art { grid-row: 1; margin-inline: calc(-1 * var(--gutter) + 12px); }
  .hero-copy { grid-row: 2; padding-top: 8px; }
  .hero-title { margin: 20px 0 22px; }
  .hero-side, .hero-monogram { display: none; }
  .hero-actions .btn { flex: 1 1 220px; }
}

/* ---------- Home: details (plum) ---------- */
.details-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: start; }
.details-copy { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 48px); }
.details-copy h2 { font-size: clamp(40px, 5vw, 76px); margin: 24px 0 28px; }
.details-copy p { color: var(--muted); }
figure { margin: 0; }
.details-a { grid-column: 5 / span 4; grid-row: 1; margin-top: clamp(0px, 6vw, 96px); }
.details-a .frame { aspect-ratio: 4 / 5; }
.details-b { grid-column: 9 / span 4; grid-row: 1; margin-top: clamp(160px, 26vw, 420px); position: relative; z-index: 1; }
.details-b .frame { aspect-ratio: 4 / 3; }
.details-note { grid-column: 6 / span 6; margin-top: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; }
.details-note .numeral { font-size: 64px; line-height: .8; color: var(--gold-soft); }
.on-plum .frame.mount { background: var(--plum-deep); box-shadow: none; }
.on-plum .caption { color: rgb(250 239 236 / .7); }
.on-plum .caption .numeral { color: var(--ivory); }
@media (max-width: 960px) {
  .details-grid { grid-template-columns: repeat(6, 1fr); }
  .details-copy { grid-column: 1 / -1; position: static; }
  .details-a { grid-column: 1 / span 4; grid-row: auto; margin-top: 16px; }
  .details-b { grid-column: 3 / span 4; grid-row: auto; margin-top: 24px; }
  .details-note { grid-column: 1 / -1; }
}

/* ---------- Home: gifting ---------- */
.gifting { overflow: hidden; }
.gifting-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: center; }
.gifting-art { grid-column: 1 / span 8; grid-row: 1; }
.gifting-art .frame { aspect-ratio: 3 / 2; }
/* Three real event tables cross-fading in one frame, each slowly drifting closer */
.gifting-art .gifting-slides { aspect-ratio: 4 / 3; }
.gifting-slide { position: absolute; inset: 0; opacity: 0; animation: gift-slide 56s calc(var(--i) * 7s) infinite; }
.gifting-slide:first-child { opacity: 1; }
.gifting-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* 8 slides × 7s: each fades in, holds about 6s, then fades out as the next arrives */
@keyframes gift-slide {
  0% { opacity: 0; transform: scale(1); }
  2%, 12.5% { opacity: 1; }
  15%, 100% { opacity: 0; transform: scale(1.07); }
}
.gifting-slides-note { position: absolute; left: 20px; bottom: 16px; margin: 0; z-index: 1; color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / .45); }
@media (prefers-reduced-motion: reduce) {
  .gifting-slide { animation: none; }
  .gifting-slide:not(:first-child) { display: none; }
}
.gifting-card { grid-column: 8 / span 5; grid-row: 1; position: relative; z-index: 2; background: var(--ivory); padding: clamp(32px, 4.5vw, 64px); box-shadow: 0 40px 80px -60px rgb(71 35 12 / .5); }
.gifting-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--rule); pointer-events: none; }
.gifting-card h2 { font-size: clamp(36px, 4.2vw, 62px); color: var(--plum); margin: 22px 0 22px; }
.occasions { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--rule); }
.occasions li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: 22px; }
.occasions li span:last-child { font-family: var(--font-label); font-stretch: 115%; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
@media (max-width: 960px) {
  .gifting-grid { grid-template-columns: 1fr; }
  .gifting-art, .gifting-card { grid-column: 1; grid-row: auto; }
  .gifting-art { margin-inline: calc(-1 * var(--gutter)); }
  .gifting-art .gifting-slides { aspect-ratio: 4 / 5; }
  .gifting-slides-note { bottom: 80px; }
  .gifting-card { margin: -64px 0 0; }
}

/* ---------- Home: catering ---------- */
.catering-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: end; }
.catering-head { grid-column: 1 / span 7; }
.catering-head h2 { font-size: clamp(44px, 6.4vw, 104px); margin: 24px 0 0; }
.catering-head h2 em { color: var(--sand); }
.catering-head--narrow { grid-column: 1 / span 5; }
.catering-list { grid-column: 7 / span 6; }
.catering-art { grid-column: 9 / span 4; grid-row: 1 / span 2; align-self: start; }
.catering-art .frame { aspect-ratio: 9 / 14; }
.catering-body { grid-column: 1 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 6vw, 88px); }
.services { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.services li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 18px 0; border-top: 1px solid var(--rule); }
.services li::before { content: counter(s, upper-roman) '.'; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold-soft); grid-row: span 2; }
.services strong { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.services span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) {
  .catering-grid { grid-template-columns: repeat(6, 1fr); }
  .catering-head, .catering-body, .catering-list { grid-column: 1 / -1; }
  .catering-list { margin-top: 32px; }
  .catering-body { grid-template-columns: 1fr; }
  .catering-art { grid-column: 2 / span 5; grid-row: auto; margin-top: 40px; }
}

/* ---------- Home: story ---------- */
.event-gallery { margin-top: clamp(56px, 8vw, 112px); }
.event-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px); margin-top: 28px; }
.event-photos figure { margin: 0; }
.event-photos figure:nth-child(even) { margin-top: clamp(24px, 4vw, 64px); }
.event-photos figcaption { margin-top: 12px; }
@media (max-width: 760px) {
  .event-photos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .event-photos figure { scroll-snap-align: start; }
  .event-photos figure:nth-child(even) { margin-top: 0; }
}
.story { text-align: center; }
.story .monogram { width: 56px; margin: 0 auto 32px; }
.story h2 { font-size: clamp(40px, 5.6vw, 88px); color: var(--plum); max-width: 12em; margin: 22px auto 40px; }
.story-body { max-width: 40em; margin: 0 auto; columns: 2 18em; column-gap: 48px; text-align: left; color: var(--cocoa); }
.story-body p:first-child::first-letter { font-family: var(--font-display); float: left; font-size: 74px; line-height: .78; padding: 6px 10px 0 0; color: var(--plum); }
.story-sign { margin-top: 48px; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-ink); color: var(--ivory); padding: clamp(64px, 9vw, 120px) 0 32px; --muted: rgb(250 239 236 / .62); --rule: rgb(250 239 236 / .14); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule); }
.footer-brand svg { width: min(260px, 70vw); color: var(--ivory); }
.footer-brand p { color: var(--muted); font-family: var(--font-display); font-style: italic; font-size: 20px; margin-top: 20px; }
.footer-col h3 { font-family: var(--font-label); font-stretch: 118%; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--gold-soft); margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { text-decoration: none; color: var(--ivory); opacity: .86; display: inline-block; padding: 6px 0; font-size: 14px; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-col .muted { color: var(--muted); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom .monogram { width: 26px; color: var(--blush); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(48px, 7vw, 112px); color: var(--plum); margin-top: 20px; }
.page-head .lede { margin-top: 24px; max-width: 26em; color: var(--cocoa); }
.on-plum.page-head h1 { color: var(--ivory); }
.breadcrumbs { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; padding-top: 24px; }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Collection ---------- */
.feature-product { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: center; text-decoration: none; padding-bottom: clamp(56px, 8vw, 112px); }
.feature-product .frame { grid-column: 1 / span 7; aspect-ratio: 1 / 1; }
.feature-product .info { grid-column: 9 / span 4; }
.feature-product.is-reverse .frame { grid-column: 6 / span 7; grid-row: 1; }
.feature-product.is-reverse .info { grid-column: 1 / span 4; grid-row: 1; }
.feature-product h2 { font-size: clamp(40px, 5vw, 72px); color: var(--plum); margin: 18px 0 18px; transition: color .3s; }
.feature-product:hover h2 { color: var(--chocolate); }
.feature-product .frame img { transition: transform 1.6s var(--ease-out); }
.feature-product:hover .frame img { transform: scale(1.025); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); padding-bottom: clamp(56px, 8vw, 112px); }
.product-card { text-decoration: none; display: block; }
.product-card .frame { aspect-ratio: 4 / 5; }
.product-card h3 { font-size: 30px; margin: 18px 0 6px; color: var(--plum); }
.collection-note { border-top: 1px solid var(--rule); padding-block: 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.collection-note .monogram { width: 34px; }
@media (max-width: 860px) {
  .feature-product .frame, .feature-product .info,
  .feature-product.is-reverse .frame, .feature-product.is-reverse .info { grid-column: 1 / -1; grid-row: auto; }
  .feature-product .frame { margin-inline: calc(-1 * var(--gutter) + 12px); }
  .collection-note { grid-template-columns: 1fr; }
}

.price { font-family: var(--font-body); font-weight: 500; letter-spacing: .01em; }
.price-tbc { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--muted); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 88px); padding-block: 12px clamp(72px, 10vw, 144px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-main { position: relative; aspect-ratio: 1 / 1; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; background: var(--ivory-2); }
.gallery-main .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.gallery-main .frame.is-active { opacity: 1; }
.gallery-main .zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: rgb(250 239 236 / .9); padding: 8px 12px; font-family: var(--font-label); font-stretch: 115%; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); display: flex; gap: 8px; align-items: center; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 76px; aspect-ratio: 1; border: 1px solid transparent; padding: 3px; background: none; cursor: pointer; opacity: .62; transition: opacity .3s, border-color .3s; }
.thumb[aria-current='true'] { border-color: var(--plum); opacity: 1; }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(42px, 4.8vw, 72px); color: var(--plum); margin: 18px 0 14px; }
.product-info .tagline { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--cocoa); margin-bottom: 24px; }
.product-price { font-size: 22px; padding: 20px 0; border-block: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 24px 0; }
.facts div { background: var(--ivory); padding: 14px 16px; }
.facts dt { font-family: var(--font-label); font-stretch: 115%; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 14px; }
.unavailable { background: var(--blush-mist); padding: 24px; margin: 24px 0; border-left: 1px solid var(--gold); }
.unavailable h2 { font-size: 28px; color: var(--plum); margin-bottom: 8px; }
.accordion { border-top: 1px solid var(--rule); margin-top: 32px; }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 24px; color: var(--plum); min-height: 44px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ''; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .35s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .body { padding: 0 0 24px; color: var(--cocoa); font-size: 15px; }
.accordion .body h4 { font-family: var(--font-label); font-stretch: 115%; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; margin: 14px 0 6px; color: var(--muted); font-weight: 500; }
.tbc { font-style: italic; color: var(--muted); }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; margin-inline: calc(-1 * var(--gutter)); }
  .thumbs { padding-inline: var(--gutter); }
}

/* Variant & quantity controls */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.variant-options { display: grid; gap: 10px; margin: 24px 0 8px; }
.variant { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 18px; border: 1px solid var(--rule-strong); cursor: pointer; transition: border-color .25s, background-color .25s; min-height: 56px; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant:hover { border-color: var(--plum); }
.variant:has(input:checked) { border-color: var(--plum); background: var(--paper); box-shadow: inset 0 0 0 1px var(--plum); }
.variant:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.variant:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.variant .v-name { font-weight: 500; }
.variant .v-desc { grid-column: 1; font-size: 13px; color: var(--muted); }
.filling-field { margin-top: 18px; }
.filling-options { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.variant.filling { grid-template-columns: 1fr; align-items: center; padding: 12px 14px; min-height: 48px; }
.qty-row { display: flex; gap: 12px; align-items: stretch; margin-top: 20px; }
.stepper { display: inline-grid; grid-template-columns: 48px 52px 48px; border: 1px solid var(--rule-strong); height: 52px; }
.stepper button { background: none; border: 0; cursor: pointer; font-size: 18px; color: var(--plum); }
.stepper button:hover { background: var(--ivory-2); }
.stepper input { border: 0; text-align: center; background: transparent; width: 100%; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-row .btn { flex: 1; }
.note-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-top: 14px; }
.note-line svg { width: 16px; flex: none; margin-top: 3px; color: var(--gold); }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgb(250 239 236 / .97); border-top: 1px solid var(--rule);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); display: none; gap: 14px; align-items: center;
  transform: translateY(110%); transition: transform .5s var(--ease-out);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy .s-info { flex: 1; min-width: 0; line-height: 1.3; }
.sticky-buy .s-name { font-family: var(--font-display); font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--plum); }
.sticky-buy .btn { min-height: 48px; padding: 0 20px; }
@media (max-width: 960px) { .sticky-buy { display: flex; } body.has-sticky-buy { padding-bottom: 84px; } }

/* Lightbox zoom */
.lightbox { position: fixed; inset: 0; z-index: 80; background: var(--plum-ink); display: none; touch-action: none; }
.lightbox.is-open { display: block; animation: fade-in .35s var(--ease); }
.lightbox-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; display: grid; place-items: center; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }
.lightbox-bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: var(--ivory); z-index: 2; background: linear-gradient(rgb(38 8 27 / .7), transparent); }
.lightbox button { background: rgb(250 239 236 / .1); color: var(--ivory); border: 1px solid rgb(250 239 236 / .3); min-width: 44px; min-height: 44px; cursor: pointer; font-size: 18px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox .lb-prev { left: 14px; } .lightbox .lb-next { right: 14px; }
.lightbox-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgb(250 239 236 / .7); font-size: 12px; z-index: 2; }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .field > .flabel, .field legend { font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 12.5px; color: var(--muted); margin: -2px 0 0; }
.input, select.input, textarea.input {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--paper); font-size: 16px; color: var(--chocolate); transition: border-color .2s, box-shadow .2s;
}
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--plum) 50%), linear-gradient(135deg, var(--plum) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.input:hover { border-color: var(--plum-soft); }
.input:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgb(80 20 58 / .14); }
.field.has-error .input { border-color: var(--danger); }
.error { color: var(--danger); font-size: 13px; margin: 0; display: flex; gap: 6px; }
.error::before { content: '—'; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 560px) { .row-2, .row-3 { grid-template-columns: 1fr; } .row-3.keep { grid-template-columns: 1fr 1fr 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--rule-strong); cursor: pointer; background: var(--paper); min-height: 56px; transition: border-color .2s, background-color .2s; }
.choice input { margin: 3px 0 0; accent-color: var(--plum); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.choice .c-title { font-weight: 500; display: block; }
.choice .c-sub { font-size: 13px; color: var(--muted); display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--plum); margin-top: 2px; flex: none; }
.form-errors { background: #f8e6e3; border-left: 2px solid var(--danger); padding: 16px 20px; margin-bottom: 28px; }
.form-errors h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.form-errors ul { margin: 0; padding-left: 18px; font-size: 14px; }
.form-errors a { color: var(--danger); }

/* ---------- Checkout ---------- */
.steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 40px; counter-reset: step; border-bottom: 1px solid var(--rule); overflow-x: auto; }
.steps li { counter-increment: step; flex: 1; min-width: max-content; padding: 0 14px 14px 0; font-family: var(--font-label); font-stretch: 115%; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero) ' '; font-family: var(--font-display); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; margin-right: 6px; }
.steps li[aria-current='step'] { color: var(--plum); }
@media (max-width: 420px) { .steps li { font-size: 9px; letter-spacing: .12em; padding-right: 8px; } .steps li::before { font-size: 14px; margin-right: 3px; } }
.steps li[aria-current='step']::after { content: ''; position: absolute; left: 0; right: 14px; bottom: -1px; height: 1px; background: var(--plum); }
.steps li.done { color: var(--ink); }
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 80px); padding-bottom: clamp(72px, 10vw, 128px); align-items: start; }
.checkout h1 { font-size: clamp(40px, 5vw, 64px); color: var(--plum); margin-bottom: 28px; }
.checkout h2.section-title { font-family: var(--font-display); font-size: 28px; color: var(--plum); margin: 40px 0 18px; padding-top: 28px; border-top: 1px solid var(--rule); }
.checkout h2.section-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.summary { background: var(--paper); padding: clamp(22px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 20px); box-shadow: inset 0 0 0 1px var(--rule); }
.summary h2 { font-family: var(--font-display); font-size: 26px; color: var(--plum); margin-bottom: 18px; }
.summary-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.summary-line .frame { aspect-ratio: 1; }
.summary-line .q { color: var(--muted); font-size: 12.5px; }
.totals { margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 18px; font-weight: 500; padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--rule-strong); }
.secure-note { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: 16px; align-items: flex-start; }
.secure-note svg { width: 16px; flex: none; margin-top: 2px; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

.bag-lines { border-top: 1px solid var(--rule); }
.bag-line { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.bag-line .frame { aspect-ratio: 1; }
.bag-line h3 { font-size: 26px; color: var(--plum); }
.bag-line .meta { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.bag-line .controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.bag-line .stepper { height: 44px; grid-template-columns: 44px 44px 44px; }
.text-btn { background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.text-btn:hover { color: var(--plum); }
@media (max-width: 560px) { .bag-line { grid-template-columns: 88px 1fr; } .bag-line .line-total { grid-column: 2; } }
.empty-state { text-align: center; padding: clamp(48px, 10vw, 120px) 0; }
.empty-state .monogram { width: 52px; margin: 0 auto 28px; }
.empty-state h1 { font-size: clamp(40px, 5vw, 64px); color: var(--plum); margin-bottom: 18px; }

.notice { padding: 16px 20px; border-left: 2px solid var(--gold); background: var(--blush-mist); font-size: 14px; margin-bottom: 24px; }
.notice.test { border-color: var(--plum); background: #efe3ea; }
.notice strong { font-weight: 600; }
.test-ribbon { background: repeating-linear-gradient(-45deg, var(--plum), var(--plum) 10px, var(--plum-deep) 10px, var(--plum-deep) 20px); color: var(--ivory); text-align: center; font-family: var(--font-label); font-stretch: 115%; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; }

/* Order status */
.status-hero { text-align: center; padding-block: clamp(40px, 7vw, 96px) clamp(32px, 4vw, 48px); }
.status-hero .monogram { width: 48px; margin: 0 auto 26px; }
.status-hero h1 { font-size: clamp(40px, 6vw, 84px); color: var(--plum); margin: 16px auto 18px; max-width: 12em; }
.status-hero .ref { font-family: var(--font-label); font-stretch: 115%; letter-spacing: .2em; font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--ivory-2); color: var(--ink); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.pill.ok { background: #e3eee4; color: var(--success); }
.pill.warn { background: #f6ead2; color: #7a4d00; }
.pill.bad { background: #f6e1df; color: var(--danger); }
.pill.info { background: #efe3ea; color: var(--plum); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--rule); }
.timeline li { padding: 18px 12px 0 0; font-size: 13px; color: var(--muted); position: relative; }
.timeline li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--plum); box-shadow: none; }
.timeline li.current::before { background: var(--gold); box-shadow: 0 0 0 4px rgb(200 134 10 / .2); }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--rule); margin-left: 4px; } .timeline li { padding: 0 0 18px 20px; } .timeline li::before { top: 6px; left: -4px; } }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding-block: 48px clamp(72px, 10vw, 128px); }
.detail-grid h2 { font-family: var(--font-display); font-size: 26px; color: var(--plum); margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }

/* ---------- Catering ---------- */
.consult-hero { padding-block: clamp(56px, 9vw, 136px) clamp(56px, 8vw, 112px); overflow: hidden; }
.consult-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 32px); align-items: end; }
.consult-grid .copy { grid-column: 1 / span 7; }
.consult-grid h1 { font-size: clamp(52px, 8vw, 128px); margin: 24px 0 28px; }
.consult-grid h1 em { color: var(--sand); }
.consult-grid .art { grid-column: 9 / span 4; }
.consult-grid .art .frame { aspect-ratio: 3 / 4; }
@media (max-width: 960px) { .consult-grid .copy, .consult-grid .art { grid-column: 1 / -1; } .consult-grid .art { width: 70%; margin-left: auto; margin-top: 24px; } }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.process li { list-style: none; border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.process .numeral { font-size: 44px; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.process h3 { font-size: 28px; margin-bottom: 10px; color: var(--plum); }
.process p { color: var(--cocoa); font-size: 15px; }
@media (max-width: 760px) { .process { grid-template-columns: 1fr; } }
.enquiry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 112px); align-items: start; }
.enquiry-aside h2 { font-size: clamp(40px, 4.6vw, 68px); color: var(--plum); margin: 20px 0 20px; }
.enquiry-aside { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 960px) { .enquiry { grid-template-columns: minmax(0, 1fr); } .enquiry-aside { position: static; } }
.form-card { min-width: 0; background: var(--paper); padding: clamp(24px, 4vw, 56px); box-shadow: inset 0 0 0 1px var(--rule); position: relative; }
.progress { display: flex; gap: 6px; margin-bottom: 32px; }
.progress span { flex: 1; height: 2px; background: var(--rule); position: relative; overflow: hidden; }
.progress span::after { content: ''; position: absolute; inset: 0; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.progress span.done::after, .progress span.current::after { transform: scaleX(1); }
.progress-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progress-label .numeral { font-size: 20px; color: var(--muted); }
/* Fieldsets size to their content by default; let wide children (the menu tabs) scroll instead. */
.form-step { min-width: 0; }
.form-step h3 { font-size: clamp(30px, 3.4vw, 44px); color: var(--plum); margin-bottom: 8px; }
.form-step > .fine { margin-bottom: 28px; }
.js .form-step:not(.is-current) { display: none; }
.js .form-step.is-current { animation: step-in .6s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.form-step + .form-step { margin-top: 48px; }
.js .form-step + .form-step { margin-top: 0; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.no-js .step-nav { display: none; }
.js .final-submit { display: none; }
.js .form-step.is-last.is-current ~ .final-submit, .js .final-submit.show { display: flex; }
.dropzone { border: 1px dashed var(--rule-strong); padding: 24px; text-align: center; background: var(--ivory); cursor: pointer; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--plum); background: var(--blush-mist); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.previews img { width: 72px; height: 72px; object-fit: cover; }

/* ---------- Quote (proposal letter) ---------- */
.proposal { max-width: 880px; margin: 0 auto; background: var(--paper); padding: clamp(28px, 6vw, 88px); position: relative; box-shadow: 0 50px 90px -70px rgb(71 35 12 / .55); }
.proposal::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgb(200 134 10 / .4); pointer-events: none; }
.proposal-head { text-align: center; padding-bottom: 36px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.proposal-head .monogram { width: 44px; margin: 0 auto 22px; }
.proposal-head h1 { font-size: clamp(38px, 5vw, 64px); color: var(--plum); margin: 14px 0 10px; }
.items { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 24px 0; }
.items th { text-align: left; font-family: var(--font-label); font-stretch: 115%; font-weight: 500; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--rule-strong); }
.items td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.items .num { text-align: right; white-space: nowrap; padding-left: 16px; width: 1%; }
.items tfoot td { border: 0; padding: 6px 0; }
.items tfoot .grand td { font-size: 18px; font-weight: 500; padding-top: 14px; border-top: 1px solid var(--rule-strong); }
@media (max-width: 560px) { .items .hide-sm { display: none; } }
.terms-box { font-size: 13.5px; color: var(--cocoa); background: var(--ivory); padding: 20px 24px; max-height: 260px; overflow: auto; }

/* ---------- Prose (policy pages) ---------- */
.prose { max-width: 42em; padding-bottom: clamp(72px, 10vw, 128px); }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--plum); margin: 40px 0 12px; font-size: 30px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--plum); }
.flag { background: #f6ead2; border-left: 2px solid var(--gold); padding: 14px 18px; font-size: 14px; color: #6b4300; margin-bottom: 28px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 70; background: var(--plum); color: var(--ivory); padding: 14px 18px 14px 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 24px 48px -24px rgb(38 8 27 / .6); transition: transform .55s var(--ease-out); max-width: calc(100vw - 32px); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast img { width: 48px; height: 48px; object-fit: cover; }
.toast a { color: var(--sand); font-family: var(--font-label); font-stretch: 115%; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; padding: 8px 0; }
body.has-sticky-buy .toast { bottom: 96px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .intro-mark { display: none; }
  .js .reveal, .js .reveal-img, .js .reveal-img img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Catering: menu picker ---------- */
.menu-picker [hidden] { display: none !important; }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(24px, 4vw, 56px)) 28px; padding: 2px clamp(24px, 4vw, 56px) 6px; scroll-snap-type: x proximity; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  font-family: var(--font-label); font-stretch: 112%; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--plum); background: transparent; border: 1px solid var(--rule-strong); border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.menu-tab:hover { border-color: var(--plum); }
.menu-tab[aria-pressed='true'] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
.menu-tab-count:empty { display: none; }
.menu-tab-count { min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; padding: 0 5px; background: var(--gold-soft); color: var(--plum-ink); font: 600 10px/1 var(--font-body); letter-spacing: 0; }

.menu-cat + .menu-cat { margin-top: 36px; }
.js .menu-cat + .menu-cat { margin-top: 0; }
.js .menu-cat:not([hidden]) { animation: step-in .5s var(--ease-out); }
.menu-cat-head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--plum); }
.menu-cat-head .numeral { font-size: 22px; color: var(--gold); }
.menu-cat-head h4 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); color: var(--plum); margin: 0; line-height: 1.1; }
.menu-cat-unit { grid-column: 2; font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px;
  padding: 14px 0 14px 0; border-bottom: 1px dotted var(--rule-strong); transition: padding-left .35s var(--ease-out), background-color .35s;
}
.menu-item::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.menu-item.is-chosen { padding-left: 14px; background: linear-gradient(90deg, rgb(217 178 106 / .14), transparent 70%); }
.menu-item.is-chosen::before { transform: scaleY(1); }
.menu-item.just-added { animation: menu-pop .6s var(--ease-out); }
@keyframes menu-pop { 0% { background-color: rgb(217 178 106 / .35); } 100% { background-color: transparent; } }
.mi-name { display: block; font-family: var(--font-display); font-size: 21px; line-height: 1.2; color: var(--ink, var(--plum-ink)); }
.menu-item.is-chosen .mi-name { color: var(--plum); }
.mi-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mi-qty { display: inline-flex; align-items: center; gap: 4px; }
.mi-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--plum);
  font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s;
}
.mi-btn:hover { border-color: var(--plum); }
.mi-btn[data-menu-inc] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
.mi-btn:focus-visible, .mi-input:focus-visible, .menu-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mi-input {
  width: 54px; height: 36px; border: 0; border-bottom: 1px solid var(--rule-strong); background: transparent; text-align: center;
  font: 500 16px/1 var(--font-body); color: var(--plum); -moz-appearance: textfield; appearance: textfield;
}
.mi-input::-webkit-inner-spin-button, .mi-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mi-input::placeholder { color: var(--rule-strong); }
.mi-unit { min-width: 34px; font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.no-js .mi-btn, html:not(.js) .mi-btn { display: none; }
@media (max-width: 520px) {
  /* The category heading already says "by the kilo" / "by quantity", so drop the unit to keep one line per item. */
  .menu-item { gap: 10px; }
  .mi-name { font-size: 19px; }
  .mi-unit { display: none; }
  .mi-input { width: 42px; }
  .mi-btn { width: 34px; height: 34px; }
}

.menu-summary { margin-top: 36px; padding: 24px 0 0; border-top: 3px double var(--plum); animation: step-in .5s var(--ease-out); }
.menu-summary-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.menu-summary-head h4 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--plum); margin: 0; }
.menu-totals { margin: 0; font-family: var(--font-label); font-stretch: 112%; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.table-scroll { overflow-x: auto; }
.menu-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.menu-table th { text-align: left; font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding: 10px 8px 10px 0; border-bottom: 1px solid var(--rule-strong); }
.menu-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.menu-table td:first-child { font-family: var(--font-display); font-size: 18px; color: var(--plum); line-height: 1.25; }
.menu-table td:nth-child(2) { color: var(--muted); font-size: 13px; }
.menu-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
/* Only rows added live in the form animate; vertical so the table never overflows sideways. */
[data-menu-rows] tr { animation: row-in .4s var(--ease-out); }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
.menu-table tr[data-row-for] { cursor: pointer; }
.menu-remove { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; margin-left: 8px; }
.menu-remove:hover { color: var(--plum); border-color: var(--plum); }
@media (max-width: 520px) { .menu-table th:nth-child(2), .menu-table td:nth-child(2) { display: none; } }
.thanks-menu { max-width: 40em; margin: 32px auto 8px; text-align: left; }
.thanks-menu .label { display: block; text-align: center; margin-bottom: 12px; color: var(--muted); }
.thanks-whatsapp { max-width: 34em; margin: 32px auto 0; padding: 24px; border: 1px solid var(--rule-strong); }
.thanks-whatsapp p { margin: 0 0 16px; }

/* ---------- Catering: live dessert table ---------- */
/* Sticks to the top of the menu step so every choice can be seen landing on the table. */
.table-scene {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 6; container-type: inline-size;
  aspect-ratio: 1536 / 1024; margin: 0 0 24px; overflow: hidden; background: var(--ivory-2);
  box-shadow: 0 18px 40px -24px rgb(38 8 27 / .55), inset 0 0 0 1px var(--rule);
}
.table-scene picture, .table-scene picture img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.table-scene picture img { transition: filter .8s var(--ease); filter: saturate(.92) brightness(.98); }
.table-scene.is-set picture img { filter: none; }
.scene-layer { position: absolute; inset: 0; }
.scene-item { position: absolute; width: var(--w); transform: translate(-50%, -100%); pointer-events: none; }
.scene-item.on-stand { width: calc(var(--w) * .9); }
.scene-pop { position: relative; transform-origin: 50% 100%; animation: scene-drop .75s var(--ease-out) both; }
.scene-pop::after { /* soft contact shadow */
  content: ''; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(38 8 27 / .28), transparent); z-index: -1;
}
.scene-pop img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 2px rgb(38 8 27 / .18)); }
.scene-item.is-leaving .scene-pop { animation: scene-leave .38s var(--ease) forwards; }
@keyframes scene-drop {
  0% { opacity: 0; transform: translateY(-70%) scale(.35); }
  55% { opacity: 1; transform: translateY(5%) scale(1.07); }
  75% { transform: translateY(-3%) scale(.97); }
  100% { opacity: 1; transform: none; }
}
@keyframes scene-leave { to { opacity: 0; transform: translateY(-20%) scale(.6); } }
.spark {
  position: absolute; left: 50%; bottom: 45%; width: 6px; height: 6px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, #fff6dc 0 30%, var(--gold-soft) 60%, transparent 72%);
  animation: spark .8s var(--ease-out) forwards;
}
@keyframes spark {
  from { opacity: 1; transform: translate(-50%, 0) scale(1.2); }
  to { opacity: 0; transform: translate(calc(-50% + var(--dx)), var(--dy)) scale(.2); }
}

/* Place cards: a quantity tag under every dessert; the name joins it when the table is large enough to read. */
.scene-card {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 3px); white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: .45em; padding: .25em .6em; border-radius: 2px;
  background: rgb(253 247 244 / .94); box-shadow: 0 0 0 1px rgb(200 134 10 / .55), 0 4px 10px -4px rgb(38 8 27 / .35);
  font-size: clamp(8px, 1.45cqw, 12px); line-height: 1.2; color: var(--plum);
}
.scene-name { font-family: var(--font-display); font-size: 1.2em; }
.scene-qty { font-family: var(--font-label); font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; font-size: .85em; color: var(--gold); }
/* Photos, glasses and the glowing tower show their card briefly (and on hover); plain place cards stay. */
.scene-item:not(.no-photo) .scene-card { opacity: 0; transform: translate(-50%, 8px); transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.scene-item.show-card .scene-card, .scene-item:not(.no-photo):hover .scene-card { opacity: 1; transform: translate(-50%, 3px); }
.scene-item.show-card { z-index: 2000 !important; }
.scene-item:not(.no-photo) .scene-pop > :first-child { pointer-events: auto; }
.scene-glasses { display: flex; align-items: flex-end; justify-content: center; }
.scene-glasses svg { width: 40%; height: auto; filter: drop-shadow(0 2px 2px rgb(38 8 27 / .25)); }
.scene-glasses svg:nth-child(2) { width: 46%; margin: 0 -8%; position: relative; z-index: 1; }
.scene-item.in-photo .scene-pop::after { display: none; }
.scene-glow {
  display: block; width: 100%; aspect-ratio: 1 / 1.9; border-radius: 50%;
  background: radial-gradient(ellipse 50% 50% at 50% 55%, rgb(255 222 160 / .6), rgb(255 222 160 / .18) 55%, transparent 72%);
  mix-blend-mode: screen; animation: glow-pulse 2.6s var(--ease) infinite;
}
@keyframes glow-pulse { 50% { opacity: .55; transform: scale(.96); } }
/* Desserts without a photo arrive as a standing place card on their spot. */
.scene-item.no-photo { width: auto; }
.scene-item.no-photo .scene-card { position: relative; left: auto; top: auto; transform: none; flex-direction: column; align-items: center; gap: 1px; padding: .4em .7em; font-size: clamp(7px, 1.2cqw, 11px); }
.scene-item.no-photo .scene-pop::after { left: 0; right: 0; bottom: -8%; height: 20%; }

.scene-hint {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); margin: 0; max-width: 90%; text-align: center;
  padding: .55em 1.1em; background: rgb(253 247 244 / .9); box-shadow: 0 0 0 1px rgb(200 134 10 / .45);
  font-family: var(--font-display); font-style: italic; font-size: clamp(13px, 2.4cqw, 18px); color: var(--plum); text-wrap: balance;
  animation: hint-breathe 3.2s var(--ease) infinite;
}
@keyframes hint-breathe { 50% { box-shadow: 0 0 0 1px rgb(200 134 10 / .45), 0 0 0 6px rgb(200 134 10 / .12); } }
.scene-more {
  position: absolute; right: 2.5%; top: 3.5%; padding: .4em .8em; background: var(--plum); color: var(--ivory);
  font-family: var(--font-label); font-stretch: 112%; font-size: clamp(8px, 1.4cqw, 11px); letter-spacing: .14em; text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) { .scene-pop, .scene-item.is-leaving .scene-pop, .scene-hint, .scene-glow { animation: none; } }

/* Dessert photos beside menu items */
.menu-item.has-photo { grid-template-columns: 64px minmax(0, 1fr) auto; }
.mi-photo { width: 64px; height: 48px; object-fit: contain; transition: transform .4s var(--ease-out); }
.menu-item.is-chosen .mi-photo { transform: scale(1.08) rotate(-2deg); }
.mi-desc { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); margin-top: 4px; max-width: 34em; }
@media (max-width: 520px) {
  .menu-item.has-photo { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .mi-photo { width: 46px; height: 36px; }
  .mi-desc { font-size: 12px; }
}
.scene-item.has-glass { width: calc(var(--w) * 1.5); }

/* =========================================================================================
   Build Your Dessert Table
   ========================================================================================= */
.tb-intro { position: relative; overflow: hidden; min-height: calc(100svh - var(--header-h) - 40px); display: grid; align-items: center; padding-block: clamp(48px, 8vw, 120px); }
.tb-intro[hidden], .tb-app[hidden], .tb-card[hidden] { display: none; }
.tb-intro-art { position: absolute; inset: 0; }
.tb-intro-art img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transform: scale(1.04); animation: hero-settle 2.4s var(--ease-out) both; }
.tb-intro-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(80 20 58 / .95) 0%, rgb(80 20 58 / .78) 45%, rgb(80 20 58 / .25) 100%); }
.tb-intro-copy { position: relative; max-width: 1440px; }
.tb-intro h1 { font-size: clamp(48px, 7vw, 108px); margin: 22px 0 18px; max-width: 9em; }
.tb-intro h1 em { color: var(--sand); }
.tb-intro .lede { color: var(--ivory); max-width: 22em; }
.tb-intro-text { max-width: 34em; color: var(--muted); margin: 18px 0 32px; }
.tb-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.tb-intro .btn:not(.btn-ghost) { --btn-bg: var(--ivory); --btn-fg: var(--plum); --btn-bd: var(--ivory); }
.btn-ghost.on-dark { --btn-fg: var(--ivory); --btn-bd: rgb(250 239 236 / .5); }
.tb-intro .fine a { color: var(--ivory); }

.tb-app { position: relative; padding: 16px var(--gutter) 28px; }
.tb-layout { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; max-width: 1640px; margin: 0 auto; }

/* Menu */
.tb-menu { position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100svh - var(--header-h) - 28px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.tb-drawer-handle { display: none; }
.tb-menu-head { position: sticky; top: 0; z-index: 2; background: var(--paper); padding: 20px 18px 12px; border-bottom: 1px solid var(--rule); }
.tb-menu-head h2 { font-size: 30px; color: var(--plum); margin: 0 0 12px; }
.tb-search input { width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--rule-strong); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.tb-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 12px -18px 0; padding: 0 18px 4px; }
.tb-cats::-webkit-scrollbar { display: none; }
.tb-cat { flex: none; min-height: 34px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--plum); cursor: pointer;
  font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.tb-cat[aria-pressed='true'] { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
.tb-filter-note { margin: 10px 0 0; font-size: 13px; color: var(--cocoa); }
.tb-link { background: none; border: 0; padding: 0; color: var(--plum); text-decoration: underline; cursor: pointer; font: inherit; }
.tb-products { display: grid; gap: 8px; padding: 12px 12px 24px; }
.tb-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .25s; }
.tb-card:hover { box-shadow: inset 0 0 0 1px var(--rule-strong), 0 6px 16px -10px rgb(38 8 27 / .35); }
.tb-card-img { width: 72px; height: 58px; display: grid; place-items: center; background: var(--ivory); }
.tb-card-img img { width: 100%; height: 100%; object-fit: contain; }
.tb-card-mono { width: 28px; color: var(--blush); }
.tb-card-cat { margin: 0; font-family: var(--font-label); font-stretch: 112%; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tb-card h3 { font-size: 20px; font-weight: 400; color: var(--plum); margin: 2px 0 0; line-height: 1.15; }
.tb-card-note { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.tb-card-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.tb-badge { font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--ivory-2); color: var(--cocoa); }
.tb-badge.is-pending { background: transparent; box-shadow: inset 0 0 0 1px var(--line, rgb(80 20 58 / .2)); }
.tb-price { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--muted); }
.tb-add { align-self: center; min-width: 58px; min-height: 40px; padding: 0 14px; border: 0; background: var(--plum); color: var(--ivory); cursor: pointer;
  font-family: var(--font-label); font-stretch: 112%; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.tb-add:hover { background: var(--plum-ink); }
.tb-variants { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tb-variant { min-height: 30px; padding: 0 10px; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--cocoa); font: inherit; font-size: 12px; cursor: pointer; }
.tb-variant[aria-pressed='true'] { border-color: var(--plum); color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.tb-bespoke { display: grid; gap: 4px; padding: 16px; margin-top: 6px; border: 1px dashed var(--rule-strong); color: var(--cocoa); text-decoration: none; font-size: 13.5px; }
.tb-bespoke .label { color: var(--plum); }
.tb-menu.is-filtered .tb-menu-head { box-shadow: inset 0 -2px 0 var(--gold-soft); }

/* Stage */
.tb-stage-col { position: sticky; top: calc(var(--header-h) + 12px); min-width: 0; }
.tb-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.tb-status { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(17px, 1.6vw, 21px); color: var(--plum); min-height: 1.4em; }
.tb-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-tool { min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--plum); cursor: pointer;
  font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.tb-tool:hover { border-color: var(--plum); }
.tb-tool.is-danger { color: #8e1b2e; }
.tb-tool[hidden] { display: none; }
.tb-only-touch { display: none; }
.tb-viewport { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; background: var(--ivory-2); box-shadow: 0 18px 44px -26px rgb(38 8 27 / .6), inset 0 0 0 1px var(--rule); }
.tb-viewport.is-zoomed { cursor: grab; }
.tb-stage { position: relative; aspect-ratio: 1536 / 1024; transform-origin: 0 0; container-type: inline-size; will-change: transform; }
.tb-stage picture, .tb-table { display: block; width: 100%; height: 100%; }
.tb-items, .tb-zones { position: absolute; inset: 0; }
.tb-items { pointer-events: none; }

/* Surfaces: invisible hit areas that light up when relevant */
.tb-zone { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px; transition: box-shadow .3s var(--ease), background-color .3s; -webkit-tap-highlight-color: transparent; }
.tb-zone.is-ellipse { border-radius: 50%; }
.tb-zone:hover, .tb-zone:focus-visible { outline: none; box-shadow: 0 0 0 2px rgb(255 255 255 / .85), 0 0 0 4px rgb(200 134 10 / .55); }
.tb-zone.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--plum); }
.tb-zone.is-target { background: rgb(255 244 214 / .28); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold); animation: tb-glow 1.8s var(--ease) infinite; }
@keyframes tb-glow { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgb(200 134 10 / .45); } }
.tb-zone.is-pulse { animation: tb-pulse .9s var(--ease-out); }
@keyframes tb-pulse { from { box-shadow: 0 0 0 0 rgb(255 255 255 / .9); } to { box-shadow: 0 0 0 18px rgb(255 255 255 / 0); } }

/* Desserts on the table */
.tb-item { position: absolute; }
.tb-item-in { position: relative; width: 100%; height: 100%; transform-origin: 50% 70%; }
.tb-item.mode-asset img { display: block; width: 100%; height: 100%; }
.tb-item.mode-pending .tb-item-in { display: grid; place-items: center; }
.tb-place-card {
  display: grid; justify-items: center; gap: .15em; max-width: 100%; padding: .55em .9em; text-align: center;
  background: rgb(253 247 244 / .96); box-shadow: 0 0 0 1px rgb(200 134 10 / .6), 0 6px 12px -6px rgb(38 8 27 / .4);
  font-size: clamp(7px, 1.05cqw, 13px); color: var(--plum);
}
.tb-place-name { font-family: var(--font-display); font-size: 1.25em; line-height: 1.1; }
.tb-place-variant { font-family: var(--font-label); font-stretch: 112%; font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tb-place-note { font-size: .72em; color: var(--muted); font-style: italic; }
.tb-item.is-entering .tb-item-in { animation: tb-place .45s cubic-bezier(.22, .8, .3, 1) both; }
.tb-item.is-leaving .tb-item-in { animation: tb-leave .3s var(--ease) forwards; }
@keyframes tb-place { from { opacity: 0; transform: scale(.85); } }
@keyframes tb-leave { to { opacity: 0; transform: scale(.9); } }

.tb-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 12px; }
.tb-count { margin: 0; font-family: var(--font-label); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cocoa); }
.tb-summary-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-summary .btn { min-height: 46px; padding-inline: 20px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Popover for a placed dessert */
.tb-pop { position: absolute; z-index: 30; width: min(320px, calc(100vw - 32px)); padding: 18px 18px 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--rule), 0 20px 40px -18px rgb(38 8 27 / .55); }
.tb-pop[hidden] { display: none; }
.tb-pop-close { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.tb-pop-kind { margin: 0; font-family: var(--font-label); font-stretch: 112%; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tb-pop h3 { font-size: 26px; color: var(--plum); margin: 4px 30px 8px 0; }
.tb-pop-desc { font-size: 13px; color: var(--muted); margin: 8px 0; }
.tb-qty { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 14px; padding: 10px 0; border-block: 1px solid var(--rule); }
.tb-qty output, .tb-review-table output { min-width: 74px; text-align: center; font-weight: 500; color: var(--plum); }
.tb-pop-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Dialogs */
.tb-dialog { width: min(820px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(38 8 27 / .6); }
.tb-dialog::backdrop { background: rgb(38 8 27 / .55); backdrop-filter: blur(2px); }
.tb-dialog-inner { position: relative; padding: clamp(20px, 4vw, 40px); }
.tb-dialog h2 { font-size: clamp(30px, 4vw, 44px); color: var(--plum); margin: 10px 0 18px; }
.tb-review-stage { margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--rule); }
.tb-stage-static .tb-items { pointer-events: none; }
.tb-review-table .mi-qty { justify-content: flex-end; }
.tb-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.tb-designs { list-style: none; margin: 16px 0 0; padding: 0; }
.tb-designs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.tb-designs li > div:first-child { display: grid; }
.tb-designs li > div:last-child { display: flex; gap: 6px; }

@media (max-width: 960px) {
  .tb-app { padding: 8px 0 96px; }
  .tb-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tb-stage-col { position: static; padding: 0 12px; }
  .tb-toolbar { margin-bottom: 8px; }
  .tb-status { font-size: 16px; width: 100%; }
  .tb-only-touch { display: inline-block; }
  .tb-viewport { margin: 0 -12px; box-shadow: none; }
  /* The menu becomes a drawer that peeks from the bottom of the screen. */
  .tb-menu {
    position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; top: auto; max-height: min(78svh, 680px);
    box-shadow: 0 -14px 30px -18px rgb(38 8 27 / .55); border-radius: 14px 14px 0 0;
    transform: translateY(calc(100% - 62px)); transition: transform .45s var(--ease-out);
  }
  .tb-menu.is-open { transform: none; }
  .tb-drawer-handle {
    display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; height: 62px; padding-top: 10px;
    position: sticky; top: 0; z-index: 3; border: 0; background: var(--paper); cursor: pointer; color: var(--plum);
    font-family: var(--font-label); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  }
  .tb-drawer-handle span { width: 42px; height: 4px; border-radius: 2px; background: var(--rule-strong); }
  .tb-menu-head { top: 62px; padding-top: 4px; }
  .tb-menu-head h2 { display: none; }
  .tb-summary { padding: 0 12px; }
  .tb-summary-actions { width: 100%; }
  .tb-summary-actions .btn { flex: 1 1 140px; }
  .tb-pop { position: fixed; left: 10px; right: 10px; bottom: 72px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-zone.is-target, .tb-intro-art img { animation: none; }
}
.design-cta { margin: -12px 0 22px; font-size: 14px; }
.design-cta a { color: var(--plum); }
.design-attached { margin: 0 0 22px; }
.optional-builder { margin-top: 16px; color: var(--muted); }
.optional-builder a { color: var(--ivory); }
