/* Sweet Induljence
   Direction: "Caramel Hour". Warm cream page, deep cranberry for the limited drop,
   caramel and butter accents. Fraunces (soft, a little wonky) carries the appetite;
   Plus Jakarta Sans keeps everything else calm. Scalloped butter stickers carry the festive note. */

:root {
  color-scheme: light;
  --cream: #FBF1E3;
  --cream-2: #F5E2C8;
  --plate: #F3DABC;
  --paper: #FFFAF2;
  --ink: #2B140C;
  --cocoa: #5E3A2A;
  --cocoa-2: #7A5442;
  --cranberry: #8E1B2C;
  --cranberry-hi: #A52236;
  --wine: #4E0C18;
  --wine-2: #631224;
  --caramel: #C77A2E;
  --caramel-hi: #E0974A;
  --butter: #F6C453;
  --butter-hi: #FFD872;
  --line: rgba(43, 20, 12, .12);
  --line-2: rgba(43, 20, 12, .07);
  --line-dark: rgba(255, 240, 220, .16);
  --ok: #2F6B3A;
  --err: #B3261E;
  --wrap: 1240px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(78, 12, 24, .06), 0 10px 30px -12px rgba(78, 12, 24, .22);
  --shadow-lg: 0 2px 4px rgba(78, 12, 24, .08), 0 30px 60px -20px rgba(78, 12, 24, .35);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(142, 27, 44, .15);
  touch-action: manipulation;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section[id], [id="top"] { scroll-margin-top: 88px; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100, "opsz" 120;
  font-weight: 650;
  color: var(--ink);
  line-height: .98;
  letter-spacing: -.025em;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--cranberry);
}
.display.on-dark { color: var(--paper); }
.display.on-dark em { color: var(--butter); }
.eyebrow {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--caramel); margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--butter); }
.lede { font-size: 1.12rem; line-height: 1.65; max-width: 46ch; color: var(--cocoa); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 0;
  transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, color .18s;
}
.btn-primary { background: var(--cranberry); color: var(--paper); box-shadow: 0 10px 24px -10px rgba(142, 27, 44, .7); }
.btn-primary:hover { background: var(--cranberry-hi); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cocoa); }
.btn-butter { background: var(--butter); color: var(--wine); }
.btn-butter:hover { background: var(--butter-hi); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.loading { pointer-events: none; }
.btn .spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  display: none; animation: spin .7s linear infinite;
}
.btn.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- announce + nav ---------- */
.announce {
  background: var(--wine); color: var(--cream);
  font-size: .86rem; font-weight: 600; text-align: center;
  padding: 9px 16px; display: flex; justify-content: center; align-items: center; gap: 10px;
}
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 0 4px rgba(246, 196, 83, .25); flex: none; }
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; min-width: 0; }
.brand-logo { width: 48px; height: 48px; flex: none; transition: transform .45s var(--ease, ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-j { color: var(--caramel); }
.brand-foot .brand-logo { width: 72px; height: 72px; }
.brand-foot .brand-j { color: var(--caramel-hi); }
.brand-name {
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 700;
  font-variation-settings: "SOFT" 100; font-size: 1.7rem; color: var(--cranberry); letter-spacing: -.02em;
}
.brand-sub { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; color: var(--cocoa); margin-top: 3px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--cocoa); padding: 6px 0; }
.nav-links a:hover { color: var(--cranberry); }

.box-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 8px 0 14px; border-radius: 999px;
  background: var(--ink); color: var(--cream); border: 0; font-weight: 700; font-size: .92rem;
  transition: background-color .18s;
}
.box-btn:hover { background: var(--wine); }
.box-count {
  min-width: 30px; height: 30px; border-radius: 999px; padding: 0 8px;
  display: inline-grid; place-items: center; background: var(--butter); color: var(--wine);
  font-variant-numeric: tabular-nums; font-size: .9rem;
}
.box-ico { width: 30px; height: 26px; overflow: visible; }
.box-ico .box-body { fill: var(--caramel); }
.box-ico .box-lid path { fill: var(--caramel-hi); }
.box-ico .box-ribbon { stroke: var(--cranberry); stroke-width: 3; fill: none; }
.box-ico .box-lid { transform-box: fill-box; transform-origin: 50% 100%; }
.pop .box-lid { animation: lid .6s var(--ease); }
.pop { animation: bump .5s var(--ease); }
@keyframes lid { 0% { transform: none; } 35% { transform: translateY(-7px) rotate(-14deg); } 100% { transform: none; } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.08); } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 140px; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .display { font-size: clamp(2.7rem, 6.4vw, 5.6rem); margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); justify-content: start; }
.hero-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--cocoa-2); }
.hero-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--ink); }
.hero-art { position: relative; }
.hero-glow {
  position: absolute; inset: -10% -14% -6% -6%;
  background: radial-gradient(closest-side, rgba(246, 196, 83, .55), rgba(224, 151, 74, .18) 60%, transparent 75%);
  filter: blur(10px);
}
.hero-img { position: relative; width: 100%; animation: rise 1.1s var(--ease) both; }
.soft-edge {
  -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 52%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 58% 60% at 50% 52%, #000 58%, transparent 100%);
}
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* scalloped butter sticker */
.sticker {
  --s: 9px;
  position: absolute; display: grid; place-items: center; text-align: center;
  width: 148px; aspect-ratio: 1; border-radius: 50%;
  background: var(--butter); color: var(--wine);
  -webkit-mask: radial-gradient(var(--s) at 50% var(--s), #0000 98%, #000) 50% calc(-1 * var(--s)) / calc(2 * var(--s)) 100% repeat-x;
  filter: drop-shadow(0 8px 14px rgba(78, 12, 24, .25));
  line-height: 1;
}
.sticker-hero {
  right: 2%; top: 4%; transform: rotate(10deg);
  animation: wobble 1.4s .5s var(--ease) both;
  -webkit-mask: none;
  clip-path: polygon(50% 0%, 56% 6%, 63% 2%, 67% 9%, 75% 7%, 77% 15%, 85% 15%, 85% 23%, 93% 25%, 91% 33%, 98% 37%, 94% 44%, 100% 50%, 94% 56%, 98% 63%, 91% 67%, 93% 75%, 85% 77%, 85% 85%, 77% 85%, 75% 93%, 67% 91%, 63% 98%, 56% 94%, 50% 100%, 44% 94%, 37% 98%, 33% 91%, 25% 93%, 23% 85%, 15% 85%, 15% 77%, 7% 75%, 9% 67%, 2% 63%, 6% 56%, 0% 50%, 6% 44%, 2% 37%, 9% 33%, 7% 25%, 15% 23%, 15% 15%, 23% 15%, 25% 7%, 33% 9%, 37% 2%, 44% 6%);
}
.sticker > div { max-width: 74%; }
.sticker small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; line-height: 1.15; }
.sticker strong { display: block; font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 750; margin: 4px 0 3px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sticker s { font-size: .8rem; font-weight: 700; opacity: .75; }
@keyframes wobble { 0% { opacity: 0; transform: rotate(-30deg) scale(.4); } 60% { opacity: 1; transform: rotate(16deg) scale(1.06); } 100% { transform: rotate(10deg) scale(1); } }

/* ---------- drop ---------- */
.drop { background: var(--wine); color: var(--cream); position: relative; padding: 40px 0 110px; margin-top: -1px; }
.drip { position: absolute; top: -1px; left: 0; width: 100%; height: 110px; display: block; }
.drip-caramel { fill: var(--caramel); }
.drip-cream { fill: var(--cream); }
.drop > .wrap { position: relative; padding-top: 90px; }
.drop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.drop-sub { margin-top: 18px; color: rgba(255, 240, 220, .8); font-size: 1.05rem; max-width: 52ch; }
.countdown { background: rgba(255, 240, 220, .06); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 16px 20px; }
.countdown-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--butter); margin-bottom: 8px; }
.countdown-digits { display: flex; gap: 18px; }
.countdown-digits div { display: flex; flex-direction: column; align-items: center; min-width: 54px; }
.countdown-digits span { font-family: "Fraunces", serif; font-size: 2.4rem; font-weight: 650; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.countdown-digits small { font-size: .72rem; color: rgba(255, 240, 220, .7); margin-top: 6px; letter-spacing: .08em; }
.countdown.closed .countdown-digits { display: none; }

.grid-drop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ---------- product card ---------- */
.card {
  background: var(--plate); color: var(--cocoa); border-radius: var(--r-lg);
  padding: 22px; display: grid; grid-template-columns: 1fr; gap: 16px;
  box-shadow: var(--shadow); position: relative; min-width: 0;
}
.card-media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--plate); aspect-ratio: 16 / 10; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease), opacity .25s; }
.card-tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  background: var(--cranberry); color: var(--paper); font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.card h3 { font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100; font-size: 1.55rem; font-weight: 650; color: var(--ink); line-height: 1.08; letter-spacing: -.015em; }
.card-blurb { font-size: .98rem; color: var(--cocoa); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(43, 20, 12, .07); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button {
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font-weight: 700; font-size: .88rem; color: var(--cocoa);
  transition: background-color .18s, color .18s;
}
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(43, 20, 12, .15); }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price strong { font-family: "Fraunces", serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price s { color: var(--cocoa-2); font-weight: 600; font-size: .95rem; }
.serves { font-size: .86rem; color: var(--cocoa-2); font-weight: 600; }
.add-btn { width: 100%; }
.card.closed .add-btn { background: var(--cocoa-2); box-shadow: none; }

.card-featured { grid-column: 1 / -1; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; background: var(--paper); }
.assort { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.assort figure { margin: 0; text-align: center; }
.assort img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--plate); border-radius: 50%; padding: 6px; }
.assort figcaption { font-size: .74rem; font-weight: 700; color: var(--cocoa); margin-top: 6px; line-height: 1.25; }
.assort figcaption b { display: block; font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--cranberry); }

