/* ==========================================================================
   Dynamic Aminos — site styles
   Tokens come straight from the logo: ink, paper, node blue, terminal green,
   slate. Display: Archivo Narrow (condensed, like the wordmark). Body: IBM
   Plex Sans. Utility/data: Courier Prime (like the tagline).
   ========================================================================== */

@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-narrow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo Narrow"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-narrow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/courier-prime-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/courier-prime-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #121827;
  --ink-2: #1B2236;
  --paper: #FAFBFC;
  --paper-2: #F2F4F8;
  --tint: #EEF1F8;
  --tint-green: #E7F1EC;
  --rule: #D6DBE5;
  --rule-strong: #B9C1D0;
  --slate: #404A5A;
  --slate-2: #6B7588;
  --blue: #364EAF;
  --blue-hover: #2C4094;
  --green: #387961;
  --red: #9B2C2C;
  --on-dark: #FFFFFF;
  --brand-bg: #364EAF;   /* Dynamic Aminos blue: used for every dark band (Jeff, 2026-10-29) */
  --brand-bg-2: #2C4094;
  --on-dark-blue: #FFFFFF;
  --on-dark-green: #C9EEDC;
  --on-dark-slate: #DCE3F5;

  --display: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --max: 1120px;
  --gutter: 24px;
  --radius: 6px;
  --radius-card: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.gate-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brand-bg); color: #fff; padding: 10px 14px; border-radius: var(--radius); z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.005em; margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 62px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.lede { font-size: 19px; line-height: 1.55; color: var(--slate); max-width: 58ch; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 14px;
}
.mono { font-family: var(--mono); }
.muted { color: var(--slate-2); }
.small { font-size: 14px; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; border-top: 1px solid var(--rule); }
.section.flush { border-top: 0; }
.ledger { display: grid; grid-template-columns: 200px 1fr; gap: 32px 48px; align-items: start; }
.ledger > .eyebrow { margin: 6px 0 0; }
@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 56px 0; }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 20px; border-radius: var(--radius); border: 1.5px solid var(--blue);
  background: var(--blue); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--blue); border-color: transparent; padding-left: 6px; padding-right: 6px; }
.btn.ghost:hover { color: var(--blue-hover); background: transparent; }
.btn.on-dark { background: #fff; color: var(--ink); border-color: #fff; }
.btn.on-dark:hover { background: var(--on-dark-slate); border-color: var(--on-dark-slate); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.small { padding: 10px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250,251,252,.92);
  backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav a.active { color: var(--blue); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 8px 10px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 0 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px var(--gutter); border-top: 1px solid var(--rule); }
  .nav .btn { margin: 12px var(--gutter) 0; border-top: 0; }
}

/* ---------- RUO ribbon ---------- */
.ruo-bar { background: var(--brand-bg-2); color: var(--on-dark-slate); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ruo-bar .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 32px; align-items: center; }
.ruo-bar .right { color: var(--on-dark-green); }
@media (max-width: 640px) { .ruo-bar .right, .ruo-bar .hide-m { display: none; } .ruo-bar { font-size: 11px; } }

/* ---------- hero ---------- */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; }
.hero h1 { margin: 0 0 20px; max-width: 21ch; }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--slate-2); max-width: 52ch; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .hero { padding: 44px 0 56px; } }

