/* Self-hosted Rajdhani, replacing the Google Fonts @import the source
   used. Same family name and weights, and Google's own unicode-range
   split preserved, so text renders exactly as it did. The main Helix
   site needs this independently of the education package. */

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/rajdhani-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/rajdhani-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/rajdhani-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/rajdhani-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rajdhani-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/rajdhani-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/rajdhani-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/rajdhani-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════
   HELIX EVOLUTION LABS — style.css
   ═══════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────── */
:root {
  --black:       #000000;
  --surface:     #050505;
  --card:        #080808;
  --card-hover:  #0d0d0d;
  --gold:        #c9a84c;
  --gold-light:  #e4c875;
  --gold-dim:    rgba(201, 168, 76, 0.18);
  --gold-glow:   rgba(201, 168, 76, 0.10);
  --silver:      #b8bcc8;
  --text:        #f0f0f2;
  --muted:       #72728a;
  --border:      rgba(201, 168, 76, 0.18);
  --border-h:    rgba(201, 168, 76, 0.42);
  --radius:      12px;
  --radius-sm:   6px;
  --max-w:       1360px;
  --header-h:    70px;
  --py:          88px;
  --font-d:      'Rajdhani', system-ui, sans-serif;
  --font-b:      system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tr:          0.24s ease;
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.55rem;
}
.section-title-left {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-row-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--tr), gap var(--tr);
  padding-bottom: 2px;
}
.view-all-link:hover { color: var(--gold-light); gap: 8px; }
.view-all-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ─── HERO LOAD ANIMATION ────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-visible {
  animation: heroFadeUp 0.75s ease 0.15s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visible { animation: none; }
}

/* ─── REVEAL ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background var(--tr), color var(--tr), border-color var(--tr),
              transform var(--tr), box-shadow var(--tr), gap var(--tr);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #080808;
  padding: 13px 32px;
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f2df88, var(--gold-light));
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.28);
  gap: 9px;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0;
  border: none;
  border-radius: 0;
  transition: color var(--tr), gap var(--tr);
  margin-top: auto;
}
.btn-details:hover { color: var(--gold-light); gap: 8px; }

.btn-card {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  width: 100%;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  margin-top: auto;
  transition: color var(--tr), border-color var(--tr);
}
.btn-card:hover { color: var(--gold-light); border-color: var(--border-h); }

/* ─── ICON BUTTONS ───────────────────────────────── */
.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--silver);
  transition: color var(--tr), background var(--tr);
}
.icon-btn:hover { color: var(--gold); background: var(--gold-glow); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.desktop-only { display: flex; }
.mobile-only  { display: none; }

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: transparent;
  transition: background 0.32s ease, backdrop-filter 0.32s ease,
              border-color 0.32s ease, box-shadow 0.32s ease;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background-color: rgba(8, 8, 8, 0.93);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.010) 0px, rgba(255,255,255,0.010) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.010) 0px, rgba(255,255,255,0.010) 1px, transparent 1px, transparent 6px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}
.header-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo-link { flex-shrink: 0; }
.logo-img {
  height: 56px; width: auto;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: screen;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.desktop-nav a {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color var(--tr);
  position: relative;
  padding-bottom: 3px;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--tr);
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { right: 0; }
.desktop-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.header-utils { display: flex; align-items: center; gap: 2px; margin-left: auto; }

/* ══════════════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════════════ */
#nav-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
#nav-overlay.active { opacity: 1; pointer-events: all; }

#mobile-nav {
  position: fixed;
  top: 0; left: 0; right: auto; bottom: 0;
  z-index: 1001;
  width: min(300px, 82vw);
  background: #0b0b0d;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-logo { width: 42px; height: 42px; border-radius: 5px; mix-blend-mode: screen; }
#nav-close {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--gold);
  transition: color var(--tr), background var(--tr);
}
#nav-close:hover { color: var(--gold); background: var(--gold-glow); }
#nav-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.mobile-nav-links { flex: 1; padding: 20px 0; overflow-y: auto; }
.mobile-nav-link {
  display: block; padding: 15px 26px;
  font-family: var(--font-d); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--tr), padding-left var(--tr), background var(--tr);
}
.mobile-nav-link:hover { color: var(--gold); padding-left: 34px; background: var(--gold-glow); }
.mobile-nav-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }

