/* ═══════════════════════════════════════════════════════════
   BIOPRATIQ / SKINWISE / RESEARCH — SHARED STYLESHEET
   Bold deep crimson on near-black, Cerbus wine identity
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Brand reds — bold, saturated, unapologetic ── */
  --red:           #c8150a;   /* deep crimson anchor */
  --red-bright:    #e8200e;   /* vivid red hover/highlight */
  --red-orange:    #e83d1a;   /* logo gradient end */
  --red-dark:      #8c0d05;   /* deep shadow */
  --red-deep:      #520600;   /* very deep backgrounds */
  --red-glow:      rgba(200,21,10,0.28);
  --red-glow-lt:   rgba(232,32,14,0.14);
  --red-tint:      rgba(200,21,10,0.08);

  /* ── Near-black backgrounds — rich dark soil, Cerbus-style ── */
  --bg:            #080605;
  --surface:       #0f0c0b;
  --surface-2:     #181210;
  --border:        #2a1a14;
  --border-lt:     #3e2820;

  /* ── Text on dark ── */
  --text:          #d8c8be;
  --text-muted:    #78584e;
  --text-faint:    #3e2820;

  /* ── Light sections ── */
  --paper:         #faf8f5;
  --paper-mid:     #ede5dc;
  --paper-dark:    #ddd0c4;
  --ink:           #140a06;

  /* ── Typography ── */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-mono:    'Space Mono', monospace;

  --max: 1100px;
}

/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--red-bright);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 4rem;
  background: rgba(8,6,5,0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

/* Red accent bar along the very top of nav */
nav::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-orange) 60%, transparent 100%);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.nav-logo-img { height: 34px; width: auto; display: block; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem; color: #fff; line-height: 1;
}
.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.53rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 3px;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.42);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-back { display: flex; align-items: center; gap: 0.4rem; }
.nav-back::before { content: '←'; font-size: 0.85rem; }

.nav-cta {
  padding: 0.48rem 1.2rem;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: rgba(200,21,10,0.12);
  color: #ff7060 !important;
  transition: all .2s !important;
}
.nav-cta:hover {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red-bright) !important;
}

/* ── Hamburger button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px; z-index: 210;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}

/* Animated to X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu drawer ── */
.nav-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 205;
  background: rgba(8,6,5,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 6rem 2rem 3rem;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile-links {
  list-style: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  width: 100%;
}
.nav-mobile-links li {
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-links li:first-child { border-top: 1px solid var(--border); }
.nav-mobile-links a {
  display: block;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem; color: rgba(255,255,255,0.7);
  text-decoration: none; text-align: center;
  transition: color .2s;
}
.nav-mobile-links a:hover,
.nav-mobile-links a.active { color: #fff; }

/* Secondary / section links — smaller, muted, mono */
.nav-mobile-links li.sub-link { border-bottom: 1px solid rgba(46,32,24,0.5); }
.nav-mobile-links li.sub-link a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.75rem 0;
}
.nav-mobile-links li.sub-link a:hover { color: var(--red-bright); }
.nav-mobile-cta {
  margin-top: 2.5rem;
  width: 100%;
}
.nav-mobile-cta a {
  display: block; width: 100%;
  text-align: center;
  padding: 1rem;
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: none; text-transform: uppercase;
  border-radius: 4px;
  transition: background .2s;
}
.nav-mobile-cta a:hover { background: var(--red-bright); }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.92rem 2.2rem;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.87rem; font-weight: 600; letter-spacing: 0.05em;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .22s;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,21,10,0.55), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-lt);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: #ff7060;
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost-light:hover {
  border-color: var(--red-orange);
  color: #ff7060;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   SCROLL HINT
───────────────────────────────────────────── */
.scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint);
  animation: bounce 2.4s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.9s ease forwards; opacity: 0; }
.d1 { animation-delay: .1s; }
.d2 { animation-delay: .25s; }
.d3 { animation-delay: .42s; }
.d4 { animation-delay: .58s; }
.d5 { animation-delay: .74s; }

