/* Bamboo Shampoo, site layer v2. Builds on tokens.css (values) and components.css (learning kit). */
/* --col-gap is the single gutter between the two halves of every two-column section (system, cap, honest, FAQ),
   so every right-hand column starts on the same vertical line. --hero-inset is the hero card's distance from the viewport edge. */
:root { --gutter: 20px; --wrap: 1200px; --header-h: 64px; --ease: cubic-bezier(.2,.7,.2,1); --header-slide: .28s cubic-bezier(.26,.52,.32,1); --col-gap: var(--space-7); --hero-inset: 0px; }
@media (min-width: 760px) { :root { --gutter: 32px; --header-h: 72px; --hero-inset: 16px; } }
@media (min-width: 900px) { :root { --col-gap: var(--space-9); } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Anchors and keyboard focus clear the sticky header through scroll-margin on the targets.
   This used to be scroll-padding on html, but that made Chrome treat the header's own controls as hidden: tapping menu, bag or Shop scrolled the page by half a screen. */
:where([id], a[href], button, input, select, textarea, summary, [tabindex]) { scroll-margin-top: calc(var(--header-h) + 16px); }
.site-header :where([id], a[href], button, input, select, textarea, summary, [tabindex]) { scroll-margin-top: 0; }
body { margin: 0; min-height: 100vh; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-sans); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
@media (max-width: 359px) { h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }
p { margin: 0; text-wrap: pretty; }
:lang(de) h1, :lang(de) h2, :lang(de) .display { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute !important; 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: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: calc(720px + 2 * var(--gutter)); }
.section { padding-block: clamp(64px, 7vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 80px); }
/* Two sections on the same ground read as one long gap; collapse the seam to a single section's padding. */
.section:not(.section--tint):not(.section--stage) + .section:not(.section--tint):not(.section--stage) { padding-top: 0; }
.section--tint { background: var(--surface-tint); }
.section--stage { background: var(--surface-stage); }
.band { border-radius: var(--radius-xl); }

/* Type scale: responsive versions of the token styles */
.display-xl { font-size: clamp(50px, 7.4vw, 104px); }
.display-l { font-size: clamp(42px, 5.4vw, 72px); }
.display-m { font-size: clamp(34px, 4.2vw, 52px); }
.title { font-size: clamp(26px, 2.6vw, 32px); }
.numeral { font-size: clamp(110px, 17vw, 200px); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-muted); max-width: 46ch; }
.lead--ink { color: var(--ink); }
.eyebrow { display: block; margin-bottom: var(--space-4); font: 500 14px/1.3 var(--font-sans); color: var(--brand); }
.muted { color: var(--ink-muted); }
.brandc { color: var(--brand); }
.h-brand { color: var(--brand-deep); }
[data-theme="dark"] .h-brand { color: var(--ink); }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--brand); text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 28px; border-radius: var(--radius-pill); border: 1px solid transparent; font: 600 15px/1.2 var(--font-sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn .ico { width: 18px; height: 18px; margin-right: -6px; transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(2px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-deep); }
[data-theme="dark"] .btn--primary:hover { background: var(--accent); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #FFFFFF; color: var(--wine); }
.btn--light:hover { background: var(--bone); }
.btn--ghost-light { color: #FFFFFF; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: #FFFFFF; color: var(--wine); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; }
@media (max-width: 359px) { .btn { white-space: normal; text-align: center; } }
.link { color: var(--brand); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .2s var(--ease); }
.link:hover { text-decoration-color: currentColor; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; transition: background-color .2s var(--ease); }
.iconbtn:hover { background: var(--surface-tint); }

/* Announcement and header */
.announce {
  background: var(--wine); color: var(--ink); text-align: center;
  font-size: clamp(11px, 3.4vw, 13px); line-height: 1.3; padding: 9px 8px; white-space: nowrap;
}
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), transform var(--header-slide); }
.site-header.is-scroll-hidden:not(:has(:focus-visible)) { transform: translateY(calc(-100% - var(--header-hide-offset, 0px))); pointer-events: none; }
.site-header:has(:focus-visible) { transition-property: border-color; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); height: var(--header-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brandmark, .site-header .wordmark { display: block; letter-spacing: 0; line-height: 0; }
.site-header .wordmark img, .menu-sheet .wordmark img { width: 118px; height: auto; }
@media (min-width: 760px) { .site-header .wordmark img { width: 132px; } }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; cursor: pointer; }
.nav { display: none; }
.site-header__tools { display: flex; align-items: center; gap: var(--space-2); justify-self: end; }
.lang { display: inline-grid; place-items: center; min-width: 44px; height: 44px; font: 600 13px/1 var(--font-sans); letter-spacing: .04em; text-decoration: none; color: var(--ink-muted); border-radius: var(--radius-pill); }
.lang:hover { color: var(--brand); }
.bag-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.bag-btn .ico { width: 24px; height: 24px; }
.bag-btn__n { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--on-brand); font: 700 11px/18px var(--font-sans); text-align: center; font-variant-numeric: tabular-nums; }
.bag-btn__n.is-bump { animation: bs-bump .4s var(--ease); }
@keyframes bs-bump { 40% { transform: scale(1.3); } }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .site-header__in { grid-template-columns: auto 1fr auto; }
  .nav { display: flex; justify-content: center; gap: var(--space-2); }
  .nav__link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: var(--radius-pill); font: 500 15px/1 var(--font-sans); color: var(--ink); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
  .nav__link .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
  .nav__link:hover, .nav__trigger[aria-expanded="true"] { background: var(--surface-tint); }
  .nav__link[aria-current] { color: var(--brand); }
  .nav__trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }
}
.nav__shop { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(43, 26, 23, .35); }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: var(--space-7); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: var(--space-6) var(--gutter) var(--space-7); }
.mega__col { display: grid; align-content: start; gap: 2px; }
.mega__col .label { color: var(--ink-muted); margin-bottom: var(--space-2); }
.mega__col a { padding: 7px 0; font: 400 19px/1.25 var(--font-serif); text-decoration: none; color: var(--ink); }
.mega__col a:hover { color: var(--brand); }
.mega__feature { display: grid; grid-template-columns: 112px 1fr; grid-template-rows: auto 1fr; column-gap: var(--space-4); align-items: start; padding: var(--space-3); border-radius: var(--radius-xl); background: var(--surface-stage); text-decoration: none; }
.mega__feature img { grid-row: span 2; width: 112px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); }
.mega__feature-t { margin-top: 6px; font: 400 24px/1.1 var(--font-serif); color: var(--brand-deep); }
.mega__feature-l { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.menu-sheet { position: fixed; inset: 0; z-index: 70; background: var(--surface); overflow-y: auto; overscroll-behavior: contain; }
.menu-sheet__in { padding: 0 var(--gutter) var(--space-8); }
.menu-sheet__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu-sheet__nav { display: grid; gap: 2px; padding-top: var(--space-4); }
.menu-sheet__nav .label { margin: var(--space-5) 0 var(--space-2); color: var(--ink-muted); }
.menu-sheet__nav a { padding: 8px 0; font: 400 28px/1.15 var(--font-serif); text-decoration: none; color: var(--ink); }
.menu-sheet__nav hr { width: 100%; margin: var(--space-5) 0 var(--space-3); border: 0; border-top: 1px solid var(--line); }
.menu-sheet__lang { font-family: var(--font-sans) !important; font-size: 15px !important; font-weight: 600; color: var(--brand) !important; margin-top: var(--space-4); }

/* Footer */
.site-footer {
  background: var(--wine);
  color: var(--ink);
}

.site-footer__in {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3.5rem) max(1.25rem, env(safe-area-inset-bottom));
  padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
}

.site-footer__brand {
  display: grid;
  justify-items: center;
  align-content: start;
}

.site-footer__brand img {
  width: clamp(4.5rem, 8.75vw, 7rem);
  height: auto;
}

.site-footer__cols,
.site-footer__group,
.site-footer__links,
.site-footer__base > *,
.site-footer__meta > * {
  min-width: 0;
}

