/* ============================================
   HOPPESYLER SCIENTIFIC v2
   Design System: Precision Genomics
   Aesthetic: Deep navy + surgical white + teal accent
   ============================================ */

/* --- 1. CSS Custom Properties --- */
:root {
  /* Brand Accent — mint primary, ocean secondary */
  --hs-mint: #10b981;
  --hs-mint-hover: #059669;
  --hs-mint-light: #ecfdf5;
  --hs-mint-glow: rgba(16, 185, 129, 0.12);
  --hs-secondary: #0284c7;
  --hs-secondary-light: #f0f9ff;
  --hs-secondary-glow: rgba(2, 132, 199, 0.12);

  /* Navy Palette */
  --hs-navy-950: #060d1a;
  --hs-navy-900: #0B1426;
  --hs-navy-800: #111d35;
  --hs-navy-700: #1a2a4a;
  --hs-navy-600: #243660;
  --hs-navy-500: #2e4578;

  /* Slate / Gray */
  --hs-slate-600: #475569;
  --hs-slate-500: #64748b;
  --hs-slate-400: #94a3b8;
  --hs-slate-300: #cbd5e1;
  --hs-slate-200: #e2e8f0;
  --hs-slate-100: #f1f5f9;
  --hs-slate-50: #f8fafc;

  /* Surfaces */
  --hs-white: #ffffff;
  --hs-bg-light: #f8f9fc;
  --hs-bg-alt: #f1f4f8;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --section-py-sm: clamp(3rem, 5vw, 4.5rem);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,20,38,0.06), 0 1px 2px rgba(10,20,38,0.04);
  --shadow-md: 0 4px 6px -1px rgba(10,20,38,0.07), 0 2px 4px -1px rgba(10,20,38,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(10,20,38,0.08), 0 4px 6px -2px rgba(10,20,38,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(10,20,38,0.1), 0 10px 10px -5px rgba(10,20,38,0.03);
  --shadow-hover: 0 14px 28px rgba(10,20,38,0.1), 0 4px 10px rgba(10,20,38,0.05);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);
}

/* --- 2. Base & Reset --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--hs-navy-900);
  background: var(--hs-white);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: var(--hs-mint);
  color: white;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--hs-mint);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--hs-mint-hover); }

/* --- 3. Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hs-navy-900);
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--hs-slate-600);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hs-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--hs-secondary);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--hs-mint);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-label i { font-size: 1rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--hs-mint) 0%, var(--hs-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 4. Buttons --- */
.btn-hs-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  color: white;
  background: var(--hs-mint);
  border: 2px solid var(--hs-mint);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}
.btn-hs-primary:hover {
  background: var(--hs-mint-hover);
  border-color: var(--hs-mint-hover);
  color: white;
  box-shadow: 0 4px 14px var(--hs-mint-glow);
  transform: translateY(-1px);
}
.btn-hs-primary:active { transform: translateY(0); }

.btn-hs-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--hs-mint);
  background: transparent;
  border: 2px solid var(--hs-mint);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}
.btn-hs-outline:hover {
  background: var(--hs-mint);
  color: white;
  transform: translateY(-1px);
}

.btn-hs-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
}
.btn-hs-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: white;
  transform: translateY(-1px);
}

.btn-hs-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-hs-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hs-mint);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-hs-ghost:hover { color: var(--hs-mint-hover); gap: 0.5rem; }
.btn-hs-ghost i { transition: transform var(--transition-fast); }
.btn-hs-ghost:hover i { transform: translateX(2px); }

/* Override Bootstrap .btn-primary for forms using Bootstrap defaults */
.btn.btn-primary {
  background: var(--hs-mint);
  border-color: var(--hs-mint);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.5rem;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: var(--hs-mint-hover);
  border-color: var(--hs-mint-hover);
  box-shadow: 0 4px 14px var(--hs-mint-glow);
}
.btn.btn-outline-primary {
  color: var(--hs-mint);
  border-color: var(--hs-mint);
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.65rem 1.5rem;
}
.btn.btn-outline-primary:hover {
  background: var(--hs-mint);
  border-color: var(--hs-mint);
  color: white;
}

/* --- 5. Navigation --- */
.hs-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hs-slate-200);
  transition: box-shadow var(--transition-base);
}
.hs-header.scrolled {
  box-shadow: var(--shadow-md);
}

.hs-header .navbar { padding: 0.6rem 0; }