/* ---------- signature ---------- */
.signature { padding: 110px 0 90px; }
.signature .display { margin-bottom: 40px; max-width: 16ch; }
.card-hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; padding: 32px; background: var(--paper); }
.card-hero .card-media { aspect-ratio: 4 / 3; background: transparent; }
.card-hero h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.card-hero .card-body { display: grid; gap: 18px; }

/* ---------- occasions ---------- */
.occasions { padding: 30px 0 100px; }
.occ-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.occ-grid .display { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.occ-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.occ-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 18px; font-weight: 700; color: var(--ink);
  transform: rotate(var(--rot, 0deg));
}
.occ-list li:nth-child(3n) { background: var(--butter); border-color: transparent; color: var(--wine); }
.occ-list li:nth-child(4n) { background: var(--cranberry); border-color: transparent; color: var(--paper); }

/* ---------- how ---------- */
.how { padding: 100px 0; background: var(--cream-2); }
.how .display { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow); }
.step-n { font-family: "Fraunces", serif; font-size: 2.2rem; font-weight: 700; color: var(--caramel); font-variant-numeric: tabular-nums; line-height: 1; }
.steps h3 { font-size: 1.1rem; color: var(--ink); margin: 14px 0 8px; }
.steps p { font-size: .96rem; }

/* ---------- faq ---------- */
.faq { padding: 100px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.06rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--cranberry); border-bottom: 2.5px solid var(--cranberry);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 20px; max-width: 62ch; }

