/* =====================================================================
   BRAND.CSS: Precision Nine's layer, loaded last (build 1, 21 Nov 2026).
   Colors and fonts come from tokens.css only. The brand guide's look:
   Ink and white led, Mist for quiet panels, one teal point per view.
   ===================================================================== */

/* ---- Type: Outfit headings, Manrope body, mono only for checked figures */
body { font-family: var(--font); color: var(--text-body); background: var(--page); }
h1, h2, h3, .lh, .h3__h { font-family: var(--font-display); font-weight: var(--fw-display); color: var(--text); letter-spacing: var(--track-display); text-wrap: balance; }
p { text-wrap: pretty; }
.lh .soft { color: inherit; }
.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.tone-dark .eyebrow { color: var(--sky); }
a { color: var(--royal); }
.tone-dark a { color: var(--sky); }

/* ---- Buttons: Ink by default; teal is the one highlight (Ink text on it) */
.btn, .pill { border-radius: var(--radius-sm); font-family: var(--font); font-weight: 700; letter-spacing: 0; min-height: 44px; }
.btn--solid, .pill--solid { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--solid:hover, .pill--solid:hover { background: var(--navy-hi); border-color: var(--navy-hi); color: var(--white); }
.btn--ghost, .pill--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost:hover, .pill--ghost:hover { background: var(--ice); color: var(--navy); }
.btn--teal { background: var(--bright); border-color: var(--bright); color: var(--navy); }
.btn--teal:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.tone-dark .btn--solid { background: var(--bright); border-color: var(--bright); color: var(--navy); }
.tone-dark .btn--solid:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.tone-dark .btn--ghost { color: var(--white); border-color: color-mix(in srgb, var(--white) 60%, transparent); }

/* ---- Header: light, the one-line lockup at 150 px or more ---------------- */
.topbar { background: var(--navy); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.brandmark { display: inline-flex; align-items: center; }
.brandmark__logo { display: block; width: 150px; height: auto; }   /* guide minimum: 150 px */
@media (max-width: 480px) {
  .site-header__inner { gap: 8px; }
  .header-actions { gap: 2px; }
  .header-actions .icon-btn, .header-actions .cart-btn { min-width: 40px; padding-inline: 8px; }
  .cart-btn__label { display: none; }
}
@media (min-width: 640px) { .brandmark__logo { width: 172px; } }
@media (min-width: 1024px) { .brandmark__logo { width: 196px; } }
.drawer .brandmark__logo { width: 160px; }
.nav a { font-family: var(--font); font-weight: 600; color: var(--text); }
.nav a[aria-current="page"] { color: var(--royal); }
.cart-btn__count { background: var(--bright); color: var(--navy); }

/* ---- Footer: Ink ---------------------------------------------------------- */
.site-footer.f3 { background: var(--navy); color: var(--text-body); }
.f3__logo { width: 210px; height: auto; }
.f3 h4 { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.f3 a { color: var(--white); }
.f3 .lh { color: var(--white); }

/* ---- Gate ----------------------------------------------------------------- */
.gate__brand { background: var(--navy); }
.gate__logo { width: min(260px, 70%); height: auto; }

/* ---- Page heads: the guide's hexagon outline, in teal, very quiet -------- */
.phead { background: var(--ice); }
.phead .orbit { color: var(--bright); opacity: .35; width: 340px; height: auto; right: -60px; top: -40px; }
.phead .orbit path { stroke-dasharray: none; }

/* ---- Product tiles: the label on Mist ----------------------------------- */
.pcard__media, .pg .gallery__main, .pdp__media, .thumb { background: var(--navy); }
.pcard { background: var(--white); }
.pcard__title { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.015em; }
.pcard__price, .price { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.015em; color: var(--text); }
.vpill { font-family: var(--font); font-weight: 600; border-radius: var(--radius-sm); }
.vpill.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }
.sku, .lot, .coa__lot, [data-mono] { font-family: var(--font-mono); font-weight: 500; }

/* =====================================================================
   HOME
   ===================================================================== */
/* The hero stays on Ink from the first frame to the last (no day state). */
@media (min-width: 1101px) { .h3--ink:not(.is-stacked) .h3__stick { background: var(--navy); } }
.h3--ink .h3__still { object-position: 72% 50%; }
.h3--ink .h3__copy { max-width: 480px; --tx: var(--white); --tx-soft: var(--sky); }
.h3--ink .eyebrow { color: var(--sky); margin-bottom: 14px; }
.h3--ink .h3__h { font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(42px, 4.6vw, 66px); line-height: 1.04; letter-spacing: calc(var(--track-display) * 1.15); color: var(--tx); max-width: 12ch; }
.h3--ink .h3__sub { max-width: 42ch; text-wrap: pretty; }
.h3--ink .pill { border-radius: var(--radius-sm); min-height: 48px; padding-inline: 22px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.h3--ink .pill--solid { background: var(--bright); color: var(--navy); border: 1.5px solid var(--bright); }
.h3--ink .pill--solid:hover { background: var(--sky); border-color: var(--sky); }
.h3--ink .pill--ghost { color: var(--tx); border: 1.5px solid color-mix(in srgb, var(--tx) 55%, transparent); background: transparent; }
.h3__ruo { text-wrap: balance; margin-top: 22px; font-size: 13px; color: color-mix(in srgb, var(--tx) 72%, transparent); }
@media (max-width: 1100px) {
  .h3--ink .h3__copy { --tx: var(--navy); max-width: none; }
  .h3--ink .eyebrow { color: var(--royal); }
  .h3--ink .h3__h { font-size: clamp(34px, 9vw, 44px); max-width: 14ch; }
  .h3--ink .pill--solid { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .h3--ink .h3__m { border-radius: var(--radius-panel); background: var(--navy); }
}
.h3--ink.is-stacked .h3__copy { --tx: var(--navy); }
.h3--ink.is-stacked .eyebrow { color: var(--royal); }
.h3--ink.is-stacked .pill--solid { background: var(--navy); border-color: var(--navy); color: var(--white); }

.facts9 { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--white); }
.facts9__list { list-style: none; margin: 0; padding: 22px 0; display: grid; gap: 16px; }
.facts9__list li { display: grid; gap: 4px; }
.facts9__list b { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.015em; color: var(--text); }
.facts9__list span { font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) { .facts9__list { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.band9 { padding: 64px 0; background: var(--white); }
.band9--mist { background: var(--ice); }
.band9 h2 { font-size: var(--fs-h2); line-height: 1.2; margin: 0 0 12px; }
.bandhead9 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.bandhead9 h2 { margin: 0; }
.textlink { font-weight: 700; color: var(--royal); display: inline-flex; gap: 6px; align-items: center; }
.textlink svg { width: 16px; height: 16px; }
.pgrid9 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 560px) { .pgrid9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pgrid9 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.lot9 { display: grid; gap: 32px; align-items: start; }
.lot9__copy p { max-width: 44ch; margin-bottom: 22px; }
.lot9__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.lot9__steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-soft); }
.lot9__steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--font-mono); font-weight: 500; font-size: 14px; color: var(--royal); padding-top: 2px; }
.lot9__steps b { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.015em; color: var(--text); }
.lot9__steps span { font-size: 15px; line-height: 1.5; }
@media (min-width: 900px) { .lot9 { grid-template-columns: 5fr 7fr; gap: 64px; } }

.tiers9 { display: grid; gap: 24px; align-items: center; }
.tiers9 p { max-width: 46ch; }
.tiers9__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiers9__list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 4px; background: var(--white); }
.tiers9__list li:last-child { border-color: var(--navy); }
.tiers9__list b { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: var(--track-display); font-size: 28px; color: var(--text); }
.tiers9__list span { font-size: 14px; color: var(--text-dim); }
@media (min-width: 900px) { .tiers9 { grid-template-columns: 5fr 7fr; gap: 64px; } }

