/*
Theme Name: Double Helix Labs Research Child
Theme URI: https://doublehelixlabs.com
Description: GeneratePress child theme for Double Helix Labs Research — research chemical e-commerce site.
Author: Double Helix Labs
Version: 1.0.0
Template: generatepress
*/

/* ═══════════════════════════════════════════════════════════════
   DOUBLE HELIX LABS — Brand Style Sheet
   Navy #0D1B2A | Teal #00B4D8 | Gold #F0A500
   Prepared by Kandi Kane & The Lollipops
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0D1B2A;
  --navy-dk: #080F1A;
  --teal:    #00B4D8;
  --teal-dk: #0096C7;
  --gold:    #F0A500;
  --gold-lt: #FFF8E7;
  --white:   #FFFFFF;
  --off-white: #EAF4F8;
  --gray:    #7A8FA6;
  --gray-lt: #F4F7FC;
  --gray-md: #CBD5E0;
  --dark:    #1A2535;
  --red:     #C0392B;
  --red-lt:  #FDECEA;
  --green:   #2D6A4F;

  --font-head: 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --transition: all 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dk); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

.text-teal  { color: var(--teal); }
.text-gold  { color: var(--gold); }
.text-navy  { color: var(--navy); }
.text-gray  { color: var(--gray); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.bold { font-weight: 700; }
.italic { font-style: italic; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-off { background: var(--off-white); }
.section-gray { background: var(--gray-lt); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dk); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d48e00; color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-dk);
  border-bottom: 2px solid var(--teal);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .logo-main {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo .logo-sub {
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-md);
  font-size: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { margin-left: 16px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 60%, #0A2540 100%);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.4);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-md);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-disclaimer {
  margin-top: 32px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.78rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.6;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--teal);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.trust-item .trust-icon {
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--teal);
  flex-shrink: 0;
  font-weight: 700;
}
.trust-item span {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  border: 1px solid var(--gray-md);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-dark {
  background: var(--navy);
  border-color: rgba(0,180,216,0.2);
  color: var(--off-white);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-teal-border { border-top: 4px solid var(--teal); }
.card-gold-border { border-top: 4px solid var(--gold); }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.card-dark .card-icon { background: rgba(0,180,216,0.12); }

/* ── SECTION HEADERS ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-title + p { color: var(--gray); max-width: 600px; }
.section-header-center { text-align: center; }
.section-header-center .section-title + p { margin: 0 auto; }

/* ── COMPLIANCE BANNER ──────────────────────────────────────── */
.compliance-banner {
  background: var(--gold-lt);
  border: 1px solid var(--gold);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-size: 0.85rem;
  color: #5A4000;
  line-height: 1.7;
}
.compliance-banner strong { color: #3D2B00; }

.research-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0,180,216,0.3);
}

/* ── COA SECTION ────────────────────────────────────────────── */
.coa-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.coa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}
.coa-stat {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.coa-stat:last-child { border-right: none; }
.coa-stat .stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  display: block;
}
.coa-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-md);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card-header {
  background: var(--navy);
  padding: 24px;
  position: relative;
}
.product-card-header h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.product-card-tag {
  display: inline-block;
  background: rgba(0,180,216,0.2);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0,180,216,0.3);
}
.product-card-body { padding: 24px; }
.product-card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 16px; }
.product-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-coa-link {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── RESEARCH LIBRARY ───────────────────────────────────────── */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1A3050 100%);
  padding: 24px;
  border-bottom: 3px solid var(--teal);
}
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.article-card-header h3 { color: var(--white); font-size: 1rem; }
.article-card-body { padding: 20px 24px; flex: 1; }
.article-card-body p { font-size: 0.85rem; color: var(--gray); margin-bottom: 0; }
.article-card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.article-meta { font-size: 0.75rem; color: var(--gray-md); }

/* ── TABLES ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}
tbody td { padding: 13px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--gray-md); }
tbody tr:nth-child(even) { background: var(--gray-lt); }
tbody tr:hover { background: var(--off-white); }
.td-red { color: var(--red); font-weight: 700; }
.td-green { color: var(--green); font-weight: 700; }
.td-gold { color: var(--gold); font-weight: 700; }

/* ── DISCLAIMER SECTION ─────────────────────────────────────── */
.disclaimer-block {
  background: var(--navy);
  border: 1px solid rgba(240,165,0,0.3);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.disclaimer-block h3 { color: var(--gold); margin-bottom: 12px; }
.disclaimer-block p, .disclaimer-block li {
  color: #E8EDF2;
  font-size: 0.85rem;
  line-height: 1.8;
}
.disclaimer-block ul { padding-left: 20px; }
.disclaimer-block li { margin-bottom: 6px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dk);
  border-top: 3px solid var(--teal);
  padding: 60px 0 32px;
  color: var(--gray);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-main {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand .logo-sub {
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.83rem; line-height: 1.7; color: var(--gray); }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--gray); font-size: 0.85rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 700px;
}
.footer-copy { font-size: 0.75rem; color: var(--gray); white-space: nowrap; }

/* ── PAGE HEADER (inner pages) ──────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 100%);
  padding: 180px 0 48px;
  border-bottom: 3px solid var(--teal);
}
.page-header .section-label { display: block; margin-bottom: 10px; }
.page-header h1 { color: var(--white); margin-bottom: 14px; }
.page-header p { color: var(--gray-md); max-width: 560px; }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-md); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 24px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── ALERT BOXES ────────────────────────────────────────────── */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.alert-gold { background: var(--gold-lt); border-left: 4px solid var(--gold); color: #5A4000; }
.alert-red   { background: var(--red-lt); border-left: 4px solid var(--red); color: var(--red); }
.alert-teal  { background: var(--off-white); border-left: 4px solid var(--teal); color: var(--navy); }

/* ── MOBILE ─────────────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 120px 0 72px; }
  .coa-card { padding: 24px; }
  .trust-bar-inner { gap: 20px; }
  .page-header { padding: 140px 24px 40px !important; }
  .coa-card .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .coa-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
  .coa-stat:last-child { border-bottom: none !important; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section { padding: 48px 0; }
  .btn { padding: 12px 24px; font-size: 0.82rem; }
  h2 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .page-header { padding: 130px 20px 32px !important; }
  .coa-card .grid-4 { grid-template-columns: 1fr !important; }
  .legal-wrap { gap: 24px; }
}

/* ── WORDPRESS OVERRIDES ────────────────────────────────────────────────────── */
body { margin: 0; }
.site-header { display: none; }
.site-footer { display: none; }
#page { padding-top: 0; }
.entry-content { max-width: 100%; padding: 0; }
img { max-width: 100%; }

/* ── MOBILE MENU TOGGLE ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dk);
    border-bottom: 2px solid var(--teal);
    padding: 16px 24px 24px;
    gap: 16px;
    z-index: 999;
  }
  .mobile-menu-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-btn.is-active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── COA STATS GRID ─────────────────────────────────────────── */
.coa-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .coa-stats-grid { grid-template-columns: 1fr 1fr !important; }
  .coa-stats-grid .vault-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
  .coa-stats-grid .vault-stat:last-child { border-bottom: none !important; }
}
@media (max-width: 600px) {
  .coa-stats-grid { grid-template-columns: 1fr !important; }
}