.mobile-nav-footer { padding: 22px 26px; border-top: 1px solid var(--border); }
.mobile-nav-tagline {
  font-family: var(--font-d); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-image: url('../img/hero/hero-bg-desktop.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.80) 0%,
    rgba(8, 8, 8, 0.60) 35%,
    rgba(8, 8, 8, 0.12) 68%,
    transparent 100%
  );
  z-index: 1;
}
.hero-section::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 70% at 92% 55%, rgba(20, 60, 140, 0.10) 0%, transparent 65%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 6px);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 560px;
  padding-left: 60px;
  padding-right: 20px;
  padding-bottom: 48px;
}
.hero-headline {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 32px;
}
.btn-primary svg { transition: transform var(--tr); }
.btn-primary:hover svg { transform: translateX(3px); }

/* ══════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════ */
.trust-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  transition: background var(--tr);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--gold-glow); }
.trust-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gold);
}
.trust-text { display: flex; flex-direction: column; gap: 4px; }
.trust-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.trust-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ══════════════════════════════════════════════════
   FEATURED PEPTIDES
══════════════════════════════════════════════════ */
.featured-section {
  padding: var(--py) 0;
  background: var(--black);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.featured-card {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
.featured-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
}
.featured-card::after { display: none; }
.featured-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 16px;
  background: #000;
  width: 100%;
}
.featured-price { display: none; }
.featured-img {
  width: 140px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(201, 168, 76, 0.22));
  transition: transform var(--tr), filter var(--tr);
}
.featured-card:hover .featured-img {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(0 10px 28px rgba(201, 168, 76, 0.38));
}
.featured-info {
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: #000;
  border-top: 1px solid var(--border);
  flex: 1;
}
.featured-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.featured-cat { display: none; }
.featured-desc { display: none; }

/* ══════════════════════════════════════════════════
   ALL RESEARCH COMPOUNDS
══════════════════════════════════════════════════ */
.compounds-section {
  padding: var(--py) 0;
  background: var(--surface);
}
.compound-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.compound-card {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
.compound-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 16px var(--gold-glow);
}
.compound-img-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 22px 16px 12px;
  background: #000;
  min-height: 160px;
}
.compound-img {
  width: 90px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(201, 168, 76, 0.18));
  transition: transform var(--tr), filter var(--tr);
}
.compound-card:hover .compound-img {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 8px 22px rgba(201, 168, 76, 0.32));
}
.compound-info {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.compound-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
}

/* ══════════════════════════════════════════════════
   EDUCATION
══════════════════════════════════════════════════ */
.education-section {
  padding: var(--py) 0;
  background: var(--black);
}
.edu-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}
.edu-eyebrow {
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.edu-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.edu-heading {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  margin-bottom: 24px;
}
.edu-intro {
  font-size: 1.2rem;
  color: var(--silver);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 0;
}
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.edu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 18px;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--tr), transform var(--tr);
}
.edu-item:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}
.edu-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 4px;
}
.edu-item-text { display: flex; flex-direction: column; gap: 5px; }
.edu-item-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.edu-item-desc { font-size: 0.8rem; color: var(--silver); line-height: 1.5; }
.edu-img-col {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
}
.edu-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════
   COMPLIANCE
══════════════════════════════════════════════════ */
.compliance-section {
  padding: 60px 0;
  background-color: var(--surface);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.010) 0px, rgba(255,255,255,0.010) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.010) 0px, rgba(255,255,255,0.010) 1px, transparent 1px, transparent 6px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.compliance-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.compliance-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.compliance-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border-h);
  border-radius: 50%;
  color: var(--gold);
}
.compliance-title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.compliance-text {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.55;
}
.compliance-right {
  border-left: 1px solid var(--border);
  padding-left: 48px;
  flex: 1;
}
.compliance-note {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════ */
.about-section { padding: var(--py) 0; background: var(--black); }
.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: center;
}
.about-logo {
  width: 100%; height: auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  mix-blend-mode: screen;
}
.about-eyebrow {
  font-family: var(--font-d); font-size: 0.7rem;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.about-eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--gold); }