.inst9 { background: var(--navy); border-radius: var(--radius-panel); padding: 36px 28px; display: grid; gap: 22px; align-items: center; }
.inst9 h2 { color: var(--white); }
.inst9 p { color: var(--text-body); max-width: 50ch; margin: 0; }
@media (min-width: 900px) { .inst9 { grid-template-columns: 1fr auto; padding: 48px 56px; } }

.faq9__in { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq9__in { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq-item summary { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.015em; color: var(--text); }

/* Reduced motion: the lit frame, still. Desktop keeps white copy on Ink
   (the template switched to dark copy for its daylight scene); phones keep
   the stacked layout, copy above the card. */
@media (prefers-reduced-motion: reduce) and (min-width: 1101px) {
  .h3--ink .h3__copy { --tx: var(--white); --tx-soft: var(--sky); }
  .h3--ink .eyebrow { color: var(--sky); }
  .h3--ink .pill--solid { background: var(--bright); border-color: var(--bright); color: var(--navy); }
  .h3--ink .h3__stick::after { display: block; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1100px) {
  .h3--ink .h3__stick { height: auto; }
  .h3--ink .h3__still--day { display: none; }
}


/* ---- The cap comes off quickly (owner, 21 Nov 2026: "a bit slow"): under
   half a second up with a crisp ease-out, a touch quicker back. ------------ */
.pcard__media img.pcard__cap, .turn img.turn__cap { transition: transform .34s cubic-bezier(.4, 0, .2, 1), filter .34s cubic-bezier(.4, 0, .2, 1); }
.pcard:hover .pcard__media img.pcard__cap, .turn:hover img.turn__cap, .turn.is-drag img.turn__cap {
  transition: transform .42s cubic-bezier(.16, .84, .3, 1), filter .42s cubic-bezier(.16, .84, .3, 1);
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .35));
}
@media (prefers-reduced-motion: reduce) { .pcard__media img.pcard__cap, .turn img.turn__cap { transition: none; } }

/* ---- The hero lasts (owner, 21 Nov 2026: "short-lived at the top"): about
   two screens of scroll instead of one; home.js holds the lit frame for the
   last part. Phones, stacked windows and reduced motion keep their height. - */
@media (min-width: 1101px) { .h3--ink:not(.is-stacked) { height: 520vh; } }   /* two acts */
@media (prefers-reduced-motion: reduce) { .h3--ink:not(.is-stacked) { height: auto; } }

/* ---- Home: lot lookup, closing band ------------------------------------- */
.lotfind { display: grid; gap: 8px; max-width: 440px; }
.lotfind label { font-weight: 600; color: var(--text); font-size: 15px; }
.lotfind__row { display: flex; gap: 8px; }
.lotfind input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; font: 500 16px var(--font-mono); color: var(--text); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.lotfind input:focus { outline: 2px solid var(--bright); outline-offset: 1px; border-color: var(--navy); }
.lotfind .btn { min-height: 48px; white-space: nowrap; }
.close9 { position: relative; background: var(--navy); overflow: hidden; }
.close9__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.close9::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 70%, transparent) 38%, transparent 66%), linear-gradient(0deg, var(--navy) 0%, transparent 22%); }
.close9__in { position: relative; z-index: 1; padding-block: clamp(72px, 12vw, 150px); display: grid; gap: 16px; justify-items: start; }
.close9 h2 { color: var(--white); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; margin: 0; }
.close9 p { color: var(--text-body); max-width: 36ch; margin: 0 0 8px; }
@media (max-width: 700px) { .close9__bg { opacity: .55; object-position: 80% 50%; } }
.site-footer.f3 { margin-top: 0; }