/* ─────────────────────────────────────────────
   FOOTER  (shared)
───────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 5rem 4rem 3rem;
  color: var(--text-muted);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; margin-bottom: 4rem; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem; color: #fff;
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 0.3rem;
}
.footer-logo { height: 26px; width: auto; }
.footer-brand-tagline {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.2rem;
}
.footer-brand p { font-size: 0.87rem; line-height: 1.76; max-width: 340px; margin-bottom: 1.5rem; }

.footer-reg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 3px; padding: 1.4rem 1.6rem;
}
.footer-reg p { font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.85; }
.footer-reg strong { color: rgba(220,200,185,0.55); }

.footer-col h5 {
  font-family: var(--font-mono); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--red-bright); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  color: var(--text-muted); font-size: 0.87rem;
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; }
.footer-bottom a.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a.footer-link:hover { color: #fff; }

.se-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.42rem 1rem;
  border: 1px solid var(--red-dark);
  border-radius: 20px;
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-bright);
}
.se-badge-dot { width: 6px; height: 6px; background: var(--red-bright); border-radius: 50%; }

.footer-parent {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1rem;
}

/* Bio band */
.bio-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 4rem;
}
.bio-band-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.bio-band p { font-size: 0.88rem; color: var(--text-muted); }
.bio-band p strong { color: var(--text); }
.bio-band a {
  color: var(--red-bright); font-size: 0.85rem;
  text-decoration: none; font-weight: 500;
  display: flex; align-items: center; gap: 0.4rem;
  white-space: nowrap; transition: color .2s;
}
.bio-band a::after { content: '→'; }
.bio-band a:hover { color: #fff; }


/* ═══════════════════════════════════════════════════════════
   ░░  BIOPRATIQ.HTML
   ═══════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 4rem 6rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200,21,10,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,21,10,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, black 5%, transparent 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(150px); pointer-events: none; }
.hero-glow-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(200,21,10,0.25) 0%, transparent 70%);
  top: -260px; left: -220px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,61,26,0.14) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}

.hero-inner { position: relative; max-width: 880px; text-align: center; }
.hero-eyebrow { margin-bottom: 2.2rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: #fff; line-height: 1.08; margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--red-bright); }
.hero-sub {
  font-size: 1.1rem; color: var(--text);
  max-width: 640px; margin: 0 auto 3rem; line-height: 1.8;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Intro strip */
.intro-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 4rem;
}
.intro-strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center;
}
.intro-strip h2 { font-family: var(--font-display); font-size: 2rem; color: #fff; line-height: 1.25; }
.intro-strip p { font-size: 0.95rem; line-height: 1.82; color: var(--text); }
.intro-strip p + p { margin-top: 0.9rem; }

/* ── Dual mission infographic section ── */
.dual-mission-section {
  background: var(--surface);
  padding: 6rem 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dual-mission-inner { max-width: var(--max); margin: 0 auto; }
.dual-mission-header {
  text-align: center;
  margin-bottom: 3rem;
}
.dual-mission-header .eyebrow {
  justify-content: center;
  margin-bottom: 1rem;
}
.dual-mission-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff; line-height: 1.25;
  max-width: 580px; margin: 0 auto;
}
.dual-mission-frame {
  border: 1px solid var(--border-lt);
  border-radius: 8px;
  overflow: hidden;
}
.dual-mission-frame img {
  width: 100%; height: auto; display: block;
  transition: transform .6s ease;
}
.dual-mission-frame:hover img { transform: scale(1.01); }
.dual-mission-captions {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.dual-mission-caption {
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.dual-mission-caption:first-child { border-right: 1px solid var(--border); }

/* Teaser cards (research + skinwise on homepage) */
.teasers-section { background: var(--bg); padding: 7rem 4rem; }
.teasers-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.teaser-card {
  border-radius: 6px; overflow: hidden;
  position: relative; min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.8rem;
  border: 1px solid var(--border);
  transition: border-color .25s, transform .2s;
}
.teaser-card:hover { border-color: var(--red); transform: translateY(-4px); }
.teaser-card-bg {
  position: absolute; inset: 0; z-index: 0;
}
.teaser-card-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.18;
}
.teaser-card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,6,5,0.2) 0%, rgba(8,6,5,0.9) 70%);
}
/* research card gets a red tint overlay */
.teaser-card-research .teaser-card-overlay {
  background: linear-gradient(180deg, rgba(100,10,5,0.15) 0%, rgba(8,6,5,0.92) 65%);
}
.teaser-card-content { position: relative; z-index: 2; }
.teaser-card-tag {
  font-family: var(--font-mono); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red-bright); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.teaser-card-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--red-bright); }
