/* Ignyte Labs
   Flat and dark. Near-black ground, white type, one flame orange.
   Manrope throughout, per the brand kit: ExtraBold for headlines, regular weights for text and the vial labels. */

:root {
  color-scheme: dark;
  --ground: #0A0908;
  --paper: #151311;     /* panels, cards, form fields */
  --ink: #F5F3F0;
  --char: #F5F3F0;      /* strong lines, outline buttons, selected controls */
  --on-char: #171412;
  --deep: #050505;      /* footer, feature bands */
  --on-deep: #F5F3F0;
  --well: #000000;      /* box tray */
  --flame: #F97316;
  --flame-hover: #FB923C;
  --on-flame: #171412;
  --slate: #A8A099;
  --line: #2B2623;
  --tint: #221E1B;
  --danger: #FF7B6B;
  --note-bg: #3A2418;

  --display: "Manrope", system-ui, sans-serif;
  --text: "Manrope", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3rem, 7vw, 6rem);
  --r-panel: 6px;
  --r-field: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--char); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--flame); }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.dark { background: var(--deep); color: var(--on-deep); }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1, .display { font-size: clamp(2.6rem, 7.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.page-title { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 34em; line-height: 1.45; }
.prose > * + * { margin-top: 1em; }
.prose { max-width: 38em; }
.muted { color: var(--slate); }
.dark .muted { color: #C4BDB7; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-head { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { margin-top: 1rem; }

/* ---------- buttons and fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: .6rem 1.4rem;
  border: 2px solid var(--flame); border-radius: 999px;
  background: var(--flame); color: var(--on-flame);
  font-weight: 700; text-decoration: none; line-height: 1.1;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--flame-hover); border-color: var(--flame-hover); }
.btn-outline { background: transparent; border-color: var(--char); color: var(--char); }
.btn-outline:hover { background: var(--char); border-color: var(--char); color: var(--on-char); }
.btn-quiet { min-height: 2.75rem; padding: .4rem 1rem; background: transparent; border-color: var(--char); color: var(--char); border-width: 1.5px; font-size: .9375rem; }
.btn-quiet:hover { background: var(--char); border-color: var(--char); color: var(--on-char); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { font-weight: 700; }

label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; }
input[type=text], input[type=email], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 2.875rem; padding: .55rem .8rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-field);
}
input:hover, select:hover, textarea:hover { border-color: var(--slate); }
textarea { min-height: 9rem; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.field .hint { font-size: .875rem; color: var(--slate); margin-top: .3rem; }
.field .error { font-size: .875rem; color: var(--danger); font-weight: 600; margin-top: .3rem; }
.field [aria-invalid=true] { border-color: var(--danger); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: 1rem; padding-block: .6rem; cursor: pointer; }
.check input { width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; accent-color: var(--char); flex: none; }
.form-grid { display: grid; gap: 0 1.25rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.form-note { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--tint); border-radius: var(--r-panel); }

/* ---------- header ---------- */
.notice { background: var(--flame); color: var(--on-flame); font-weight: 600; text-align: center; font-size: .875rem; padding: .45rem var(--gutter); }
.site-header { background: var(--ground); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; white-space: nowrap; }
.logo b { font-weight: 400; }
.logo-mark { width: 1.75rem; height: 1.75rem; }
#nav { margin-left: auto; }
#nav ul { display: flex; gap: .25rem; }
#nav a { display: block; padding: .7rem .7rem; text-decoration: none; font-weight: 600; font-size: .9875rem; border-radius: var(--r-field); }
#nav a:hover { background: var(--tint); }
#nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--flame); border-radius: 0; }
.cart-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem .5rem .4rem 1rem; border: 1.5px solid var(--char); border-radius: 999px; text-decoration: none; font-weight: 700; }
.cart-count { min-width: 1.75rem; height: 1.75rem; padding-inline: .4rem; display: grid; place-items: center; border-radius: 999px; background: var(--flame); color: var(--on-flame); font-size: .875rem; }
.nav-toggle { display: none; margin-left: auto; min-height: 2.75rem; padding: .4rem 1rem; background: none; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; }

@media (max-width: 64rem) {
  .nav-toggle { display: block; }
  #nav { display: none; order: 5; width: 100%; margin: 0; padding-bottom: .75rem; }
  .nav-open #nav { display: block; }
  #nav ul { flex-direction: column; }
  #nav a { padding: .8rem .5rem; border-top: 1px solid var(--line); border-radius: 0; }
  .header-row { flex-wrap: wrap; gap: .75rem; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.footer-grid p { margin-top: .75rem; color: #C4BDB7; }
.footer-grid ul a { display: inline-block; padding-block: .35rem; text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; }
.footer-grid .legal { font-size: .875rem; line-height: 1.5; margin-top: 0; }
.copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #3A3531; font-size: .875rem; color: #C4BDB7; }

/* ---------- vial artwork ---------- */
.vial { width: 100%; height: 100%; }
.vial text { font-family: var(--display); }

/* ---------- product cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
.card { display: flex; flex-direction: column; align-items: flex-start; }
.card-media { display: block; width: 100%; aspect-ratio: 1; padding: 12%; background: var(--paper); border-radius: var(--r-panel); transition: background-color .2s; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card:hover .card-media { background: var(--tint); }
.card-cat { margin-top: .85rem; font-size: .875rem; color: var(--slate); display: flex; align-items: center; gap: .4rem; }
.card-cat::before { content: ""; width: .6rem; height: .6rem; border-radius: 2px; background: var(--c); }
.card-name { margin-top: .15rem; font-size: 1.1875rem; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; }
.card-price { margin-block: .15rem .8rem; font-weight: 600; }
.card .btn { margin-top: auto; }

/* ---------- home ---------- */
.home-hero { background: #FFF4EA; padding-block: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
@media (max-width: 54rem) { .hero-grid { grid-template-columns: 1fr; } }
.hero-sub { margin-top: 1rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; color: #C2410C; }
.home-hero .lede { margin-block: 1rem 1.75rem; }
.trust-row { padding-top: clamp(1.5rem, 4vw, 3rem); }

/* hero artwork: live fire behind three floating vials */
.hero-art { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1; margin-inline: auto; }
/* soft ember glow: three blurred pools of warm light that breathe slowly, plus a few rising embers */
.glow { position: absolute; border-radius: 50%; filter: blur(34px); animation: breathe 9s ease-in-out infinite alternate; will-change: transform, opacity; }
.g1 { left: 14%; top: 22%; width: 62%; height: 62%; background: #FDBA74; opacity: .55; }
.g2 { left: 40%; top: 10%; width: 46%; height: 50%; background: #FB923C; opacity: .3; animation-duration: 11s; animation-delay: -4s; }
.g3 { left: 26%; top: 48%; width: 50%; height: 40%; background: #FED7AA; opacity: .7; animation-duration: 7.5s; animation-delay: -2s; }
@keyframes breathe { from { transform: scale(.92) translateY(2%); } to { transform: scale(1.08) translateY(-3%); } }
.ember { position: absolute; left: var(--x); bottom: 24%; width: .3rem; height: .3rem; border-radius: 50%; background: #F97316; opacity: 0; animation: ember 7s ease-out infinite; animation-delay: var(--d); }
@keyframes ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  15% { opacity: .7; }
  100% { transform: translate(var(--dx), -13rem) scale(.4); opacity: 0; }
}
.hero-vial { position: absolute; filter: drop-shadow(0 16px 16px rgba(90, 35, 8, .22)); animation: float 7s ease-in-out infinite alternate; will-change: translate, rotate; }
.hero-vial.v1 { --r: -14deg; width: 40%; left: 17%; top: 13%; }
.hero-vial.v2 { --r: 7deg; width: 21%; left: 63%; top: 15%; animation-duration: 8.5s; animation-delay: -3s; }
.hero-vial.v3 { --r: 22deg; width: 21%; left: 69%; top: 52%; animation-duration: 6.2s; animation-delay: -1.5s; }
/* each bottle drifts and tips a little, at its own pace */
@keyframes float {
  from { translate: 0 -10px; rotate: calc(var(--r) - 1.5deg); }
  to { translate: 0 10px; rotate: calc(var(--r) + 1.5deg); }
}
/* hero text arrives in sequence, once, on load */
.home-hero h1, .hero-sub, .home-hero .lede, .home-hero .btn-row, .hero-art { animation: rise .8s var(--ease) both; }
.hero-sub { animation-delay: .08s; }
.home-hero .lede { animation-delay: .16s; }
.home-hero .btn-row { animation-delay: .24s; }
.hero-art { animation: bloom 1.1s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes bloom { from { opacity: 0; transform: scale(.94); } }
@media (prefers-reduced-motion: reduce) {
  .glow, .hero-vial, .home-hero h1, .hero-sub, .home-hero .lede, .home-hero .btn-row, .hero-art { animation: none !important; }
  .hero-vial { rotate: var(--r); }
  .ember { display: none; }
}
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .95rem .35rem .7rem; margin-bottom: 1.25rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.ico { width: 1.75rem; height: 1.75rem; flex: none; fill: none; stroke: #EA580C; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill .ico { width: 1.25rem; height: 1.25rem; }
.trust { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.trust li { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: center; padding: 1.1rem 1.25rem; background: var(--paper); border-radius: var(--r-panel); }
.trust .ico { grid-row: span 2; }
.trust small, .perks small { color: var(--slate); font-size: .9375rem; }
.perks { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); text-align: center; }
.perks li { display: grid; justify-items: center; gap: .25rem; }
.perks .ico { width: 2.25rem; height: 2.25rem; margin-bottom: .4rem; }
.perks b { font-size: 1.125rem; }
.center { text-align: center; }
.center > p { max-width: 36em; margin: .75rem auto 1.75rem; }
.duo { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.duo article { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--paper); border-radius: var(--r-panel); }
.duo h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.duo p { margin-block: .6rem 1.4rem; }

/* ---------- home: split panels ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split p { margin-block: 1rem 1.5rem; max-width: 30em; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }
.chroma { width: 100%; height: auto; }
.facts { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: clamp(2rem, 4vw, 3rem); }
.facts h3 { padding-top: .9rem; border-top: 3px solid var(--char); margin-bottom: .4rem; }
.dark .facts h3 { border-color: var(--flame); }

/* ---------- box tray (home preview and builder) ---------- */
.tray { display: grid; gap: .6rem; grid-template-columns: repeat(5, 1fr); padding: clamp(.8rem, 2vw, 1.25rem); background: var(--well); border-radius: var(--r-panel); }
.tray[data-size="3"] { grid-template-columns: repeat(3, 1fr); max-width: 22rem; }
.dark .tray { background: #000; }
.slot { aspect-ratio: 1 / 1.7; display: grid; place-items: center; padding: 8%; background: #2B2724; border: 1.5px dashed #6B635C; border-radius: var(--r-field); color: #C4BDB7; font-weight: 700; }
button.slot { cursor: pointer; }
.slot.is-full { background: #F5F3F0; border: 1.5px solid #F5F3F0; }
button.slot.is-full:hover { background: #F6D9D6; border-color: var(--danger); }

/* ---------- catalog ---------- */
.toolbar { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 2.75rem; padding: .4rem 1rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.chip:hover { border-color: var(--char); }
.chip[aria-pressed=true] { background: var(--char); border-color: var(--char); color: var(--on-char); }
.toolbar-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }
.toolbar-row .field { margin: 0; flex: 1 1 14rem; max-width: 24rem; }
.toolbar-row .field.narrow { flex: 0 1 13rem; }
.result-count { margin-left: auto; color: var(--slate); padding-bottom: .6rem; }
.empty { padding: 3rem 1.5rem; text-align: center; background: var(--paper); border-radius: var(--r-panel); }
.empty p { margin-bottom: 1rem; }

/* ---------- product page ---------- */
.crumbs { padding-top: 1.5rem; font-size: .9375rem; color: var(--slate); }
.crumbs a { padding-block: .5rem; display: inline-block; }
.product { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding-block: 1.5rem var(--section); align-items: start; }
@media (max-width: 52rem) { .product { grid-template-columns: 1fr; } }
.product-media { background: var(--paper); border-radius: var(--r-panel); aspect-ratio: 1; padding: 10%; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-block: .4rem 1rem; }
.product-price { font-size: 1.75rem; font-weight: 700; margin-block: 1.25rem; }
.sizes { border: 0; padding: 0; margin: 0 0 1.25rem; }
.sizes legend, .qty-label { font-weight: 600; font-size: .9375rem; margin-bottom: .45rem; padding: 0; }
.sizes div { display: flex; flex-wrap: wrap; gap: .5rem; }
.sizes label { margin: 0; cursor: pointer; }
.sizes input { position: absolute; opacity: 0; }
.sizes span { display: grid; place-items: center; min-width: 5rem; min-height: 2.875rem; padding: .4rem 1rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-field); font-weight: 600; }
.sizes input:checked + span { border-color: var(--char); box-shadow: inset 0 0 0 1.5px var(--char); }
.sizes input:focus-visible + span { outline: 3px solid var(--char); outline-offset: 3px; }
.buy-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.stepper { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-field); background: var(--paper); }
.stepper button { width: 2.75rem; min-height: 2.75rem; background: none; border: 0; font-size: 1.25rem; font-weight: 700; }
.stepper button:hover { background: var(--tint); }
.stepper input { width: 3.25rem; min-height: 2.75rem; border: 0; border-inline: 1.5px solid var(--line); border-radius: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { appearance: none; }
.specs { margin-top: 2rem; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--slate); }

/* ---------- build a box ---------- */
.builder { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding-bottom: var(--section); }
@media (max-width: 58rem) { .builder { grid-template-columns: 1fr; } }
.builder-box { position: sticky; top: 5.5rem; }
@media (max-width: 58rem) { .builder-box { position: static; } }
.box-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.box-size { padding: .7rem .5rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-field); text-align: center; line-height: 1.25; }
.box-size b { display: block; font-size: 1.125rem; }
.box-size[aria-pressed=true] { background: var(--char); border-color: var(--char); color: var(--on-char); }
.summary { margin-top: 1rem; padding: 1.1rem 1.25rem; background: var(--paper); border-radius: var(--r-panel); }
.summary div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .3rem; }
.summary .total { margin-top: .4rem; padding-top: .7rem; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.25rem; }
.summary .btn { width: 100%; margin-top: .9rem; }
.summary .hint { font-size: .9375rem; color: var(--slate); margin-top: .6rem; }
.pick-list li { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: .9rem; align-items: center; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.pick-list .vial { height: 4rem; }
.pick-list small { display: block; color: var(--slate); font-size: .9375rem; }

/* ---------- bulk order ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .6rem; margin-bottom: 2.5rem; }
.tier { padding: 1rem 1.1rem; background: var(--paper); border-radius: var(--r-panel); border-left: 4px solid var(--line); }
.tier b { display: block; font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1.05; }
.tier.is-on { border-left-color: var(--flame); background: var(--char); color: var(--on-char); }
.bulk { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; }
@media (max-width: 62rem) { .bulk { grid-template-columns: 1fr; } }
.bulk aside { position: sticky; top: 5.5rem; }
@media (max-width: 62rem) { .bulk aside { position: static; } }
.table-scroll { overflow-x: auto; background: var(--paper); border-radius: var(--r-panel); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .9375rem; color: var(--slate); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
td select { min-width: 6.5rem; }
td input[type=number] { width: 5.5rem; }

/* ---------- testing ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--char); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1; margin-bottom: .5rem; }
.steps h3 { margin-bottom: .35rem; }
.sample-note { padding: .8rem 1rem; margin-bottom: 1rem; background: var(--note-bg); border-left: 4px solid var(--flame); border-radius: var(--r-field); }
.tag { display: inline-block; padding: .2rem .6rem; background: var(--tint); border-radius: 999px; font-size: .875rem; }

/* ---------- cart ---------- */
.cart { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; padding-bottom: var(--section); }
@media (max-width: 58rem) { .cart { grid-template-columns: 1fr; } }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem 1.25rem; align-items: center; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.cart-lines li:first-child { border-top: 1px solid var(--line); }
.cart-lines small { display: block; color: var(--slate); font-size: .9375rem; }
.cart-lines .line-total { min-width: 5.5rem; text-align: right; font-weight: 700; }
.remove { background: none; border: 0; padding: .5rem 0; color: var(--danger); text-decoration: underline; font-size: .9375rem; }
@media (max-width: 34rem) { .cart-lines li { grid-template-columns: 1fr auto; } .cart-lines li > :first-child { grid-column: 1 / -1; } }

/* ---------- toast and gate ---------- */
.toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; translate: -50% 150%; display: flex; gap: 1rem; align-items: center; width: max-content; max-width: calc(100% - 2rem); padding: .8rem 1.2rem; background: var(--deep); color: var(--on-deep); border: 1px solid var(--line); border-radius: var(--r-panel); transition: translate .25s var(--ease); }
.toast.is-on { translate: -50% 0; }
.toast a { color: var(--flame); font-weight: 700; white-space: nowrap; }

.gate { width: min(100% - 2rem, 30rem); padding: clamp(1.5rem, 5vw, 2.5rem); border: 0; border-radius: var(--r-panel); background: var(--ground); color: var(--ink); }
.gate::backdrop { background: #171412F2; }
.gate h2 { font-size: 2.25rem; margin-block: 1.5rem .6rem; }
.gate p { margin-bottom: .75rem; }
.gate .btn { width: 100%; margin-block: 1rem .75rem; }
.gate a { display: block; text-align: center; padding: .5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- small helpers ---------- */
.band { background: var(--paper); }
.band .card-media, .band .tier { background: var(--ground); }
.h-sub { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .6rem; }
.split.top { align-items: start; }
.form-status:not(:empty) { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--tint); border-radius: var(--r-panel); }
[hidden] { display: none !important; }

/* ---------- small screens ---------- */
@media (max-width: 64rem) {
  .cart-link { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
}
@media (max-width: 30rem) {
  .header-row { gap: .5rem; }
  .logo { font-size: 1.3rem; }
  .logo-mark { width: 1.5rem; height: 1.5rem; }
  .cart-link { padding-left: .8rem; }
}

/* ---------- display type tuning ---------- */
h1, .display, h2, .logo, .tier b, .steps li::before { letter-spacing: 0; }
h1, .display { font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: .92; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-title { font-size: clamp(2.8rem, 6.4vw, 4.6rem); }
.logo { font-size: 1.7rem; }

/* ---------- product mockups ---------- */
.vial text.t { font-family: var(--text); }
.card-media, .product-media { padding: 0; overflow: hidden; }
.card-media .vial-scene { transition: scale .35s var(--ease); }
.card:hover .card-media .vial-scene { scale: 1.04; }
.logo-mark { width: 1.6rem; height: 1.6rem; flex: none; }

/* ---------- first-order scratch card ---------- */
.offer { width: min(100% - 2rem, 27rem); padding: clamp(1.5rem, 5vw, 2.25rem); border: 0; border-radius: 12px; background: var(--ground); color: var(--ink); text-align: center; }
.offer::backdrop { background: #171412CC; }
.offer .logo-mark { width: 2.5rem; height: 2.5rem; margin: 0 auto .75rem; }
.offer h2 { font-size: clamp(1.9rem, 6vw, 2.4rem); margin-bottom: .5rem; }
.offer p { margin-bottom: 1rem; }
.offer .field { text-align: left; }
.offer .btn { width: 100%; }
.offer .hint { margin: .9rem 0 0; font-size: .875rem; color: var(--slate); }
.offer-close { position: absolute; top: .5rem; right: .5rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; }
.offer-close:hover { background: var(--tint); }
.scratch { position: relative; height: 9.5rem; margin-bottom: 1rem; border-radius: 10px; overflow: hidden; background: var(--flame); color: var(--on-flame); }
.scratch-prize { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; }
.scratch-prize b { font-family: var(--display); font-weight: 800; font-size: 3.25rem; line-height: 1; letter-spacing: .04em; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; transition: opacity .5s; }
.scratch canvas.is-gone { opacity: 0; pointer-events: none; }
.offer-done p { overflow-wrap: anywhere; }
.footer-offer { margin-top: 2rem; }
.coupon { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.coupon label, .coupon p { grid-column: 1 / -1; margin: 0; }
.coupon p:empty { display: none; }
.coupon p { font-size: .9375rem; }
.coupon input { background: var(--ground); text-transform: uppercase; }
.summary .coupon .btn { width: auto; margin-top: 0; }

/* ---------- cart: free shipping progress ---------- */
.ship-bar { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.ship-bar p { margin: 0; }
#ship-msg { font-weight: 600; margin-bottom: .5rem; }
.ship-meter { height: .6rem; background: var(--tint); border-radius: 999px; overflow: hidden; }
.ship-meter span { display: block; height: 100%; background: var(--flame); border-radius: 999px; transition: width .3s var(--ease); }
.specs dd small { display: inline-block; margin-top: .3rem; }

/* ---------- top bar: fades between the shipping offer and the research-use line ---------- */
.notice b { font-weight: 800; }
.notice span { font-weight: 600; }
.notice.is-rotating { display: grid; place-items: center; }
.notice.is-rotating > * { grid-area: 1 / 1; animation: notice-fade 10s infinite; }
.notice.is-rotating > :last-child { animation-delay: -5s; }
@keyframes notice-fade { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  /* no fading: show both lines at once */
  .notice.is-rotating { display: flex; flex-wrap: wrap; justify-content: center; gap: .1rem 1.5rem; }
  .notice.is-rotating > * { animation: none !important; }
}
/* ---------- home: revolving featured gallery ---------- */
/* movement is driven by gallery() in pages.js so it can be dragged; vertical swipes still scroll the page */
.marquee { overflow: hidden; margin-top: .5rem; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-dragging a, .marquee.is-dragging button { pointer-events: none; }
.marquee a { -webkit-user-drag: none; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-set { display: flex; gap: 1.25rem; padding-right: 1.25rem; }
.marquee .card { width: 15rem; flex: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; padding-inline: var(--gutter); touch-action: auto; cursor: auto; }
  .marquee-set[inert] { display: none; }
}

/* ---------- motion polish ---------- */
/* scroll reveal: only active once the script confirms it can run */
.can-reveal [data-reveal]:not([data-reveal="stagger"]), .can-reveal [data-reveal="stagger"] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.can-reveal [data-reveal].is-in:not([data-reveal="stagger"]), .can-reveal [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.can-reveal [data-reveal="stagger"].is-in > :nth-child(2) { transition-delay: .07s; }
.can-reveal [data-reveal="stagger"].is-in > :nth-child(3) { transition-delay: .14s; }
.can-reveal [data-reveal="stagger"].is-in > :nth-child(4) { transition-delay: .21s; }
/* press and hover feedback */
.btn { transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:active:not([disabled]) { transform: scale(.97); }
.chip, .box-size, .cart-link, #nav a { transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.card-media .vial-scene { transition: scale .5s var(--ease); }
.card-name a { transition: color .2s var(--ease); }
.card:hover .card-name a { color: #C2410C; text-decoration: none; }
/* cart count pops when it changes */
.cart-count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
/* dialogs ease in */
dialog[open] { animation: dialog-in .35s var(--ease); }
dialog[open]::backdrop { animation: fade-in .35s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- phones and laptops ---------- */
html { -webkit-tap-highlight-color: transparent; scroll-padding-top: 5.5rem; }
.site-header { top: calc(-1 * var(--notice-h, 0px)); }
dialog { max-height: calc(100dvh - 2rem); overflow-y: auto; }
.toast { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
.site-footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.wrap { width: min(100% - 2 * var(--gutter) - env(safe-area-inset-left) - env(safe-area-inset-right), var(--wrap)); }
.box-bar { display: none; }

/* hover effects only where there is a real pointer, so they never stick after a tap */
@media (hover: none) {
  .card:hover .card-media .vial-scene { scale: 1; }
  .card:hover .card-name a { color: inherit; }
}

/* tablets and small laptop windows */
@media (max-width: 64rem) {
  .bulk aside, .builder-box { position: static; }
}

/* phones */
@media (max-width: 36rem) {
  body { font-size: 1rem; }
  .section { padding-block: 2.75rem; }
  .page-head { padding-block: 1.75rem 1.25rem; }
  .lede { font-size: 1.0625rem; }

  /* two products per row, the way store apps show them */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
  .card-cat { font-size: .8125rem; margin-top: .6rem; }
  .card-name { font-size: 1.0625rem; overflow-wrap: anywhere; }
  .card-price { margin-bottom: .6rem; }
  .card .btn { width: 100%; padding-inline: .5rem; }
  .marquee .card { width: 11.5rem; }

  /* category filters: one swipeable row, so products start higher up the screen */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) .4rem; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .toolbar-row { gap: .75rem; }

  /* full-width buttons are easier to hit with a thumb */
  .home-hero .btn-row .btn, .duo .btn, .buy-row .btn, .center > .btn { width: 100%; }
  .buy-row { flex-wrap: nowrap; }
  .buy-row .btn { flex: 1; }
  .trust { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .trust li { grid-template-columns: 1fr; row-gap: .15rem; padding: .9rem; }
  .trust .ico { grid-row: auto; margin-bottom: .3rem; }
  .perks { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .hero-art { max-width: 21rem; }
  .specs div { grid-template-columns: 1fr; gap: .1rem; }
  .toolbar-row .field, .toolbar-row .field.narrow { flex: 1 1 100%; max-width: none; }
  .result-count { margin-left: 0; padding-bottom: 0; }
  .footer-grid { gap: 1.5rem; }
  .footer-offer .btn { width: 100%; }

  /* tables become stacked cards instead of scrolling sideways */
  .table-scroll { background: none; overflow: visible; }
  .table-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-scroll table, .table-scroll tbody { display: block; }
  .table-scroll tr { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; padding: 1rem; margin-bottom: .6rem; background: var(--paper); border-radius: var(--r-panel); }
  .table-scroll td { display: block; padding: 0; border: 0; text-align: left; }
  .table-scroll td:first-child { grid-column: 1 / -1; font-size: 1.0625rem; }
  .table-scroll td[data-label]::before { content: attr(data-label); display: block; font-size: .8125rem; color: var(--slate); margin-bottom: .15rem; }
  .table-scroll td[colspan] { grid-column: 1 / -1; }
  .table-scroll td select, .table-scroll td input[type=number] { width: 100%; min-width: 0; }

  /* build a box: progress and the add button stay on screen */
  .box-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line); }
  .box-bar p { font-weight: 700; }
  .box-bar .btn { min-height: 2.75rem; padding-inline: 1rem; }
  body[data-page="box"] .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  body[data-page="box"] .toast { bottom: calc(5rem + env(safe-area-inset-bottom)); }
  .summary #box-add { display: none; }
}

/* large laptop and desktop screens: a little more room to breathe */
@media (min-width: 90rem) {
  :root { --wrap: 82rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
}
.cart-lines .stepper { justify-self: start; }

/* ---------- home: quality commitment ---------- */
/* A white, framed panel: the pledge on the left, the three checks it rests on as a ruled list on the right. */
.pledge-section { padding-top: 0; }
.pledge { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--ground); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pledge::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #F97316, #FDBA74 60%, transparent); }
.pledge-mark { width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; }
.pledge h2 { font-size: clamp(2rem, 4vw, 3rem); }
.pledge-intro p { margin-block: .9rem 1.6rem; max-width: 30em; color: var(--slate); }
.pledge-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-block: 1.15rem; border-top: 1px solid var(--line); }
.pledge-list li:first-child { border-top: 0; padding-top: 0; }
.pledge-list li:last-child { padding-bottom: 0; }
.pledge-list b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.pledge-list span { color: var(--slate); }
.pledge-list .ico { width: 2rem; height: 2rem; margin-top: .1rem; }
@media (max-width: 52rem) {
  .pledge { grid-template-columns: 1fr; }
  .pledge-intro .btn { width: 100%; }
}

/* ---------- menu button: three lines that fold into a cross when open ---------- */
.nav-toggle { width: 2.75rem; min-height: 2.75rem; padding: 0; border: 0; border-radius: var(--r-field); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle:hover { background: var(--tint); }
.nav-toggle span { display: block; width: 1.5rem; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease); }
@media (max-width: 64rem) { .nav-toggle { display: flex; } }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- checkout and affiliates ---------- */
input[type=tel], input[type=date] { width: 100%; min-height: 2.875rem; padding: .55rem .8rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-field); }
.form-grid.thirds { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.field .check { padding-block: .35rem; margin: 0; }
.handles { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.handles legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.handles > .hint, .handles > .error { font-size: .875rem; margin-bottom: .75rem; }
.handles > .hint { color: var(--slate); }
.handles > .error { color: var(--danger); font-weight: 600; }
.co-lines { margin-bottom: .75rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.co-lines li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .4rem; }
.co-lines small { display: block; color: var(--slate); font-size: .875rem; }
.pay { padding-bottom: var(--section); }
.pay h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); max-width: 22em; }
.pay .lede { margin-block: .75rem 2rem; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 44rem) { .pay-grid { grid-template-columns: 1fr; } }
.pay-qr { display: grid; place-items: center; aspect-ratio: 1; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.pay-qr img { width: 100%; height: auto; border-radius: 8px; }
.pay-qr p { color: var(--slate); }
.pay-facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-block: .6rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.pay-facts dt { color: var(--slate); }
.pay-facts dd { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1.1; overflow-wrap: anywhere; }
#pay-to { font-family: var(--text); font-weight: 600; font-size: 1.0625rem; }
.pay-steps { counter-reset: pay; margin-block: 1.5rem; }
.pay-steps li { counter-increment: pay; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding-block: .45rem; }
.pay-steps li::before { content: counter(pay); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--flame); color: var(--on-flame); font-weight: 700; }
@media (max-width: 36rem) { #co-submit, #pay-done, #affiliate-form button[type=submit] { width: 100%; } }

/* ---------- policy pages ---------- */
.policy-date { margin-top: .75rem; font-size: .9375rem; }
.policy-points { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.policy-points li { padding: 1.1rem 1.25rem; background: var(--paper); border-radius: var(--r-panel); border-top: 3px solid var(--flame); }
.policy-points b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1.15; margin-bottom: .25rem; }
.policy-points span { color: var(--slate); font-size: .9375rem; }
.policy-body { max-width: 44rem; padding-bottom: var(--section); }
.policy-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 2.25rem; }
.policy-body ul { list-style: disc; padding-left: 1.25rem; }
.policy-body li + li { margin-top: .35rem; }
.copyright { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.copyright a { padding-block: .35rem; }
.field .hint a, .hint a { color: inherit; }
@media (min-width: 62rem) { .policy-points { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- footer: policy links on the bottom line ---------- */
.copyright a { color: var(--on-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.gate .gate-terms { margin: .25rem 0 0; font-size: .875rem; color: var(--slate); text-align: center; }
.gate .gate-terms a { display: inline; padding: 0; }
.copyright { gap: .25rem 1.25rem; }
.copyright span { flex-basis: 100%; }

/* ================= dark theme and floating header ================= */
.site-footer, .dark { border-top: 1px solid var(--line); }
.dark { border-bottom: 1px solid var(--line); }
.home-hero { background: radial-gradient(55% 75% at 74% 52%, #4A1705 0%, #1C0A04 46%, #0A0908 80%); border-bottom: 1px solid var(--line); }
.hero-sub { color: #FB923C; }
.home-hero .lede { color: #D8D1CA; }
.glow { filter: blur(40px); }
.g1 { background: #F97316; opacity: .3; }
.g2 { background: #C2410C; opacity: .28; }
.g3 { background: #FB923C; opacity: .22; }
.hero-vial { filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .6)); }
.vial text { font-family: var(--display); }
.card-media, .product-media { border: 1px solid var(--line); }
.card:hover .card-name a { color: #FB923C; }
.pledge { background: var(--paper); }
.slot.is-full { background: #151311; border: 1.5px solid #3A3531; }
button.slot.is-full:hover { background: #3A1512; border-color: var(--danger); }
.coupon input { background: var(--ground); }
.offer, .gate { border: 1px solid var(--line); }
.gate::backdrop, .offer::backdrop { background: #000000D9; }
.copyright { border-top-color: var(--line); }
.footer-grid p, .copyright { color: var(--slate); }
.sample-note { color: var(--ink); }

/* floating header: a rounded, see-through black bar that hovers over the page as it scrolls */
.site-header { background: transparent; border-bottom: 0; top: calc(.75rem - var(--notice-h, 0px)); }
.header-row { margin-top: .75rem; min-height: 4rem; padding-inline: 1.5rem .75rem; background: rgba(18, 16, 14, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; }
.nav-open .header-row { border-radius: 1.5rem; padding-bottom: .5rem; }
/* on the home page the bar sits over the top of the hero */
body[data-page="home"] .site-header { margin-bottom: -5.5rem; }
body[data-page="home"] .home-hero { padding-top: calc(clamp(2.5rem, 6vw, 5rem) + 5.5rem); }
html { scroll-padding-top: 6.5rem; }

/* navigation and drop-down menus */
#nav { margin-inline: auto; }
#nav > ul { align-items: center; }
#nav a:hover { background: rgba(255, 255, 255, .08); }
#nav a[aria-current] { box-shadow: none; color: #FB923C; }
.has-menu { position: relative; }
.nav-drop { display: flex; align-items: center; gap: .35rem; padding: .7rem; background: none; border: 0; border-radius: var(--r-field); font-weight: 600; font-size: .9875rem; color: inherit; }
.nav-drop:hover, .has-menu.is-open .nav-drop, .has-menu.is-current .nav-drop { color: #FB923C; }
.nav-drop svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: rotate .2s var(--ease); }
.has-menu.is-open .nav-drop svg { rotate: 180deg; }
#nav .sub { display: none; flex-direction: column; gap: 0; position: absolute; top: calc(100% + .6rem); left: 50%; translate: -50% 0; min-width: 15.5rem; padding: .5rem; background: #171412; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
#nav .sub::before { content: ""; position: absolute; inset: -.7rem 0 100% 0; } /* bridges the gap so the menu stays open while the pointer travels to it */
#nav .has-menu.is-open .sub { display: flex; animation: dialog-in .2s var(--ease); }
#nav .sub a { padding: .7rem .9rem; border-radius: 10px; font-weight: 500; white-space: nowrap; }
#nav .sub a:hover { color: #FB923C; }

/* account and cart icons */
.head-icons { display: flex; align-items: center; gap: .15rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .cart-count { position: absolute; top: .1rem; right: .05rem; min-width: 1.2rem; height: 1.2rem; padding-inline: .25rem; font-size: .75rem; font-weight: 700; }
.icon-btn .cart-count[data-empty] { display: none; }

@media (max-width: 64rem) {
  .head-icons { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 0; }
  #nav { margin-inline: 0; }
  #nav > ul { align-items: stretch; }
  .nav-drop { width: 100%; justify-content: space-between; padding: .8rem .5rem; border-top: 1px solid var(--line); border-radius: 0; }
  #nav .sub { position: static; translate: none; min-width: 0; padding: 0 0 .5rem .75rem; background: none; border: 0; box-shadow: none; }
  #nav .sub a { border-top: 0; padding: .6rem .5rem; white-space: normal; }
}
@media (max-width: 30rem) { .header-row { padding-inline: 1rem .5rem; } }

/* ================= partner program page ================= */
/* Classes starting pp- belong to the page, and classes starting pm- to the sample portal screen. */

.pp-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pp-kicker { margin-bottom: .7rem; font-weight: 700; font-size: .875rem; color: var(--flame-hover); }
.pp-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pp-head h2, .pp-portal-copy h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); line-height: 1.08; }
.pp-head > p:last-child:not(.pp-kicker) { margin-top: .7rem; max-width: 36em; }
.pp-head.is-center { text-align: center; }

/* ================= hero ================= */
.pp-hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); text-align: center; isolation: isolate; }
.pp-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 26rem; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(249, 115, 22, .2), transparent 70%); pointer-events: none; }
.pp-hero .page-title { max-width: 16em; margin-inline: auto; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.02; }
.pp-hot { display: block; color: var(--flame); }
.pp-hero .lede { margin: 1.2rem auto 1.75rem; max-width: 40em; color: var(--slate); }
.pp-hero .btn-row { justify-content: center; }
.pp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: clamp(2rem, 5vw, 3.5rem) 0 0; text-align: left; }
.pp-facts li { padding: 1.1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.pp-facts b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.1; letter-spacing: -.04em; color: var(--flame-hover); }
.pp-facts span { display: block; margin-top: .3rem; color: var(--slate); font-size: .9375rem; }
@media (max-width: 54rem) { .pp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= how it works ================= */
.pp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.pp-steps li { padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.pp-steps span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--flame); color: var(--on-flame); font-family: var(--display); font-weight: 800; }
.pp-steps h3 { margin-bottom: .4rem; font-size: 1.1875rem; }
.pp-steps p { color: var(--slate); }
@media (max-width: 46rem) { .pp-steps { grid-template-columns: 1fr; } }

/* ================= partner portal ================= */
.pp-portal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (max-width: 60rem) { .pp-portal { grid-template-columns: 1fr; } .pp-portal-copy { order: -1; } }
.pp-shot { margin: 0; }
.pp-shot figcaption { margin-top: .8rem; color: var(--slate); font-size: .8125rem; text-align: center; }
.pp-portal-copy .muted { margin-top: .9rem; }
.pp-ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; }
.pp-ticks li { position: relative; padding-left: 1.9rem; }
.pp-ticks li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(249, 115, 22, .16); }
.pp-ticks li::after { content: ""; position: absolute; left: .42rem; top: .42rem; width: .42rem; height: .68rem; border: solid var(--flame-hover); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-.06rem, -.14rem); }

/* The sample portal screen. The frame is a sizing container and every length inside is in em, with 1em set
   to 1% of the frame's width, so the whole screen scales like a picture. */
.pp-window { container-type: inline-size; border-radius: 14px; overflow: hidden; background: #0C0A09; border: 1px solid #332B26; box-shadow: 0 40px 70px -45px #000, 0 0 110px -50px rgba(249, 115, 22, .55); }
.pm { font-size: 7px; font-size: 1cqw; line-height: 1.3; color: #F5F3F0; cursor: default; user-select: none; }
.pm p, .pm ul { margin: 0; padding: 0; list-style: none; }
.pm b, .pm em, .pm u, .pm i { font-style: normal; text-decoration: none; }
.pm-bar { display: flex; gap: .9em; padding: 1.5em 1.8em; background: #141110; border-bottom: 1px solid #2B2623; }
.pm-bar i { width: 1.3em; height: 1.3em; border-radius: 50%; background: #F87171; }
.pm-bar i:nth-child(2) { background: #FBBF24; }
.pm-bar i:nth-child(3) { background: #4ADE80; }
.pm-body { display: grid; grid-template-columns: 20em minmax(0, 1fr); }
.pm-side { padding: 2em 1.4em; background: #100E0C; border-right: 1px solid #2B2623; }
.pm-label { font-size: .95em; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7C736C; }
.pm-code { position: relative; margin: 1.4em 0 1.6em; padding: 1.1em 1.2em; border-radius: .9em; background: #1C1815; border: 1px solid #2B2623; }
.pm-code span { display: block; font-size: .95em; color: #A8A099; }
.pm-code b { display: block; font-size: 1.6em; font-weight: 800; letter-spacing: .03em; }
.pm-code em { position: absolute; top: 1em; right: 1em; padding: .15em .6em; border-radius: 99em; background: rgba(249, 115, 22, .2); color: #FDBA74; font-size: 1em; font-weight: 700; }
.pm-nav li { display: flex; align-items: center; gap: .8em; padding: .65em .7em; border-radius: .5em; font-size: 1.3em; color: #A8A099; }
.pm-nav li::before { content: ""; width: .8em; height: .8em; border-radius: .22em; border: .12em solid currentColor; opacity: .7; }
.pm-nav li.is-on { background: rgba(249, 115, 22, .14); color: #FDBA74; font-weight: 700; }
.pm-main { padding: 1.8em 2.4em 2.4em; min-width: 0; }
.pm-top { display: flex; align-items: center; gap: .9em; margin-bottom: 2em; }
.pm-field { padding: .55em 1em; border-radius: .5em; background: #1C1815; border: 1px solid #2B2623; font-size: 1.15em; color: #A8A099; }
.pm-copy { padding: .55em 1em; border-radius: .5em; background: #F97316; color: #171412; font-size: 1.15em; font-weight: 700; }
.pm-avatar { margin-left: auto; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(135deg, #F97316, #FDBA74); color: #171412; font-size: 1.1em; font-weight: 800; }
.pm-hello { font-size: 1.2em; color: #A8A099; }
.pm-title { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin: .2em 0 1.4em; }
.pm-title b { font-size: 2.4em; font-weight: 800; letter-spacing: -.03em; }
.pm-title span { padding: .3em .9em; border-radius: 99em; border: 1px solid #5A3A20; color: #FDBA74; font-size: 1.05em; font-weight: 700; }
.pm-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2em; }
.pm-stats > div, .pm-card { padding: 1.4em 1.5em; border-radius: 1em; background: #151311; border: 1px solid #2B2623; }
.pm-stats span, .pm-card-title { display: block; font-size: .95em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7C736C; }
.pm-stats b { display: block; margin: .25em 0 .15em; font-size: 2.3em; font-weight: 800; letter-spacing: -.03em; }
.pm-stats small { display: block; font-size: 1em; color: #A8A099; }
.pm-stats small.is-up { color: #4ADE80; }
.pm-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.2em; margin-top: 1.2em; }
.pm-bars { display: flex; align-items: flex-end; gap: 1.2em; height: 13em; margin-top: 1.2em; padding-bottom: 2em; }
.pm-bars i { position: relative; flex: 1; height: var(--h); border-radius: .5em .5em 0 0; background: #3A2C22; }
.pm-bars i.is-now { background: linear-gradient(180deg, #FDBA74, #F97316); }
.pm-bars u { position: absolute; left: 0; right: 0; bottom: -1.9em; text-align: center; font-size: 1em; color: #7C736C; }
.pm-orders { margin-top: .8em; }
.pm-orders p { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: .8em; padding: .85em 0; border-top: 1px solid #2B2623; font-size: 1.2em; }
.pm-orders p:first-child { border-top: 0; }
.pm-orders span { color: #A8A099; }
.pm-orders b { color: #FDBA74; font-weight: 700; }
.pm-orders em { padding: .1em .7em; border-radius: 99em; background: rgba(74, 222, 128, .14); color: #4ADE80; font-size: .85em; font-weight: 700; }
.pm-orders em.is-wait { background: rgba(251, 191, 36, .14); color: #FBBF24; }
/* phones: the side menu is dropped and everything else is drawn a quarter larger, so it stays readable */
@media (max-width: 40rem) {
  .pm { font-size: 1.25cqw; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { display: none; }
}

/* ================= calculator ================= */
.pp-calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
@media (max-width: 54rem) { .pp-calc { grid-template-columns: 1fr; } }
.pp-controls, .pp-result { padding: clamp(1.25rem, 3vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.pp-slider { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.4rem; }
.pp-slider label { font-weight: 600; }
.pp-slider output { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pp-slider .pp-range { grid-column: 1 / -1; }
.pp-range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; margin: 0; padding: 0; background: transparent; border: 0; cursor: pointer; }
.pp-range::-webkit-slider-runnable-track { height: .5rem; border-radius: 999px; background: linear-gradient(90deg, var(--flame) var(--p), var(--line) var(--p)); }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 1.7rem; height: 1.7rem; margin-top: -.6rem; border-radius: 50%; background: #FFF7ED; border: 4px solid var(--flame); box-shadow: 0 4px 14px rgba(249, 115, 22, .45); }
.pp-range::-moz-range-track { height: .5rem; border-radius: 999px; background: var(--line); }
.pp-range::-moz-range-progress { height: .5rem; border-radius: 999px; background: var(--flame); }
.pp-range::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #FFF7ED; border: 4px solid var(--flame); }
.pp-note { color: var(--slate); font-size: .875rem; }
.pp-result { display: flex; flex-direction: column; justify-content: center; border-color: #5A3A20; background-image: radial-gradient(80% 70% at 90% 0%, rgba(249, 115, 22, .2), transparent 70%); }
.pp-result-label { color: var(--slate); font-weight: 600; }
.pp-month { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin: .4rem 0 1.1rem; }
.pp-month output { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pp-month span { color: var(--slate); font-weight: 600; }
.pp-result dl { margin: 0; }
.pp-result dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-top: 1px solid var(--line); }
.pp-result dt { color: var(--slate); }
.pp-result dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.pp-result small { display: block; margin-top: .9rem; color: var(--slate); font-size: .875rem; }

/* ================= why partners choose us ================= */
.pp-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.pp-why li { padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.pp-why h3 { margin-bottom: .4rem; font-size: 1.125rem; }
.pp-why p { color: var(--slate); }
@media (max-width: 56rem) { .pp-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .pp-why { grid-template-columns: 1fr; } }

/* ================= questions ================= */
.pp-faq { padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 5vw, 4rem); align-items: start; }
@media (max-width: 54rem) { .pp-faq { grid-template-columns: 1fr; } }
.pp-faq .pp-head { margin-bottom: 0; }
.pp-faq-list { border-top: 1px solid var(--line); }
.pp-faq-list details { border-bottom: 1px solid var(--line); }
.pp-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem .25rem; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.pp-faq-list summary::-webkit-details-marker { display: none; }
.pp-faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid var(--line); color: var(--flame-hover); font-size: 1.25rem; line-height: 1; transition: transform .25s var(--ease), background-color .2s; }
.pp-faq-list details[open] summary::after { transform: rotate(45deg); background: var(--tint); }
.pp-faq-list summary:hover { color: var(--flame-hover); }
.pp-faq-list details p { padding: 0 .25rem 1.2rem; color: var(--slate); max-width: 42em; }

/* ================= application ================= */
.pp-apply .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 52rem) { .pp-apply .split { grid-template-columns: 1fr; } }
.pp-form-title { margin: 1.5rem 0 .9rem; font-size: 1.375rem; font-weight: 700; line-height: 1.25; }
/* the form's two steps, with a marker above them showing which one is open */
.pp-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.6rem; }
.pp-progress li { display: flex; align-items: center; gap: .55rem; padding-top: .7rem; border-top: 4px solid var(--line); color: var(--slate); font-weight: 600; font-size: .9375rem; transition: border-color .3s, color .3s; }
.pp-progress span { display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint); font-size: .8125rem; font-weight: 800; transition: background-color .3s, color .3s; }
.pp-progress li.is-done, .pp-progress li[aria-current] { border-color: var(--flame); color: var(--ink); }
.pp-progress li.is-done span, .pp-progress li[aria-current] span { background: var(--flame); color: var(--on-flame); }
/* phones: four steps fit side by side with each name under its number */
@media (max-width: 36rem) { .pp-progress li { flex-direction: column; align-items: flex-start; gap: .3rem; font-size: .8125rem; } }
/* the form sits in its own panel and shows one short step at a time */
#affiliate-form:has(.pp-step) { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 18px; }
.pp-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.pp-step .field:last-of-type { margin-bottom: .6rem; }
/* first and last name stay side by side, even on phones, to keep the first step short */
.pp-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
.pp-step > legend { padding: 0; margin: 0 0 .9rem; }
.pp-step > legend:focus { outline: none; }
.pp-step-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .6rem; }
/* phones: Back and the main button share one row, with the main button taking the spare width */
@media (max-width: 36rem) {
  #affiliate-form .pp-step-nav .btn { width: auto; flex: 0 0 auto; }
  #affiliate-form .pp-step-nav .btn:last-child { flex: 1 1 0; }
}
.pp-good { padding: 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; color: var(--slate); font-size: .9375rem; }
.pp-good h3 { margin-bottom: .7rem; color: var(--ink); }
.pp-good p { margin: 0; max-width: none; }
.pp-good p + p { margin-top: .7rem; }
.pp-good a { color: inherit; }

/* product photos are cut-outs with a transparent background: the whole bottle is shown, sitting on the
   same black-and-ember backdrop as the drawn bottles */
.card-media:has(img), .product-media:has(img) { background: radial-gradient(62% 62% at 50% 56%, #5A1E07 0%, #220C04 50%, #000 100%); }
.card-media img, .product-media img { object-fit: contain; padding: 7%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .55)); }

/* ================= photographic vials ================= */
.vial text { font-family: "Manrope", var(--text); }
/* the render has a pure black backdrop; "screen" makes that black vanish over dark surfaces */
.vial-photo { mix-blend-mode: screen; }
.hero-vial { filter: none; mix-blend-mode: screen; }
/* the blend only reaches the hero background if nothing in between forms its own layer, so the artwork
   block no longer has an entrance animation of its own */
.hero-art { animation: none; }
/* the vial in the render already leans 15.5 degrees, so these are set to land at the same angles as before */
.hero-vial.v1 { --r: -30deg; width: 53%; left: 10.5%; top: 4%; }
.hero-vial.v2 { --r: -9deg; width: 28%; left: 59.5%; top: 10%; }
.hero-vial.v3 { --r: 6deg; width: 28%; left: 65.5%; top: 47%; }
.vial-hero { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 80%, transparent 100%); }
.slot.is-full { background: #000; padding: 4%; }
.pick-list .vial { height: 4.5rem; }

/* home hero: tone the orange down so the vials read as glass and label, not as a glow */
.home-hero { background: radial-gradient(50% 70% at 74% 52%, #2A0E04 0%, #140805 48%, #0A0908 80%); }
.g1 { opacity: .1; }
.g2 { opacity: .08; }
.g3 { opacity: .07; }
.vial-hero { filter: contrast(1.35) brightness(.86) saturate(.85); } /* crushes the faint halo baked into the render */

/* ================= wordmark logo ================= */
.wordmark { display: inline-flex; align-items: baseline; gap: .26em; font-family: "Poppins", var(--text); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.wordmark b { font-weight: 700; color: #F2EFEC; }
.wordmark i { font-style: normal; font-weight: 300; font-size: .88em; letter-spacing: -.01em; color: #EA580C; }
.logo { font-family: "Poppins", var(--text); font-size: 1.6rem; letter-spacing: 0; }
.offer-logo { margin: 0 0 .9rem; font-size: 1.6rem; }
.gate .logo { font-size: 1.7rem; }
.pledge h2 { margin-top: 0; }
@media (max-width: 30rem) { .logo { font-size: 1.35rem; } }

/* ================= device fit: small phones, tablets, landscape ================= */
/* very narrow phones (320px): keep the logo, icons and menu button on one row */
@media (max-width: 22.5rem) {
  .header-row { gap: .25rem; padding-inline: .75rem .35rem; }
  .logo { font-size: 1.15rem; }
  .icon-btn, .nav-toggle { width: 2.5rem; height: 2.5rem; min-height: 2.5rem; }
  .head-icons { gap: 0; }
}
/* tablets in portrait: the product photo sits beside the details instead of filling the screen */
@media (min-width: 40rem) and (max-width: 52rem) {
  .product { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.5rem; }
  .product h1 { font-size: 2.4rem; }
}
@media (max-width: 40rem) { .product-media { max-width: 24rem; margin-inline: auto; } }
/* tablets: the home hero keeps text and bottles side by side */
@media (min-width: 44rem) and (max-width: 54rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1rem; }
  .home-hero h1 { font-size: clamp(2.6rem, 6.6vw, 3.4rem); }
}
/* phones held sideways: less vertical padding so content is not pushed off the short screen */
@media (max-height: 30rem) and (orientation: landscape) {
  .home-hero { padding-block: 1.5rem; }
  body[data-page="home"] .home-hero { padding-top: 6.5rem; }
  .section { padding-block: 2.25rem; }
  .gate, .offer { padding: 1.25rem 1.5rem; }
  .gate h2 { margin-top: .75rem; font-size: 1.75rem; }
}
/* tablets: trust tiles and service points in even rows of two, never three and a leftover */
@media (min-width: 36.01rem) and (max-width: 62rem) {
  .trust, .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= logo image ================= */
.logo-img { display: block; height: 1.75rem; width: auto; }
.gate .logo-img, .offer-logo .logo-img { height: 2rem; margin-inline: auto; }
.gate .logo { display: block; }
.site-footer .logo-img { height: 1.9rem; }
@media (max-width: 30rem) { .logo-img { height: 1.45rem; } }
@media (max-width: 22.5rem) { .logo-img { height: 1.25rem; } }

/* ================= stock status ================= */
.stock { display: flex; align-items: center; gap: .4rem; margin: 0 0 .7rem; font-size: .875rem; font-weight: 600; }
.stock::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex: none; }
.stock.is-in { color: #4ADE80; }
.stock.is-low { color: #FBBF24; }
.stock.is-out { color: var(--slate); }
.stock.is-soon { color: #FDBA74; }
#bulk-rows .stock { margin: .2rem 0 0; font-size: .8125rem; }
.card-price { margin-bottom: .25rem; }
.product .stock { margin: .9rem 0 0; font-size: .9375rem; }

/* ================= often bought with ================= */
.pairs { margin-top: 1.5rem; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.pairs h2 { font-family: var(--text); font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; margin-bottom: .5rem; }
.pairs li { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: .9rem; align-items: center; padding-block: .6rem; border-top: 1px solid var(--line); }
.pairs li:first-child { border-top: 0; }
.pairs-thumb { display: block; width: 3.25rem; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
.pairs a { text-decoration: none; }
.pairs a:hover b { color: #FB923C; }
.pairs small { display: block; color: var(--slate); font-size: .875rem; }

/* ================= free-shipping nudge and back-in-stock sign-up ================= */
.ship-nudge { margin: .45rem 0 0; font-size: .9375rem; color: var(--slate); }
.ship-nudge.is-met { color: #4ADE80; font-weight: 600; }
.restock { margin-top: 1rem; padding: 1.1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.restock .field { margin-bottom: .8rem; }
.restock input { background: var(--ground); }
.restock .form-status:not(:empty) { background: none; padding: 0; margin: .8rem 0 0; }
.restock > .form-status:only-child { margin: 0; font-weight: 600; }
@media (max-width: 36rem) { .restock .btn { width: 100%; } }

/* ================= Manrope ================= */
/* Manrope is much wider than the condensed face the site used before, so headlines are smaller and set tight. */
h1, h2, .display { font-weight: 800; line-height: 1.06; letter-spacing: -.035em; }
h1, .display { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.page-title { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.h-sub { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.hero-sub { font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.product h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.duo h2, .pledge h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.pay h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.policy-body h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -.03em; }
.offer h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.gate h2 { font-size: 1.7rem; }
.pledge-list b, .policy-points b { font-size: 1.15rem; letter-spacing: -.03em; }
.tier b { font-size: 1.5rem; letter-spacing: -.04em; }
.steps li::before { font-size: 1.75rem; letter-spacing: -.04em; }
.pay-facts dd { font-size: 1.35rem; letter-spacing: -.03em; }
.wheel-result b { font-size: 1.35rem; letter-spacing: -.03em; }
.scratch-prize b { font-size: 2.3rem; letter-spacing: -.02em; }
.wheel text { letter-spacing: -.03em; }
body { font-size: 1rem; line-height: 1.6; }
.lede { line-height: 1.5; }
@media (max-width: 30rem) {
  h1, .display { font-size: 2rem; }
  .page-title { font-size: 1.85rem; }
}