/* =====================================================================
   LAB REPORTS (owner, 21 Nov 2026): the library first, no labels over the
   boxes. .sheet is one strength's record (product page and inside a library
   row); .lib is the library, one line per strength.
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rcard.sheet { display: block; padding: 0; border: 1px solid var(--line-soft); border-top: 1px solid var(--line-soft); border-radius: var(--radius-panel); background: var(--white); overflow: hidden; max-width: 880px; }
.sheet i, .lrow i { font-style: normal; font-family: var(--font-mono); font-weight: 500; }
.sheet__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 22px 24px; background: var(--navy); }
.sheet__head h3 { margin: 0; font-size: 20px; color: var(--white); letter-spacing: 0; }
.sheet__head h3 i { color: var(--sky); margin-left: 4px; }
.sheet__head p { margin: 0; font-size: 14px; color: color-mix(in srgb, var(--white) 76%, transparent); }
.sheet__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--line-soft); }
.sheet__figs > div { padding: 20px 24px; border-right: 1px solid var(--line-faint); }
.sheet__figs > div:last-child { border-right: 0; }
.sheet__figs dt { font-size: 13px; color: var(--text-dim); }
.sheet__figs dd { margin: 4px 0 0; font: 500 26px/1.15 var(--font-mono); letter-spacing: -.02em; color: var(--text); }
.sheet__figs dd small { display: block; margin-top: 4px; font: 400 13px/1.3 var(--font); letter-spacing: 0; color: var(--text-dim); }
.sheet__tablewrap { overflow-x: auto; border-bottom: 1px solid var(--line-soft); }
.sheet__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet__table th, .sheet__table td { text-align: left; padding: 12px 24px; border-bottom: 1px solid var(--line-faint); white-space: nowrap; }
.sheet__table thead th { font-weight: 500; font-size: 13px; color: var(--text-dim); }
.sheet__table tbody th { font-weight: 600; color: var(--text); }
.sheet__table td { font-family: var(--font-mono); font-weight: 500; color: var(--text); }
.sheet__table tbody tr:last-child th, .sheet__table tbody tr:last-child td { border-bottom: 0; }
.sheet__docs { list-style: none; margin: 0; padding: 0; }
.sheet__docs li { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 16px 24px; border-bottom: 1px solid var(--line-faint); }
.sheet__docs b { display: block; font-weight: 600; color: var(--text); }
.sheet__docs span { display: block; font-size: 14px; color: var(--text-dim); margin-top: 2px; }
/* .rcard a (the template) sets padding 9px 0 with more weight than one class:
   that squeezed these buttons on the product page (owner's screenshot, 21 Nov 2026). */
.rcard.sheet a.sheet__pdf, .lrow a.sheet__pdf { display: inline-flex; padding: 0 18px; }
.rcard.sheet .sheet__verify a { display: inline; padding: 0; }
.sheet__pdf { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: var(--radius-sm); font: 600 14px/1 var(--font); color: var(--navy); text-decoration: none; white-space: nowrap; }
.sheet__pdf:hover { background: var(--navy); color: var(--white); }
.sheet__verify { margin: 0; padding: 16px 24px 20px; font-size: 14px; line-height: 1.6; color: var(--text-body); max-width: 70ch; }
.coasec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.coasec__head h2 { margin: 0; font-size: var(--fs-h2); }
.coa__empty { border-style: solid; border-color: var(--line-soft); background: var(--ice); color: var(--text-body); }

.libsearch { position: relative; max-width: 620px; }
.libsearch svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
.libsearch input { width: 100%; min-height: 60px; padding: 0 18px 0 50px; font: 500 17px var(--font); color: var(--text); background: var(--ice); border: 1.5px solid transparent; border-radius: var(--radius); }
.libsearch input::placeholder { color: var(--text-dim); font-weight: 400; }
.libsearch input:focus { outline: 0; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bright) 35%, transparent); }
.libsearch__status { min-height: 20px; margin: 10px 0 0; font-size: 14px; color: var(--text-dim); }
.lib { padding: 8px 0 72px; background: var(--white); }
.lib__cols, .lrow__line { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1.35fr) 28px; gap: 16px; align-items: center; }
.lib__cols { padding: 0 20px 10px; font-size: 13px; color: var(--text-dim); border-bottom: 1px solid var(--line); }
.lrow { border-bottom: 1px solid var(--line-soft); }
.lrow[hidden] { display: none; }
.lrow__line { padding: 16px 20px; min-height: 60px; cursor: pointer; list-style: none; }
.lrow__line::-webkit-details-marker { display: none; }
details.lrow > summary:hover, details.lrow[open] > summary { background: var(--ice); }
details.lrow > summary:focus-visible { outline: 2px solid var(--bright); outline-offset: -2px; }
.lrow__name { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 17px; letter-spacing: -.015em; color: var(--text); overflow-wrap: anywhere; }
.lrow__name span { font-family: var(--font); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--text-dim); margin-left: 6px; white-space: nowrap; }
.lrow__c { font: 500 14px/1.3 var(--font-mono); color: var(--text); overflow-wrap: anywhere; }
.lrow__date { font-family: var(--font); font-weight: 400; color: var(--text-body); }
.lrow__chev { width: 10px; height: 10px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg); justify-self: center; transition: transform .2s; margin-top: -4px; }
details.lrow[open] .lrow__chev { transform: rotate(-135deg); margin-top: 4px; }
.lrow--pending .lrow__line { cursor: default; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) auto; }
.lrow__pending { font-size: 14px; color: var(--text-dim); }
.lrow__go { font-size: 14px; font-weight: 600; color: var(--royal); white-space: nowrap; }
.lrow__body { margin: 0 20px 22px; border: 1px solid var(--line-soft); border-radius: var(--radius-panel); overflow: hidden; background: var(--white); }
.lrow__lab { margin: 0; padding: 14px 24px; font-size: 14px; color: var(--text-body); background: var(--ice); border-bottom: 1px solid var(--line-soft); }
.lrow__lab a { font-weight: 600; margin-left: 6px; }
@media (max-width: 900px) {
  .lib__cols { display: none; }
  .lib__rows { border-top: 1px solid var(--line); }
  .lrow__line { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; padding: 16px 40px 16px 4px; }
  .lrow__name { grid-column: 1 / -1; }
  .lrow__chev { position: absolute; right: 12px; top: 22px; }
  .lrow__c { font-size: 13px; }
  .lrow__c::before { content: attr(data-l); display: block; font: 400 12px/1.3 var(--font); color: var(--text-dim); margin-bottom: 1px; }
  .lrow--pending .lrow__line { grid-template-columns: minmax(0, 1fr) auto; padding-right: 4px; }
  .lrow--pending .lrow__name { grid-column: 1 / -1; }
  .sheet__figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet__figs dd { font-size: 21px; }
  .sheet__figs > div:nth-child(2n) { border-right: 0; }
  .sheet__figs > div:nth-child(n+3) { border-top: 1px solid var(--line-faint); }
  .lrow__body { margin: 0 0 18px; }
  .sheet__figs > div, .sheet__docs li, .sheet__verify, .sheet__head, .lrow__lab, .sheet__table th, .sheet__table td { padding-left: 16px; padding-right: 16px; }
}
.libnotes { background: var(--ice); padding: 64px 0; }
.libnotes__in { display: grid; gap: 24px; }
.libnotes h2 { margin: 0; font-size: var(--fs-h2); }
@media (min-width: 900px) { .libnotes__in { grid-template-columns: 4fr 8fr; gap: 64px; } }

