/* ==========================================================================
   LEIF STORE DESIGN v1 — design system
   --------------------------------------------------------------------------
   How this file is organised:
     1. BRAND INPUTS   the only place colours and fonts are chosen
     2. DERIVED TOKENS computed from the inputs; never edit, never bypass
     3. BASE           reset + typography applied to every element
     4. COMPONENTS     header, buy box, gallery, badges, comparison, reviews...

   Two rules keep the site from breaking when the palette changes:
     - No colour literal (hex, rgb, named) appears below section 2.
     - Every component reads semantic tokens (--surface, --ink, --accent...),
       never the --brand-* inputs directly.

   Everything is scoped under body.leif so it wins against theme CSS
   (WooCommerce / Shopify defaults) without needing !important.
   ========================================================================== */

/* ---------- 1. BRAND INPUTS -------------------------------------------- */
:root {
  /* Palette. Change these eight values with scripts/palette.py, which checks
     every text/background pair before it writes. */
  --brand-paper:  #F7F5F1;  /* page background: Miko's warm cream */
  --brand-soft:   #ECE9E3;  /* tinted bands and image tiles: one step darker */
  --brand-ink:    #061F46;  /* all text: Miko's navy */
  --brand-deep:   #061F46;  /* dark sections, comparison column, footer */
  --brand-accent: #D9E4E8;  /* buy button (powder blue, navy label + navy outline, as Miko) */
  --brand-accent-ink: #516A7A;  /* eyebrows, small links: Miko's slate blue */
  --on-accent:    #061F46;  /* text on the accent colour */
  --on-deep:      #F7F5F1;  /* text on the deep colour */

  /* Fonts. Three roles, two families. See references/design-system.md. */
  /* Pairing B (Manrope in all three roles), set light like Miko's headings. */
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --font-label:   "Manrope", system-ui, sans-serif;
  --weight-display: 400;
  --weight-body: 400;

  /* Logo, when it is an image instead of live text (see .l-logo--mask). */
  --logo-src: url("img/nowsterile-logo.svg");
  --logo-width: 220px;
  --logo-ratio: 11.84 / 1;
}

/* ---------- 2. DERIVED TOKENS ------------------------------------------ */
:root {
  --surface:        var(--brand-paper);
  --surface-raised: color-mix(in oklab, var(--brand-paper) 30%, white);
  --surface-soft:   var(--brand-soft);
  --ink:            var(--brand-ink);
  --ink-muted:      color-mix(in oklab, var(--brand-ink) 78%, var(--brand-paper));
  --line:           color-mix(in oklab, var(--brand-ink) 18%, var(--brand-paper));
  --accent:         var(--brand-accent);
  --accent-soft:    color-mix(in oklab, var(--brand-accent) 16%, var(--brand-paper));
  --accent-text:    var(--brand-accent-ink);
  --deep:           var(--brand-deep);
  --deep-line:      color-mix(in oklab, var(--on-deep) 24%, var(--brand-deep));
  --deep-muted:     color-mix(in oklab, var(--on-deep) 72%, var(--brand-deep));
  --shadow-soft:    0 1px 2px color-mix(in oklab, var(--brand-ink) 8%, transparent),
                    0 12px 32px color-mix(in oklab, var(--brand-ink) 10%, transparent);

  --fs-display: clamp(2.5rem, 5.2vw, 4.25rem);
  --fs-h2:      clamp(1.75rem, 3.2vw, 2.75rem);
  --fs-h3:      clamp(1.25rem, 1.9vw, 1.5rem);
  --fs-title:   clamp(1.625rem, 2.3vw, 2.125rem);
  --fs-lead:    clamp(1.0625rem, 1.3vw, 1.25rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-label:   0.75rem;

  --radius-pill: 999px;
  --radius-card: 22px;
  --radius-tile: 14px;
  --radius-ctrl: 12px;

  --pad: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --section: clamp(56px, 8vw, 112px);
  --header-h: 72px;
}

/* ---------- 3. BASE ---------------------------------------------------- */
body.leif {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.leif *, .leif *::before, .leif *::after { box-sizing: border-box; }

/* Element defaults sit inside :where() so they carry the specificity of
   .leif alone: enough to beat a theme's bare element rules, low enough that
   every component class below can override them. */

/* Form controls do not inherit fonts by default. This one rule is why the
   theme's default sans never leaks into buttons, inputs and selects. */
.leif :where(button, input, select, textarea, summary) {
  font: inherit; color: inherit; letter-spacing: inherit;
}
.leif :where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
  color: inherit;
}
.leif :where(h2) { font-size: var(--fs-h2); }
.leif :where(h3) { font-size: var(--fs-h3); }
.leif :where(p, figure, dl, dd, fieldset) { margin: 0; }
.leif :where(p) { text-wrap: pretty; }
.leif :where(a) { color: inherit; text-decoration: none; }
.leif :where(img, svg) { display: block; max-width: 100%; }
.leif :where(ul) { margin: 0; padding: 0; list-style: none; }
.leif :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.leif ::selection { background: var(--accent); color: var(--on-accent); }

.l-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.l-section { padding-block: var(--section); }
.l-section--soft { background: var(--surface-soft); }
.l-section--deep { background: var(--deep); color: var(--on-deep); }
.l-center { text-align: center; }
.l-narrow { max-width: 720px; margin-inline: auto; }
.l-stack > * + * { margin-top: var(--stack, 16px); }
.l-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The small uppercase line above a heading. The label font exists for this,
   for prices and for UI meta: it is what makes the serif read as designed. */
.l-eyebrow {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.l-section--deep .l-eyebrow { color: var(--accent); }
.l-label { font-family: var(--font-label); font-size: var(--fs-small); font-weight: 500; }
.l-lead { font-size: var(--fs-lead); color: var(--ink-muted); }
.l-section--deep .l-lead { color: var(--deep-muted); }
.l-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }
.l-lede { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft, var(--ink)); max-width: 46ch; }
.l-center .l-lede { margin-inline: auto; }

