/*
 * Nuve Lume "Colour Press" kit (DECISIONS D20; visual spec: website/_prototypes/2026-10-23-r16/b/; written spec: research/R16 s6 to s11).
 * The shared classes every redesigned page builds from. The contract, with examples, is docs/PRESS-KIT.md.
 * Loaded on every public page right after components.css (core/base_site.html). Page layout belongs in press-home.css, press-pdp.css
 * and press-pages.css, never here.
 *
 * House rules this file enforces or assumes:
 *   - Paper ground; hard-edged colour bands ([data-band]) behind TYPE only, never behind a bottle picture. At most 40% of any screen
 *     and 25% of a page in colour, one product colour per screen; comparison views keep colour in tabs, numerals and Dots.
 *   - Text on cobalt and teal is full strength only (no muted text, no opacity). Focus on a band or Ink: Paper ring + Ink outer ring.
 *   - Every animation and transition sits inside @media (prefers-reduced-motion: no-preference); scroll-driven ones also inside
 *     @supports (animation-timeline: view()), over a layout that works without them. Nothing on the first screen fades in.
 *     storefront/tests/test_press.py checks both for press*.css.
 *   - position: sticky needs overflow: clip (never hidden) on its ancestors. No raw hex: tokens only (tokens.css).
 */

/* ===================================================================== */
/* 1. Page base                                                           */
/* ===================================================================== */
html { scroll-padding-top: calc(var(--nl-header-h) + 16px); }
/* While the phone buy bar shows, focus is scrolled clear of it and of the consent banner under it (WCAG 2.4.11). */
html:has(.nl-bar.is-on) { scroll-padding-bottom: calc(var(--nl-consent-h, 0px) + var(--nl-bar-h, 96px)); }
body { overflow-x: clip; }   /* full-bleed bands never make the page scroll sideways; clip keeps sticky working */

/* ===================================================================== */
/* 2. Grid and wrap (R16 s8: 12 columns, 24px gutter on desktop; 4 and 16px on phones; text grid 1280 max) */
/* ===================================================================== */
.nl-wrap { width: 100%; max-width: calc(var(--nl-content-max) + 2 * var(--nl-page-margin)); margin-inline: auto; padding-inline: var(--nl-page-margin); }
.nl-bleed { width: 100%; max-width: var(--nl-bleed-max); margin-inline: auto; }   /* bands and photo tiles: full width up to 1920 */
.nl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--nl-grid-gutter); }
@media (min-width: 990px) { .nl-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.nl-only-desk { display: none; }
@media (min-width: 990px) { .nl-only-desk { display: revert; } .nl-only-phone { display: none !important; } }
/* Section space S / M / L: a section owns its top padding only (no stacking); bands carry their own padding. */
.nl-sec { padding-top: var(--nl-space-l); }
.nl-sec--m { padding-top: var(--nl-space-m); }
.nl-sec--s { padding-top: var(--nl-space-s); }
.nl-sec-head { display: grid; gap: 16px; }
.nl-sec-head .nl-statement { max-width: 18ch; }
@media (min-width: 990px) {
  .nl-sec-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--nl-grid-gutter); align-items: end; }
  .nl-sec-head > .nl-section-label { grid-column: 1 / -1; }
  .nl-sec-head > .nl-statement { grid-column: 1 / span 10; max-width: 30ch; margin-top: 8px; }
  .nl-sec-head > .nl-sec-head__aside { grid-column: 10 / -1; justify-self: end; }
}