.about-content .section-title { text-align: left; margin-bottom: 8px; }
.about-pillars {
  font-family: var(--font-d); font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.about-text { font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px; max-width: 560px; }
.about-content .btn-primary { margin-top: 8px; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
#site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: 68px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  margin-bottom: 52px;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.footer-logo { height: 88px; width: auto; border-radius: 0; object-fit: contain; }
.footer-tagline {
  font-family: var(--font-d); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.footer-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 220px; }

.footer-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.footer-group-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  font-family: var(--font-d); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  pointer-events: none;
}
.footer-chevron { display: none; transition: transform 0.24s ease; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.82rem; color: var(--muted);
  transition: color var(--tr), padding-left var(--tr);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.footer-brand-bottom {
  display: flex; align-items: center; gap: 10px;
}
.footer-copy {
  font-family: var(--font-d); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(184, 188, 200, 0.6);
}
.footer-legal-copy { font-size: 0.76rem; color: var(--muted); }

.footer-fda {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.footer-fda-heading {
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
}
.footer-fda-text {
  font-size: 0.86rem;
  color: rgba(114, 114, 138, 0.8);
  line-height: 1.7;
  max-width: 820px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — 1100px
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  .header-inner { padding: 0 40px; }
  .hero-content { padding-left: 40px; }
  .compound-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .edu-layout { grid-template-columns: 1fr 300px; gap: 40px; }
  .footer-groups { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 220px 1fr; gap: 40px; }
  .compliance-inner { gap: 32px; padding: 28px 36px; }
  .compliance-right { padding-left: 32px; }
  .about-inner { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --py: 68px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav a { font-size: 0.76rem; }
  .compound-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edu-grid { margin-top: 28px; }
  .edu-layout { grid-template-columns: 1fr; gap: 40px; }
  .edu-img-col { display: none; }
  .compliance-inner { flex-direction: column; gap: 24px; }
  .compliance-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .about-logo-wrap { width: 260px; margin: 0 auto; }
  .about-content .section-title { text-align: center; }
  .about-eyebrow { justify-content: center; }
  .about-text { margin: 0 auto 14px; text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-groups { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 62px; --py: 52px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; gap: 0; justify-content: space-between; }
  .header-utils { margin-left: 0; }

  .desktop-nav { display: none; }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex; }

  /* ── Hero mobile ── */
  .hero-section {
    min-height: 100vh;
    min-height: 100svh;
    background-image: url('../img/hero/hero-bg-mobile.webp');
    background-position: center top;
    align-items: flex-end;
    padding-bottom: 52px;
  }
  .hero-section::before {
    background: linear-gradient(
      0deg,
      rgba(8, 8, 8, 0.90) 0%,
      rgba(8, 8, 8, 0.68) 42%,
      rgba(8, 8, 8, 0.18) 78%,
      transparent 100%
    );
  }
  .hero-content { max-width: 100%; padding: 0 20px; }
  .hero-headline { font-size: clamp(2rem, 9vw, 2.9rem); margin-bottom: 14px; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 26px; }
  .btn-primary { width: 100%; justify-content: center; padding: 14px 24px; }

  /* ── Trust — 2 per row on mobile ── */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
  }
  .trust-item {
    border: none;
    background: var(--surface);
    padding: 16px 14px;
    gap: 10px;
  }
  .trust-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }
  .trust-icon { width: 36px; height: 36px; border-radius: 6px; }
  .trust-title { font-size: 0.74rem; }
  .trust-desc { font-size: 0.72rem; }

  /* ── Featured Peptides — 2-col portrait cards ── */
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .featured-card:hover { transform: none; }
  .featured-card:hover .featured-img { transform: none; }
  .featured-img-wrap { padding: 18px 12px 10px; }
  .featured-img { width: 90px; }
  .featured-info { padding: 8px 10px 14px; gap: 6px; }
  .featured-name { font-size: 0.78rem; }
  .btn-details { font-size: 0.66rem; }
  .section-row-header { margin-bottom: 20px; }

  /* ── Compounds — 2 per row ── */
  .compound-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .compound-img-wrap { min-height: 120px; padding: 16px 10px 8px; }
  .compound-img { width: 68px; }
  .compound-info { padding: 8px 10px 10px; gap: 8px; }
  .compound-name { font-size: 0.76rem; }

  /* ── Education — stacked cards ── */
  .edu-layout { display: block; }
  .edu-img-col { display: none; }
  .edu-eyebrow { display: none; }
  .edu-intro { display: none; }
  .edu-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 24px;
  }
  .edu-item { padding: 14px 10px; gap: 8px; }
  .edu-icon { width: 36px; height: 36px; }
  .edu-item-title { font-size: 0.76rem; }
  .edu-item-desc { font-size: 0.71rem; }
  .edu-heading { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  /* ── Compliance ── */
  .compliance-inner { padding: 24px 20px; flex-direction: column; gap: 20px; }
  .compliance-left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .compliance-right { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 20px; }

  /* ── About ── */
  .about-logo-wrap { width: 180px; margin: 0 auto; }
  .about-content .btn-primary { width: 100%; justify-content: center; }

  /* ── Footer mobile — accordion ── */
  #site-footer { padding-top: 44px; }
  .footer-top { gap: 36px; }
  .footer-groups { grid-template-columns: 1fr; gap: 0; }
  .footer-group-toggle {
    pointer-events: all;
    padding: 17px 0;
    margin-bottom: 0;
  }
  .footer-chevron { display: block; }
  .footer-links {
    max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
    padding-top: 0;
  }
  .footer-group.open .footer-links {
    max-height: 320px;
    padding-top: 8px;
    padding-bottom: 16px;
  }
  .footer-group.open .footer-chevron { transform: rotate(180deg); }
  .footer-bottom { align-items: flex-start; text-align: left; }
}

/* ══════════════════════════════════════════════════
   LARGE SCREENS 1440px+
══════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .container { padding: 0 80px; }
  .header-inner { padding: 0 80px; }
  .hero-content { padding-left: 80px; }
  .compound-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ══════════════════════════════════════════════════════════════════════
   CARTFLY COMPATIBILITY LAYER

   Everything above this point is the Helix stylesheet as written, save for
   the Google Fonts @import that the @font-face block at the top replaces.
   Nothing above is namespaced, rewritten or reformatted.

   WHY THIS EXISTS. CartFly always loads themes/default/assets/css/theme.css
   before a theme's own sheet, with no opt-out (StorefrontContext::
   stylesheets). Helix opens with a global reset - `*{margin:0;padding:0}`,
   `a{text-decoration:none}`, `ul{list-style:none}`, `img{...}` - which lands
   on top of it. This theme overrides the views where Helix has a real design
   and inherits the rest (cart, checkout, auth, account, CMS pages, the access
   wall, errors), so those inherited screens have to survive the reset.

   WHAT IT IS NOT. It is not a copy of default/theme.css. Default styles its
   components with classes, and class selectors (0,1,0) already outrank every
   selector in the Helix reset (0,0,1) - so buttons, cards, tables, panels,
   the quantity stepper, search and every form control keep their styling
   without help. Only four things actually break, and only they are restored.

   SCOPE. `.cf-main` is the layout's content wrapper. Restorations additionally
   require the element to be unclassed or CartFly-classed, which separates the
   two design systems cleanly: measured against the real files, Helix's home
   page carries 81 prose elements and 100% of them are classed, while
   default's views leave 18 of 20 <h1> and 25 of 26 <h2> unclassed. Helix
   markup is therefore untouched by everything below.
   ═════════════════════════════════════════════════════════════════════ */

/* ── 1. Palette ────────────────────────────────────────────────────────
   Default's tokens describe a white shop. Mapped onto Helix's own
   variables rather than restated, so a change to the Helix palette above
   carries into the inherited screens automatically.

   --cf-accent / --cf-accent-text are deliberately absent: the shared
   layout emits them in an inline <style> AFTER this file, so anything set
   here would be dead. They come from theme.json settings instead. */
:root {
    --cf-bg: var(--black);
    --cf-surface: var(--card);
    --cf-fg: var(--text);
    --cf-muted: var(--muted);
    --cf-line: var(--border);
    --cf-line-strong: var(--border-h);
    --cf-panel: var(--surface);

    --cf-radius: var(--radius);
    --cf-radius-sm: var(--radius-sm);
    --cf-max: var(--max-w);

    /* Legible on black rather than default's paper-tinted pairs. */
    --cf-warn: #f0c674;
    --cf-warn-bg: rgba(240, 198, 116, 0.10);
    --cf-ok: #7fd6a8;
    --cf-ok-bg: rgba(127, 214, 168, 0.10);

    --cf-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 6px 16px rgba(0, 0, 0, 0.55);
}

/* ── 2. Images ─────────────────────────────────────────────────────────
   Helix's reset sets display and max-width but drops the `height: auto`
   default relied on, which distorts any <img> carrying width/height
   attributes once CSS constrains one axis. */
img {
    height: auto;
}

/* ── 3. Prose spacing ──────────────────────────────────────────────────
   `*{margin:0}` removed the browser margins default's views were written
   against, collapsing headings and paragraphs into a solid block. Restored
   at the browser's own values so the inherited screens read as intended -
   this is the CMS page, the order confirmation, the access wall and every
   account screen. */
.cf-main :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, dl):is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    margin-block: 1em;
}