/* =====================================================================
   MOTION (the experience build, 21 Nov 2026). All of it is off under
   prefers-reduced-motion (flow.css stops every animation and transition).
   ===================================================================== */

/* ---- The gate is the opening scene: the two hexagons in the dark; each
   statement ticked lights them a third; Enter fires the beam and the gate
   folds into one hexagonal point. ----------------------------------------- */
.gate { --lit: 0; }
/* the template sets every child of .gate__brand to position: relative; this layer must not be */
.gate__brand > .gate__scene { position: absolute; inset: 0; z-index: 0; }
.gate__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.gate__scene .gate__lit { opacity: var(--lit); transition: opacity .7s cubic-bezier(.2, .7, .2, 1); }
.gate__scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 70%, transparent) 0%, transparent 30%, transparent 62%, var(--navy) 100%); }
.gate__beam { position: absolute; left: 0; right: 0; top: 42%; height: 2px; background: linear-gradient(90deg, transparent, var(--sky) 30%, #fff 50%, var(--sky) 70%, transparent); box-shadow: 0 0 18px 2px var(--bright); transform: scaleX(0); transform-origin: 100% 50%; opacity: 0; z-index: 1; }
.gate__brand { border-right: 0; justify-content: space-between; }
.gate__brand > .gate__mark, .gate__brand > .gate__tagline { position: relative; z-index: 2; }
.gate__tagline { max-width: none; font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: var(--track-display); color: var(--white); }
.gate__checks label { transition: border-color .25s, background .25s; }
.gate__checks label:has(input:checked) { border-color: var(--bright); background: color-mix(in srgb, var(--bright) 7%, var(--white)); }
.gate__checks input[type="checkbox"] { accent-color: var(--navy); }
.gate.is-opening { pointer-events: none; animation: gate-fold .95s cubic-bezier(.7, 0, .2, 1) both; }
.gate.is-opening .gate__lit { opacity: 1; }
.gate.is-opening .gate__beam { animation: gate-beam .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gate-beam { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: .9; } }
@keyframes gate-fold {
  0%, 38% { clip-path: polygon(50% -75%, 158% -12%, 158% 112%, 50% 175%, -58% 112%, -58% -12%); }
  100% { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); }
}
@media (max-width: 900px) {
  .gate__brand { min-height: 150px; }
  .gate__scene img { object-position: 50% 45%; }
  .gate__tagline { display: block; font-size: 20px; }
}

/* ---- Page to page: the new page opens through a hexagon. --------------- */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: hex-in .55s cubic-bezier(.65, 0, .2, 1) both; }
@keyframes hex-in {
  from { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%); }
  to { clip-path: polygon(50% -75%, 158% -12%, 158% 112%, 50% 175%, -58% 112%, -58% -12%); }
}

/* ---- Figures settle like a readout (roll.js). --------------------------- */
[data-roll] { font-variant-numeric: tabular-nums; }
[data-roll].is-rolling { color: var(--royal); }
.tone-dark [data-roll].is-rolling { color: var(--sky); }
[data-roll].is-set { animation: roll-set .5s ease-out; }
@keyframes roll-set { from { text-shadow: 0 0 14px color-mix(in srgb, var(--bright) 80%, transparent); } to { text-shadow: 0 0 0 transparent; } }

/* =====================================================================
   THE WORLD (experience build, 21 Nov 2026): the vial lives in the hero's
   dark glass and teal light. Scenes: scenes.py.
   ===================================================================== */

/* ---- Product page: scene thumbnails under the vial ----------------------- */
.pdp__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumbs .thumb { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 12px; border: 2px solid transparent; background: var(--navy); }
.pdp__thumbs .thumb.is-on { border-color: var(--bright); }
.pdp__media > #pdp-main { object-fit: cover; }