.site-footer__heading,
.site-footer__summary {
  margin: 0;
  color: var(--ink);
  font: 600 0.9375rem/1.4 var(--font-sans);
  overflow-wrap: anywhere;
}

.site-footer__group > .site-footer__heading {
  display: none;
}

.site-footer[data-footer-wide] .site-footer__group > .site-footer__heading,
.site-footer__contact > .site-footer__heading {
  display: block;
}

.site-footer__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: max(44px, 3.25rem);
  padding-block: 0.625rem;
  list-style: none;
  cursor: pointer;
}

.site-footer__summary::-webkit-details-marker {
  display: none;
}

.site-footer__summary::after {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-inline: 0.25rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-25%) rotate(45deg);
}

.site-footer__group[open] > .site-footer__summary::after {
  transform: translateY(25%) rotate(225deg);
}

.site-footer[data-footer-wide] .site-footer__summary {
  display: none;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a,
.site-footer__privacy {
  display: inline-block;
  min-height: max(44px, 2.75rem);
  max-width: 100%;
  padding-block: 0.6875rem;
  color: var(--ink);
  font: 400 0.9375rem/1.45 var(--font-sans);
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  text-decoration: underline;
}

.site-footer__privacy {
  padding-inline: 0;
  border: 0;
  background: none;
  text-align: start;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer__summary:focus-visible,
.site-footer__links a:focus-visible,
.site-footer__privacy:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem 1.5rem;
  padding-block-start: 0.875rem;
  border-block-start: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  margin: 0;
}

@media (width < 768px) {
  .site-footer__group,
  .site-footer__contact {
    border-block-start: 1px solid var(--line);
  }

  .site-footer__group > .site-footer__links {
    padding: 0 0.75rem 0.625rem;
  }

  .site-footer__contact {
    padding-block-start: 1rem;
  }

  .site-footer__contact .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
  }

  .site-footer__contact .site-footer__links li {
    min-width: 0;
  }

  .site-footer__base {
    display: grid;
  }
}

@media (width >= 768px) {
  .site-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3vw, 2.75rem);
    row-gap: 1.5rem;
    align-items: start;
  }

  .site-footer__heading,
  .site-footer__summary {
    padding-block-end: 0.75rem;
    border-block-end: 1px solid var(--line);
  }

  .site-footer__links {
    padding-block-start: 0.375rem;
  }
}

@media (768px <= width < 1120px) {
  .site-footer__cols {
    grid-template-rows: auto auto;
    grid-auto-flow: column;
  }
}

@media (width >= 1120px) {
  .site-footer__in {
    grid-template-columns: minmax(9rem, 0.95fr) minmax(0, 4fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
  }

  .site-footer__brand {
    justify-items: start;
  }

  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  }
}

