

/* ─── MOBILE MENU OVERLAY ────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.mobile-menu.open {
  display: flex !important;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  max-width: 320px;
}
.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #44403C;
  border-bottom: 1px solid #F5F5F4;
  transition: color 0.2s;
  text-decoration: none;
}
.mobile-nav-link:hover {
  color: var(--coral);
}


/* ─── SCROLL REVEAL ANIMATION ────────────────────── */
.reveal-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-hidden { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════
   NUANCE — Design System v2.1 (Tailwind-compatible)
   Warm Editorial · Trust · Clarity · Science
   ═══════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --bg: #FFFCFA;
  --surface: rgba(255, 252, 250, 0.96);
  --surface-warm: #FFF6F3;
  --surface-muted: #FAEEF0;
  --coral: #E63B5A;
  --coral-light: #FF6B81;
  --coral-dark: #D03452;
  --coral-pale: rgba(230, 59, 90, 0.10);
  --amber: #FF7D96;
  --amber-pale: rgba(255, 125, 150, 0.14);
  --verified: #2D9B5F;
  --verified-pale: rgba(49, 122, 85, 0.12);
  --nogo: #D63031;
  --nogo-pale: rgba(185, 53, 60, 0.10);
  --text: #161310;
  --text-sub: #5C5148;
  --text-muted: #8A7B70;
  --border: rgba(95, 75, 61, 0.12);
  --border-soft: rgba(95, 75, 61, 0.07);
  --shadow: rgba(230, 59, 90, 0.06);
  --shadow-md: rgba(22, 19, 16, 0.10);
  --shadow-lg: rgba(22, 19, 16, 0.18);
  /* Layout */
  --max-width: 1180px;
  --content-width: 760px;
  --radius: 24px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  /* Motion */
  --ease: cubic-bezier(0.4,0,0.2,1);
  --duration: 200ms;
}


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

/* ─── READING PROGRESS BAR ──────────────────────────── */
#reading-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,248,250,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.brand-logo {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--text); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 1px;
  text-decoration: none;
}
.brand-logo span { color: var(--coral); }

/* ─── NAV ────────────────────────────────────────────── */
.main-nav { display: flex; gap: 0.25rem; align-items: center; }
.main-nav a:not(.nav-cta) {
  font-size: 0.875rem; font-weight: 500; color: var(--text-sub);
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease); white-space: nowrap;
  text-decoration: none;
}
.main-nav a:not(.nav-cta):hover, .main-nav a:not(.nav-cta).active {
  background: var(--surface-warm); color: var(--coral);
}
.nav-cta {
  background: linear-gradient(135deg, #E63B5A 0%, #DE4F64 64%, #FF7D96 140%) !important; color: #fff !important;
  border-radius: var(--radius-sm) !important; padding: 0.5rem 1rem !important;
  margin-left: 0.5rem !important;
  box-shadow: 0 12px 24px rgba(230, 59, 90, 0.16);
}
.nav-cta:hover { background: linear-gradient(135deg, #EA4B67 0%, #E86174 64%, #FF90A7 140%) !important; transform: translateY(-1px); }

/* ─── BURGER TOGGLE — Premium 2026 ─────────────────── */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease;
  overflow: hidden;
}
.nav-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(230,59,90,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav-toggle:hover::before {
  opacity: 1;
}

/* The 3 bars container */
.nav-toggle .burger-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.nav-toggle .burger-line {
  position: absolute;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #44403C, #57534E);
  transform-origin: center;
  will-change: transform, opacity, width;
}

/* Bar 1 — top, full width */
.nav-toggle .burger-line:nth-child(1) {
  width: 22px;
  top: 16px;
  transition:
    top 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
    transform 0.25s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    background 0.4s ease;
}

/* Bar 2 — middle, shorter + offset right */
.nav-toggle .burger-line:nth-child(2) {
  width: 16px;
  top: 23px;
  margin-left: 3px;
  transition:
    opacity 0.2s ease 0.12s,
    transform 0.2s ease,
    background 0.4s ease;
}

/* Bar 3 — bottom, medium width */
.nav-toggle .burger-line:nth-child(3) {
  width: 19px;
  top: 30px;
  margin-left: -1.5px;
  transition:
    top 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
    transform 0.25s cubic-bezier(0.55, 0.06, 0.68, 0.19),
    background 0.4s ease;
}

/* ── Hover: bars align + coral tint ── */
.nav-toggle:hover .burger-line {
  background: linear-gradient(90deg, var(--coral), var(--coral-light));
}
.nav-toggle:hover .burger-line:nth-child(2) {
  width: 22px;
  margin-left: 0;
}
.nav-toggle:hover .burger-line:nth-child(3) {
  width: 22px;
  margin-left: 0;
}

/* ── Active: morph → X ── */
/* Phase 1: collapse bars to center */
.nav-toggle.active .burger-line:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
  width: 22px;
  background: var(--coral);
  transition:
    top 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s,
    width 0.2s ease,
    background 0.3s ease;
}

.nav-toggle.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0) rotate(20deg);
  transition:
    opacity 0.15s ease,
    transform 0.2s ease;
}

.nav-toggle.active .burger-line:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
  width: 22px;
  margin-left: 0;
  background: var(--coral);
  transition:
    top 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s,
    width 0.2s ease,
    background 0.3s ease;
}

/* Active: subtle glow ring */
.nav-toggle.active::before {
  opacity: 1;
  background: radial-gradient(circle at center, rgba(230,59,90,0.12) 0%, transparent 70%);
}

/* Tap feedback */
.nav-toggle:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}


/* ─── MOBILE NAV ─────────────────────────────────────── */
.nav-mobile, .mobile-menu {
  display: none; position: fixed; inset: 64px 0 0 0;
  background: var(--surface); z-index: 99;
  padding: 1.5rem; flex-direction: column; gap: 0.5rem; overflow-y: auto;
}
.nav-mobile.open, .mobile-menu.open { display: flex; }
.nav-mobile a, .mobile-menu a {
  font-size: 1.1rem; font-weight: 500; color: var(--text);
  padding: 0.875rem 1rem; border-radius: var(--radius-sm);
  transition: background var(--duration); border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
}
.nav-mobile a:hover, .mobile-menu a:hover { background: var(--surface-warm); color: var(--coral); }