/* ---- The stage: the product in one scene, full width --------------------- */
.stage9 { position: relative; background: #050f11; overflow: hidden; }
.stage9__img { display: block; width: 100%; height: auto; min-height: 520px; max-height: 88vh; object-fit: cover; object-position: 72% 50%; }
.stage9::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050f11 0%, color-mix(in srgb, #050f11 55%, transparent) 30%, transparent 55%); pointer-events: none; }
.stage9__in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.stage9 h2 { color: var(--white); font-size: clamp(34px, 4.6vw, 68px); line-height: 1; margin: 0; max-width: 12ch; }
.stage9 h2 span { display: block; margin-top: 10px; font: 500 clamp(16px, 1.5vw, 20px)/1 var(--font-mono); letter-spacing: 0; color: var(--sky); }
.stage9 p { max-width: 40ch; margin: 0; color: var(--text-body); font-size: 16px; line-height: 1.6; }
.stage9__facts { display: grid; gap: 10px; margin: 10px 0 0; max-width: 420px; }
.stage9__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.stage9__facts dt { font-size: 13px; color: var(--text-dim); }
.stage9__facts dd { margin: 0; font: 500 13px/1.45 var(--font-mono); color: var(--white); }
@media (max-width: 800px) {
  .stage9 { display: flex; flex-direction: column-reverse; }
  .stage9__img { min-height: 0; aspect-ratio: 4 / 3.4; object-position: 74% 50%; }
  .stage9::after { background: linear-gradient(0deg, #050f11 0%, transparent 26%); bottom: auto; height: auto; aspect-ratio: 4 / 3.4; top: 0; }
  .stage9__in { position: static; padding-block: 8px 44px; }
}

/* ---- The vial taken apart as the page scrolls (--k from roll.js; without
   script or with reduced motion --k is 1: lifted, every note shown) ------- */
.anat { background: var(--navy); padding: 72px 0 40px; --k: 1; overflow: hidden; }
.anat h2 { color: var(--white); text-align: center; font-size: var(--fs-h2); margin: 0; }
.anat__fig { position: relative; width: min(560px, 100%); margin: 0 auto; aspect-ratio: 1; }
.anat__vial { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.anat__fig img.anat__cap { position: absolute; z-index: 2; height: auto; max-width: none; pointer-events: none;
  transform: translate3d(calc(var(--lx) * var(--k) * 1.25), calc(var(--ly) * var(--k) * 1.25), 0); filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .4)); }
.anat__notes { list-style: none; margin: 0; padding: 0; }
.anat__n { position: absolute; top: var(--y); width: 230px; transform: translateY(-50%); opacity: clamp(0, calc((var(--k) - var(--i) * .2) * 4), 1); }
.anat__n b { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 17px; letter-spacing: -.01em; color: var(--white); }
.anat__n span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.anat__n::before { content: ""; position: absolute; top: 12px; width: 64px; height: 1px; background: var(--bright); }
.anat__n::after { content: ""; position: absolute; top: 7px; width: 10px; height: 11px; background: var(--sky); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.anat__n--r { left: calc(var(--x) + 78px); }
.anat__n--r::before { right: calc(100% + 10px); }
.anat__n--r::after { right: calc(100% + 72px); }
.anat__n--l { right: calc(var(--x) + 78px); text-align: right; }
.anat__n--l::before { left: calc(100% + 10px); }
.anat__n--l::after { left: calc(100% + 72px); }
@media (max-width: 1080px) {
  .anat { padding-bottom: 56px; }
  .anat__fig { width: min(420px, 100%); }
  .anat__notes { position: relative; display: grid; gap: 14px; margin: 0 auto; max-width: 420px; padding-top: 100%; }
  .anat__n, .anat__n--r, .anat__n--l { position: static; transform: none; width: auto; text-align: left; opacity: 1; padding-left: 22px; position: relative; left: auto; right: auto; }
  .anat__n::before { display: none; }
  .anat__n--r::after, .anat__n--l::after { left: 0; right: auto; top: 6px; }
  .anat__fig { aspect-ratio: auto; }
  .anat__vial { height: auto; aspect-ratio: 1; }
}

/* ---- Home: the shelf. Every vial in a row on a dark glossy shelf; on a
   wide screen the row glides sideways as the page scrolls (roll.js adds
   .is-live and sets --tx); otherwise it is a swipe. ------------------------ */
.shelf9 { background: var(--navy); position: relative; }
.shelf9__stick { padding: 64px 0 56px; overflow: hidden; }
.shelf9__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.shelf9__head h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 46px); margin: 0; }
.shelf9__row { list-style: none; margin: 0; padding: 30px max(16px, calc((100vw - var(--max)) / 2 + 28px)) 10px; display: flex; gap: clamp(18px, 3vw, 44px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.shelf9__row::-webkit-scrollbar { display: none; }
.shelf9__row li { flex: 0 0 auto; width: clamp(130px, 13vw, 190px); scroll-snap-align: center; }
.shelf9__row a { display: grid; justify-items: center; gap: 4px; text-decoration: none; color: var(--white); }
.shelf9__row img { width: 100%; height: auto; margin-bottom: 44px; -webkit-box-reflect: below 2px linear-gradient(transparent 62%, rgba(255, 255, 255, .16)); transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s; }
.shelf9__row a:hover img { transform: translateY(-14px) rotate(-2deg); filter: drop-shadow(0 0 26px color-mix(in srgb, var(--bright) 55%, transparent)); }
.shelf9__name { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 16px; letter-spacing: -.01em; text-align: center; text-wrap: balance; }
.shelf9__price { font: 500 13px/1.3 var(--font-mono); color: var(--sky); }
.shelf9__row::after { content: ""; flex: 0 0 1px; }
@media (min-width: 1101px) {
  .shelf9.is-live { height: calc(100vh + var(--travel, 0px)); }
  .shelf9.is-live .shelf9__stick { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
  .shelf9.is-live .shelf9__row { overflow: visible; width: max-content; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
  .shelf9.is-live .shelf9__row li { width: clamp(150px, 12.5vw, 200px); }
}

/* ---- Catalog: grid or the table of compounds ----------------------------- */
.viewpick { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.viewpick button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; font: 600 14px var(--font); color: var(--text-body); cursor: pointer; }
.viewpick button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.ptable { display: grid; gap: 34px; }
.ptable[hidden] { display: none; }
.ptable__group h2 { font-size: 15px; font-family: var(--font); font-weight: 600; letter-spacing: 0; color: var(--text-dim); margin: 0 0 10px; }
.ptable__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pcell { position: relative; display: grid; grid-template-rows: auto 1fr auto auto auto; gap: 2px; aspect-ratio: 1 / 1.08; padding: 12px 14px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; color: var(--text); overflow: hidden; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.pcell__n { font: 500 12px/1 var(--font-mono); color: var(--text-dim); }
.pcell__s { align-self: center; font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(34px, 3vw, 44px); line-height: 1; letter-spacing: -.04em; }
.pcell__name { font-weight: 600; font-size: 14px; line-height: 1.25; overflow-wrap: anywhere; }
.pcell__amt { font: 400 12px/1.3 var(--font-mono); color: var(--text-dim); }
.pcell__p { font: 500 13px/1.3 var(--font-mono); color: var(--royal); }
.pcell__vial { position: absolute; right: -6%; bottom: -34%; width: 46%; height: auto; opacity: 0; transform: translateY(18%) rotate(6deg); transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.pcell:hover, .pcell:focus-visible { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-3px); }
.pcell:hover .pcell__n, .pcell:hover .pcell__amt, .pcell:focus-visible .pcell__n, .pcell:focus-visible .pcell__amt { color: color-mix(in srgb, var(--white) 70%, transparent); }
.pcell:hover .pcell__p, .pcell:focus-visible .pcell__p { color: var(--sky); }
.pcell:hover .pcell__vial, .pcell:focus-visible .pcell__vial { opacity: 1; transform: translateY(0) rotate(6deg); }
@media (max-width: 520px) { .ptable__group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .toolbar__tools { flex-wrap: wrap; } }
#cat-grid[hidden] { display: none; }
/* A bare 1fr column is minmax(auto, 1fr): the lot lookup's row pushed the home page 15 px wide on a phone. */
.lot9, .tiers9, .faq9__in, .libnotes__in { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lot9, .tiers9 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .faq9__in, .libnotes__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 420px) { .lotfind__row { flex-wrap: wrap; } .lotfind .btn { flex: 1 1 100%; } }
/* Phones: six thumbnails are a row under the vial, never a column over the buy area. */
@media (max-width: 800px) {
  .pdp__thumbs { position: static; flex-direction: row; gap: 8px; margin: 10px 0 0; }
  .pdp__thumbs .thumb { width: 60px; height: 60px; }
  .pdp__gallery { height: auto; }
  .toolbar__tools { flex-wrap: wrap; gap: 8px; }
  .toolbar__tools .toolbar__search { flex: 1 1 150px; }
  .shelf9__row li { width: 118px; }
  .shelf9__row img { margin-bottom: 30px; }
}
/* the logo sits at the top of the gate's scene, clear of the beam */
.gate__brand > .gate__mark { flex: 0 0 auto; display: block; margin: 0; align-self: flex-start; }
.gate__brand > .gate__mark::before { display: none; }


/* ---- Hero headline in three set lines (owner, 21 Nov 2026: say what the
   store is): what it sells first, then the brand's own line. -------------- */
.h3--ink .h3__h { max-width: none; }
.h3--ink .h3__h span { display: block; white-space: nowrap; }
.h3--ink .h3__h span:first-child { color: var(--sky); }
@media (max-width: 1100px) { .h3--ink .h3__h span:first-child { color: var(--royal); } }
.h3--ink.is-stacked .h3__h span:first-child { color: var(--royal); }
@media (prefers-reduced-motion: reduce) and (min-width: 1101px) { .h3--ink .h3__h span:first-child { color: var(--sky); } }

/* =====================================================================
   THE CATALOG AS A VAULT (owner, 21 Nov 2026: "pizzazz"). The page is Ink;
   the vials float on it with no boxes; a teal light follows the cursor over
   each one and the vial leans toward it (roll.js sets --mx --my --rx --ry).
   ===================================================================== */
.catdark { background: var(--navy); color: var(--text-body); }
.chead.catdark { position: relative; overflow: hidden; border: 0; }
.chead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 46%; opacity: .9; }
.chead.catdark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 72%, transparent) 42%, transparent 72%), linear-gradient(0deg, var(--navy) 0%, transparent 34%); }
.chead.catdark .chead__in { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 120px); padding-bottom: 28px; }
.chead.catdark h1 { color: var(--white); font: var(--fw-display) clamp(44px, 6vw, 88px)/1 var(--font-display); letter-spacing: calc(var(--track-display) * 1.2); }
.chead.catdark .chead__lede { color: var(--white); max-width: 44ch; }
.chead.catdark .chead__tiers { color: var(--text-dim); }
.catsec.catdark { padding-top: 8px; padding-bottom: 88px; }
.catdark .toolbar { border-color: var(--line-soft); }
.catdark .chip-f { background: transparent; border-color: var(--line); color: var(--white); }
.catdark .chip-f:hover { border-color: var(--sky); color: var(--white); }
.catdark .chip-f.is-on { background: var(--white); border-color: var(--white); color: var(--navy); }
.catdark .toolbar__search input, .catdark .toolbar__sort select { background: color-mix(in srgb, var(--white) 6%, transparent); border-color: var(--line); color: var(--white); }
.catdark .toolbar__search input::placeholder { color: var(--text-dim); }
.catdark .toolbar__sort select option { color: #0B1E22; }
.catdark .viewpick { background: transparent; border-color: var(--line); }
.catdark .viewpick button { color: var(--white); }
.catdark .viewpick button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.catdark .cat-foot, .catdark .cat-empty { color: var(--text-dim); }

.catdark .pcard { background: transparent; border: 0; box-shadow: none; }
.catdark .pcard:hover { transform: none; box-shadow: none; }
.catdark .pcard__media { position: relative; background: transparent; border-radius: 0; overflow: visible; }
.catdark .pcard__float { display: block; position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; will-change: transform; }
.catdark .pcard__media.is-near .pcard__float { transition-duration: .12s; }
.catdark .pcard__float > img:first-child { -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.catdark .pcard__media::after { content: ""; position: absolute; inset: -6%; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sky) 34%, transparent), transparent 70%); mix-blend-mode: screen; }
.catdark .pcard__media.is-near::after { opacity: 1; }
.catdark .pcard__title, .catdark .pcard__title a { color: var(--white); }
.catdark .pcard__title { text-align: center; margin-top: -6px; }
.catdark .pcard__vars { justify-content: center; }
.catdark .pcard__price { color: var(--sky); text-align: center; font: 500 16px/1.3 var(--font-mono); letter-spacing: 0; }
.catdark .vpill { background: transparent; border-color: var(--line); color: var(--white); }
.catdark .vpill.is-on { background: var(--white); border-color: var(--white); color: var(--navy); }
.catdark .pcard .btn--solid { background: transparent; border: 1.5px solid var(--line); color: var(--white); }
.catdark .pcard .btn--solid:hover, .catdark .pcard:hover .btn--solid { background: var(--bright); border-color: var(--bright); color: var(--navy); }
.catdark .pcard__pending { color: var(--text-dim); border-color: var(--line); background: transparent; text-align: center; }
.catdark .badge { background: var(--bright); color: var(--navy); }
/* each vial rises in as it comes into view */
html.motion .catdark [data-vault] > li { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
html.motion .catdark [data-vault] > li.is-in { opacity: 1; transform: none; }

.catdark .ptable__group h2 { color: var(--text-dim); }
.catdark .pcell { background: color-mix(in srgb, var(--white) 4%, transparent); border-color: var(--line); color: var(--white); }
.catdark .pcell__n, .catdark .pcell__amt { color: var(--text-dim); }
.catdark .pcell__p { color: var(--sky); }
.catdark .pcell:hover, .catdark .pcell:focus-visible { background: var(--bright); border-color: var(--bright); color: var(--navy); }
.catdark .pcell:hover .pcell__n, .catdark .pcell:hover .pcell__amt, .catdark .pcell:hover .pcell__p,
.catdark .pcell:focus-visible .pcell__n, .catdark .pcell:focus-visible .pcell__amt, .catdark .pcell:focus-visible .pcell__p { color: var(--navy); }
@media (prefers-reduced-motion: reduce) { html.motion .catdark [data-vault] > li { opacity: 1; transform: none; } }
/* The copy block is as wide as its headline, so home.js keeps the hexagons clear of it. */
@media (min-width: 1101px) {
  .h3--ink:not(.is-stacked) .h3__copy { max-width: none; width: max-content; }
  .h3--ink:not(.is-stacked) .h3__h { font-size: clamp(40px, 4vw, 62px); }
  .h3--ink:not(.is-stacked) .h3__sub { max-width: 37ch; }
}

/* =====================================================================
   REFINEMENT PASS (owner: "keep refining", 21 Nov 2026)
   ===================================================================== */
/* ---- The header is Ink on every page: a white bar over the Ink hero and
   the vault broke the world in two. The light lockup, as in the footer. --- */
.site-header--ink { background: color-mix(in srgb, var(--navy) 90%, transparent); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.site-header--ink .nav a { color: rgba(255, 255, 255, .84); }
.site-header--ink .nav a:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.site-header--ink .nav a[aria-current="page"] { color: var(--sky); background: color-mix(in srgb, var(--sky) 12%, transparent); }
.site-header--ink .icon-btn, .site-header--ink .cart-btn, .site-header--ink .cart-btn__label { color: var(--white); border-color: rgba(255, 255, 255, .22); }
.site-header--ink .icon-btn:hover, .site-header--ink .cart-btn:hover { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .45); }
.site-header--ink .cart-btn__count, .site-header--ink .cart-btn:hover .cart-btn__count { background: var(--bright); color: var(--navy); }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ordering-closed { background: #102a2f; color: rgba(255, 255, 255, .88); border-bottom: 1px solid rgba(255, 255, 255, .08); text-wrap: balance; }

/* ---- Home, the strip under the hero: Ink, so the top of the page is one
   dark run from the hero through the shelf to the lot lookup. ------------- */
.facts9--ink { background: var(--navy); border-color: rgba(255, 255, 255, .08); }
.facts9--ink .facts9__list b { color: var(--white); }
.facts9--ink .facts9__list span { color: rgba(255, 255, 255, .74); }
.facts9--ink a { color: var(--sky); }

/* ---- Phones and stacked windows: the hero is Ink too. The scene first,
   edge to edge, fading into the ground; the copy under it in white. ------- */
@media (max-width: 1100px) {
  .h3--ink { display: flex; flex-direction: column-reverse; background: var(--navy); padding-bottom: 34px; }
  .h3--ink .h3__m { width: 100%; max-width: none; margin: 0; border-radius: 0; aspect-ratio: 1 / 1; background: var(--navy); }
  .h3--ink .h3__m img { object-position: 50% 42%; }
  .h3--ink .h3__m::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, var(--navy)); }
  .h3--ink .h3__in { margin-top: -34px; position: relative; z-index: 1; }
  .h3--ink .h3__copy { --tx: var(--white); --tx-soft: var(--sky); }
  .h3--ink .eyebrow { color: var(--sky); }
  .h3--ink .h3__h span:first-child { color: var(--sky); }
  .h3--ink .h3__sub { color: rgba(255, 255, 255, .8); }
  .h3--ink .pill--solid { background: var(--bright); border-color: var(--bright); color: var(--navy); }
}
.h3--ink.is-stacked { display: flex; flex-direction: column-reverse; background: var(--navy); padding-bottom: 34px; }
.h3--ink.is-stacked .h3__m { width: 100%; max-width: none; margin: 0; border-radius: 0; aspect-ratio: 16 / 9; background: var(--navy); }
.h3--ink.is-stacked .h3__m::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, transparent, var(--navy)); }
.h3--ink.is-stacked .h3__in { margin-top: -34px; position: relative; z-index: 1; }
.h3--ink.is-stacked .h3__copy { --tx: var(--white); --tx-soft: var(--sky); }
.h3--ink.is-stacked .eyebrow, .h3--ink.is-stacked .h3__h span:first-child { color: var(--sky); }
.h3--ink.is-stacked .h3__sub { color: rgba(255, 255, 255, .8); }
.h3--ink.is-stacked .pill--solid { background: var(--bright); border-color: var(--bright); color: var(--navy); }
@media (min-width: 1101px) { .h3--ink:not(.is-stacked) .h3__sub { max-width: 34ch; } }

