/* Sugar Craft Malta: design preview by Elevate Ads.
   Plum and lemon candy-shop system. Tokens first; DESIGN.md mirrors them. */

@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
/* static instance (optical size 96, width 75, weight 800): the hero canvas draws the same glyphs */
@font-face {
  font-family: 'Bricolage Display';
  src: url('/fonts/bricolage-display.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #fcf8fb;          /* Icing */
  --bg-2: #f0e4f1;        /* Lilac */
  --surface: #ffffff;
  --shelf: #ebebeb;       /* the grey studio backdrop of their product photos */
  --ink: #2b0a2a;         /* Plum Ink */
  --ink-2: #5e465c;
  --ink-3: #74607a;
  --plum: #651467;        /* their logo plum */
  --plum-2: #7a1f7c;
  --on-plum: #fcf8fb;
  --on-plum-2: #e7c9e6;
  --lemon: #ffd84a;       /* the one accent */
  --lemon-2: #ffcd1f;
  --line: rgba(43, 10, 42, 0.12);
  --line-strong: rgba(43, 10, 42, 0.22);
  --line-plum: rgba(252, 248, 251, 0.18);
  --error: #b3261e;
  --shadow: rgba(101, 20, 103, 0.28);

  --f-display: 'Bricolage Display', 'Arial Narrow', sans-serif-condensed, system-ui, sans-serif;
  --f-body: 'Bricolage', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-card: 22px;
  --r-tile: 18px;
  --r-block: 36px;
  --r-input: 14px;

  --gutter: 16px;
  --section: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.75, 0.2);

  --z-hero: 1;
  --z-nav: 40;
  --z-badge: 45;
  --z-toast: 50;
  --z-menu: 60;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.on-plum :focus-visible { outline-color: var(--lemon); }
::selection { background: var(--lemon); color: var(--ink); }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-plum); text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { --sec-bg: var(--bg); padding-block: var(--section); }
.section--flush { padding-top: 0; }
.section-end { height: var(--section); }
.on-plum { background: var(--plum); color: var(--on-plum); }
.on-lilac { --sec-bg: var(--bg-2); background: var(--bg-2); }
.lemon { color: var(--lemon); }

/* ---------- type ---------- */
.display, h1, h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2.7rem, 6.4vw, 6.2rem); line-height: 0.95; }
h3 { font-size: 21px; line-height: 1.25; font-weight: 600; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
}
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--lemon); box-shadow: 0 0 0 1px var(--line-strong); transform: rotate(45deg); }
.on-plum .eyebrow { color: var(--on-plum-2); }
.on-plum .eyebrow::before { box-shadow: none; }
.lede { max-width: 46ch; font-size: clamp(17px, 1.4vw, 19.5px); color: var(--ink-2); }
.on-plum .lede { color: var(--on-plum-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.hl { background: linear-gradient(transparent 62%, var(--lemon) 62%, var(--lemon) 92%, transparent 92%); padding-inline: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-plum);
  --btn-dot: rgba(252, 248, 251, 0.16);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 6px 6px 6px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--btn-dot); transition: transform 0.5s var(--ease); }
