/*
 * Nuve Lume components. One block per partial in core/templates/core/components/ (ARCHITECTURE s5).
 * Shape: radius 0 on frames, tiles, tabs, images, panels; 2px on inputs and buttons. Frames 1px Ink (promise box 1.5px).
 * Rules between blocks: 1px Ink at 40%. Step colour only through --p-* (see tokens.css).
 */

/* ===================================================================== */
/* Panels, frames, grids                                                  */
/* ===================================================================== */
.nl-panel { border: var(--nl-border-frame) solid var(--nl-color-border); background: var(--nl-color-bg); padding: clamp(16px, 2.5vw, 24px); }
.nl-panels { display: grid; gap: var(--nl-grid-gutter); grid-template-columns: 1fr; }
@media (min-width: 750px) { .nl-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .nl-panels--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===================================================================== */
/* Header and navigation (Colour Press, D20; core/components/header.html) */
/* ===================================================================== */
/* Sticky, 56px on phones and 64px from 990px (--nl-header-h). Wordmark, the nav (from 990px), Cart (n), and a <details> Menu (phones;
   on desktop only once the buy row has replaced the nav: html.is-past-buy, css/press.css). Nav type is Jost 500, sentence case. */
.nl-header {
  position: sticky; top: 0; z-index: var(--nl-z-header);
  height: var(--nl-header-h); background: var(--nl-paper); border-bottom: 1px solid var(--nl-hairline);
  view-transition-name: nl-header;
}
.nl-header__inner { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; max-width: var(--nl-bleed-max); margin-inline: auto; padding-inline: var(--nl-edge); }
.nl-header__brand { display: flex; align-items: center; flex: none; width: 132px; min-height: var(--nl-target-min); color: var(--nl-ink); }   /* a 44px target (R16 s11) */
.nl-header__brand svg { width: 100%; height: auto; aspect-ratio: 4979 / 820; }
.nl-header__swap { position: relative; flex: 1 1 auto; align-self: stretch; min-width: 0; }
.nl-nav { position: absolute; inset: 0; display: none; align-items: center; padding-inline-start: 40px; }
.nl-nav__list { display: flex; align-items: center; gap: 4px; }
.nl-nav__link, .nl-header__cart, .nl-menu__button {
  display: inline-flex; align-items: center; min-height: var(--nl-target-min); padding: 0 12px;
  font-family: var(--nl-font-display); font-weight: 500; font-size: 1rem; line-height: 1; letter-spacing: 0.01em;
  color: var(--nl-ink); text-decoration: none; border-bottom: 2px solid transparent;
}
.nl-nav__link:hover, .nl-header__cart:hover, .nl-menu__button:hover { text-decoration: none; border-bottom-color: var(--nl-hairline); }
.nl-nav__link[aria-current="page"], .nl-header__cart[aria-current="page"] { border-bottom-color: var(--nl-ink); }
.nl-header__cart { flex: none; gap: 0.25em; white-space: nowrap; }
.nl-header__count { font-variant-numeric: tabular-nums; }
.nl-header__n { display: inline-block; min-width: 0.6em; text-align: center; font-family: var(--nl-font-body); font-weight: 600; }
.nl-menu { flex: none; }
.nl-menu > summary { list-style: none; cursor: pointer; margin-inline-end: -12px; }
.nl-menu > summary::-webkit-details-marker { display: none; }
.nl-menu__bars { display: inline-grid; gap: 4px; margin-inline-end: 8px; }
.nl-menu__bars i { display: block; width: 16px; height: 1.5px; background: currentColor; }
.nl-menu[open] .nl-menu__bars i:first-child { translate: 0 2.75px; rotate: 45deg; }
.nl-menu[open] .nl-menu__bars i:last-child { translate: 0 -2.75px; rotate: -45deg; }
.nl-menu__drop {
  position: absolute; inset-inline: 0; top: 100%; z-index: 1;
  padding: 8px var(--nl-edge) 24px; background: var(--nl-paper); border-bottom: 1.5px solid var(--nl-ink);
}
.nl-menu__drop a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--nl-line);
  font-family: var(--nl-font-display); font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--nl-ink); text-decoration: none;
}
.nl-menu__drop a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
/* The narrowest phones and 400% zoom (320 CSS px, WCAG 1.4.10): wordmark, Cart (n) and Menu fit without sideways scroll. */
@media (max-width: 359px) {
  .nl-header__inner { gap: 4px; }
  .nl-header__brand { width: 104px; }
  .nl-header__cart, .nl-menu__button { padding-inline: 8px; }
  .nl-menu > summary { margin-inline-end: -8px; }
}
@media (min-width: 990px) {
  .nl-header__brand { width: 156px; }
  .nl-nav { display: flex; }
  .nl-header__cart { margin-inline-end: -12px; }
  .nl-menu { display: none; }
}