/* Bag drawer */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(42, 18, 21, .38); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s var(--ease); }
.drawer-scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; width: min(440px, 100vw); background: var(--surface-raised); box-shadow: var(--shadow-pop); transform: translateX(104%); transition: transform .45s var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.drawer__title { font: 400 28px/1.1 var(--font-serif); }
.drawer__ship { padding: var(--space-4) var(--space-5); font-size: 14px; color: var(--ink-muted); }
.drawer__ship-bar { height: 6px; margin-top: 10px; border-radius: 6px; background: var(--surface-tint); overflow: hidden; }
.drawer__ship-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .6s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 0 var(--space-5); }
.bag-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.bag-line__name, .bag-line__meta { overflow-wrap: break-word; }
.bag-line img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-md); background: var(--surface-stage); }
.bag-line__name { font: 400 21px/1.15 var(--font-serif); }
.bag-line__meta { font-size: 13px; line-height: 1.4; color: var(--ink-muted); margin-top: 2px; }
.bag-line__price { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.bag-line__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); }
.stepper { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.stepper button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.stepper button .ico { width: 16px; height: 16px; }
.stepper output, .stepper span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag-line__rm { border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.drawer__foot { padding: var(--space-5); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); }
.drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.drawer__row strong { font-variant-numeric: tabular-nums; }
.drawer__fine { font-size: 13px; color: var(--ink-muted); }
.drawer__empty { padding: var(--space-7) var(--space-5); display: grid; gap: var(--space-5); justify-items: start; color: var(--ink-muted); }
.toast { position: absolute; left: var(--space-5); right: var(--space-5); bottom: calc(100% + 8px); pointer-events: none; }
body.no-scroll { overflow: hidden; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Hero */
.hero { padding: var(--hero-inset) var(--hero-inset) 0; }
.hero__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: min(88svh, 860px); background: var(--surface-stage); isolation: isolate;
  /* Inner padding that puts hero text on the same left line as the logo and every section below:
     the page column starts at max((viewport - wrap) / 2, gutter); the frame already sits --hero-inset in from the edge. */
  --hero-pad: max(calc((100% - var(--wrap)) / 2), calc(var(--gutter) - var(--hero-inset))); }
@media (max-width: 759px) { .hero__frame { border-radius: 0; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease), transform 8s linear; transform: scale(1.04); }
.hero__img.is-on { opacity: 1; transform: scale(1); }
.hero__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(247,244,238,.92) 0%, rgba(247,244,238,.6) 34%, rgba(247,244,238,0) 62%); }
@media (min-width: 900px) { .hero__veil { background: linear-gradient(90deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.72) 30%, rgba(247,244,238,0) 56%); } }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 640px); align-content: start; gap: var(--space-5); padding: clamp(36px, 7vw, 96px) var(--hero-pad); }
@media (min-width: 900px) { .hero__content { min-height: min(88svh, 860px); align-content: center; } }
.hero__content .lead { color: var(--ink); max-width: 40ch; }
.hero__scenes { position: absolute; z-index: 2; left: var(--hero-pad); right: var(--hero-pad); bottom: clamp(18px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
/* The label is a caption, not a control: plain text, no pill, so it never reads as a sixth button. */
.hero__scenes .label { margin-right: var(--space-2); color: var(--ink); font-weight: 500; }
.scene-chip { height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid rgba(43,26,23,.18); background: rgba(247,244,238,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 13px/1 var(--font-sans); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.scene-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
@media (max-width: 899px) {
  .hero__frame { min-height: 0; display: flex; flex-direction: column; }
  .hero__content { order: 1; padding-bottom: var(--space-6); }
  .hero__frame > picture { order: 2; display: none; position: relative; margin: 0 var(--hero-pad); border-radius: var(--radius-md); overflow: hidden; }
  .hero__frame > picture:has(> .is-on) { display: block; }
  .hero__img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; transform: none !important; }
  .hero__veil { display: none; }
  /* One swipeable row instead of a label plus two wrapped rows of chips. */
  .hero__scenes { order: 3; position: relative; left: auto; right: auto; bottom: auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: var(--space-4) var(--hero-pad); }
  .hero__scenes::-webkit-scrollbar { display: none; }
  .hero__scenes > * { flex: none; }
}
@media (max-width: 759px) {
  /* Keep both hero buttons on one line so the product photo starts higher on the first screen. */
  .hero__content { padding-top: var(--space-6); gap: var(--space-4); }
  .hero__content .btn-row { flex-wrap: nowrap; gap: var(--space-2); }
  .hero__content .btn { padding-inline: 18px; min-height: 48px; font-size: 14px; }
}

/* Section heads */
.shead { display: grid; gap: var(--space-4); margin-bottom: clamp(32px, 4vw, 56px); }
.shead--row { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .shead--row { grid-template-columns: 1fr auto; } }
.shead .lead { max-width: 52ch; }

/* System split */
.split { display: grid; gap: var(--col-gap); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--rev > :first-child { order: 2; } }
.stage { border-radius: var(--radius-lg); background: var(--surface-stage); overflow: hidden; }
.stage img { width: 100%; height: auto; }
/* Part picker: the assembled Cycles photograph. Each state is the same exposure with the other parts
   hinted (refill: drawn in place inside the hinted bottle). States share one frame; the chosen state
   fades in above the previous one, so the full-colour bottle never flashes back between selections. */
.partstack { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.partstack .partstack__state { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s var(--ease); }
.partstack .partstack__state[data-state="all"] { opacity: 1; transition: none; }
.partstack .partstack__state.is-prev { opacity: 1; z-index: 1; transition: none; }
.partstack .partstack__state.is-on { opacity: 1; z-index: 2; }
.section--system .bs-partpicker { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .section--system {
    --system-inset: clamp(16px, 4svh, 40px);
    --system-stage-height: clamp(320px, calc(100svh - var(--header-h) - 2 * var(--system-inset) - 2px), 600px);
    padding-block: var(--system-inset);
  }
  .section--system [data-parts-scope] { scroll-margin-top: calc(var(--header-h) + var(--system-inset)); }
  .section--system .stage { width: min(100%, calc(.8 * var(--system-stage-height))); justify-self: center; }
}
@media (min-width: 900px) and (max-height: 740px) {
  .section--system .stack-5 > * + * { margin-top: 10px; }
  .section--system .display-l { font-size: clamp(36px, 4vw, 52px); }
  .section--system .lead, .section--system .parts__text { font-size: 16px; line-height: 1.45; }
  .section--system .bs-partpicker { row-gap: 10px; }
  .section--system .bs-parts { gap: 6px; }
  .section--system .bs-part { min-height: 44px; padding-block: 6px; }
}
/* Phones and tablets: the photo sits between the intro and the part buttons, so the image you change
   and the button you tap are on screen together (it used to sit above the headline, out of view). */
@media (max-width: 899px) {
  .split[data-parts-scope] { gap: var(--space-4); }
  .split[data-parts-scope] > .stack-5 { display: contents; }
  .split[data-parts-scope] > .stage { order: 1; position: relative; width: 100%; max-width: 440px; justify-self: start; margin-block: var(--space-2); aspect-ratio: 1 / 1; }
  /* square frame on phones (photo and buttons fit one screen); the 4:5 photo stack is centred inside it at full height */
  .split[data-parts-scope] > .stage .partstack { position: absolute; top: 0; bottom: 0; left: 50%; width: auto; height: 100%; transform: translateX(-50%); }
  .split[data-parts-scope] > .stack-5 > .bs-partpicker,
  .split[data-parts-scope] > .stack-5 > .bs-partpicker ~ * { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .partstack .partstack__state { transition: none; } }
.parts__text { margin: 0; max-width: 44ch; color: var(--ink-muted); font-size: 17px; line-height: 1.55; min-height: 3.2em; }
.photo { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-stage); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Format cards */
.formats { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .formats { grid-template-columns: repeat(3, 1fr); } }
/* Phones: the three formats side by side in one swipe row (next card peeking) instead of three full screens stacked. */
@media (max-width: 899px) {
  .formats { grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) var(--space-2); scrollbar-width: none; }
  .formats::-webkit-scrollbar { display: none; }
  .formats > * { scroll-snap-align: start; }
  .fcard__img { aspect-ratio: 4 / 3; }
  .fcard__body { padding: var(--space-4) var(--space-4) var(--space-5); gap: var(--space-2); }
}
.fcard { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.fcard__img { aspect-ratio: 1; background: var(--surface-stage); overflow: hidden; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .8s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.03); }
.fcard__body { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-3); padding: var(--space-5) var(--space-5) var(--space-6); }
.fcard__foot { align-self: end; }
.fcard__name { font: 400 clamp(28px, 2.8vw, 36px)/1.05 var(--font-serif); color: var(--brand-deep); }
[data-theme="dark"] .fcard__name { color: var(--ink); }
.fcard__line { color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.fcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.fcard__go { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-size: 15px; }
.fcard__go .ico { width: 18px; height: 18px; }

/* Shop gift and personalisation cards follow the page scroll. */
.shop-options .shop-options__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
}

@media (width < 760px) {
  .shop-options > .wrap { --wrap: 26rem; }
}

@media (min-width: 760px) {
  .shop-options {
    padding-block: clamp(32px, 6svh, 56px);
  }

  .shop-options > .wrap {
    /* Scale the three portrait frames together, leaving room for labels and prices. */
    --wrap: clamp(42rem, calc(240svh - 45.6rem), 64rem);
  }

  .shop-options .shead {
    gap: var(--space-2);
    margin-bottom: clamp(20px, 4svh, 32px);
  }

  .shop-options .shop-options__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-options .fcard__body {
    grid-template-rows: auto 1fr auto;
    gap: var(--space-2);
    padding: clamp(var(--space-3), 2.2svh, var(--space-4));
  }

  .shop-options .fcard__name { font-size: clamp(24px, 4svh, 32px); }
  .shop-options .fcard__line { line-height: 1.4; }
  .shop-options .fcard__foot { margin-top: 0; }
}

.shop-options .fcard__img {
  aspect-ratio: 4 / 5;
}

.shop-options .fcard__img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-options .fcard__foot {
  flex-wrap: wrap;
  gap: var(--space-2);
}

@media (hover: none) {
  .shop-options .fcard:hover,
  .shop-options .fcard:hover .fcard__img img {
    transform: none;
  }
}

/* Product grid and cards */
.toolbar { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-6); align-items: center; justify-content: space-between; margin-bottom: var(--space-6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
/* Phones: category filters in one row and the price switch as a full-width two-part control below it. */
@media (max-width: 759px) {
  .toolbar { gap: var(--space-3); }
  .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); width: calc(100% + 2 * var(--gutter)); }
  .toolbar .chips::-webkit-scrollbar { display: none; }
  .toolbar .chip { flex: none; min-height: 40px; padding: 8px 14px; }
  .toolbar .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .toolbar .seg button { padding: 0 8px; font-size: 13px; }
}
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 14px/1.2 var(--font-sans); cursor: pointer; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip small { font-weight: 500; opacity: .7; font-size: 13px; font-variant-numeric: tabular-nums; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-tint); gap: 2px; }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: none; font: 600 14px/1 var(--font-sans); color: var(--ink-muted); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--surface-raised); color: var(--ink); box-shadow: 0 2px 10px -4px rgba(43,26,23,.3); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-5); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Price row pinned to the bottom of every card: a two-line description no longer pushes one card's price below its neighbours'. */
.pcard { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 6px; text-decoration: none; color: var(--ink); }
.pcard__line { align-self: start; }
.pcard__foot { align-self: end; }
.pcard[hidden] { display: none; }
.pcard__img { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-stage); margin-bottom: var(--space-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.035); }
.pcard__meta { font: 500 13px/1.3 var(--font-sans); color: var(--ink-muted); }
.pcard__name { font: 400 clamp(25px, 2.4vw, 30px)/1.05 var(--font-serif); color: var(--brand-deep); }
[data-theme="dark"] .pcard__name { color: var(--ink); }
.pcard__line { font-size: 15px; line-height: 1.45; color: var(--ink-muted); }
.pcard__foot { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); margin-top: var(--space-2); }
.pcard__price { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.pcard__price small { font-weight: 400; color: var(--ink-muted); font-size: 12px; margin-left: 4px; }
.pcard__go { display: inline-flex; align-items: center; color: var(--brand); font-size: 14px; font-weight: 500; }
.pcard__go .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pcard:hover .pcard__go .ico { transform: translateX(3px); }
@media (max-width: 520px) { .pcard__line { display: none; } .pcard__go { display: none; } }

/* Horizontal scroller */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 320px); gap: var(--space-5); overflow-x: auto; padding-bottom: var(--space-4); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.ingr { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-stage); text-decoration: none; }
.ingr img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ingr:hover img { transform: scale(1.04); }
.ingr__t { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ingr__t b { font: 400 24px/1.05 var(--font-serif); color: var(--brand-deep); }
.ingr__t span { font-size: 12px; line-height: 1.35; color: var(--ink-muted); }

/* Night bands */
.night { border-radius: var(--radius-xl); background: var(--moss); color: var(--ink); overflow: hidden; }
.night--wine { background: var(--wine); }
.night--ink { background: var(--night); }
.night__in { display: grid; gap: var(--space-7); padding: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .night__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); } } /* with symmetric padding this puts the second column on the page midline, like every other split */
.night .lead { color: var(--ink-muted); }