.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn--plum { --btn-bg: var(--plum); }
.btn--plum:hover { --btn-bg: var(--plum-2); }
.btn--lemon { --btn-bg: var(--lemon); --btn-fg: var(--ink); --btn-dot: rgba(43, 10, 42, 0.1); }
.btn--lemon:hover { --btn-bg: var(--lemon-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-dot: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--on-plum { --btn-fg: var(--on-plum); --btn-dot: rgba(252, 248, 251, 0.14); box-shadow: inset 0 0 0 1px var(--line-plum); }
.btn--on-plum:hover { box-shadow: inset 0 0 0 1px var(--on-plum); }
.btn--wide { width: 100%; justify-content: space-between; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; transform: none; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 2px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: var(--z-nav);
  pointer-events: none;
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1360px, 100% - 2 * var(--gutter));
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(252, 248, 251, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -26px var(--shadow);
  pointer-events: auto;
}
.nav__logo { flex: none; display: block; }
.nav__logo img { width: auto; height: 22px; }
@media (min-width: 768px) { .nav__logo img { height: 26px; } }
.nav__links { display: none; gap: 4px; margin-inline: auto; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current='page'] { background: var(--bg-2); color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1060px) { .nav__links { display: flex; } .nav__end { margin-left: 0; } }
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.cart-btn:hover { background: var(--plum-2); }
.cart-btn:active { transform: scale(0.97); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn__count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.cart-btn.is-bump { animation: bump 0.6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } }
@media (max-width: 479px) { .cart-btn__label { display: none; } .cart-btn { padding: 0 12px 0 14px; } }
.menu-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-2);
}
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1060px) { .menu-btn { display: none; } }

/* full-screen menu below 1060px */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: 104px var(--gutter) 32px;
  background: var(--plum);
  color: var(--on-plum);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-open .menu { opacity: 1; }
.menu__close { position: absolute; top: 22px; right: var(--gutter); display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(252, 248, 251, 0.12); color: var(--on-plum); }
.menu__close svg { width: 22px; height: 22px; }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 12vw, 4.6rem);
  line-height: 1.05;
  text-decoration: none;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: 0.05s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: 0.1s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: 0.15s; }
.menu-open .menu__links li:nth-child(5) a { transition-delay: 0.2s; }
.menu__foot { margin-top: auto; padding-top: 40px; display: grid; gap: 6px; color: var(--on-plum-2); font-size: 15px; }
.menu__foot a { text-decoration: none; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, min(100svh, 1040px));
  padding: clamp(112px, 14vh, 160px) 0 clamp(88px, 11vh, 124px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.hero .wrap { display: flex; flex-direction: column; flex: 1; }
.hero__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 28px; margin-bottom: clamp(8px, 2vh, 24px); }
.hero__eyebrow { color: var(--on-plum-2); }
.hero__top .eyebrow { margin-bottom: 14px; }
.hero__title {
  font-size: clamp(3.6rem, min(20vw, 19svh), 12rem);
  line-height: 1.02;
  letter-spacing: 0;           /* kept at 0: the sprinkle canvas redraws these glyphs to find the letter tops */
  color: var(--on-plum);
  text-wrap: nowrap;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--lemon); }
.hero__body { display: grid; gap: 40px; margin-block: auto 0; }
.hero__foot { display: grid; gap: 28px; align-content: end; }
.hero__foot .lede { max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-plum-2); }
.hero__hint svg { width: 18px; height: 18px; }
@media (min-width: 1100px) {
  .hero__body { grid-template-columns: auto minmax(300px, 1fr); align-items: end; gap: 56px; }
  .hero__foot { justify-items: start; padding-bottom: 0.6rem; }
  .hero__actions { flex-direction: column-reverse; align-items: flex-start; }
}
/* the headline rises on load */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .ln > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
  .js .hero__title .ln:nth-child(2) > span { animation-delay: 0.08s; }
  .js .hero__title .ln:nth-child(3) > span { animation-delay: 0.16s; }
  .js .hero [data-fade] { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) 0.45s forwards; }
}
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* open-now status */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(252, 248, 251, 0.1);
  box-shadow: inset 0 0 0 1px var(--line-plum);
  font-size: 14.5px;
  font-weight: 500;
}
.status::before { content: ''; width: 9px; height: 9px; border-radius: 999px; background: var(--ink-3); }
.status.is-open::before { background: #4ccb6a; box-shadow: 0 0 0 4px rgba(76, 203, 106, 0.22); }
.status--light { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- section heads ---------- */
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 64px; }
}