/* The announcement bar above the header: a slim Ink strip that scrolls away with the page. */
.nl-announce { background: var(--nl-ink); color: var(--nl-paper); text-align: center; font-size: var(--nl-text-caption); line-height: 1.3; }
.nl-announce a { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 16px; color: inherit; text-decoration: none; }
.nl-announce a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.nl-announce a:focus-visible { outline: 2px solid var(--nl-paper); outline-offset: -4px; }

/* ===================================================================== */
/* Footer: a full-width Ink band with Paper type (D20)                     */
/* ===================================================================== */
.nl-footer { margin-top: var(--nl-space-l); padding-block: 56px 32px; background: var(--nl-ink); color: var(--nl-paper); }
.nl-footer__inner { width: 100%; max-width: calc(var(--nl-content-max) + 2 * var(--nl-page-margin)); margin-inline: auto; padding-inline: var(--nl-page-margin); }
.nl-footer a { color: var(--nl-paper); }
.nl-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.nl-footer__wordmark { display: block; width: 176px; padding-block: 8px; margin-block: -8px; color: var(--nl-paper); }   /* 45px target, same drawn place */
.nl-footer__wordmark svg { width: 100%; height: auto; aspect-ratio: 4979 / 820; }
.nl-footer__contact { margin-top: 20px; font-size: 1.0625rem; line-height: 1.5; }
.nl-footer__contact p { margin: 0; }
.nl-footer__seal { color: var(--nl-paper); width: 56px; }
.nl-footer__seal svg { width: 100%; height: auto; aspect-ratio: 128 / 112; }
.nl-footer__fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(247 244 238 / 0.24); font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); color: var(--nl-paper-muted); }
.nl-footer__fine strong { color: var(--nl-paper); font-weight: 600; }
/* The reassurance line above the grid, the brand line, and the four link groups (Shop / Get to know us / Help / Policies). */
.nl-footer__reassure { margin: 0 0 40px; padding: 0 0 28px; border-bottom: 1px solid rgb(247 244 238 / 0.24); font-size: var(--nl-text-body-lg); line-height: 1.4; }
.nl-footer__reassure a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.nl-footer__tagline { margin: 16px 0 0; max-width: 24ch; font-size: var(--nl-text-body-lg); line-height: 1.35; }
.nl-footer__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-content: start; }
.nl-footer__group-h { margin: 0 0 4px; font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-body-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--nl-paper-muted); }
.nl-footer__group ul { margin: 0; padding: 0; list-style: none; }
.nl-footer__group a { display: inline-flex; align-items: center; min-height: var(--nl-target-min); text-decoration: none; }
.nl-footer__group a:hover { text-decoration: underline; }
@media (min-width: 750px) { .nl-footer__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px var(--nl-grid-gutter); } }
@media (min-width: 990px) {
  .nl-footer { padding-block: 72px 36px; }
  .nl-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--nl-grid-gutter); }
  .nl-footer__brand { grid-column: 1 / span 4; }
  .nl-footer__reassure { margin-bottom: 56px; padding-bottom: 36px; }
  .nl-footer__groups { grid-column: 5 / span 7; }
  .nl-footer__seal { grid-column: 12; justify-self: end; }
}

/* ===================================================================== */
/* Product name: Special Elite with the Dots and the step tab (40px up);   */
/* below 40px Jost caps with the native glyph plus the tab.                */
/* {% product_name product size="hero|pdp|tile|list" as_heading="h1" %}    */
/* ===================================================================== */
.nl-name {
  display: inline-block;
  margin: 0;
  padding-top: var(--nl-dots-clear);      /* 1d clear above the Dots */
  font-family: var(--nl-font-name);
  font-weight: 400;
  font-size: var(--nl-text-name-pdp);
  line-height: 1;
  letter-spacing: var(--nl-track-name);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--nl-ink);
  text-wrap: nowrap;
}
:is(h1, h2, h3, h4, h5, h6, p, div).nl-name { display: block; }
.nl-name--hero { font-size: var(--nl-text-name-hero); }
.nl-name--pdp  { font-size: var(--nl-text-name-pdp); }
.nl-name--tile { font-size: var(--nl-text-name-tile); }

/* The Dots: two circles over the marked vowel, centred on it. The name is typed without the diaeresis; the drawn copy is aria-hidden. */
.nl-dot { position: relative; display: inline-block; line-height: 1; }
.nl-dot::before, .nl-dot::after {
  content: "";
  position: absolute;
  top: var(--nl-dots-top);
  width: var(--nl-dots-d);
  height: var(--nl-dots-d);
  border-radius: var(--nl-radius-dot);
  background: var(--p-solid);
  box-shadow: 0 0 0 var(--nl-dots-ring) var(--p-ring);
}
/* The span is one advance plus one letter-space wide, so its middle sits half a letter-space right of the glyph's: shift back. */
.nl-dot::before { left: calc(50% - 1.5 * var(--nl-dots-d) - 0.5 * var(--nl-track-name)); }
.nl-dot::after  { left: calc(50% + 0.5 * var(--nl-dots-d) - 0.5 * var(--nl-track-name)); }