/* ─── HERO — Premium gradient ────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 50%, #faf5f0 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface-warm); border: 1px solid var(--border);
  border-radius: 100px; padding: 0.375rem 1rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--coral);
  margin-bottom: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 em { color: var(--coral); font-style: italic; }
.hero-sub {
  max-width: 560px; margin: 0 auto 2rem; line-height: 1.7;
}
.article-hero {
  position: relative; width: 100%; aspect-ratio: 16/7;
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 2.5rem;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,28,30,0.4) 0%, transparent 60%);
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 12px;
  font-size: 0.9375rem; font-weight: 600; border: none;
  cursor: pointer; transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #E63B5A 0%, #DE4F64 64%, #FF7D96 140%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(230, 59, 90, 0.16);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #EA4B67 0%, #E86174 64%, #FF90A7 140%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(230, 59, 90, 0.18);
}
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }
.btn-ghost { background: transparent; color: var(--coral); padding: 0.5rem 0.75rem; }
.btn-ghost:hover { background: var(--coral-pale); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 8px; }

/* ─── STORY BUBBLES ──────────────────────────────────── */
.stories-row {
  display: flex; gap: 1.5rem; overflow-x: auto;
    max-width: 100%;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 1rem 1.5rem; scrollbar-width: none;
  max-width: var(--max-width); margin: 0 auto;
}
.stories-row::-webkit-scrollbar { display: none; }
.story-bubble {
  flex-shrink: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; cursor: pointer; transition: transform var(--duration);
}
.story-bubble:hover { transform: scale(1.05); }
.story-bubble-ring {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg,var(--coral),var(--amber));
  padding: 3px; display: flex; align-items: center; justify-content: center;
}
.story-bubble-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center;
  justify-content: center; font-size: 1.75rem;
}
.story-bubble-name {
  font-size: 0.75rem; font-weight: 500; color: var(--text-sub);
  text-align: center; max-width: 72px; line-height: 1.3;
}

/* ─── TRUTH SCORE RING ───────────────────────────────── */
.truth-score-ring { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.truth-score-ring.lg { width: 112px; height: 112px; }
.truth-score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 3; }
.ring-fill {
  fill: none; stroke: var(--coral); stroke-width: 3;
  stroke-linecap: round; transition: stroke-dasharray 1.2s var(--ease);
}
.ring-fill.high { stroke: var(--verified); }
.ring-fill.mid { stroke: var(--amber); }
.ring-fill.low { stroke: var(--nogo); }
.score-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-num { font-size: 1.25rem; font-weight: 700; color: var(--text); line-height: 1; }
.truth-score-ring.lg .score-num { font-size: 1.75rem; }
.score-label { font-size: 0.625rem; font-weight: 600; color: var(--text-sub); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── VERDICT BADGES ─────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600;
}
.badge-verified { background: var(--verified-pale); color: var(--verified); border: 1px solid rgba(45,155,95,0.2); }
.badge-nogo { background: var(--nogo-pale); color: var(--nogo); border: 1px solid rgba(214,48,49,0.2); }
.badge-partial { background: var(--amber-pale); color: #BE123C; border: 1px solid rgba(255,125,150,0.24); }
.badge-info { background: rgba(99,102,241,0.08); color: #6366f1; border: 1px solid rgba(99,102,241,0.2); }

/* ─── TAG PILLS ──────────────────────────────────────── */
.tag-pill {
  display: inline-flex; align-items: center;
  background: var(--surface-muted); color: var(--text-sub);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.2rem 0.7rem; font-size: 0.75rem; font-weight: 500;
  transition: all var(--duration); cursor: pointer;
}
.tag-pill:hover { background: var(--coral-pale); color: var(--coral); border-color: var(--coral); }
.tag-pill.active { background: var(--coral-pale); color: var(--coral); border-color: var(--coral); }

/* ─── SECTIONS ───────────────────────────────────────── */
.section { max-width: var(--max-width); margin: 3rem auto; padding: 0 1.5rem; }
.section-header {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem;
}
.section-title {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 1.625rem; font-weight: 400; color: var(--text);
}
.section-link { font-size: 0.875rem; font-weight: 600; color: var(--coral); white-space: nowrap; text-decoration: none; }
.section-link:hover { color: var(--coral-light); }

/* ─── CARD GRID LAYOUTS ──────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(auto-fill,minmax(480px,1fr)); }

/* ─── CARD — Premium hover effects ──────────────────── */
.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-img { aspect-ratio: 16/9; background: var(--surface-warm); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1.25rem; }
.card-category {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 0.5rem;
}
.card h3 { font-size: 1.0625rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; line-height: 1.4; }
.card p { font-size: 0.875rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 0.75rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.card-read-more { font-size: 0.875rem; font-weight: 600; color: var(--coral); display: flex; align-items: center; gap: 0.25rem; text-decoration: none; }

/* ─── VERDICT FEATURE ────────────────────────────────── */
.verdict-feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  display: flex; gap: 2rem; align-items: flex-start;
}
.verdict-feature-score { flex-shrink: 0; }
.verdict-feature-body h2 { font-family: 'Playfair Display',Georgia,serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.verdict-feature-body p { color: var(--text-sub); line-height: 1.7; margin-bottom: 1rem; }

/* ─── ARTICLE CONTENT (PROSE) ────────────────────────── */
.prose {
  max-width: var(--content-width); margin: 0 auto;
  font-size: 1.0625rem; line-height: 1.8; color: var(--text);
}
.prose h1 { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 400; line-height: 1.2; margin: 0 0 1.5rem; letter-spacing: -0.02em; }
.prose h2 { font-family: 'Playfair Display',Georgia,serif; font-size: 1.625rem; font-weight: 400; line-height: 1.3; margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.prose h3 { font-size: 1.1875rem; font-weight: 600; margin: 2rem 0 0.75rem; color: var(--text); }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { font-weight: 600; color: var(--text); }
.prose em { font-style: italic; }
.prose a { color: var(--coral); border-bottom: 1px solid var(--coral-pale); text-decoration: none; }
.prose a:hover { color: var(--coral-light); border-bottom-color: var(--coral-light); }
.prose img { border-radius: var(--radius-sm); margin: 1.5rem 0; width: 100%; }

/* ─── PREMIUM BLOCKQUOTE ─────────────────────────────── */
.prose blockquote,
.article-prose blockquote {
  border-left: 3px solid #E63B5A;
  padding: 1.5rem 2rem;
  background: #fafaf9;
  font-style: italic;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-sub);
}
.prose blockquote cite,
.article-prose blockquote cite {
  display: block; margin-top: 0.5rem;
  font-size: 0.875rem; font-style: normal; font-weight: 600; color: var(--text);
}

.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.prose table th { background: var(--surface-warm); font-weight: 600; text-align: left; padding: 0.75rem 1rem; border-bottom: 2px solid var(--border); }
.prose table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-soft); }
.prose table tr:nth-child(even) td { background: var(--surface-muted); }

/* ─── ARTICLE META ───────────────────────────────────── */
.article-meta {
  display: flex; align-items: center; gap: 1.25rem;
  flex-wrap: wrap; margin-bottom: 2rem;
  font-size: 0.875rem; color: var(--text-muted);
}
.article-meta-author { display: flex; align-items: center; gap: 0.5rem; color: var(--text-sub); font-weight: 500; }
.article-meta-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ─── CALLOUT BOXES ──────────────────────────────────── */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  margin: 1.5rem 0; font-size: 0.9375rem; line-height: 1.6;
  background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.2); color: var(--text);
}
.callout-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.callout-warning { background: var(--amber-pale); border-color: rgba(255,125,150,0.24); }
.callout-verified { background: var(--verified-pale); border-color: rgba(45,155,95,0.2); }
.callout-nogo { background: var(--nogo-pale); border-color: rgba(214,48,49,0.2); }

