/* Siri Table Decorations: shop
   Palette taken from their logo and posters: plum/maroon, antique gold,
   the deep teal of the logo roundel, blush and paper cream. */

:root {
  color-scheme: light;
  --plum: #6B1A45;
  --plum-deep: #4A0F2F;
  --maroon: #7E1B2B;
  --gold: #B8893A;
  --gold-soft: #EBD6A6;
  --teal: #0F3B3C;
  --teal-2: #164B4C;
  --blush: #F5E1DE;
  --cream: #FBF5EC;
  --paper: #FFFDF8;
  --ink: #2B1820;
  --muted: #6D5A61;
  --line: #E7D8CF;
  --wa: #1F6B4A;
  --gold-ink: #8A6420;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --script: "Great Vibes", "Brush Script MT", cursive;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --shadow-1: 0 1px 2px rgba(43, 24, 32, .06), 0 4px 14px rgba(43, 24, 32, .06);
  --shadow-2: 0 2px 6px rgba(43, 24, 32, .08), 0 18px 40px rgba(43, 24, 32, .14);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
/* paper grain, very faint */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .38 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .top, .foot { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
h2 { font-size: clamp(30px, 5.4vw, 52px); }
h3 { font-size: 21px; }
p { margin: 0; }
.hand { font-family: var(--hand); font-weight: 400; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.foot a { color: var(--plum); }
.bag__foot .fine a { color: var(--plum); }
.announce {
  position: relative; z-index: 31; display: flex; justify-content: center; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  min-height: 40px; padding: 8px var(--gutter); background: var(--plum); color: var(--cream);
  font-size: 13.5px; text-decoration: none; text-align: center;
}
.announce b { color: var(--gold-soft); letter-spacing: .06em; }
.announce__go { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: transform .3s var(--ease-spring); }
.announce:hover .announce__go { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--plum); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 15.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  transition: transform .45s var(--ease-spring), box-shadow .25s, background-color .2s;
  will-change: transform;
  user-select: none;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn:hover { box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn:active, .btn.is-pressed { transform: scale(.955); transition-duration: .12s; }
.btn--plum { --bg: var(--plum); }
.btn--plum:hover { --bg: var(--plum-deep); }
.btn--gold { --bg: var(--gold); --fg: #1c1208; }
.btn--cream { --bg: var(--cream); --fg: var(--teal); }
.btn--wa { --bg: var(--wa); }
.btn--ghost { --bg: transparent; --fg: var(--plum); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--plum) 35%, transparent); }
.btn--ghost:hover { --bg: color-mix(in srgb, var(--plum) 7%, transparent); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: color-mix(in srgb, var(--ink) 6%, transparent);
  transition: transform .35s var(--ease-spring), background-color .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }
.icon-btn:active { transform: scale(.88); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  height: var(--top-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font: italic 600 22px/1 var(--serif); color: var(--plum); display: flex; flex-direction: column; }
.brand__name small { font: 500 10.5px/1.4 var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.top__nav { display: none; gap: 4px; }
.top__nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); transition: color .2s, background-color .2s; }
.top__nav a:hover { color: var(--plum); background: color-mix(in srgb, var(--plum) 7%, transparent); }
.bag-btn {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--teal); color: var(--gold-soft);
  transition: transform .45s var(--ease-spring);
}
.bag-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.bag-btn:active { transform: scale(.9); }
.bag-btn.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-8deg); } 60% { transform: scale(.94) rotate(4deg); } 100% { transform: scale(1); } }
.bag-btn__count {
  position: absolute; top: -3px; right: -3px;
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: #1c1208;
  font: 700 11.5px/21px var(--sans); text-align: center;
  transform: scale(0); transition: transform .4s var(--ease-spring);
}
.bag-btn__count.on { transform: scale(1); }
@media (min-width: 860px) { .top__nav { display: flex; } }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 40px;
  padding: clamp(28px, 6vw, 72px) var(--gutter) clamp(40px, 7vw, 88px);
  max-width: 1280px; margin: 0 auto;
}
.hero__kicker { color: var(--gold-ink); font-size: 19px; margin-bottom: 10px; transform: rotate(-1.5deg); transform-origin: left; }
.hero__title { font-size: clamp(42px, 10.5vw, 86px); font-weight: 450; line-height: 1.02; letter-spacing: -.025em; }
.hero__em { position: relative; font-style: italic; color: var(--plum); white-space: nowrap; }
.scribble { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 330; stroke-dashoffset: 330; animation: draw 1.1s .55s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lede { max-width: 33em; margin-top: 22px; font-size: clamp(16.5px, 2.1vw, 19px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note { margin-top: 26px; font-size: 18px; color: var(--plum); display: flex; align-items: center; gap: 10px; transform: rotate(-1deg); transform-origin: left; }
.hero__note svg { width: 34px; height: 20px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }

/* hero entrance */
.hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .18s; }
.hero__copy > :nth-child(4) { animation-delay: .26s; }
.hero__copy > :nth-child(5) { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__stack {
  position: relative;
  width: min(100%, 440px); aspect-ratio: 4 / 4.6;
  margin: 0 auto 30px; touch-action: pan-y;
}
.polaroid {
  position: absolute; inset: 6% 12% 10%;
  margin: 0; padding: 10px 10px 42px;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: var(--shadow-2);
  transform: translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform .7s var(--ease-spring);
  cursor: grab;
  opacity: 0; animation: drop .6s var(--ease-out) forwards;
}
.polaroid:nth-child(1) { animation-delay: .1s; }
.polaroid:nth-child(2) { animation-delay: .18s; }
.polaroid:nth-child(3) { animation-delay: .26s; }
@keyframes drop { 0% { opacity: 0; transform: translate(var(--x), calc(var(--y) - 40px)) rotate(calc(var(--r) * 2.2)) scale(1.06); } to { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
.polaroid.is-dragging { transition: none; cursor: grabbing; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-size: 16px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.polaroid:last-of-type figcaption { opacity: 1; transition-delay: .25s; }
.stack__hint {
  position: absolute; right: 0; bottom: -34px;
  border: 0; background: none; padding: 10px; min-height: 44px;
  color: var(--plum); font-size: 17px; transform: rotate(-4deg);
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero__stack { width: 100%; max-width: 480px; }
}

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--teal); color: var(--gold-soft);
  padding: 14px 0;
}
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker span { font: italic 400 20px/1 var(--serif); padding: 0 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.ticker span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); margin-left: 22px; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 760px; }
.section-head p { color: var(--muted); font-size: 17px; max-width: 36em; }

/* ---------- shop ---------- */
.shop { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 104px) var(--gutter) 40px; }
.chips {
  position: relative; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 26px; padding: 4px var(--gutter);
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; } }
.chip {
  position: relative; z-index: 1; flex: none;
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--muted);
  font-weight: 500; font-size: 14.5px; white-space: nowrap;
  scroll-snap-align: start;
  transition: color .3s, border-color .3s, transform .35s var(--ease-spring);
}
.chip:active { transform: scale(.94); }
.chip[aria-selected="true"] { color: var(--cream); border-color: transparent; background: transparent; }
.chips__pill {
  position: absolute; z-index: 0; top: 0; left: 0; height: 44px; width: 0;
  border-radius: 999px; background: var(--plum);
  transition: transform .5s var(--ease-spring), width .5s var(--ease-spring);
}

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
}
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; }
.card.enter { animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.card__open {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
}
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--r-md);
  background: var(--blush);
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-spring), box-shadow .3s;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.92) contrast(1.02); transition: transform .9s var(--ease-out); }
.grid.is-all .card--feat { grid-column: span 2; }
.grid.is-all .card--feat .card__media { aspect-ratio: 5 / 4; }
@media (min-width: 720px) { .grid.is-all .card--feat .card__media { aspect-ratio: 8 / 5; } }
.grid.is-all .card--feat .card__name { font-size: 22px; }
.card__open:hover .card__media img { transform: scale(1.045); }
.card__open:hover .card__media { box-shadow: var(--shadow-2); }
.card__open:active .card__media { transform: scale(.97); }
.card__tag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px 5px; border-radius: 999px;
  background: var(--paper); color: var(--plum);
  font: 400 14px/1.2 var(--hand);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transform: rotate(-3deg);
}
.card__body { padding: 12px 2px 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: start; }
.card__name { font: 500 17px/1.25 var(--serif); border: 0; background: none; padding: 0; text-align: left; }
.card__price { grid-column: 1; font-size: 14.5px; color: var(--muted); white-space: nowrap; }
.card__price b { color: var(--ink); font-weight: 600; }
.card__add {
  grid-column: 2; grid-row: 1 / span 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none;
  display: grid; place-items: center;
  background: var(--paper); color: var(--plum);
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease-spring), background-color .2s, color .2s;
}
.card__add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.card__add:hover { background: var(--plum); color: var(--paper); }
.card__add:active { transform: scale(.86); }
.card__add.done { background: var(--wa); color: #fff; }
.card.is-gone { display: none; }
.card__sample {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 8px 3px; border-radius: 999px;
  background: rgba(43, 24, 32, .55); color: #fff;
  font: 500 10.5px/1.5 var(--sans); letter-spacing: .04em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { position: relative; display: block; max-width: 460px; margin-bottom: 16px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding: 0 18px 0 46px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font: 400 16px var(--sans); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent); }
.shop__more { display: flex; margin: 34px auto 0; }
.shop__empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; gap: 6px; }
.shop__empty .hand { font-size: 22px; color: var(--plum); }
.shop__empty a { color: var(--plum); font-weight: 600; }
.sheet__note { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); color: var(--muted); font-size: 13.5px; border-left: 3px solid var(--gold); }
.credits { width: 100%; font-size: 13px; }
.credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--muted); }
.credits ul { columns: 2 260px; padding-left: 18px; margin: 8px 0 0; }
.credits li { margin-bottom: 4px; break-inside: avoid; }
.credits a { color: var(--plum); }