/* The step tab: a square, bottom edge on the name's baseline, numeral Inter 600 centred. */
.nl-step-tab {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  flex: none;
  width: var(--nl-tab-w);
  height: var(--nl-tab-h);
  margin-inline-start: var(--nl-tab-gap);
  background: var(--p-solid);
  color: var(--p-on);
  box-shadow: 0 0 0 var(--nl-dots-ring) var(--p-ring);
  font-family: var(--nl-font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0;
}
.nl-step-tab__n {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--nl-tab-n);
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
/* UPTOP has no tab: lists keep an empty tab-width indent so the names still line up. */
.nl-step-space { display: inline-block; flex: none; width: var(--nl-tab-w); height: 1px; margin-inline-start: var(--nl-tab-gap); }

/* List size (cart, kit pairs, dashboard): Jost 500 caps, native glyph, the tab beside it. */
.nl-name--list {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 0;
  font-family: var(--nl-font-display);
  font-weight: 500;
  font-size: var(--nl-text-name-list);
  letter-spacing: var(--nl-track-caps);
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
}
:is(h1, h2, h3, h4, h5, h6, p, div).nl-name--list { display: flex; width: fit-content; max-width: 100%; }
.nl-name--list .nl-step-tab, .nl-name--list .nl-step-space { margin-inline-start: 0; font-size: 1rem; }
.nl-name--list.nl-name--tab-before .nl-step-tab, .nl-name--list.nl-name--tab-before .nl-step-space { order: -1; }

/* ===================================================================== */
/* Buttons: Ink is the only fill. Controls are 2px radius.                 */
/* ===================================================================== */
.nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: var(--nl-control-m);
  min-width: var(--nl-target-min);
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--nl-radius-control);
  background: transparent;
  color: var(--nl-ink);
  font: 600 var(--nl-text-button)/1.2 var(--nl-font-body);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--nl-duration-micro) var(--nl-ease-standard), color var(--nl-duration-micro) var(--nl-ease-standard);
}
.nl-btn:hover { text-decoration: none; }
.nl-btn--primary { background: var(--nl-color-btn-bg); color: var(--nl-color-btn-fg); border-color: var(--nl-color-btn-bg); }
.nl-btn--primary:hover { background: var(--nl-color-btn-bg-hover); border-color: var(--nl-color-btn-bg-hover); }
.nl-btn--secondary { border-color: var(--nl-ink); }
.nl-btn--secondary:hover { background: var(--nl-stone); }
.nl-btn--tertiary { min-height: var(--nl-target-min); padding-inline: 4px; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.nl-btn--tertiary:hover { text-decoration-thickness: 2px; }
.nl-btn--lg { min-height: var(--nl-control-l); padding-inline: 32px; font-size: 1.0625rem; }
.nl-btn--block { display: flex; width: 100%; }
.nl-btn:active { transform: translateY(1px); }
.nl-btn[disabled], .nl-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }
.nl-btn .nl-icon { width: 20px; height: 20px; }

