/* Elev8 Labs v3 "Specimen". One stylesheet, no framework.
   Layout: the page reads like a certificate of analysis. Sections are records with a narrow
   field-label column on the left (like "Product:" / "CAS:" on a COA) and content on the right.
   Colour roles: teal = proof (traces, purity, in stock), amber = money and offers, black = action. */
:root {
  --bench: #E9ECEA;
  --sheet: #F7F8F6;
  --ink: #0D0E0F;
  --graphite: #555B60;
  --rule: #CDD2CE;
  --rule-2: #DDE1DE;
  --signal: #00A89C;
  --signal-ink: #00756C;
  --amber: #E8962E;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.25rem; --fs-xl: 1.75rem;
  --fs-2xl: clamp(2rem, 3.6vw, 2.75rem);
  --fs-hero: clamp(2.75rem, 6.6vw, 5.5rem);

  --max: 1320px;
  --g: clamp(16px, 3.2vw, 40px);
  --label-col: 200px;
  --band: clamp(56px, 7vw, 96px);
  --r: 8px; --r-sm: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px }
body { margin: 0; background: var(--bench); color: var(--ink); font: 400 var(--fs-md)/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
img, svg { display: block; max-width: 100% }
a { color: inherit }
button, input, select { font: inherit; color: inherit }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance }
p { margin: 0 }
ul, ol, dl, dd { margin: 0; padding: 0 }
li { list-style: none }
:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 3px; border-radius: 2px }
.mono, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0 }
.label { font: 500 var(--fs-xs)/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite) }
.muted { color: var(--graphite) }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--g) }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--sheet); padding: 8px 12px; z-index: 100 }
.skip:focus { left: 8px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

/* ---------- buttons, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid var(--ink); background: var(--ink); color: var(--sheet); font-weight: 500; font-size: .9375rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s }
.btn:hover { background: #2A2D30; border-color: #2A2D30 }
.btn:active { transform: translateY(1px) }
.btn--ghost { background: transparent; color: var(--ink) }
.btn--ghost:hover { background: var(--ink); color: var(--sheet) }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .8125rem }
.btn[disabled] { background: var(--rule); border-color: var(--rule); color: var(--graphite); cursor: not-allowed }
.tag { display: inline-flex; align-items: center; background: var(--amber); color: var(--ink); font: 600 .6875rem/1 var(--f-mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 3px; white-space: nowrap }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule) }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; transition: text-decoration-color .15s }
.link:hover { text-decoration-color: var(--ink) }
.arrow::after { content: "\2192"; margin-left: .4em; font-family: var(--f-mono) }

/* ---------- offer bar + header ---------- */
.offer { background: var(--ink); color: var(--sheet); font-size: var(--fs-sm) }
.offer__in { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; min-height: 38px; padding-block: 6px; text-align: center }
@media (max-width: 640px) { .offer__in { gap: 8px 10px; font-size: .8125rem } }
.offer__sep { width: 1px; height: 14px; background: #3A3E42 }
.offer__clock { font-family: var(--f-mono); color: #C9CECB }
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--sheet) 94%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule) }
.hdr__in { display: flex; align-items: center; gap: 32px; min-height: 64px }
.brand { display: block; flex: none }
.brand img { height: 30px; width: auto }
.nav { display: flex; gap: 26px; font-size: .9375rem }
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink) }
.util { margin-left: auto; display: flex; align-items: center; gap: 6px }
.util a, .util button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; border: 0; background: none; text-decoration: none; font-size: .9375rem; cursor: pointer; border-radius: var(--r-sm) }
.util a:hover, .util button:hover { background: var(--bench) }
.util svg { width: 18px; height: 18px; flex: none }
.cart-count { font-family: var(--f-mono); font-size: .75rem; min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--sheet) }
.util .menu-btn { display: none }
@media (max-width: 980px) {
  .nav { display: none }
  .util .menu-btn { display: inline-flex }
  .util .u-label { display: none }
  .nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--sheet); border-bottom: 1px solid var(--rule); padding: 8px var(--g) 16px }
  .nav.is-open a { padding-block: 14px; border-bottom: 1px solid var(--rule-2); font-size: 1.0625rem }
}
@media (max-width: 560px) {
  .hdr__in { gap: 12px; min-height: 58px }
  .brand img { height: 25px }
  .util { gap: 0 }
  .util a, .util button { padding: 0 8px; gap: 6px }
}