/* Personalise teaser */
/* Same grid as the system section above it: image column on the left edge, copy on the shared right line. */
.capdemo { display: grid; gap: var(--col-gap); align-items: center; }
@media (min-width: 900px) { .capdemo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* Same stage as the system section (8:9, same ground). The cap is a clean cut-out sitting on a soft contact shadow,
   so there is no baked-in floor plane that ends abruptly inside the frame. */
.capdemo__stage { position: relative; display: grid; place-items: center; aspect-ratio: 8 / 9; border-radius: var(--radius-lg); background: var(--surface-stage); overflow: hidden; }
.capdemo__stage img { width: 72%; height: auto; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(43, 26, 23, .16)) drop-shadow(0 6px 6px rgba(43, 26, 23, .12)); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.capdemo__stage--studio { aspect-ratio: 1; background: transparent; }
.capdemo__stage--studio img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.capdemo__stage img.is-swap { opacity: 0; transform: translateY(8px); }
.swatches { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Five colours always sit on one line; the PDP add-on row wrapped them 3 + 2 on phones. */
.addon .swatches { flex-wrap: nowrap; }
.swatch { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: var(--cap); cursor: pointer; box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .18); transition: transform .2s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: var(--btn); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.swatch:hover { transform: translateY(-2px); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.swatch-name { margin-top: var(--space-3); font: 400 28px/1.1 var(--font-serif); }

/* FAQ */
.faq { max-width: 760px; }
.faq .bs-disclosure { max-width: none; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-top: var(--space-5); font-size: 13px; color: var(--ink-muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.crumbs .ico { width: 14px; height: 14px; }
/* Product detail pages share a viewport-sized portrait frame and a bounded content column. */
main:has(> .pdp) { --pdp-photo-width: clamp(96px, calc((100svh - var(--header-h) - 122px) * .8), 480px); }
.pdp, .wrap:has(> .crumbs):has(+ .pdp) { max-width: 560px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding-top: var(--space-4); }
.gallery { display: grid; gap: var(--space-3); }
.pdp > .gallery { width: min(100%, var(--pdp-photo-width)); justify-self: center; }
@media (width < 800px) {
  .wrap:has(+ .pdp) > .crumbs { padding-top: var(--space-4); }
}
@media (min-width: 800px) {
  body:has(> main > .pdp) { --header-h: 52px; }
  body:has(> main > .pdp) .announce { padding-block: 5px; font-size: 12px; }
  body:has(> main > .pdp) .site-header .wordmark img { width: clamp(96px, 8vw, 112px); }
  body:has(> main > .pdp) .site-header .nav__link { font-size: 14px; }
  main:has(> .pdp) {
    /* 84px covers the announcement, breadcrumb, gaps and bottom clearance. */
    --pdp-photo-width: clamp(96px, calc((100svh - var(--header-h) - 84px) * .8), 480px);
    --pdp-gap: clamp(28px, 5vw, 64px);
    --pdp-panel-width: clamp(360px, calc(var(--pdp-photo-width) + 28px), 490px);
    --pdp-wrap: calc(var(--pdp-photo-width) + var(--pdp-panel-width) + var(--pdp-gap) + 2 * var(--gutter));
  }
  .pdp, .wrap:has(> .crumbs):has(+ .pdp) { max-width: var(--pdp-wrap); }
  .wrap:has(+ .pdp) > .crumbs { padding-top: var(--space-3); }
  .pdp {
    grid-template-columns: minmax(0, min(var(--pdp-photo-width), calc((100% - var(--pdp-gap)) / 2))) minmax(0, 1fr);
    gap: var(--pdp-gap);
    align-items: start;
    padding-top: var(--space-3);
  }
}
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-stage); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.gallery__main img.is-on { opacity: 1; }
.gallery__thumbs { display: flex; gap: var(--space-2); }
.gallery__thumbs button { flex: 0 1 72px; min-width: 0; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-stage); cursor: pointer; opacity: .62; transition: opacity .2s var(--ease), box-shadow .2s var(--ease); }
.gallery__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.buy__meta { font: 500 14px/1.3 var(--font-sans); color: var(--ink-muted); }
.buy h1 { color: var(--brand-deep); }
.buy__desc { color: var(--ink); max-width: 56ch; }
.buy__hl { display: flex; flex-wrap: wrap; gap: 6px; }
.buy__hl span { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-tint); font-size: 13px; color: var(--ink); }
.opts { display: grid; gap: var(--space-2); border: 0; padding: 0; margin: 0; }
.opts legend { font: 600 15px/1.3 var(--font-sans); margin-bottom: var(--space-3); }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--space-3); align-items: start; padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface-raised); cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.opt:hover { border-color: var(--brand); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__dot { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: border-color .2s var(--ease); }
.opt__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .25s var(--ease); }
.opt:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.opt:has(input:checked) .opt__dot { border-color: var(--brand); }
.opt:has(input:checked) .opt__dot::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt__name { font-weight: 600; font-size: 16px; }
.opt__line { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-muted); margin-top: 2px; }
.opt__price { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.opt__price small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-muted); white-space: nowrap; } /* the unit price was clipped to "€51.60 / " on phones */
.addon { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-tint); font-size: 14px; }
.addon[hidden] { display: none; }
.addon input { width: 20px; height: 20px; accent-color: var(--brand); }
.addon .swatches { gap: 6px; margin-left: auto; }
.addon .swatch { width: 30px; height: 30px; }
.addon .swatch::after { inset: 9px; }
@media (max-width: 559px) { .addon .swatches { margin-left: 32px; } } /* when the colours wrap below the label, start them under the label text */
.buy__row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: stretch; }
.buy__row .stepper { height: 52px; }
.buy__row .btn { flex: 1; padding-inline: 20px; }
.buy__fine { font-size: 13px; color: var(--ink-muted); display: grid; gap: 4px; }
.buy__fine span { display: inline-flex; gap: 6px; align-items: center; }
.buy__fine .ico { width: 16px; height: 16px; color: var(--success); }
.pdp-info { margin-top: var(--space-2); }
.buy__about { display: grid; gap: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
@media (max-width: 999px) { body:has(.sticky-buy.is-on) .site-footer { padding-bottom: 72px; } }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: var(--space-3); align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface-raised); box-shadow: 0 -12px 30px -18px rgba(43,26,23,.4); transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy__t { flex: 1; min-width: 0; }
.sticky-buy__t b { display: block; font: 400 20px/1.1 var(--font-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__t span { font-size: 13px; color: var(--ink-muted); }
@media (min-width: 1000px) { .sticky-buy { display: none; } }

/* Builders (gift, cap, tube) */
.builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); padding-top: var(--space-5); }
@media (min-width: 1000px) { .builder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: start; } .builder__visual { position: sticky; top: calc(var(--header-h) + 20px); } }
/* Gift set selection panel */
.gift-selection { display: grid; gap: var(--space-3); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(12px, 3vw, 20px); }
.gift-selection .bs-culm__meta { order: -1; color: var(--ink); font-weight: 600; }
.gift-selection .bs-culm__track { height: 4px; gap: 4px; border: 0; background: transparent; }
.gift-selection .bs-culm__seg { border-radius: 4px; background: var(--surface-tint); box-shadow: none; }
.gift-selection .bs-culm__seg.is-done { background: var(--brand); }
.gift-selection .bs-culm__seg.is-done::after { content: none; }
.slots { display: grid; }
.slot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 60px; padding: 4px 0; }
.slot + .slot { box-shadow: inset 0 1px var(--line); }
.slot__n { display: grid; place-items: center; width: 20px; height: 20px; color: var(--ink-muted); font: 500 12px/1 var(--font-sans); }
.slot__formula { display: grid; align-content: center; gap: 3px; }
.slot__category { color: var(--ink-muted); font: 500 12px/1.2 var(--font-sans); }
.slot__number, .pick__number { font-variant-numeric: lining-nums tabular-nums; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
.slot__name { color: var(--brand-deep); font: 400 clamp(17px, 2vw, 21px)/1.15 var(--font-serif); overflow-wrap: break-word; }
.slot:not(.is-filled) .slot__name { color: var(--ink-muted); font: 400 14px/1.3 var(--font-sans); }
.slot__acts { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.slot__acts button { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--brand); cursor: pointer; }
.slot__acts button::before { content: ""; position: absolute; z-index: -1; inset: 6px; border: 1px solid var(--line); border-radius: 50%; }
.slot__acts .ico { width: 16px; height: 16px; }
.slot__acts button:hover::before { border-color: var(--brand); background: var(--surface-tint); }
.slot__acts button:focus-visible { outline: 2px solid var(--focus); outline-offset: -3px; }
@media (max-width: 359px) { .slot { gap: 7px; } }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: var(--space-2); }
.pick { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); cursor: pointer; text-align: left; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.pick:hover { border-color: var(--brand); }
.pick[aria-pressed="true"] { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, var(--surface-raised)); }
.pick .pick__mark { position: absolute; top: 4px; left: 4px; z-index: 1; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border: 1px solid var(--surface-raised); border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font: 600 10px/1 var(--font-sans); }
.pick.is-full { opacity: .5; }
.slots.is-nudge { animation: bs-nudge .4s var(--ease); }
@keyframes bs-nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pick:active { transform: scale(.98); }
.pick img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; background: var(--surface-stage); }
.pick b { display: block; font-weight: 600; font-size: 14px; line-height: 1.2; }
.pick > span:not(.pick__mark) { min-width: 0; }
.pick b, .pick b + span { overflow-wrap: normal; -webkit-hyphens: none; hyphens: none; text-wrap: balance; }
.pick b + span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: var(--ink-muted); }
.pick__format { display: inline-block; white-space: nowrap; }
.pick__format::before { content: "· "; }
@media (max-width: 599px) {
  .pickgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick { gap: 6px; padding-inline: 5px; }
  .pick__format { display: block; }
  .pick__format::before { content: none; }
}
@media (max-width: 359px) { .pickgrid { grid-template-columns: minmax(0, 1fr); } }
.tube { position: relative; aspect-ratio: 471 / 589; border-radius: var(--radius-lg); background: var(--surface-stage); display: grid; place-items: center; overflow: hidden; }
.tube img { width: 100%; height: 100%; object-fit: cover; }
.tube__text { position: absolute; left: 50%; top: 64.5%; transform: translate(-50%, -50%); max-width: 30%; overflow: hidden; white-space: nowrap; font: 400 clamp(14px, 2.1vw, 22px)/1 var(--font-serif); letter-spacing: .02em; color: #6B4A2E; mix-blend-mode: multiply; opacity: .9; transition: opacity .2s var(--ease); }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input[type="text"] { width: 100%; min-width: 0; height: 54px; padding: 0 18px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface-raised); font: 400 18px/1 var(--font-sans); color: var(--ink); }
.field input[type="text"]:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.field__hint { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-muted); }
.field__hint.is-bad { color: var(--danger); }