/* ===================================================================== */
/* Forms                                                                  */
/* ===================================================================== */
.nl-field { display: grid; gap: 6px; }
.nl-field__label { font-family: var(--nl-font-display); font-weight: 500; font-size: 1rem; line-height: 1.3; letter-spacing: 0.02em; }
.nl-field__req { font-weight: 400; color: var(--nl-color-text-muted); font-family: var(--nl-font-body); font-size: var(--nl-text-caption); }
.nl-field__help { margin: 0; font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); color: var(--nl-color-text-muted); }
.nl-field :is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea),
.nl-input {
  width: 100%;
  min-height: var(--nl-control-m);
  padding: 0 14px;
  background: var(--nl-white);
  color: var(--nl-ink);
  border: var(--nl-border-control) solid var(--nl-color-border-control);
  border-radius: var(--nl-radius-control);
  font: 400 var(--nl-text-body)/1.3 var(--nl-font-body);
  appearance: none;
  -webkit-appearance: none;
}
.nl-field textarea { padding-block: 12px; min-height: 8em; resize: vertical; }
/* Same specificity as the shared control rule above (0,2,1) and later, so the chevron and the room for it win (F-06). */
.nl-field select:not([multiple]) {
  padding-inline-end: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--nl-ink) 50%), linear-gradient(135deg, var(--nl-ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.nl-field :is(input, select, textarea):hover { border-color: var(--nl-ink); }
.nl-field :is(input, select, textarea)[aria-invalid="true"] { border: 2px solid var(--nl-color-error); padding-inline: 13px; }
.nl-field select[aria-invalid="true"] { padding-inline-end: 39px; }   /* 2px border instead of 1.5px: still room for the chevron */
.nl-field__errors { margin: 0; display: grid; gap: 4px; }
.nl-field__errors li { display: flex; gap: 8px; align-items: flex-start; color: var(--nl-color-error); font-size: var(--nl-text-body-sm); line-height: 1.4; font-weight: 600; }
.nl-field__errors .nl-icon { width: 18px; height: 18px; margin-top: 2px; }
/* The box comes first in the markup (focus order = visual order, F-34). The cells are named, so a template that still puts the
   label first looks the same. */
.nl-field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 4px; }
.nl-field--check input { grid-column: 1; grid-row: 1; }
.nl-field--check .nl-field__label { grid-column: 2; grid-row: 1; font-family: var(--nl-font-body); font-weight: 400; font-size: var(--nl-text-body); letter-spacing: 0; padding-block: 11px; }
.nl-field--check .nl-field__help, .nl-field--check .nl-field__errors { grid-column: 2; }
.nl-field input[type="checkbox"], .nl-field input[type="radio"], input.nl-check {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 24px; height: 24px;
  margin: 10px;
  background: var(--nl-white);
  border: 1.5px solid var(--nl-color-border-control);
  border-radius: var(--nl-radius-control);
  display: inline-grid;
  place-content: center;
  cursor: pointer;
}
.nl-field input[type="radio"] { border-radius: 0; }   /* no circles anywhere but the Dots */
.nl-field input[type="checkbox"]:checked, input.nl-check:checked { background: var(--nl-ink); border-color: var(--nl-ink); }
.nl-field input[type="checkbox"]:checked::after, input.nl-check:checked::after {
  content: ""; width: 12px; height: 7px; border: solid var(--nl-paper); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg);
}
.nl-field input[type="radio"]:checked { background: var(--nl-ink); border-color: var(--nl-ink); box-shadow: inset 0 0 0 4px var(--nl-white); }
.nl-field input[type="checkbox"][aria-invalid="true"] { border: 2px solid var(--nl-color-error); }
.nl-error-summary { border: 2px solid var(--nl-color-error); background: var(--nl-color-error-bg); padding: 16px 20px; }
.nl-error-summary h2 { font-size: var(--nl-text-h3); margin-bottom: 8px; }
.nl-error-summary ul { list-style: disc; padding-inline-start: 1.25em; }
.nl-error-summary a { color: var(--nl-ink); font-weight: 600; }
/* Focused on load by the form pages (checkout, contact, sign-up): moved here from pages/checkout.css, which loads on the order pages only. */
.nl-error-summary { scroll-margin-top: 16px; }
.nl-error-summary:focus { outline: var(--nl-focus-width) solid var(--nl-color-focus); outline-offset: var(--nl-focus-offset); }

/* Quantity stepper: a plain number field without JS; the +/- buttons appear when nl.js runs. */
.nl-qty { display: inline-flex; align-items: stretch; }
.nl-qty__input {
  width: 64px; min-height: var(--nl-control-m); padding: 0 8px; text-align: center;
  background: var(--nl-white); color: var(--nl-ink);
  border: var(--nl-border-control) solid var(--nl-color-border-control); border-radius: var(--nl-radius-control);
  font: 600 var(--nl-text-body)/1 var(--nl-font-body); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.nl-qty__input::-webkit-outer-spin-button, .nl-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nl-qty__btn {
  position: relative;
  width: var(--nl-control-m); min-height: var(--nl-control-m);
  background: var(--nl-white); color: var(--nl-ink);
  border: var(--nl-border-control) solid var(--nl-color-border-control);
  padding: 0;
}
/* The minus and plus are drawn, not typed: the subset fonts carry no U+2212. */
.nl-qty__btn::before, .nl-qty__btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.nl-qty__btn[data-nl-qty-step="-1"]::after { content: none; }
.nl-qty__btn[data-nl-qty-step="1"]::after { transform: translate(-50%, -50%) rotate(90deg); }
.nl-qty__btn:first-child { border-radius: var(--nl-radius-control) 0 0 var(--nl-radius-control); border-inline-end: 0; }
.nl-qty__btn:last-child { border-radius: 0 var(--nl-radius-control) var(--nl-radius-control) 0; border-inline-start: 0; }
.nl-qty__btn:hover { background: var(--nl-stone); }
.nl-qty:has(.nl-qty__btn:not([hidden])) .nl-qty__input { border-radius: 0; }

/* ===================================================================== */
/* Notices: info | warning. Word and icon always, never colour alone.       */
/* ===================================================================== */
.nl-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--nl-ink); background: var(--nl-color-info-bg); }
.nl-notice__icon { width: 22px; height: 22px; margin-top: 1px; }
.nl-notice__body { flex: 1 1 auto; min-width: 0; }
.nl-notice__body > * + * { margin-top: 0.5em; }
.nl-notice--warning { border-width: 1.5px; background: var(--nl-color-warning-bg); }
.nl-notice--warning .nl-notice__icon { color: var(--nl-color-warning); }
.nl-notices { display: grid; gap: 12px; padding-block: 16px; }