.hs-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--hs-navy-900);
  text-decoration: none;
}
.hs-header .navbar-brand:hover { color: var(--hs-navy-900); }
.hs-header .brand-logo {
  height: 36px;
  width: auto;
}

.hs-header .nav-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hs-slate-600);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.hs-header .nav-link:hover,
.hs-header .nav-link.active {
  color: var(--hs-navy-900);
}
.hs-header .nav-link.active {
  color: var(--hs-mint);
}

.hs-header .dropdown-menu {
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  margin-top: 0.25rem;
}
.hs-header .dropdown-item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--hs-slate-600);
  transition: all var(--transition-fast);
}
.hs-header .dropdown-item:hover,
.hs-header .dropdown-item:focus {
  background: var(--hs-mint-light);
  color: var(--hs-navy-900);
}
.hs-header .dropdown-item:active,
.hs-header .dropdown-item.active {
  background: var(--hs-mint-light);
  color: var(--hs-mint);
}

.hs-header .external-icon { font-size: 0.7em; opacity: 0.5; margin-left: 0.2rem; }

.hs-header .navbar-toggler {
  border: none;
  padding: 0.4rem;
}
.hs-header .navbar-toggler:focus { box-shadow: none; }

/* --- 6. Hero Sections --- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem clamp(4rem, 10vw, 7rem);
  background: linear-gradient(170deg, var(--hs-navy-950) 0%, var(--hs-navy-800) 50%, var(--hs-navy-700) 100%);
  color: white;
  overflow: hidden;
}

/* Molecular dot grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Decorative gradient orbs — mint + ocean, cover full hero to avoid hard edges */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 75% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 40% 60% at 85% 60%, rgba(2, 132, 199, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.hero h1 {
  color: white;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 850px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.8s var(--ease-out) both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.8s var(--ease-out) 0.1s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s both;
}

/* Homepage hero — taller */
.hero--home {
  min-height: 85vh;
  padding-bottom: clamp(5rem, 12vw, 8rem);
}

/* Inner page hero — shorter */
.hero--inner {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem clamp(3rem, 6vw, 5rem);
}

/* Compact hero — even shorter */
.hero--compact {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(2.5rem, 4vw, 3.5rem);
}

/* Landing hero with value cards */
.hero--landing {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-value-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto 2.5rem;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-value-card {
  flex: 1 1 200px;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  text-align: center;
  line-height: 1.5;
}
.hero-value-card strong {
  display: block;
  color: white;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

/* ACTG DNA sparkle background */
.hero-dna {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* Soft elliptical mask keeps text area clear */
  -webkit-mask-image: radial-gradient(ellipse 29% 29% at 49% 48%, transparent 0%, transparent 55%, rgba(0,0,0,0.4) 75%, black 100%);
  mask-image: radial-gradient(ellipse 29% 29% at 49% 48%, transparent 0%, transparent 55%, rgba(0,0,0,0.4) 75%, black 100%);
}
.hero-dna span {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sparkle-color, rgba(16, 185, 129, 0.6));
  text-shadow: 0 0 8px var(--sparkle-color, rgba(16, 185, 129, 0.3));
  opacity: 0;           /* animation takes over */
  user-select: none;
  will-change: opacity;
}
/* Four distinct fade profiles — assigned randomly per letter in JS
   to break the uniform "pulsing" feel */
@keyframes dna-sparkle-a {          /* Symmetric gentle pulse */
  0%, 100% { opacity: 0; }
  25% { opacity: var(--sparkle-peak, 0.15); }
  50% { opacity: var(--sparkle-peak, 0.15); }
  75% { opacity: 0; }
}
@keyframes dna-sparkle-b {          /* Quick flash, long rest */
  0%, 100% { opacity: 0; }
  8%  { opacity: var(--sparkle-peak, 0.15); }
  18% { opacity: var(--sparkle-peak, 0.15); }
  30% { opacity: 0; }
}
@keyframes dna-sparkle-c {          /* Slow build, brief hold */
  0%, 100% { opacity: 0; }
  45% { opacity: var(--sparkle-peak, 0.15); }
  55% { opacity: var(--sparkle-peak, 0.15); }
  65% { opacity: 0; }
}
@keyframes dna-sparkle-d {          /* Quick appear, lingering fade */
  0%, 100% { opacity: 0; }
  8%  { opacity: var(--sparkle-peak, 0.15); }
  20% { opacity: var(--sparkle-peak, 0.15); }
  75% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dna { display: none; }
}

/* --- 7. Section Layouts --- */
.hs-section {
  padding: var(--section-py) 0;
}

/* Visible separator between consecutive same-background sections */
.hs-section + .hs-section {
  border-top: 1px solid var(--hs-slate-200);
}
/* Don't double-border when switching to a variant */
.hs-section + .hs-section--light,
.hs-section--light + .hs-section,
.hs-section + .hs-section--dark,
.hs-section--dark + .hs-section { border-top: none; }

/* Gradient fade divider between same-background sections */
.hs-section-break {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.25rem 0;
}
.hs-section-break::after {
  content: '';
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hs-slate-200), transparent);
}
.hs-section + .hs-section-break + .hs-section { border-top: none; }