/* ---------- aisles ---------- */
.aisles__list { border-top: 1px solid var(--line-strong); }
.aisle a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  transition: background-color 0.4s var(--ease), padding 0.5s var(--ease);
}
.aisle__no { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.aisle__name { font-family: var(--f-display); font-size: clamp(2rem, 5.2vw, 4.6rem); line-height: 1; transition: color 0.3s var(--ease), transform 0.6s var(--ease); }
.aisle__count { font-size: 14.5px; color: var(--ink-3); white-space: nowrap; }
.aisle__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color 0.3s var(--ease), transform 0.5s var(--ease); }
.aisle__go svg { width: 18px; height: 18px; }
.aisle a:hover .aisle__name { color: var(--plum); transform: translateX(10px); }
.aisle a:hover .aisle__go { background: var(--lemon); transform: rotate(-45deg); box-shadow: none; }
.aisle__thumb { display: none; }
@media (max-width: 767px) {
  .aisle a { grid-template-columns: 56px minmax(0, 1fr) 32px; gap: 14px; padding: 12px 0; }
  .aisle__no, .aisle__count { display: none; }
  .aisle__thumb { display: block; width: 56px; height: 56px; border-radius: 14px; background: var(--shelf); object-fit: cover; }
  .aisle__name { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .aisle__sub { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
  .aisle__go { width: 32px; height: 32px; }
}
@media (min-width: 768px) { .aisle__sub { display: none; } }
.aisles { position: relative; }
.peek {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 220px;
  aspect-ratio: 1;
  border-radius: var(--r-card);
  background: var(--shelf);
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 30px 60px -30px var(--shadow);
  opacity: 0;
  scale: 0.7;
  transition: opacity 0.35s var(--ease), scale 0.5s var(--ease);
}
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 1023px) { .peek { display: none; } }

/* ---------- colour wall ---------- */
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 360px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 559px) { .swatch { padding: 8px 8px 12px; gap: 10px; } .swatch__name { font-size: 14px; } .swatch__add { right: 14px; top: 14px; width: 30px; height: 30px; } }
@media (min-width: 860px) { .swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .swatches { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.swatch {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 10px 10px 14px;
  border: 0;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.swatch:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -28px var(--shadow); }
.swatch:active { transform: scale(0.98); }
.swatch__block {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 14px;
  background: var(--c);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.1), inset 0 6px 0 rgba(255, 255, 255, 0.22);
}
.swatch__row { display: grid; gap: 0; padding-inline: 4px; }
.swatch__name { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.swatch__price { font-size: 14px; color: var(--ink-3); }
.swatch__add {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(252, 248, 251, 0.92);
  color: var(--ink);
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease);
}
.swatch__add svg { width: 16px; height: 16px; }
.swatch:hover .swatch__add { transform: rotate(90deg); background: var(--lemon); }
.swatch.is-added .swatch__add { background: var(--lemon); }
.swatch[aria-disabled='true'] { cursor: not-allowed; }
.swatch[aria-disabled='true'] .swatch__block { filter: saturate(0.25) opacity(0.55); }
.swatch[aria-disabled='true'] .swatch__add { display: none; }
.swatch[aria-disabled='true']:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
.colours__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 36px; color: var(--ink-2); }

/* ---------- product cards ---------- */
.pcard { position: relative; display: grid; gap: 12px; align-content: start; }
.pcard__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: var(--r-tile);
  background: var(--shelf);
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lemon);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pcard__tag--out { background: var(--ink); color: var(--on-plum); }
.pcard__add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: var(--on-plum);
  box-shadow: 0 10px 20px -10px var(--shadow);
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pcard__add svg { width: 20px; height: 20px; }
.pcard__add:hover { transform: rotate(90deg); background: var(--plum-2); }
.pcard__add:active { transform: scale(0.94); }
.pcard__add.is-added { background: var(--lemon); color: var(--ink); }
.pcard__body { display: grid; gap: 2px; padding-inline: 2px; }
.pcard__brand { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.pcard__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}
.pcard__name:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.pcard__media { cursor: pointer; }
.pcard__price { margin-top: 4px; font-weight: 700; font-size: 16px; }
.pcard.is-out .pcard__media img { opacity: 0.55; filter: grayscale(0.4); }
.pcard.is-out .pcard__price { color: var(--ink-3); font-weight: 500; }