/* ---------- record sections ---------- */
.rec { padding-block: var(--band); border-top: 1px solid var(--rule) }
.rec__grid { display: grid; grid-template-columns: var(--label-col) minmax(0, 1fr); gap: 24px 48px }
.rec__k { display: flex; flex-direction: column; gap: 10px; padding-top: 6px }
.rec__v { min-width: 0; display: flex; flex-direction: column; gap: 32px }
.rec__h { font-size: var(--fs-2xl); letter-spacing: -.035em; max-width: 22ch }
.rec__lede { color: var(--graphite); max-width: 60ch; font-size: 1.0625rem }
.rec__wide { grid-column: 1 / -1; min-width: 0; display: flex; flex-direction: column; gap: 18px; margin-top: 20px }
.rec__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap }
.rec__bar h3 { font-size: 1.25rem }
@media (max-width: 860px) { .rec__grid { grid-template-columns: 1fr } .rec__k { padding-top: 0 } }

/* ---------- trace ---------- */
.trace { width: 100%; height: auto; overflow: visible }
.trace path.tr { fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linejoin: round }
.trace .base { stroke: var(--rule); stroke-width: 1 }
.trace .tick { stroke: var(--graphite); stroke-width: 1 }
.trace text { font: 500 12px var(--f-mono); fill: var(--graphite) }
.trace text.pk { fill: var(--ink); font-weight: 600 }
.trace .lead { stroke: var(--graphite); stroke-width: 1 }
.trace .apex { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5 }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font: 400 .8125rem/1.4 var(--f-mono); color: var(--graphite) }
.legend b { color: var(--signal-ink); font-weight: 600 }
.legend__dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sheet); flex: none }
.legend__t { margin-left: auto }
.band__m { display: none }
@media (max-width: 640px) { .band__d { display: none } .band__m { display: block } .hide-m { display: none } }
.spark { width: 100%; height: 28px; color: var(--signal); overflow: visible }
.spark--none { color: var(--rule) }
@media (prefers-reduced-motion: no-preference) {
  /* backwards fill only: Chrome leaves a forwards-held final frame of this path unpainted */
  .draw path.tr { animation: draw 1.6s .25s var(--ease) backwards }
  @keyframes draw { from { clip-path: inset(-12px 100% -12px -12px) } to { clip-path: inset(-12px -12px -12px -12px) } }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px) }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end }
.hero__kick { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -.05em; line-height: .94; margin-block: 22px 22px; max-width: 11ch }
.hero__lede { font-size: 1.125rem; color: var(--graphite); max-width: 44ch }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px }
.hero__vial { position: relative; z-index: 2; align-self: end; justify-self: center; width: min(100%, 420px); margin-bottom: -56px }
.hero__vial img { width: 100%; height: auto; filter: drop-shadow(0 30px 24px rgba(13, 14, 15, .18)) }
.band { position: relative; z-index: 1; margin-top: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 18px 10px }
.band__cap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 6px }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 18px }
.specs div { padding: 14px 16px 2px 0; display: flex; flex-direction: column; gap: 4px }
.specs b { font: 600 1.25rem/1.2 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em }
.specs span { font-size: var(--fs-sm); color: var(--graphite) }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr }
  .hero__vial { width: min(62%, 300px); margin-bottom: -40px }
}
@media (max-width: 560px) { .specs { grid-template-columns: 1fr 1fr } .specs div:last-child { grid-column: 1 / -1 } }

/* ---------- catalog index ---------- */
.index { border-top: 1px solid var(--ink) }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none }
.index a:hover .index__name { text-decoration: underline; text-underline-offset: 5px }
.index__name { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.03em }
.index__n { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--graphite) }
.index__from { font-family: var(--f-mono); font-size: var(--fs-sm); min-width: 9ch; text-align: right }
@media (max-width: 560px) { .index a { grid-template-columns: minmax(0, 1fr) auto } .index__n { display: none } .index__name { font-size: var(--fs-lg) } }