/* Soft edge blend — fades image edges into the page background */
.img-blend-edge {
  position: relative;
  line-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.img-blend-edge::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px 20px white;
  pointer-events: none;
}
.img-blend-edge::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, white 0%, white 5%, transparent 18%, transparent 80%, white 100%);
  pointer-events: none;
}

/* Soft variant — gentle all-around fade for images on white backgrounds */
.img-blend-edge--soft {
  position: relative;
  line-height: 0;
  overflow: hidden;
}
.img-blend-edge--soft::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 28px 22px white;
  pointer-events: none;
}

.hs-section--light {
  background: var(--hs-bg-alt);
  border-top: 1px solid var(--hs-slate-200);
  border-bottom: 1px solid var(--hs-slate-200);
}
.hs-section--alt {
  background: var(--hs-bg-alt);
}
.hs-section--dark {
  background: var(--hs-navy-900);
  color: white;
}
.hs-section--dark h2,
.hs-section--dark h3,
.hs-section--dark h4 { color: white; }
.hs-section--dark .lead { color: rgba(255,255,255,0.7); }
.hs-section--dark .section-label { color: rgba(255,255,255,0.7); border-bottom-color: var(--hs-secondary); }

.container-tight { max-width: 800px; margin: 0 auto; }

/* CTA — Cool Glass Card (self-contained blue accent, independent of site palette) */
.cta-dark {
  background: #f0f4f8;
  color: #0B1426;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-dark::before { display: none; }
.cta-dark > .container {
  background: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 16px rgba(59,130,246,0.08);
}
.cta-dark h2, .cta-dark h3, .cta-dark h4, .cta-dark h5 { color: #0B1426 !important; }
.cta-dark p, .cta-dark .lead, .cta-dark .small, .cta-dark small { color: #475569 !important; }
.cta-dark .section-label { color: #3b82f6 !important; border-bottom-color: #3b82f6 !important; }
.cta-dark .btn-hs-primary { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.cta-dark .btn-hs-primary:hover { background: #2563eb; border-color: #2563eb; }
.cta-dark .btn-hs-outline-light { color: #3b82f6 !important; border-color: #3b82f6; background: transparent; }
.cta-dark .btn-hs-outline-light:hover { background: #3b82f6; color: #fff !important; }

/* --- 8. Cards --- */
.hs-card {
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
}
.hs-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--hs-mint);
}

/* Service card with ocean top accent */
.hs-card--service {
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-top: 3px solid var(--hs-secondary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
  height: 100%;
}
.hs-card--service:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-top-color: var(--hs-mint);
}
.hs-card--service .card-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hs-navy-900);
  margin-bottom: 0.75rem;
}
.hs-card--service .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--hs-secondary-light);
  color: var(--hs-secondary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.hs-card--service:hover .card-icon {
  background: var(--hs-mint-light);
  color: var(--hs-mint);
}

/* Metric / info card with left accent */
.hs-card--metric {
  background: var(--hs-bg-light);
  border: 1px solid var(--hs-slate-200);
  border-left: 4px solid var(--hs-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}
.hs-card--metric .panel-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hs-slate-500);
  margin-bottom: 0.75rem;
}

/* Inquiry type card */
.hs-card--inquiry {
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition-base);
}
.hs-card--inquiry:hover {
  border-color: var(--hs-secondary);
  box-shadow: 0 0 0 1px var(--hs-secondary-glow);
  transform: translateY(-2px);
}
.hs-card--inquiry h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

/* Package card (pricing) */
.hs-card--package {
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
}
.hs-card--package:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--hs-secondary);
}
.hs-card--package .card-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hs-navy-900);
  margin-bottom: 0.5rem;
}
.hs-card--package .package-scope {
  font-size: 0.875rem;
  color: var(--hs-slate-500);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.hs-card--package .package-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--hs-navy-900);
  margin-bottom: 0.25rem;
}
.hs-card--package .from-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hs-slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hs-card--package .package-turnaround {
  font-size: 0.8rem;
  color: var(--hs-slate-400);
  margin-top: 0.25rem;
}