/* ---------- certificate card (signature) ---------- */
.cert {
  position: relative; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius-card);
  padding: 22px 24px 20px; box-shadow: 0 18px 40px -24px rgba(18,24,39,.45);
}
.cert.reveal { animation: cert-in .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cert-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cert-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.cert-head .id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.cert-head .mark { width: 36px; height: 36px; flex: none; }
.cert-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: .01em; }
.cert-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: 6px; }
.cert-lot { text-align: right; white-space: nowrap; flex: none; }
.cert-lot .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); }
.cert-lot .v { font-family: var(--mono); font-weight: 700; font-size: 20px; letter-spacing: .04em; margin-top: 4px; }
.cert-product { padding: 14px 0 10px; border-bottom: 1px solid var(--rule); }
.cert-product .name { font-weight: 600; font-size: 17px; }
.cert-product .meta { font-family: var(--mono); font-size: 13px; color: var(--slate); margin-top: 4px; }
.cert-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.cert-table th, .cert-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cert-table th { font-weight: 500; color: var(--slate); width: 40%; padding-right: 10px; }
.cert-table td { font-family: var(--mono); font-size: 13.5px; }
.cert-table td .spec { color: var(--slate-2); }
.cert-table tr:last-child th, .cert-table tr:last-child td { border-bottom: 0; }
.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink); font-size: 12px; color: var(--slate-2); }
.stamp {
  font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); border: 2px solid var(--green); border-radius: 8px; padding: 7px 10px; line-height: 1.15; text-align: center;
  transform: rotate(-5deg); transform-origin: center; background: rgba(56,121,97,.06); white-space: nowrap;
}
.pass { color: var(--green); font-weight: 700; }
.specimen {
  position: absolute; top: -13px; right: 22px; background: var(--paper); border: 1px solid var(--rule-strong); color: var(--slate);
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
@media (max-width: 480px) {
  .cert { padding: 18px 16px 16px; }
  .cert-head { flex-direction: column; }
  .cert-lot { text-align: left; }
  .cert-table th { width: 50%; }
  .cert-foot { flex-direction: column; align-items: flex-start; }
  .stamp { transform: none; }
}

/* ---------- facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.fact { padding: 26px 28px 26px 0; border-right: 1px solid var(--rule); }
.fact + .fact { padding-left: 28px; }
.fact:last-child { border-right: 0; }
.fact .eyebrow { margin-bottom: 8px; }
.fact p { margin: 0; color: var(--slate); font-size: 15px; }
.fact strong { display: block; font-family: var(--display); font-size: 22px; margin-bottom: 6px; color: var(--ink); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .fact:last-child { border-bottom: 0; }
}

/* ---------- catalog table (rows are drawn by site.js from the generated data.js) ---------- */
.catalog { width: 100%; border-collapse: collapse; font-size: 15px; }
.catalog th { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); font-weight: 400; text-align: left; white-space: nowrap; padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.catalog td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.catalog td.name { font-weight: 600; }
.catalog td.name small { display: block; font-weight: 400; color: var(--slate-2); font-size: 13px; margin-top: 2px; overflow-wrap: anywhere; }
.catalog td.name small.coa-link { margin-top: 6px; }
.catalog td.name small.contents { margin-top: 6px; color: var(--slate); }
.catalog td.name small.coa-link.pending { color: var(--slate-2); }
.catalog td.name small.prod-ruo { margin-top: 6px; font-style: italic; }
.catalog a.thumb-link { flex: none; display: block; text-align: center; font-size: 11px; font-weight: 400; color: var(--slate-2); text-decoration: none; }
.catalog a.thumb-link:hover { color: var(--blue); }
.catalog a.thumb-link span { display: block; margin-top: 4px; font-family: var(--mono); letter-spacing: .06em; }

/* ---------- COA index on /coa ---------- */
.table-scroll { overflow-x: auto; }
.coa-index { width: 100%; border-collapse: collapse; font-size: 15px; }
.coa-index th { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); font-weight: 400; text-align: left; white-space: nowrap; padding: 0 12px 12px 0; border-bottom: 1px solid var(--ink); }
.coa-index td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.coa-index td.mono { font-family: var(--mono); font-size: 14px; color: var(--slate); white-space: nowrap; }
.coa-index .pending, .coa-index .stale { color: var(--slate-2); font-style: italic; }
.coa-index .stale { color: var(--red); }
@media (max-width: 760px) {
  .coa-index thead { display: none; }
  .coa-index, .coa-index tbody, .coa-index tr, .coa-index td { display: block; width: 100%; }
  .coa-index tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .coa-index td { padding: 2px 0; border: 0; }
  .coa-index td[data-label]::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
}

/* ---------- contact page ---------- */
.contact-big { font-family: var(--display); font-size: 24px; color: var(--ink); margin: 0 0 6px; overflow-wrap: anywhere; }
.contact-big a { color: inherit; text-decoration: none; }
.catalog .prod { display: flex; gap: 16px; align-items: flex-start; }
.catalog .prod > div { min-width: 0; }
.catalog .pname { display: block; }
.catalog .thumb { width: 64px; height: 100px; flex: none; object-fit: contain; padding: 5px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); }
.catalog .thumb.none { display: block; background: var(--paper-2); }
.catalog td.data { font-family: var(--mono); font-size: 14px; color: var(--slate); white-space: nowrap; }
.catalog td.data .l { display: block; }
.catalog td.sizes { white-space: nowrap; }
.variants { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; color: var(--slate); }
.variants li { display: grid; grid-template-columns: 6.5ch 7.5ch auto; column-gap: 10px; align-items: baseline; }
.variants li + li { margin-top: 4px; }
.variants .price { color: var(--ink); font-weight: 700; text-align: right; }
.variants .sku { color: var(--slate-2); font-size: 12px; }
.catalog td.act { text-align: right; padding-right: 0; white-space: nowrap; }
.catalog td.empty { color: var(--slate); padding: 28px 0; }
.catalog tr:hover td, .catalog tr:target td { background: var(--paper-2); }
.catalog tr[id] { scroll-margin-top: 96px; }   /* /catalog#p-<handle> lands below the sticky header */
.tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); border-radius: 4px; padding: 2px 6px; }
@media (max-width: 760px) {
  .catalog thead { display: none; }
  .catalog, .catalog tbody, .catalog tr, .catalog td { display: block; width: 100%; }
  .catalog tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .catalog tr:hover td, .catalog tr:target td { background: transparent; }
  .catalog td { padding: 3px 0; border: 0; white-space: normal; }
  .catalog td.name { padding-bottom: 8px; }
  .catalog td.data { white-space: normal; }
  .catalog td.data::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); }
  .catalog td.data .l { display: inline; }
  .catalog td.data .l + .l::before { content: " · "; }
  .catalog td.sizes { padding-top: 8px; }
  .catalog td.act { text-align: left; padding-top: 10px; }
}
.catalog-note { margin-top: 18px; font-size: 14px; color: var(--slate-2); max-width: 70ch; }

