/* ==========================================================================
   Kodo — Circ-style inner pages: collection, all categories, product.
   Loaded last (layout/theme.liquid). Kept apart from the starter's stylesheets so `arabshop theme update` never
   meets it. Values are the theme's tokens only.

   The idea: flat and playful. No white boxes or shadows: content sits straight on the page, grouped by space and
   hairlines; every control is a pill. One loud device carries the personality: a big editorial title on a beige
   band, with one small fact on a tilted mustard «sticker» (the product count; on a product, the saving).
   ========================================================================== */

/* ── The sticker: one fact, tilted like Circ's playful buttons ─────────────────────────────────────────────────── */
.page-hero__count,
.pdp__price-row .badge--discount {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  rotate: -3deg;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--on-accent) 16%, transparent);
}

/* ── Page header: a beige band with the title as the hero ──────────────────────────────────────────────────────── */
.page-hero { background: var(--scheme-soft-bg); border-block-end: 0; }
.page-hero__inner { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero__title {
  margin-block-start: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--font-editorial);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
:lang(ar) .page-hero__title { line-height: 1.2; letter-spacing: 0; }
.page-hero__headline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1rem; margin-block-start: clamp(1rem, 2.5vw, 2rem); }
.page-hero__headline .page-hero__title { margin: 0; }
.page-hero__count { margin-block-end: 0.6em; }
.page-hero__sub { max-width: 40rem; margin-block-start: 1rem; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); color: var(--ink-700); }
.page-hero .subcats { margin-block-start: 1.5rem; }
.breadcrumb { font-size: var(--text-sm); }