.teaser-card h2 { font-family: var(--font-display); font-size: 1.8rem; color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.teaser-card p { font-size: 0.9rem; color: var(--text); line-height: 1.76; margin-bottom: 1.8rem; max-width: 380px; }

/* SkinWise teaser — light card variant (on biopratiq) */
.skinwise-teaser {
  background: var(--paper);
  padding: 7rem 4rem;
  color: var(--ink);
}
.teaser-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.teaser-text .eyebrow { margin-bottom: 1.2rem; }
.teaser-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--ink); line-height: 1.2; margin-bottom: 1.2rem;
}
.teaser-text p { font-size: 0.96rem; color: #5a4030; line-height: 1.82; margin-bottom: 1.5rem; }
.teaser-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.teaser-features li {
  font-size: 0.9rem; color: #3e2a1a;
  display: flex; align-items: center; gap: 0.7rem;
}
.teaser-features li::before { content: '✦'; color: var(--red); font-size: 0.7rem; flex-shrink: 0; }
.teaser-cta { margin-top: 2.5rem; display: inline-block; }
.teaser-image img {
  width: 100%; height: 500px; object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.2);
}


/* ═══════════════════════════════════════════════════════════
   ░░  RESEARCH.HTML
   ═══════════════════════════════════════════════════════════ */

/* Research hero — stark, editorial, dominant red bar */
.rh-hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 8rem 4rem 6rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.rh-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 80%, rgba(200,21,10,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(200,21,10,0.08) 0%, transparent 55%);
}
.rh-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200,21,10,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,21,10,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 20% 80%, black 10%, transparent 80%);
}
/* Dominant vertical red bar — the Cerbus editorial mark */
.rh-hero-redbar {
  position: absolute; left: 4rem; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 8%, var(--red) 25%, var(--red-bright) 70%, transparent 100%);
}
.rh-hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; width: 100%;
  padding-left: 3.5rem; /* offset from red bar */
}
.rh-hero .eyebrow { margin-bottom: 2rem; }
.rh-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  color: #fff; line-height: 1.05;
  margin-bottom: 2.2rem;
  letter-spacing: -0.02em;
  max-width: 820px;
}
.rh-hero h1 em { font-style: italic; color: var(--red-bright); }
.rh-hero-sub {
  font-size: 1.1rem; color: var(--text);
  max-width: 580px; line-height: 1.82; margin-bottom: 3rem;
}
.rh-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.rh-hero-stats {
  position: absolute; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 0; align-items: flex-end;
}
.rh-stat {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0 1.4rem 2rem;
  text-align: right;
  min-width: 200px;
}
.rh-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem; color: var(--red-bright); line-height: 1;
}
.rh-stat-label {
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.3rem;
}

/* Research sections */
.rh-section { padding: 7rem 4rem; }
.rh-section-dark { background: var(--bg); }
.rh-section-surface { background: var(--surface); }

.rh-section-inner { max-width: var(--max); margin: 0 auto; }

.rh-section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 5rem;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem; margin-bottom: 4.5rem;
}
.rh-section-head .eyebrow { margin-bottom: 1.2rem; }
.rh-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff; line-height: 1.18;
}
.rh-section-lead { font-size: 1rem; color: var(--text); line-height: 1.82; }

.rh-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 5rem; }

.rh-block h3 {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--red-bright); margin-bottom: 1.2rem;
}
.rh-block p { font-size: 0.94rem; line-height: 1.86; color: var(--text); margin-bottom: 0.9rem; }
.rh-block p strong { color: #f0e0d4; font-weight: 600; }
.rh-block p:last-child { margin-bottom: 0; }

/* Tech callout box */
.rh-callout {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 3px;
  padding: 1.8rem 2rem; margin-top: 2rem;
}
.rh-callout h4 {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.1rem;
}
.rh-callout ul { list-style: none; }
.rh-callout ul li {
  font-size: 0.88rem; color: var(--text);
  padding: 0.5rem 0 0.5rem 1.6rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.rh-callout ul li:last-child { border-bottom: none; }
.rh-callout ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--red-bright); font-size: 0.8rem; line-height: 1.6;
}

