/* ---------- fonts (self-hosted, variable) ---------- */
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-cyr.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-lat.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyr.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-lat.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-i-cyr.woff2) format("woff2"); font-style: italic; font-weight: 300 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-i-lat.woff2) format("woff2"); font-style: italic; font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  /* palette: luxe pop — cherry lacquer, cream, ink, one gold */
  --cherry: #b80f24;
  --cherry-dk: #7a0715;
  --gold: #c9a45c;
  --gold-hi: #e6cc94;
  --cream: #faf5ee;
  --stone: #f1e9de;
  --stone-2: #ebe1d3;
  --ink: #18110f;
  --ink-2: #221917;
  /* the pop names stay as aliases so every component follows the new palette */
  --butter: var(--gold);
  --mint: var(--stone);
  --pink: var(--stone-2);
  --sky: var(--stone);
  --peach: var(--stone-2);
  --lilac: var(--stone);
  --cobalt: var(--ink);

  /* roles */
  --bg: var(--cream);
  --text: var(--ink);
  --muted: rgba(26, 20, 20, .66);
  --accent: var(--cherry);

  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-mega: clamp(3.2rem, 1rem + 10.5vw, 11rem);
  --fs-big: clamp(2.4rem, 1rem + 5vw, 5.6rem);
  --fs-h3: clamp(1.15rem, 1rem + .5vw, 1.45rem);
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);

  --r-lg: clamp(24px, 3vw, 40px);
  --r-md: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.2, .9, .25, 1.04); /* calm, a hair of overshoot */
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1.05rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: .95; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.tg { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 700; font-size: .8em; margin-left: .12em; }
.wrap { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- buttons: fat pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .5s var(--ease-out), background-color .35s, color .35s, box-shadow .35s;
}
.btn:active { transform: scale(.96); }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(40, 0, 6, .7); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: 0 18px 40px -18px rgba(24, 17, 15, .7); }
.btn-line { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(250, 245, 238, .6); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24, 17, 15, .45); }
.btn-small { min-height: 46px; padding: 0 20px; font-size: .86rem; }
.btn[disabled] { background: rgba(26, 20, 20, .08); color: rgba(26, 20, 20, .5); box-shadow: inset 0 0 0 2px rgba(26, 20, 20, .12); cursor: not-allowed; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-cream:hover { background: #fff; }
  .btn-ink:hover { background: var(--cherry); }
  .btn[disabled]:hover { transform: none; }
  .btn-line:hover { background: var(--cream); color: var(--cherry); }
  .btn-ghost:hover { background: var(--ink); color: var(--cream); }
}

/* ---------- header ---------- */
.top {
  position: fixed; inset: 12px 12px auto 12px; z-index: 50;
  height: 60px; border-radius: 999px;
  display: flex; align-items: center; gap: 20px; padding: 0 8px 0 24px;
  background: rgba(255, 246, 234, .0); transition: background-color .3s, box-shadow .3s;
}
.top.is-solid { background: rgba(255, 246, 234, .86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 8px 30px -12px rgba(26, 20, 20, .35); }
.logo { --logo-ribbon: var(--cherry); display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; color: var(--cream); transition: color .3s; }
.top.is-solid .logo { color: var(--ink); --logo-ribbon: var(--cream); }
.logo-mark { width: 30px; height: 30px; flex: none; transition: transform .5s var(--spring); }
.logo:hover .logo-mark { transform: translateY(-2px); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); transition: background-color .2s, color .3s; }
.top.is-solid .nav a { color: var(--ink); }
.nav a:hover { background: rgba(255, 255, 255, .2); }
.top.is-solid .nav a:hover { background: rgba(26, 20, 20, .07); }
.cart-btn {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--cream); font-family: var(--body); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--butter); color: var(--ink); font: 800 .78rem/24px var(--body); text-align: center; }
.cart-btn.bump { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.06); } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, 100svh);
  /* headline left, box right: nothing is ever drawn over the words */
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "title stage" "foot stage"; grid-template-rows: 1fr 1fr; column-gap: clamp(16px, 3vw, 56px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  background:
    radial-gradient(45% 55% at 72% 48%, rgba(255, 190, 170, .28), transparent 70%),
    radial-gradient(120% 90% at 30% 40%, #c4142a, var(--cherry) 45%, var(--cherry-dk));
  color: var(--cream);
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .7; }
.hero-title {
  grid-area: title; align-self: end; z-index: 3; min-width: 0;
  display: flex; flex-direction: column; align-items: stretch;
  font-size: var(--fs-mega); line-height: .86; text-transform: uppercase; letter-spacing: -.04em; color: var(--cream);
}
/* each line is sized by fitText() to fill the column exactly */
.hero-title .hl { display: block; white-space: nowrap; line-height: .9; }
.hero-title .hl span { display: inline-block; }
.hero-title .hl-2 { -webkit-text-stroke: 1.5px var(--gold-hi); color: transparent; }
.hero-stage { grid-area: stage; align-self: center; position: relative; z-index: 2; height: min(76vh, 720px); pointer-events: none; }
.hero-box { position: absolute; left: 50%; top: 50%; height: min(54vh, 520px); width: auto; max-width: none; transform: translate(-50%, -46%); filter: drop-shadow(0 40px 40px rgba(90, 0, 10, .45)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -49%); } }
.fly { position: absolute; width: clamp(80px, 11vw, 170px); will-change: transform; }
.fly img { width: 100%; height: auto; filter: drop-shadow(0 20px 20px rgba(90, 0, 10, .4)); animation: drift 7s ease-in-out infinite; }
.f1 { left: 6%; top: 8%; } .f2 { left: 18%; top: 62%; } .f3 { right: 8%; top: 4%; } .f4 { right: 16%; top: 60%; }
.f5 { left: 32%; top: -4%; width: clamp(64px, 8vw, 120px); } .f6 { right: 30%; top: 78%; width: clamp(64px, 8vw, 120px); }
.f7 { left: 2%; top: 38%; width: clamp(60px, 7vw, 110px); } .f8 { right: 1%; top: 34%; width: clamp(70px, 9vw, 140px); }
.fly:nth-child(odd) img { animation-delay: -2s; animation-duration: 8s; }
.fly:nth-child(3n) img { animation-delay: -4s; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(3deg); } }
.hero-foot { grid-area: foot; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin-top: clamp(24px, 4vh, 44px); z-index: 3; }
.hero-lead { max-width: 440px; font-size: var(--fs-lead); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.sticker {
  position: absolute; right: -2%; bottom: 2%; z-index: 4;
  width: clamp(150px, 15vw, 230px); aspect-ratio: 1; border-radius: 50%; color: var(--ink);
  display: grid; place-items: center; rotate: -8deg;
  background: radial-gradient(circle at 35% 30%, #f3e2b8, var(--gold) 55%, #9c7a3a);
  box-shadow: 0 30px 50px -18px rgba(40, 0, 6, .75), inset 0 0 0 7px rgba(255, 255, 255, .2);
  animation: seal-in 1s .5s var(--spring) both;
}
.sticker::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-hi); opacity: 0; animation: seal-ring 3.2s 1.6s ease-out infinite; }
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.sticker text { font: 800 15px var(--display); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); }
.sticker-in { display: grid; place-items: center; text-align: center; line-height: 1; }
.sticker-in b { font-family: var(--display); font-size: clamp(2.9rem, 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: .85; }
.sticker-in small { margin-top: 6px; font-size: clamp(.62rem, .8vw, .86rem); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; line-height: 1.15; }
@keyframes seal-in { from { opacity: 0; scale: .4; rotate: -40deg; } }
@keyframes seal-ring { 0% { opacity: .8; scale: .92; } 70%, 100% { opacity: 0; scale: 1.25; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- new year decor ---------- */
.xmas { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
/* an ornament on a gold thread, swinging from the top edge */
.hang { position: absolute; top: 0; width: var(--w, 86px); padding-top: var(--len); transform-origin: 50% 0; animation: swing var(--sw, 6s) ease-in-out infinite alternate; }
.hang::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: calc(var(--len) + 6px); background: linear-gradient(var(--gold-hi), var(--gold)); }
.hang img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(40, 0, 6, .45)); }
@keyframes swing { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
.hg1 { left: 57%; --w: 70px; } .hg2 { left: 66%; --w: 54px; } .hg3 { left: 71%; --w: 70px; } .hg4 { right: 5%; --w: 64px; }
.hang:nth-child(even) { animation-direction: alternate-reverse; }
.fir { position: absolute; height: auto; filter: drop-shadow(0 20px 20px rgba(40, 0, 6, .4)); }
.fir-tr { right: -90px; top: 60px; width: 420px; transform: rotate(-150deg); }
.fir-bl { left: -110px; bottom: -150px; width: 360px; transform: rotate(14deg); }
.hero-kicker { display: block; margin-bottom: .9em; font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .26em; color: var(--gold-hi); white-space: nowrap; }
.hero-kicker::before { content: "❄"; margin-right: .8em; }

/* a string of warm lights drawn by JS to the section's width */
.garland { position: absolute; left: 0; right: 0; top: 0; height: 70px; pointer-events: none; z-index: 2; }
.garland svg { display: block; width: 100%; height: 100%; overflow: visible; }
.garland .wire { fill: none; stroke: #3b2d22; stroke-width: 1.4; }
.garland .bulb { transform-box: fill-box; transform-origin: 50% 0; animation: glow 2.6s ease-in-out infinite; }
.garland .bulb ellipse { fill: #ffd98a; }
.garland .bulb .halo { fill: #ffc65a; opacity: .45; filter: blur(5px); }
.garland .bulb.c1 ellipse { fill: #fff1d6; } .garland .bulb.c1 .halo { fill: #fff1d6; }
.garland .bulb.c2 ellipse { fill: #e8475a; } .garland .bulb.c2 .halo { fill: #ff4d5e; }
.garland .bulb rect { fill: #c9a45c; }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.garland-foot .wire { stroke: #5a463a; }
.foot { position: relative; padding-top: 110px !important; }
.fir-corp { left: -40px; bottom: -30px; width: 52%; z-index: -1; transform: rotate(14deg); }
.corp-art { position: relative; isolation: isolate; }
@media (max-height: 760px) and (min-width: 900px) { .fir-bl { display: none; } }

/* ---------- marquees ---------- */
.ribbons { position: relative; z-index: 2; overflow: hidden; margin-top: -26px; padding: 26px 0 14px; }
.marquee { overflow: hidden; white-space: nowrap; font-family: var(--display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; letter-spacing: -.01em; }
.marquee .track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee span { padding-right: .4em; }
.m1 { position: relative; z-index: 2; background: var(--ink); color: var(--butter); font-size: clamp(.9rem, .8rem + .6vw, 1.3rem); padding: 18px 0; transform: rotate(-2deg); margin: 0 -2%; width: 104%; }
.m2 { background: var(--cream); color: var(--cherry); font-size: clamp(.85rem, .78rem + .45vw, 1.15rem); padding: 14px 0; transform: rotate(1deg); box-shadow: inset 0 1px 0 var(--stone-2), inset 0 -1px 0 var(--stone-2); margin: -8px -2% 0; width: 104%; }
.m2 .track { animation-direction: reverse; animation-duration: 40s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(90px, 11vw, 170px); scroll-margin-top: 84px; }
.sec-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.tagline { display: flex; align-items: center; gap: 14px; font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #9c7a3a; margin-bottom: 22px; }
.tagline::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.big { font-size: var(--fs-big); font-weight: 600; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; }
.sec-lead { margin-top: 22px; max-width: 560px; font-size: var(--fs-lead); color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* --- gift tiles --- */
.gifts { background: var(--cream); }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gift {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: radial-gradient(70% 50% at 50% 30%, #fffdf9, var(--tile, var(--stone)) 75%);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .18);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
@media (hover: hover) { .gift:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .5), 0 40px 60px -40px rgba(24, 17, 15, .45); } .gift:hover .gift-art img { transform: scale(1.04); } }
.gift-art { display: grid; place-items: center; aspect-ratio: 1.1; margin: -6px 0 6px; }
/* a soft contact shadow on the "table" under every product */
.gift-art, .candy-art { position: relative; isolation: isolate; }
.gift-art::after, .candy-art::after { content: ""; position: absolute; left: 50%; bottom: 11%; width: 58%; height: 9%; transform: translateX(-50%); z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 30, 15, .32), rgba(60, 30, 15, .1) 60%, transparent); filter: blur(4px); transition: transform .8s var(--ease-out), opacity .8s; }
.candy-art::after { bottom: 25%; width: 56%; height: 8%; }
@media (hover: hover) { .gift:hover .gift-art::after, .candy:hover .candy-art::after { transform: translateX(-50%) scale(.9); opacity: .7; } }
.gift-art img { width: 88%; height: auto; transition: transform .6s var(--spring); }
.badge {
  position: absolute; top: 18px; right: 18px; z-index: 1;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold);
  font-family: var(--body); font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
}
.gift h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.01em; }
.tag-meta { margin-top: 8px; font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #9c7a3a; }
.gift-list { flex: 1; margin: 14px 0 0; padding: 0; list-style: none; font-weight: 500; font-size: .96rem; line-height: 1.55; color: var(--muted); }
.gift-list li { display: inline; }
.gift-list li + li::before { content: " · "; color: var(--gold); }
.tag-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(201, 164, 92, .35); }
.price { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.02em; white-space: nowrap; }
.add {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--cream); font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .35s, transform .35s var(--ease-out);
}
.add:active { transform: scale(.96); }
@media (hover: hover) { .add:hover { background: var(--cherry); } }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--cream); }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; font-weight: 800; color: inherit; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }

/* --- candy tiles --- */
.candies { background: var(--mint); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill {
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24, 17, 15, .18); font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .2s, color .2s, transform .3s var(--spring);
}
.pill.is-on { background: var(--ink); color: var(--cream); }
@media (hover: hover) { .pill:hover { transform: translateY(-2px); } }
/* a shop window, not a marketplace: no card boxes, the product on a lit tile, quiet text below */
.candy-grid { display: grid; gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 28px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.candy { min-width: 0; display: flex; flex-direction: column; }
/* prices line up across a row whatever the name length */
.candy > .candy-foot { margin-top: auto; }
.candy > :nth-last-child(2) { margin-bottom: 14px; }
@media (hover: hover) { .candy:hover .candy-art img { transform: scale(1.06); } .candy:hover .candy-art { box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55); } }
.candy-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: radial-gradient(70% 60% at 50% 35%, #fffdf9, var(--cream) 80%); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .18); transition: box-shadow .5s; }
.candy-art img { width: 78%; height: auto; transition: transform .8s var(--ease-out); }
.brand { margin-top: 18px; font-weight: 700; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: #9c7a3a; }
.candy h3 { font-size: 1.02rem; font-weight: 500; margin-top: 8px; line-height: 1.2; letter-spacing: -.01em; }
.candy-desc { color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: 6px; flex: 1; }
.nut { display: inline-block; align-self: flex-start; margin-top: 10px; padding: 3px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--gold); color: #9c7a3a; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.candy-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(201, 164, 92, .3); min-height: 48px; }
.candy .price { font-size: 1.15rem; }
/* the add button is a quiet round "+": the product does the selling */
.add-round { width: 44px; min-height: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24, 17, 15, .3); font-size: 1.3rem; font-weight: 400; letter-spacing: 0; }
@media (hover: hover) { .add-round:hover { background: var(--ink); color: var(--cream); box-shadow: none; } }
.candy .qty { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(24, 17, 15, .3); }

/* --- builder --- */
.builder { background: var(--cobalt); color: var(--cream); }
.builder .sec-lead { color: rgba(250, 245, 238, .72); }
.builder .tagline { color: var(--gold-hi); }
.b-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.size {
  display: flex; align-items: baseline; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: var(--cream); transition: background-color .2s, color .2s, transform .3s var(--spring);
}
.size b { font-family: var(--display); font-weight: 500; font-size: .98rem; }
.size small { font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.size[aria-checked="true"] { background: var(--gold); color: var(--ink); }

.b-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.b-stage { position: sticky; top: 96px; min-width: 0; }
.b-side { min-width: 0; display: grid; gap: 16px; }
.b-box-wrap { padding: 6px; }
.b-box {
  --box: #e2232f; --box-hi: #f0414b; --ribbon: #fff1d6;
  position: relative; margin-inline: auto; width: 100%; max-width: var(--box-w, 420px);
  padding: 14px; border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .35), transparent 35%, rgba(0, 0, 0, .18)), var(--box);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -6px 0 rgba(0, 0, 0, .18), 0 40px 60px -20px rgba(10, 20, 80, .6);
}
.b-grid { display: grid; gap: 8px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); padding: 12px; border-radius: 12px; background: var(--cream); box-shadow: inset 0 4px 12px rgba(0, 0, 0, .12); }
.cell {
  position: relative; aspect-ratio: 1; min-width: 0; display: grid; place-items: center;
  border: 0; padding: 0; border-radius: 50%; cursor: default;
  background: radial-gradient(circle, #fff 0 46%, transparent 48%), repeating-conic-gradient(#efe2c8 0 7.5deg, #fffaf2 7.5deg 15deg);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35);
}
.cell.filled { cursor: pointer; }
.cell img { width: 92%; height: auto; animation: pop .5s var(--spring); filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .2)); }
@keyframes pop { from { transform: translateY(-30%) scale(.6); opacity: 0; } }
@media (hover: hover) { .cell.filled:hover img { transform: scale(.88); opacity: .6; } }
.b-lid {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .4), transparent 40%, rgba(0, 0, 0, .18)), var(--box-hi);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -6px 0 rgba(0, 0, 0, .2);
  transform-origin: top center; transform: translateY(-115%) rotateX(70deg); opacity: 0; pointer-events: none;
  transition: transform .8s var(--spring), opacity .3s;
}
.b-lid.closed { transform: none; opacity: 1; }
.b-ribbon-v, .b-ribbon-h { position: absolute; background: var(--ribbon); }
.b-ribbon-v { top: 0; bottom: 0; left: 50%; width: 10%; transform: translateX(-50%); box-shadow: inset 6px 0 6px -4px rgba(0, 0, 0, .15), inset -6px 0 6px -4px rgba(0, 0, 0, .15); }
.b-ribbon-h { left: 0; right: 0; top: 50%; height: 10%; transform: translateY(-50%); box-shadow: inset 0 6px 6px -4px rgba(0, 0, 0, .15), inset 0 -6px 6px -4px rgba(0, 0, 0, .15); }
.b-bow { position: absolute; left: 50%; top: 50%; width: 38%; transform: translate(-50%, -55%) scale(0); fill: var(--ribbon); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .3)); transition: transform .6s .5s var(--spring); }
.b-lid.closed .b-bow { transform: translate(-50%, -55%) scale(1); }
.b-tag { position: absolute; right: 7%; bottom: 9%; max-width: 50%; padding: 8px 14px; border-radius: 10px; background: var(--butter); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: clamp(.7rem, 1.8vw, .9rem); line-height: 1.15; transform: rotate(-6deg); overflow-wrap: anywhere; }
.b-meter { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-family: var(--display); font-weight: 700; font-size: .9rem; }
.b-bar { flex: 1; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.b-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--butter); transition: width .45s var(--spring); }