/* ---------- specimen cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px } }
.spec { position: relative; display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; min-width: 0; transition: border-color .15s }
.spec:hover { border-color: var(--graphite) }
.spec__well { position: relative; aspect-ratio: 1; background: var(--bench); display: grid; place-items: center }
.spec__well img { width: 84%; height: auto; filter: drop-shadow(0 12px 10px rgba(13, 14, 15, .16)); transition: transform .35s var(--ease) }
.spec:hover .spec__well img { transform: translateY(-4px) }
.spec__badge { position: absolute; top: 10px; left: 10px }
.spec__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 14px; flex: 1 }
.spec__name { font-size: 1.0625rem; letter-spacing: -.015em }
.spec__name a { text-decoration: none }
.spec__name a::after { content: ""; position: absolute; inset: 0; z-index: 1 }
.spec__meta { font-size: .8125rem; line-height: 1.4; color: var(--graphite) }
.spec__data { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font: 400 .75rem/1.4 var(--f-mono); color: var(--graphite); font-variant-numeric: tabular-nums }
.spec__data b { font-weight: 600; color: var(--signal-ink) }
.spec__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px }
.price { font: 600 1.0625rem/1 var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap }
.price s { font-weight: 400; font-size: .8125rem; color: var(--graphite); margin-right: 6px }
.spec__add { position: relative; z-index: 2 }
.spec.is-out .spec__well img { opacity: .45; filter: grayscale(.6) }
@media (max-width: 560px) { .spec__body { padding: 12px 10px } .spec__foot { flex-wrap: wrap } .spec__add { width: 100% } }

/* ---------- ledger (tables) ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: var(--fs-sm) }
.ledger th { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); text-align: left; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap }
.ledger td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle }
.ledger td.num { white-space: nowrap }
.ledger .c-name a { font-weight: 600; text-decoration: none; font-size: .9375rem }
.ledger .c-name a:hover { text-decoration: underline; text-underline-offset: 4px }
.ledger .c-name span { display: block; color: var(--graphite); font-size: .8125rem }
.ledger .c-trace { width: 180px }
.ledger .pur { color: var(--signal-ink); font-weight: 600 }
.ledger tr:hover td { background: color-mix(in srgb, var(--sheet) 70%, transparent) }
@media (max-width: 760px) {
  .ledger thead { display: none }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule) }
  .ledger td { border: 0; padding: 0 }
  .ledger .c-trace { grid-column: 1 / -1; width: auto; order: 5 }
  .ledger .c-date, .ledger .c-no { color: var(--graphite) }
}

/* ---------- shipping ---------- */
.ship { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px }
.clock { background: var(--ink); color: var(--sheet); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; min-height: 220px }
.clock .label { color: #A9AFAB }
.clock__t { font: 600 clamp(2.25rem, 4.6vw, 3.25rem)/1 var(--f-mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums }
.clock__s { color: #C9CECB; font-size: var(--fs-sm) }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px }
.notes h3 { font-size: 1rem; margin-bottom: 6px }
.notes p { color: var(--graphite); font-size: .9375rem }
@media (max-width: 860px) { .ship, .notes { grid-template-columns: 1fr } }

/* ---------- savings ---------- */
.save { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink) }
.save div { padding: 20px 20px 4px 0; display: flex; flex-direction: column; gap: 8px }
.save div + div { padding-left: 20px; border-left: 1px solid var(--rule) }
.save b { font: 600 clamp(1.75rem, 3vw, 2.25rem)/1 var(--f-mono); letter-spacing: -.03em }
.save h3 { font-size: 1.0625rem }
.save p { color: var(--graphite); font-size: .9375rem }
@media (max-width: 860px) { .save { grid-template-columns: 1fr } .save div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule) } }

/* ---------- support ---------- */
.support { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start }
.faq { border-top: 1px solid var(--ink) }
.faq details { border-bottom: 1px solid var(--rule) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.0625rem }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font: 400 1.25rem/1 var(--f-mono); color: var(--graphite) }
.faq details[open] summary::after { content: "\2212" }
.faq details p { padding: 0 0 18px; color: var(--graphite); max-width: 64ch }
.contact { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px }
.contact__mail { font: 600 1.125rem/1.3 var(--f-mono); word-break: break-all }
@media (max-width: 860px) { .support { grid-template-columns: 1fr } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #C9CECB; margin-top: var(--band); padding-block: 56px 28px; font-size: var(--fs-sm) }
.foot a { text-decoration: none; color: var(--sheet) }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px }
.foot__top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 32px }
.foot__brand img { height: 28px; width: auto }
.foot__brand p { margin-top: 14px; max-width: 34ch }
.foot h4 { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8E9490; margin-bottom: 12px }
.foot li + li { margin-top: 8px }
.foot__legal { border-top: 1px solid #2A2D30; margin-top: 40px; padding-top: 22px; display: grid; gap: 10px; font-size: .8125rem; color: #A9AFAB; max-width: 110ch }
.foot__legal b { color: var(--sheet); font-weight: 600 }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 22px; font: 500 .6875rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8E9490 }
@media (max-width: 960px) { .foot__top { grid-template-columns: 1fr 1fr } .foot__brand { grid-column: 1 / -1 } }