/* Stat strip */
.rh-stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; margin-bottom: 5rem;
}
.rh-stat-block {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.rh-stat-block:last-child { border-right: none; }
.rh-stat-block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}
.rh-stat-block-num {
  font-family: var(--font-display); font-size: 3.2rem;
  color: var(--red-bright); line-height: 1; margin-bottom: 0.5rem;
}
.rh-stat-block-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-muted); margin-bottom: 0.8rem;
}
.rh-stat-block p { font-size: 0.87rem; color: var(--text); line-height: 1.7; }

/* Impact pillars */
.rh-pillars-label {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--red-bright); margin-bottom: 1.5rem;
}
.rh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rh-pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: 3px; padding: 2.2rem 1.8rem;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .2s;
}
.rh-pillar:hover { border-top-color: var(--red-bright); transform: translateY(-4px); }
.rh-pillar-num {
  font-family: var(--font-mono); font-size: 3rem; font-weight: 700;
  color: rgba(200,21,10,0.12);
  position: absolute; top: 0.5rem; right: 1.2rem; line-height: 1;
}
.rh-pillar h4 {
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--red-bright); margin-bottom: 1rem;
}
.rh-pillar p { font-size: 0.88rem; line-height: 1.78; color: var(--text); }

/* Architecture diagram-style block */
.rh-arch {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 3rem;
  margin-bottom: 5rem;
}
.rh-arch h3 {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--red-bright); margin-bottom: 2rem;
}
.rh-arch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.rh-arch-node {
  background: var(--surface);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.rh-arch-node::after {
  content: '→';
  position: absolute; right: -0.7rem; top: 50%;
  transform: translateY(-50%);
  color: var(--red); font-size: 0.9rem; z-index: 2;
}
.rh-arch-node:last-child::after { display: none; }
.rh-arch-node-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--red-bright); margin-bottom: 0.6rem;
}
.rh-arch-node h4 { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.rh-arch-node p { font-size: 0.8rem; color: var(--text); line-height: 1.65; }

/* CTA band on research page */
.rh-cta {
  background: var(--red-dark);
  padding: 5rem 4rem;
  position: relative; overflow: hidden;
}
.rh-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(232,61,26,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(150,10,5,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.rh-cta::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.rh-cta-inner {
  max-width: var(--max); margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.rh-cta-text .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 1.2rem; }
.rh-cta-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.rh-cta-text p { font-size: 0.96rem; color: rgba(255,255,255,0.7); line-height: 1.8; }
.rh-cta-links { display: flex; flex-direction: column; gap: 1rem; }
.rh-cta-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.rh-cta-link:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.rh-cta-link-text h4 { font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 0.2rem; }
.rh-cta-link-text p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.rh-cta-link-arrow { color: rgba(255,255,255,0.5); font-size: 1.2rem; transition: transform .2s; }
.rh-cta-link:hover .rh-cta-link-arrow { transform: translateX(4px); color: #fff; }


/* ═══════════════════════════════════════════════════════════
   ░░  SKINWISE.HTML
   ═══════════════════════════════════════════════════════════ */

.sw-hero {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 8rem 4rem 5rem;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.sw-hero-photo {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/videos/4772527/beautician-cosmetologist-doctor-4772527.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=1600') center/cover no-repeat;
  opacity: 0.12;
}
.sw-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 60%, rgba(200,21,10,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 50% 50% at 88% 28%, rgba(232,61,26,0.08) 0%, transparent 55%);
}
.sw-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(8,6,5,0.3) 0%,
    rgba(8,6,5,0.68) 55%,
    rgba(8,6,5,0.98) 100%);
}
.sw-hero-inner {
  position: relative;
  max-width: var(--max); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: flex-end;
}
.sw-hero-eyebrow { margin-bottom: 1.8rem; }
.sw-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: #fff; line-height: 1.1; margin-bottom: 1.5rem;
}
.sw-hero h1 em { font-style: italic; color: var(--red-bright); }
.sw-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  line-height: 1.8; margin-bottom: 2.5rem; max-width: 480px;
}
.sw-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.sw-hero-stats { display: flex; flex-direction: column; gap: 1rem; }
.sw-stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(200,21,10,0.22);
  border-radius: 6px; padding: 1.8rem 2.2rem;
}
.sw-stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem; color: #fff; line-height: 1;
}
.sw-stat-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem;
}