.b-cloth, .b-paper { padding: 18px; border-radius: var(--r-md); background: var(--cream); color: var(--ink); }
.b-palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pick {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 12px; min-width: 0;
  border: 0; border-radius: 16px; cursor: pointer; background: #fff; transition: transform .3s var(--spring), background-color .2s;
}
.pick img { width: 60px; height: 60px; object-fit: contain; }
.pick span { font-size: .8rem; font-weight: 700; line-height: 1.2; text-align: center; }
.pick em { font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .5; min-height: 1em; }
.pick small { font-family: var(--display); font-weight: 700; font-size: .78rem; }
.pick:active { transform: scale(.92); }
@media (hover: hover) { .pick:hover { transform: translateY(-2px); background: var(--stone); } }
.pick[disabled] { opacity: .35; cursor: not-allowed; transform: none; background: #fff; }
.b-paper { padding: 22px; }
.b-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.opt legend, .opt > span { display: block; margin-bottom: 12px; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #9c7a3a; }
.opt-note { grid-column: 1 / -1; }
.opt input, .order input, .order select, .order textarea {
  width: 100%; min-height: 50px; padding: 10px 16px; border: 0; border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(26, 20, 20, .12);
  font: inherit; font-size: 16px; font-weight: 600;
}
.opt input:focus, .order input:focus, .order select:focus, .order textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1); transition: transform .3s var(--spring); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--ink); transform: scale(1.06); }
.b-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.b-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(201, 164, 92, .4); }
.b-total-label { display: block; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #9c7a3a; }
.b-total strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 500; font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.1; }
.b-total-hint { display: block; font-size: .88rem; opacity: .6; }