/* Pills: subcategories, a category's children, the filters you picked. The current one is filled with ink. */
.chip {
  padding: 0.5rem 1rem;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 18%, transparent);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-900);
}
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink-900); }
.chip.is-active { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip .muted { color: inherit; opacity: 0.6; }

/* ── Collection: flat filters beside the grid ──────────────────────────────────────────────────────────────────── */
.shop-layout { gap: clamp(1.5rem, 3vw, 3rem); }
@media (min-width: 1024px) {
  .shop-layout { grid-template-columns: 15rem 1fr; }
  .shop-layout > .filters { position: sticky; inset-block-start: calc(var(--header-main) + 1.5rem); }
}
.shop-layout > .filters.card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.filters__title { font-size: var(--text-lg); font-weight: var(--heading-weight); }
.filter-block { border-color: var(--line); }
.filter-block__title { font-size: var(--text-sm); font-weight: 600; }
.filter-opt { color: var(--ink-800); }
.filter-opt input { accent-color: var(--ink); }
.price-range .input { border-radius: var(--r-full); padding-inline: 1rem; }
.filters .btn--primary { min-height: 3rem; border-radius: var(--r-full); }
/* the count already rides on the title's sticker */
.page:has(.page-hero__count) .toolbar__count { visibility: hidden; }
.toolbar .select-native,
.toolbar .btn--outline { border-radius: var(--r-full); }

/* ── All categories: big photo tiles, the name under each, its children as pills ──────────────────────────────── */
.cat-index { gap: 2.5rem 1.25rem; }
.cat-index__item { gap: 0.875rem; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.cat-index__head { flex-direction: column; align-items: stretch; gap: 0.875rem; }
.cat-index__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--card-radius);
  background: var(--scheme-soft-bg);
  color: var(--ink-500);
}
.cat-index__media img { transition: scale 0.5s ease-out; }
.cat-index__media .icon { width: 2.5rem; height: 2.5rem; }
@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cat-index__head:hover .cat-index__media img { scale: 1.03; }
}
.cat-index__titles { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 1rem; }
.cat-index__name { font-family: var(--font-editorial); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.2; }
.cat-index__head:hover .cat-index__name { color: var(--ink-900); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.cat-index__count { flex: none; font-size: var(--text-sm); }
.cat-index__arrow { display: none; }
.cat-index__kids .chip { font-size: var(--text-sm); }

/* ── Product page ─────────────────────────────────────────────────────────────────────────────────────────────── */
/* only the breadcrumb sits above a product: no band, it would frame nothing */
.page:has(.pdp) .page-hero { background: none; }
.page:has(.pdp) .page-hero__inner { padding-block: 1.25rem 0; }

@media (min-width: 900px) { .pdp { grid-template-columns: 1.12fr 0.88fr; gap: clamp(2rem, 5vw, 5rem); } }

/* Gallery: the photo melts into a beige panel (multiply), no frame or shadow; round thumbnails-in-squares below */
:root:not([data-mode="dark"]) .gallery { --gallery-bg: var(--scheme-soft-bg); }
.gallery__main { border-radius: calc(var(--card-radius) * 1.5); box-shadow: none; }
.gallery__thumb { border-radius: var(--card-radius); box-shadow: none; opacity: 0.6; }
.gallery__thumb.is-active::after { box-shadow: inset 0 0 0 2px var(--ink); }
.gallery__btn { border-radius: var(--r-full); }

/* Info: the name is the headline; price and stock beneath, then choices, then the buttons */
.pdp__info { gap: 1.25rem; }
.pdp__title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
:lang(ar) .pdp__title { line-height: 1.3; letter-spacing: 0; }
.pdp__meta { font-size: var(--text-xs); }
.pdp__box { gap: 1.75rem; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.pdp__price-row { gap: 0.75rem 1rem; }
.pdp__price-row .price--xl { font-size: clamp(1.625rem, 1.4rem + 0.7vw, 2rem); font-weight: 600; }
.pdp__price-row .price-was { font-size: var(--text-md); }
.pdp__price-row .badge--discount .num { font-weight: 700; }
/* stock as a status dot, not a coloured sentence */
.pdp__stock { margin-block-start: -0.75rem; font-weight: 600; }
.pdp__stock--in::before, .pdp__stock--low::before, .pdp__stock--out::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

/* options: pills; the chosen one filled with ink */
.opt-chip__text {
  min-height: 2.75rem;
  padding: 0.5rem 1.125rem;
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: var(--r-full);
  background: transparent;
  font-weight: 500;
}
.opt-chip:hover .opt-chip__text { border-color: var(--ink); }
.opt-chip input:checked + .opt-chip__text { border-color: var(--ink); background: var(--ink); color: var(--bg); box-shadow: none; }

/* buttons: tall pills; «add to cart» tilts like the home page's buttons when pointed at */
.pdp__actions { --pdp-ctl: 3.5rem; padding-block-start: 1.75rem; border-block-start: 1px solid var(--line); }
.pdp__actions .qty { border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); border-radius: var(--r-full); box-shadow: none; }
.pdp__actions .btn--icon { border-radius: var(--r-full); }
.pdp__buy .btn { border-radius: var(--r-full); font-size: var(--text-md); }
.pdp__buy .btn--outline { border-width: 1.5px; border-color: var(--ink); color: var(--ink); }
.pdp__buy .btn--primary { transition: transform 0.3s ease-in-out, background-color var(--t-fast) var(--ease); }
@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pdp__buy .btn--primary:hover:not(:disabled) { transform: rotate(-1.5deg) scale(1.02); }
}
.pdp__perks { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.pdp__perk { align-items: center; font-size: var(--text-sm); color: var(--ink-700); }
.pdp__perk .icon { color: var(--ink-900); }

/* what's in a bundle: a quiet list, no boxes */
.bundle-items__title { font-size: var(--text-md); font-weight: var(--heading-weight); }
.bundle-items__list { gap: 0; }
.bundle-item__link { padding: 0.625rem 0; border: 0; border-block-end: 1px solid var(--line); border-radius: 0; background: none; }
.bundle-item:first-child .bundle-item__link { border-block-start: 1px solid var(--line); }
.bundle-item__link:hover .bundle-item__name { text-decoration: underline; text-underline-offset: 0.25em; }
.bundle-item__media { background: var(--scheme-soft-bg); }

/* Description: straight on the page; a lone tab reads as a heading, not a tab bar */
.page:has(.pdp) .card.card--pad:has(> .tabs) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.tabs { border-color: var(--line); }
.tabs__tab { font-size: var(--text-md); font-weight: var(--heading-weight); }
.tabs:has(.tabs__tab:only-child) { border-block-end: 0; }
.tabs__list:has(> .tabs__tab:only-child) .tabs__tab {
  padding-inline: 0;
  border: 0;
  box-shadow: none;
  color: var(--ink-900);
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  cursor: default;
}
.tabs__list:has(> .tabs__tab:only-child) .tabs__tab::after { display: none; }
.page:has(.pdp) .prose { max-width: 65ch; font-size: var(--text-md); line-height: 1.8; color: var(--ink-800); }
/* the description in tabs / stacked blocks fills the card (owner request) */
.page:has(.pdp) :is(.tabs__panel, .pdp-block) .prose { max-width: none; }

/* the related rail's title speaks in the same editorial voice */
.page:has(.pdp) .section-head__title { font-family: var(--font-editorial); font-weight: 600; }

/* the photo badge would repeat the price's sticker */
.page:has(.pdp__price-row .badge--discount) .gallery__flags .badge--discount { display: none; }

/* «Bought together»: a beige panel instead of a white box; this product marked by a quiet ink ring */
.fbt { padding: clamp(1rem, 2vw, 1.5rem); border-radius: calc(var(--card-radius) * 1.25); background: var(--scheme-soft-bg); box-shadow: none; }
.fbt__title { font-size: var(--text-md); font-weight: var(--heading-weight); }
.fbt__title .icon { color: var(--ink-900); }
.fbt__media { background: var(--bg); box-shadow: none; }
.fbt__item.is-current .fbt__tile { background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1.5px var(--ink); }
.fbt__this { background: var(--ink); color: var(--bg); }
.fbt .btn { border-radius: var(--r-full); }

/* ══ Home hero (cover layout) ══════════════════════════════════════════════════════════════════════════════════════
   A warm charcoal field (the light theme's ink, so it stays charcoal in dark mode too) that no longer melts into the
   near-black announcement bar. The headline is the hero. The characters get a stage: a lighter floor strip with a
   faint horizon that they stand on and the peeker rises from (slides without a picture or video; with media they
   stand on its lower edge). One entrance per slide: headline, line and button rise in turn, then the cast climbs
   onto the stage. */
.hero--cover .hero__slide--ink { background: var(--light-ink); color: var(--on-media); }
.hero--cover .hero__slide { --floor-h: 0px; }
.hero--cover .hero__slide--no-image.hero__slide--has-cast { --floor-h: clamp(2.5rem, 4.5vw, 4rem); }
.hero-floor {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 1;
  height: var(--floor-h);
  background: color-mix(in srgb, var(--on-media) 7%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--on-media) 14%, transparent);
}
.hero--cover .hero-cast { inset-block-end: var(--floor-h); font-size: clamp(0.95rem, 0.55rem + 1vw, 1.5rem); }