.fine { font-size: 13px; color: var(--muted); margin-top: 26px; max-width: 46em; }

/* ---------- try ---------- */
.try {
  display: grid; gap: 34px;
  margin: clamp(48px, 8vw, 96px) var(--gutter) 0;
  padding: clamp(26px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--teal);
  color: var(--cream);
  max-width: 1184px;
  overflow: hidden;
}
@media (min-width: 1280px) { .try { margin-inline: auto; } }
.try__kicker { color: var(--gold-soft); font-size: 20px; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.try h2 { color: var(--paper); margin: 4px 0 14px; }
.try__copy > p:not(.hand) { color: color-mix(in srgb, var(--cream) 78%, transparent); max-width: 30em; }
.try__frame { position: relative; border-radius: var(--r-md); overflow: hidden; max-width: 460px; margin: 0 auto; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.try__frame img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; transition: filter .5s; }
.tag {
  position: absolute; right: 7%; bottom: 8%;
  min-width: 46%; max-width: 76%;
  padding: 16px 20px 12px 34px;
  background: var(--paper); color: var(--ink);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
  transform: rotate(-6deg); transform-origin: 0 50%;
  animation: sway 5s ease-in-out infinite;
}
@keyframes sway { 50% { transform: rotate(-3deg); } }
.tag__hole { position: absolute; left: 9%; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--teal); }
.tag__name { display: block; font: 400 46px/1.1 var(--script); color: var(--plum); white-space: nowrap; overflow: hidden; padding-right: 4px; }
.tag__name.pop { animation: inkPop .35s var(--ease-spring); }
@keyframes inkPop { 40% { transform: scale(1.06); } }
.tag__sub { display: block; font: 500 10.5px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.field { display: grid; gap: 8px; margin: 26px 0 18px; }
.field > span { font-size: 14px; font-weight: 500; }
.field input, .field select {
  height: 54px; padding: 0 18px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink);
  font: 400 17px var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); }