.l-icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Wavy top edge: the hand-made touch between bands. Put it on any section
   that has a background different from the one above it. */
.l-wave { position: relative; }
.l-wave::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; margin-bottom: -1px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11C27 -3 53 -3 80 11s53 14 80 0v11z'/%3E%3C/svg%3E") repeat-x bottom / 160px 22px;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V11C27 -3 53 -3 80 11s53 14 80 0v11z'/%3E%3C/svg%3E") repeat-x bottom / 160px 22px;
}

/* ---------- Buttons ---------------------------------------------------- */
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.l-btn:active { transform: translateY(1px); }
.l-btn--primary { background: var(--accent); color: var(--on-accent); }
/* Hover swaps to the deep pair: a colour change that stays readable
   whatever the accent is. */
.l-btn--primary:hover { background: var(--deep); color: var(--on-deep); }
.l-section--deep .l-btn--primary:hover, .l-hero .l-btn--primary:hover { background: var(--on-deep); color: var(--deep); }
.l-btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.l-btn--ghost:hover { background: var(--ink); color: var(--surface); }
.l-section--deep .l-btn--ghost { border-color: var(--on-deep); color: var(--on-deep); }
.l-section--deep .l-btn--ghost:hover { background: var(--on-deep); color: var(--deep); }
.l-btn--block { width: 100%; }
.l-link { font-family: var(--font-label); font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.l-link:hover { color: var(--accent-text); }

/* ---------- Announcement bar + header ---------------------------------- */
.l-announce {
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-label); font-size: 0.8125rem; font-weight: 600;
  text-align: center; padding: 8px var(--pad); line-height: 1.3;
}
.l-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.l-header.is-stuck { border-bottom-color: var(--line); }
.l-header__inner { display: grid; align-items: center; min-height: var(--header-h); gap: 24px; grid-template-columns: 1fr auto 1fr; }
.l-nav { display: flex; gap: 28px; font-size: 1.0625rem; }
.l-nav a { position: relative; padding-block: 6px; }
.l-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.l-nav a:hover::after, .l-nav a[aria-current]::after { transform: scaleX(1); }
.l-header__tools { display: flex; gap: 6px; justify-self: end; align-items: center; }
.l-tool { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; font-size: 1.125rem; transition: background-color .2s ease; }
.l-tool:hover { background: var(--surface-soft); }
.l-burger { display: none; }

/* Layout A (default): nav left, logo centre, tools right. Use with 1-3 menu items.
   Layout B: logo left, nav centre, tools right. Use with 4 or more menu items. */
.l-header[data-layout="left"] .l-header__inner { grid-template-columns: auto 1fr auto; }
.l-header[data-layout="left"] .l-logo { order: -1; }
.l-header[data-layout="left"] .l-nav { justify-content: center; }

/* Logo. Colour comes from currentColor so it follows the palette and can
   change on hover. Live text is the default; .l-logo--mask paints a
   transparent PNG/SVG in the token colour. */
.l-logo {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.02em; line-height: 1;
  color: var(--ink); white-space: nowrap; justify-self: center;
  transition: color .35s ease;
}
.l-logo:hover { color: var(--accent); }
.l-logo--mask {
  width: var(--logo-width); aspect-ratio: var(--logo-ratio);
  background: currentColor;
  -webkit-mask: var(--logo-src) center / contain no-repeat; mask: var(--logo-src) center / contain no-repeat;
  font-size: 0;
}