/* ─── EXPERT CARD ────────────────────────────────────── */
.expert-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: box-shadow var(--duration), transform var(--duration);
}
.expert-card:hover { box-shadow: 0 4px 24px var(--shadow-md); transform: translateY(-1px); }
.expert-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; border: 2px solid var(--border);
  background: var(--surface-warm); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.expert-info h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.expert-info p { font-size: 0.875rem; color: var(--text-sub); line-height: 1.5; margin-bottom: 0.5rem; }
.expert-credential {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--verified-pale); color: var(--verified);
  border-radius: 100px; padding: 0.2rem 0.6rem;
  font-size: 0.75rem; font-weight: 600;
}

/* ─── NO-GO LIST ─────────────────────────────────────── */
.nogo-item {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--nogo);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem; margin-bottom: 1rem;
  transition: box-shadow var(--duration);
}
.nogo-item:hover { box-shadow: 0 4px 20px rgba(214,48,49,0.08); }
.nogo-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.nogo-header h3 { font-size: 1rem; font-weight: 600; color: var(--text); }
.nogo-severity {
  flex-shrink: 0; padding: 0.2rem 0.7rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.nogo-severity.high { background: var(--nogo-pale); color: var(--nogo); }
.nogo-severity.medium { background: var(--amber-pale); color: #BE123C; }
.nogo-why { font-size: 0.875rem; color: var(--text-sub); line-height: 1.6; }

/* ─── STAT COUNTERS ──────────────────────────────────── */
.stat-row {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.06), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,245,0.96));
  border-radius: var(--radius);
  border: 1px solid rgba(95, 75, 61, 0.08);
  box-shadow: 0 22px 46px rgba(24, 18, 16, 0.05);
}
.stat-item { flex: 1; min-width: 120px; text-align: center; }
.stat-num {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 2.25rem; font-weight: 400; color: var(--coral);
  line-height: 1; display: block; margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.8125rem; color: var(--text-sub); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }

/* ─── SEARCH BAR ─────────────────────────────────────── */
.search-bar { position: relative; max-width: 480px; margin: 0 auto; }
.search-input {
  width: 100%; padding: 0.875rem 1rem 0.875rem 3rem;
  border: 1.5px solid var(--border); border-radius: 12px;
  font-size: 0.9375rem; background: var(--surface); color: var(--text);
  transition: border-color var(--duration);
}
.search-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-pale); }
.search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; font-size: 1rem;
}

/* ─── PROGRESS BAR ───────────────────────────────────── */
.progress-bar { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transition: width 0.6s var(--ease);
}

/* ─── SKELETON LOADING ───────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--surface-warm) 37%, var(--border) 63%);
  background-size: 600px 100%; animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-sm);
}
.skeleton-text { height: 1rem; margin-bottom: 0.5rem; border-radius: 4px; }
.skeleton-text.wide { width: 80%; }
.skeleton-text.narrow { width: 40%; }
.skeleton-img { aspect-ratio: 16/9; border-radius: var(--radius); }

/* ─── SHARE BUTTONS ──────────────────────────────────── */
.share-bar { display: flex; align-items: center; gap: 0.75rem; margin: 2rem 0; }
.share-bar span { font-size: 0.875rem; font-weight: 600; color: var(--text-sub); }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.875rem; border-radius: 8px;
  font-size: 0.8125rem; font-weight: 600; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-sub);
  transition: all var(--duration);
}
.share-btn:hover { border-color: var(--coral); color: var(--coral); background: var(--coral-pale); }

/* ─── FAQ ACCORDION ──────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; padding: 1.125rem 0;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; font-size: 1rem; font-weight: 600;
  color: var(--text); cursor: pointer; gap: 1rem;
}
.faq-question::after {
  content: '+'; font-size: 1.25rem; font-weight: 300;
  color: var(--coral); flex-shrink: 0; transition: transform var(--duration);
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 0 0 1.25rem; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.7; }

/* ─── SCORE TABLE ────────────────────────────────────── */
.nuance-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.nuance-table th {
  background: var(--surface-warm); font-weight: 600; text-align: left;
  padding: 0.75rem 1rem; border-bottom: 2px solid var(--border);
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-sub);
}
.nuance-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--border-soft); }
.nuance-table tr:hover td { background: var(--surface-muted); }