/* ===================================================================== */
/* Price line, buy box                                                    */
/* ===================================================================== */
.nl-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-variant-numeric: tabular-nums lining-nums; }
.nl-price-line__label { font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-label); letter-spacing: var(--nl-track-label); text-transform: uppercase; }
.nl-price-line__value { font-weight: 600; font-size: var(--nl-text-price-lg); line-height: 1.2; }
.nl-price-line--sm .nl-price-line__value { font-size: var(--nl-text-price); }

.nl-buy { border: var(--nl-border-frame) solid var(--nl-color-border); padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 16px; }
.nl-buy__rule { display: block; width: 160px; height: 3px; background: var(--p-accent); }  /* the one accent rule above a buy button */
.nl-buy__form { display: grid; gap: 12px; }
.nl-buy__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.nl-buy__row .nl-btn { flex: 1 1 200px; }
.nl-buy__lines { display: grid; gap: 6px; }
.nl-buy__lines p { margin: 0; font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); }
.nl-buy__status { font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-h4); }

/* ===================================================================== */
/* Reason row: the stamped numeral left of its label, ruled above and below */
/* ===================================================================== */
.nl-reason { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(16px, 2.5vw, 28px); padding-block: 16px; border-block: 1px solid var(--nl-hairline); }
.nl-reason__n { font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-numeral); line-height: 0.9; color: var(--p-accent); font-variant-numeric: lining-nums; }
.nl-reason__label { font-size: 1.0625rem; line-height: 1.4; }
.nl-reason__src { margin-top: 4px; font-size: var(--nl-text-body-sm); color: var(--nl-color-text-muted); }

/* ===================================================================== */
/* Benefit list: ruled rows, Jost caps heading over an Inter line           */
/* ===================================================================== */
.nl-benefits { display: grid; }
.nl-benefits__item { padding-block: 16px; border-top: 1px solid var(--nl-hairline); }
.nl-benefits__item:last-child { border-bottom: 1px solid var(--nl-hairline); }
.nl-benefits__h { margin: 0 0 4px; font-family: var(--nl-font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.3; letter-spacing: var(--nl-track-caps); text-transform: uppercase; }
.nl-benefits__item p { margin: 0; }

/* ===================================================================== */
/* WHAT IT WON'T DO: open text, never an accordion                          */
/* ===================================================================== */
.nl-wont__title { padding-bottom: 12px; border-bottom: 1px solid var(--nl-ink); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); letter-spacing: var(--nl-track-caps); text-transform: uppercase; line-height: 1.2; }
.nl-wont__item { padding-block: 16px; }
.nl-wont__item + .nl-wont__item { border-top: 1px solid var(--nl-hairline); }
.nl-wont__name { margin: 0 0 4px; font-family: var(--nl-font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: var(--nl-track-caps); text-transform: uppercase; line-height: 1.3; }
.nl-wont__item p { margin: 0; }

/* ===================================================================== */
/* Kit block                                                              */
/* ===================================================================== */
.nl-kit { border: var(--nl-border-frame) solid var(--nl-color-border); padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 12px; }
.nl-kit__title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); letter-spacing: var(--nl-track-caps); text-transform: uppercase; line-height: 1.2; }
.nl-kit__desc { margin: 0; color: var(--nl-color-text-muted); }
.nl-kit__pair { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.nl-kit__pair li { display: block; }
.nl-kit__price { margin: 0; font-weight: 600; font-size: var(--nl-text-price-lg); line-height: 1.2; font-variant-numeric: tabular-nums lining-nums; }
.nl-kit__lines { display: grid; gap: 4px; }
.nl-kit__lines p { margin: 0; }
.nl-kit__small p { margin: 0; font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); }

/* ===================================================================== */
/* Routine rows: tab and name, then the line from the half-way point       */
/* ===================================================================== */
.nl-routine__title { text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: var(--nl-track-eyebrow); text-transform: uppercase; margin-bottom: clamp(24px, 4vw, 48px); }
.nl-routine__row { display: grid; gap: 8px 24px; align-items: center; padding-block: clamp(20px, 3vw, 32px); }
.nl-routine__row + .nl-routine__row { border-top: 1px solid var(--nl-hairline); }
.nl-routine__row .nl-name { padding-top: var(--nl-dots-clear); }
.nl-routine__text { margin: 0; font-size: var(--nl-text-body-lg); line-height: 1.45; }
.nl-routine__note { margin: 0; font-size: var(--nl-text-body-sm); color: var(--nl-color-text-muted); }
@media (min-width: 750px) {
  .nl-routine__row { grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); }
  .nl-routine__note { grid-column: 2; }
}