/* Steps strip */
.steps3 { display: grid; gap: var(--space-5); counter-reset: s; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }

/* Editorial / Discover */
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 var(--font-sans); color: var(--brand); text-decoration: none; }
.dhero { position: relative; padding: var(--space-3) var(--space-3) 0; }
@media (min-width: 760px) { .dhero { padding: var(--space-4) var(--space-4) 0; } }
.dhero__frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: min(78svh, 760px); display: grid; align-items: end; isolation: isolate; background: var(--night); }
.dhero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dhero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(42,18,21,.88) 0%, rgba(42,18,21,.55) 40%, rgba(42,18,21,.05) 75%); }
.dhero__content { display: grid; gap: var(--space-5); padding: clamp(28px, 6vw, 88px); max-width: 860px; color: var(--ink); }
.dhero__content .lead { color: var(--ink); opacity: .9; }
.play { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .play--2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.flips { padding: 0; }
.chapters { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .chapters { grid-template-columns: repeat(3, 1fr); } }
.chap { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); overflow: hidden; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.chap:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.chap__band { display: flex; justify-content: space-between; align-items: flex-start; padding: var(--space-5); min-height: 132px; background: var(--chap-bg, var(--sage)); color: var(--chap-fg, var(--wine)); }
.chap__no { font: 400 56px/.8 var(--font-serif); letter-spacing: -.03em; }
.chap__band .bs-flip__icon { width: 44px; height: 44px; }
.chap__body { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); }
.chap__t { font: 400 28px/1.08 var(--font-serif); color: var(--brand-deep); }
[data-theme="dark"] .chap__t { color: var(--ink); }
.chap__d { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.chap__m { font-size: 13px; color: var(--ink-muted); margin-top: auto; padding-top: var(--space-3); }
.chapter-head { display: grid; gap: var(--space-5); padding-top: var(--space-6); }
.alist { display: grid; gap: var(--space-4); }
.acard { display: grid; gap: var(--space-2); padding: var(--space-5) var(--space-6); border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease), transform .3s var(--ease); }
.acard:hover { border-color: var(--brand); transform: translateX(4px); }
.acard__n { font-size: 13px; color: var(--ink-muted); }
.acard__t { font: 400 clamp(24px, 2.4vw, 30px)/1.1 var(--font-serif); color: var(--brand-deep); }
.acard__d { color: var(--ink-muted); font-size: 16px; }
.stop { display: grid; gap: var(--space-6); padding-block: clamp(56px, 7vw, 112px); border-top: 1px solid var(--line); }
.stop__head { display: grid; gap: var(--space-4); max-width: 760px; }
.stop__n { font: 500 13px/1 var(--font-sans); color: var(--ink-muted); }
.stop .bs-mf { margin-inline: auto; }
.progress-dock { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; margin: var(--space-5) 0 0; padding: 12px 16px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface-raised) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-pop); }
.article { padding-top: var(--space-6); }
.article__head { display: grid; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-muted); }
.article__body { padding-top: var(--space-6); }
.article__body h2 { margin: var(--space-8) 0 var(--space-4); font: 400 clamp(28px, 3vw, 38px)/1.1 var(--font-serif); color: var(--brand-deep); }
.article__body h3 { margin: var(--space-6) 0 var(--space-3); font: 600 19px/1.3 var(--font-sans); }
.article__body p, .article__body li { font-size: 18px; line-height: 1.65; }
.article__body p + p { margin-top: 1em; }
.article__body ul, .article__body ol { padding-left: 1.2em; display: grid; gap: .5em; }
.article__body a { color: var(--brand); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.article__body table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: 15px; }
.article__body th, .article__body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article__body details { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface-tint); }
.article__body details summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.article__body details[open] summary { margin-bottom: var(--space-3); }
.article__body details li, .article__body details p { font-size: 15px; }
.article__body figure { margin: var(--space-6) 0; }
.keyfig { display: grid; gap: var(--space-4); margin: var(--space-6) 0; padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-tint); }
@media (min-width: 760px) { .keyfig { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.keyfig__n { font: 400 clamp(56px, 7vw, 88px)/.9 var(--font-serif); color: var(--brand); letter-spacing: -.03em; }
.keyfig__l { font-size: 15px; line-height: 1.45; color: var(--ink); margin-top: var(--space-2); }
.keyfig__cap { grid-column: 1 / -1; font-size: 13px; color: var(--ink-muted); }
.toc { display: grid; gap: 4px; padding: var(--space-5); border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); }
.toc a { font-size: 15px; text-decoration: none; color: var(--ink); padding: 4px 0; }
.toc a:hover { color: var(--brand); }
.anav { display: grid; gap: var(--space-4); margin-top: var(--space-9); }
@media (min-width: 760px) { .anav { grid-template-columns: 1fr 1fr; } }
.anav a { display: grid; gap: 6px; padding: var(--space-5); border-radius: var(--radius-xl); border: 1px solid var(--line); text-decoration: none; }
.anav a:hover { border-color: var(--brand); }
.anav span { font-size: 13px; color: var(--ink-muted); }
.anav b { font: 400 24px/1.1 var(--font-serif); color: var(--brand-deep); }
.anav a:last-child { text-align: right; }

/* Legal */
.legal { padding-block: var(--space-6) var(--space-9); }
.legal h1 { margin-bottom: var(--space-6); }
.legal h2 { margin: var(--space-7) 0 var(--space-3); font: 600 20px/1.3 var(--font-sans); }
.legal h3 { margin: var(--space-5) 0 var(--space-2); font: 600 17px/1.3 var(--font-sans); }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal p + p { margin-top: .8em; }
.legal a { color: var(--brand); }
.legal ul, .legal ol { padding-left: 1.2em; display: grid; gap: .4em; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal td, .legal th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }

/* Checkout */
.checkout { padding-block: var(--space-6) var(--space-9); }
.checkout-intro { max-width: 60ch; color: var(--ink-muted); margin-top: var(--space-4); }
.checkout-layout { display: grid; gap: var(--space-7); margin-top: var(--space-7); }
@media (min-width: 1000px) { .checkout-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; } .checkout-summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 var(--space-7); display: grid; gap: var(--space-4); }
.checkout-form legend { font: 400 28px/1.1 var(--font-serif); margin-bottom: var(--space-4); color: var(--brand-deep); }
.checkout-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.checkout-form input:not([type="checkbox"]), .checkout-form select { height: 52px; padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--surface-raised); font: 400 16px/1 var(--font-sans); color: var(--ink); width: 100%; }
.checkout-form input:focus, .checkout-form select:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.field-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid .full { grid-column: 1 / -1; } }
.checkout-check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; line-height: 1.5; }
.checkout-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.checkout-check a { color: var(--brand); }
.checkout-payment { padding: var(--space-5); border-radius: var(--radius-md); background: var(--surface-tint); font-size: 15px; display: grid; gap: 6px; }
.checkout-summary { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-raised); border: 1px solid var(--line); display: grid; gap: var(--space-4); }
.checkout-summary h2 { font: 400 28px/1.1 var(--font-serif); }
.checkout-item { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.checkout-item img { width: 56px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--surface-stage); }
.bag-line img[src*="personalization/cap-"], .checkout-item img[src*="personalization/cap-"] { object-fit: contain; }
.checkout-item strong { font: 400 18px/1.15 var(--font-serif); }
.checkout-item p { margin: 2px 0 0; color: var(--ink-muted); font-size: 13px; }
.checkout-item span { font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout-totals { display: grid; gap: 8px; font-size: 15px; }
.checkout-totals div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.checkout-totals .grand-total { padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: 18px; }
.checkout-fine { font-size: 13px; color: var(--ink-muted); }
.checkout-status { font-size: 14px; color: var(--ink-muted); min-height: 1.4em; }
.personal-button, .checkout-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: var(--radius-pill); border: 0; background: var(--brand); color: var(--on-brand); font: 600 16px/1 var(--font-sans); cursor: pointer; width: 100%; transition: background-color .2s var(--ease); }
.personal-button:hover, .checkout-submit:hover { background: var(--brand-deep); }
.checkout-submit[disabled] { opacity: .45; cursor: not-allowed; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.order-result { padding: var(--space-7) 0; display: grid; gap: var(--space-4); max-width: 640px; }
.order-result h1 { font: 400 clamp(40px, 5vw, 64px)/1 var(--font-serif); }
dialog.avail { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-pop); }
dialog.avail::backdrop { background: rgba(42, 18, 21, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.avail__in { display: grid; gap: var(--space-4); padding: var(--space-6); }
.avail__in h2 { font: 400 32px/1.08 var(--font-serif); color: var(--brand-deep); }
.avail__in p { color: var(--ink-muted); }
.avail__close { position: absolute; top: 14px; right: 14px; }
.avail__in form { display: grid; gap: var(--space-4); }

/* Utilities */
.center { text-align: center; justify-items: center; margin-inline: auto; }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); } .mt-8 { margin-top: var(--space-8); }
.stack-3 > * + * { margin-top: var(--space-3); } .stack-4 > * + * { margin-top: var(--space-4); } .stack-5 > * + * { margin-top: var(--space-5); }
.grid-2 { display: grid; gap: var(--space-6); } @media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); } }
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface-tint); font-size: 14px; }
.pill-note .ico { width: 18px; height: 18px; color: var(--brand); }
.signoff { display: inline-flex; align-items: center; gap: 12px; font: 400 clamp(40px, 5vw, 64px)/1 var(--font-serif); }
.signoff .ico { width: clamp(30px, 3.4vw, 44px); height: clamp(30px, 3.4vw, 44px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } .hero__img { transition: opacity .01s; transform: none !important; } .fcard:hover, .chap:hover, .acard:hover { transform: none; } }
@media print { .site-header, .announce, .site-footer, .drawer, .sticky-buy { display: none !important; } }