@media (max-width: 860px) {
  :root { --header-h: 58px; }
  .l-header__inner, .l-header[data-layout="left"] .l-header__inner { grid-template-columns: 1fr auto 1fr; }
  .l-header[data-layout="left"] .l-logo { order: 0; }
  .l-burger { display: grid; justify-self: start; }
  .l-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
  .l-nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .l-header.is-open .l-nav { display: flex; }
  .l-tool--desk { display: none; }
  .l-logo { font-size: 1.3125rem; }
}

/* ---------- Product page: gallery + buy box ---------------------------- */
.l-pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(16px, 2.5vw, 32px) var(--section); align-items: start; }

/* Desktop: every image is visible in a two-column grid, because every image
   carries a message. Mobile: one swipeable row with the next tile peeking. */
.l-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.l-gallery__item { position: relative; aspect-ratio: 1; border-radius: var(--radius-tile); overflow: hidden; background: var(--surface-soft); margin: 0; }
.l-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
/* Cut-out packshot: a transparent PNG on a token-coloured tile, so the
   background follows the palette. The shadow is CSS for the same reason. */
.l-gallery__item--cutout img { object-fit: contain; padding: 9%; filter: drop-shadow(0 18px 18px color-mix(in oklab, var(--brand-ink) 22%, transparent)); }
.l-gallery__count { display: none; }
.l-flag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--deep); color: var(--on-deep); font-family: var(--font-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; padding: 6px 12px; border-radius: var(--radius-pill); }

.l-buy { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.l-buy__title { font-size: var(--fs-title); }
.l-rating { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-label); font-size: var(--fs-small); font-weight: 600; }
.l-rating a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Stars are drawn from one number: style="--rating: 4.8". */
.l-stars {
  --size: 16px; --rating: 5;
  display: inline-block; width: calc(var(--size) * 5); height: var(--size); flex: none;
  background: linear-gradient(90deg, var(--accent) calc(var(--rating) / 5 * 100%), var(--line) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.1.9-5.2 5 1.3 7.1L12 17.9 5.7 21.4 7 14.3l-5.2-5 7.1-.9z'/%3E%3C/svg%3E") left / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.6 7.1.9-5.2 5 1.3 7.1L12 17.9 5.7 21.4 7 14.3l-5.2-5 7.1-.9z'/%3E%3C/svg%3E") left / var(--size) var(--size) repeat-x;
}

.l-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-family: var(--font-label); }
.l-price__now { font-size: 1.625rem; font-weight: 700; letter-spacing: -0.01em; }
.l-price__was { color: var(--ink-muted); text-decoration: line-through; font-weight: 500; }
/* Filled by leif.js from the chosen option; disappears when there is no saving. */
.l-price__save:empty { display: none; }
.l-price__save { background: var(--accent-soft); color: var(--ink); font-size: var(--fs-label); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); letter-spacing: 0.04em; text-transform: uppercase; }

.l-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.l-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-raised); font-family: var(--font-label); font-size: 0.8125rem; font-weight: 500; }
.l-chip .l-icon { width: 1em; height: 1em; color: var(--accent-text); }

.l-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.l-field__label { font-family: var(--font-label); font-size: var(--fs-small); font-weight: 500; padding: 0; }
.l-field__label b { color: var(--accent-text); font-weight: 600; }

/* Bundle / pack selector: radio cards. */
.l-options { display: grid; gap: 8px; }
.l-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-ctrl); background: var(--surface-raised); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.l-option:hover { border-color: var(--ink-muted); }
.l-option input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--ink-muted); border-radius: 50%; display: grid; place-items: center; }
.l-option input::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .15s ease; }
.l-option input:checked::after { transform: scale(1); }
.l-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.l-option__name { font-weight: 600; line-height: 1.2; }
.l-option__note { display: block; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 500; color: var(--ink-muted); margin-top: 2px; }
.l-option__price { font-family: var(--font-label); font-weight: 700; text-align: right; line-height: 1.2; }
.l-option__price s { display: block; font-size: var(--fs-label); font-weight: 500; color: var(--ink-muted); }
.l-option__tag { position: absolute; top: -9px; right: 14px; background: var(--deep); color: var(--on-deep); font-family: var(--font-label); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--radius-pill); }

.l-swatches { display: flex; gap: 10px; }
.l-swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.l-swatch input { appearance: none; position: absolute; inset: 0; margin: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--swatch); cursor: pointer; }
.l-swatch input:checked { outline: 1.5px solid var(--ink); outline-offset: 3px; }