/* ---- The shelf (second pass; owner, 22 Nov 2026: "feels a bit awkward"
   with two vials the same size, mirror images under the names and the
   heading in a clump). One vial at a time: the row moves in steps so a
   single vial always stands at the middle of the screen (roll.js), its
   neighbours step down evenly on one floor line, nothing is mirrored under
   the names, and the heading spans the page. ------------------------------ */
.shelf9__count { font: 500 14px/1 var(--font-mono); color: rgba(255, 255, 255, .5); margin-left: auto; display: none; }
.shelf9__count b { color: var(--sky); font-weight: 500; }
@media (min-width: 1101px) {
  .shelf9.is-live { height: calc(100vh + var(--travel, 0px)); }
  .shelf9.is-live .shelf9__head { width: 100%; margin-bottom: 0; }
  .shelf9.is-live .shelf9__count { display: inline; }
  .shelf9.is-live .shelf9__stick { background: radial-gradient(34% 44% at 50% 56%, color-mix(in srgb, var(--bright) 26%, transparent), transparent 72%); }
  .shelf9.is-live .shelf9__row { align-items: flex-start; gap: 0; padding: clamp(28px, 5vh, 56px) 0 0; transition: transform .75s cubic-bezier(.2, .8, .2, 1); }
  .shelf9.is-live .shelf9__row li { width: clamp(190px, min(19vw, 31vh), 340px); }
  .shelf9.is-live .shelf9__row a { gap: 6px; }
  .shelf9.is-live .shelf9__row img { -webkit-box-reflect: unset; width: 78%; margin-bottom: 26px; transform-origin: 50% 100%;
    transform: scale(calc(.62 + var(--f, 0) * .38)); opacity: calc(.38 + var(--f, 0) * .62);
    transition: transform .75s cubic-bezier(.2, .8, .2, 1), opacity .75s, filter .75s; }
  .shelf9.is-live .shelf9__row a:hover img { opacity: 1; }
  .shelf9.is-live .shelf9__name, .shelf9.is-live .shelf9__price { opacity: calc(.3 + var(--f, 0) * .7); transition: opacity .75s, transform .75s cubic-bezier(.2, .8, .2, 1); }
  .shelf9.is-live .shelf9__name { transform: scale(calc(.9 + var(--f, 0) * .3)); transform-origin: 50% 0; font-size: 17px; }
  .shelf9.is-live .shelf9__price { transform: translateY(calc(var(--f, 0) * 5px)); }
  .shelf9.is-live li.is-mid img { filter: drop-shadow(0 0 40px color-mix(in srgb, var(--bright) 55%, transparent)); }
  .shelf9.is-live .shelf9__row::after { content: none; }
}