/* ===================================================================== */
/* Promise box: 1.5px Ink frame, Paper inside                               */
/* ===================================================================== */
.nl-promise { border: var(--nl-border-promise) solid var(--nl-ink); background: var(--nl-paper); padding: clamp(20px, 3vw, 32px); }
.nl-promise__title { margin: 0 0 6px; font-size: var(--nl-text-h3); line-height: 1.25; }
.nl-promise p { margin: 0; font-size: var(--nl-text-body-lg); line-height: 1.5; }

/* ===================================================================== */
/* Product image and the PLACEHOLDER badge                                  */
/* ===================================================================== */
.nl-image { position: relative; display: block; width: 100%; max-width: var(--nl-image-max, none); margin-inline: auto; }
.nl-image img { display: block; width: 100%; height: auto; }
.nl-image__shadow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nl-image__cutout { position: relative; }
.nl-placeholder-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 5px 9px;
  border: 1px solid var(--nl-ink);
  background: var(--nl-paper);
  color: var(--nl-ink);
  font-family: var(--nl-font-display);
  font-weight: 500;
  font-size: var(--nl-text-caption);
  line-height: 1;
  letter-spacing: var(--nl-track-label);
  text-transform: uppercase;
}

/* ===================================================================== */
/* Registry picture ({% campaign_image %}) and its honest caption (D18, D20) */
/* ===================================================================== */
/* The frame reserves the picture's ratio (--nl-r, and --nl-r-m for a phone pairing below 768px), so nothing moves when the file
   arrives. Square corners like every product image; the off-white of the sweep behind it. The caption is ONE small, consistent line of
   live text (sentence case, the caption size, muted Ink: 5.3 to 6.4:1 on Paper, Stone or White), never a chip, never visually hidden:
   under the frame by default, or on the frame's lower-left corner on a Paper strip (.nl-photo--cap-over) where a tile's height is fixed.
   Place a caption on a Paper, White or tile ground only, never on a colour band (a band carries type, not pictures). */
.nl-photo { --nl-r-now: var(--nl-r); position: relative; display: block; margin: 0; min-width: 0; }
@media (max-width: 767px) { .nl-photo { --nl-r-now: var(--nl-r-m, var(--nl-r)); } }
.nl-photo__frame { position: relative; overflow: hidden; aspect-ratio: var(--nl-r-now, auto); background: var(--nl-tile); }
.nl-photo__frame picture { display: contents; }
.nl-photo__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-photo__note { margin-top: 8px; color: var(--nl-color-text-muted); font-size: var(--nl-text-caption); line-height: var(--nl-lh-caption); letter-spacing: 0; text-transform: none; max-width: 62ch; overflow-wrap: break-word; }
.nl-photo__flag { font-weight: 600; }
.nl-photo--cap-over .nl-photo__note {
  position: absolute; inset-inline-start: var(--nl-cap-inset, 12px); inset-block-end: var(--nl-cap-inset, 12px); z-index: 1;
  max-width: calc(100% - 2 * var(--nl-cap-inset, 12px)); margin: 0; padding: 3px 8px; background: var(--nl-paper);
}
.nl-photo--cap-over-top .nl-photo__note {
  position: absolute; inset-inline-start: var(--nl-cap-inset, 12px); inset-block-start: var(--nl-cap-inset, 12px); z-index: 1;
  max-width: calc(100% - 2 * var(--nl-cap-inset, 12px)); margin: 0; padding: 3px 8px; background: var(--nl-paper);
}
.nl-photo--decorative { pointer-events: none; }
.nl-photo--decorative picture { display: contents; }
.nl-photo--decorative .nl-photo__img { width: 100%; height: 100%; object-fit: cover; }
/* The pair (an empty pair-duo slot): two cutouts side by side, bottoms on one line, true relative size (BLÜ's bottle is 0.772 of
   ÖCEAN's height to its overcap top, Leo's photos 2026-10-25; the figure is `heights` of the pair-duo slot in core/imagery.json, which the product
   feed's Duo picture uses too, and 0.228 below is 1 - 0.772: core/tests/test_feed_images.py holds them together). Padding is in container units, so the pair scales with whatever frame holds it. */