.l-atc { min-height: 58px; font-size: 1.1875rem; }
.l-atc__price { font-family: var(--font-label); font-weight: 700; font-size: 1rem; padding-left: 12px; border-left: 1.5px solid color-mix(in oklab, var(--on-accent) 30%, transparent); }
.l-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-family: var(--font-label); font-size: 0.8125rem; font-weight: 500; }
.l-assure li { display: inline-flex; align-items: center; gap: 6px; }
.l-assure .l-icon { color: var(--accent-text); width: 1.1em; height: 1.1em; }

/* Short reviews directly under the buy button: proof at the moment of decision. */
.l-quotes { display: grid; gap: 10px; }
.l-quotes__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.l-quotes__track::-webkit-scrollbar { display: none; }
.l-quote { flex: 0 0 100%; scroll-snap-align: start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 22px; display: grid; gap: 8px; align-content: start; }
.l-quote__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.l-quote__text { font-size: 0.9375rem; color: var(--ink-muted); }
.l-quote__who { display: flex; align-items: center; gap: 10px; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.l-verified { display: inline-flex; justify-self: start; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--surface-soft); font-weight: 600; text-transform: none; letter-spacing: 0; }
.l-verified .l-icon { width: 1em; height: 1em; }
.l-quotes__nav { display: flex; justify-content: center; gap: 8px; }
.l-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.l-dot[aria-current="true"] { background: var(--ink); }

/* Accordions: used in the buy box and for FAQs. Native <details>, no JS. */
.l-acc { border-top: 1px solid var(--line); }
.l-acc:last-of-type { border-bottom: 1px solid var(--line); }
.l-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
.l-acc summary::-webkit-details-marker { display: none; }
.l-acc summary::after { content: ""; width: 12px; height: 12px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='black' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0v12M0 6h12' stroke='black' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.l-acc[open] summary::after { transform: rotate(45deg); }
.l-acc__body { padding: 0 2px 18px; color: var(--ink-muted); font-size: 0.9375rem; display: grid; gap: 10px; }
.l-acc__body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }

@media (max-width: 860px) {
  .l-pdp { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 12px; }
  .l-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
  .l-gallery::-webkit-scrollbar { display: none; }
  .l-gallery__item { flex: 0 0 min(86%, 46svh); scroll-snap-align: start; }
  .l-gallery__count { display: block; text-align: center; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; color: var(--ink-muted); margin-top: 8px; }
  .l-buy { position: static; }
}

/* ---------- Facts tabs (anchor nav + spec grid) ------------------------ */
.l-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.l-tab { padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-family: var(--font-label); font-size: 0.8125rem; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.l-tab:hover, .l-tab[aria-current="true"] { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }

.l-card { background: var(--surface-raised); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 56px); }
/* Specifications sheet: heading and badges on the left, label/value rows on the right. */
.l-spec { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.l-spec__intro h2 { margin: 6px 0 14px; }
.l-spec__list { margin: 0; border-bottom: 1px solid var(--line); }
.l-spec__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.l-spec__list dt { font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); padding-top: 3px; }
.l-spec__list dd { margin: 0; font-family: var(--font-label); font-size: 0.9375rem; line-height: 1.55; }
@media (max-width: 860px) { .l-spec { grid-template-columns: 1fr; } .l-spec__list > div { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; } }

/* ---------- Badge strip ------------------------------------------------ */
.l-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.l-badge { display: grid; justify-items: center; gap: 12px; text-align: center; font-family: var(--font-label); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.l-badge__ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 1.5rem; }
/* Badges as a compact two-column list inside the spec sheet. */
.l-badges--list { grid-template-columns: 1fr 1fr; gap: 14px 18px; margin-top: 28px; }
.l-badges--list .l-badge { display: flex; align-items: center; gap: 10px; text-align: left; justify-items: start; }
.l-badges--list .l-badge__ring { width: 36px; height: 36px; border: 0; background: var(--surface-soft); color: var(--accent-text); font-size: 1.05rem; flex: none; }
@media (max-width: 640px) { .l-badges { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }

/* ---------- Proof band (one big true number) --------------------------- */
.l-proof { text-align: center; display: grid; gap: 4px; justify-items: center; }
.l-proof__pre, .l-proof__post { font-family: var(--font-display); font-size: var(--fs-h3); }
.l-proof__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.5rem, 9vw, 6.5rem); line-height: 1; color: var(--accent); letter-spacing: -0.03em; }

/* UGC / video row. Hidden until real customer content exists. */
.l-ugc { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scrollbar-width: none; margin-top: 40px; }
.l-ugc__item { aspect-ratio: 4 / 5; border-radius: var(--radius-tile); overflow: hidden; background: var(--surface-raised); }