.sw-section-problem { background: var(--paper); padding: 7rem 4rem; }
.sw-problem-intro { max-width: 580px; margin-bottom: 4rem; }
.sw-problem-intro .eyebrow { margin-bottom: 1.2rem; }
.sw-problem-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--ink); line-height: 1.2; margin-bottom: 1rem;
}
.sw-problem-intro p { font-size: 1rem; color: #5a4030; line-height: 1.8; }
.sw-problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sw-problem-card {
  background: #fff; border: 1px solid var(--paper-dark);
  border-radius: 6px; padding: 2rem 1.8rem;
  transition: transform .2s, box-shadow .2s;
}
.sw-problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.sw-problem-card-icon { margin-bottom: 0; }
.sw-problem-card h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.6rem; }
.sw-problem-card p { font-size: 0.88rem; color: #5a4030; line-height: 1.74; }

.sw-section-how { background: var(--ink); padding: 7rem 4rem; }
.sw-how-inner { max-width: var(--max); margin: 0 auto; }
.sw-how-header { margin-bottom: 4rem; }
.sw-how-header .eyebrow { margin-bottom: 1.2rem; }
.sw-how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: #fff;
}

/* Framed step cards — vertical stack with alternating image/text sides */
.sw-how-steps-framed {
  display: flex; flex-direction: column; gap: 2rem;
}

.sw-how-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-lt);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .25s;
}
.sw-how-frame:hover { border-color: var(--red); }

/* Alternate: odd frames — media left, text right */
/* Even frames — text left, media right */
.sw-how-frame:nth-child(even) { direction: rtl; }
.sw-how-frame:nth-child(even) > * { direction: ltr; }

.sw-how-frame-media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #0a0605;
}
.sw-how-frame-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.sw-how-frame:hover .sw-how-frame-media img { transform: scale(1.03); }

/* YouTube iframe wrapper — 16:9 ratio */
.sw-how-frame-video {
  position: relative;
  min-height: 340px;
}
.sw-how-frame-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}

.sw-how-frame-body {
  padding: 3rem 2.8rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.2rem;
}
.sw-how-frame-body .sw-step-dot { margin-bottom: 0.4rem; }
.sw-how-frame-body h3 {
  font-family: var(--font-display); font-size: 1.6rem; color: #fff; line-height: 1.2;
}
.sw-how-frame-body p { font-size: 0.94rem; line-height: 1.82; color: var(--text); }

.sw-step-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(200,21,10,0.18), 0 4px 18px rgba(200,21,10,0.4);
}

.sw-section-features { background: var(--paper); padding: 7rem 4rem; }
.sw-features-inner { max-width: var(--max); margin: 0 auto; }
.sw-features-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; margin-bottom: 3.5rem;
}
.sw-features-header .eyebrow { margin-bottom: 1.2rem; }
.sw-features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--ink); line-height: 1.2;
}
.sw-features-header p { font-size: 0.95rem; color: #5a4030; line-height: 1.8; }
.sw-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.sw-feature-card {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.8rem; background: #fff;
  border: 1px solid var(--paper-dark);
  border-radius: 6px;
  transition: border-color .2s, transform .2s;
}
.sw-feature-card:hover { border-color: var(--red); transform: translateY(-2px); }
/* Red circle icon — replaces emojis */
.sw-icon-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(200,21,10,0.35);
}
.sw-icon-circle svg {
  width: 22px; height: 22px;
  stroke: #fff;
}