/* ===================================================================== */
/* 3. Type                                                                */
/* ===================================================================== */
.nl-statement { margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-statement); line-height: var(--nl-lh-statement); letter-spacing: -0.005em; text-wrap: balance; }
.nl-title { margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-title); line-height: var(--nl-lh-title); text-wrap: balance; }
.nl-subtitle { margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-subtitle); line-height: var(--nl-lh-subtitle); text-wrap: balance; }
.nl-lede-press { font-size: var(--nl-text-lede-press); line-height: var(--nl-lh-lede-press); text-wrap: pretty; }
/* The section label: a short sentence-case label on a rule (it replaces the old uppercase labels; R16 s8 caps those at 8 a page). */
.nl-section-label { display: block; margin: 0; padding-top: 14px; border-top: 1px solid var(--nl-hairline); font: 600 0.9375rem/1.3 var(--nl-font-body); letter-spacing: 0.01em; }
/* The step label: "Step 2 · Peptide Face Serum". Uppercase Inter; core/lint.py bans "treat" in it. */
.nl-step-label { margin: 0; font: 600 0.875rem/1.3 var(--nl-font-body); letter-spacing: 0.1em; text-transform: uppercase; }
.nl-price-xl { margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: 1.75rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.nl-price-xl small { margin-inline-start: 0.35em; font: 400 1rem/1 var(--nl-font-body); }
.nl-topical { margin: 0; font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); }
.nl-link { display: inline-flex; align-items: center; gap: 0.5em; min-height: var(--nl-target-min); font: 600 1rem/1.2 var(--nl-font-body); color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.28em; }
.nl-link:hover { text-decoration-thickness: 2px; }
.nl-link__arrow { display: inline-block; width: 16px; height: 16px; flex: none; }

/* ===================================================================== */
/* 4. Product names at the new sizes (the {% product_name %} sizes)        */
/* ===================================================================== */
.nl-name--stage { font-size: var(--nl-text-name-stage); }
.nl-name--card { font-size: var(--nl-text-name-card); }
.nl-name--pdp-xl { font-size: var(--nl-text-name-tile); }
@media (min-width: 990px) { .nl-name--pdp-xl { font-size: var(--nl-text-name-pdp-xl); } }
/* A 2-pack's name ({% kit_name %}, D22): the product's drawn name and tab, then "2-pack" in Jost caps at the list size on the name's
   baseline, 8 px after the tab. At the list size (Jost already) it is one more flex item in the name's own gap. */
.nl-name__suffix {
  display: inline-block; margin-inline-start: 8px; vertical-align: baseline; white-space: nowrap;
  font: 500 var(--nl-text-name-list)/1 var(--nl-font-display); letter-spacing: var(--nl-track-caps); text-transform: uppercase;
}
.nl-name--list .nl-name__suffix { margin-inline-start: 0; font-size: inherit; }
.nl-overlap-tag__q { white-space: nowrap; }   /* "2 x 50 g" stays one piece in the tag */
/* In a narrow list column (the phone bar on a 320 px screen) "2-pack" drops whole under the name and tab, never "2-" / "pack". */
.nl-name--list.nl-name--pack { flex-wrap: wrap; row-gap: 2px; }

/* The step tab drawn large, as a graphic: {% tab_xl product size=96|120|160 %} */
.nl-tab-xl {
  --nl-tab-xl-w: 160px;
  display: inline-grid; place-items: center; flex: none; width: var(--nl-tab-xl-w); height: calc(var(--nl-tab-xl-w) / 1.55);
  background: var(--p-solid); color: var(--p-on); box-shadow: 0 0 0 max(1.5px, calc(var(--nl-tab-xl-w) * 0.012)) var(--p-ring);
  font: 600 calc(var(--nl-tab-xl-w) / 1.55 * 0.6)/1 var(--nl-font-body); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em;
}
.nl-tab-xl--96 { --nl-tab-xl-w: 96px; }
.nl-tab-xl--120 { --nl-tab-xl-w: 120px; }