/* ---- The lot lookup: an Ink band, the search as the main thing, the three
   steps as a numbered row under it. ---------------------------------------- */
.lotdark { background: radial-gradient(70% 90% at 82% 0%, color-mix(in srgb, var(--bright) 16%, transparent), transparent 62%), var(--navy); }
.lotdark .lot9 { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); }
.lotdark h2 { color: var(--white); font-size: clamp(32px, 4.4vw, 60px); line-height: 1.04; max-width: 16ch; }
.lotdark .lot9__copy p { color: rgba(255, 255, 255, .78); font-size: 18px; max-width: 52ch; }
.lotdark .lotfind { max-width: 620px; }
.lotdark .lotfind label { color: var(--sky); font: 500 13px/1 var(--font-mono); letter-spacing: .04em; }
.lotdark .lotfind input { min-height: 60px; font-size: 18px; color: var(--white); background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .22); caret-color: var(--sky); }
.lotdark .lotfind input::placeholder { color: rgba(255, 255, 255, .45); }
.lotdark .lotfind input:focus { border-color: var(--sky); outline-color: var(--bright); background: rgba(255, 255, 255, .09); }
.lotdark .lotfind .btn { min-height: 60px; padding-inline: 26px; }
.lotdark .lot9__steps { gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.lotdark .lot9__steps li { background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); border-radius: 0; padding: 22px 0; grid-template-columns: 64px 1fr; }
.lotdark .lot9__steps li::before { font-size: 26px; color: var(--sky); padding-top: 0; }
.lotdark .lot9__steps b { color: var(--white); font-size: 19px; }
.lotdark .lot9__steps span { color: rgba(255, 255, 255, .72); }
@media (min-width: 900px) {
  .lotdark .lot9__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 0; }
  .lotdark .lot9__steps li { grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding: 20px 0 0; gap: 8px; }
  .lotdark .lot9__steps li::before { grid-row: auto; font-size: 34px; margin-bottom: 6px; }
}