/* Library (ported content): bring the editorial components into the v2 language */
.lib-head { display: grid; gap: var(--space-6); padding-top: var(--space-6); padding-bottom: var(--space-7); }
.lib-head--chapter { grid-template-columns: 1fr; }
@media (min-width: 900px) { .lib-head--chapter { grid-template-columns: 160px 1fr; align-items: start; } }
.lib-head__band { display: grid; place-items: center; width: 120px; aspect-ratio: 1; border-radius: var(--radius-xl); background: var(--chap-bg); color: var(--chap-fg); }
.lib-head__band .bs-flip__icon { width: 56px; height: 56px; }
.lib-head h1 br { display: none; }
.lib.bp-page { background: transparent !important; padding: 0 !important; margin: 0 !important; max-width: none !important; min-height: 0 !important; color: var(--ink) !important; font-family: var(--font-sans) !important; }
.lib.bp-page :is(h1, h2, h3, h4) { font-family: var(--font-serif) !important; text-transform: none !important; letter-spacing: -.01em !important; font-weight: 400 !important; color: var(--brand-deep) !important; text-wrap: balance; }
.lib.bp-page h2 { font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.08 !important; }
.lib.bp-page h3 { font-size: clamp(20px, 1.9vw, 25px) !important; line-height: 1.15 !important; }
.lib.bp-page :is(p, li, span, a, button, summary, label, small, td, th) { font-family: var(--font-sans) !important; text-transform: none !important; letter-spacing: 0 !important; }
.lib.bp-page p, .lib.bp-page li { color: var(--ink); }
.lib.bp-page .bp-text p, .lib.bp-page .bp-chapter-prose p, .lib.bp-page .bp-longread p { font-size: 18px !important; line-height: 1.68 !important; }
.lib.bp-page a { color: var(--brand) !important; text-decoration-thickness: 1px !important; text-underline-offset: 5px !important; }
.lib.bp-page :is(.bp-kicker, .bp-tile-category, .bp-chapter-number, .bp-cover-note, .bp-branch > span) { color: var(--brand) !important; font-weight: 500 !important; font-size: 13px !important; }
.lib.bp-page summary { font-weight: 600 !important; color: var(--ink) !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.lib.bp-page summary::-webkit-details-marker { display: none; }
.lib.bp-page summary .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.lib.bp-page details[open] > summary .ico { transform: rotate(180deg); }
.lib.bp-page :is(.bp-visual, .bp-feature-visual figure, .bp-topic-principal > figure) { border-radius: var(--radius-xl) !important; background: var(--surface-tint) !important; border: 0 !important; }
.lib.bp-page .bp-visual strong { font-family: var(--font-serif) !important; font-weight: 400 !important; color: var(--brand) !important; letter-spacing: -.02em !important; }
.lib.bp-page .bp-photo img, .lib.bp-page figure img { border-radius: var(--radius-lg) !important; }
.lib.bp-page figcaption { font-size: 13px !important; color: var(--ink-muted) !important; }
.lib.bp-page .bp-tile { border-radius: var(--radius-xl) !important; overflow: hidden; background: var(--surface-raised) !important; border: 1px solid var(--line) !important; box-shadow: none !important; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.lib.bp-page .bp-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-float) !important; }
.lib.bp-page .bp-tile h3 { color: var(--brand-deep) !important; }
.lib.bp-page .bp-tile-art { border-radius: 0 !important; min-height: 120px; }
.lib.bp-page .bp-art-habits { background: var(--bamboo-light) !important; } .lib.bp-page .bp-art-history { background: var(--sage) !important; } .lib.bp-page .bp-art-materials { background: var(--refill) !important; } .lib.bp-page .bp-art-afterlife { background: var(--ink-black) !important; } .lib.bp-page .bp-art-footprint { background: var(--moss) !important; } .lib.bp-page .bp-art-formulations { background: var(--sage) !important; } .lib.bp-page .bp-art-accountability { background: var(--wine) !important; } .lib.bp-page .bp-art-bamboo { background: var(--bamboo-light) !important; }
.lib.bp-page .bp-read { color: var(--brand) !important; font-weight: 500 !important; }
.lib.bp-page .bp-branch { border-radius: var(--radius-md) !important; border-left: 0 !important; background: var(--surface-tint) !important; }
.lib.bp-page .bp-longread > summary, .lib.bp-page .bp-chapter-contents > summary, .lib.bp-page .bp-toc > details > summary { font-size: 17px !important; }
.lib.bp-page .bp-section-sources > summary, .lib.bp-page .bp-evidence > summary { font-size: 14px !important; font-weight: 500 !important; color: var(--ink-muted) !important; }
.lib.bp-page .wf-all-articles > summary { display: inline-flex; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); font-size: 15px !important; }
.lib.bp-page .wf-all-articles[open] > summary { margin-bottom: var(--space-6); }
.lib--hub .wf-all-articles { background: transparent !important; border: 0 !important; padding: 0 !important; }
.lib.bp-page .bp-button { border-radius: var(--radius-pill) !important; background: var(--brand) !important; color: var(--on-brand) !important; text-decoration: none !important; }
.lib.bp-page table { font-size: 15px; }
.lib.bp-page .bp-chapter-neighbours a { text-decoration: none !important; }