.cf-main :is(h1, h2):is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    margin-block: 0.67em;
}

.cf-main :is(h3, h4, h5, h6):is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    margin-block: 0.83em;
}

/* ── 4. Lists ──────────────────────────────────────────────────────────
   Helix hides bullets for its navigation. CartFly's inherited lists are
   real content lists and need their markers back. */
.cf-main :is(ul, ol):is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    padding-left: 1.5rem;
}

.cf-main ul:is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    list-style: disc;
}

.cf-main ol:is(:not([class]), [class^="cf-"], [class*=" cf-"]) {
    list-style: decimal;
}

/* ── 5. Links ──────────────────────────────────────────────────────────
   Helix's `a{text-decoration:none}` plus default's `a{color:inherit}`
   leaves an inherited link with nothing at all to distinguish it from
   surrounding text - it is invisible, not merely plain.

   Scoped by ANCESTOR rather than by the anchor's own class, because
   unclassed anchors exist on both sides (57 in Helix's home page, 29 in
   default's views); what separates them is that CartFly's sit inside a
   cf- container and Helix's never do. */
.cf-main :is([class^="cf-"], [class*=" cf-"]) a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cf-main :is([class^="cf-"], [class*=" cf-"]) a:not([class]):hover {
    color: var(--gold);
}