/* type: the headline carries the slide; the line under it is quieter and short */
.hero--cover .hero__title {
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
:lang(ar) .hero--cover .hero__title { line-height: 1.2; letter-spacing: 0; }
.hero--cover .hero__body {
  max-width: 30rem;
  padding-block-end: 0;
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: color-mix(in srgb, currentColor 78%, transparent);
  text-wrap: pretty;
}
.hero--cover .hero__copy { gap: 0; }
.hero--cover .hero__body { margin-block-start: clamp(0.75rem, 1.6vw, 1.25rem); }
.hero--cover .hero__actions { margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.hero--cover .hero__cta { min-height: 3.5rem; padding-inline: 2.5rem; font-size: var(--text-md); }
/* the text centres in the space above the stage and the cast */
.hero--cover .hero__slide--has-cast .hero__copy { padding-block-end: calc(var(--floor-h) + clamp(5rem, 10vw, 9rem)); }

/* phones: a taller field so the cast has room under the text */
@media (max-width: 768px) {
  .hero--cover .hero__slide--has-cast { min-height: max(var(--hero-h-m), 30rem); }
}


/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero--cover .hero__title   { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
  .hero--cover .hero__body    { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both; }
  .hero--cover .hero__actions { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
  .hero--cover .hero-floor    { animation: hero-fade 0.6s ease-out 0.35s both; }
  .hero--cover .hero-cast     { animation: cast-enter 0.9s cubic-bezier(0.3, 1.4, 0.5, 1) 0.55s both; }
}
@keyframes hero-rise { from { opacity: 0; translate: 0 1.5rem; } }
@keyframes hero-fade { from { opacity: 0; } }
/* the cast climbs out of the floor line: as it moves down by x it is clipped by x from below, so nothing shows under the horizon */
@keyframes cast-enter { from { translate: 0 100%; clip-path: inset(0 0 100% 0); } to { translate: 0 0; clip-path: inset(0 0 0 0); } }

/* ══ Editorial banner: background colour and «product on the side» (image_placement: side, Circ's lamp) ══════════
   The frame takes bg_color (else the soft beige). In side placement the picture keeps its own shape, stands on the
   side opposite the text at the page edge, starts near the top and runs off the lower edge; in light mode it is
   multiplied into the background, so a white or light photo background melts away. Phones: lower and smaller,
   under the text. */
.s-editorial__frame { background: var(--ed-bg, var(--scheme-soft-bg)); }
.s-editorial--side .s-editorial__media {
  inset: auto;
  inset-block: clamp(1rem, 3vh, 2.5rem) -8%;
  inset-inline-end: calc(var(--ed-edge) * 0.5);
  display: flex;
  justify-content: flex-end;
  max-width: min(46%, 44rem); /* always a gap before the text column (38rem at most) */
}
.s-editorial--side.s-editorial--end .s-editorial__media { inset-inline-end: auto; inset-inline-start: calc(var(--ed-edge) * 0.5); justify-content: flex-start; }
.s-editorial--side .s-editorial__img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: bottom; }
:root:not([data-mode="dark"]) .s-editorial--side .s-editorial__img { mix-blend-mode: multiply; }
@media (max-width: 749px) {
  .s-editorial--side .s-editorial__media { inset-block-start: auto; height: 56%; max-width: 92%; inset-inline-end: 0.5rem; }
  .s-editorial--side.s-editorial--end .s-editorial__media { inset-inline-start: 0.5rem; }
}

/* ══ Bundle hero (sections/bundle-hero): «choose N, save P%» ═══════════════════════════════════════════════════════
   Charcoal field (the brand colour in theme «brand"), the offer as a big editorial headline on one side, the scene on
   the other: products drop into a red tote, a meter counts up, a mustard sticker pops when the bundle is complete.
   The per-item keyframes are printed by the section; here the shared timing, the drawing and the layout. */
.bundle-hero { position: relative; overflow: hidden; background: var(--light-ink); color: var(--on-media); }
.bundle-hero--brand { background: var(--primary); }
.bundle-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  min-height: clamp(36rem, 82svh, 48rem);
  padding-block: clamp(3rem, 7vw, 5rem);
}
@media (min-width: 900px) { .bundle-hero__inner { grid-template-columns: 1.05fr 1fr; } }
.bundle-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.bundle-hero__title {
  max-width: 12ch;
  font-family: var(--font-editorial);
  font-size: clamp(2.75rem, 1.5rem + 4.4vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: inherit;
  text-wrap: balance;
}
:lang(ar) .bundle-hero__title { line-height: 1.2; letter-spacing: 0; }
.bundle-hero__text { max-width: 28rem; margin-block-start: clamp(1rem, 2vw, 1.5rem); font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem); line-height: 1.55; color: color-mix(in srgb, currentColor 78%, transparent); text-wrap: pretty; }
.bundle-hero__actions { margin-block-start: clamp(1.75rem, 3vw, 2.5rem); }
.bundle-hero__cta {
  min-height: 3.5rem;
  padding-inline: 2.5rem;
  border: 1px solid var(--primary);
  border-radius: var(--btn-radius);
  font-size: var(--text-md);
  font-weight: 500;
  transition: transform 0.3s ease-in-out, background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.bundle-hero__cta:hover { background: var(--on-media); border-color: var(--on-media); color: var(--primary); }
.bundle-hero--brand .bundle-hero__cta { background: var(--on-media); border-color: var(--on-media); color: var(--primary); }
@media (any-pointer: fine) and (prefers-reduced-motion: no-preference) { .bundle-hero__cta:hover { transform: rotate(-2deg) scale(1.05); } }
.bundle-hero__note { margin-block-start: 1rem; font-size: var(--text-sm); color: color-mix(in srgb, currentColor 60%, transparent); }

/* the scene */
.bundle-scene { position: relative; width: min(100%, 30rem); aspect-ratio: 1 / 1.05; justify-self: center; }
.bundle-bag, .bh-item, .bundle-meter__seg::after, .bundle-meter__count, .bundle-sticker {
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}
.bundle-bag { position: absolute; left: 14%; right: 14%; bottom: 16%; height: 44%; transform-origin: 50% 100%; }
.bundle-bag__handle {
  position: absolute;
  left: 27%;
  right: 27%;
  bottom: 86%;
  height: 46%;
  border: 0.6rem solid color-mix(in srgb, var(--primary) 72%, var(--shadow-color));
  border-block-end: 0;
  border-radius: 999px 999px 0 0;
}
.bundle-bag__back { position: absolute; inset: 0; border-radius: 0.9rem 0.9rem 1.6rem 1.6rem; background: color-mix(in srgb, var(--primary) 68%, var(--shadow-color)); }
.bundle-bag__items { position: absolute; left: 4%; right: 4%; bottom: 52%; height: 70%; }
.bh-item {
  position: absolute;
  bottom: 0;
  left: calc((100% - 44%) * var(--i) / (var(--n) - 1));
  width: 44%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--on-media);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--shadow-color) 35%, transparent);
}
.bh-item:nth-child(1) { --r: -8deg; }
.bh-item:nth-child(2) { --r: 5deg; }
.bh-item:nth-child(3) { --r: -3deg; }
.bh-item:nth-child(4) { --r: 9deg; }
.bh-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bh-item--empty { display: grid; place-items: center; color: var(--ink-500); }
.bundle-bag__front {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0;
  height: 62%;
  border-radius: 0.6rem 0.6rem 1.8rem 1.8rem;
  background: var(--primary);
  box-shadow: inset 0 3px 0 color-mix(in srgb, var(--on-media) 18%, transparent);
}
.bundle-bag__front::after { content: ""; position: absolute; left: 32%; right: 32%; top: 26%; height: 0.35rem; border-radius: 999px; background: color-mix(in srgb, var(--on-media) 28%, transparent); }
.bundle-hero--brand .bundle-bag__front { background: var(--on-media); }
.bundle-hero--brand .bundle-bag__back, .bundle-hero--brand .bundle-bag__handle { border-color: color-mix(in srgb, var(--on-media) 70%, var(--primary)); background-color: color-mix(in srgb, var(--on-media) 70%, var(--primary)); }
.bundle-hero--brand .bundle-bag__handle { background: none; }