/* ---------- Steps / timeline ------------------------------------------- */
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: step; }
.l-step { padding: 28px clamp(12px, 2.5vw, 32px) 0; text-align: center; border-top: 1.5px solid var(--ink); position: relative; display: grid; gap: 8px; align-content: start; }
.l-step::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface-soft); }
.l-step__when { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); }
.l-step p:not(.l-step__when) { color: var(--ink-muted); }
@media (max-width: 720px) {
  .l-steps { grid-template-columns: 1fr; gap: 24px; }
  .l-step { border-top: 0; border-left: 1.5px solid var(--ink); text-align: left; padding: 0 0 0 24px; }
  .l-step::before { top: 6px; left: -7px; margin-left: 0; }
}

/* ---------- Feature rows (image + text, alternating) ------------------- */
.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.l-split + .l-split { margin-top: clamp(40px, 6vw, 88px); }
.l-split--flip > :first-child { order: 2; }
.l-split__media { aspect-ratio: 5 / 4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-soft); }
.l-split__media img { width: 100%; height: 100%; object-fit: cover; }
.l-split__body { display: grid; gap: 16px; justify-items: start; }
.l-spec-row { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 4px; }
.l-spec b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; color: var(--accent-text); }
.l-spec span { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 860px) { .l-split { grid-template-columns: 1fr; } .l-split--flip > :first-child { order: 0; } }

/* ---------- Comparison table ------------------------------------------- */
.l-compare { max-width: 860px; margin-inline: auto; }
.l-compare table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.l-compare col.l-compare__label { width: 38%; }
.l-compare th, .l-compare td { padding: 18px 14px; text-align: center; vertical-align: middle; border-top: 1px solid var(--line); font-weight: inherit; }
.l-compare tbody th { text-align: left; font-family: var(--font-display); font-size: 1.125rem; font-weight: var(--weight-display); }
.l-compare thead td { border-top: 0; }
.l-compare thead th { border-top: 0; vertical-align: bottom; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.l-compare thead th small { display: block; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; color: var(--ink-muted); margin-top: 4px; }
.l-compare__thumb { width: 88px; aspect-ratio: 1; margin: 0 auto 12px; border-radius: var(--radius-tile); overflow: hidden; }
/* Our column: one continuous dark slab with rounded ends. */
.l-compare .is-ours { background: var(--deep); color: var(--on-deep); border-top-color: var(--deep-line); }
.l-compare thead .is-ours { border-radius: var(--radius-tile) var(--radius-tile) 0 0; padding-top: 22px; }
.l-compare thead .is-ours small { color: var(--deep-muted); }
.l-compare tbody tr:last-child .is-ours { border-radius: 0 0 var(--radius-tile) var(--radius-tile); padding-bottom: 24px; }
.l-compare td small { display: block; font-size: 0.8125rem; line-height: 1.35; }
.l-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.l-mark .l-icon { width: 14px; height: 14px; stroke-width: 2.4; }
.l-mark--yes { background: var(--on-deep); color: var(--deep); }
.l-mark--no { background: var(--ink); color: var(--surface-raised); }
@media (max-width: 640px) {
  .l-compare.l-card { padding-inline: 14px; }
  .l-compare col.l-compare__label { width: 34%; }
  .l-compare th, .l-compare td { padding: 14px 6px; font-size: 0.875rem; overflow-wrap: anywhere; }
  .l-compare tbody th, .l-compare thead th { font-size: 0.9375rem; }
  .l-compare__thumb { width: 60px; }
}

/* ---------- Story strip / founder note --------------------------------- */
.l-story { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.l-story__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--accent-soft); }
.l-story__quote { font-family: var(--font-display); font-size: clamp(1.375rem, 2.4vw, 2rem); line-height: 1.3; font-style: italic; }
.l-sign { font-family: var(--font-label); font-size: var(--fs-small); font-weight: 600; }
@media (max-width: 860px) { .l-story { grid-template-columns: 1fr; } .l-story__photo { max-width: 320px; } }

/* ---------- Colour / variant showcase ---------------------------------- */
.l-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l-variant { display: grid; gap: 12px; text-align: center; font-family: var(--font-label); font-size: var(--fs-small); font-weight: 600; }
.l-variant__img { aspect-ratio: 1; border-radius: var(--radius-card); background: var(--surface-raised); overflow: hidden; }