/* ── 6. Form controls ──────────────────────────────────────────────────
   Not a reset casualty. Default hardcodes `background:#fff` with
   `color:inherit` on inputs, which on Helix's dark page renders white text
   on a white field - text that cannot be read while it is typed. The
   selector list matches default's own so it lands with equal specificity
   and wins on order. */
.cf-main input[type="text"],
.cf-main input[type="email"],
.cf-main input[type="password"],
.cf-main input[type="tel"],
.cf-main input[type="search"],
.cf-main input[type="number"],
.cf-main select,
.cf-main textarea {
    background: var(--card);
    color: var(--text);
    border-color: var(--border);
}

.cf-main :is(input, select, textarea):focus {
    outline: 2px solid var(--gold-dim);
    outline-offset: 1px;
    border-color: var(--border-h);
}

.cf-main ::placeholder {
    color: var(--muted);
    opacity: 1;
}

/* Native pickers render their own dark UI rather than a white sliver. */
.cf-main :is(input, select, textarea) {
    color-scheme: dark;
}

/* ── 6b. Access wall form controls ─────────────────────────────────────
   The wall is its own page - body.cf-wall-body, main.cf-wall - with no
   .cf-main anywhere, so none of section 6 reaches it. That left default's
   `background:#fff; color:inherit` alone on the wall's inputs and select,
   and on Helix "inherit" is near-white: the Institution Type select showed
   white text on a white field, and typed text vanished the same way.

   The field stays white; only the text becomes dark enough to read on it,
   and the control opts into a light colour-scheme so the native option
   list opens light-on-dark-text to match, rather than a dark list under a
   white field. Focus keeps Helix's gold. */