/* ---------- final + footer ---------- */
.final-cta { background: var(--cranberry); padding: 90px 0; }
.final-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.final-cta .display { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.footer { background: var(--wine); color: rgba(255, 240, 220, .8); padding: 56px 0 calc(28px + var(--safe-b)); }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.brand-foot .brand-name { color: var(--butter); }
.brand-foot .brand-sub { color: var(--cream); }
.foot-note { margin-top: 12px; }
.foot-contact { text-align: right; }
.foot-phone { display: inline-block; font-family: "Fraunces", serif; font-size: 2rem; font-weight: 650; color: var(--paper); text-decoration: none; font-variant-numeric: tabular-nums; margin: 4px 0; }
.foot-phone:hover { color: var(--butter); }
.foot-small { font-size: .86rem; }
.foot-legal { padding-top: 20px; font-size: .84rem; }

/* ---------- floating box (mobile) ---------- */
.box-fab {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 40;
  display: none; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--cream); font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), opacity .25s;
}
.box-fab.is-empty { transform: translateY(140%); opacity: 0; pointer-events: none; }
.fab-text { font-variant-numeric: tabular-nums; }

/* fly-to-box clone + sprinkles */
.flyer { position: fixed; z-index: 80; pointer-events: none; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-lg); }
.sprinkle { position: fixed; z-index: 81; width: 10px; height: 4px; border-radius: 4px; pointer-events: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: .94rem; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s var(--ease); pointer-events: none; max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- order sheet ---------- */
.sheet {
  padding: 0; border: 0; margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh;
  width: min(520px, 100vw); max-width: 100vw;
  background: var(--paper); color: var(--cocoa);
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(43, 20, 12, .45); backdrop-filter: blur(3px); }
.sheet[open] { animation: slide-in .38s var(--ease); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-inner { display: flex; flex-direction: column; height: 100%; }
.sheet-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.sheet-titles { flex: 1; min-width: 0; }
.sheet-kicker { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--caramel); }
.sheet-title { font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100; font-size: 1.6rem; font-weight: 650; color: var(--ink); line-height: 1.1; letter-spacing: -.015em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(43, 20, 12, .06); display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: rgba(43, 20, 12, .12); }
.icon-btn svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.progress { height: 4px; background: var(--line-2); }
.progress span { display: block; height: 100%; width: 0; background: var(--cranberry); transform-origin: left; transition: width .35s var(--ease); }
.sheet-body { flex: 1; overflow-y: auto; padding: 22px 20px 28px; overscroll-behavior: contain; }
.sheet-foot { padding: 16px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line-2); background: var(--paper); display: grid; gap: 10px; }
.sheet-foot .btn { width: 100%; }
.foot-sum { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.foot-sum strong { font-family: "Fraunces", serif; font-size: 1.5rem; }
.foot-hint { font-size: .82rem; color: var(--cocoa-2); text-align: center; }

.view-in { animation: view-in .32s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* box lines */
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; background: var(--cream); border-radius: var(--r-md); }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--plate); }
.line-name { font-weight: 700; color: var(--ink); line-height: 1.25; }
.line-meta { font-size: .84rem; color: var(--cocoa-2); font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 2px; background: var(--paper); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.stepper button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.stepper button:hover { background: rgba(43, 20, 12, .07); }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 40px 10px; display: grid; gap: 14px; justify-items: center; }
.empty .box-ico { width: 72px; height: 62px; opacity: .9; }
.empty p { max-width: 30ch; }
.note { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(246, 196, 83, .22); color: var(--wine); font-size: .9rem; }