.try .field > span { color: var(--gold-soft); }
.try .field input { border-color: transparent; }
.try .swatch { box-shadow: 0 0 0 2px rgba(251, 245, 236, .55); }
.try__swatches { display: flex; gap: 10px; margin-bottom: 26px; }

.swatch {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 0; padding: 0; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  transition: transform .35s var(--ease-spring);
}
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .35s var(--ease-spring); }
.swatch[aria-checked="true"]::after { opacity: 1; transform: scale(1); }
.swatch:active { transform: scale(.88); }

@media (min-width: 860px) {
  .try { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .try__visual { order: 2; }
}

/* ---------- how ---------- */
.how { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter) 0; }
.how__body { display: grid; gap: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.steps__n {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px dashed var(--gold); color: var(--plum); font-size: 26px; line-height: 1;
}
.steps h3 { margin: 6px 0 6px; }
.steps p { color: var(--muted); }
.how__photo { margin: 0; position: relative; }
.how__photo img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: 50% 0; box-shadow: var(--shadow-2); }
.how__photo figcaption { margin-top: 10px; color: var(--muted); font-size: 17px; transform: rotate(-1deg); }
@media (min-width: 860px) { .how__body { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; } }

/* ---------- bulk ---------- */
.bulk {
  position: relative; overflow: hidden;
  display: grid; margin: clamp(64px, 10vw, 120px) var(--gutter) 0;
  border-radius: var(--r-lg);
  background: var(--maroon); color: var(--cream);
  max-width: 1184px;
}
@media (min-width: 1280px) { .bulk { margin-inline: auto; } }
.bulk__img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bulk__copy { padding: clamp(26px, 5vw, 56px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.bulk__copy .hand { color: var(--gold-soft); font-size: 20px; }
.bulk h2 { font-size: clamp(28px, 4.4vw, 44px); color: var(--paper); }
.bulk__copy > p:not(.hand) { color: color-mix(in srgb, var(--cream) 80%, transparent); margin-bottom: 8px; }
@media (min-width: 860px) { .bulk { grid-template-columns: 1fr 1fr; } .bulk__img { aspect-ratio: auto; min-height: 100%; } }

/* ---------- visit ---------- */
.visit { max-width: 1280px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter) clamp(48px, 8vw, 96px); display: grid; gap: 36px; align-items: center; }
.visit address { font-style: normal; font-size: 18px; margin: 16px 0 18px; line-height: 1.55; }
.visit__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.visit__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--plum); text-decoration-color: color-mix(in srgb, var(--plum) 30%, transparent); text-underline-offset: 4px; }
.visit__photo { margin: 0; }
.visit__photo img { border-radius: var(--r-md); box-shadow: var(--shadow-2); transform: rotate(1.5deg); width: 100%; max-width: 520px; margin-left: auto; }
@media (min-width: 860px) { .visit { grid-template-columns: 1fr 1fr; } }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .hand { color: var(--plum); font-size: 17px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- sheet ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(30, 14, 22, .42);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s;
}
.scrim.on { opacity: 1; }
.sheet {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(30, 14, 22, .25);
  transform: translateY(100%);
  transition: transform .55s var(--ease-out);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.on { transform: translateY(var(--drag, 0px)); }
.sheet.is-dragging { transition: none; }
.sheet__grab { position: sticky; top: 0; z-index: 3; display: grid; place-items: center; height: 26px; margin-bottom: -26px; touch-action: none; cursor: grab; }
.sheet__grab span { width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.sheet__close { position: absolute; top: 14px; right: 14px; z-index: 4; background: rgba(255, 253, 248, .9); }
.sheet__media { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--blush); }
.sheet__media::-webkit-scrollbar { display: none; }
.sheet__media img { flex: none; width: 100%; aspect-ratio: 1 / 1; max-height: 40svh; object-fit: cover; object-position: 50% 35%; scroll-snap-align: center; }
.sheet__dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; }
.sheet__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); transition: background-color .2s, width .3s var(--ease-spring); }
.sheet__dots i.on { background: #fff; width: 18px; border-radius: 9px; }
.sheet__body { padding: 22px var(--gutter) 26px; }
.sheet__cat { color: var(--gold-ink); font-size: 17px; }
.sheet h2 { font-size: clamp(28px, 6vw, 38px); margin: 2px 0 6px; }
.sheet__price { font: 600 19px/1.3 var(--sans); color: var(--plum); }
.sheet__price small { font-weight: 400; color: var(--muted); font-size: 14px; }
.sheet__blurb { margin-top: 12px; color: var(--muted); }
.opt { margin-top: 22px; }
.opt__label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opt__label span { font-weight: 400; color: var(--muted); }
.opt__row { display: flex; flex-wrap: wrap; gap: 10px; }
.seg {
  min-height: 44px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-weight: 500; font-size: 14.5px;
  transition: border-color .2s, background-color .2s, transform .35s var(--ease-spring);
}
.seg[aria-checked="true"] { border-color: var(--plum); background: color-mix(in srgb, var(--plum) 7%, var(--paper)); color: var(--plum); }
.seg:active { transform: scale(.95); }
.sheet .field { margin: 18px 0 0; }
.field__err { font-size: 13px; color: #A3122A; min-height: 0; }
.field.has-err input { border-color: #A3122A; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.sheet__preview { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--cream); border: 1px dashed var(--gold); }
.sheet__preview p { font: 400 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sheet__preview strong { display: block; font: 400 34px/1.15 var(--script); color: var(--plum); min-height: 1.15em; word-break: break-word; }
.sheet__preview small { display: block; color: var(--muted); font-size: 14px; }
.sheet__buy { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; margin: 24px calc(var(--gutter) * -1) -26px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--paper) 75%, transparent); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 50px; flex: none; }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 22px; color: var(--plum); border-radius: 999px; }
.stepper button:active { transform: scale(.85); }
.stepper button[aria-disabled="true"] { opacity: .35; }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (min-width: 760px) {
  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(980px, calc(100vw - 48px));
    height: min(680px, calc(100dvh - 48px)); max-height: none;
    border-radius: var(--r-lg);
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); overflow: hidden;
    transform: translate(-50%, -46%) scale(.96); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .3s;
  }
  .sheet.on { transform: translate(-50%, -50%); opacity: 1; }
  .sheet__grab { display: none; }
  .sheet__media { height: 100%; }
  .sheet__media img { aspect-ratio: auto; height: 100%; max-height: none; }
  .sheet__body { overflow-y: auto; min-height: 0; padding: 36px 36px 26px; }
  .sheet__buy { margin: 24px -36px -26px; padding: 14px 36px 22px; }
}