.cf-wall-body input[type="text"],
.cf-wall-body input[type="email"],
.cf-wall-body input[type="password"],
.cf-wall-body input[type="tel"],
.cf-wall-body input[type="date"],
.cf-wall-body select,
.cf-wall-body textarea {
    color: #15151a;
    -webkit-text-fill-color: #15151a;
    color-scheme: light;
}

.cf-wall-body select option {
    color: #15151a;
    background: #fff;
}

.cf-wall-body ::placeholder {
    color: #6b6b78;
    -webkit-text-fill-color: #6b6b78;
    opacity: 1;
}

.cf-wall-body :is(input, select, textarea):focus {
    outline: 2px solid var(--gold-dim);
    outline-offset: 1px;
}

/* Nothing styles fieldset, so the browser's own `2px groove` border was
   drawing around the account section - invisible enough on default's pale
   panel, a bright white rectangle on this theme's black one. The section
   is a grouping, not a box: the border goes, and with it the UA padding
   and margin that only existed to hold the border off the fields. */
.cf-wall-body .cf-wall__section {
    border: 0;
    padding: 0;
    margin: 0 0 0.5rem;
    min-width: 0;
}

.cf-wall-body .cf-wall__section legend {
    padding: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* ── 7. Cart count ─────────────────────────────────────────────────────
   The source's cart control was a button with no count, because the site
   sold nothing. This is the one piece of new UI the port adds, drawn in
   Helix's own palette rather than default's. */
.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #080808;
    font-family: var(--font-d);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    pointer-events: none;
}

/* ── 8. Sale price ─────────────────────────────────────────────────────
   The source site sold nothing, so it had no notion of a compare-at
   price. Rendered in Helix's muted tone beside the live price. */
.featured-price-was {
    margin-left: 0.4em;
    color: var(--muted);
    font-weight: 400;
    text-decoration: line-through;
}

/* ══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL

   The source site sold nothing and had no product page, so this is built
   from the tokens and treatments already above: --gold on --surface, the
   --border / --border-h pair the cards use, --radius, the --py section
   rhythm, --font-d for display type. The gradient heading is the same
   one .section-title-left uses.

   Breakpoints match the source's own (900 / 768) rather than introducing
   new ones.
   ═════════════════════════════════════════════════════════════════════ */

.product-section {
    padding: calc(var(--header-h) + 40px) 0 var(--py);
    background: var(--surface);
}

.product-back {
    margin-bottom: 28px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* --- Media ---------------------------------------------------------- */

.product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--tr);
}

.product-media:hover {
    border-color: var(--border-h);
}

.product-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

/* --- Thumbnails ------------------------------------------------------
   Only rendered when there is more than one image. The active state is
   the gold border the cards already use for hover, so a selected thumb
   reads the same way a focused card does elsewhere on the site. */

.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-thumb {
    width: 72px;
    height: 72px;
    padding: 6px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--tr), box-shadow var(--tr);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumb:hover {
    border-color: var(--border-h);
}

/* The selected image, marked by storefront.js. Not hover-only: it stays
   visible without a pointer, which is the whole point of the state. */
.product-thumb.is-active {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold-dim), 0 4px 16px var(--gold-glow);
}

/* Keyboard focus must be visible in its own right - the reset stripped
   the browser default along with the button chrome. */
.product-thumb:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

/* --- Information ---------------------------------------------------- */

.product-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.product-cat {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gold);
    font-family: var(--font-d);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color var(--tr), background var(--tr);
}

.product-cat:hover {
    border-color: var(--border-h);
    background: var(--gold-glow);
}