/* Checkout page and availability dialog (live checkout.js binds to the same markup) */
.checkout .eyebrow { margin-bottom: var(--space-3); }
.checkout fieldset legend { font: 400 28px/1.1 var(--font-serif); color: var(--brand-deep); margin-bottom: var(--space-4); }
.checkout .checkout-form { margin-top: 0; }
.availability-dialog { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-pop); }
.availability-dialog::backdrop { background: rgba(42, 18, 21, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.availability-dialog h2 { font: 400 32px/1.08 var(--font-serif); color: var(--brand-deep); padding-right: 40px; }
.availability-dialog p { color: var(--ink-muted); font-size: 16px; }
.availability-dialog form { display: grid; gap: var(--space-4); }
.avail__close { position: absolute; top: 16px; right: 16px; }
.legal .legal-section { padding-top: var(--space-2); }
.legal .checkout-fine { margin-top: var(--space-7); font-size: 13px; color: var(--ink-muted); }

/* ---------- Library search (Discover hub) ---------- */
.lsearch-band { padding-block: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 32px); }
.lsearch { display: grid; gap: var(--space-5); max-width: 860px; margin-inline: auto; }
.lsearch__head { display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.lsearch__head .lead { max-width: 46ch; }
.lsearch__form { margin: 0; }
.lsearch__field { position: relative; display: flex; align-items: center; }
.lsearch__field > .ico { position: absolute; left: 22px; width: 22px; height: 22px; color: var(--ink-muted); pointer-events: none; }
.lsearch__field input { width: 100%; height: 64px; padding: 0 64px 0 58px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface-raised); box-shadow: var(--shadow-float); font: 400 18px/1 var(--font-sans); color: var(--ink); -webkit-appearance: none; appearance: none; }
.lsearch__field input::placeholder { color: var(--ink-muted); opacity: 1; }
.lsearch__field input::-webkit-search-cancel-button, .lsearch__field input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.lsearch__field input:focus { outline: 2px solid var(--focus); outline-offset: -1px; border-color: transparent; }
.lsearch__clear { position: absolute; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-muted); cursor: pointer; }
.lsearch__clear:hover { background: var(--surface-tint); color: var(--ink); }
.lsearch__clear:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.lsearch__clear .ico { width: 18px; height: 18px; }
.lsearch__chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.lsearch__chips[hidden] { display: none; }
.lsearch__try { margin-right: 4px; font-size: 14px; color: var(--ink-muted); }
.chip--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.lsearch__status { margin: 0; text-align: center; font-size: 15px; color: var(--ink-muted); }
.lsearch__status:empty, .lsearch__results:empty { display: none; }
.lsearch__results { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lres { display: grid; gap: 6px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.lres:hover { border-color: var(--brand); box-shadow: var(--shadow-float); }
.lres:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.lres__c { font: 600 12px/1.3 var(--font-sans); letter-spacing: .02em; color: var(--brand); }
.lres__t { font: 400 clamp(20px, 2.2vw, 24px)/1.2 var(--font-serif); color: var(--brand-deep); overflow-wrap: anywhere; hyphens: auto; }
.lres__s { font-size: 15px; line-height: 1.55; color: var(--ink-muted); overflow-wrap: anywhere; }
.lres mark { padding: 0 2px; border-radius: 3px; background: var(--bamboo-light); color: var(--ink); }
.lsearch__more { justify-self: center; }
@media (max-width: 560px) { .lsearch__field input { height: 56px; font-size: 16px; padding-left: 52px; } .lsearch__field > .ico { left: 18px; } .lres { padding: 16px 18px; } }

/* ---------- Consent dialog (live marketing.js) ---------- */
dialog.marketing-dialog { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px, 4vw, 36px); border: 0; border-radius: var(--radius-xl); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-pop); overflow: auto; }
dialog.marketing-dialog::backdrop { background: rgba(42, 18, 21, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.marketing-dialog h2 { margin: 0 0 var(--space-4); font: 400 clamp(28px, 3.4vw, 34px)/1.08 var(--font-serif); color: var(--brand-deep); }
.marketing-dialog p { margin: 0 0 var(--space-3); font-size: 15px; line-height: 1.65; color: var(--ink-muted); }
.marketing-dialog p[data-marketing-status] { color: var(--ink); font-weight: 500; }
.marketing-dialog p[data-marketing-status]:empty { display: none; }
.marketing-dialog .studio-inline-link { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.marketing-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-5); }
.marketing-choices button { flex: 1 1 180px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: 600 15px/1.2 var(--font-sans); cursor: pointer; }
.marketing-choices button:hover { border-color: var(--brand); color: var(--brand); }
.marketing-choices [data-close] { flex-basis: 100%; border-color: transparent; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.marketing-choices button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Motion guide (How it works): sticky frame stage + three chapters ---------- */
.seq__head { text-align: left; }
.seq__grid { display: grid; gap: var(--space-6); }
.seq__stage { position: relative; aspect-ratio: 900 / 720; border-radius: var(--radius-xl); background: #FBF9F5; overflow: hidden; }
.seq__still, .seq__still img, .seq__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.seq__still img { object-fit: cover; }
.seq__stage canvas { opacity: 0; transition: opacity .35s var(--ease); }
.seq__stage.is-painted canvas { opacity: 1; }
.seq__stage.is-painted .seq__still { visibility: hidden; }
.seq__hud { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 12px; pointer-events: none; }
.seq__count { flex: none; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 12px/1 var(--font-sans); letter-spacing: .04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.seq__cue { font: 500 14px/1.3 var(--font-sans); color: var(--ink); text-shadow: 0 0 12px #FBF9F5, 0 0 4px #FBF9F5; }
.seq__cue:empty { display: none; }
.seq__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(117, 31, 42, .12); }
.seq__bar i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .12s linear; }
.seq__chapters { margin: 0; padding: 0; list-style: none; }
.seq__ch { display: grid; align-content: center; gap: var(--space-3); min-height: 70vh; padding-block: var(--space-6); opacity: .38; transition: opacity .4s var(--ease); }
.seq__ch.is-current { opacity: 1; }
.seq__n { font: 600 13px/1 var(--font-sans); letter-spacing: .04em; color: var(--brand); font-variant-numeric: tabular-nums; }
.seq__ch .muted { max-width: 46ch; }
@media (min-width: 900px) {
  .seq__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .seq__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
  .seq__ch { min-height: 78vh; }
  .seq__ch:first-child { padding-top: 12vh; }
  .seq__ch:last-child { min-height: 70vh; }
}
@media (max-width: 899px) {
  .seq__sticky { position: sticky; top: var(--header-h); z-index: 2; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 14px; background: var(--surface); }
  .seq__stage { box-shadow: 0 10px 30px -18px rgba(42, 18, 21, .35); }
  .seq__ch { min-height: 62vh; }
}
@media (max-width: 767px) { .seq__stage { aspect-ratio: 600 / 720; width: min(100%, calc(46svh * 5 / 6)); margin-inline: auto; } .seq__hud { left: 14px; right: 14px; bottom: 16px; } .seq__ch { align-content: start; min-height: 60vh; padding-top: 28px; } }
.no-js .seq__ch, html:not(.js) .seq__ch { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .seq__ch { transition: none; } .seq__bar i { transition: none; } }

/* Keep the complete portrait campaign image visible in the homepage format cards. */
.formats--home .fcard__img { aspect-ratio: 4 / 5; }
.formats--home .fcard__img img { object-position: center; }
.fcard--starter:hover .fcard__img img { transform: none; }

[data-gift-ingredients] dl { margin: 0; }
[data-gift-ingredients] dt { font-weight: 600; color: var(--ink); }
[data-gift-ingredients] dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
[data-gift-ingredients] dd + dt { margin-top: 1rem; }

/* Shared storefront and editorial rhythm */
.shead > .eyebrow, .stack-4 > .eyebrow, .stack-5 > .eyebrow, .dhero__content > .eyebrow { margin-bottom: 0; }
.opt { border-color: var(--line); }
.opt:has(input:checked) { background: color-mix(in srgb, var(--brand) 4%, var(--surface-raised)); box-shadow: none; }
.gallery__thumbs button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--brand); }
.sticky-buy { visibility: hidden; }
.sticky-buy.is-on { visibility: visible; }
.checkout-form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: var(--space-4); }
.checkout-form fieldset + fieldset legend { margin-bottom: 0; padding-right: var(--space-3); }
.checkout-form fieldset:last-child { margin-bottom: 0; }
.checkout-form input:not([type="checkbox"]), .checkout-form select { min-width: 0; border-color: var(--line-strong); }
.checkout-item { grid-template-columns: 56px minmax(0, 1fr) auto; }
.checkout-item p { overflow-wrap: anywhere; }
@media (max-width: 1023px) {
  .site-header { background: color-mix(in srgb, var(--surface) 98%, transparent); }
  .site-header__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; }
  .site-header__in > .wordmark { justify-self: center; }
  .site-header__tools { gap: 0; }
  .site-header__tools .lang { min-width: 40px; }
}
@media (max-width: 759px) {
  .section { padding-block: clamp(48px, 9vw, 64px); }
  .section--tight { padding-block: var(--space-7); }
  .shead { gap: var(--space-3); margin-bottom: var(--space-6); }
  .split[data-parts-scope] > .stack-5 > * + * { margin-top: 0; }
  .drawer__top, .drawer__ship, .drawer__items, .drawer__foot { padding-inline: var(--gutter); }
  .drawer__foot { padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); }
  .bag-line { grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--space-3); }
  .bag-line img { width: 56px; height: 70px; }
  .dhero__frame { min-height: min(72svh, 620px); }
  .dhero__content { padding: 24px; gap: var(--space-4); }
  .crumbs { padding-top: var(--space-4); }
  .pdp { padding-top: var(--space-4); gap: var(--space-5); }
  .gallery__thumbs button { flex-basis: 54px; border-radius: 8px; }
  .buy { gap: var(--space-4); }
  .checkout-layout { margin-top: var(--space-6); }
  .checkout-form fieldset { margin-bottom: var(--space-6); }
  .checkout-summary { padding: var(--space-4); }
}
@media (min-width: 360px) and (max-width: 639px) {
  .checkout-form .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .checkout-form .field-grid .full { grid-column: 1 / -1; }
  .checkout-form .field-grid input, .checkout-form .field-grid select { padding-inline: 12px; }
}