/* ---------- bag ---------- */
.bag {
  position: fixed; z-index: 50; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  display: flex; flex-direction: column;
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(30, 14, 22, .2);
  transform: translateX(105%); transition: transform .5s var(--ease-out);
  padding-top: env(safe-area-inset-top);
}
.bag.on { transform: none; }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-size: 28px; }
.bag__list { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: cardIn .45s var(--ease-out); }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; }
.line h3 { font-size: 17px; }
.line p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.line__right { display: grid; justify-items: end; align-content: space-between; }
.line__price { font-weight: 600; }
.line__rm { border: 0; background: none; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 2px; }
.line.out { animation: lineOut .35s var(--ease-out) forwards; }
@keyframes lineOut { to { opacity: 0; transform: translateX(30px); } }
.bag__empty { flex: 1; padding: 40px 28px; text-align: center; color: var(--muted); display: grid; align-content: center; gap: 8px; }
.bag__empty .hand { font-size: 24px; color: var(--plum); }
.bag__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag__foot .fine { margin: 0; }
.bag__total { display: flex; justify-content: space-between; align-items: baseline; }
.bag__total strong { font: 600 24px var(--serif); }

/* flying thumbnail */
.fly { position: fixed; z-index: 60; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); }

/* toast */
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom));
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  max-width: calc(100vw - 32px);
  padding: 13px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: 15px;
  box-shadow: var(--shadow-2);
  transition: transform .5s var(--ease-spring), visibility 0s .5s;
}
.bag-open .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-spring), visibility 0s; }

.haptic-shim { position: fixed; left: -100px; top: 0; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

body.locked { overflow: hidden; }

/* safety net: if animations stall (throttled tab, slow phone), show the final state */
html.settled .hero__copy > *, html.settled .polaroid { animation: none; opacity: 1; }
html.settled .hero__copy > * { transform: none; }
html.settled .scribble path { animation: none; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__copy > *, .polaroid { opacity: 1; transform: none; }
  .polaroid { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
  .scribble path { stroke-dashoffset: 0; }
  .ticker__track { animation: none; }
}