.product-title {
    font-family: var(--font-d);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--silver) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-price {
    margin-top: 18px;
    color: var(--text);
    font-family: var(--font-d);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.product-price-was {
    margin-left: 10px;
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 400;
}

.product-stock,
.product-unavailable {
    margin-top: 10px;
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-sku {
    margin-top: 18px;
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* --- Add to cart ---------------------------------------------------- */

.product-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.product-qty-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.qty-stepper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    background: var(--card);
    color: var(--gold);
    font-family: var(--font-d);
    font-size: 1.15rem;
    line-height: 1;
    transition: background var(--tr), color var(--tr);
}

.qty-btn:hover {
    background: var(--card-hover);
    color: var(--gold-light);
}

/* Overrides the compatibility layer's generic field styling, which has no
   way to know this input sits inside a bordered stepper. */
.cf-main .qty-input,
.qty-input {
    width: 62px;
    padding: 11px 0;
    border: 0;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: #000;
    color: var(--text);
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-add {
    flex: 1 1 200px;
    justify-content: center;
}

.product-status {
    margin-top: 12px;
    color: var(--gold);
    font-family: var(--font-d);
    font-size: 0.84rem;
    letter-spacing: 0.06em;
}

.product-status:empty {
    display: none;
}

/* --- Description ---------------------------------------------------- */

.product-description {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.product-description-title {
    margin-bottom: 18px;
    color: var(--gold);
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-description-body {
    max-width: 760px;
    color: var(--silver);
    font-size: 0.98rem;
    line-height: 1.75;
}

/* --- Responsive: the source's own breakpoints ----------------------- */

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-media {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: calc(var(--header-h) + 24px) 0 56px;
    }

    .product-media {
        padding: 20px;
    }

    .product-price {
        font-size: 1.45rem;
    }

    /* The stepper and the button stack rather than squeezing, so neither
       overflows a 375px viewport. */
    .product-form {
        gap: 14px;
    }

    .product-add {
        flex: 1 1 100%;
    }

    .product-description {
        margin-top: 44px;
        padding-top: 28px;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   COLLECTION

   The catalogue listing reuses .compound-grid and .compound-card from the
   home page verbatim, so only the page frame, the controls and the price
   line are new. Breakpoints are the source's own (900 / 768).
   ═════════════════════════════════════════════════════════════════════ */

.collection-section {
    padding: calc(var(--header-h) + 40px) 0 var(--py);
    background: var(--surface);
}

.sr-only-helix {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.collection-clear {
    color: var(--gold);
    font-family: var(--font-d);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-bottom: 1px solid var(--border);
    transition: border-color var(--tr);
}

.collection-clear:hover {
    border-color: var(--gold);
}

/* --- Controls -------------------------------------------------------- */

.collection-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.collection-search {
    display: flex;
    gap: 10px;
    max-width: 460px;
}

/* Wins over the compatibility layer's generic field styling, which cannot
   know this input sits in a search row. */
.cf-main .collection-search input[type="search"],
.collection-search input[type="search"] {
    flex: 1 1 auto;
    padding: 11px 14px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-d);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    transition: border-color var(--tr);
}

.collection-search input[type="search"]:focus {
    border-color: var(--border-h);
}

.collection-search input[type="search"]::placeholder {
    color: var(--muted);
    letter-spacing: 0.12em;
}

.collection-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.collection-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color var(--tr), border-color var(--tr), background var(--tr);
}

.collection-cat:hover {
    color: var(--text);
    border-color: var(--border-h);
}

.collection-cat.is-active {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-glow);
}

.collection-cat-count {
    color: var(--muted);
    font-size: 0.68rem;
}

.collection-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.collection-tags-label {
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.collection-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--silver);
    font-family: var(--font-d);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.collection-tag input {
    width: 14px;
    height: 14px;
    accent-color: var(--gold);
}

/* --- Price on the listing card --------------------------------------- */

.compound-price {
    margin-top: 6px;
    color: var(--text);
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.compound-price-was {
    margin-left: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}

/* --- Empty state ----------------------------------------------------- */

.collection-empty {
    padding: 72px 24px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #000;
}

.collection-empty-title {
    margin-bottom: 20px;
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.16em;
}

/* --- Pagination ------------------------------------------------------ */

.collection-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.collection-page {
    padding: 9px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-family: var(--font-d);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    transition: border-color var(--tr), background var(--tr);
}

.collection-page:hover {
    border-color: var(--border-h);
    background: var(--gold-glow);
}

.collection-page.is-disabled {
    color: var(--muted);
    border-color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.collection-page-status {
    color: var(--muted);
    font-family: var(--font-d);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
}

/* --- Responsive: the source's own breakpoints ------------------------ */

@media (max-width: 768px) {
    .collection-section {
        padding: calc(var(--header-h) + 24px) 0 56px;
    }

    .collection-search {
        max-width: none;
    }

    /* Nothing in the pagination row is allowed to push the page wide. */
    .collection-pagination {
        gap: 10px;
        margin-top: 36px;
    }

    .collection-page {
        padding: 9px 14px;
        font-size: 0.72rem;
    }

    .collection-page-status {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   HEADER SEARCH

   The source shipped a search icon that did nothing. It is now a real GET
   form to the collection route, drawn to sit in the header as quietly as
   the icon did - the field only widens on focus, so the header keeps its
   original balance until someone actually reaches for it.
   ═════════════════════════════════════════════════════════════════════ */

.header-search {
    display: flex;
    align-items: center;
    gap: 2px;
}

.cf-main .header-search input[type="search"],
.header-search input[type="search"] {
    width: 108px;
    padding: 7px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font-d);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: width var(--tr), border-color var(--tr), background var(--tr);
}

.header-search input[type="search"]::placeholder {
    color: var(--muted);
    letter-spacing: 0.14em;
}

.header-search input[type="search"]:focus {
    width: 190px;
    background: #000;
    border-color: var(--border-h);
    outline: none;
}

.header-search .icon-btn:hover {
    color: var(--gold);
}

@media (max-width: 1100px) {
    .header-search input[type="search"] {
        width: 84px;
    }

    .header-search input[type="search"]:focus {
        width: 150px;
    }
}

/* --- The drawer's copy ------------------------------------------------ */

.mobile-nav-search {
    display: flex;
    gap: 8px;
    padding: 18px 26px 0;
}

.cf-main .mobile-nav-search input[type="search"],
.mobile-nav-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-d);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.mobile-nav-search input[type="search"]::placeholder {
    color: var(--muted);
}

/* ══════════════════════════════════════════════════════════════════════
   PROMO BAR

   Merchant-configured announcement, drawn in Helix's own language: the gold
   gradient the primary button uses, Rajdhani display type, the compact
   letter-spaced treatment of the trust and compliance strips.

   DISPLAY ONLY - the text announces an offer, it never creates one.

   The message is rendered twice when scrolling and the track translates by
   exactly -50%, so the second copy arrives where the first began and the loop
   is seamless rather than snapping. The duplicate carries aria-hidden, so a
   screen reader hears it once. Reduced motion pins it static rather than
   hiding it - the message is content.
   ═════════════════════════════════════════════════════════════════════ */

.promo-bar {
    position: relative;
    z-index: 1101;
    background: var(--cf-promo-background, linear-gradient(135deg, var(--gold-light), var(--gold)));
    color: var(--cf-promo-text, #080808);
    font-family: var(--cf-promo-font, var(--font-d));
    font-size: var(--cf-promo-size, 0.74rem);
    font-weight: var(--cf-promo-weight, 700);
    font-style: var(--cf-promo-style, normal);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    /* Contains the moving track: without this the page scrolls sideways. */
    overflow: hidden;
}

.promo-bar-inner {
    display: block;
    padding: 8px 16px;
    color: inherit;
    text-align: center;
}
.promo-bar-inner:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

.promo-bar-cta {
    margin-left: 10px;
    padding-bottom: 1px;
    border-bottom: 1px solid var(--cf-promo-text, rgba(8, 8, 8, 0.55));
}

.promo-bar.is-scrolling .promo-bar-inner {
    text-align: left;
    white-space: nowrap;
}

.promo-bar.is-scrolling .promo-bar-track {
    display: inline-flex;
    animation: helix-promo-scroll 26s linear infinite;
    will-change: transform;
}

.promo-bar.is-scrolling .promo-bar-item {
    padding-right: 4rem;
}

@keyframes helix-promo-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .promo-bar {
        font-size: var(--cf-promo-size, 0.68rem);
        letter-spacing: 0.12em;
    }

    .promo-bar-inner {
        padding: 7px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-bar.is-scrolling .promo-bar-track {
        animation: none;
    }

    .promo-bar.is-scrolling .promo-bar-inner {
        text-align: center;
        white-space: normal;
    }

    .promo-bar.is-scrolling .promo-bar-item[aria-hidden="true"] {
        display: none;
    }
}

/* Below-hero placement: same bar, sitting in the page flow rather than above
   the header, so it does not need the header's stacking context. */
.promo-bar--below {
    z-index: auto;
}