/* ---------- Guarantee trio --------------------------------------------- */
.l-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.l-trio__item { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 24px; }
.l-trio__item + .l-trio__item { border-left: 1px solid var(--deep-line); }
.l-trio__item .l-icon { width: 28px; height: 28px; color: var(--accent); }
.l-trio__item h3 { font-size: 1.1875rem; }
.l-trio__item p { font-family: var(--font-label); font-size: var(--fs-small); color: var(--deep-muted); }
.l-section:not(.l-section--deep) .l-trio__item + .l-trio__item { border-left-color: var(--line); }
.l-section:not(.l-section--deep) .l-trio__item p { color: var(--ink-muted); }
@media (max-width: 720px) { .l-trio { grid-template-columns: 1fr; gap: 28px; } .l-trio__item + .l-trio__item { border-left: 0; } }

/* ---------- Reviews section -------------------------------------------- */
.l-reviews__top { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: center; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.l-score { display: grid; gap: 6px; justify-items: start; }
.l-score__num { font-family: var(--font-display); font-weight: 600; font-size: 3.5rem; line-height: 1; }
.l-score__num small { font-size: 1.25rem; font-weight: 500; color: var(--ink-muted); }
.l-hist { display: grid; gap: 6px; max-width: 360px; width: 100%; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; }
.l-hist__row { display: grid; grid-template-columns: 14px 1fr 36px; gap: 10px; align-items: center; }
.l-hist__bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.l-hist__bar i { display: block; height: 100%; width: var(--pct); background: var(--accent); border-radius: 3px; }
.l-review { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.l-review__who { display: grid; gap: 6px; align-content: start; font-family: var(--font-label); font-size: var(--fs-small); font-weight: 700; }
.l-review__who time { font-weight: 500; color: var(--ink-muted); font-size: var(--fs-label); }
.l-review__body { display: grid; gap: 8px; align-content: start; }
.l-review__body h3 { font-size: 1.125rem; font-weight: 600; }
.l-review__body p { color: var(--ink-muted); }
.l-empty { text-align: center; padding: 48px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius-card); display: grid; gap: 14px; justify-items: center; }
@media (max-width: 720px) {
  .l-reviews__top { grid-template-columns: 1fr; }
  .l-review { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Home page -------------------------------------------------- */
.l-hero { position: relative; min-height: min(78svh, 680px); display: grid; align-items: center; color: var(--on-deep); background: var(--deep); overflow: hidden; }
.l-hero__media { position: absolute; inset: 0; }
.l-hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Scrim keeps the headline readable on any photo. */
.l-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklab, var(--deep) 82%, transparent) 0%, color-mix(in oklab, var(--deep) 30%, transparent) 60%, transparent 100%); }
.l-hero__body { position: relative; display: grid; gap: 18px; justify-items: start; max-width: 560px; padding-block: 64px; }
.l-hero h1 { font-size: var(--fs-display); }
.l-hero .l-eyebrow { color: var(--on-deep); }
.l-hero p:not(.l-eyebrow) { font-size: var(--fs-lead); color: var(--deep-muted); max-width: 44ch; }

.l-trust { background: var(--deep); color: var(--on-deep); border-top: 1px solid var(--deep-line); }
.l-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.l-trust li { padding: 16px 12px; text-align: center; font-family: var(--font-label); font-size: 0.8125rem; font-weight: 700; line-height: 1.35; }
.l-trust li small { display: block; font-weight: 500; font-size: var(--fs-label); color: var(--deep-muted); }
.l-trust li + li { border-left: 1px solid var(--deep-line); }
@media (max-width: 720px) { .l-trust ul { grid-template-columns: 1fr 1fr; } .l-trust li:nth-child(3) { border-left: 0; } .l-trust li:nth-child(n+3) { border-top: 1px solid var(--deep-line); } }

.l-statement { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.22; letter-spacing: -0.012em; text-wrap: balance; }
.l-statement em { font-style: italic; color: var(--accent-text); }

.l-spot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.l-spot__media { aspect-ratio: 1; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-soft); }
.l-ticks { display: grid; gap: 10px; }
.l-ticks li { display: flex; gap: 10px; align-items: flex-start; }
.l-ticks .l-icon { margin-top: 0.2em; color: var(--accent-text); }
@media (max-width: 860px) { .l-spot { grid-template-columns: 1fr; } }

.l-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-tile { display: grid; gap: 14px; align-content: start; }
.l-tile__media { aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--accent-soft); }
.l-tile:nth-child(3n+2) .l-tile__media { background: var(--surface-soft); }
.l-tile:nth-child(3n) .l-tile__media { background: color-mix(in oklab, var(--deep) 14%, var(--surface)); }
.l-tile p { color: var(--ink-muted); }
@media (max-width: 720px) { .l-cards { grid-template-columns: 1fr; } .l-tile__media { aspect-ratio: 5 / 4; } }