/* ─── NEWSLETTER — Glassmorphism dark ────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
}
.newsletter-section h2 { color: #fff; }
.newsletter-section p { color: rgba(255,255,255,0.7); }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px;
  font-size: 0.9375rem; background: rgba(255,255,255,0.08); color: #fff;
  transition: border-color var(--duration);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--coral); }

/* ─── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb span { color: var(--text-sub); font-weight: 500; }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 125, 150, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #fff7f6 100%) !important;
  color: #6f5d63 !important;
  padding: 3.5rem 1.5rem 2rem; margin-top: 5rem;
  border-top: 1px solid rgba(95, 75, 61, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,59,90,0.24), rgba(255,125,150,0.16), transparent);
  pointer-events: none;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
.footer-brand {
  font-family: 'Playfair Display',Georgia,serif;
  font-size: 1.5rem; color: #22191d; margin-bottom: 0.875rem;
  display: flex; align-items: center;
}
.footer-brand span { color: var(--coral); }
.footer-grid > div > p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; color: #6f5d63; }
.footer-grid > div > h4 {
  color: #22191d; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-grid > div > a {
  display: block; color: #6f5d63;
  font-size: 0.875rem; margin-bottom: 0.625rem;
  transition: color var(--duration); text-decoration: none;
}
.footer-grid > div > a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid rgba(95, 75, 61, 0.08);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: 0.8125rem;
}
.footer-bottom a { color: #7f6d74; text-decoration: none; }
.footer-bottom a:hover { color: var(--coral); }
.footer-trust {
  display: flex; align-items: center; gap: 0.5rem;
  color: #8a7b80; font-size: 0.8125rem;
}
.footer-trust span { color: var(--coral-dark); }
.site-footer.bg-stone-900 { background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 125, 150, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, #fff7f6 100%) !important; }
.site-footer.text-stone-300,
.site-footer .text-stone-300,
.site-footer .text-stone-400,
.site-footer .text-stone-500 { color: #6f5d63 !important; }
.site-footer .text-white,
.site-footer .hover\:text-white { color: #22191d !important; }
.site-footer .hover\:text-white:hover,
.site-footer a:hover { color: var(--coral) !important; }
.site-footer .border-stone-800 { border-color: rgba(95, 75, 61, 0.08) !important; }

/* ─── BACK TO TOP ────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,240,243,0.94));
  border: 1.5px solid rgba(230, 59, 90, 0.14);
  color: var(--coral-dark); font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(230, 59, 90, 0.16); cursor: pointer;
  opacity: 0; pointer-events: none; transition: all var(--duration);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--coral); color: #fff; border-color: var(--coral); transform: translateY(-2px); }

/* ─── LEGACY COMPAT ──────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.highlight { color: var(--coral); }
.section-title h2 { font-family: 'Playfair Display',Georgia,serif; font-size: 1.625rem; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-sub); }
.label-badge { display: inline-block; background: var(--coral); color: #fff; padding: 0.25rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.newsletter .container { max-width: var(--max-width); margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }


/* ─── MISSING COMPONENT CLASSES ──────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  background: var(--coral); color: #fff; padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 0.5rem; }
.logo-img { height: 40px; width: auto; }
.contact-form { max-width: var(--content-width); margin: 0 auto; }
.contact-info { max-width: var(--content-width); margin: 0 auto 2rem; }
.expert-lead {
  background: linear-gradient(135deg, var(--surface-warm), rgba(230,59,90,0.05));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 2rem;
}
.footer-separator { border-top: 1px solid rgba(255,255,255,0.08); margin: 1.5rem 0; }
.reading-progress-bar { height: 3px; background: var(--coral); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .verdict-feature { flex-direction: column; gap: 1rem; }
  .newsletter-form { flex-direction: column; }
  .stories-row { padding: 1rem; }
  .stat-row { gap: 1rem; padding: 1.5rem; }
  .prose { font-size: 1rem; }
  .share-bar { flex-wrap: wrap; }
  #back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .breadcrumb { padding: 0.625rem 1rem; }
  .article-meta { gap: 0.75rem; }
  .section { margin: 2rem auto; }
}


/* ═══════════════════════════════════════════════════════
   NUANCE — Visual Fix v2.2 — Added classes + polish
   ═══════════════════════════════════════════════════════ */

/* ─── CTA JOIN (experts page) ────────────────────────── */
.cta-join {
  background: linear-gradient(135deg, #292524 0%, #1c1917 100%);
  position: relative;
  overflow: hidden;
}
.cta-join::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 120%, rgba(230,59,90,0.14) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── EXPERT SPECIALTY TAG ───────────────────────────── */
.expert-specialty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── BUTTON SECONDARY ───────────────────────────────── */
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-1px);
}

/* ─── CARD GRADIENT (no-go-list) ─────────────────────── */
.card-gradient {
  background: linear-gradient(135deg, var(--surface-warm) 0%, var(--surface) 100%);
}

/* ─── RISK BADGES ────────────────────────────────────── */
.risk-danger { background: var(--nogo-pale); color: var(--nogo); border: 1px solid rgba(214,48,49,0.15); }
.risk-caution { background: var(--amber-pale); color: #BE123C; border: 1px solid rgba(255,125,150,0.22); }
.risk-watch { background: rgba(251,113,133,0.08); color: #BE123C; border: 1px solid rgba(251,113,133,0.15); }

/* ─── PROSE TYPOGRAPHY ───────────────────────────────── */
.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  font-weight: 400;
}
.prose p { color: var(--text-sub); line-height: 1.8; }
.prose a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--coral-light); }
.prose ul, .prose ol { color: var(--text-sub); }
.prose strong { color: var(--text); font-weight: 600; }