/* ---------- page head (shop, reports) ---------- */
.phead { padding-block: clamp(36px, 5vw, 64px) 24px }
.phead h1 { font-size: var(--fs-hero); letter-spacing: -.05em; line-height: .95 }
.phead__row { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap }
.phead p { color: var(--graphite); margin-top: 14px; max-width: 60ch; font-size: 1.0625rem }
.search { display: flex; align-items: center; gap: 8px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 0 12px; min-height: 46px; width: min(100%, 360px) }
.search:focus-within { border-color: var(--ink) }
.search input { border: 0; background: none; outline: none; flex: 1; min-width: 0; font-size: 1rem }
.search svg { width: 18px; height: 18px; color: var(--graphite); flex: none }
.filters { position: sticky; top: 64px; z-index: 20; background: color-mix(in srgb, var(--bench) 92%, transparent); backdrop-filter: blur(8px); border-block: 1px solid var(--rule); padding-block: 10px; margin-bottom: 20px }
.filters__in { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap }
.fchips { display: flex; gap: 6px; flex-wrap: wrap }
.fchip { font: 500 .8125rem/1 var(--f-sans); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--sheet); cursor: pointer; white-space: nowrap }
.fchip:hover { border-color: var(--graphite) }
a.fchip { color: var(--ink); text-decoration: none; display: inline-block }
.fchip[aria-pressed="true"], a.fchip[aria-pressed="true"] { background: var(--ink); color: var(--sheet); border-color: var(--ink) }
.fchip .n { font-family: var(--f-mono); font-size: .75rem; opacity: .7; margin-left: 4px }
.fopts { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: var(--fs-sm) }
.fopts select { border: 1px solid var(--rule); background: var(--sheet); border-radius: var(--r-sm); padding: 8px 10px }
.fopts label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer }
.empty { padding: 48px 0; color: var(--graphite) }
@media (max-width: 760px) {
  .fchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--g)); padding-inline: var(--g); width: calc(100% + 2 * var(--g)) }
  .fopts { margin-left: 0; width: 100%; justify-content: space-between }
}

/* ---------- product page ---------- */
.crumb { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 22px 18px; font: 500 .75rem/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--graphite) }
.crumb a { text-decoration: none } .crumb a:hover { color: var(--ink) }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start }
.gallery { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 10px }
.gallery__main { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden }
.gallery__main img { width: 76%; height: auto; filter: drop-shadow(0 26px 18px rgba(13, 14, 15, .18)) }
.gallery__main img.is-doc { width: 100%; height: 100%; object-fit: contain; filter: none; background: #fff }
.thumbs { display: flex; gap: 8px }
.thumbs button { width: 76px; height: 76px; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sheet); cursor: pointer; overflow: hidden; display: grid; place-items: center }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink) }
.thumbs img { width: 86%; height: auto }
.thumbs img.doc { width: 100%; height: 100%; object-fit: cover; object-position: top }
.buy h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); letter-spacing: -.045em; line-height: 1; margin-block: 12px 8px }
.buy__sub { font: 400 .875rem/1.5 var(--f-mono); color: var(--graphite) }
.buy__price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-block: 22px 22px }
.buy__price .price { font-size: 1.75rem }
.dossier { display: grid; grid-template-columns: 132px minmax(0, 1fr); border-top: 1px solid var(--ink) }
.dossier dt, .dossier dd { padding: 11px 0; border-bottom: 1px solid var(--rule) }
.dossier dt { font: 500 .6875rem/1.7 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite) }
.dossier dd { font: 400 .9375rem/1.5 var(--f-mono); font-variant-numeric: tabular-nums; min-width: 0 }
.dossier .pur { color: var(--signal-ink); font-weight: 600 }
.mini { margin-top: 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 12px 14px 8px }
.mini__cap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px }
.mini--none { display: grid; place-items: center; min-height: 120px; text-align: center; color: var(--graphite); font-size: var(--fs-sm); padding: 20px }
.qtyrow { display: flex; gap: 10px; margin-top: 20px }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--sheet) }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; font: 500 1.125rem/1 var(--f-mono) }
.qty input { width: 44px; text-align: center; border: 0; background: none; font: 500 1rem/1 var(--f-mono); -moz-appearance: textfield }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none }
.qtyrow .btn { flex: 1 }
.buy__notes { margin-top: 16px; display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--graphite) }
.buy__notes b { color: var(--ink); font-weight: 600 }
.cert { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start }
.cert__doc { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden }
.cert__doc img { width: 100%; height: auto }
.prose { max-width: 68ch; color: #2B2F33; font-size: 1.0625rem }
.prose p + p { margin-top: 1em }
.ruo { border-left: 2px solid var(--ink); padding: 4px 0 4px 16px; color: var(--graphite); font-size: var(--fs-sm); max-width: 72ch }
@media (max-width: 960px) { .pdp, .cert { grid-template-columns: 1fr } .gallery { position: static } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; visibility: hidden; background: var(--ink); color: var(--sheet); padding: 12px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); z-index: 60; transition: transform .25s var(--ease), opacity .25s, visibility 0s .25s; display: flex; gap: 12px; align-items: center }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s var(--ease), opacity .25s }
.toast a { color: var(--sheet) }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important } }