/* step fields */
.q-lede { margin-bottom: 18px; color: var(--cocoa); }
.choices { display: grid; gap: 10px; }
.choice {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
  padding: 16px; border-radius: var(--r-md); background: var(--cream); border: 2px solid transparent;
  cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: rgba(142, 27, 44, .25); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--cranberry); background: #FFF3EA; }
.choice:has(input:focus-visible) { outline: 3px solid var(--caramel); outline-offset: 2px; }
.choice-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; color: var(--cranberry); font-size: 1.1rem; }
.choice b { display: block; color: var(--ink); }
.choice span.small { font-size: .86rem; color: var(--cocoa-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--cream); border: 1.5px solid var(--line); font-weight: 600; color: var(--ink); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip input:checked + span { background: var(--cranberry); border-color: var(--cranberry); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--caramel); outline-offset: 2px; }
.chip.chip-none input:checked + span { background: var(--ok); border-color: var(--ok); }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label, .field .label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .hint { font-size: .84rem; color: var(--cocoa-2); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cranberry); outline: none; box-shadow: 0 0 0 3px rgba(142, 27, 44, .15); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .86rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.date-lock { display: grid; gap: 10px; }
.date-card { padding: 18px; border-radius: var(--r-md); background: var(--cream); border: 2px solid var(--cranberry); }
.date-card b { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--ink); display: block; }
.legend { font-weight: 700; color: var(--ink); margin: 22px 0 10px; font-size: .95rem; }
.counter { font-size: .78rem; color: var(--cocoa-2); text-align: right; font-variant-numeric: tabular-nums; }