.nl-pair { --nl-pair-top: 12cqh; --nl-pair-bottom: 8cqh; --nl-pair-gap: 2cqw; container-type: size; position: absolute; inset: 0; display: flex; }
.nl-pair .nl-pair__img { flex: none; width: 50%; height: 100%; max-width: none; object-fit: contain; padding: var(--nl-pair-top) 0 var(--nl-pair-bottom); }
.nl-pair .nl-pair__img:first-child { object-position: right bottom; padding-inline-end: var(--nl-pair-gap); }
.nl-pair .nl-pair__img + .nl-pair__img { object-position: left bottom; padding-inline-start: var(--nl-pair-gap); padding-top: calc(var(--nl-pair-top) + 0.228 * (100cqh - var(--nl-pair-top) - var(--nl-pair-bottom))); }
/* {% press_thumb %}: a decorative repeat of a captioned picture (gallery thumbnails, the buy bar) */
.nl-thumb { display: block; overflow: hidden; background: var(--nl-tile); }
.nl-thumb__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nl-thumb--pair { display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 8px 6px 6px; background: var(--nl-white); }
.nl-thumb--pair .nl-thumb__img { width: auto; height: 100%; object-fit: contain; }
.nl-thumb--pair .nl-thumb__img + .nl-thumb__img { height: 88%; }

/* ===================================================================== */
/* Watermark stage: the tiled wordmark, only behind the product stage       */
/* ===================================================================== */
.nl-stage { position: relative; isolation: isolate; background: var(--nl-paper); overflow: hidden; }
.nl-stage__wm {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../brand/watermark-tile.svg");
  background-repeat: repeat;
  background-position: center top;
  background-size: calc(var(--nl-wm-h) * 7.447) auto;
}

/* ===================================================================== */
/* Background layer (D25): the monogram tissue and paper grain, fixed behind every storefront page except cart, checkout, order and payment */
/* (core/components/bg_layer.html). Each tile layer is a turned square bigger than the screen; js/nl.js slides it at half the scroll, wrapping */
/* by one tile period so it never runs out. z-index -1 sits above the page ground and under every section, so header, photo plates, bands, */
/* cards and the footer (all solid) cover it; Paper section grounds that would hide it are transparent where it matters. */
/* ===================================================================== */
.nl-bg { position: fixed; inset: 0; z-index: -1; overflow: clip; pointer-events: none; contain: strict; }
.nl-bg__tile {
  --nl-bg-side: calc(max(100vw, 100vh) * 1.5 + 800px);   /* covers the screen after the turn, with a tile of slack each side for the wrap */
  position: absolute; left: 50%; top: 50%; width: var(--nl-bg-side); height: var(--nl-bg-side); margin: calc(var(--nl-bg-side) / -2) 0 0 calc(var(--nl-bg-side) / -2);
  background-repeat: repeat; transform: rotate(var(--nl-bg-turn)); will-change: transform;
}
.nl-bg__tissue { background-image: url("../img/bg/tissue.svg"); background-size: 400px 200px; opacity: var(--nl-bg-tissue-opacity); }
.nl-bg__grain { background-image: url("../img/bg/grain.svg"); background-size: 256px 256px; }
@media (max-width: 699px) { .nl-bg__tissue { background-size: 280px 140px; } }   /* 0.7 of the desktop tile */
@media print, (forced-colors: active) { .nl-bg { display: none; } }