/* ===================================================================== */
/* 5. Bands: <section class="nl-band" data-band="blu|ocean|moo|duo|ink|stone">                                             */
/*    Behind type only. On a product's own band its name, Dots and tab reverse out (Paper on cobalt, #0E1516 on teal, Ink on   */
/*    cream). On Ink (duo/ink) names are Paper and tabs keep their colour with a 1px Paper ring. Stone is the quiet plate band.  */
/* ===================================================================== */
[data-band="blu"]   { --b-bg: var(--nl-band-blu-bg);   --b-fg: var(--nl-band-blu-fg);   --b-mark: var(--nl-band-blu-mark);   --b-mark-on: var(--nl-band-blu-mark-on); }
[data-band="ocean"] { --b-bg: var(--nl-band-ocean-bg); --b-fg: var(--nl-band-ocean-fg); --b-mark: var(--nl-band-ocean-mark); --b-mark-on: var(--nl-band-ocean-mark-on); }
[data-band="moo"]   { --b-bg: var(--nl-band-moo-bg);   --b-fg: var(--nl-band-moo-fg);   --b-mark: var(--nl-band-moo-mark);   --b-mark-on: var(--nl-band-moo-mark-on); }
[data-band="duo"], [data-band="ink"] { --b-bg: var(--nl-band-ink-bg); --b-fg: var(--nl-band-ink-fg); }
[data-band="stone"] { --b-bg: var(--nl-band-stone-bg); --b-fg: var(--nl-band-stone-fg); }
[data-band] { --b-btn-bg: var(--nl-band-btn-bg); --b-btn-fg: var(--nl-band-btn-fg); }
[data-band="moo"], [data-band="stone"] { --b-btn-bg: var(--nl-ink); --b-btn-fg: var(--nl-paper); }   /* Paper on cream or Stone has no edge */
.nl-band { background: var(--b-bg); color: var(--b-fg); }
.nl-band a:not(.nl-btn) { color: inherit; }
.nl-band .nl-muted, .nl-band .nl-photo__note, .nl-band .nl-crumbs [aria-current="page"], .nl-band .nl-crumbs li + li::before { color: inherit; }   /* no dimmed text on a colour band: full strength only */
.nl-band .nl-section-label { border-top-color: currentColor; }
.nl-band:is([data-band="blu"], [data-band="ocean"], [data-band="moo"]) [data-product] { --p-solid: var(--b-mark); --p-on: var(--b-mark-on); --p-ring: transparent; --p-accent: var(--b-fg); }
.nl-band .nl-name { color: var(--b-fg); }
.nl-band:is([data-band="duo"], [data-band="ink"]) [data-product] { --p-ring: var(--nl-band-ink-ring); }
.nl-band:is([data-band="duo"], [data-band="ink"]) .nl-step-tab { box-shadow: 0 0 0 1px var(--p-ring); }
.nl-on-ink { background: var(--nl-ink); color: var(--nl-paper); }
.nl-on-ink [data-product] { --p-ring: var(--nl-band-ink-ring); }
/* Focus on a coloured or Ink ground: a 2px Paper ring plus a 2px Ink outer ring (R16 s7). */
.nl-band:not([data-band="stone"]) :focus-visible, .nl-on-ink :focus-visible {
  outline: var(--nl-focus-width) solid var(--nl-paper); outline-offset: var(--nl-focus-offset); box-shadow: 0 0 0 6px var(--nl-ink);
}

/* ===================================================================== */
/* 6. Buttons on bands, pressed states                                    */
/* ===================================================================== */
.nl-btn--band { background: var(--b-btn-bg, var(--nl-paper)); color: var(--b-btn-fg, var(--nl-ink)); border-color: var(--b-btn-bg, var(--nl-paper)); }
.nl-btn--band:hover { background: transparent; color: var(--b-fg, var(--nl-paper)); border-color: var(--b-fg, var(--nl-paper)); }
.nl-on-ink .nl-btn--band { background: var(--nl-paper); color: var(--nl-ink); border-color: var(--nl-paper); }
.nl-on-ink .nl-btn--band:hover { background: transparent; color: var(--nl-paper); border-color: var(--nl-paper); }
.nl-btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nl-btn--primary:active { background: var(--nl-ink-on-solid); }
.nl-qty__btn:active { background: var(--nl-line); }
/* Square icon button (strip and gallery prev / next): 48px target, aria-disabled at the ends. */
.nl-sbtn {
  display: inline-grid; place-items: center; width: var(--nl-control-m); height: var(--nl-control-m); padding: 0;
  background: var(--nl-paper); color: var(--nl-ink); border: 1.5px solid var(--nl-ink); border-radius: var(--nl-radius-control);
}
.nl-sbtn:hover { background: var(--nl-ink); color: var(--nl-paper); }
.nl-sbtn:active { transform: translateY(1px); }
.nl-sbtn[aria-disabled="true"] { opacity: 0.3; cursor: default; background: var(--nl-paper); color: var(--nl-ink); transform: none; }
.nl-sbtn svg { width: 18px; height: 18px; }

