/* FCPG storefront — base: tokens, reset, type, layout, buttons, forms.
   Palette and type are the locked FCPG Direction B system (vault: FCPG - Brand Palette,
   FCPG Design Handoff). Light theme only, by brand decision. */

:root {
  --ink: #0B1A2B;
  --ink-2: #132A42;
  --ink-3: #1D3553;
  --lab: #F7F6F1;
  --paper: #FCFBF8;
  --bone: #E8E5DC;
  --bone-2: #EFECE4;
  --fog: #D9D7D0;
  --graphite: #2C333A;
  --steel: #626A73;            /* darkened from #6A737C so small text passes 4.5:1 on every light surface */
  --copper: #B4633A;           /* brand accent: fills, rules, icons, focus rings — not small text */
  --copper-dk: #99512E;
  --copper-tint: #F4E7DE;
  --copper-cta: #AD5F38;       /* button fill: white label at 4.7:1 */
  --copper-text: #9C532E;      /* copper as text on light surfaces */
  --copper-on-dark: #E39A70;   /* copper as text on ink surfaces */
  --accent-text: var(--copper-text); /* switched to --copper-on-dark inside dark surfaces */
  --line-input: #8F8B82;       /* form-control borders: 3:1 against paper */
  --signal: #1E5E4E;
  --signal-tint: #E2EEE9;
  --alert: #8A2B2B;
  --alert-tint: #F5E5E3;
  --caution: #8C6A1E;
  --caution-tint: #F6EFDD;
  --caution-text: #7A5C19;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  --line: 1px solid var(--fog);
  --shadow-1: 0 1px 2px rgba(11, 26, 43, .06);
  --shadow-2: 0 10px 30px -14px rgba(11, 26, 43, .28);
  --shadow-3: 0 30px 70px -30px rgba(11, 26, 43, .5);

  --container: 1280px;
  --gutter: clamp(16px, 3vw, 24px);
  --section: clamp(56px, 7vw, 96px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Author display rules (grid/flex) must never beat the hidden attribute. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  overflow-x: clip; /* off-canvas drawers must never widen the page; clip keeps position:sticky working */
  background: var(--lab);
  color: var(--graphite);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-wrap: break-word; /* a long token (an address in a status message) wraps instead of widening the page */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
sub { font-size: .72em; line-height: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; border-radius: 2px; }
::placeholder { color: var(--steel); opacity: 1; }
a[href^="mailto:"] { overflow-wrap: anywhere; } /* long addresses must wrap at 320px */

.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: 0; }
.muted { color: var(--steel); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--lab); padding: 10px 14px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.fcpg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section) 0; }
.section--tight { padding-block: 32px 0; }
.section--narrow { max-width: 860px; }
.band { margin-top: var(--section); padding-block: var(--section); }
.band--ink { background: var(--ink); color: #C9D0D8; }
/* Dark surfaces: copper text switches to the light variant. */
.band--ink, .hero__copy, .feature-card--ink, .site-footer, .ship-card, .calc__out { --accent-text: var(--copper-on-dark); }
.band--bone { background: var(--bone-2); border-block: var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); margin: 0 0 12px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--accent-text); }
.eyebrow--copper { color: var(--accent-text); }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--graphite); max-width: 68ch; }

/* Buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--lab); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { --btn-bg: var(--copper-cta); --btn-bd: var(--copper-cta); --btn-fg: #fff; box-shadow: 0 8px 20px -12px rgba(180, 99, 58, .8); }
.btn--primary:hover { --btn-bg: var(--copper-dk); --btn-bd: var(--copper-dk); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--secondary:hover { --btn-bg: var(--ink); --btn-fg: var(--lab); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--lab); --btn-bd: rgba(247, 246, 241, .35); }
.btn--ghost-light:hover { --btn-bg: rgba(247, 246, 241, .08); --btn-bd: var(--lab); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--ink); }
.icon-btn:hover { background: var(--bone-2); }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 500; font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--paper); border: 1px solid var(--line-input); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180, 99, 58, .18); }
.field [aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 3px rgba(138, 43, 43, .12); }
.field__error { margin: 0; min-height: 0; font-size: 13px; color: var(--alert); }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field-row--3 { grid-template-columns: 1.4fr 1fr .8fr; }
@media (max-width: 640px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.check input { appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.check input::after { content: ""; width: 11px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { background: var(--copper); border-color: var(--copper); }
.check input:checked::after { opacity: 1; }
.check--sm { font-size: 14px; grid-template-columns: 18px 1fr; gap: 10px; margin-bottom: 10px; }
.check--sm input { width: 18px; height: 18px; border-radius: 4px; }
.check--sm input::after { width: 9px; height: 5px; }

.input-unit { display: flex; align-items: stretch; border: 1px solid var(--line-input); border-radius: var(--r-sm); background: var(--paper); overflow: hidden; }
.input-unit:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180, 99, 58, .18); }
.field .input-unit input { border: 0; box-shadow: none; min-width: 0; flex: 1; border-radius: 0; }
.field .input-unit select { flex: 0 0 auto; width: auto; min-height: 0; border: 0; border-left: var(--line); border-radius: 0; box-shadow: none; background: var(--bone-2); padding: 0 12px; font: 500 14px var(--mono); }
.input-unit__suffix { display: grid; place-items: center; padding: 0 14px; background: var(--bone-2); border-left: var(--line); font: 500 14px var(--mono); color: var(--steel); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--ink); text-decoration-color: var(--copper); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-text); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--copper); background: var(--bone-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bone-2); padding: .1em .35em; border-radius: 4px; }

/* FCPG storefront — shared components. */

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: #C9D0D8; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.announce__list { display: flex; justify-content: center; gap: 28px; margin: 0 auto; padding-block: 10px; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.announce__list::-webkit-scrollbar { display: none; }
.announce__list li { display: inline-flex; align-items: center; gap: 28px; }
.announce__list li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
@media (max-width: 760px) { .announce__list { justify-content: center; white-space: normal; text-align: center; letter-spacing: .03em; line-height: 1.5; } .announce__list li:not(:first-child) { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 241, .94); backdrop-filter: saturate(1.2) blur(10px); border-bottom: var(--line); }
.header__main { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.header__brand { text-decoration: none; flex-shrink: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--ink); color: var(--lab); font: 700 16px/1 var(--mono); letter-spacing: -.04em; position: relative; }
.wordmark__mark::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px; background: var(--copper); }
.wordmark__text { display: grid; gap: 3px; }
.wordmark__eyebrow { display: flex; align-items: center; gap: 6px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.wordmark__eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--copper); }
.wordmark__name { font: 600 17px/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.wordmark--light .wordmark__mark { background: var(--lab); color: var(--ink); }
.wordmark--light .wordmark__name { color: var(--lab); }

.search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; height: 46px; margin-inline: auto; background: var(--paper); border: 1px solid var(--fog); border-radius: var(--r-pill); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180, 99, 58, .15); }
.search__icon { display: grid; place-items: center; width: 44px; color: var(--steel); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 15px; }
.search__input::placeholder { color: var(--steel); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__submit { height: 36px; margin-right: 5px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--lab); font: 600 13px var(--sans); letter-spacing: .01em; }
.search__submit:hover { background: var(--ink-3); }
.search__suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60; background: var(--paper); border: var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-3); padding: 6px; max-height: 420px; overflow: auto; }
.suggest__item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--bone-2); }
.suggest__name { font-weight: 600; }
.suggest__meta { grid-column: 1; font: 400 12px var(--mono); color: var(--steel); }
.suggest__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 14px var(--mono); }
.suggest__list { display: grid; }
.suggest__empty { margin: 0; padding: 12px; color: var(--steel); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-sm); font: 500 14px var(--sans); text-decoration: none; color: var(--ink); }
.header__link:hover { background: var(--bone-2); }
.cart-button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--lab); font: 600 14px var(--sans); }
.cart-button:hover { background: var(--ink-3); }
.cart-button__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill); background: var(--copper-cta); color: #fff; font: 700 12px/22px var(--mono); text-align: center; }
.cart-button__count[data-empty] { background: rgba(247, 246, 241, .18); }
.cart-button.is-bumped { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } }
.menu-button { display: none; width: 44px; height: 44px; border: var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); place-items: center; }

.nav { border-top: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__head { display: none; }
.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__primary { overflow-x: auto; scrollbar-width: none; }
.nav__primary::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; }
.nav a { display: block; padding: 12px 10px; font: 500 14px var(--sans); color: var(--graphite); text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); border-bottom-color: var(--copper); }
.nav__secondary a { color: var(--steel); }