/* ---------- new in row ---------- */
.row-wrap { position: relative; }
.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 44%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--plum) transparent;
}
.row > * { scroll-snap-align: start; }
@media (min-width: 768px) { .row { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; } }
@media (min-width: 1200px) { .row { grid-auto-columns: calc((100% - 4 * 20px) / 5); } }
.row-nav { display: flex; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.icon-btn:hover { background: var(--lemon); box-shadow: none; }
.icon-btn:active { transform: scale(0.95); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: 0.35; cursor: default; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.new__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }

/* ---------- edible printing ---------- */
.print {
  position: relative;
  display: grid;
  gap: 48px;
  padding: clamp(36px, 6vw, 88px);
  border-radius: var(--r-block);
  overflow: hidden;
}
@media (min-width: 960px) { .print { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 64px; } }
.print h2 { margin-bottom: 22px; }
.print .lede { margin-bottom: 34px; }
.print__art { position: relative; min-height: 320px; display: grid; place-items: center; }
.sheet {
  position: absolute;
  width: min(62%, 280px);
  aspect-ratio: 210 / 297;
  border-radius: 12px;
  background: var(--on-plum);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  display: grid;
  align-content: end;
  padding: 16px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.sheet--a { transform: rotate(-9deg) translateX(-34%); background: #f6eef6; }
.sheet--b { transform: rotate(6deg) translateX(24%); }
.sheet__img {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, transparent 54%, var(--lemon) 55%, var(--lemon) 61%, transparent 62%),
    conic-gradient(from 20deg, #f27fae, #ffd84a, #8ec9ee, #2e8b3e, #ff7f2a, #d6247a, #f27fae);
}
.sheet--a .sheet__img { background: repeating-linear-gradient(135deg, #f0e4f1 0 10px, #e7d3e9 10px 20px); border-radius: 8px; }
.print__note { margin-top: 18px; font-size: 14.5px; color: var(--on-plum-2); }

/* ---------- delivery ---------- */
.deliver { display: grid; gap: 48px; }
@media (min-width: 1024px) { .deliver { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; } }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .tickets { gap: 16px; } }
.ticket {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 190px;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ticket::after { /* a cut-out notch, like a label */
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 999px;
  background: var(--sec-bg, var(--bg));
  box-shadow: inset 0 0 0 1px var(--line);
  clip-path: inset(0 50% 0 0);
}
.ticket__big { font-family: var(--f-display); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; color: var(--plum); }
.ticket__what { font-weight: 600; font-size: 17px; }
.ticket__small { font-size: 14.5px; color: var(--ink-3); }
.ticket--lemon { background: var(--lemon); box-shadow: none; }
.ticket--lemon .ticket__big { color: var(--ink); }
.ticket--lemon .ticket__small { color: var(--ink-2); }
.ticket--lemon::after { box-shadow: none; }
.deliver__more { display: grid; gap: 10px; margin-top: 28px; color: var(--ink-2); font-size: 15.5px; }
.deliver__more li { display: flex; gap: 12px; align-items: flex-start; }
.deliver__more svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--plum); }

/* ---------- story ---------- */
.story { display: grid; gap: 44px; }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 80px; align-items: end; } }
.story__quote { font-family: var(--f-display); font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.02; text-wrap: balance; }
.story__quote::before { content: '“'; color: var(--plum); }
.story__quote::after { content: '”'; color: var(--plum); }
.story__by { margin-top: 26px; font-size: 15.5px; color: var(--ink-3); }
.story__more { margin-top: 22px; }
.gels--big .gels__row { gap: 16px; }
.gels--big .gel { width: clamp(48px, 7vw, 76px); height: clamp(66px, 9.6vw, 104px); }
.gels--big .gel:nth-child(odd) { transform: translateY(-14px) rotate(-6deg); }
.gels--big .gel:nth-child(even) { transform: rotate(5deg); }
.gels { display: grid; gap: 22px; }
.gels__row { display: flex; gap: 10px; align-items: end; }
.gel { width: 40px; height: 54px; border-radius: 12px 12px 18px 18px; background: var(--c); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12), inset 0 6px 0 rgba(255, 255, 255, 0.25); }
.gel::before { content: ''; display: block; width: 18px; height: 12px; margin: -10px auto 0; border-radius: 4px 4px 0 0; background: var(--ink); }
.gels__math { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; }
.gels__math span { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--ink-3); }