/* ===================================================================== */
/* 7. Purchase-unit card (storefront/press/unit.html): photo tile, name, meta, Add + topical */
/* ===================================================================== */
/* A row of cards: 1 column on phones, 2 from 750px, 4 from 990px (the desktop shelf). Pages may lay cards out their own way. */
.nl-units { display: grid; gap: 40px var(--nl-grid-gutter); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 750px) { .nl-units { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 990px) { .nl-units { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nl-unit { display: flex; flex-direction: column; min-width: 0; }
.nl-unit__media { position: relative; }
.nl-unit__media .nl-photo__frame { aspect-ratio: 4 / 5; background: var(--nl-tile); }
.nl-unit__media .nl-photo__img { object-fit: contain; }
.nl-unit__media .nl-photo[data-kind="packshot"] .nl-photo__img { object-fit: cover; }
/* A group picture (kind campaign: the trio, 2026-10-27) is always contained, never cropped, in every box (tile, panel, stage, gallery,
   card); the warm tile equals the render's sweep, so the letterbox does not show. Beats the 0,3,0 cover rules of the page files. */
.nl-photo[data-kind="campaign"] .nl-photo__frame .nl-photo__img { object-fit: contain; }
.nl-unit__plate { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--nl-stone); }
.nl-unit__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-top: 18px; }
.nl-unit__name { margin: 0; font-size: inherit; line-height: 1; }
.nl-unit__name a { color: inherit; text-decoration: none; }
.nl-unit__name a:hover .nl-name__text { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.nl-unit__pair { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nl-unit__pair .nl-name--list { font-size: 0.9375rem; gap: 8px; }
/* The price keeps the top line of the meta row, so prices across a row share one baseline however the identity wraps under it. */
.nl-unit__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 0; padding-top: 4px; }
.nl-unit__id { flex: 1 1 auto; min-width: 0; font-size: var(--nl-text-body-sm); color: var(--nl-muted); }
.nl-unit__price { flex: none; padding-top: 0.1em; font-family: var(--nl-font-display); font-weight: 500; font-size: 1.375rem; line-height: 1; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.nl-unit__meta > .nl-unit__pair { flex: 1 1 auto; min-width: 0; }   /* the Duo's pair row is its identity: left of the price, wraps under it when narrow */
.nl-unit__ship { font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); color: var(--nl-muted); }
.nl-unit__buy { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; }
.nl-unit__buy .sf-add { display: grid; gap: 8px; }
.nl-unit__buy .sf-add__form .nl-btn { width: 100%; }
.nl-unit__buy .sf-add__topical { margin: 0; font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); }
/* The allergen line (MOÖ "Contains beef tallow. Not vegan."): its own line under the identity, full strength (never muted, never beside
   the name); on a colour or Ink band it takes the band's type colour. Also on the home panels and rows and the routine cards. */
.nl-unit__note { margin: 0; font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); color: inherit; }
/* A kit's saving line (The Trio: "Save CA$24 vs. buying separately", the master's savings_display; D21) under or beside its price, in the
   type colour of its ground (Ink on Paper, Paper on Ink): body-sm, never bold, never struck through. Shelf unit, shop card, home panel
   and stage; the buy box and the pair card have their own (press-pdp.css .pdp-buy__save, .pdp-duo__save). */
.nl-unit__save { margin: 0; font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); font-weight: 400; color: inherit; text-decoration: none; }
.nl-unit__status { margin: 0; display: flex; align-items: center; justify-content: center; min-height: var(--nl-control-m); background: var(--nl-stone); font-size: var(--nl-text-body-sm); }

/* ===================================================================== */
/* 8. Type plate (core/components/press/type_plate.html) and ingredient plate (.nl-ingredient-plate) */
/* ===================================================================== */
.nl-type-plate { display: grid; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--nl-ink); }
.nl-type-plate .nl-name { font-size: var(--nl-text-name-pdp-xl); color: var(--nl-ink); }
.nl-type-plate--stage .nl-name { font-size: var(--nl-text-name-stage); }
.nl-type-plate__rule { display: block; width: 56px; height: 1px; background: var(--nl-ink); }
.nl-type-plate__id { display: grid; gap: 2px; font-size: var(--nl-text-body-sm); line-height: 1.35; }
.nl-type-plate__id span + span { color: var(--nl-muted); }
.nl-type-plate__qty { margin-top: 4px; font: 600 0.875rem/1 var(--nl-font-body); font-variant-numeric: tabular-nums; }
.nl-type-plate__soon { position: absolute; inset-inline-start: 14px; inset-block-start: 14px; padding: 7px 10px 6px; background: var(--nl-paper); border: 1px solid var(--nl-ink); font: 600 0.875rem/1 var(--nl-font-body); }
/* "On the label": type only, never a picture. <li class="nl-ingredient-plate"> kind, name, plain line, foot. */
.nl-ingredient-plate { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 22px; background: var(--nl-paper); }
.nl-ingredient-plate__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--nl-ink); }
.nl-ingredient-plate__kind { font: 600 0.875rem/1 var(--nl-font-body); }
.nl-ingredient-plate__name { margin: 18px 0 0; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1.02 var(--nl-font-display); }
.nl-ingredient-plate__plain { margin: 0; font-size: 1.0625rem; line-height: 1.45; max-width: 30ch; }
.nl-ingredient-plate__foot { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--nl-line); font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); color: var(--nl-muted); }
@media (min-width: 990px) { .nl-ingredient-plate { padding: 28px 28px 26px; } .nl-ingredient-plate__name { margin-top: 28px; } .nl-ingredient-plate__plain { margin-bottom: 28px; } }