.l-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.l-product { display: grid; gap: 8px; }
.l-product__media { aspect-ratio: 1; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-soft); margin-bottom: 6px; }
.l-product__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.l-product__price { font-family: var(--font-label); font-weight: 700; font-size: 0.9375rem; }

.l-help { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.l-form { display: grid; gap: 12px; }
.l-input { width: 100%; padding: 14px 16px; border-radius: var(--radius-ctrl); border: 1.5px solid var(--line); background: var(--surface-raised); font-family: var(--font-label); font-size: 0.9375rem; }
.l-input::placeholder { color: var(--ink-muted); }
.l-input:focus { outline: none; border-color: var(--ink); }
.l-section--deep .l-acc, .l-section--deep .l-acc:last-of-type { border-color: var(--deep-line); }
.l-section--deep .l-acc__body { color: var(--deep-muted); }
.l-section--deep .l-input { background: transparent; border-color: var(--deep-line); color: var(--on-deep); }
.l-section--deep .l-input::placeholder { color: var(--deep-muted); }
.l-section--deep .l-input:focus { border-color: var(--on-deep); }
@media (max-width: 860px) { .l-help { grid-template-columns: 1fr; } }

/* ---------- About page ------------------------------------------------- */
.l-pagehead { background: var(--surface-soft); text-align: center; padding-block: clamp(40px, 6vw, 80px); }
.l-pagehead h1 { font-size: var(--fs-display); }
/* Three overlapping image cards on coloured backs. */
.l-collage { position: relative; aspect-ratio: 5 / 4; }
.l-collage > * { position: absolute; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.l-collage > :nth-child(1) { left: 0; top: 0; width: 46%; aspect-ratio: 4 / 5; background: var(--surface-soft); }
.l-collage > :nth-child(2) { right: 0; top: 10%; width: 44%; aspect-ratio: 4 / 5; background: color-mix(in oklab, var(--deep) 14%, var(--surface)); }
.l-collage > :nth-child(3) { left: 26%; top: 24%; width: 46%; aspect-ratio: 4 / 5; background: var(--accent); z-index: 1; }

/* ---------- Final call to action --------------------------------------- */
.l-cta { text-align: center; display: grid; gap: 18px; justify-items: center; }
.l-cta h2 { font-size: var(--fs-display); max-width: 16ch; }

/* ---------- Footer ----------------------------------------------------- */
.l-footer { background: var(--deep); color: var(--on-deep); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.l-footer__promise { padding-bottom: clamp(32px, 4vw, 56px); margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--deep-line); }
.l-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px; }
.l-footer h3 { font-family: var(--font-label); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; color: var(--deep-muted); }
.l-footer__links { display: grid; gap: 10px; font-size: 1rem; }
.l-footer__links a:hover { color: var(--accent); }
.l-contact { display: grid; gap: 12px; font-family: var(--font-label); font-size: 0.9375rem; font-weight: 500; }
.l-contact li { display: flex; gap: 10px; align-items: flex-start; }
.l-contact .l-icon { margin-top: 0.15em; color: var(--accent); }
.l-contact a:hover { color: var(--accent); }
.l-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(32px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--deep-line); font-family: var(--font-label); font-size: var(--fs-label); font-weight: 500; color: var(--deep-muted); }
.l-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.l-footer__legal a:hover { color: var(--on-deep); }
.l-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.l-pay span { border: 1px solid var(--deep-line); border-radius: 5px; padding: 3px 7px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.04em; }
/* Giant wordmark closing the page. leif.js sizes it to fill the width. */
.l-wordmark { display: block; margin-top: clamp(24px, 4vw, 48px); font-family: var(--font-display); font-weight: 600; font-size: 18vw; line-height: 0.78; letter-spacing: -0.02em; white-space: nowrap; text-align: center; color: var(--on-deep); transition: color .35s ease; padding-bottom: 0.04em; }
.l-wordmark:hover { color: var(--accent); }
@media (max-width: 860px) { .l-footer__cols { grid-template-columns: 1fr 1fr; } .l-footer__cols > :last-child { grid-column: 1 / -1; } }

/* ---------- Sticky buy bar --------------------------------------------- */
/* Shown whenever the main buy button is off screen, including at first
   paint on small screens. This is what guarantees a buy button is always
   reachable without scrolling. */