/* --- corporate --- */
.corp { background: radial-gradient(60% 80% at 25% 50%, #c4142a, var(--cherry) 50%, var(--cherry-dk)); color: var(--cream); }
.corp .tagline { color: var(--gold-hi); }
.corp-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.corp-art img { width: 100%; height: auto; filter: drop-shadow(0 40px 40px rgba(40, 0, 6, .5)); }
.corp-copy .btn { margin-top: 32px; }
.corp .sec-lead { color: rgba(250, 245, 238, .78); }

/* --- steps --- */
.steps-sec { background: var(--cream); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { padding: 32px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .25); }
.num { display: block; font-family: var(--display); font-weight: 300; font-size: 5.5rem; line-height: .8; color: var(--gold); margin-bottom: 26px; }
.steps h3 { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 12px; }
.steps p { color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 60px 0 20px; background: var(--ink); color: var(--cream); overflow: hidden; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-note { opacity: .7; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot-links a, .foot-links span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); text-decoration: none; font-weight: 700; }
.foot-links a:hover { background: var(--butter); color: var(--ink); }
.foot-brand { margin-top: 40px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: -.05em; line-height: .8; font-size: clamp(2.2rem, 9vw, 12rem); white-space: nowrap; color: var(--cherry); }
.foot-brand span { display: inline-block; }

/* ---------- drawer (the letter) ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(26, 20, 20, .45); opacity: 0; transition: opacity .3s; }
.drawer-scrim.on { opacity: 1; }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 61; width: min(480px, calc(100% - 24px)); transform: translateX(110%); transition: transform .55s var(--ease-out); visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.letter { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(26, 20, 20, .4); }
.letter-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 10px; }
.letter-head h2 { font-size: 1.8rem; font-weight: 600; text-transform: uppercase; }
.x { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: var(--cream); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.letter-body { flex: 1; overflow-y: auto; padding: 4px 24px 28px; overscroll-behavior: contain; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: #fff; }
.line-art { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: var(--stone); }
.line-art img { width: 54px; height: 54px; object-fit: contain; }
.mini-box { width: 40px; height: 34px; border-radius: 6px; background: var(--c); position: relative; }
.mini-box::before, .mini-box::after { content: ""; position: absolute; background: var(--r); }
.mini-box::before { left: 45%; width: 10%; top: 0; bottom: 0; }
.mini-box::after { top: 42%; height: 12%; left: 0; right: 0; }
.line h4 { font-family: var(--body); font-weight: 800; font-size: .98rem; line-height: 1.2; letter-spacing: 0; }
.line small { display: block; opacity: .6; font-size: .82rem; line-height: 1.35; margin-top: 3px; }
.line-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-r b { font-family: var(--display); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.line .qty button { width: 34px; height: 34px; }
.empty { opacity: .6; padding: 18px 0; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 4px 6px; font-family: var(--display); font-weight: 700; }
.sum strong { font-weight: 900; font-size: 2rem; letter-spacing: -.03em; }
.order { display: grid; gap: 12px; margin-top: 12px; }
.order label span { display: block; margin-bottom: 8px; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #9c7a3a; }
.order textarea { resize: vertical; min-height: 70px; }
.form-err { color: var(--cherry); font-weight: 800; }
.send { display: grid; gap: 10px; margin-top: 8px; }
.send .btn { width: 100%; }
.send .btn-ribbon { background: var(--cherry); color: var(--cream); box-shadow: 0 18px 40px -18px rgba(122, 7, 21, .8); }
.send .btn-ink { background: var(--ink); color: var(--cream); }
.send-note { font-size: .88rem; opacity: .6; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; max-width: calc(100% - 32px);
  padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--butter);
  font-family: var(--display); font-weight: 700; font-size: .92rem;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .5s var(--spring), visibility 0s .5s; pointer-events: none;
}
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--spring); }
.toast { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.toast.has-action { pointer-events: auto; padding: 8px 8px 8px 24px; }
.toast-go { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer; background: var(--gold); color: var(--ink); font-family: var(--body); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.cart-sum { font-family: var(--body); font-weight: 700; letter-spacing: .02em; text-transform: none; font-size: .82rem; color: var(--gold-hi); }
.upsell { margin-top: 18px; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .35); }
.upsell p { margin-bottom: 10px; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #9c7a3a; }
.ups-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ups { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 8px 4px; border: 0; border-radius: 14px; cursor: pointer; background: #fff; font: inherit; transition: background-color .2s; }
.ups img { width: 52px; height: 52px; object-fit: contain; }
.ups span { font-size: .76rem; line-height: 1.2; text-align: center; }
.ups b { font-size: .76rem; color: var(--cherry); }
@media (hover: hover) { .ups:hover { background: var(--stone); } }

/* ---------- perks ---------- */
.perks { padding: clamp(48px, 6vw, 80px) 0 0; background: var(--cream); }
.perks-row { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 16px; }
.perk { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--r-md); background: transparent; box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .3); }
.perk-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: var(--cherry); box-shadow: inset 0 0 0 1px var(--gold); }
.perk-ico svg { width: 24px; height: 24px; }
.perk p { font-size: .94rem; line-height: 1.4; color: var(--muted); }
.perk b { display: block; font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--ink); margin-bottom: 2px; }