/* ===================================================================== */
/* 8a. The printed 60-day promise (core/components/press/promise.html; routine, About, the kit page): the "60" drawn as type, the   */
/*     title and the approved line with its /refunds/ link (K10). No frame: a hairline opens it.                                    */
/* ===================================================================== */
.nl-promise-print { display: grid; gap: 14px; align-items: end; padding-top: 24px; border-top: 1px solid var(--nl-hairline); }
.nl-promise-print__60 {
  margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-promise-xl); line-height: 0.8;
  letter-spacing: -0.04em; font-variant-numeric: lining-nums;
}
.nl-promise-print__text { display: grid; gap: 12px; min-width: 0; }
.nl-promise-print__text a { overflow-wrap: anywhere; }
.nl-promise-print__text p { max-width: 36ch; font-size: var(--nl-text-lede-press); line-height: var(--nl-lh-lede-press); }
@media (min-width: 750px) {
  .nl-promise-print { grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; }
  .nl-promise-print__text { padding-bottom: 6px; }
}

/* "Where we ship" (storefront/partials/ship_area.html, #ships-to: the full Quebec notice and its opening list) closing the shop, FAQ,
   product and kit pages: no frame, on an Ink rule, the text in 5 columns and the list in 6 from 990px. */
.nl-ship-print .sf-ship { padding: 24px 0 0; border: 0; border-top: 1.5px solid var(--nl-ink); background: transparent; }
.nl-ship-print .sf-ship h2 { font-size: var(--nl-text-title); line-height: var(--nl-lh-title); }
.nl-ship-print .sf-ship__text p { font-size: var(--nl-text-body-lg); }
@media (min-width: 990px) {
  .nl-ship-print .sf-ship { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--nl-grid-gutter); }
  .nl-ship-print .sf-ship__text { grid-column: 1 / span 5; }
  .nl-ship-print .sf-ship__form { grid-column: 7 / -1; }
}