/* ===================================================================== */
/* Breadcrumbs                                                            */
/* ===================================================================== */
.nl-crumbs { padding-block: 8px; font-size: var(--nl-text-body-sm); }
.nl-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.nl-crumbs li { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.nl-crumbs li + li::before { content: "/"; color: var(--nl-color-text-muted); }
.nl-crumbs a { display: inline-flex; align-items: center; min-height: var(--nl-target-min); color: var(--nl-ink); }   /* 44px targets; the row keeps its height */
.nl-crumbs [aria-current="page"] { color: var(--nl-color-text-muted); }

/* ===================================================================== */
/* Consent banner                                                         */
/* ===================================================================== */
/* In flow at the very end of the page, stuck to the bottom of the screen while the page is longer than the screen: it takes its own
   room, so at the end of the page the footer links sit above it, never under it (F-07). Tabbing to a link scrolls it clear of
   the banner through scroll-padding-bottom; nl.js writes the measured height to --nl-consent-h (the fallback covers a phone), and
   the phone buy bar sits on top of it (bottom: var(--nl-consent-h)). Compact on phones (D20: at most 120px at 390px): one sentence,
   the privacy link, Decline and Accept in one row; the title stays as the accessible name only. */
.nl-consent { position: sticky; inset-inline: 0; bottom: 0; z-index: var(--nl-z-banner); background: var(--nl-paper); border-top: var(--nl-border-promise) solid var(--nl-ink); }
/* --nl-consent-h: the banner's height. nl.js writes the measured value inline on <html> (it wins) and removes it after Decline; without
   the script these fallbacks hold (the compact phone banner, the two-column one from 750px). Pinned frames end above it. */
html:has(.nl-consent:not(.nl-consent--static)) { --nl-consent-h: 7.5rem; scroll-padding-bottom: var(--nl-consent-h); }
@media (min-width: 750px) { :root:has(.nl-consent:not(.nl-consent--static)) { --nl-consent-h: 8rem; } }
.nl-consent__inner { max-width: var(--nl-content-max); margin-inline: auto; padding: 10px var(--nl-page-margin); display: grid; gap: 8px; }
.nl-consent__title { font-family: var(--nl-font-display); font-weight: 500; font-size: 1.125rem; margin: 0 0 4px; }
.nl-consent p { margin: 0; font-size: var(--nl-text-caption); line-height: 1.35; max-width: 62ch; }
.nl-consent__long { display: none; }
.nl-consent__actions { display: flex; gap: 8px; }
.nl-consent__actions .nl-btn { flex: 1 1 0; min-height: var(--nl-control-s); padding-inline: 12px; }
@media (max-width: 749px) {
  .nl-consent:not(.nl-consent--static) .nl-consent__title {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}
@media (min-width: 750px) {
  .nl-consent__inner { padding-block: 16px; grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .nl-consent p { font-size: var(--nl-text-body-sm); line-height: var(--nl-lh-body-sm); }
  .nl-consent__long { display: inline; }
  .nl-consent__short { display: none; }
  .nl-consent__actions .nl-btn { flex: none; min-width: 148px; min-height: var(--nl-control-m); }
}
.nl-consent--static { position: static; border: var(--nl-border-promise) solid var(--nl-ink); }

/* ===================================================================== */
/* Status chips and icons (shared with the dashboard): a word and an icon, never a step colour */
/* ===================================================================== */
.nl-icon { width: 20px; height: 20px; flex: none; }
.nl-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px 2px 6px;
  border: 1px solid currentColor;
  font-family: var(--nl-font-display); font-weight: 500; font-size: var(--nl-text-caption);
  letter-spacing: var(--nl-track-caps); text-transform: uppercase; line-height: 1.5;
  color: var(--nl-ink); background: var(--nl-paper); white-space: nowrap;
}
.nl-status .nl-icon { width: 16px; height: 16px; }
.nl-status--ok { color: var(--nl-color-success); background: var(--nl-color-success-bg); }
.nl-status--warn { color: var(--nl-color-warning); background: var(--nl-color-warning-bg); }
.nl-status--bad { color: var(--nl-color-error); background: var(--nl-color-error-bg); }
.nl-status--neutral { color: var(--nl-color-text-muted); background: var(--nl-stone); }

/* ===================================================================== */
/* Forced colours: keep the Dots and the tab visible                         */
/* ===================================================================== */
@media (forced-colors: active) {
  .nl-dot::before, .nl-dot::after { background: CanvasText; forced-color-adjust: none; }
  .nl-step-tab { border: 1px solid CanvasText; forced-color-adjust: none; background: Canvas; color: CanvasText; }
  .nl-btn--primary { border-color: ButtonText; }
  /* Checked radios and the stepper bars are drawn with background and box-shadow, which this mode strips (F-35). */
  .nl-field input[type="radio"]:checked { background: Highlight; border-color: Highlight; outline: 2px solid Highlight; outline-offset: 1px; box-shadow: none; }
  .nl-field input[type="radio"] { border-color: ButtonText; }
  .nl-qty__btn { border-color: ButtonText; }
  .nl-qty__btn::before, .nl-qty__btn::after { background-color: ButtonText; }
  .nl-header__brand, .nl-footer__wordmark, .nl-footer__seal { color: CanvasText; }
  .nl-footer { border-top: 1px solid CanvasText; }
  .nl-photo--cap-over .nl-photo__note, .nl-photo--cap-over-top .nl-photo__note { border: 1px solid CanvasText; }
}

/* Stock-photograph band (D70, 2026-11-06): the home's ritual section and the routine page's light band only. A solid, full-bleed Paper band with its
   own padding, so the sitewide tissue and wordmark layer (core/components/bg_layer.html, D25) does not show behind these two sections; the layer
   itself is unchanged everywhere else. position + z-index keep the band above that fixed layer. */
.nl-stock-band { position: relative; z-index: 1; margin-top: var(--nl-space-l); padding-block: var(--nl-space-m); background: var(--nl-paper); }
/* The routine page's light band is quieter than the wrap: from 990 px the 16:9 figure is capped at 1040 px and centred (full wrap width from 768 to 989,
   the 4:5 phone crop below 768 unchanged). */
@media (min-width: 990px) { .nl-routine-light .nl-photo { max-width: 1040px; margin-inline: auto; } }