/* ─── GRADIENT PLACEHOLDERS ──────────────────────────── */
.gradient-placeholder-1 { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #f48fb1 100%); }
.gradient-placeholder-2 { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%); }
.gradient-placeholder-3 { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%); }
.gradient-placeholder-featured { background: linear-gradient(135deg, #fafaf9 0%, #f5ebe0 30%, #fec89a 70%, #f4845f 100%); }

/* ─── FORM IMPROVEMENTS ──────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"],
input[type="url"], textarea, select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ─── ENHANCED HOVER EFFECTS ─────────────────────────── */
.expert-card {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.expert-card:hover {
  box-shadow: 0 8px 32px -8px rgba(28,28,30,0.12);
  transform: translateY(-2px);
  border-color: rgba(230,59,90,0.15);
}

/* ─── SECTION TRANSITIONS ────────────────────────────── */
section {
  transition: opacity 0.3s ease;
}

/* ─── BRAND LOGO HOVER ───────────────────────────────── */
.brand-logo {
  text-decoration: none;
  transition: opacity 0.2s;
}
.brand-logo:hover {
  opacity: 0.8;
}

/* ─── NAV ACTIVE STATE ───────────────────────────────── */
.main-nav a:not(.nav-cta)[aria-current="page"],
.main-nav a:not(.nav-cta).active {
  color: var(--coral);
  background: var(--coral-pale);
}

/* ─── SCROLL INDICATOR (bottom of hero) ──────────────── */
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ─── LOADING SKELETON ───────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--surface-muted) 25%, var(--surface-warm) 50%, var(--surface-muted) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ─── TOAST / NOTIFICATION ───────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 1000;
  background: var(--text); color: #fff;
  padding: 1rem 1.5rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(28,28,30,0.25);
  transform: translateY(120%);
  transition: transform 0.3s var(--ease);
}
.toast.show { transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   NUANCE — System Upgrade v3.0
   Premium shell · honest interactions · coherent cards
   ═══════════════════════════════════════════════════════ */



body {
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.10), transparent 22%),
    radial-gradient(circle at top left, rgba(242, 166, 90, 0.08), transparent 18%),
    radial-gradient(circle at 18% 72%, rgba(249, 191, 200, 0.09), transparent 18%),
    linear-gradient(180deg, #fffefd 0%, #fff8f6 46%, #fffdfc 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(rgba(255,255,255,0.9) 0.7px, transparent 0.7px),
    radial-gradient(rgba(230,59,90,0.08) 0.7px, transparent 0.7px);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.18));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.18));
  z-index: -1;
}

header[role="banner"] a[aria-label="Nuance - Accueil"] {
  display: inline-flex;
  align-items: center;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  header[role="banner"] a[aria-label="Nuance - Accueil"] {
    font-size: 1.52rem;
  }
}

.filter-search-shell {
  position: relative;
}

.filter-search-shell > svg {
  display: none;
}

.filter-search-dot {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--coral);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0.38rem rgba(230, 59, 90, 0.12);
  pointer-events: none;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(230, 59, 90, 0.38);
  outline-offset: 3px;
}

.site-header {
  background: rgba(255, 252, 250, 0.88);
  border-bottom: 1px solid rgba(95, 75, 61, 0.08);
  box-shadow: 0 12px 34px rgba(24, 18, 16, 0.05);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 59, 90, 0.22), rgba(255, 125, 150, 0.14), transparent);
  pointer-events: none;
}

.brand-logo {
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.main-nav {
  gap: 0.375rem;
}

.main-nav a:not(.nav-cta) {
  position: relative;
  color: #695660;
  padding: 0.6rem 0.85rem;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration) var(--ease);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta).active::after,
.main-nav a:not(.nav-cta)[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-mobile, .mobile-menu {
  inset: 64px 1rem auto 1rem;
  border-radius: 24px;
  border: 1px solid rgba(230, 59, 90, 0.14);
  background: rgba(255, 250, 251, 0.96);
  box-shadow: 0 24px 80px rgba(230, 59, 90, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-mobile.open, .mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile a, .mobile-menu a {
  border-bottom: 1px solid rgba(230, 59, 90, 0.08);
  color: var(--text);
}

.nav-mobile a:last-child, .mobile-menu a:last-child {
  border-bottom: 0;
}

.hero,
.hero-gradient,
.hero-investigations,
.hero-experts {
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  min-height: clamp(680px, 86vh, 900px);
  background:
    radial-gradient(circle at 82% 16%, rgba(230, 59, 90, 0.12), transparent 22%),
    radial-gradient(circle at 18% 84%, rgba(255, 148, 168, 0.12), transparent 24%),
    linear-gradient(135deg, #fffafc 0%, #fff2f6 48%, #fff8fb 100%);
}

.hero-gradient::after,
.hero-investigations::after,
.hero-experts::after,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 59, 90, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 59, 90, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 78%);
  pointer-events: none;
}

.hero,
.hero-investigations,
.hero-experts {
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(255, 252, 250, 0.97), rgba(255, 246, 243, 0.94) 56%, rgba(255, 251, 249, 0.98) 100%);
}

.card-hover,
.investigation-card,
.product-card,
.ingredient-card {
  position: relative;
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.card-hover:hover,
.investigation-card:hover,
.product-card:hover,
.ingredient-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 59, 90, 0.14);
  box-shadow: 0 24px 60px rgba(22, 19, 16, 0.08);
}

.interactive-surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.interactive-surface > * {
  position: relative;
  z-index: 1;
}

.interactive-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(255,255,255,0.78), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.interactive-surface:hover::after {
  opacity: 1;
}

.expert-card {
  display: block;
  min-height: 100%;
  border-color: rgba(101, 78, 59, 0.10);
  box-shadow: 0 14px 42px rgba(22, 19, 16, 0.05);
}

.expert-card > .flex.items-start.gap-6 {
  align-items: flex-start;
}

.expert-card .expert-avatar {
  flex: 0 0 auto;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.5rem;
}

.expert-card h3,
.expert-card p,
.expert-card span {
  word-break: normal;
  overflow-wrap: anywhere;
}

.expert-card p {
  width: 100%;
}



/* ─── FILTER BAR — Sliding Glider (2026) ────────────── */
.filter-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(230, 59, 90, 0.08);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(230, 59, 90, 0.06);
  width: fit-content;
  margin: 0 auto;
}

/* The sliding pill indicator */
.filter-glider {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 12px;
  background: var(--coral);
  box-shadow: 0 4px 16px rgba(230, 59, 90, 0.3);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}

/* Individual tab buttons */
.filter-tab {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #78716C;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: color 0.25s ease;
}

/* Active tab = white text on coral glider */
.filter-tab.active {
  color: #fff;
}

/* Hover on inactive tabs */
.filter-tab:not(.active):hover {
  color: var(--coral);
}

/* Focus accessibility — coral glow instead of black outline */
.filter-tab:focus-visible {
  box-shadow: 0 0 0 2px rgba(230, 59, 90, 0.3);
}