/* review */
.review { display: grid; gap: 14px; }
.review-block { background: var(--cream); border-radius: var(--r-md); padding: 16px; }
.review-block h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--caramel); margin-bottom: 8px; }
.review-block p, .review-block li { color: var(--ink); }
.review-block ul { margin: 0; padding-left: 18px; }
.review-edit { float: right; font-size: .84rem; font-weight: 700; color: var(--cranberry); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.total-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.total-row.big { font-weight: 800; font-size: 1.1rem; margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* success ticket */
.ticket {
  background: var(--cream); border-radius: var(--r-lg); padding: 28px 22px; text-align: center; position: relative;
  border: 2px dashed rgba(142, 27, 44, .35);
}
.ticket .check { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; background: var(--butter); display: grid; place-items: center; }
.ticket .check svg { width: 30px; height: 30px; stroke: var(--wine); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ticket h3 { font-family: "Fraunces", serif; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.ticket .code { display: inline-block; margin: 14px 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; background: var(--paper); padding: 8px 14px; border-radius: 10px; color: var(--cranberry); }
.ticket p { max-width: 36ch; margin: 0 auto; }
.next-list { text-align: left; margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.next-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.next-list b { width: 28px; height: 28px; border-radius: 50%; background: var(--cranberry); color: var(--paper); display: grid; place-items: center; font-size: .86rem; }
.demo-flag { margin-top: 16px; font-size: .8rem; color: var(--cocoa-2); }
.pay { text-align: left; margin: 18px 0 4px; padding: 18px 16px; background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line); }
.pay-title { font-family: "Fraunces", serif; font-size: 1.25rem; color: var(--ink); margin: 0 0 6px; }
.ticket .pay-lede { max-width: none; margin: 0 0 8px; font-size: .92rem; color: var(--cocoa); }
.pay-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.pay-what { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.pay-what .small { font-size: .84rem; color: var(--cocoa-2); }
.btn-pay { flex: none; min-height: 44px; padding: 10px 18px; font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none; }
.pay-row.is-opened .btn-pay { background: var(--ok); box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--cranberry); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.date-lock + .hint { margin-top: 12px; }
@media (max-width: 380px) { .pay-row { flex-direction: column; align-items: stretch; } .btn-pay { width: 100%; } }

/* ---------- motion (same vocabulary as our other storefront builds) ----------
   One ease, small lifts, glow on primary actions, image zoom on cards, pops on change.
   Hover effects only on devices with a real pointer, so nothing sticks on touch screens. */
:root { --ease-out: cubic-bezier(.2, .7, .3, 1); }
.btn { transition: background-color .25s, box-shadow .3s var(--ease-out), color .2s, transform .25s var(--ease-out); }
.btn .ar { display: inline-block; transition: transform .3s var(--ease-out); }
.card { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card-media img { transition: transform .9s var(--ease-out), opacity .25s; }
.steps li { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.occ-list li { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.assort img { transition: transform .45s var(--ease-out); }
.chip span { transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease-out); }
.choice { transition: border-color .2s, background-color .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--cranberry); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .4s var(--ease-out);
}
.icon-btn { transition: background-color .2s, transform .25s var(--ease-out); }
.stepper button { transition: background-color .2s, transform .2s var(--ease-out); }
.review-edit { transition: color .2s; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(142, 27, 44, .85); }
  .btn-butter:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(246, 196, 83, .95); }
  .btn-ghost:hover { transform: translateY(-2px); }
  .btn:hover .ar { transform: translateX(4px); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
  .box-btn:hover .box-lid { transform: translateY(-3px) rotate(-10deg); }
  .box-ico .box-lid { transition: transform .3s var(--ease-out); }
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .card:hover .card-media img { transform: scale(1.06); }
  .assort figure:hover img { transform: translateY(-4px) rotate(-5deg); }
  .steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .occ-list li:hover { transform: rotate(0deg) translateY(-3px) scale(1.04); box-shadow: var(--shadow); }
  .seg button:not([aria-pressed="true"]):hover { color: var(--ink); background: rgba(255, 250, 242, .6); }
  .chip:hover span { border-color: var(--cranberry); transform: translateY(-2px); }
  .choice:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .icon-btn:hover { transform: scale(1.06); }
  .stepper button:hover { transform: scale(1.1); }
  .faq-list summary:hover { color: var(--cranberry); }
  .review-edit:hover { color: var(--cranberry-hi); }
  .foot-phone { transition: color .2s; }
}
.btn:active { transform: translateY(0) scale(.97); }
.choice:active, .chip:active span, .stepper button:active { transform: scale(.96); }

/* selected / changed feedback */
.card.picked { box-shadow: 0 0 0 3px var(--butter), var(--shadow-lg); }
.add-btn.added { background: var(--ok); box-shadow: 0 10px 24px -12px rgba(47, 107, 58, .8); }
.pop-once { animation: pop-once .38s var(--ease-out); }
@keyframes pop-once { 40% { transform: scale(1.14); } }
.bump { animation: bump-n .45s var(--ease-out); }
@keyframes bump-n { 40% { transform: scale(1.45); } }
.faq-list details[open] p { animation: fade-down .35s var(--ease-out); }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }

/* headline lines slide up into place */
.h-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.h-line > span { display: block; animation: line-up 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes line-up { from { transform: translateY(110%); } }

/* scroll reveal: uses `translate` so it never fights the hover `transform` */
.motion .rv {
  opacity: 0; translate: 0 22px;
  transition: opacity .75s var(--ease-out) var(--d, 0ms), translate .75s var(--ease-out) var(--d, 0ms),
              transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.motion .rv.in { opacity: 1; translate: none; }

/* keep the page still while the order sheet is open */
html:has(.sheet[open]) { overflow: hidden; }
.line > div { min-width: 0; }
.line-name { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .motion .rv { opacity: 1; translate: none; }
  .h-line > span { animation: none; }
}

/* ---------- mobile menu ---------- */
.menu-btn {
  display: none; position: relative; width: 46px; height: 46px; flex: none;
  border: 0; border-radius: 50%; background: rgba(43, 20, 12, .07);
  transition: background-color .2s, transform .25s var(--ease-out);
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.menu-btn:active { transform: scale(.94); }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -24px rgba(78, 12, 24, .45);
  max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  animation: menu-in .32s var(--ease-out);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }
.mobile-menu-inner { display: grid; padding-top: 8px; padding-bottom: 18px; }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px; min-height: 54px;
  font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100;
  font-size: 1.35rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:active { color: var(--cranberry); }
.mobile-menu .mm-wa { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; font-weight: 700; color: var(--cranberry); border-bottom: 0; margin-top: 6px; }
.wa-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wa-ico path:last-child { fill: currentColor; stroke: none; }
.foot-phone { display: inline-flex; align-items: center; gap: 10px; }
.foot-phone .wa-ico { width: 26px; height: 26px; color: var(--butter); }
.faq-list a, .q-lede a, .ticket a:not(.btn), .err a { color: var(--cranberry); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav-row { gap: 10px; }
}
@media (min-width: 1001px) { .mobile-menu { display: none !important; } }

/* ---------- image resilience ---------- */
/* never paint alt text over the card if an image is slow or missing (still read by screen readers) */
.card-media img, .assort img, .hero-img, .line img, .flyer { color: transparent; font-size: 0; }
img.img-missing { opacity: 0; }
.card-media:has(img.img-missing), .assort figure:has(img.img-missing) {
  background: radial-gradient(circle at 50% 55%, rgba(255, 250, 242, .9) 0 38%, transparent 39%), var(--plate);
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .box-btn { margin-left: auto; }
  .hero-grid, .occ-grid, .faq-grid, .card-hero, .card-featured { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero { padding: 24px 0 120px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .box-btn .box-label { display: none; }
  .box-btn { padding: 0 6px 0 10px; }
  .box-fab { display: inline-flex; }
  .footer { padding-bottom: calc(100px + var(--safe-b)); }
  .grid-drop { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .assort { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; }
  .assort figure { flex: 0 0 calc((100% - 20px) / 3); }
  .hero-art { max-width: 320px; }
  .hero-grid { gap: 16px; }
  .sticker small { font-size: .54rem; }
  .hero .display { font-size: clamp(2.5rem, 11vw, 3.4rem); margin-bottom: 18px; }
  .hero-ctas { margin: 24px 0 28px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .sticker { width: 104px; }
  .sticker-hero { right: -4%; top: 0; }
  .sticker strong { font-size: 2rem; }
  .card { padding: 16px; }
  .card-hero { padding: 18px; gap: 20px; }
  .countdown { width: 100%; }
  .countdown-digits { justify-content: space-between; }
  .foot-contact { text-align: left; }
  .sheet { width: 100vw; }
  .drop > .wrap { padding-top: 70px; }
  .drip { height: 80px; }
}

@media (max-width: 480px) {
  .box-btn { display: none; }
  .menu-btn { margin-left: auto; }
}
@media (max-width: 400px) {
  .brand-name { font-size: 1.3rem; white-space: nowrap; }
  .brand-logo { width: 40px; height: 40px; }
  .nav .brand { gap: 8px; }
  .brand-sub { font-size: .56rem; letter-spacing: .26em; }
  .nav-row { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