/* ---------- section decoration ---------- */
.sec-head { position: relative; }
.wrap { position: relative; }
.sec-deco { position: absolute; right: 0; top: -20px; width: clamp(150px, 20vw, 300px); height: auto; pointer-events: none; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .18)); animation: drift 7s ease-in-out infinite; }
.sec-head:has(.sec-deco) { max-width: none; }
.sec-head:has(.sec-deco) > :not(.sec-deco) { max-width: min(900px, calc(100% - clamp(150px, 20vw, 300px))); }

/* ---------- faq ---------- */
.faq { background: var(--stone); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq .big { font-size: clamp(2.2rem, 1rem + 3.2vw, 4.2rem); }
.faq details { border-radius: var(--r-md); background: var(--cream); overflow: hidden; }
.faq summary { position: relative; display: block; padding: 22px 64px 22px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .4s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--cherry); color: var(--cream); box-shadow: none; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- mobile dock: the letter is always one tap away ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--cream); font-family: var(--display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 16px 40px -10px rgba(26, 20, 20, .6);
  transform: translateY(140%); transition: transform .5s var(--spring);
}
.dock.on { transform: none; }
.dock b { color: var(--butter); }
.fly-clone { position: fixed; z-index: 90; pointer-events: none; will-change: transform, opacity; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .3)); }