/* Tablet & mobile: allow horizontal scroll sooner for iPad consistency */
@media (max-width: 1024px) {
  .filter-bar {
    border-radius: 14px;
    gap: 2px;
    padding: 4px;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .filter-glider {
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    border-radius: 10px;
  }
}

/* Keep old .filter-btn working as alias */
.filter-btn { display: none; }

.bg-amber-50,
.bg-amber-100,
.bg-orange-50,
.bg-yellow-50 {
  background-color: rgba(230, 59, 90, 0.08) !important;
}

.text-amber-600,
.text-amber-700,
.text-orange-600,
.text-yellow-700 {
  color: #D03452 !important;
}

.border-amber-100,
.border-amber-500,
.border-orange-500,
.border-yellow-500 {
  border-color: rgba(230, 59, 90, 0.26) !important;
}


[hidden] {
  display: none !important;
}

.newsletter-section {
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 148, 168, 0.10), transparent 26%),
    linear-gradient(135deg, rgba(255,250,251,0.98) 0%, rgba(255,243,247,0.96) 55%, rgba(255,248,251,0.98) 100%);
  border: 1px solid rgba(230, 59, 90, 0.12);
  box-shadow: 0 28px 72px rgba(230, 59, 90, 0.10);
}

.newsletter-section h2 {
  color: var(--text) !important;
}

.newsletter-section p {
  color: var(--text-sub) !important;
}