/* =====================================================================
   WordPress port additions (child theme elev8-v3)
   ===================================================================== */
@font-face { font-family: "Geist"; src: url(../fonts/geist-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap }
/* Variables the cart drawer (parent preview.css) reads, mapped onto the Specimen palette. */
:root {
  --e8-mono: var(--f-mono); --font-body: var(--f-sans); --line: var(--rule); --line-2: var(--rule-2);
  --accent: var(--signal-ink); --e8-ok: var(--signal-ink); --e8-ok-soft: #DDF1EE; --e8-warn: #8A4F06; --e8-ease: var(--ease);
  --ink-2: #2B2F33; --ink-3: var(--graphite); --ink-4: #80878D; --bg-soft: var(--sheet); --bg-gray: var(--bench); --bg-gray-2: var(--rule-2); --bg-deep: var(--ink);
}
picture { display: contents }
.admin-bar .hdr { top: 32px }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px } }
.ledger-wrap { overflow-x: auto }
.shop-body { padding-bottom: var(--band) }
.band { margin: 0 }
.mini { margin: 16px 0 0 }
.stock.is-in { color: var(--signal-ink) }
.notices:empty { display: none }
.notices { margin-bottom: 16px }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 10px; padding: 12px 16px; border: 1px solid var(--rule); border-left: 3px solid var(--ink); background: var(--sheet); border-radius: var(--r-sm); font-size: var(--fs-sm) }
.woocommerce-error { border-left-color: #B3261E }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-weight: 600; text-decoration: underline; text-underline-offset: 3px }

/* Legal pages (parent templates/_legal.php markup) */
.v3 .page-hd--legal { padding-block: clamp(36px, 5vw, 64px) 28px }
.v3 .page-hd--legal .kicker { font: 500 var(--fs-xs)/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite) }
.v3 .page-hd--legal .h-display { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -.05em; line-height: .98; margin-top: 14px; max-width: 16ch }
.v3 .page-hd--legal .h-display * { color: inherit; background: none; -webkit-text-fill-color: currentColor }
.v3 .page-hd--legal .lede { color: var(--graphite); margin-top: 14px; max-width: 60ch; font-size: 1.0625rem }
.v3 .page-hd--legal .meta { margin-top: 12px; font: 400 .8125rem/1.4 var(--f-mono); color: var(--graphite) }
.v3 .section--soft { border-top: 1px solid var(--rule); padding-block: 40px var(--band) }
.v3 .policy-prose { max-width: 72ch; font-size: 1.0625rem; color: #2B2F33 }
.v3 .policy-prose > * + * { margin-top: 1em }
.v3 .policy-prose h2 { font-size: 1.5rem; margin-top: 2em; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink) }
.v3 .policy-prose h3 { font-size: 1.125rem; margin-top: 1.6em; color: var(--ink) }
.v3 .policy-prose ul, .v3 .policy-prose ol { padding-left: 1.2em }
.v3 .policy-prose li { list-style: disc; margin-top: .4em }
.v3 .policy-prose ol li { list-style: decimal }
.v3 .policy-prose a { text-decoration: underline; text-underline-offset: 3px }
.v3 .policy-callout, .v3 .policy-compliance { border-left: 2px solid var(--ink); background: var(--sheet); padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0 }
.v3 .policy-contact { margin-top: 2.4em; padding: 20px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r) }
.v3 .policy-contact h3 { margin: 0 0 6px }
.v3 .policy-contact a { font: 600 1rem/1.4 var(--f-mono) }