/* Keep product choices comfortably readable at the same scale on both set pages. */
.pdp > .buy { gap: var(--space-4); font-size: 15px; }
.pdp > .buy h1 { font-size: clamp(32px, 4.35vw, 44px); }
.pdp > .buy .lead { font-size: clamp(15px, 1.45vw, 17px); }
.pdp > .buy .opt { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; }
.pdp .opt__dot { width: 18px; height: 18px; }
.pdp .opt__dot::after { width: 8px; height: 8px; }
.pdp .opt__name { font-size: 15px; }
.pdp .opts legend { margin-bottom: 8px; }
.pdp .buy__row .stepper { height: 46px; }
.pdp .buy__row .stepper button { width: 44px; height: 44px; }
.pdp .buy__row .btn { min-height: 46px; padding-block: 10px; }
.pdp .gallery__thumbs button { flex-basis: 52px; }
.pdp .pick b + span { font-size: 14px; }
@media (min-width: 800px) and (max-height: 700px) {
  .pdp > .buy { gap: var(--space-3); }
  .pdp > .buy h1 { font-size: clamp(32px, 6.6svh, 40px); }
  .pdp .gift-selection { gap: 6px; padding: var(--space-3); }
  .pdp .slot { min-height: 46px; padding-block: 1px; }
}

/* Gift set in the shared product detail layout */
.gift-builder { padding-bottom: var(--space-5); }
.gift-builder__intro { display: grid; gap: var(--space-3); }
.gift-builder__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; }

.gift-purchase { position: fixed; inset: auto 0 0; z-index: 30; padding-block: 8px calc(8px + env(safe-area-inset-bottom)); background: var(--surface-raised); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -20px rgba(43,26,23,.5); }
.gift-purchase__inner { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; }
.gift-purchase__status { font-size: 13px; font-weight: 600; line-height: 1.25; }
.gift-purchase .btn { min-height: 44px; padding: 10px 16px; text-align: center; }
body:has(.gift-purchase:not([hidden])) .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .gift-purchase { inset: auto max(var(--gutter), calc((100% - var(--wrap)) / 2)) 16px auto; padding: 8px 10px 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 8px 26px rgba(43,26,23,.12); }
  .gift-purchase__inner { width: auto; padding-inline: 0; gap: 16px; }
}


/* Homepage product formats and Starter Sets collection */
.starter-listing {
  padding-top: var(--space-3);
}
.starter-listing__title {
  margin: 0 0 var(--space-4);
}

/* Compact homepage formats on desktop. Keep the mobile swipe row. */
@media (min-width: 900px) {
  .home-formats {
    padding-block: clamp(3rem, 5vw, 4.5rem);
  }
  .home-formats > .wrap {
    --wrap: 50rem;
  }
  .home-formats .shead {
    margin-bottom: var(--space-5);
  }
  .formats--home .fcard {
    transition: border-color .2s var(--ease);
  }
  .formats--home .fcard:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--brand);
  }
  .formats--home .fcard:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
  }
  .formats--home .fcard__img img {
    display: block;
    object-fit: contain;
    transition: none;
  }
  .formats--home .fcard:hover .fcard__img img {
    transform: none;
  }
  .formats--home .fcard__body {
    grid-template-rows: auto 1fr auto;
    gap: var(--space-2);
    padding: var(--space-4);
  }
  .formats--home .fcard__body > .label,
  .formats--home .fcard__go .ico {
    display: none;
  }
  .formats--home .fcard__name {
    font-size: 1.75rem;
  }
  .formats--home .fcard__foot {
    flex-wrap: wrap;
    gap: .25rem .5rem;
  }
}