/* ---------- lot lookup ---------- */
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; max-width: 560px; }
.lookup input {
  width: 100%; font-family: var(--mono); font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.lookup input::placeholder { text-transform: none; letter-spacing: 0; color: var(--slate-2); font-family: var(--body); font-size: 15px; }
@media (max-width: 480px) { .lookup { grid-template-columns: 1fr; } }
.lookup-help { margin-top: 12px; font-size: 14px; color: var(--slate-2); }
.lookup-help code { font-family: var(--mono); color: var(--slate); }
.result { margin-top: 32px; }
.result .cert { max-width: 680px; }
.notice { border: 1px solid var(--rule-strong); border-left: 4px solid var(--red); background: #fff; border-radius: var(--radius); padding: 18px 20px; max-width: 640px; }
.notice.ok { border-left-color: var(--green); }
.notice.info { border-left-color: var(--blue); }
.notice h3 { font-size: 20px; margin-bottom: 8px; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- comparison ledger ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); font-weight: 400; border-bottom: 1px solid var(--ink); padding-top: 0; padding-bottom: 12px; }
.compare thead th.us { color: var(--ink); }
.compare tbody th { font-weight: 600; width: 24%; color: var(--ink); }
.compare td.us { color: var(--ink); }
.compare td.them { color: var(--slate-2); }
.compare td.us::before { content: "✓  "; color: var(--green); font-weight: 700; }
@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .compare tbody th { padding: 0 0 6px; border: 0; width: auto; }
  .compare td { padding: 2px 0; border: 0; }
  .compare td.them::before { content: "✕  "; color: var(--slate-2); }
}

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--blue); flex: none; width: 24px; text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--slate); max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.band { background: var(--brand-bg); color: #fff; padding: 64px 0; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.band h2 { color: #fff; max-width: 16ch; }
.band p { color: var(--on-dark-slate); max-width: 56ch; margin: 12px 0 0; }
.band .eyebrow { color: var(--on-dark-green); }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-bg-2); color: var(--on-dark-slate); padding: 56px 0 32px; font-size: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--on-dark-blue); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-grid img { height: 46px; width: auto; margin-bottom: 18px; }
.foot-grid h4 { color: #fff; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-ruo { color: var(--on-dark-slate); max-width: 48ch; margin: 0; }
.foot-disclaimer { margin: 0; padding-top: 20px; font-size: 13px; color: var(--on-dark-slate); }
.foot-address { margin: 0; padding-top: 20px; font-size: 13px; color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 13px; color: var(--on-dark-slate); }
.foot-legal .mono { letter-spacing: .08em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- page headers (inner pages) ---------- */
.page-head { padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.page-head .lede { margin-bottom: 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--slate); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .bracket { color: var(--red); font-family: var(--mono); font-size: 14px; }
.draft-banner { background: var(--tint); border: 1px solid var(--rule-strong); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 32px; font-size: 14px; color: var(--slate); max-width: 720px; }
.draft-banner strong { color: var(--ink); }

/* ---------- forms ---------- */
.form { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field .hint { font-size: 13px; color: var(--slate-2); margin-top: 6px; }
.field .hint.warn { color: var(--red); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(54,78,175,.15); }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23404A5A' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.check strong { color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; }
fieldset legend { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); padding: 0; margin: 8px 0 16px; border-bottom: 1px solid var(--ink); width: 100%; padding-bottom: 8px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.form-actions .small { color: var(--slate-2); }
.hidden { display: none !important; }

/* ---------- researcher gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; background: rgba(18,24,39,.88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate-panel { background: var(--paper); border-radius: var(--radius-card); border: 3px solid var(--ink); max-width: 560px; width: 100%; padding: 30px 32px 28px; max-height: calc(100vh - 40px); overflow: auto; }
.gate-panel img { height: 52px; width: auto; margin-bottom: 22px; }
.gate-panel h2 { font-size: 34px; margin-bottom: 12px; }
.gate-panel p { color: var(--slate); }
.gate-panel .check { margin-top: 14px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
/* step indicator and log in / register (gate step 2) */
.gate [hidden], .nav [hidden] { display: none !important; }
.gate-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.gate-steps .bar { width: 28px; height: 4px; border-radius: 2px; background: var(--rule-strong); }
.gate-steps .bar.on { background: var(--blue); }
.gate-steps .lbl { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--tint); border-radius: var(--radius); margin-bottom: 22px; }
.auth-tabs button { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--slate); background: transparent; border: 0; border-radius: 4px; padding: 10px 12px; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(18,24,39,.12); }
.auth-pane h2 { font-size: 28px; margin-bottom: 6px; }
.auth-pane > p { margin: 0 0 18px; }
.auth-pane .field { margin-bottom: 16px; }
.auth-pane .field label { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.auth-pane input[type="password"] { width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--rule-strong); border-radius: var(--radius); padding: 12px 14px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; }
.auth-row .check { margin-top: 0; font-size: 14px; }
.auth-row a { font-size: 14px; font-weight: 600; }
.auth-pane .check { margin: 4px 0 18px; font-size: 14px; }
.auth-submit { width: 100%; justify-content: center; }
.auth-error { color: var(--red); font-size: 14px; margin: 0 0 14px; }
.auth-switch { text-align: center; font-size: 14px; margin: 16px 0 0; }
.gate-actions .exit { font-size: 14px; color: var(--slate-2); text-decoration: underline; background: none; border: 0; cursor: pointer; font-family: var(--body); padding: 8px 4px; }
@media (max-width: 480px) { .gate-panel { padding: 24px 20px; } .gate-panel h2 { font-size: 28px; } }

/* ---------- misc ---------- */
.scroll-reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.scroll-reveal.in { opacity: 1; transform: none; }
.rule-top { border-top: 1px solid var(--ink); padding-top: 24px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cert.reveal { animation: none; }
  .scroll-reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---------- print (certificates) ---------- */
@media print {
  .site-header, .ruo-bar, .site-footer, .band, .lookup, .lookup-help, .no-print, .gate { display: none !important; }
  body { background: #fff; }
  .cert { box-shadow: none; border-width: 2px; break-inside: avoid; }
  .cert.reveal { animation: none; }
  .section { border: 0; padding: 0; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- product cards (catalog + home; drawn by site.js) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pgrid .empty { color: var(--slate); grid-column: 1 / -1; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; scroll-margin-top: 96px; transition: border-color .15s ease, box-shadow .15s ease; }
.pcard:hover, .pcard:target { border-color: var(--rule-strong); box-shadow: 0 8px 24px rgba(18, 24, 39, .08); }
.pcard-img { height: 280px; display: flex; align-items: center; justify-content: center; padding: 28px; border-bottom: 1px solid var(--rule); }
.pimg { max-height: 100%; width: auto; object-fit: contain; }
.pimg.none { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--slate-2); }
.pcard-body { flex: 1; padding: 22px 22px 18px; }
.pfmt { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-2); margin: 0 0 8px; }
.pcard .pname { font-size: 27px; line-height: 1.12; margin: 0 0 16px; }
.pcard .pname a { color: var(--ink); text-decoration: none; }
.pcard .pname a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* whole card opens the product page */
.pcard .pname a:focus-visible { outline: 0; }
.pcard:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { font-family: var(--mono); font-size: 14px; line-height: 1; padding: 9px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.psize { font-family: var(--mono); font-size: 14px; margin: 0 0 14px; padding: 8px 0; }
.pmeta { font-family: var(--mono); font-size: 13px; color: var(--slate-2); margin: 0; }
.pcard-foot { padding: 18px 22px 22px; border-top: 1px solid var(--rule); }
.pprice { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; margin: 0 0 16px; }
.pcard-foot .btn { position: relative; z-index: 2; width: 100%; }
@media (max-width: 520px) { .pcard-img { height: 230px; } }

/* ---------- product page ---------- */
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--slate-2); margin: 0 0 28px; }
.crumbs a { color: var(--slate); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .pdp-grid { grid-template-columns: 1fr; gap: 32px; } }
.pdp-photo { height: 440px; display: flex; align-items: center; justify-content: center; padding: 36px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; }
@media (max-width: 520px) { .pdp-photo { height: 320px; } }
.pdp-3d { margin: 20px 0 0; background: #fff; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.pdp-3d .mol { position: relative; width: 100%; height: 400px; }
.mol-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; font-family: var(--mono); font-size: 13px; color: var(--slate-2); }
.pdp-3d figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; color: var(--slate-2); }
.pdp-3d figcaption .chip { font-size: 12px; padding: 7px 10px; }
.pdp-info h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.04; margin: 0 0 20px; }
.pdp-info .pmeta { margin-bottom: 18px; }
.pdp-info .pprice { font-size: 40px; margin-bottom: 18px; }
.pdp-info h2 { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate-2); margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.pdp-desc { min-height: 24px; color: var(--slate); margin-bottom: 8px; }
.pdp-desc p { margin: 0 0 12px; }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; font-size: 15px; }
.specs dt, .specs dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--slate); padding-right: 28px; }
.specs dd { margin: 0; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.specs code { font-family: var(--mono); }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 0; } }
.smiles { margin-top: 16px; font-size: 14px; color: var(--slate); }
.smiles summary { cursor: pointer; font-family: var(--mono); font-size: 13px; }
.smiles code { display: block; margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; color: var(--slate-2); }