/* ---- Price steps: the figure is the thing. -------------------------------- */
.tiers9__list { gap: 0; border-top: 1px solid var(--line); }
.tiers9__list li { border: 0; border-radius: 0; background: none; padding: 20px 16px 4px 0; border-right: 1px solid var(--line-soft); padding-left: 16px; }
.tiers9__list li:first-child { padding-left: 0; }
.tiers9__list li:last-child { border-right: 0; }
.tiers9__list b { font-size: clamp(40px, 6vw, 84px); line-height: 1; color: var(--navy); }
.tiers9__list li:last-child b { color: var(--royal); }
.tiers9__list span { font-size: 15px; }
.tiers9 h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
/* Stacked hero, wide windows: the wide frame, not the phone crop. */
.h3--ink .h3__m .h3__night { transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1); }
@media (min-width: 700px) and (max-width: 1100px) { .h3--ink .h3__m { aspect-ratio: 16 / 9; max-height: 64vh; } .h3--ink .h3__m img { object-position: 60% 50%; } }
.h3--ink.is-stacked .h3__m { max-height: 64vh; }
.h3--ink.is-stacked .h3__m img { object-position: 60% 50%; }
@media (max-width: 480px) { .site-header__inner { gap: 6px; } }
/* Small phones: the lockup at 30 px high (about 190 px wide, over the guide's
   150 px minimum) so the header's three buttons fit a 360 px screen. */
@media (max-width: 400px) { .site-header .brandmark img.brandmark__logo { height: 30px; } }
@media (max-width: 340px) { .site-header .brandmark img.brandmark__logo { height: 26px; } .header-actions .icon-btn, .header-actions .cart-btn { min-width: 36px; padding-inline: 5px; } }

/* ---- PAGE HEADS (owner, 24 Nov 2026: "inconsistencies with font and
   padding at the top of the different pages"). ONE title block: every page
   but the home page and a product opens with build.py pagehead(), and the
   catalog's Ink head takes the same three numbers. Change the variables,
   never one page. build.py fails on a page title outside the head. ---- */
:root { --ph-top: clamp(40px, 5vw, 72px); --ph-bottom: clamp(32px, 4vw, 56px); --ph-size: clamp(36px, 4.6vw, 64px); }
/* The live offer bar (assets/js/top-bar.js) with no look chosen in the back office: Ink, not the kit's navy. A look saved there still wins (it is set on the bar itself). */
:root { --topbar-bg: #0B1E22; --topbar-ink: #FFFFFF; }
.phead__in, .chead.catdark .chead__in { padding-top: var(--ph-top); padding-bottom: var(--ph-bottom); }
.phead h1, .chead.catdark h1 { margin: 0; max-width: 20ch; font: var(--fw-display) var(--ph-size)/1.04 var(--font-display); letter-spacing: var(--track-display); }
.phead .eyebrow + h1 { margin-top: 14px; }
.phead h1 .dot, .chead.catdark h1 .dot { color: inherit; }      /* never Signal Teal type on white or Mist */
.phead__lede, .chead.catdark .chead__lede { margin: 16px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; text-wrap: balance; }
.phead .libsearch { margin-top: 28px; }
.phead .libsearch input { background: var(--white); border-color: var(--line-soft); }
.phead .libsearch__status:empty { display: none; }
@media (max-width: 760px) { .phead h1, .chead.catdark h1 { max-width: none; } }
@media (max-width: 700px) { .chead.catdark .chead__bg { opacity: .4; } }      /* the lit hexagons sat under the words on a phone */