/* ---------- the serif accent: the second line of every section title ---------- */
.big em {
  display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: -.01em; font-size: 1.12em; line-height: .9;
  color: var(--cherry); padding-right: .06em;
}
.builder .big em, .corp .big em { color: var(--gold-hi); }

/* ---------- gifts: one hero piece, then the collection ---------- */
.gift.featured { grid-column: span 2; grid-row: span 2; }
.gift.featured .gift-art { aspect-ratio: auto; flex: 1; min-height: 420px; }
.gift.featured .gift-art img { width: min(72%, 560px); }
.gift.featured h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.gift.featured .gift-list { flex: 0 0 auto; font-size: 1.05rem; max-width: 460px; }
.gift.featured .price { font-size: 2rem; }

/* ---------- filling: the brands she stocks ---------- */
.filling { background: var(--stone); }
.filling-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.filling-copy .btn { margin-top: 32px; }
.brand-list { list-style: none; margin: 0; padding: 0; }
.brand-list li { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; font-size: clamp(2.6rem, 1.2rem + 4.4vw, 5.4rem); line-height: 1; padding: .22em 0; border-bottom: 1px solid rgba(201, 164, 92, .4); }
.brand-list li.more { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: clamp(1.8rem, 1rem + 2vw, 2.8rem); color: var(--cherry); border: 0; }
.gift-list { color: #9c7a3a; font-weight: 600; }

@media (max-width: 1080px) { .filling-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer nav ---------- */
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(250, 245, 238, .7); transition: color .3s; }
.foot-nav a:hover { color: var(--gold-hi); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(201, 164, 92, .25); font-size: .8rem; color: rgba(250, 245, 238, .5); }
.foot-base a { color: inherit; }
.corp .btn[role="button"] { cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; min-height: 100svh; padding-top: calc(var(--header-h) + 16px); padding-bottom: 32px; }
  .hero-title { margin-top: 6px; align-self: stretch; }
  .hero-stage { flex: 1 1 auto; align-self: stretch; height: auto; min-height: 320px; max-height: 620px; margin: 8px 0 12px; }
  .hero-box { height: min(92%, 520px); top: 50%; transform: translate(-50%, -50%); animation: none; }
  .f5 { top: 4%; }
  .hero-foot { margin-top: 0; }
  .hg1, .hg2, .fir-bl { display: none; }
  .hg3 { left: auto; right: 4%; --w: 52px; --len: 36px !important; }
  .hg4 { right: auto; left: 4%; --w: 46px; --len: 24px !important; display: none; }
  .fir-tr { width: 260px; right: -80px; top: auto; bottom: 30%; transform: rotate(-160deg); }
  .hero-kicker { font-size: .66rem; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gift.featured { grid-row: auto; }
  .candy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-layout { grid-template-columns: minmax(0, 1fr); }
  .b-stage { top: 80px; z-index: 5; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 14px; background: var(--cobalt); }
  .b-box { max-width: min(var(--box-w, 420px), 34svh); }
  /* focus and scroll-to must land below the sticky box, not under it */
  .b-side :is(button, input, select) { scroll-margin-top: calc(34svh + 160px); }
  .b-meter { margin-top: 12px; }
  .corp-inner { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .faq-inner { grid-template-columns: minmax(0, 1fr); }
  .perks-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .top { inset: 8px 8px auto 8px; height: 56px; padding-left: 18px; }
  .logo { font-size: 1rem; }
  .cart-btn-label { display: none; }
  .cart-sum { display: none; }
  /* phone: title, then the box, then the copy — nothing stacked on the headline */
  .hero { padding-top: 84px; padding-bottom: 28px; }
  .hero-stage { height: 330px; min-height: 0; margin: 4px 0 10px; }
  .hero-box { height: 300px; }
  .fly { width: 68px; }
  .f5, .f6, .f7, .f8 { width: 52px; }
  .f1 { left: 0; top: 4%; } .f3 { right: 0; top: 0; } .f2 { left: 2%; top: 66%; } .f4 { right: 2%; top: 70%; }
  .f7 { left: -2%; top: 36%; } .f8 { right: -2%; top: 36%; } .f5 { left: 26%; top: 2%; } .f6 { right: 26%; top: 88%; }
  .hero-foot { gap: 18px; }
  .hero-cta, .hero-cta .btn { width: 100%; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .candy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candy-grid { gap: 32px 14px; }
  .candy-desc { display: none; }
  .candy .price { font-size: 1.02rem; }
  .candy .qty button { width: 36px; height: 40px; }
  .b-palette { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-opts { grid-template-columns: minmax(0, 1fr); }
  .b-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .size { flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 64px; padding: 8px 10px; border-radius: 18px; }
  .size[aria-checked="true"] { transform: none; }
  .dock { display: flex; }
  .gift-art { aspect-ratio: 1.45; }
  .gift.featured .gift-art { min-height: 0; aspect-ratio: 1.2; }
  .gift.featured { grid-column: auto; }
  .gift-art img { width: 64%; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 96px; }
  /* phones: the decoration sits above the heading, never on it */
  .sec-deco { position: static; display: block; width: 96px; margin: 0 0 8px auto; }
  .sec-head:has(.sec-deco) > :not(.sec-deco) { max-width: none; }
  .faq summary { font-size: .98rem; padding: 18px 58px 18px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .b-box { padding: 10px; }
  .b-grid { gap: 5px; padding: 8px; }
  .b-total .btn { width: 100%; }
  .num { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- promos (акции) */
.promos { background: radial-gradient(70% 60% at 50% 40%, #c9162d, var(--cherry) 55%, var(--cherry-dk)); color: var(--cream); }
.promos .tagline { color: var(--gold-hi); }
.promos .big em { color: var(--gold-hi); }
.promo-grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--cream); color: var(--ink); box-shadow: 0 50px 80px -50px rgba(40, 0, 6, .8); }
.promo-art { position: relative; display: grid; place-items: center; padding: clamp(18px, 3vw, 40px); background: #fff; }
.promo-art img { width: 100%; max-width: 560px; height: auto; border-radius: 12px; }
.promo-label { position: absolute; left: clamp(12px, 2vw, 24px); top: clamp(12px, 2vw, 24px); padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--cream); font: 600 clamp(1rem, .9rem + .6vw, 1.5rem)/1 var(--display); letter-spacing: -.01em; rotate: -3deg; }
.promo-body { min-width: 0; display: flex; flex-direction: column; padding: clamp(22px, 3.4vw, 48px); }
.promo-body h3 { margin-top: 10px; font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.promo-text { flex: 1; margin-top: 16px; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.promo .price { font-size: 2rem; }
.promo .price s { font-size: .55em; color: var(--muted); font-weight: 400; margin-right: 6px; }
.promo + .promo:nth-child(even) .promo-art { order: 2; }
@media (max-width: 860px) { .promo { grid-template-columns: minmax(0, 1fr); } .promo + .promo:nth-child(even) .promo-art { order: 0; } }

/* 23 years: the loudest fact on the page after the headline */
.perk-years { gap: 20px; background: radial-gradient(90% 120% at 20% 20%, #c9162d, var(--cherry) 55%, var(--cherry-dk)); box-shadow: 0 30px 50px -34px rgba(122, 7, 21, .9); }
.perk-years .years-num { font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 2.4rem + 3vw, 5rem); line-height: .8; letter-spacing: -.05em; color: var(--gold-hi); margin: 0; }
.perk-years p { color: rgba(250, 245, 238, .75); }
.perk-years p b { font-size: 1.15rem; color: var(--cream); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 1080px) { .perks-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) { .sticker { width: 132px; right: 0; bottom: 0; } }

/* the star in "Как заказать": spins on hover/tap and sends New Year wishes */
.sec-deco.star-toy { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wish { position: absolute; left: 0; top: 0; z-index: 80; margin: 0; pointer-events: none; white-space: nowrap; font: italic 500 clamp(1.5rem, 1.2rem + 1vw, 2.3rem)/1.1 var(--serif); color: var(--cherry); padding-bottom: 10px; }
.wish::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 1.4s .3s var(--ease-out); }
.wish span { display: inline-block; opacity: 0; filter: blur(6px); translate: 0 6px; transition: opacity .9s var(--d) var(--ease-out), filter .9s var(--d) var(--ease-out), translate .9s var(--d) var(--ease-out); }
.wish.on span { opacity: 1; filter: blur(0); translate: 0 0; }
.wish.on::after { transform: scaleX(1); }
.wish.off { opacity: 0; filter: blur(4px); transition: opacity .8s, filter .8s; }
.dust { position: absolute; left: 0; top: 0; z-index: 79; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #fff6dc, var(--gold-hi) 45%, rgba(201, 164, 92, 0) 70%); box-shadow: 0 0 6px rgba(230, 204, 148, .8); }
@media (prefers-reduced-motion: reduce) { .sticker, .sticker::after { animation: none; } }

/* ---------- heading rhythm: one scale for every section head ----------
   tagline → title → lead → content, each gap grows with the title size */
:root {
  --gap-tag: clamp(22px, .9rem + 1.1vw, 34px);
  --gap-lead: clamp(24px, 1rem + 1.4vw, 40px);
  --gap-head: clamp(44px, 2rem + 3vw, 84px);
}
.tagline { margin-bottom: var(--gap-tag); }
.big em { margin-top: .1em; }
.sec-lead { margin-top: var(--gap-lead); }
.sec-head { margin-bottom: var(--gap-head); }
.corp-copy .btn, .filling-copy .btn { margin-top: var(--gap-lead); }
@media (max-width: 560px) {
  /* the decoration floats in the section's top padding instead of pushing the heading down */
  .sec-deco { position: absolute; right: 0; top: -74px; width: 76px; margin: 0; }
}
.faq .sec-head { margin-bottom: 0; }
.faq-inner { row-gap: var(--gap-head); }
.corp { overflow-x: clip; } /* the fir hangs off the edge; never let it widen the page */