/* ---------- brands ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--f-display); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.08; }
.brands li { display: inline-flex; align-items: center; color: var(--ink); transition: color 0.3s var(--ease); }
.brands li:not(:last-child)::after { content: ''; width: 0.2em; height: 0.2em; margin-inline: 0.32em; border-radius: 3px; background: var(--lemon); box-shadow: 0 0 0 1px var(--line-strong); transform: rotate(45deg); }
.brands li:hover { color: var(--plum); }
.brands__note { margin-top: 32px; color: var(--ink-3); font-size: 15px; }

/* ---------- visit ---------- */
.visit { display: grid; gap: 48px; }
@media (min-width: 1024px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.visit h2 { margin-bottom: 26px; }
.visit__addr { font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; line-height: 1.45; margin-bottom: 28px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hours { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.hours caption { text-align: left; padding-bottom: 14px; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }
.hours th, .hours td { padding: 14px 0; border-top: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
.hours th { font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: 'Today'; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--lemon); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.contact-lines { display: grid; gap: 10px; margin-top: 28px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; text-decoration: none; }
.contact-lines a:hover { color: var(--plum); }
.contact-lines svg { width: 22px; height: 22px; color: var(--plum); }

/* ---------- footer ---------- */
.footer { padding: clamp(72px, 8vw, 110px) 0 120px; background: var(--ink); color: var(--on-plum); }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.6fr)); gap: 40px; } }
.footer__logo { width: min(340px, 80%); }
.footer__tag { margin-top: 16px; color: var(--on-plum-2); }
.footer h3 { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lemon); }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--on-plum-2); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--on-plum); }
.footer p { color: var(--on-plum-2); }
.footer__top p + p { margin-top: 12px; }
.hours__note { margin-top: 20px; }
.shop-meta__free { display: none; }
@media (min-width: 640px) { .shop-meta__free { display: block; } }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-plum); }
.footer__social a:hover { background: rgba(252, 248, 251, 0.1); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-plum); font-size: 14px; color: var(--on-plum-2); }

/* ---------- preview badge ---------- */
.badge {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: var(--z-badge);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 16px;
  border-radius: 999px;
  background: rgba(252, 248, 251, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 14px 30px -14px var(--shadow);
  color: var(--ink-2);
  font-size: 12.5px;
}
.badge a { text-decoration: none; }
.badge strong { color: var(--ink); font-weight: 600; }
.badge__close { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 999px; background: var(--bg-2); }
.badge__close svg { width: 14px; height: 14px; }
.badge.is-hidden { display: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-plum);
  font-size: 15px;
  box-shadow: 0 20px 40px -20px rgba(43, 10, 42, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 28px);
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease), visibility 0s linear 0.6s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.toast__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { flex: none; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--lemon); color: var(--ink); font-weight: 600; font-size: 14px; }
@media (max-width: 767px) { .toast { bottom: 76px; } }