@media (max-width: 1080px) {
  /* Icon-only link: the text stays as its accessible name. */
  .header__link span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__secondary li:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; background: var(--lab); }
  .header__main { flex-wrap: wrap; gap: 12px; padding-block: 12px; min-height: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .header__actions { margin-left: auto; }
  .header__link, .cart-button__label { display: none; }
  .cart-button { padding: 0 12px; }
  .menu-button { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 80; background: var(--paper); border: 0; box-shadow: var(--shadow-3); transform: translateX(100%); transition: transform .28s var(--ease); overflow-y: auto; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__inner { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 16px 32px; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: var(--line); }
  .nav__title { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
  .nav__close { width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; }
  .nav ul { flex-direction: column; }
  .nav__secondary li:nth-child(n+3) { display: block; }
  .nav__primary { overflow: visible; }
  .nav a { padding: 14px 4px; font-size: 16px; border-bottom: var(--line); }
  .nav a[aria-current] { border-bottom-color: var(--fog); color: var(--copper-text); }
  .nav-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(11, 26, 43, .45); }
}
@media (max-width: 460px) { .wordmark__eyebrow { display: none; } .wordmark__name { font-size: 14px; max-width: 110px; line-height: 1.15; } .wordmark__mark { width: 38px; height: 38px; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); background: var(--ink); color: #AEB7C1; font-size: 14px; }
.footer__disclaimer { border-bottom: 1px solid rgba(247, 246, 241, .08); background: var(--ink-2); }
.footer__disclaimer p { margin: 0; padding-block: 22px; font-size: 13px; line-height: 1.65; color: #AEB7C1; max-width: 110ch; }
.footer__disclaimer strong { color: var(--accent-text); font-weight: 600; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 56px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__grid a { color: #D5DBE1; text-decoration: none; }
.footer__grid a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.footer__h { color: #fff; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer__brand p { margin: 16px 0 0; line-height: 1.6; }
.footer__settle { font-size: 12px; color: #8E99A5; }
.footer__legal { border-top: 1px solid rgba(247, 246, 241, .08); }
.footer__legal p { margin: 0; padding-block: 20px; font-size: 12px; line-height: 1.6; color: #8E99A5; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Age gate ---------- */
html.age-pending body { overflow: hidden; }
html.age-pending .age-gate { display: grid; }
html.age-pending main, html.age-pending .site-header, html.age-pending .announce, html.age-pending .site-footer { filter: blur(6px); }
.age-gate { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 20px; background: rgba(11, 26, 43, .86); }
.age-gate__card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 36px 32px 28px; border-radius: var(--r-lg); background: var(--lab); box-shadow: var(--shadow-3); outline: none; }
.age-gate__title { font-size: clamp(26px, 4vw, 32px); margin-bottom: 12px; }
.age-gate__body { font-size: 15px; color: var(--graphite); margin-bottom: 22px; }
.age-gate__form { padding-top: 18px; border-top: var(--line); }
.age-gate__form .btn { margin-top: 8px; }
.age-gate__exit { display: block; margin-top: 16px; text-align: center; font-size: 13px; color: var(--steel); }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 900; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 26, 43, .45); animation: fade .2s ease; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--shadow-3); animation: slide .28s var(--ease); outline: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: .4; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: var(--line); }
.drawer__head h2 { margin: 0; font-size: 20px; }
.drawer__tier { padding: 14px 20px; background: var(--bone-2); border-bottom: var(--line); font-size: 14px; }
.drawer__tier:empty { display: none; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px 22px; border-top: var(--line); background: var(--lab); }
.drawer__more { margin: 12px 0 0; text-align: center; }
.drawer__more a { font-size: 14px; color: var(--steel); }

.tierbar { display: grid; gap: 8px; }
.tierbar__msg { margin: 0; color: var(--ink); }
.tierbar__msg strong { color: var(--accent-text); }
.tierbar__track { position: relative; height: 6px; border-radius: var(--r-pill); background: var(--fog); overflow: hidden; }
.tierbar__fill { position: absolute; inset: 0 auto 0 0; background: var(--copper); border-radius: inherit; transition: width .35s var(--ease); }
.tierbar__marks { display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--steel); }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: var(--line); }
.line:last-child { border-bottom: 0; }
.line__thumb { width: 56px; height: 72px; border-radius: var(--r-sm); background: var(--bone-2) linear-gradient(90deg, transparent 19px, rgba(207, 203, 193, .5) 20px, transparent 21px) 0 0 / 20px 20px; display: grid; place-items: center; overflow: hidden; }
.line__thumb svg { width: 40px; height: auto; }
.line__name { margin: 0; font-weight: 600; color: var(--ink); }
.line__name a { text-decoration: none; }
.line__name a:hover { color: var(--accent-text); }
.line__meta { margin: 2px 0 10px; font: 400 12px var(--mono); color: var(--steel); }
.line__price { text-align: right; font: 500 15px var(--mono); color: var(--ink); }
.line__each { display: block; font-size: 12px; color: var(--steel); }
.line__remove { margin-top: 10px; border: 0; background: none; padding: 0; font-size: 12px; color: var(--steel); text-decoration: underline; }
.line__remove:hover { color: var(--alert); }
.cart-empty { padding: 48px 8px; text-align: center; color: var(--steel); }
.cart-empty .btn { margin-top: 16px; }

.totals { display: grid; gap: 8px; margin: 0 0 16px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.totals dt { color: var(--graphite); }
.totals dd { margin: 0; font-family: var(--mono); color: var(--ink); }
.totals .is-discount dd { color: var(--signal); }
.totals .is-total { padding-top: 12px; margin-top: 4px; border-top: var(--line); font-size: 17px; font-weight: 600; }
.totals .is-total dd { font-size: 18px; }
.totals__note { margin: 0 0 14px; font-size: 12px; color: var(--steel); }

/* Quantity stepper (shared by cart lines and the PDP) */
.qty { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line-input); border-radius: var(--r-pill); background: var(--paper); }
.qty--sm { height: 34px; }
.qty__btn { width: 40px; height: 100%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; border-radius: var(--r-pill); }
.qty__btn:hover { background: var(--bone-2); }
.qty__input { width: 42px; height: 100%; border: 0; background: transparent; text-align: center; font: 600 15px var(--mono); -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* The ring goes on the whole stepper while its number field has focus (buttons keep their own). */
@supports selector(:has(a)) {
  .qty__input:focus-visible { outline: none; }
  .qty:has(.qty__input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 2px; }
}

/* ---------- Section head, crumbs, chips ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head__title { margin: 0; font-size: clamp(28px, 3.2vw, 40px); }
.section-head__intro { margin: 10px 0 0; color: var(--steel); max-width: 60ch; }
.section-head__link { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 10px 16px; border: var(--line); border-radius: var(--r-pill); background: var(--paper); font: 600 14px var(--sans); text-decoration: none; color: var(--ink); transition: border-color .15s, color .15s; }
.section-head__link:hover { border-color: var(--copper); color: var(--copper); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: flex-start; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 18px 0 0; list-style: none; font: 400 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--steel); }
.crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 6px; color: var(--fog); } /* decorative: hidden from screen readers */
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: var(--line); border-radius: var(--r-pill); background: var(--paper); font: 500 14px var(--sans); color: var(--graphite); text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--lab); }
.chip .count { font: 500 12px var(--mono); color: var(--steel); }
.chip[aria-current="page"] .count, .chip[aria-pressed="true"] .count { color: #9FAAB6; }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .product-grid--4, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .product-grid--4, .product-grid--3 { grid-template-columns: 1fr; } }

.pcard { display: flex; flex-direction: column; border: var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.pcard:hover { border-color: #C8C4B9; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pcard[hidden] { display: none; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 0; }
.pcard__mark { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: var(--lab); font-size: 10px; font-weight: 700; letter-spacing: -.03em; }
.pcard__chip { padding: 4px 9px; border-radius: var(--r-pill); background: var(--copper-tint); color: var(--copper-dk); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__main { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 10px; padding: 12px 0 0 16px; min-height: 190px; }
.pcard__text { padding-bottom: 14px; min-width: 0; }
.pcard__title { margin: 0 0 4px; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.pcard__title a { text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__main { position: relative; }
.pcard__title a:hover { color: var(--accent-text); }
.pcard__compound { margin: 0 0 8px; font-size: 13px; color: var(--steel); }
.pcard__ids { display: grid; gap: 5px; margin: 10px 0 0; font-size: 11.5px; }
.pcard__ids div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
.pcard__ids dt { color: var(--steel); }
.pcard__ids dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.pcard__comp { margin: 10px 0 0; font-size: 11.5px; color: var(--graphite); line-height: 1.5; }
.pcard__media { position: relative; z-index: 1; display: grid; place-items: end center; align-self: stretch; border-radius: var(--r-md) 0 0 0; background-color: var(--bone-2); background-image: repeating-linear-gradient(0deg, transparent 0 19px, rgba(207, 203, 193, .55) 19px 20px), repeating-linear-gradient(90deg, transparent 0 19px, rgba(207, 203, 193, .55) 19px 20px); overflow: hidden; }
.pcard__vial { width: 74%; height: auto; margin-bottom: -2px; transition: transform .35s var(--ease); }
.pcard:hover .pcard__vial { transform: translateY(-4px) rotate(-1.5deg); }
.pcard__band { display: flex; justify-content: space-between; gap: 8px; padding: 9px 16px; background: var(--ink); color: #C9D0D8; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.pcard__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 16px 0; border: 0; min-width: 0; }
.pcard__size { position: relative; z-index: 2; display: inline-flex; }
.pcard__size input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pcard__size span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: var(--line); border-radius: var(--r-pill); background: var(--paper); font: 500 12px var(--mono); color: var(--graphite); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pcard__size span:hover { border-color: var(--ink); color: var(--ink); }
.pcard__size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--lab); }
.pcard__size input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.pcard__single { margin: 0; padding: 12px 16px 0; font-size: 12px; color: var(--steel); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 14px 16px 16px; }
.pcard__price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; color: var(--ink); }
.pcard__price [data-card-price] { font-size: 20px; font-weight: 600; }
.price__unit { font-size: 12px; color: var(--steel); }
.pcard__range { flex-basis: 100%; font-size: 11px; color: var(--steel); }
.pcard__add { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--ink); border-radius: var(--r-pill); background: var(--ink); color: var(--lab); font: 600 13px var(--sans); transition: background .15s, border-color .15s, transform .15s; }
.pcard__add:hover { background: var(--copper-cta); border-color: var(--copper-cta); color: #fff; }
.pcard__add.is-added { background: var(--signal); border-color: var(--signal); }

/* ---------- Category tiles ---------- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.category-tile { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; min-height: 196px; padding: 20px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); text-decoration: none; color: var(--graphite); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.category-tile:hover { border-color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.category-tile__num { font-size: 13px; color: var(--accent-text); }
.category-tile__name { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.category-tile__teaser { font-size: 14px; line-height: 1.5; color: var(--steel); }
.category-tile__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: var(--line); font-size: 12px; color: var(--steel); }
.category-tile:hover .category-tile__foot svg { color: var(--copper); transform: translateX(3px); }
.category-tile__foot svg { transition: transform .2s var(--ease); }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 20px 0 0; padding: 0; list-style: none; border: var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.trust__cell { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 20px; }
.trust__cell + .trust__cell { border-left: var(--line); }
.trust__num { grid-row: 1 / span 2; color: var(--accent-text); font-size: 13px; padding-top: 2px; }
.trust__title { font-weight: 600; color: var(--ink); }
.trust__body { font-size: 13.5px; line-height: 1.5; color: var(--steel); }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr; } .trust__cell + .trust__cell { border-left: 0; border-top: var(--line); } }

/* ---------- Notices, status ---------- */
.notice { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); font-size: 13.5px; line-height: 1.55; }
.notice p { margin: 0; }
.notice svg { margin-top: 1px; }
.notice--ruo { background: var(--bone-2); border: var(--line); color: var(--graphite); }
.notice--ruo svg { color: var(--steel); }
.notice--caution { background: var(--caution-tint); border: 1px solid #E4D3A6; color: #5E4613; }
.notice--caution svg { color: var(--caution); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: var(--r-pill); font: 500 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.status--ok { background: var(--signal-tint); color: var(--signal); }
.status--pending { background: var(--caution-tint); color: var(--caution-text); }

/* ---------- FAQ ---------- */
.faq { border-top: var(--line); }
.faq__item { border-bottom: var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font: 600 17px/1.35 var(--sans); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-text); }
.faq__icon { flex-shrink: 0; transition: transform .2s var(--ease); color: var(--copper); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 20px 0; color: var(--graphite); }
.faq__a a { color: var(--ink); text-decoration-color: var(--copper); text-underline-offset: 3px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: var(--line); border-radius: var(--r-md); background: var(--paper); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: var(--line); font-size: 14px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.spec-table td { color: var(--ink); }
.spec-table td.mono { font-size: 13.5px; overflow-wrap: anywhere; }
.spec-table--cols thead th { background: var(--bone-2); }
.spec-table:not(.spec-table--cols) { border: var(--line); border-radius: var(--r-md); border-collapse: separate; border-spacing: 0; background: var(--paper); overflow: hidden; }

.checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.checks svg { color: var(--signal); margin-top: 2px; }

/* ---------- Cards used on content pages ---------- */
.form-card, .aside-card, .cta-card { border: var(--line); border-radius: var(--r-lg); background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.form-card__error { color: var(--alert); font-size: 14px; }
.form-card__error:empty { display: none; }
.form-card__done { padding: 18px; border-radius: var(--r-md); background: var(--signal-tint); color: var(--signal); margin-top: 16px; }
.aside-card h2 { font-size: 20px; }
.aside-card .checks { gap: 12px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--bone-2); }
.cta-card h2 { font-size: 24px; margin-bottom: 6px; }
.cta-card p { margin: 0; color: var(--graphite); }
@media (max-width: 700px) { .cta-card { flex-direction: column; align-items: flex-start; } }

.nav__mobile-only { display: none; }
@media (max-width: 900px) { .nav__mobile-only { display: block; } }

/* FCPG storefront — page layouts. */

.page-head { padding-top: 8px; }
.page-head h1 { margin-top: 18px; }
.page-head .eyebrow { margin-top: 22px; }
.page-head .crumbs + .eyebrow { margin-top: 26px; }
.page-head .crumbs + .eyebrow + h1, .page-head .eyebrow + h1 { margin-top: 0; }
.page-head--center { text-align: center; }
.page-head--center .lede { margin-inline: auto; }

/* ---------- Home hero ---------- */
.hero { padding-top: 24px; }
.hero__card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-radius: var(--r-xl); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-3); min-height: 560px; }
.hero__copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); color: #C9D0D8; background: radial-gradient(120% 90% at 0% 0%, rgba(180, 99, 58, .22), transparent 55%), linear-gradient(160deg, var(--ink-2), var(--ink) 60%); }
.hero__title { color: var(--lab); font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; margin: 6px 0 20px; }
.hero__title em { font-style: normal; color: var(--copper-on-dark); }
.hero__lede { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; max-width: 52ch; color: #C9D0D8; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(247, 246, 241, .12); }
.hero__stats dt { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8E99A5; margin-bottom: 6px; }
.hero__stats dd { margin: 0; font: 600 17px var(--sans); color: var(--lab); letter-spacing: -.01em; }
.hero__media { position: relative; display: grid; place-items: center; padding: 32px; background-color: var(--bone-2); background-image: repeating-linear-gradient(0deg, transparent 0 23px, rgba(207, 203, 193, .6) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(207, 203, 193, .6) 23px 24px); }
.hero-vials { width: min(520px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(11, 26, 43, .18)); }
.hero__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--paper); border: var(--line); box-shadow: var(--shadow-2); font-size: 12px; color: var(--ink); }
.hero__chip svg { color: var(--copper); }
.hero__chip--a { top: 28px; right: 28px; }
.hero__chip--b { bottom: 28px; left: 28px; }
@media (max-width: 980px) {
  .hero__card { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 340px; }
  .hero-vials { width: min(420px, 90%); }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__chip--a { top: 14px; right: 14px; }
  .hero__chip--b { bottom: 14px; left: 14px; }
}

/* ---------- Volume ---------- */
.volume { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border: var(--line); border-radius: var(--r-xl); background: var(--paper); }
.volume__copy .section-head__title { margin-bottom: 14px; }
.volume__note { font-size: 14px; color: var(--steel); }
.volume__example { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ladder__step { display: grid; gap: 6px; padding: 16px 14px; border-radius: var(--r-md); border: var(--line); background: var(--lab); min-height: calc(120px + var(--lvl) * 28px); align-content: end; }
.ladder__step:last-child { background: var(--ink); border-color: var(--ink); color: var(--lab); }
.ladder__range { font-size: 12px; color: var(--steel); }
.ladder__off { font-weight: 600; color: var(--ink); }
.ladder__price { font-size: 22px; font-weight: 600; color: var(--ink); }
.ladder__step:last-child .ladder__off, .ladder__step:last-child .ladder__price { color: var(--lab); }
.ladder__step:last-child .ladder__range { color: #9FAAB6; }
@media (max-width: 900px) { .volume { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ladder { grid-template-columns: repeat(2, 1fr); } .ladder__step { min-height: 0; } }

/* ---------- Steps, feature cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps__item { padding: 26px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); }
.steps__num { display: inline-block; margin-bottom: 26px; color: var(--accent-text); font-size: 13px; }
.steps__item h3 { margin-bottom: 8px; }
.steps__item p { margin: 0; font-size: 15px; color: var(--steel); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 3vw, 36px); border: var(--line); border-radius: var(--r-xl); background: var(--paper); text-decoration: none; color: var(--graphite); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.feature-card:hover { border-color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.feature-card h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 4px; }
.feature-card p:not(.eyebrow) { color: var(--steel); max-width: 48ch; }
.feature-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--bone-2); color: var(--ink); margin-bottom: 18px; }
.feature-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--ink); }
.feature-card--ink { background: var(--ink); border-color: var(--ink); color: #B9C2CC; }
.feature-card--ink h2, .feature-card--ink .feature-card__link { color: var(--lab); }
.feature-card--ink p:not(.eyebrow) { color: #9FAAB6; }
.feature-card--ink .feature-card__icon { background: var(--ink-3); color: var(--copper-on-dark); }
.feature-card--ink:hover { border-color: var(--copper); }
@media (max-width: 860px) { .split-cards { grid-template-columns: 1fr; } }

/* ---------- Shop ---------- */
.shop { display: block; padding-top: 28px; }
.shop-bar { display: grid; gap: 16px; margin-bottom: 24px; }
.shop-bar__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toolbar__search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 240px; height: 46px; padding: 0 16px; border: var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--steel); }
.toolbar__search:focus-within { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(180, 99, 58, .15); }
.toolbar__search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: var(--ink); }
.toolbar__forms { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar__count { margin: 0; font-size: 13px; color: var(--steel); white-space: nowrap; }
.toolbar__sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--steel); }
.toolbar__sort select { height: 46px; padding: 0 36px 0 14px; border: var(--line); border-radius: var(--r-pill); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232C333A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; color: var(--ink); font-weight: 500; }
.shop .notice--ruo { margin-bottom: 20px; }
.shop__empty { padding: 48px 0; text-align: center; color: var(--steel); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 24px; }
.pdp__media { position: sticky; top: 150px; display: grid; gap: 14px; }
.pdp__stage { border-radius: var(--r-xl); overflow: hidden; border: var(--line); box-shadow: var(--shadow-2); background: var(--bone-2); }
.spec-card { width: 100%; height: auto; }
.pdp__badges { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pdp__badges li { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 10px; border: var(--line); border-radius: var(--r-md); background: var(--paper); font-size: 12.5px; font-weight: 500; color: var(--ink); text-align: center; }
.pdp__badges svg { color: var(--copper); flex-shrink: 0; }
.pdp__info { min-width: 0; }
.pdp__info .eyebrow { margin-bottom: 8px; }
.pdp__title { font-size: clamp(34px, 4vw, 52px); margin: 0 0 4px; }
.pdp__compound { margin: 0 0 10px; font-size: 17px; color: var(--steel); }
.pdp__tagline { font-size: 17px; color: var(--graphite); margin-bottom: 20px; max-width: 52ch; }
.idgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 24px; border: var(--line); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
.idgrid__cell { padding: 12px 14px; min-width: 0; }
.idgrid__cell:nth-child(odd) { border-right: var(--line); }
.idgrid__cell:nth-child(n+3) { border-top: var(--line); }
.idgrid dt { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.idgrid dd { margin: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.pdp__buy { padding: 22px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); }
.pdp__price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; }
.pdp__price .price { font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.sizes, .tiers { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.sizes legend, .tiers legend { margin-bottom: 10px; padding: 0; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.tiers legend .muted { text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.sizes__row { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size__label, .size__price { display: block; text-align: center; }
.size { display: grid; gap: 2px; min-width: 88px; padding: 10px 14px; border: 1.5px solid var(--line-input); border-radius: var(--r-md); background: var(--lab); transition: border-color .15s, background .15s; }
.size:hover { border-color: var(--steel); }
.size__label { font-weight: 600; color: var(--ink); }
.size__price { font-size: 12px; color: var(--steel); }
.size:has(input:checked) { border-color: var(--ink); background: var(--ink); }
.size:has(input:checked) .size__label { color: var(--lab); }
.size:has(input:checked) .size__price { color: #9FAAB6; }
.size:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 2px; }
.tiers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tier { position: relative; display: grid; }
.tier input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.tier__box { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; height: 100%; padding: 14px 6px 12px; border: 1.5px solid var(--line-input); border-radius: var(--r-md); background: var(--lab); color: var(--ink); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.tier:hover .tier__box { border-color: var(--steel); transform: translateY(-1px); }
.tier input:checked + .tier__box { border-color: var(--copper); background: var(--copper-tint); }
.tier input:focus-visible + .tier__box { outline: 2px solid var(--copper); outline-offset: 2px; }
.tier input:disabled + .tier__box { opacity: .45; cursor: not-allowed; transform: none; }
.tier__best { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--lab); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tier__qty { font-weight: 600; font-size: 14px; }
.tier__vials { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 64px; min-height: 22px; align-content: center; }
.tier__v { width: 5px; height: 9px; border-radius: 1.5px 1.5px 2px 2px; background: var(--steel); opacity: .55; }
.tier input:checked + .tier__box .tier__v { background: var(--copper); opacity: 1; }
.tier__price { font-size: 16px; font-weight: 600; }
.tier__tag { font-size: 11.5px; color: var(--steel); }
.tier input:checked + .tier__box .tier__tag { color: var(--copper-dk); font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.buy-row .qty { height: 54px; }
.pdp__line { margin: 12px 0 0; font-size: 13px; color: var(--steel); }
.pdp__line:empty, .pdp__nudge:empty { display: none; }
.pdp__nudge { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--signal-tint); color: var(--signal); font-size: 13.5px; }
.pdp__info > .notice { margin-top: 14px; }
.pdp__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--steel); }
.pdp__meta p { margin: 0; }
.ship-card { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); color: #D5DBE1; font-size: 14px; }
.ship-card p { display: flex; align-items: center; gap: 10px; margin: 0; }
.ship-card svg { color: var(--copper); flex-shrink: 0; }
@media (max-width: 960px) {
  /* Mobile order per the design handoff: image, identity + buy box, then badges and the RUO notice. */
  .pdp { display: flex; flex-direction: column; }
  .pdp__media { display: contents; }
  .pdp__stage { order: 1; }
  .pdp__info { order: 2; }
  .pdp__badges { order: 3; }
  .pdp__media > .notice { order: 4; }
}
@media (max-width: 520px) {
  .tiers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .idgrid { grid-template-columns: 1fr; }
  .idgrid__cell:nth-child(odd) { border-right: 0; }
  .idgrid__cell:nth-child(n+2) { border-top: var(--line); }
  .pdp__badges li { flex-direction: column; gap: 4px; padding: 10px 6px; font-size: 11.5px; }
}

.subnav { display: flex; gap: 6px; margin-top: var(--section); padding: 6px; border: var(--line); border-radius: var(--r-pill); background: var(--paper); overflow-x: auto; width: fit-content; max-width: calc(100% - 2 * var(--gutter)); }
.subnav a { padding: 10px 16px; border-radius: var(--r-pill); font: 500 14px var(--sans); color: var(--graphite); text-decoration: none; white-space: nowrap; }
.subnav a:hover { background: var(--bone-2); color: var(--ink); }
.pdp-section { scroll-margin-top: 150px; }
.subnav + .pdp-section { padding-top: 40px; }
.pdp-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.pdp-aside { display: grid; gap: 12px; align-content: start; }
.minicard { padding: 16px 18px; border: var(--line); border-radius: var(--r-md); background: var(--paper); }
.minicard .eyebrow { margin-bottom: 8px; }
.minicard .eyebrow svg { color: var(--copper); }
.minicard p:last-child { margin: 0; font-size: 14px; }
.minicard .mono { overflow-wrap: anywhere; }
.minicard--ruo { background: var(--bone-2); }
.refs { padding-left: 1.2em; }
.refs li { margin-bottom: 12px; }
.refs__meta { display: block; font-size: 12px; color: var(--steel); }
@media (max-width: 900px) { .pdp-cols { grid-template-columns: 1fr; } }


.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(252, 251, 248, .97); backdrop-filter: blur(8px); border-top: var(--line); box-shadow: 0 -10px 30px -18px rgba(11, 26, 43, .4); transform: translateY(110%); transition: transform .25s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__inner { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.sticky-buy__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.sticky-buy .price { font-weight: 600; color: var(--ink); }

/* ---------- Cart page & checkout ---------- */
.cart-page, .checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-top: 24px; }
.cart-page__lines { border: var(--line); border-radius: var(--r-lg); background: var(--paper); padding: 4px 24px; }
.summary { padding: 24px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); }
.summary h2 { font-size: 20px; }
.summary--sticky { position: sticky; top: 150px; }
.summary .line { grid-template-columns: 44px 1fr auto; padding: 12px 0; }
.summary .line__thumb { width: 44px; height: 56px; }
.summary .line__thumb svg { width: 30px; }
.summary .tierbar { margin: 14px 0; }
@media (max-width: 900px) { .cart-page, .checkout { grid-template-columns: 1fr; } .summary--sticky { position: static; order: -1; } }

.checkout__form, .co-fields { display: grid; gap: 18px; }
.co-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.co-fields:disabled { opacity: .55; }
.co-step { margin: 0; padding: clamp(20px, 3vw, 28px); border: var(--line); border-radius: var(--r-lg); background: var(--paper); min-width: 0; }
.co-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font: 600 19px var(--sans); color: var(--ink); letter-spacing: -.01em; }
.co-step legend + * { clear: both; }
.co-step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--lab); font-size: 12px; }
.co-step--attest { background: var(--bone-2); }
.co-step--attest .check a { color: var(--ink); text-decoration-color: var(--copper); }
.co-note { margin: 4px 0 0; font-size: 13px; color: var(--steel); }
.pay-list { display: grid; gap: 10px; }
.pay { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-input); border-radius: var(--r-md); background: var(--lab); cursor: pointer; transition: border-color .15s, background .15s; }
.pay:has(input:checked) { border-color: var(--copper); background: var(--copper-tint); }
.pay--off { opacity: .55; cursor: not-allowed; }
.pay input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--copper); }
.pay__label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.pay__off { padding: 2px 8px; border-radius: var(--r-pill); background: var(--signal-tint); color: var(--signal); font-size: 11px; }
.pay--off .pay__off { background: var(--bone); color: var(--steel); }
.pay__note { display: block; font-size: 13px; color: var(--steel); margin-top: 2px; }
.checkout__closed { margin-bottom: 24px; }
.checkout__closed a { text-decoration: underline; }
.checkout__status { margin: 12px 0 0; font-size: 14px; color: var(--alert); }
.checkout__status:empty { margin: 0; }
.checkout__done { grid-column: 1 / -1; padding: clamp(24px, 4vw, 40px); border: var(--line); border-radius: var(--r-xl); background: var(--paper); outline: none; }
.checkout__done h2 { font-size: 30px; }
.preview-flag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--caution-tint); color: var(--caution-text); font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.order-json { max-height: 280px; overflow: auto; padding: 14px; border-radius: var(--r-md); background: var(--ink); color: #D5DBE1; font: 12px/1.6 var(--mono); }

/* ---------- Two-column layouts (contact, B2B) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--form { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } }

/* ---------- Research resources ---------- */
.resources { padding-top: 28px; }
.calc { padding: clamp(22px, 3vw, 36px); border: var(--line); border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--shadow-1); }
.calc__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.calc__head h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 6px; }
.calc__head p { margin: 0; }
.calc__icon { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; background: var(--ink); color: var(--copper); }
.calc__out { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 8px 0 0; border-radius: var(--r-lg); background: var(--ink); overflow: hidden; }
.calc__out div { padding: 18px; min-width: 0; }
.calc__out div + div { border-left: 1px solid rgba(247, 246, 241, .1); }
.calc__out dt { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8E99A5; margin-bottom: 8px; }
.calc__out dd { margin: 0; font-size: 18px; font-weight: 600; color: var(--lab); overflow-wrap: anywhere; }
.calc__note { margin: 14px 0 0; font-size: 13px; }
@media (max-width: 900px) { .calc__out { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc__out div + div { border-left: 0; } .calc__out div { border-top: 1px solid rgba(247, 246, 241, .1); } }
.handling { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.handling li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 20px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); }
.handling h3 { font-size: 17px; margin-bottom: 6px; }
.handling p { margin: 0; font-size: 14px; color: var(--steel); }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; margin: 24px 0 0; }
.glossary div { padding: 16px 0; border-top: var(--line); }
.glossary dt { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.glossary dd { margin: 0; font-size: 14px; color: var(--steel); }

/* ---------- About, B2B, legal ---------- */
.principles { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border-top: var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 18px 0; border-bottom: var(--line); }
.principles__num { color: var(--accent-text); font-size: 14px; }
.principles p { margin: 0; font-size: 18px; color: var(--ink); }
.value-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.value-card { padding: 24px; border: var(--line); border-radius: var(--r-lg); background: var(--paper); }
.value-card__num { display: block; margin-bottom: 18px; color: var(--accent-text); font-size: 13px; }
.value-card h2 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.value-card p { margin: 0; color: var(--steel); font-size: 15px; }
@media (max-width: 860px) { .value-cards { grid-template-columns: 1fr; } }
.mini-steps { display: grid; gap: 12px; margin: 0; padding-left: 1.2em; font-size: 15px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-top: 28px; align-items: start; }
.legal__toc { position: sticky; top: 150px; font-size: 14px; }
.legal__toc ol, .legal__toc ul { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.legal__toc a { color: var(--graphite); text-decoration: none; }
.legal__toc a:hover { color: var(--accent-text); }
.legal__body h2 { font-size: 22px; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__toc { position: static; } }

/* ---------- Windows High Contrast (forced colors) ----------
   Selected pills, tiers and chips are marked by fill colour alone, and forced colours replace every fill.
   Add a check mark instead (not an outline: that would be indistinguishable from the focus ring). Its alt
   text is empty because the radio / aria-current / aria-pressed state already tells assistive tech. */
@media (forced-colors: active) {
  .pcard__size input:checked + span::before,
  .size:has(input:checked) .size__label::before,
  .tier input:checked + .tier__box .tier__qty::before,
  .chip[aria-current="page"]::before,
  .chip[aria-pressed="true"]::before { content: "✓"; content: "✓" / ""; margin-right: 4px; }
  .nav a[aria-current] { text-decoration: underline 2px; text-underline-offset: 6px; }
  .tier input:disabled + .tier__box { color: GrayText; }
}