/* 21+ gate (same storage key as the parent: elev8_gate21) */
.agegate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(13, 14, 15, .72); backdrop-filter: blur(6px) }
.agegate__card { width: min(100%, 480px); background: var(--sheet); border-radius: var(--r); padding: 30px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35) }
.agegate__card h2 { font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -.04em; margin: 14px 0 10px }
.agegate__card p { color: var(--graphite) }
.agegate__row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px }
.agegate__row .btn { flex: 1 1 180px }
.agegate__foot { margin-top: 18px; font-size: .8125rem }

/* Cart drawer: Specimen finish on top of the parent's preview.css */
.v3 .e8cart__panel { background: var(--sheet); font-family: var(--f-sans) }
.v3 .e8cart__title { letter-spacing: -.03em }
.v3 .e8cart [class*="btn"], .v3 .e8cart__checkout { border-radius: var(--r-sm) }
.v3 .e8cart__scrim { background: rgba(13, 14, 15, .5) }
.v3 .e8cart:not(.is-open) .e8cart__panel { box-shadow: none }
.v3 .e8cart__panel { box-shadow: -24px 0 60px rgba(13, 14, 15, .18) }
/* header count: the drawer's sheet pins it as a floating bubble; keep it inline here */
.v3 .util .nav__cart-count { position: static; top: auto; right: auto; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--sheet); font: 500 .75rem/20px var(--f-mono); text-align: center }
.v3 .e8checkout { background: var(--ink); background-image: none; color: var(--sheet); border-radius: var(--r-sm); box-shadow: none }
.v3 .e8checkout:hover { background: #2A2D30; box-shadow: none }

/* =====================================================================
   Info pages (FAQ, about, savings, research, contact, track, referral)
   ===================================================================== */
.phead--info .crumb { padding-top: 0 }
.phead--info > .wrap > .label + h1, .phead--info .crumb + h1 { margin-top: 14px }
.phead--info h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); max-width: 16ch }
.phead--info .hero__cta { margin-top: 24px }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
.chips-row .chip { text-transform: none; letter-spacing: 0; font: 500 .8125rem/1 var(--f-sans); padding: 8px 10px }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); display: inline-block }
.dot.is-on { background: var(--signal) }
.notes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
@media (max-width: 860px) { .notes--3 { grid-template-columns: 1fr } }
.statement { padding-block: var(--band); border-top: 1px solid var(--rule) }
.statement p { font: 600 clamp(2rem, 5vw, 3.75rem)/1.02 var(--f-sans); letter-spacing: -.045em; max-width: 16ch }
.statement em { font-style: normal; color: var(--signal-ink) }
.dossier--wide { grid-template-columns: 180px minmax(0, 1fr) }
.dossier--wide dd { font-family: var(--f-sans) }
.dossier--money { grid-template-columns: minmax(0, 1fr) auto }
.dossier--money dd { text-align: right; font-weight: 600; padding-left: 16px }
.dossier--money dt { font: 400 .9375rem/1.5 var(--f-sans); text-transform: none; letter-spacing: 0; color: var(--ink) }
@media (max-width: 560px) { .dossier--wide { grid-template-columns: 1fr } .dossier--wide dt { border-bottom: 0; padding-bottom: 0 } }
.specs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 820px }
@media (max-width: 760px) { .specs--4 { grid-template-columns: 1fr 1fr } }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 960px) { .tiles--3, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .tiles--3, .tiles--4 { grid-template-columns: 1fr } }
.tile { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.tile__fig { font: 600 2rem/1 var(--f-mono); letter-spacing: -.03em; min-height: 36px; display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 4px }
.tile__fig:has(.tile__logo) { align-items: center }
.tile__fig small { font-size: .875rem; font-weight: 500; letter-spacing: 0; color: var(--graphite); margin-left: 4px; text-transform: uppercase; white-space: nowrap }
.tile__fig small:first-child:not(:last-child) { margin: 0 6px 0 0 }
.tile__logo svg { height: 30px; width: auto; display: block }
.tile h3 { font-size: 1.0625rem }
.tile p { color: var(--graphite); font-size: .9375rem }
.tile__tag { align-self: flex-start; margin-top: auto; font: 500 .6875rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 3px; color: var(--graphite) }
.tile__go { font-size: .9375rem }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: s }
.steps4 li { counter-increment: s; padding: 18px 18px 6px 0; display: flex; flex-direction: column; gap: 6px }
.steps4 li + li { padding-left: 18px; border-left: 1px solid var(--rule) }
.steps4 li::before { content: counter(s); font: 600 .75rem/1 var(--f-mono); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sheet) }
.steps4 b { font-size: 1rem }
.steps4 p { color: var(--graphite); font-size: .9375rem }
@media (max-width: 860px) { .steps4 { grid-template-columns: 1fr 1fr } .steps4 li:nth-child(3) { padding-left: 0; border-left: 0 } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr } .steps4 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule) } }

.hgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px }
.rec__wide .hgrid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) }
.hcard { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); text-decoration: none; transition: border-color .15s }
.hcard:hover { border-color: var(--ink) }
.hcard__t { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em }
.hcard__d { color: var(--graphite); font-size: .875rem }
.hcard__go { margin-top: auto; font-size: .875rem; font-weight: 500 }
.feature { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden }
.feature__img { background: var(--bench); display: grid; place-items: center; padding: 14px }
.feature__img img { width: 90%; height: auto; filter: drop-shadow(0 12px 10px rgba(13, 14, 15, .16)) }
.feature__body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.feature__body h3 { font-size: 1.5rem; letter-spacing: -.03em }
.feature__body p { color: #2B2F33 }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr } .feature__body { padding: 0 18px 18px } .feature__img img { width: 46% } }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r) }
.cta-row h3 { font-size: 1.25rem }

/* long-form documents: research articles, guides */
.doc { max-width: 74ch; font-size: 1.0625rem; color: #2B2F33 }
.doc > * + * { margin-top: 1em }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink) }
.doc > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0 }
.doc h3 { font-size: 1.125rem; margin-top: 1.4em; color: var(--ink) }
/* product descriptions bring their own <hr> dividers: keep one rule, not hr + heading rule */
.doc hr { border: 0; border-top: 1px solid var(--rule); margin: 1.8em 0 0 }
.doc hr + h2, .doc hr + h3 { margin-top: .9em; padding-top: 0; border-top: 0 }
.doc h2 + hr, .doc hr + hr, .doc hr:last-child { display: none }
.doc ul, .doc ol { padding-left: 1.2em }
.doc li { list-style: disc; margin-top: .4em }
.doc ol li { list-style: decimal }
.doc a { text-decoration: underline; text-underline-offset: 3px }
.doc table { width: 100%; border-collapse: collapse; font-size: .9375rem; border-top: 1px solid var(--ink) }
.doc th, .doc td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top }
.doc thead th { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite) }
.doc tbody th { font-weight: 600; color: var(--ink); width: 34% }

/* forms (contact, track order, calculator) */
.formcard { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.field { display: flex; flex-direction: column; gap: 6px; font: 500 .8125rem/1.3 var(--f-sans) }
.field input, .field textarea, .field select { font: 400 1rem/1.4 var(--f-sans); min-height: 46px; padding: 10px 12px; border: 1px solid #C3C9C5; border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100% }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 14, 15, .08) }
.fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
@media (max-width: 640px) { .fields2 { grid-template-columns: 1fr } }
.topics { display: flex; flex-wrap: wrap; gap: 6px }
.sendrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: start }
.stack { display: flex; flex-direction: column; gap: 12px }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr } }
.calc { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 18px }
.calc__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px }
.calc__out dd { font-weight: 600; color: var(--signal-ink) }
.track__head h3 { font-size: 1.5rem; margin: 6px 0 4px }
.track__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px }
.track__steps li { display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: .875rem; color: var(--graphite) }
.track__steps li b { font: 600 .75rem/1 var(--f-mono); width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--rule-2); color: var(--ink) }
.track__steps li.is-done { border-color: var(--ink); color: var(--ink) }
.track__steps li.is-done b { background: var(--ink); color: var(--sheet) }
@media (max-width: 560px) { .track__steps { grid-template-columns: 1fr 1fr } }