/* the meter: one segment per product, filled in reading order, and the count beside it */
.bundle-meter { position: absolute; left: 14%; right: 14%; bottom: 2%; display: flex; align-items: center; gap: 0.875rem; }
.bundle-meter__segs { display: flex; flex: 1; gap: 0.375rem; }
.bundle-meter__seg { position: relative; flex: 1; height: 0.5rem; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--on-media) 16%, transparent); }
.bundle-meter__seg::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left center; }
[dir="rtl"] .bundle-meter__seg::after { transform-origin: right center; }
.bundle-meter__counts { display: grid; min-width: 3.25rem; font-size: var(--text-md); font-weight: 700; }
.bundle-meter__count { grid-area: 1 / 1; text-align: center; unicode-bidi: isolate; direction: ltr; }

/* the sticker: the saving, unlocked */
.bundle-sticker {
  position: absolute;
  inset-block-start: 3%;
  inset-inline-end: 0;
  z-index: 2;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 3px 0 color-mix(in srgb, var(--on-accent) 20%, transparent);
}

/* entrance for the text, as the page opens */
@media (prefers-reduced-motion: no-preference) {
  .bundle-hero__title   { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
  .bundle-hero__text    { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both; }
  .bundle-hero__actions { animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
}
/* reduced motion: the finished scene, still */
@media (prefers-reduced-motion: reduce) {
  .bundle-scene *, .bundle-scene *::after { animation: none !important; }
  .bh-item { transform: rotate(var(--r)); }
  .bundle-meter__seg::after { transform: scaleX(1); }
  .bundle-meter__count { opacity: 0; }
  .bundle-meter__count:last-child { opacity: 1; }
  .bundle-sticker { transform: rotate(-6deg); }
}