.l-sticky { position: fixed; z-index: 50; left: 50%; bottom: 12px; width: min(calc(100% - 24px), 1180px); transform: translate(-50%, calc(100% + 24px)); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 10px 10px 10px 14px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-soft); transition: transform .3s ease; }
.l-sticky.is-on { transform: translate(-50%, 0); }
.l-sticky__thumb { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--surface-soft); }
.l-sticky__name { font-family: var(--font-display); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-sticky__meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-label); font-size: var(--fs-label); font-weight: 600; }
.l-sticky__price { font-family: var(--font-label); font-weight: 700; text-align: right; line-height: 1.2; }
.l-sticky__price s { display: block; font-size: var(--fs-label); font-weight: 500; color: var(--ink-muted); }
.l-sticky .l-btn { min-height: 46px; }
/* Room for the bar so it never covers the last line of the footer. */
.leif.has-sticky .l-footer { padding-bottom: 84px; }
@media (max-width: 640px) {
  .l-sticky { grid-template-columns: 1fr auto; bottom: 8px; padding: 8px 8px 8px 18px; }
  .l-sticky__thumb, .l-sticky__info { display: none; }
  .l-sticky__price { text-align: left; }
}

/* ---------- Stock label, policy text, business details ------------------- */
.l-stock { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; }
.l-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.l-prose { display: grid; gap: 16px; }
.l-prose h2 { font-size: var(--fs-h3); margin-top: 20px; }
.l-prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.l-prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.l-bizinfo { margin-top: 40px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-card); background: var(--surface-raised); display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-family: var(--font-label); font-size: 0.9375rem; }
.l-bizinfo dt { font-weight: 700; }
.l-bizinfo dd { margin: 0; }
@media (max-width: 560px) { .l-bizinfo { grid-template-columns: 1fr; gap: 2px; } .l-bizinfo dd { margin-bottom: 10px; } }
.l-track { display: grid; gap: 12px; max-width: 460px; margin-inline: auto; }

/* ---------- Pack images inside option cards ----------------------------- */
/* Optional. Each shows exactly the number of units in that pack. */
.l-option:has(.l-option__img) { grid-template-columns: auto 44px 1fr auto; }
.l-option__img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-soft); }
.l-option__img img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Gallery viewer ---------------------------------------------- */
/* Images open on the page, over a blurred backdrop: never in a new tab.
   The magnifier in the corner of each tile says so. */
.l-gallery__item { cursor: zoom-in; }
.l-gallery__item::before, .l-gallery__item::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; z-index: 1; pointer-events: none; }
.l-gallery__item::before { background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.l-gallery__item::after { background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='5.5'/%3E%3Cpath d='m20.2 20.2 4 4M16 13.8v4.4M13.8 16h4.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='5.5'/%3E%3Cpath d='m20.2 20.2 4 4M16 13.8v4.4M13.8 16h4.4'/%3E%3C/svg%3E") center / contain no-repeat; }

.l-lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; display: none; place-items: center; color: var(--on-deep); background: color-mix(in oklab, var(--deep) 62%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); cursor: zoom-out; }
.l-lightbox[open] { display: grid; }
.l-lightbox::backdrop { background: transparent; }
.l-lightbox__stage { width: min(90vw, 82dvh); aspect-ratio: 1; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-soft); color: var(--ink); cursor: default; touch-action: pan-y; }
.l-lightbox__stage img { width: 100%; height: 100%; object-fit: contain; }
.l-lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--ink); cursor: pointer; font-size: 1.25rem; transition: background-color .2s ease, color .2s ease; }
.l-lightbox__btn:hover { background: var(--accent); color: var(--on-accent); }
.l-lightbox__btn[data-dir="-1"] { left: max(12px, 3vw); top: 50%; margin-top: -24px; }
.l-lightbox__btn[data-dir="1"] { right: max(12px, 3vw); top: 50%; margin-top: -24px; }
.l-lightbox__close { right: max(12px, 3vw); top: max(12px, 3vh); }
.l-lightbox__count { position: absolute; left: 0; right: 0; bottom: max(14px, 3vh); text-align: center; font-family: var(--font-label); font-size: var(--fs-small); font-weight: 600; pointer-events: none; }
@media (max-width: 640px) { .l-lightbox__btn[data-dir] { top: auto; bottom: max(8px, 2vh); margin-top: 0; } }

/* ---------- Image placeholders (templates only) ------------------------ */
/* Each one names the image that belongs there. Replace with <img>; none
   should survive to a live store. */
.l-ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 14px; text-align: center; border: 1.5px dashed var(--line); border-radius: inherit; color: var(--ink-muted); }
.l-ph b { font-family: var(--font-label); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.l-ph span { font-family: var(--font-label); font-size: 0.75rem; font-weight: 500; line-height: 1.35; max-width: 26ch; }
.l-section--deep .l-ph, .l-hero .l-ph, .l-footer .l-ph, .is-ours .l-ph { border-color: var(--deep-line); color: var(--deep-muted); }
.l-section--deep .l-ph b, .l-hero .l-ph b, .is-ours .l-ph b { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .leif *, .leif *::before, .leif *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