/* --- 9. Forms --- */
.contact-card {
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-card .form-control,
.contact-card .form-select {
  font-family: var(--font-body);
  border: 1px solid var(--hs-slate-300);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  font-size: 0.925rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: var(--hs-mint);
  box-shadow: 0 0 0 3px var(--hs-mint-glow);
}

.contact-card label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hs-navy-900);
}

.contact-card .form-text { color: var(--hs-slate-400); }

/* --- 10. Trust Logos --- */
.trust-logos {
  padding: 1.75rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--hs-white);
  border-top: 1px solid var(--hs-slate-200);
  border-bottom: 1px solid var(--hs-slate-200);
}
.trust-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-slate-500);
  text-align: center;
}
.trust-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  max-width: 1060px;
}
.trust-row img {
  height: 36px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  transition: all var(--transition-base);
}
.trust-row img:hover {
  opacity: 0.8;
  filter: grayscale(0);
  transform: scale(1.05);
}

/* --- 11. Omics Tags --- */
.omics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
}
.omics-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hs-navy-700);
  background: var(--hs-bg-light);
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.omics-tag:hover {
  background: var(--hs-secondary-light);
  border-color: var(--hs-secondary);
  color: var(--hs-secondary);
}
.hs-section--light .omics-tag {
  background: #fff;
  border-color: var(--hs-secondary);
  color: var(--hs-secondary);
}
.omics-tag--more {
  text-decoration: none;
  background: var(--hs-secondary-light);
  border-color: var(--hs-secondary);
  color: var(--hs-secondary);
  font-weight: 500;
  cursor: pointer;
}
.omics-tag--more:hover {
  background: var(--hs-secondary);
  color: #fff;
}

/* --- 12. Process / Timeline --- */
.timeline-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 50px;
  bottom: 0;
  width: 2px;
  background: var(--hs-slate-200);
}
.timeline-step:last-child::before { display: none; }

.timeline-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  background: var(--hs-secondary);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.timeline-content p {
  font-size: 0.925rem;
  color: var(--hs-slate-600);
  margin-bottom: 0.5rem;
}

/* --- 13. Comparison Table --- */
.compare-table {
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--hs-bg-light);
  border-bottom: 2px solid var(--hs-slate-200);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--hs-navy-900);
}
.compare-table td {
  padding: 0.65rem 1rem;
  color: var(--hs-slate-600);
  vertical-align: middle;
}
.compare-table tbody tr:hover { background: var(--hs-bg-light); }

/* Highlight HoppeSyler column */
.compare-table thead th:nth-child(2) {
  background: var(--hs-secondary-light);
  color: var(--hs-secondary);
}
.compare-table tbody td:nth-child(2) {
  color: var(--hs-navy-900);
  font-weight: 500;
}

/* --- 14. Accordion / FAQ --- */
.hs-accordion .accordion-item {
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.hs-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hs-navy-900);
  background: var(--hs-white);
  padding: 1rem 1.25rem;
}
.hs-accordion .accordion-button:not(.collapsed) {
  background: var(--hs-bg-light);
  color: var(--hs-secondary);
  box-shadow: none;
}
.hs-accordion .accordion-button:focus { box-shadow: none; border-color: var(--hs-slate-200); }
.hs-accordion .accordion-button::after { filter: none; }
.hs-accordion .accordion-body {
  font-size: 0.925rem;
  color: var(--hs-slate-600);
  padding: 0 1.25rem 1rem;
  line-height: 1.7;
}

/* --- 15. Footer --- */
.hs-footer {
  background: var(--hs-navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}

.hs-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  text-decoration: none;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.hs-footer .footer-brand img { height: 32px; width: auto; }

.hs-footer .footer-heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.hs-footer .footer-nav { list-style: none; padding: 0; }
.hs-footer .footer-nav li { margin-bottom: 0.5rem; }
.hs-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.hs-footer .footer-nav a:hover { color: white; }

.hs-footer address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.7;
}
.hs-footer address a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hs-footer address a:hover { color: white; }