/* Override feature card icon when using sw-icon-circle */
.sw-feature-card .sw-icon-circle {
  width: 44px; height: 44px;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--red);
}
.sw-feature-card .sw-icon-circle svg {
  width: 20px; height: 20px;
}
.sw-feature-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.sw-feature-card p { font-size: 0.85rem; color: #6a5040; line-height: 1.68; }

.sw-section-cta { background: var(--paper); padding: 0 4rem 7rem; }
.sw-cta-card {
  max-width: var(--max); margin: 0 auto;
  background: var(--red-dark);
  border-radius: 6px; padding: 5rem; text-align: center;
  position: relative; overflow: hidden;
}
.sw-cta-card > * { position: relative; z-index: 1; }
.sw-cta-card::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(232,61,26,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(120,8,4,0.6) 0%, transparent 55%);
  pointer-events: none;
}
.sw-cta-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.sw-cta-card .eyebrow { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; justify-content: center; position: relative; }
.sw-cta-card h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; position: relative; }
.sw-cta-card > p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.78; position: relative; }
.sw-cta-form { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; position: relative; }
.sw-cta-input {
  padding: 0.9rem 1.5rem; border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07); color: #fff;
  font-family: var(--font-body); font-size: 0.9rem;
  width: 280px; outline: none; transition: border-color .2s;
}
.sw-cta-input::placeholder { color: rgba(255,255,255,0.32); }
.sw-cta-input:focus { border-color: rgba(255,255,255,0.5); }
.sw-cta-note { font-family: var(--font-mono); font-size: 0.63rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.28); margin-top: 1.2rem; position: relative; }

.sw-cta-success-msg {
  font-family: var(--font-mono); font-size: 0.95rem;
  color: #7ec8a0; letter-spacing: 0.06em;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.2rem 2rem;
  border: 1px solid rgba(126,200,160,0.3);
  border-radius: 4px;
  background: rgba(126,200,160,0.06);
}


/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0.85rem 1.5rem; }

  /* Show hamburger, hide desktop nav links */
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }

  .dual-mission-section { padding: 4rem 1.5rem; }
  .dual-mission-captions { grid-template-columns: 1fr; }
  .dual-mission-caption:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .dual-mission-caption { padding: 1.2rem; }

  .hero, .intro-strip, .teasers-section, .skinwise-teaser, footer,
  .rh-hero, .rh-section, .rh-cta,
  .sw-hero, .sw-section-problem, .sw-section-how, .sw-section-features, .sw-section-cta,
  .bio-band, .sw-photo-strip { padding-left: 1.5rem; padding-right: 1.5rem; }

  .intro-strip-inner, .teasers-grid, .teaser-inner,
  .rh-two-col, .rh-stat-strip, .rh-pillars, .rh-arch-grid, .rh-cta-inner, .rh-section-head,
  .footer-top,
  .sw-hero-inner, .sw-features-header, .sw-features-grid { grid-template-columns: 1fr; }

  .rh-hero { padding-top: 7rem; }
  .rh-hero-redbar { left: 1.5rem; }
  .rh-hero-inner { padding-left: 2rem; }
  .rh-hero-stats { position: static; margin-top: 3rem; flex-direction: row; flex-wrap: wrap; gap: 0; }
  .rh-stat { border: 1px solid var(--border); border-radius: 4px; margin: 0.3rem; flex: 1; text-align: left; padding: 1rem 1.2rem; }

  .sw-hero { align-items: flex-start; padding-top: 7rem; }
  .sw-hero-stats { flex-direction: row; }
  .sw-how-frame { grid-template-columns: 1fr; direction: ltr !important; }
  .sw-how-frame:nth-child(even) { direction: ltr; }
  .sw-how-frame-media,
  .sw-how-frame-video { min-height: 240px; }
  .sw-how-frame-body { padding: 2rem 1.8rem; }
  .teaser-image img { height: 280px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-top { gap: 2.5rem; }
  .teaser-card { min-height: 360px; }
}

@media (max-width: 600px) {
  .hide-sm { display: none; }
  .hero h1, .rh-hero h1, .sw-hero h1 { font-size: 2.4rem; }
  .sw-hero-stats, .rh-hero-stats { flex-direction: column; }
  .sw-problem-cards { grid-template-columns: 1fr; }
  .sw-cta-card, .rh-cta { padding: 2.5rem 1.5rem; }
  .rh-stat-strip { grid-template-columns: 1fr; }
}