/* referral: sign-in forms + the parent's dashboard (.e8ref) */
.refauth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
.refauth__col { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0 }
.refauth__col h3 { font-size: 1.375rem; letter-spacing: -.03em }
@media (max-width: 760px) { .refauth { grid-template-columns: 1fr } }
.refauth .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 12px }
.refauth label { font: 500 .8125rem/1.3 var(--f-sans) }
.refauth input.input-text, .refauth input[type="text"], .refauth input[type="email"], .refauth input[type="password"] { min-height: 46px; padding: 0 12px; border: 1px solid #C3C9C5; border-radius: var(--r-sm); background: #fff; font: 400 1rem var(--f-sans); width: 100% }
.refauth .button, .refauth button[type="submit"] { min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--r-sm); background: var(--ink); color: var(--sheet); font: 500 .9375rem/1 var(--f-sans); cursor: pointer; width: 100% }
.refauth .woocommerce-form-login__rememberme { flex-direction: row; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px }
.refauth .lost_password { font-size: .875rem; margin-top: 8px }
.refauth .password-input { position: relative; display: block }
.refauth .password-input input { padding-right: 46px }
.refauth .show-password-input { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0E0F' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px no-repeat; cursor: pointer }
.refauth .show-password-input.display-password { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0E0F' stroke-width='1.6'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E") }
.refauth .show-password-input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px }
.refauth .required { color: var(--graphite) }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 }
.e8ref { display: flex; flex-direction: column; gap: 14px }
.e8ref__hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; background: var(--ink); color: var(--sheet); border-radius: var(--r); overflow: hidden }
.e8ref__heroCopy, .e8ref__credit { padding: 24px }
.e8ref__credit { border-left: 1px solid #2A2D30 }
.e8ref__eyebrow, .e8ref__creditLabel, .e8ref__label { font: 500 .6875rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #A9AFAB }
.e8ref__label { color: var(--graphite) }
.e8ref__h { font-size: 1.75rem; letter-spacing: -.035em; margin: 10px 0 }
.e8ref__terms, .e8ref__creditNote { color: #C9CECB; font-size: .9375rem }
.e8ref__creditValue { font: 600 2.5rem/1 var(--f-mono); margin: 10px 0 6px }
.e8ref__creditPending { font: 500 .875rem var(--f-mono); color: var(--amber) }
.e8ref__card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px }
.e8ref__codeRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.e8ref__code { font: 600 1.375rem/1 var(--f-mono); padding: 12px 14px; border: 1px dashed var(--ink); border-radius: var(--r-sm); background: #fff; margin-right: 4px }
.e8ref__btn { min-height: 42px; padding: 0 14px; border: 1px solid var(--ink); border-radius: var(--r-sm); background: transparent; color: var(--ink); font: 500 .875rem/1 var(--f-sans); cursor: pointer }
.e8ref__btn--primary { background: var(--ink); color: var(--sheet) }
.e8ref__shareRow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.e8ref__share { font-size: .875rem; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; background: #fff }
.e8ref__share:hover { border-color: var(--ink) }
.e8ref__hint { color: var(--graphite); font-size: .875rem }
.e8ref__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink) }
.e8ref__stat { padding: 14px 14px 4px 0; display: flex; flex-direction: column; gap: 4px }
.e8ref__stat b { font: 600 1.25rem/1.2 var(--f-mono) }
.e8ref__stat span { color: var(--graphite); font-size: .8125rem }
.e8ref__empty { color: var(--graphite) }
.e8ref__table { width: 100%; border-collapse: collapse; font-size: .9375rem }
.e8ref__table th { font: 500 .6875rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); text-align: left; padding: 0 10px 8px 0; border-bottom: 1px solid var(--ink) }
.e8ref__table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-mono) }
.e8ref__pill { font: 500 .6875rem/1 var(--f-mono); text-transform: uppercase; padding: 4px 6px; border-radius: 3px; background: var(--rule-2) }
.e8ref__pill--completed { background: #DDF1EE; color: var(--signal-ink) }
@media (max-width: 760px) { .e8ref__hero { grid-template-columns: 1fr } .e8ref__credit { border-left: 0; border-top: 1px solid #2A2D30 } .e8ref__stats { grid-template-columns: 1fr 1fr } }
/* long guide lists: on phones show two compact columns (title + link); the blurbs there are boilerplate */
@media (max-width: 560px) {
  .hgrid--dense, .rec__wide .hgrid--dense { grid-template-columns: 1fr 1fr; gap: 8px }
  .hgrid--dense .hcard { padding: 14px 12px; gap: 6px }
  .hgrid--dense .hcard__d { display: none }
  .hgrid--dense .hcard__t { font-size: .9375rem; line-height: 1.25 }
  .hgrid--dense .label { font-size: .625rem }
}

/* Cart drawer: optimistic line while the add request is in flight (assets/js/cart.js) */
#e8cart .e8item.is-pending { opacity: .72 }
#e8cart .e8item.is-pending .e8item__media { background: var(--bench) }
.e8item__adding { font: 500 .6875rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); animation: e8pulse 1s ease-in-out infinite alternate }
@keyframes e8pulse { from { opacity: .45 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .e8item__adding { animation: none } }