.hs-footer .footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1rem;
}

.hs-footer .footer-legal {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}
.hs-footer .footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}
.hs-footer .footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

/* --- 16. Resource Center --- */
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--hs-white);
  border: 1px solid var(--hs-slate-200);
  border-top: 3px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}
.resource-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  color: inherit;
  border-color: var(--hs-secondary);
  border-top-color: var(--hs-secondary);
}
.resource-card:hover .resource-title {
  color: var(--hs-secondary);
}
.resource-card .resource-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-secondary);
  margin-bottom: 0.5rem;
}
.resource-card .resource-category::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--hs-secondary);
  border-radius: 50%;
  flex-shrink: 0;
}
.resource-card .resource-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hs-navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color var(--transition-fast);
}
.resource-card .resource-meta {
  font-size: 0.8rem;
  color: var(--hs-slate-400);
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Resource card thumbnail placeholders */
.resource-card-thumb {
  height: 140px;
  margin: -1.25rem -1.25rem 1rem -1.25rem;
  border-bottom: 2px dashed var(--hs-slate-300);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-slate-400);
  background: var(--hs-slate-100);
}
.resource-card-thumb--article {
  background: var(--hs-mint-light);
  border-bottom-color: var(--hs-mint);
  color: var(--hs-mint-hover);
}
.resource-card-thumb--benchmark {
  background: var(--hs-secondary-light);
  border-bottom-color: var(--hs-secondary);
  color: var(--hs-secondary);
}
.resource-card-thumb--guide {
  background: #f0fdf4;
  border-bottom-color: #16a34a;
  color: #15803d;
}
.resource-card-thumb--case-study {
  background: #fffbeb;
  border-bottom-color: #d97706;
  color: #b45309;
}
.resource-card-thumb--white-paper {
  background: var(--hs-slate-100);
  border-bottom-color: var(--hs-slate-400);
  color: var(--hs-slate-500);
}

/* Case-study enrichment skeleton */
.case-study-skeleton {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.case-study-skeleton .skeleton-block {
  border: 2px dashed #d97706;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  font-family: var(--font-display);
  color: #b45309;
  background: #fffbeb;
}
.case-study-skeleton .skeleton-block strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
}

/* Guide list layout */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--hs-white);
}
.guide-list-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--hs-slate-200);
}
.guide-list-item:last-child {
  border-bottom: none;
}
.guide-list-item:hover {
  background: #f0fdf4;
  color: inherit;
}
.guide-list-item:hover .guide-list-title {
  color: var(--hs-secondary);
}
.guide-list-item:hover .guide-list-arrow {
  transform: translateX(4px);
  color: var(--hs-secondary);
}
.guide-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: #f0fdf4;
  color: #16a34a;
  font-size: 1.1rem;
}
.guide-list-body {
  flex: 1;
  min-width: 0;
}
.guide-list-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hs-navy-900);
  line-height: 1.3;
  transition: color var(--transition-fast);
}
.guide-list-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--hs-slate-400);
  line-height: 1.4;
  margin-top: 0.2rem;
}
.guide-list-meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hs-slate-400);
  white-space: nowrap;
  min-width: 45px;
  text-align: right;
}
.guide-list-arrow {
  color: var(--hs-slate-300);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

@media (max-width: 768px) {
  .guide-list-item {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  .guide-list-desc {
    display: none;
  }
  .guide-list-meta {
    margin-left: auto;
  }
}

/* Leadership headshot placeholder */
.headshot-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed var(--hs-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hs-mint-hover);
  background: var(--hs-mint-light);
  margin-bottom: 0.75rem;
}

/* Bio placeholder block */
.bio-placeholder {
  border: 2px dashed var(--hs-mint);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-family: var(--font-display);
  color: var(--hs-mint-hover);
  background: var(--hs-mint-light);
  margin-top: 0.5rem;
}

/* "By the Numbers" stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-card {
  border: 2px dashed;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-display);
}
.stat-card .stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-card--mint { border-color: var(--hs-mint); background: var(--hs-mint-light); color: var(--hs-mint-hover); }
.stat-card--ocean { border-color: var(--hs-secondary); background: var(--hs-secondary-light); color: var(--hs-secondary); }
.stat-card--green { border-color: #16a34a; background: #f0fdf4; color: #15803d; }
.stat-card--amber { border-color: #d97706; background: #fffbeb; color: #b45309; }

/* --- About page — MVV icon accents --- */
.about-mvv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--hs-secondary-light);
  color: var(--hs-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* --- Image Placeholders — bright, impossible to miss --- */
.image-placeholder {
  border: 3px dashed var(--hs-slate-300);
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(
    -45deg,
    var(--hs-slate-50),
    var(--hs-slate-50) 10px,
    var(--hs-slate-100) 10px,
    var(--hs-slate-100) 20px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 0.5rem;
  overflow: hidden;
}
.image-placeholder .placeholder-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hs-slate-400);
  background: var(--hs-white);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  border: 1px solid var(--hs-slate-200);
}
.image-placeholder .placeholder-desc {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hs-slate-500);
  max-width: 340px;
  line-height: 1.5;
}
/* Hero-width placeholder for article/guide pages */
.image-placeholder--hero {
  height: 500px;
  margin: 0 0 2rem;
  border-radius: var(--radius-lg);
}
/* In-section illustration placeholder */
.image-placeholder--section {
  height: 200px;
  max-width: 100%;
}
/* Side-column illustration (for 2-col layouts) */
.image-placeholder--side {
  height: 260px;
  width: 100%;
}