/* ---------- dialogs: basket drawer and quick view ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(43, 10, 42, 0.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(460px, 100%);
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.drawer:not([open]) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: slideIn 0.55s var(--ease); }
  .qv[open] { animation: popIn 0.5s var(--ease); }
  dialog[open]::backdrop { animation: fadeIn 0.4s var(--ease); }
}
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 22px 18px 26px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 34px; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.close-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--bg-2); }
.close-btn svg { width: 20px; height: 20px; }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 72px; height: 72px; border-radius: 14px; background: var(--shelf); object-fit: cover; }
.line-item__name { font-size: 15px; font-weight: 500; line-height: 1.35; }
.line-item__brand { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.line-item__price { font-weight: 700; text-align: right; }
.line-item__remove { margin-top: 4px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 999px; background: none; }
.qty button:hover { background: var(--bg-2); }
.qty svg { width: 14px; height: 14px; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-size: 15px; }
.qty--lg button { width: 46px; height: 46px; }
.qty--lg output { min-width: 34px; font-size: 17px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.sum-row--total { font-size: 19px; font-weight: 700; }
.freebar { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.freebar__track { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.freebar__fill { height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--plum), var(--plum-2)); transition: width 0.6s var(--ease); }
.freebar.is-free .freebar__fill { background: #2e8b3e; }
.empty { display: grid; justify-items: start; gap: 14px; padding: 40px 0; }
.empty h3 { font-family: var(--f-display); font-size: 34px; line-height: 1; font-weight: 800; }
.empty p { color: var(--ink-2); }

.qv {
  width: min(920px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  border-radius: var(--r-block);
  overflow: auto;
}
.qv__inner { display: grid; gap: 0; }
@media (min-width: 760px) { .qv__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.qv__media { background: var(--shelf); aspect-ratio: 1; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__body { position: relative; display: grid; align-content: start; gap: 14px; padding: clamp(24px, 4vw, 44px); }
.qv__close { position: absolute; top: 16px; right: 16px; }
.qv__brand { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); padding-right: 52px; }
.qv__name { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; font-weight: 800; }
.qv__price { font-size: 26px; font-weight: 700; }
.qv__meta { display: grid; gap: 8px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.qv__meta li { display: flex; gap: 10px; align-items: center; }
.qv__meta svg { width: 20px; height: 20px; color: var(--plum); flex: none; }
.qv__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.qv__buy .qty { margin-top: 0; }
.qv__out { padding: 12px 16px; border-radius: var(--r-input); background: var(--bg-2); color: var(--ink-2); font-size: 15px; }

/* ---------- inner page heads ---------- */
.page-head { padding: clamp(132px, 17vh, 184px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(3.4rem, 9vw, 8.6rem); line-height: 0.94; }
.page-head .lede { margin-top: 24px; }
.page-head--plum { padding-bottom: clamp(64px, 8vw, 110px); }

/* ---------- shop ---------- */
.shop-bar {
  position: relative;
  z-index: 20;
  padding: 12px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.shop-bar .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; } /* minmax(0) keeps the chip scroller from widening the page */
@media (min-width: 768px) { .shop-bar { position: sticky; top: 86px; } } /* on phones the bar would cover a third of the screen */
@media (min-width: 1060px) { .shop-bar { top: 92px; } }
.shop-bar__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search {
  position: relative;
  flex: 1 1 260px;
  max-width: 440px;
}
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 46px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 16px;
}
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--plum); }
.select {
  height: 48px;
  padding: 0 40px 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%232b0a2a' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  -webkit-appearance: none;
  appearance: none;
  font-size: 15px;
}
.toggle { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface); font-size: 15px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--plum); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.chip span { font-size: 13px; color: var(--ink-3); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed='true'] { background: var(--plum); color: var(--on-plum); box-shadow: none; }
.chip[aria-pressed='true'] span { color: var(--on-plum-2); }
.shop-meta { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 8px; font-size: 15px; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; padding: 16px 0 40px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: no-preference) {
  .grid .pcard { animation: cardIn 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
}
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.shop-more {
  display: grid;
  gap: 18px;
  margin: 40px 0 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-block);
  background: var(--bg-2);
}
@media (min-width: 900px) { .shop-more { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.shop-more h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

/* ---------- forms (checkout) ---------- */
.co { display: grid; gap: 40px; padding-bottom: var(--section); }
@media (min-width: 1024px) { .co { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.co__panel { display: grid; gap: 40px; }
.co fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; }
.co legend { padding: 0; margin-bottom: 16px; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; font-weight: 800; }
.co legend span { margin-right: 12px; color: var(--plum); }
.opts { display: grid; gap: 10px; }
@media (min-width: 640px) { .opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__box { display: grid; gap: 4px; height: 100%; padding: 18px 18px 18px 50px; border-radius: var(--r-tile); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.opt__box::before { content: ''; position: absolute; left: 18px; top: 21px; width: 20px; height: 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: box-shadow 0.3s var(--ease); }
.opt input:checked + .opt__box { box-shadow: inset 0 0 0 2px var(--plum); background: #fbf2fb; }
.opt input:checked + .opt__box::before { box-shadow: inset 0 0 0 6px var(--plum); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--plum); outline-offset: 3px; }
.opt__title { font-weight: 600; }
.opt__sub { font-size: 14px; color: var(--ink-3); }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--r-input);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--plum); }
.field.is-bad input { box-shadow: inset 0 0 0 2px var(--error); }
.field__err { font-size: 14px; color: var(--error); }
.field__err:empty { display: none; }
.note { padding: 14px 18px; border-radius: var(--r-input); background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); }
.note--warn { background: #fff3c4; color: var(--ink); }
.co__summary { position: sticky; top: 110px; display: grid; gap: 16px; padding: 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.co__summary h2 { font-size: 32px; line-height: 1; }
.co__lines { max-height: 340px; overflow-y: auto; }
.co__lines .line-item { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 12px 0; }
.co__lines .line-item img { width: 56px; height: 56px; border-radius: 12px; }
.co__lines .qty-tag { font-size: 13.5px; color: var(--ink-3); }
.done { display: grid; gap: 22px; justify-items: start; max-width: 720px; padding-bottom: var(--section); }
.done__ticket { width: 100%; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.done__no { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--plum); }

/* ---------- about & contact ---------- */
.ab-story { display: grid; gap: 40px; }
@media (min-width: 1024px) { .ab-story { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 96px; } }
.ab-story__lead { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; }
.ab-story__body { display: grid; gap: 18px; max-width: 62ch; color: var(--ink-2); font-size: 18px; }
.ab-story__body strong { color: var(--ink); font-weight: 600; }
.facts { display: grid; gap: 12px; }
@media (min-width: 760px) { .facts { grid-template-columns: 1.3fr 1fr 1fr; } }
.fact { display: grid; gap: 8px; align-content: end; min-height: 200px; padding: 26px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.fact:first-child { background: var(--lemon); box-shadow: none; }
.fact__big { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.2rem); line-height: 0.95; color: var(--plum); }
.fact:first-child .fact__big { color: var(--ink); }
.fact p { color: var(--ink-2); }
.cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.card { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow 0.4s var(--ease), transform 0.5s var(--ease); }
a.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--plum), 0 24px 40px -28px var(--shadow); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--bg-2); color: var(--plum); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 22px; }
.card p, .card li { color: var(--ink-2); }
.card a { font-weight: 600; }
.rules { display: grid; gap: 10px; }
.rules li { display: flex; gap: 12px; align-items: flex-start; }
.rules svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--plum); }
.legal { margin-top: 40px; font-size: 14.5px; color: var(--ink-3); max-width: 70ch; }

/* 404 */
.lost { min-height: 100svh; display: grid; align-content: center; padding: 140px 0 100px; }
.lost h1 { font-size: clamp(4rem, 14vw, 12rem); line-height: 0.9; }
.lost .lede { margin: 26px 0 34px; }

/* ---------- scroll reveals (JS adds .js; reduced motion shows everything) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .swatches[data-pop] .swatch { opacity: 0; transform: scale(0.6) rotate(-4deg); }
  .js .swatches[data-pop].is-in .swatch { opacity: 1; transform: none; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
}