/* ===================================================================== */
/* 8b. Captions on phones: off the picture, always (D20 "small and consistent"; R16 s9); above it on first-screen pictures        */
/*     caption="over" / "over-top" lay the one-line caption on a fixed-height desktop tile. Below 990px those tiles run full bleed and */
/*     the photo fills them, so the caption drops under the frame, inset to the page margin: it never covers a bottle, whatever the  */
/*     composition of the photo that later fills the slot.                                                                          */
/* ===================================================================== */
@media (max-width: 989px) {
  .nl-photo:is(.nl-photo--cap-over, .nl-photo--cap-over-top) .nl-photo__note {
    position: static; max-width: none; margin: 0; padding: 8px var(--nl-page-margin) 10px; background: none;
  }
  /* First-screen pictures (the home hero, the product and kit galleries: .nl-photo--cap-above) carry the line ABOVE the frame on
     phones: under it, the buy bar and the consent banner of a first visit would cover it (D20: every caption always visible). */
  .nl-photo.nl-photo--cap-above { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
  .nl-photo.nl-photo--cap-above .nl-photo__note { padding-block: 8px; }
}

/* ===================================================================== */
/* 9. Overlap tag (R16 M8): a Paper caption card over a photo tile's lower edge, desktop from 1200px */
/* ===================================================================== */
.nl-overlap-tag { display: none; }
@media (min-width: 1200px) {
  .nl-overlap-tag {
    position: absolute; inset-inline-end: var(--nl-tag-right, var(--nl-edge)); inset-block-end: var(--nl-tag-bottom, -32px); z-index: 2;
    display: block; width: 232px; padding: 16px 18px 14px; background: var(--nl-paper); border: 1px solid var(--nl-ink); color: var(--nl-ink);
  }
  .nl-overlap-tag .nl-name--list { font-size: 1.0625rem; gap: 8px; }
  .nl-overlap-tag__rule { display: block; height: 1px; margin: 12px 0 10px; background: var(--nl-ink); }
  .nl-overlap-tag__meta { display: block; font-size: var(--nl-text-caption); line-height: 1.35; }
  /* A kit's tag: the kit's name, then each product's name with its tab over its identity and size */
  .nl-overlap-tag--kit { width: 272px; }
  .nl-overlap-tag__part { display: block; }
  .nl-overlap-tag__part + .nl-overlap-tag__part { margin-top: 10px; }
  .nl-overlap-tag__part .nl-name--list { font-size: 0.9375rem; }
}

/* ===================================================================== */
/* 10. Facts row (core/components/press/facts_row.html): hairline-separated, wraps on phones */
/* ===================================================================== */
.nl-facts { border-bottom: 1px solid var(--nl-hairline); }
.nl-facts__list { display: grid; }
.nl-facts__list li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding-block: 10px; border-top: 1px solid var(--nl-line); font-size: var(--nl-text-body-sm); line-height: 1.35; }
.nl-facts__list li:first-child { border-top: 0; }
.nl-facts__list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--nl-ink); }
.nl-facts__list a { display: inline-flex; align-items: center; min-height: var(--nl-target-min); margin-block: -10px; color: inherit; }   /* a 44px target inside the 48px row */
@media (min-width: 990px) {
  .nl-facts__list { display: flex; flex-wrap: wrap; align-items: center; }
  .nl-facts__list li { padding: 0 28px; border-top: 0; border-inline-start: 1px solid var(--nl-hairline); white-space: nowrap; }
  .nl-facts__list li:first-child { padding-inline-start: 0; border-inline-start: 0; }
}