/* --- 17. Article Layout --- */
.article-header {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem clamp(2rem, 4vw, 3rem);
  background: var(--hs-bg-light);
  border-bottom: 1px solid var(--hs-slate-200);
}
.article-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hs-secondary);
  margin-bottom: 0.75rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--hs-slate-400);
  margin-top: 1rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }

.article-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Executive Summary callout — used in all article/guide/tool pages */
.executive-summary {
  border-left: 4px solid var(--hs-mint);
  background: linear-gradient(135deg, var(--hs-mint-light) 0%, rgba(240, 249, 255, 0.4) 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}
.article-body .executive-summary h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hs-mint);
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
  position: static;
}
.article-body .executive-summary h2::after { display: none; }
.executive-summary p {
  color: var(--hs-navy-800);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.executive-summary ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}
.executive-summary li {
  color: var(--hs-navy-800);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Article breadcrumb */
.article-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}
.article-breadcrumb nav {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
}
.article-breadcrumb a {
  color: var(--hs-slate-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.article-breadcrumb a:hover { color: var(--hs-mint); }
.article-breadcrumb .breadcrumb-sep {
  color: var(--hs-slate-300);
  margin: 0 0.4rem;
}
.article-breadcrumb .breadcrumb-current {
  color: var(--hs-navy-900);
  font-weight: 600;
}

/* Article layout wrapper — body + optional ToC sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 220px;
    gap: 3rem;
  }
}

.article-body {
  max-width: 780px;
  padding: 3rem 0 4rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--hs-slate-600);
  letter-spacing: -0.006em;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hs-navy-800);
  margin-top: 3.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid var(--hs-mint);
  border-bottom: none;
  background: linear-gradient(90deg, var(--hs-mint-light) 0%, transparent 70%);
  border-radius: var(--radius-sm);
  position: relative;
  scroll-margin-top: 5rem;
}
.article-body h2::after { display: none; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hs-navy-800);
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  scroll-margin-top: 5rem;
}
/* Bold text pops against the lighter body color */
.article-body strong {
  color: var(--hs-navy-800);
  font-weight: 600;
}
.article-body h4 {
  font-family: var(--font-display);
  scroll-margin-top: 5rem;
}
/* Override Bootstrap !important utilities (fs-5, lh-lg) within article scope */
.article-body p {
  font-size: 1.0625rem !important;
  line-height: 1.78 !important;
  color: var(--hs-slate-600);
  margin-bottom: 1.35rem;
}
.article-body ul, .article-body ol {
  font-size: 1.0625rem !important;
  line-height: 1.78 !important;
  color: var(--hs-slate-600);
  margin-bottom: 1.35rem;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
  font-size: inherit !important;
  line-height: inherit !important;
}
/* Executive summary: slightly tighter for callout density */
.article-body .executive-summary p {
  font-size: 1rem !important;
  line-height: 1.7 !important;
}
.article-body .executive-summary li {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}
.article-body blockquote {
  border-left: 4px solid var(--hs-mint) !important;
  border-color: var(--hs-mint) !important;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, var(--hs-mint-light) 0%, var(--hs-bg-light) 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--hs-slate-600);
  font-style: italic;
  position: relative;
  font-size: 1.0625rem !important;
  line-height: 1.78 !important;
}
.article-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.1rem;
  left: 0.5rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--hs-mint);
  opacity: 0.25;
  line-height: 1;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.article-body th, .article-body td {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--hs-slate-200);
  text-align: left;
}
.article-body th {
  background: var(--hs-bg-light);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}