.newsletter-section input[type="email"] {
  background: rgba(255,255,255,0.82) !important;
  border-color: rgba(230, 59, 90, 0.12) !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.newsletter-section input[type="email"]::placeholder {
  color: rgba(100, 79, 88, 0.58) !important;
}

.toast {
  background: rgba(22, 19, 16, 0.94);
  color: #fff;
}

@media (min-width: 1024px) {
  .expert-scroll {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible !important;
    padding-inline: 0;
    margin-inline: 0;
  }

  .expert-scroll > * {
    width: auto !important;
  }
}

@media (max-width: 1024px) {
  .nav-mobile, .mobile-menu {
    inset: 64px 0.75rem auto 0.75rem;
  }
}


/* ═══════════════════════════════════════════════════════
   TAILWIND FALLBACKS — Critical classes backed locally
   These ensure buttons/layout work even if CDN fails.
   Tailwind CDN will override these with its own rules.
   ═══════════════════════════════════════════════════════ */

/* Colors — Coral buttons */
.bg-coral { background-color: var(--coral) !important; }
.bg-coral-dark { background-color: var(--coral-dark) !important; }
.bg-coral-light { background-color: var(--coral-light) !important; }
.hover\:bg-coral-dark:hover { background-color: var(--coral-dark) !important; }
.hover\:bg-coral-light:hover { background-color: var(--coral-light) !important; }
.hover\:bg-coral\/90:hover { background-color: var(--coral); opacity: 0.9; }
.text-coral { color: var(--coral); }
.text-coral-dark { color: var(--coral-dark); }
.text-coral-light { color: var(--coral-light); }
.hover\:text-coral:hover { color: var(--coral); }
.hover\:text-coral-dark:hover { color: var(--coral-dark); }
.hover\:text-coral-light:hover { color: var(--coral-light); }
.text-white { color: #fff; }
.bg-white { background-color: #fff; }
.border-coral { border-color: var(--coral); }

/* Semantic colors */
.bg-verified { background-color: #2D9B5F; }
.text-verified { color: #2D9B5F; }
.bg-nogo { background-color: #D63031; }
.text-nogo { color: #D63031; }

/* Layout — Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }

/* Layout — Grid */
.grid { display: grid; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Spacing */
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (min-width: 768px) {
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.text-center { text-align: center; }

/* Stone text colors */
.text-stone-400 { color: #A8A29E; }
.text-stone-500 { color: #78716C; }
.text-stone-600 { color: #57534E; }
.text-stone-700 { color: #44403C; }
.text-stone-800 { color: #292524; }
.text-stone-900 { color: #1C1917; }

/* Stone backgrounds */
.bg-stone-50 { background-color: #FAFAF9; }
.bg-stone-100 { background-color: #F5F5F4; }
.bg-stone-900 { background-color: #1C1917; }

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-stone-100 { border-color: #F5F5F4; }
.border-stone-200 { border-color: #E7E5E4; }
.border-stone-800 { border-color: #292524; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-16 { height: 4rem; }
.h-56 { height: 14rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }

/* Images */
.object-cover { object-fit: cover; }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; }
.transition-all { transition-property: all; transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* Backdrop */
.backdrop-blur-md { backdrop-filter: blur(12px); }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ================================================================
   MOBILE MENU REFRESH (2026-03-08)
   ================================================================ */

.nav-toggle {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(230, 59, 90, 0.12);
  box-shadow: 0 16px 34px rgba(230, 59, 90, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-toggle:hover {
  transform: translateY(-1px);
}

.nav-toggle.active {
  background: rgba(255,245,247,0.96);
  border-color: rgba(230, 59, 90, 0.2);
  box-shadow: 0 18px 40px rgba(230, 59, 90, 0.16);
}

.nav-toggle .burger-line {
  background: linear-gradient(90deg, #4B3F39, #7A5F55);
}

.mobile-menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 208;
  background: linear-gradient(180deg, rgba(22, 19, 16, 0.08), rgba(22, 19, 16, 0.42));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 209;
  padding: 0;
  background: transparent;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  width: min(23rem, calc(100vw - 1rem));
  max-width: calc(100vw - 1rem);
  margin-left: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 1.9rem;
  border: 1px solid rgba(230, 59, 90, 0.12);
  background:
    radial-gradient(circle at top right, rgba(230, 59, 90, 0.16), transparent 34%),
    radial-gradient(circle at bottom left, rgba(242, 166, 90, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255,250,251,0.98), rgba(255,245,247,0.98));
  box-shadow: 0 28px 90px rgba(22, 19, 16, 0.22);
  transform: translate3d(22px, 0, 0) scale(0.98);
  transform-origin: top right;
  opacity: 0;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.mobile-menu.open .mobile-menu-inner {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.mobile-menu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.mobile-menu-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.25rem;
}

.mobile-menu-kicker,
.mobile-menu-section-label,
.mobile-action-label,
.mobile-nav-link-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mobile-menu-kicker,
.mobile-nav-link-meta {
  color: rgba(230, 59, 90, 0.82);
}

.mobile-menu-home-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu-home-link:hover,
.mobile-menu-home-link[aria-current="page"] {
  color: var(--coral-dark);
}

.mobile-menu-home-link span {
  color: var(--coral);
}

.mobile-menu-brand p {
  max-width: 23ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-sub);
}

.mobile-menu-close {
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(230, 59, 90, 0.12);
  border-radius: 1rem;
  background: rgba(255,255,255,0.72);
  color: var(--text);
  box-shadow: 0 14px 30px rgba(230, 59, 90, 0.10);
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background 200ms var(--ease),
    color 200ms var(--ease),
    border-color 200ms var(--ease);
}

.mobile-menu-close:hover {
  transform: translateY(-1px);
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.mobile-menu-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0.2rem;
}

.mobile-menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(230, 59, 90, 0.10);
  color: var(--text-sub);
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(230, 59, 90, 0.08);
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-menu-section-label {
  padding: 0 0.25rem;
  color: var(--text-muted);
}

.mobile-menu-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 1rem;
  text-align: left;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(230, 59, 90, 0.08);
  border-radius: 1.4rem;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 12px 30px rgba(230, 59, 90, 0.08);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.mobile-nav-link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.mobile-nav-link-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.08;
  color: var(--text);
}

.mobile-nav-link-note {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-sub);
}

.mobile-nav-link-secondary {
  background: rgba(255,255,255,0.62);
}

.mobile-nav-link-secondary .mobile-nav-link-title {
  font-size: 1.06rem;
}

.mobile-nav-link-arrow {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(230, 59, 90, 0.08);
  color: var(--coral);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    color 220ms ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.92);
  border-color: rgba(230, 59, 90, 0.2);
  box-shadow: 0 18px 38px rgba(230, 59, 90, 0.12);
}

.mobile-nav-link:hover .mobile-nav-link-arrow,
.mobile-nav-link.active .mobile-nav-link-arrow,
.mobile-nav-link[aria-current="page"] .mobile-nav-link-arrow {
  transform: translateX(3px);
  background: linear-gradient(135deg, var(--coral), #F08A68);
  color: #fff;
}

.mobile-nav-link.active .mobile-nav-link-title,
.mobile-nav-link[aria-current="page"] .mobile-nav-link-title {
  color: var(--coral-dark);
}

.mobile-menu-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 0.15rem;
}

.mobile-search-btn,
.mobile-menu-cta {
  min-width: 0;
  min-height: 5.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 1.4rem;
  text-align: left;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease;
}

.mobile-search-btn {
  border: 1px solid rgba(230, 59, 90, 0.10);
  background: rgba(255,255,255,0.74);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(230, 59, 90, 0.08);
  cursor: pointer;
}

.mobile-menu-cta {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--coral), #F08A68);
  color: #fff;
  box-shadow: 0 18px 36px rgba(230, 59, 90, 0.22);
}

.mobile-search-btn:hover,
.mobile-menu-cta:hover {
  transform: translateY(-1px);
}

.mobile-search-btn:hover {
  border-color: rgba(230, 59, 90, 0.18);
  box-shadow: 0 18px 36px rgba(230, 59, 90, 0.12);
}

.mobile-menu-cta:hover {
  box-shadow: 0 22px 40px rgba(230, 59, 90, 0.28);
}

.mobile-action-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.mobile-action-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.mobile-action-note {
  font-size: 0.8rem;
  line-height: 1.4;
  color: inherit;
  opacity: 0.78;
  overflow-wrap: anywhere;
}

.mobile-action-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(230, 59, 90, 0.08);
  color: var(--coral);
}

.mobile-menu-footer {
  padding: 0.2rem 0.25rem 0;
  border-top: 1px solid rgba(230, 59, 90, 0.08);
}

.mobile-menu-footer p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.mobile-menu.open .mobile-menu-inner > * {
  animation: menuSlideIn 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  opacity: 0;
}

.mobile-menu.open .mobile-menu-inner > *:nth-child(1) { animation-delay: 20ms; }
.mobile-menu.open .mobile-menu-inner > *:nth-child(2) { animation-delay: 60ms; }
.mobile-menu.open .mobile-menu-inner > *:nth-child(3) { animation-delay: 100ms; }
.mobile-menu.open .mobile-menu-inner > *:nth-child(4) { animation-delay: 140ms; }
.mobile-menu.open .mobile-menu-inner > *:nth-child(5) { animation-delay: 180ms; }
.mobile-menu.open .mobile-menu-inner > *:nth-child(6) { animation-delay: 220ms; }

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 420px) {
  .mobile-menu-inner {
    left: 0.5rem;
    width: auto;
  }

  .mobile-menu-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-backdrop,
  .mobile-menu-inner,
  .mobile-menu.open .mobile-menu-inner > *,
  .mobile-nav-link,
  .mobile-nav-link-arrow,
  .mobile-search-btn,
  .mobile-menu-cta,
  .nav-toggle {
    animation: none !important;
    transition: none !important;
  }
}

/* Filter bar scroll indicator for mobile */
@media (max-width: 767px) {
  .filter-bar {
    position: relative;
  }
  .filter-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, rgba(255, 250, 251, 0.96));
    border-radius: 0 14px 14px 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .filter-bar.scrolled-end::after {
    opacity: 0;
  }
}

main .max-w-3xl > h1 + p:not([class*="mt-"]),
main .max-w-3xl > h2 + p:not([class*="mt-"]),
main .max-w-3xl > h3 + p:not([class*="mt-"]),
main .text-center > h2 + p:not([class*="mt-"]),
main .text-center > h3 + p:not([class*="mt-"]) {
  margin-top: 0.4rem;
}


/* ═══════════════════════════════════════════════════════
   JOURNAL / MEDIA UPGRADE — 2026-03-17
   ═══════════════════════════════════════════════════════ */

/* ─── INVESTIGATION META BAR ────────────────────────── */
.inv-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(28, 25, 23, 0.07);
}
.inv-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D6365A;
  font-family: 'Inter', sans-serif;
  opacity: 0.8;
}
.inv-date {
  font-size: 0.72rem;
  color: #a8a29e;
  font-weight: 400;
}
.inv-validator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: #a8a29e;
  font-style: italic;
}
.inv-validator::before {
  content: " b7";
  font-style: normal;
  color: #d6d3d1;
  margin-right: 0.25rem;
}

/* ─── DATELINE ───────────────────────────────────────── */
.dateline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8a29e;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.75rem;
}

/* ─── RUBRIQUE LABEL ─────────────────────────────────── */
.rubrique {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D6365A;
  border-top: 2px solid #E63B5A;
  padding-top: 0.3rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

/* ─── COVER STORY ────────────────────────────────────── */
.cover-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(230, 59, 90, 0.06), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(230, 59, 90, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.cover-story:hover {
  box-shadow: 0 12px 40px rgba(230, 59, 90, 0.10), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.cover-story-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: #f5f0eb;
}
.cover-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.cover-story:hover .cover-story-img img {
  transform: scale(1.04);
}
.cover-story-body {
  padding: 2rem;
}
.cover-exclusive {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E63B5A;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cover-story {
    grid-template-columns: 1fr 1fr;
  }
  .cover-story-img {
    min-height: 420px;
  }
  .cover-story-body {
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .cover-story-body {
    padding: 1.5rem;
  }
}

/* ─── INSTITUTIONAL FOOTER BLOCK ─────────────────────── */
.footer-institutional {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.footer-institutional p {
  font-size: 0.65rem;
  color: #57534e;
  line-height: 1.8;
}

/* ─── PEER REVIEW BADGE ──────────────────────────────── */
.peer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(45, 155, 95, 0.08);
  color: #2D9B5F;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}

/* ─── EXPERT PUBLICATION COUNT ───────────────────────── */
.expert-pubcount {
  font-size: 0.7rem;
  color: #a8a29e;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ─── RESPONSIVE: SMALL PHONES ───────────────────────── */
@media (max-width: 480px) {
  .inv-meta {
    gap: 0.4rem;
  }
  .footer-institutional {
    flex-direction: column;
  }
  .dateline {
    font-size: 0.65rem;
  }
}

/* ═══════════════════════════════════════════════════
   INV-META v2 — editorial byline at TOP of card
   Overrides previous rules (2026-03-18)
════════════════════════════════════════════════════ */
.inv-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(214, 211, 209, 0.45);
  margin-bottom: 0;
}
.inv-sep {
  color: #c8c4c0;
  font-size: 0.6rem;
  padding: 0 0.4rem;
  user-select: none;
}
.inv-number {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #D6365A;
}
.inv-date {
  font-size: 0.68rem;
  color: #a8a29e;
  font-weight: 400;
}
.inv-validator {
  font-size: 0.68rem;
  color: #78716c;
  font-weight: 500;
  display: inline;
}
.inv-validator::before {
  content: none;
  display: none;
}
@media (max-width: 480px) {
  .inv-meta {
    gap: 0;
  }
}

/* ═══════════════════════════════════════════════════
   INV-META v3 — byline-style redesign (2026-03-18)
   Dr. C.M. · 15 jan. 2026   [#INV-001]
════════════════════════════════════════════════════ */
.inv-meta {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(214, 211, 209, 0.4);
  margin-bottom: 0;
}
.inv-validator {
  font-size: 0.7rem;
  color: #44403c;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.inv-sep {
  color: #c8c4c0;
  padding: 0 0.32rem;
  font-size: 0.6rem;
  user-select: none;
}
.inv-date {
  font-size: 0.68rem;
  color: #a8a29e;
  font-weight: 400;
}
.inv-number {
  margin-left: auto;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D6365A;
  background: rgba(230, 59, 90, 0.08);
  padding: 2px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.inv-validator::before {
  content: none;
  display: none;
}

/* ═══════════════════════════════════════════════════════════════
   COVER-STORY v2 — editorial overlay on mobile (2026-03-18)
   Mobile: tall image with gradient overlay (content inside image)
   Desktop (md+): keeps 2-col side-by-side layout
════════════════════════════════════════════════════════════════ */

/* ── Mobile-first overlay layout ── */
@media (max-width: 767px) {
  .cover-story {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 32px rgba(230,59,90,0.12), 0 2px 8px rgba(0,0,0,0.08);
  }
  .cover-story-img {
    min-height: 0;
    height: 340px;
    aspect-ratio: auto;
  }
  .cover-story-img img {
    height: 340px;
    object-position: center top;
  }
  /* Gradient overlay at bottom of image */
  .cover-story-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 30%,
      rgba(18,12,10,0.55) 65%,
      rgba(18,12,10,0.92) 100%
    );
    pointer-events: none;
    z-index: 1;
  }
  /* Content floats over image */
  .cover-story-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    z-index: 2;
  }
  /* Adapt text colors for dark overlay */
  .cover-story-body .dateline {
    color: rgba(255,255,255,0.55);
    font-size: 0.65rem;
  }
  .cover-story-body .rubrique {
    color: #FF9EB0;
    background: rgba(230,59,90,0.22);
    border-color: rgba(230,59,90,0.25);
  }
  .cover-story-body h2 {
    color: #fff !important;
    font-size: 1.2rem !important;
    line-height: 1.35;
    margin-bottom: 0.75rem !important;
  }
  .cover-story-body > p {
    display: none; /* hide excerpt on mobile to keep it clean */
  }
  .cover-story-body .peer-badge {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
  }
  .cover-story-body .peer-badge svg { color: #FF9EB0; }
  .cover-story-body .flex.items-center.gap-4 > span.text-xs {
    color: rgba(255,255,255,0.5);
  }
  .cover-story-body .ml-auto {
    color: #FF9EB0 !important;
  }
}

/* ── NAV MAGAZINE LABEL — 2026-03-18 */
.nc-mag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D6365A;
  line-height: 1;
  opacity: 1;
}

/* Lighthouse contrast fixes */
.text-coral { color: #D03452 !important; }
.text-stone-400 { color: #78716c !important; }

/* Contrast fix: small text on coral bg needs bolder contrast */
.bg-coral { background-color: #D03452 !important; }

/* Contrast fixes for WCAG AA compliance */
.text-red-600 { color: #b91c1c !important; }