/* ===================================================================== */
/* 11. Phone buy bar (R16 M3; core/components/press/buy_bar.html). Hidden until nl.js adds .is-on; never without JS; phones only. */
/* ===================================================================== */
.nl-bar {
  position: fixed; inset-inline: 0; bottom: var(--nl-consent-h, 0px); z-index: var(--nl-z-bar);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "th nm bt" "ln ln ln"; column-gap: 12px; row-gap: 6px; align-items: center;
  padding: 10px var(--nl-page-margin) max(10px, env(safe-area-inset-bottom));
  background: var(--nl-paper); border-top: 1.5px solid var(--nl-ink);
  transform: translateY(110%); visibility: hidden;
}
.nl-bar.is-on { transform: none; visibility: visible; }
html:has(.nl-consent:not(.nl-consent--static)) .nl-bar { padding-bottom: 10px; }   /* the banner below already clears the home indicator */
.nl-bar__th { grid-area: th; width: 40px; height: 50px; }
.nl-bar__th .nl-thumb__img { object-fit: contain; }   /* a wide picture shows whole in the 40x50 box (the trio gives its 4:5 160x200 since WDD-3) */
.nl-bar__nm { grid-area: nm; display: grid; gap: 4px; min-width: 0; }
.nl-bar__nm .nl-name--list { font-size: 1rem; gap: 8px; }
.nl-bar__price { margin: 0; font-family: var(--nl-font-display); font-weight: 500; font-size: 1.125rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nl-bar__btn { grid-area: bt; min-height: var(--nl-control-m); padding-inline: 20px; }
.nl-bar__ln { grid-area: ln; margin: 0; font-size: var(--nl-text-caption); line-height: 1.3; }
@media (min-width: 990px) { .nl-bar { display: none; } }

/* ===================================================================== */
/* 12. Desktop header buy row (R16 M3; core/components/press/header_buy.html): replaces the nav once html.is-past-buy */
/* ===================================================================== */
.nl-header__buy {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: flex-end; gap: 24px; padding-inline-start: 24px;
  visibility: hidden; opacity: 0; translate: 0 -6px;
}
.nl-header__buy .nl-name--list { flex: none; font-size: 1.125rem; white-space: nowrap; }
.nl-header__buy-price { flex: none; margin: 0; font: 500 1.125rem/1 var(--nl-font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nl-header__buy-topical { flex: 0 1 200px; min-width: 0; margin: 0; font-size: var(--nl-text-caption); line-height: 1.3; }
.nl-header__buy .nl-btn { flex: none; min-height: var(--nl-control-s); white-space: nowrap; }
/* From 1200px the topical line has room for one line on the row's baseline; never dropped (K7). 990 to 1199px it may wrap in 200px. */
@media (min-width: 1200px) {
  .nl-header__buy-topical { flex: none; white-space: nowrap; }
}
@media (min-width: 990px) and (max-width: 1199px) {
  .nl-header__buy { gap: 12px; padding-inline-start: 16px; }
  .nl-header__buy .nl-btn { padding-inline: 16px; }
}
@media (min-width: 990px) {
  .nl-header__buy { display: flex; }
  html.is-past-buy .nl-nav { visibility: hidden; opacity: 0; translate: 0 6px; }
  html.is-past-buy .nl-header__buy { visibility: visible; opacity: 1; translate: 0 0; }
  html.is-past-buy .nl-header__cart { margin-inline-end: 0; }
  html.is-past-buy .nl-menu { display: block; }
}

/* ===================================================================== */
/* 13. Swipe strip (R16 M7): native scroll-snap; prev / next only with JS (core/components/press/strip_nav.html) */
/* ===================================================================== */
.nl-strip { margin-inline: calc(-1 * var(--nl-page-margin)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--nl-page-margin); scrollbar-width: none; }
.nl-strip::-webkit-scrollbar { display: none; }
.nl-strip:focus-visible { outline-offset: -2px; }
.nl-strip__track { display: flex; gap: var(--nl-grid-gutter); width: max-content; padding-inline: var(--nl-page-margin); }
.nl-strip__track > * { scroll-snap-align: start; }
.nl-strip-nav { display: flex; gap: 8px; visibility: hidden; }
.nl-js .nl-strip-nav { visibility: visible; }
/* The routine card (home and /routine/): a Paper head with the big tab, the cutout on the tile, the name, one line. Colour in the tab only. */
.nl-rcard { display: flex; flex-direction: column; width: min(76vw, 340px); }
.nl-rcard__head { display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding-bottom: 14px; }
.nl-rcard__step { margin: 0; font: 600 0.9375rem/1 var(--nl-font-body); }
.nl-rcard__media { position: relative; }
/* The tile (2026-11-05) is a tight crop of the real D850 hero on its own #F8F4EE ground (the tile's), down to the floor under its reflection,
   which takes about a third of the crop (BLÜ's bottle is 0.67 of the crop's height, ÖCEAN's 0.72). So the frame is square (it was 5:4 for
   the edge-to-edge render) and the picture rests on the frame's floor with a little headroom: the bottles draw a little taller than the
   renders did (home: BLÜ x1.02, ÖCEAN x1.09). MOÖ's crop is 4:5 (the closed jar, lid on): side padding makes its box 0.6 of the content's
   height wide, so the jar draws at about 0.72 of BLÜ's height (F5), resting on the floor like the bottles. */
.nl-rcard__media .nl-photo__frame { aspect-ratio: 1 / 1; background: var(--nl-tile); }
.nl-rcard__media .nl-photo__img { object-fit: contain; padding: 3% 0 0; }
.nl-rcard__media .nl-photo[data-photo-slot="cutout-moo"] .nl-photo__img { padding: 3% 20.9% 0; object-position: 50% 100%; }
/* Horizon (2026-11-06): where the three tiles sit side by side (3 across from 700 px) the bottles' contact lines are lined up on ÖCEAN's. The
   frame (overflow hidden, tile ground) and the picture's ground are the same #F8F4EE, so a shift only moves the floor. Measured contact lines at
   1440 (frame 411): ÖCEAN 304.4, BLÜ 286.2, MOÖ 311.6 px; the % is of the picture's box height, so it holds at every width of this layout. */
@media (min-width: 700px) {
  .nl-home-routine .nl-rcard__media .nl-photo[data-photo-slot="cutout-blu"] .nl-photo__img { translate: 0 4.43%; }
  .nl-home-routine .nl-rcard__media .nl-photo[data-photo-slot="cutout-moo"] .nl-photo__img { translate: 0 -1.75%; }
}
.nl-rcard__media--plate { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--nl-stone); }
.nl-rcard__media--plate .nl-type-plate .nl-name { font-size: var(--nl-text-name-card); }
.nl-rcard__body { display: grid; gap: 10px; padding-top: 16px; }
.nl-rcard__body p { margin: 0; font-size: 1rem; line-height: 1.5; }
@media (min-width: 990px) { .nl-rcard { width: 360px; } }

/* ===================================================================== */
/* 14. Motion. Everything below runs only with prefers-reduced-motion: no-preference; scroll-driven parts also need the support. */
/* ===================================================================== */
@keyframes nl-stamp { from { scale: 1.6; } to { scale: 1; } }
@keyframes nl-settle { from { opacity: 0; translate: 0 var(--nl-reveal-shift); } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  /* M9: same-origin page loads cross-fade; the header keeps its place (view-transition-name in components.css). */
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--nl-duration-page); animation-timing-function: var(--nl-ease-standard); }
  /* M10: the page after an Add stamps Cart (n) (the server marks it, core.context_processors.store cart_stamp). */
  .nl-header__cart.is-stamp .nl-header__n { animation: nl-stamp var(--nl-duration-stamp) var(--nl-ease-standard); }
  /* M3: the bar slides; the header row swaps its nav for the buy row. */
  .nl-bar { transition: transform var(--nl-duration-bar) var(--nl-ease-exit), visibility 0s linear var(--nl-duration-bar); }
  .nl-bar.is-on { transition: transform var(--nl-duration-bar) var(--nl-ease-standard), visibility 0s linear 0s; }
  .nl-nav, .nl-header__buy { transition: opacity var(--nl-duration-bar) var(--nl-ease-standard), translate var(--nl-duration-bar) var(--nl-ease-standard), visibility 0s linear var(--nl-duration-bar); }
  html.is-past-buy .nl-header__buy, html:not(.is-past-buy) .nl-nav { transition-delay: 0s; }
  /* Hover and tap feedback */
  .nl-btn { transition: background-color var(--nl-duration-micro) var(--nl-ease-standard), color var(--nl-duration-micro) var(--nl-ease-standard), border-color var(--nl-duration-micro) var(--nl-ease-standard); }
  .nl-sbtn { transition: background-color var(--nl-duration-micro) var(--nl-ease-standard), color var(--nl-duration-micro) var(--nl-ease-standard); }
  .nl-nav__link, .nl-header__cart, .nl-menu__button { transition: border-color var(--nl-duration-micro) var(--nl-ease-standard); }
  .nl-link__arrow { transition: translate var(--nl-duration-base) var(--nl-ease-standard); }
  .nl-link:hover .nl-link__arrow { translate: 4px 0; }
  .nl-unit__media .nl-photo__img { transition: scale var(--nl-duration-hover) var(--nl-ease-standard); }
  .nl-unit:hover .nl-unit__media .nl-photo__img { scale: 1.03; }
  /* M6 settle-in: at most two groups a page, never the first screen, never a heading or the LCP picture (storefront/tests/test_press.py). */
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: nl-settle linear both; animation-timeline: view(block 0px); animation-range: entry 0% entry 45%; }
    [data-reveal]:nth-child(2) { animation-range: entry 8% entry 53%; }
    [data-reveal]:nth-child(3) { animation-range: entry 16% entry 61%; }
    [data-reveal]:nth-child(4) { animation-range: entry 24% entry 69%; }
  }
}

/* ===================================================================== */
/* 15. Forced colours                                                     */
/* ===================================================================== */
@media (forced-colors: active) {
  .nl-band, .nl-on-ink, .nl-bar, .nl-overlap-tag { border: 1px solid CanvasText; }
  .nl-tab-xl { forced-color-adjust: none; background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
  .nl-sbtn { border-color: ButtonText; }
  .nl-facts__list li::before { background: CanvasText; forced-color-adjust: none; }
}

/* FAQ closing panel with only the Quebec form: heading above the form, one column, no empty half. */
.nl-ship-print .sf-ship--solo { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
.nl-ship-print .sf-ship--solo .sf-ship__text, .nl-ship-print .sf-ship--solo .sf-ship__form { grid-column: 1 / -1; }
.nl-ship-print .sf-ship--solo .sf-ship__form { max-width: 560px; }