.article-body code {
  font-size: 0.85em;
  background: var(--hs-bg-light);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hs-slate-200);
}

/* Article CTA — light accent band, visually distinct from dark footer */
.article-cta {
  background: linear-gradient(135deg, var(--hs-mint-light) 0%, var(--hs-bg-light) 60%, var(--hs-secondary-light) 100%);
  border-top: 3px solid var(--hs-mint);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: var(--hs-slate-600);
}
.article-cta h2 { color: var(--hs-navy-900); font-size: 1.5rem; }
.article-cta p { color: var(--hs-slate-600); max-width: 600px; margin: 0 auto 1.5rem; }
.article-cta .btn-hs-outline-light {
  color: var(--hs-navy-800);
  border-color: var(--hs-slate-300);
}
.article-cta .btn-hs-outline-light:hover {
  background: var(--hs-navy-900);
  border-color: var(--hs-navy-900);
  color: white;
}

/* Article Table of Contents sidebar */
.article-toc {
  display: none;
}
@media (min-width: 1024px) {
  .article-toc {
    display: block;
    position: sticky;
    top: 5rem;
    align-self: start;
    padding-top: 3rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
  }
}
.article-toc__label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hs-slate-400);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hs-slate-200);
}
.article-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-toc__list li {
  margin-bottom: 0;
}
.article-toc__list a {
  display: block;
  padding: 0.35rem 0 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--hs-slate-500);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}
.article-toc__list a:hover {
  color: var(--hs-navy-900);
  border-left-color: var(--hs-slate-300);
}
.article-toc__list a.active {
  color: var(--hs-mint);
  border-left-color: var(--hs-mint);
  font-weight: 600;
}

/* ─── Digital Paper — scholarly guide layout ─────────────────────────
   Scoped to .guide-layout on <body>. Gives technical guides an academic
   feel: serif body text, left-aligned header, tighter spacing, narrower
   column. Uses Source Serif 4 (loaded via Google Fonts on guide pages). */

.guide-layout {
  --font-text-serif: 'Source Serif 4', 'Georgia', serif;
}

/* Header — left-aligned, clean academic title block */
.guide-layout .article-header {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(1.5rem, 3vw, 2rem);
  background: transparent;
  border-bottom: 2px solid var(--hs-navy-900);
}
.guide-layout .article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.guide-layout .article-header .lead {
  font-family: var(--font-text-serif);
  font-style: italic;
  color: var(--hs-slate-500);
  font-size: 1.05rem;
  line-height: 1.55;
}
.guide-layout .article-category {
  color: var(--hs-slate-400);
  font-size: 0.7rem;
}
.guide-layout .article-meta {
  justify-content: flex-start;
  gap: 1.25rem;
}

/* Breadcrumb — match narrower column */
.guide-layout .article-breadcrumb {
  max-width: 720px;
}

/* Layout — single column, narrower for readability */
.guide-layout .article-layout {
  max-width: 720px;
}
@media (min-width: 1024px) {
  .guide-layout .article-layout {
    grid-template-columns: 1fr;
  }
}

/* Body — serif, tighter line height, academic density */
.guide-layout .article-body {
  max-width: 680px;
  font-family: var(--font-text-serif);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}