/* ---------- home page top: dark banner with the KLOW certificate (left) and the KLOW 3D model, headline and buttons ---------- */
.showcase { background: var(--brand-bg); color: #fff; padding: 56px 0 64px; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: stretch; }
/* the certificate stretches down to meet the bottom of the 3D window */
.showcase-coa { display: flex; flex-direction: column; }
.showcase-coa .cert { flex: 1; display: flex; flex-direction: column; }
.showcase-coa .cert-foot { margin-top: auto; }
.showcase-coa .cert-table { margin-bottom: 14px; }
.showcase .eyebrow { color: var(--on-dark-slate); }
.showcase .cert { color: var(--ink); }
.showcase h1 { color: #fff; margin: 0 0 18px; max-width: 20ch; }
.showcase .lede { color: var(--on-dark-slate); margin: 0 0 24px; }
.showcase-3d { margin: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-card); overflow: hidden; }
.showcase-mol { position: relative; width: 100%; height: 300px; }
.showcase-mol .mol-msg { color: var(--on-dark-slate); }
.showcase-3d figcaption { padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--on-dark-slate); }
.showcase-cta { text-align: center; margin-top: 44px; }
.showcase-btns { justify-content: center; gap: 18px; }
.showcase-cta .hero-note { margin: 22px auto 0; max-width: 64ch; }
.showcase-cta .hero-note a { white-space: nowrap; }
/* on the blue banner the main button is white so it doesn't disappear into the background */
.showcase-btns .btn:not(.on-dark-outline) { background: #fff; color: var(--brand-bg); border-color: #fff; }
.showcase-btns .btn:not(.on-dark-outline):hover { background: var(--tint); border-color: var(--tint); color: var(--brand-bg-2); }
.showcase-btns .btn { min-width: 250px; border-radius: 999px; padding: 19px 36px; font-size: 18px; }
.showcase .hero-note { color: var(--on-dark-slate); }
.showcase .hero-note a { color: #fff; }
.btn.on-dark-outline { background: transparent; color: #fff; border-color: #fff; }
.btn.on-dark-outline:hover { background: #fff; color: var(--brand-bg); border-color: #fff; }
@media (max-width: 960px) { .showcase-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .showcase { padding: 36px 0 44px; } .showcase-mol { height: 300px; } .showcase-btns .btn { min-width: 0; flex: 1 1 100%; } }

/* ---------- header: menu on the left, account and cart on the right ---------- */
.site-header .wrap { justify-content: flex-start; }
.site-header .nav { margin-left: 28px; }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.head-tools a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.head-tools a:hover { color: var(--blue); }
.head-tools a[hidden] { display: none; }
.head-account span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .site-header .nav { margin-left: 0; }
  .head-tools { gap: 16px; }
  .head-tools .nav-toggle { order: 3; }
}
@media (max-width: 480px) { .head-account span { display: none; } }

/* ---------- home page badges ---------- */
.badges { border-bottom: 1px solid var(--rule); background: #fff; }
.badges-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.badge-item { display: flex; align-items: center; gap: 16px; }
.badge-ico { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.badge-item strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.badge-item span:not(.badge-ico) { display: block; font-size: 15px; color: var(--slate); }
@media (max-width: 760px) { .badges-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- footer: brand + address, then Shop / Company / Legal ---------- */
.site-footer .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.foot-tag { color: #fff; font-size: 16px; margin: 0 0 22px; }
.foot-h { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { flex: none; margin-top: 3px; color: var(--on-dark-slate); }
.foot-contact a { text-decoration: underline; text-underline-offset: 3px; color: var(--on-dark-blue); }
.foot-grid ul:not(.foot-contact) a { font-size: 15px; }
.foot-grid h4 { font-size: 12px; letter-spacing: .22em; }
.foot-disclaimer strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .site-footer .foot-grid { grid-template-columns: 1fr 1fr; } .site-footer .foot-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }

/* layer over 3D viewers: page scrolls through it; click hands control to the viewer (site.js calmViewer) */
.mol-shield { position: absolute; inset: 0; z-index: 5; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.mol-shield[hidden] { display: none; }
.mol-shield span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(18, 24, 39, .72); color: #fff; opacity: 0; transition: opacity .2s ease; }
.mol-shield:hover span, .mol-shield:focus span { opacity: 1; }
@media (hover: none) { .mol-shield span { opacity: 1; } }

/* layer over 3D viewers: page scrolls through it; click hands control to the viewer (site.js calmViewer) */
.mol-shield { position: absolute; inset: 0; z-index: 5; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.mol-shield[hidden] { display: none; }
.mol-shield span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(18, 24, 39, .72); color: #fff; opacity: 0; transition: opacity .2s ease; }
.mol-shield:hover span, .mol-shield:focus span { opacity: 1; }
@media (hover: none) { .mol-shield span { opacity: 1; } }

/* ---------- home: KLOW 3D model in the hero, certificate beside the lot lookup ---------- */
.hero-3d { margin: 0; }
.hero-mol { position: relative; width: 100%; height: 480px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-card); overflow: hidden; }
.hero-3d figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--slate-2); text-align: center; }
@media (max-width: 600px) { .hero-mol { height: 360px; } }
.verify-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.verify-grid h2 { margin-top: 8px; }
@media (max-width: 960px) { .verify-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- home page: light hero (text left, KLOW certificate right), then the KLOW 3D model in a blue panel ---------- */
.molview { padding: 0 0 64px; }
.molview .showcase-3d { border-color: var(--rule); }
.molview .showcase-mol { height: 380px; }
.molview .showcase-3d figcaption { background: var(--brand-bg); color: #fff; border-top-color: rgba(255, 255, 255, .3); }
.molview .showcase-mol .mol-msg { color: #fff; }
@media (max-width: 600px) { .molview { padding-bottom: 44px; } .molview .showcase-mol { height: 300px; } }
.hero-note a { white-space: nowrap; }
.hero { padding-top: 48px; }
.hero .btn-row .btn { padding: 17px 24px; font-size: 16px; }
.moa-src { font-size: 13px; color: var(--slate-2); }

/* ---------- WordPress / WooCommerce pages (cart, checkout, My Account) ---------- */
.da-content { max-width: 1100px; }
.da-content > * + * { margin-top: 1em; }
.head-cart { position: relative; }
.cart-count { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand-bg, #364EAF); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 1.5px solid #c9cfdc; border-radius: 8px; padding: 10px 12px; font: inherit; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .wc-block-components-button:not(.is-link) { background: var(--brand-bg, #364EAF) !important; color: #fff !important; border-radius: 8px !important; font-weight: 600; }
.woocommerce .button:hover, .wc-block-components-button:not(.is-link):hover { filter: brightness(1.08); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--brand-bg, #364EAF); }
.woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 { width: auto; float: none; }
.da-account-intro { margin-bottom: 28px; }
.woocommerce-privacy-policy-text, .da-reg-note { font-size: 14px; color: #5b6475; }

/* ==========================================================================
   1.6.0 premium layer (Jeff approved ideas 2, 3, 4, 5, 7, 8, 9 on 2026-11-30)
   2: typewriter font only on certificates and lot numbers
   3: depth and finish (shadows, rounded corners, deeper navy bar + footer)
   4: catalog cards   5: catalog search + filters   7: header
   8: featured row on home   9: FAQ cards + closing call to action
   Remove this block to go back to the 1.5 look.
   ========================================================================== */
:root {
  --navy: #0E1838;
  --ice: #F3F6FC;
  --ice-2: #E9EEF8;
  --line-soft: rgba(14, 24, 56, .09);
  --shadow-sm: 0 1px 2px rgba(14, 24, 56, .06), 0 2px 8px rgba(14, 24, 56, .05);
  --shadow-md: 0 2px 4px rgba(14, 24, 56, .05), 0 18px 40px -18px rgba(14, 24, 56, .28);
  --radius: 999px;          /* buttons become pills */
  --radius-card: 18px;
  --label: var(--body);
}
body { background: #fff; }

/* 2. labels in the body font; Courier stays on .cert*, lot numbers, the lot lookup and SMILES */
.ruo-bar, .eyebrow, .pfmt, .chip, .psize, .pmeta, .crumbs, .foot-grid h4, fieldset legend, .gate-steps .lbl,
.auth-pane .field label, .pimg.none, .mol-msg, .pdp-3d figcaption, .pdp-info h2, .showcase-3d figcaption,
.mol-shield span, .hero-3d figcaption, .catalog th, .coa-index th, .compare thead th, .tag, .faq summary::after,
.specs dd, .catalog td.data, .variants, .prose .bracket {
  font-family: var(--label);
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--blue); }
.catalog th, .coa-index th, .compare thead th, .foot-grid h4, fieldset legend, .gate-steps .lbl, .auth-pane .field label, .pdp-info h2 {
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
}
.pdp-info h2 { color: var(--navy); }
.specs dd { font-size: 15px; font-variant-numeric: tabular-nums; }
.coa-index td.mono, .lookup input, .smiles code, .specs code { font-family: var(--mono); }

/* 3. depth and finish */
.ruo-bar { background: var(--navy); color: #C9D3F0; font-size: 12.5px; letter-spacing: .03em; text-transform: none; }
.ruo-bar .wrap { min-height: 36px; }
.ruo-bar .right { color: #C9D3F0; }
.site-footer { background: var(--navy); }
.btn { padding: 15px 24px; }
.btn.small { padding: 10px 16px; }
.btn.secondary { background: #fff; border-color: rgba(14, 24, 56, .2); color: var(--navy); }
.btn.secondary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.section { border-top: 0; }
.page-head { background: linear-gradient(180deg, #F6F8FD, #EEF2FB); border-bottom: 1px solid var(--line-soft); }
.badges { border-bottom: 1px solid var(--line-soft); }
.badge-ico { border-radius: 14px; background: var(--ice-2); }
.facts { border: 0; gap: 18px; }
.fact, .fact + .fact { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-card); padding: 28px; box-shadow: var(--shadow-sm); }
.cert { border-width: 1px; border-color: rgba(14, 24, 56, .16); box-shadow: var(--shadow-md); }
.gate-panel { border: 0; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(14, 24, 56, .55); }
.pdp-photo, .pdp-3d { border-color: var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.pdp-photo { background: linear-gradient(180deg, #F4F6FB, #E9EEF8); }
.pdp-photo .pimg { mix-blend-mode: multiply; }
.notice { border-radius: 14px; }
input, select, textarea { border-radius: 10px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.wc-block-components-button:not(.is-link) { border-radius: 999px !important; }

/* 7. header: bigger mark, nav in a soft pill, Shop catalog button */
.site-header { background: rgba(255, 255, 255, .88); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { height: 84px; }
.brand img { height: 52px; }
.nav { gap: 4px; background: var(--ice); padding: 5px; border-radius: 999px; }
.nav a { padding: 9px 18px; border-radius: 999px; font-size: 14.5px; color: #33405F; }
.nav a:hover, .nav a.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.head-tools { display: flex; align-items: center; gap: 18px; }
.head-tools a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 14.5px; }
.head-shop { background: var(--blue); color: #fff !important; padding: 11px 20px; border-radius: 999px; font-weight: 600 !important; box-shadow: 0 6px 16px -6px rgba(54, 78, 175, .6); white-space: nowrap; }
.head-shop:hover { background: var(--blue-hover); }
.nav-toggle { border-radius: 999px; border-color: rgba(14, 24, 56, .2); padding: 8px 14px; }
@media (max-width: 1020px) { .head-tools .head-shop { display: none; } }
@media (max-width: 860px) {
  .site-header .wrap { height: 68px; }
  .brand img { height: 42px; }
  .nav { top: 68px; background: #fff; border-radius: 0; padding: 8px 0 16px; gap: 0; box-shadow: var(--shadow-md); }
  .nav a { border-radius: 0; padding: 14px var(--gutter); }
  .nav a:hover, .nav a.active { box-shadow: none; background: var(--ice); }
}

/* 4. product cards */
.pgrid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pcard { border: 1px solid var(--line-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pcard:hover, .pcard:target { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(54, 78, 175, .25); }
.pcard-img { position: relative; height: 290px; margin: 8px 8px 0; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #F4F6FB 0%, #E9EEF8 100%); }
.pcard-img .pimg { height: 100%; max-height: none; mix-blend-mode: multiply; transform: scale(1.3) translateY(4%); transition: transform .35s ease; }
.pcard:hover .pcard-img .pimg { transform: scale(1.36) translateY(3%); }
.pbadges { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; gap: 6px; pointer-events: none; }
.pbadge { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #33405F; background: #fff; border-radius: 999px; padding: 4px 9px; box-shadow: var(--shadow-sm); }
.pbadge.coa { color: var(--green); font-weight: 700; letter-spacing: .06em; }
.pbadge:only-child { margin-left: auto; }
.pcard .pfmt, .pcard .pmeta { display: none; }
.pcard-body { padding: 16px 20px 4px; }
.pcard .pname { font-size: 24px; margin: 0 0 10px; }
.pcard .psize { font-size: 14px; color: var(--slate); margin: 0 0 6px; padding: 4px 0; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; border-color: rgba(14, 24, 56, .15); color: #33405F; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.chips { margin: 0 0 6px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 0; padding: 12px 20px 20px; }
.pcard-foot .pprice { margin: 0; font-size: 26px; color: var(--navy); }
.pcard-foot .btn { width: auto; padding: 11px 18px; font-size: 14px; }
@media (max-width: 520px) { .pcard-img { height: 260px; } }

/* 5. catalog search + filters */
.ctools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 26px; }
.csearch { position: relative; flex: 1 1 320px; max-width: 440px; }
.csearch svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-2); pointer-events: none; }
.csearch input { width: 100%; font: 15px var(--body); padding: 13px 18px 13px 44px; border: 1px solid rgba(14, 24, 56, .16); border-radius: 999px; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.csearch input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.cfilters { display: flex; flex-wrap: wrap; gap: 8px; }
.cfilters button { font: 500 14px var(--body); padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(14, 24, 56, .14); color: #33405F; cursor: pointer; }
.cfilters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ccount { font-size: 14px; color: var(--slate-2); margin: 0 0 16px; }
.pcard[hidden] { display: none; }
.cempty { grid-column: 1 / -1; padding: 40px 0; color: var(--slate); }

/* 8. featured row on the home page */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head h2 { max-width: 22ch; }
.sec-head a { font-weight: 600; text-decoration: none; white-space: nowrap; }

/* 9. FAQ as cards + closing call to action */
.faq details, .faq details:first-of-type { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { padding: 20px 22px; }
.faq summary::after { width: 30px; height: 30px; border-radius: 50%; background: var(--ice); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.faq .answer { padding: 0 22px 22px; }
.cta-panel { padding: 8px 0 88px; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; border-radius: 24px; padding: 52px 56px; color: #fff;
  background: radial-gradient(700px 300px at 85% 10%, #5A72D9 0%, rgba(90, 114, 217, 0) 70%), var(--blue); }
.cta-box h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); max-width: 18ch; }
.cta-box p { color: #DCE3F5; margin: 12px 0 0; max-width: 52ch; }
.cta-box .btn { background: #fff; border-color: #fff; color: var(--navy); }
.cta-box .btn:hover { background: var(--ice-2); border-color: var(--ice-2); color: var(--navy); }
@media (max-width: 760px) { .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 28px; } }

@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard-img .pimg { transition: none; }
  .pcard:hover { transform: none; }
}

/* ==========================================================================
   1.6.1: ideas 1 (product-led hero) and 6 (numbers strip + lot steps), Jeff 2026-11-30
   ========================================================================== */
.phero { position: relative; overflow: hidden; padding: 40px 0 48px; border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(900px 500px at 78% 30%, #DCE4FA 0%, rgba(220, 228, 250, 0) 60%), linear-gradient(180deg, #F6F8FD 0%, #EEF2FB 100%); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(54, 78, 175, .18); color: var(--blue);
  font-size: 13px; font-weight: 600; padding: 7px 14px 7px 8px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.kicker b { background: var(--blue); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.phero h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: .98; margin: 0 0 22px; letter-spacing: -.02em; color: var(--navy); }
.phero h1 em { font-style: normal; color: var(--blue); }
.phero .lede { font-size: 19px; color: #45526E; margin-bottom: 30px; max-width: 48ch; }
.phero .btn-row .btn { padding: 17px 26px; font-size: 16px; }
.hero-proof { display: flex; gap: 10px 22px; margin-top: 28px; flex-wrap: wrap; color: #45526E; font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { color: var(--green); flex: none; }
.phero .hero-note { margin-top: 16px; }
.stage { position: relative; height: 720px; }
.stage .vials { position: absolute; left: -6%; top: 50px; width: 80%; height: 600px; }
.stage .vials img { position: absolute; mix-blend-mode: multiply; }
.stage .v1 { width: 58%; left: -12%; top: 236px; }
.stage .v2 { width: 100%; left: 10%; top: 60px; z-index: 2; }
.stage .floor { position: absolute; left: 0; right: -10%; top: 462px; height: 34px; border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 24, 56, .22), rgba(14, 24, 56, 0)); z-index: 1; }
.stage .hero-coa { position: absolute; right: -10px; top: 150px; width: 400px; z-index: 3; transform: scale(.76) rotate(1.5deg); transform-origin: top right; }
.stage .hero-coa .cert { box-shadow: 0 30px 70px -30px rgba(14, 24, 56, .45); }
@media (max-width: 960px) { .phero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .phero { padding: 40px 0 56px; }
  .stage { height: auto; display: flex; flex-direction: column; gap: 12px; }
  .stage .vials { position: relative; left: 0; width: 100%; height: 300px; }
  .stage .v1 { width: 52%; top: 70px; left: 2%; }
  .stage .v2 { width: 66%; left: 28%; top: 0; }
  .stage .floor { display: none; }
  .stage .hero-coa { position: relative; width: 100%; right: auto; top: 0; transform: none; }
}

.stats { background: #fff; border-bottom: 1px solid var(--line-soft); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 28px; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.stat .n small { font-size: 22px; color: var(--blue); margin-left: 2px; }
.stat .l { margin-top: 8px; color: #5A6683; font-size: 14.5px; }
@media (max-width: 860px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 22px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat .n { font-size: 34px; }
}

.verify-steps { background: var(--ice); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius-card); padding: 30px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 20px; }
.step h3 { font-size: 24px; margin-bottom: 10px; color: var(--navy); }
.step p { color: #5A6683; margin: 0; }
.step .lotchip { display: inline-block; margin-top: 16px; font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: .06em; background: var(--ice); color: var(--navy); padding: 6px 10px; border-radius: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* 1.6.2 card bottom (mockup): name, size · SKU, price band, full-width Add to Cart bar */
.pcard .pmeta { display: block; }
.pcard-body { padding: 18px 22px 16px; }
.pcard .pname { font-size: 24px; margin: 0 0 6px; }
.pcard .pname a { color: var(--blue); }
.pcard .psize { display: none; }
.pcard .pmeta { font-family: var(--body); font-size: 14.5px; color: var(--slate); margin: 0; letter-spacing: 0; }
.pcard .chips { margin: 12px 0 0; }
.pcard-foot { display: block; padding: 0; border-top: 0; }
.pcard-foot .pprice { margin: 0; padding: 12px 22px; background: #8FA2E8; color: var(--navy); font-size: 28px; line-height: 1.1; }
.pcard-foot .btn { display: flex; width: 100%; border-radius: 0; padding: 16px 22px; gap: 10px; background: var(--blue-hover); border-color: var(--blue-hover);
  text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 700; }
.pcard-foot .btn:hover { background: var(--navy); border-color: var(--navy); }
.pcard-foot .btn svg { flex: none; }
.pcard-body { display: flex; flex-direction: column; }
.pcard-body .pname { order: 0; }
.pcard-body .pmeta { order: 1; }
.pcard-body .chips { order: 2; margin: 12px 0 0; }
/* Jeff picked combination A (Pale Ice band + Navy bar), 2026-11-30 */
.pcard .pname a { color: #0B2545; }
.pcard-foot .pprice { background: #DBEAFE; color: #0B2545; }
.pcard-foot .btn { background: #0B2545; border-color: #0B2545; }
.pcard-foot .btn:hover { background: #163A66; border-color: #163A66; color: #fff; }

/* 1.6.3 catalog sort menu */
.ctools { gap: 12px 16px; }
.cfilters { margin-right: auto; }
.csort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); }
.csort select { font: 500 14px var(--body); color: var(--navy); padding: 10px 38px 10px 16px; border: 1px solid rgba(14, 24, 56, .16); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230B2545' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; -webkit-appearance: none; appearance: none; cursor: pointer; box-shadow: var(--shadow-sm); }
.csort select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