.guide-layout .article-body p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  font-family: var(--font-text-serif);
}
.guide-layout .article-body ul, .guide-layout .article-body ol {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
.guide-layout .article-body li {
  margin-bottom: 0.35rem;
}
.guide-layout .article-body blockquote {
  font-family: var(--font-text-serif);
  font-style: italic;
  border-radius: 0;
  background: transparent;
  border-left: 3px solid var(--hs-slate-300) !important;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
}
.guide-layout .article-body blockquote::before { display: none; }

/* h2 — clean bottom rule instead of green left-border */
.guide-layout .article-body h2 {
  font-size: 1.3rem;
  border-left: none;
  background: none;
  padding: 0 0 0.5rem 0;
  border-radius: 0;
  border-bottom: 1px solid var(--hs-slate-200);
  margin-top: 3rem;
}
.guide-layout .article-body h3 {
  font-size: 1.1rem;
  margin-top: 2rem;
}

/* Executive summary → "Abstract" feel */
.guide-layout .executive-summary {
  border-left: none;
  background: transparent;
  border: 1px solid var(--hs-slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.guide-layout .executive-summary p,
.guide-layout .executive-summary li {
  font-family: var(--font-text-serif);
}

/* Tables keep sans-serif (data is clearer in sans) */
.guide-layout .article-body table {
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Code stays monospace, of course */

/* CTA — align to narrower column */
.guide-layout .article-cta {
  max-width: 720px;
  margin: 0 auto;
}

/* --- 17b. Testimonials --- */
.testimonials-section {
  background: var(--hs-navy-900);
  color: white;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
/* Subtle dot grid (same as hero) */
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.testimonials-section .section-label {
  color: rgba(255,255,255,0.5);
  border-bottom-color: var(--hs-secondary);
}
.testimonials-section .section-label::before {
  background: var(--hs-mint);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-base);
}
.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--hs-mint);
  opacity: 0.15;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-avatar--mint {
  background: rgba(16, 185, 129, 0.15);
  color: var(--hs-mint);
}
.testimonial-avatar--ocean {
  background: rgba(2, 132, 199, 0.15);
  color: var(--hs-secondary);
}
.testimonial-avatar--slate {
  background: rgba(148, 163, 184, 0.15);
  color: var(--hs-slate-400);
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}
.testimonial-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}
/* Star rating — using CSS-only stars */
.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}
.testimonial-stars i {
  color: #fbbf24;
  font-size: 0.75rem;
}

/* --- 18. Badges --- */
.hs-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--hs-bg-light);
  color: var(--hs-slate-500);
  border: 1px solid var(--hs-slate-200);
}
.hs-badge--ocean {
  background: var(--hs-secondary-light);
  color: var(--hs-secondary);
  border-color: var(--hs-secondary-glow);
}

/* --- 19. Animations --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered reveals — scoped to .js-ready so content is visible if JS fails */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Article body is the primary content — never hide it behind a scroll trigger */
.js-ready .article-body[data-reveal] {
  opacity: 1;
  transform: none;
}

/* Stagger children */
.js-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 560ms; }
[data-reveal-stagger].revealed > *:nth-child(9) { transition-delay: 640ms; }
[data-reveal-stagger].revealed > *:nth-child(10) { transition-delay: 720ms; }
[data-reveal-stagger].revealed > *:nth-child(11) { transition-delay: 800ms; }
[data-reveal-stagger].revealed > *:nth-child(12) { transition-delay: 880ms; }
[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

/* --- 20. Responsive --- */
@media (max-width: 991.98px) {
  .hero--home { min-height: auto; }
  .hero-value-cards { flex-direction: column; align-items: center; }
  .hero-value-card { max-width: 100%; }
  .trust-logos { gap: 1rem; padding: 2rem 1.5rem; }
  .trust-row { flex-wrap: wrap; gap: 1.5rem 2rem; }
  .trust-row img { height: 26px; }
}

@media (max-width: 767.98px) {
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-ctas .btn-hs-primary,
  .hero-ctas .btn-hs-outline-light { width: 100%; text-align: center; }

  .section-label { font-size: 0.75rem; }

  .hs-card--package .package-price { font-size: 1.6rem; }

  .trust-row { gap: 1rem 1.5rem; }
  .trust-row img { height: 22px; }

  .hs-footer .footer-brand { margin-bottom: 1.5rem; }
}

@media (max-width: 575.98px) {
  .timeline-step { gap: 1rem; }
  .timeline-number { width: 40px; height: 40px; font-size: 1rem; }
  .timeline-step::before { left: 19px; top: 44px; }
}

/* --- 21. Utility Classes --- */
.text-mint, .text-accent { color: var(--hs-mint); }
.text-navy { color: var(--hs-navy-900); }
.text-slate { color: var(--hs-slate-500); }
.bg-light-custom { background: var(--hs-bg-light); }
.border-subtle { border: 1px solid var(--hs-slate-200); }
.rounded-lg { border-radius: var(--radius-lg); }

/* Decorative gradient divider */
.hs-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--hs-mint), var(--hs-secondary));
  border: none;
  border-radius: 2px;
  margin: 2rem 0;
}

/* Tech badge icons */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.tech-badges img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.tech-badges img:hover { opacity: 1; }
