/* LAB Enhanced — B52K-LAB Page — Big Fish International — 2026-04-05
 * Companion CSS for page-lab-fournisseur.php
 * Loaded conditionally via tej_enqueue_styles() when tej_is_lab_page() returns true
 * Design system: Navy-deep / Gold / Glassmorphism — matches custom.css tokens
 * ──────────────────────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════════════
   0. DESIGN TOKENS (local — inherit from :root in custom.css)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --lab-navy:       #0a1628;
  --lab-navy-mid:   #0f2040;
  --lab-navy-card:  rgba(15, 32, 64, 0.72);
  --lab-gold:       #c9a84c;
  --lab-gold-light: #e8c97a;
  --lab-steel:      #4a7fa5;
  --lab-teal:       #1a8a8a;
  --lab-success:    #2ecc71;
  --lab-danger:     #e74c3c;
  --lab-glass-bg:   rgba(255, 255, 255, 0.05);
  --lab-glass-border: rgba(201, 168, 76, 0.22);
  --lab-blur:       blur(12px);
  --lab-radius-card: 16px;
  --lab-radius-sm:  8px;
  --lab-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --lab-section-py: clamp(60px, 8vw, 100px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. AURORA BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */
body.has-aurora-bg.lab-page-body {
  background-color: var(--lab-navy);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.has-aurora-bg.lab-page-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%,  rgba(26, 138, 138, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%,  rgba(201, 168, 76, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 40%,  rgba(74, 127, 165, 0.14) 0%, transparent 50%);
  animation: lab-aurora-shift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes lab-aurora-shift {
  0%   { opacity: 0.7; transform: scale(1)    translateY(0); }
  50%  { opacity: 1;   transform: scale(1.04) translateY(-20px); }
  100% { opacity: 0.8; transform: scale(0.98) translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
  body.has-aurora-bg.lab-page-body::before { animation: none; }
}

/* Ensure all content layers above the fixed aurora */
body.has-aurora-bg.lab-page-body > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════════════════
   2. LAB HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  padding: 0;
}

.lab-header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lab-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.lab-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

/* Lab nav links */
.lab-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lab-nav ul li a {
  display: block;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--lab-transition), background var(--lab-transition);
}

.lab-nav ul li a:hover {
  color: var(--lab-gold);
  background: rgba(201, 168, 76, 0.08);
}

/* Header action buttons */
.lab-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-header-actions .button {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--lab-transition);
  white-space: nowrap;
}

.lab-header-actions .button-standard {
  color: var(--lab-gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  background: transparent;
}

.lab-header-actions .button-standard:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--lab-gold);
}

.lab-header-actions .button-ecosystem {
  color: #fff;
  background: linear-gradient(135deg, var(--lab-steel), var(--lab-teal));
  border: none;
}

.lab-header-actions .button-ecosystem:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(74, 127, 165, 0.4);
}

/* Language switcher in header */
.lab-header-controls .tej-lang-switcher { position: relative; }

.lab-header-controls .lang-switcher-dropdown {
  position: relative;
  cursor: pointer;
}

.lab-header-controls .current-lang-display {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color var(--lab-transition), border-color var(--lab-transition);
}

.lab-header-controls .current-lang-display:hover { color: var(--lab-gold); }

.lab-header-controls .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
}

.lab-header-controls .lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100px;
  background: rgba(15, 32, 64, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.22s ease;
  z-index: 200;
}

.lab-header-controls .lang-switcher-dropdown:hover .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lab-header-controls .lang-options li a {
  display: block;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 6px;
  text-transform: uppercase;
  transition: color var(--lab-transition), background var(--lab-transition);
}

.lab-header-controls .lang-options li a:hover {
  color: var(--lab-gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Mobile toggle */
.tej-mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tej-mobile-menu-toggle .line {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: all 0.22s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. GLASS CARD UTILITY (tej-glass-card on lab page)
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-page-body .tej-glass-card {
  background: var(--lab-glass-bg);
  backdrop-filter: var(--lab-blur);
  -webkit-backdrop-filter: var(--lab-blur);
  border: 1px solid var(--lab-glass-border);
  border-radius: var(--lab-radius-card);
  color: rgba(255, 255, 255, 0.88);
  transition: border-color var(--lab-transition), transform var(--lab-transition), box-shadow var(--lab-transition);
}

.lab-page-body .tej-glass-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* tej-shell layout utility */
.tej-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  position: relative;
}

.lab-hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Hero main panel */
.lab-hero-panel {
  padding: clamp(36px, 5vw, 56px);
}

.lab-hero-kicker {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lab-gold);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lab-hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--lab-gold);
  flex-shrink: 0;
}

.lab-hero-panel h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.lab-hero-quote {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 36px;
  padding-left: 20px;
  border-left: 3px solid rgba(201, 168, 76, 0.45);
}

.lab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lab-hero-actions .button {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--lab-transition);
}

.lab-hero-actions .button-ecosystem {
  background: linear-gradient(135deg, var(--lab-gold) 0%, #e8c97a 100%);
  color: var(--lab-navy);
  border: none;
}

.lab-hero-actions .button-ecosystem:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.lab-hero-actions .button-standard {
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

.lab-hero-actions .button-standard:hover {
  border-color: var(--lab-gold);
  color: var(--lab-gold);
  background: rgba(201, 168, 76, 0.06);
}

/* Hero proof card (aside) */
.lab-hero-proof {
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lab-proof-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lab-gold);
  margin: 0;
}

.lab-proof-number {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--lab-gold-light);
  margin: 0;
  line-height: 1.1;
}

.lab-hero-proof p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. GENERIC SECTION STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-section {
  padding: var(--lab-section-py) 0;
}

.lab-section-heading {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.lab-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.lab-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--lab-gold);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Shared card head */
.lab-card-head {
  margin-bottom: 20px;
}

.lab-card-head h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lab-gold-light);
  margin: 0;
  letter-spacing: 0.02em;
}

.lab-card-body p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  margin: 0 0 12px;
}

.lab-card-body p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   6. STORY SECTION (slide3)
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-story-section { background: transparent; }

.lab-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

/* Story card */
.lab-story-card {
  padding: clamp(28px, 3.5vw, 40px);
}

.lab-highlight-copy {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lab-gold-light);
  font-style: italic;
  border-left: 3px solid var(--lab-gold);
  padding-left: 14px;
  margin: 16px 0;
}

.lab-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.lab-check-list li::before {
  content: '✓';
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50%;
  font-size: 0.72rem;
  color: var(--lab-gold);
  text-align: center;
  line-height: 18px;
  margin-top: 1px;
}

/* Perspective card */
.lab-perspective-card {
  padding: clamp(28px, 3.5vw, 40px);
}

.lab-perspective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lab-perspective-option {
  padding: 20px;
  border-radius: var(--lab-radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

.lab-perspective-option.is-risk {
  border-left: 3px solid var(--lab-danger);
}

.lab-perspective-option.is-partner {
  border-left: 3px solid var(--lab-success);
}

.lab-perspective-option h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px;
}

.lab-perspective-option p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 8px;
  line-height: 1.6;
}

.lab-inline-quote {
  font-style: italic;
  color: var(--lab-gold-light) !important;
  font-size: 0.8rem !important;
}

.text-danger { color: var(--lab-danger); }
.text-success { color: var(--lab-success); }

/* Offer band */
.lab-offer-band {
  padding: clamp(32px, 4vw, 48px);
}

.lab-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.lab-offer-item h4 {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lab-gold-light);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.lab-offer-item p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   7. ECOSYSTEM SECTION (principes-services)
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-ecosystem-section { background: transparent; }

.lab-ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Evidence column (left) */
.lab-evidence-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lab-info-card {
  padding: 18px 22px;
}

.lab-info-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lab-gold-light);
  margin: 0 0 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lab-info-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.5;
}

.lab-publications {
  padding: 12px;
}

.lab-publications img {
  width: 100%;
  height: auto;
  border-radius: var(--lab-radius-sm);
  display: block;
  opacity: 0.85;
}

/* Core column (center) */
.lab-core-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.lab-core-card {
  width: 100%;
  padding: 32px 24px;
}

.lab-core-circle {
  text-align: center;
  border: 2px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  gap: 12px;
  position: relative;
  max-width: 260px;
  margin: 0 auto;
}

.lab-core-circle::before {
  content: 'B52K';
  position: absolute;
  font-family: 'Sora', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 0;
}

.lab-core-circle > * { position: relative; z-index: 1; }

.lab-core-circle h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--lab-gold);
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lab-core-circle p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.45;
}

.lab-core-circle hr {
  width: 80%;
  border: none;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  margin: 4px auto;
}

.lab-core-circle strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lab-gold-light);
}

/* COMPASS */
.lab-compass-wrap { width: 100%; }

.lab-compass-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--lab-steel);
  margin: 0 0 12px;
  text-align: center;
  text-transform: uppercase;
}

.lab-compass-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lab-compass-item {
  padding: 12px 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  border-radius: var(--lab-radius-sm);
  border-left: 3px solid var(--lab-gold);
  transition: background var(--lab-transition), border-color var(--lab-transition);
}

.lab-compass-item:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--lab-gold-light);
  transform: none; /* override glass card hover */
  box-shadow: none;
}

/* Value column (right) */
.lab-value-column { }

.lab-value-card {
  padding: clamp(24px, 3vw, 36px);
}

.lab-value-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lab-gold-light);
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lab-diagram-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.lab-diagram-label {
  flex: 1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.lab-diagram-orbit {
  display: flex;
  gap: 6px;
}

.lab-orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.lab-orbit-dot.is-blue  { background: #4a7fa5; }
.lab-orbit-dot.is-cyan  { background: #1a8a8a; }
.lab-orbit-dot.is-green { background: #2ecc71; }
.lab-orbit-dot.is-lime  { background: #a8d832; }

.lab-diagram-arrow {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lab-gold-light);
  text-align: right;
}

.lab-diagram-operator {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.4);
  padding: 4px 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   8. PROCESS SECTION (services-section) — tabbed panel
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-process-section { background: transparent; }

.lab-process-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

/* Nav tabs */
.lab-process-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 88px; /* below lab-header */
}

.lab-process-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--lab-glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--lab-radius-sm);
  cursor: pointer;
  text-align: left;
  transition: all var(--lab-transition);
  color: rgba(255, 255, 255, 0.6);
}

.lab-process-trigger:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.05);
  color: rgba(255, 255, 255, 0.85);
}

.lab-process-trigger.is-active {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--lab-gold);
  color: #fff;
}

.lab-process-trigger strong {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--lab-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.lab-process-trigger span {
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
}

/* Panels */
.lab-process-panels { min-height: 320px; }

.lab-process-panel {
  display: none;
  background: var(--lab-glass-bg);
  backdrop-filter: var(--lab-blur);
  -webkit-backdrop-filter: var(--lab-blur);
  border: 1px solid var(--lab-glass-border);
  border-radius: var(--lab-radius-card);
  padding: clamp(28px, 4vw, 44px);
  animation: lab-panel-in 0.28s ease;
}

.lab-process-panel.is-active {
  display: block;
}

@keyframes lab-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lab-process-panel { animation: none; }
}

.lab-process-panel h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
}

.lab-process-panel > p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin: 0 0 16px;
}

.lab-process-panel > small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. FOOTER-LIKE AREA on lab page (whatever comes after sections)
   ═══════════════════════════════════════════════════════════════════════════ */
.lab-showcase + footer,
body.lab-page-body footer {
  background: rgba(10, 22, 40, 0.96);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  color: rgba(255, 255, 255, 0.5);
  padding: 28px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. ENTRANCE ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
@keyframes lab-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lab-hero-panel {
  animation: lab-fade-up 0.7s ease both;
}

.lab-hero-proof {
  animation: lab-fade-up 0.7s 0.15s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .lab-hero-panel,
  .lab-hero-proof { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. RESPONSIVE — TABLET (≤ 1023px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .lab-hero-layout {
    grid-template-columns: 1fr;
  }

  .lab-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
  }

  .lab-proof-label { grid-column: 1 / -1; }
  .lab-proof-number { grid-column: 1 / -1; }

  .lab-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lab-value-column {
    grid-column: 1 / -1;
  }

  .lab-process-layout {
    grid-template-columns: 1fr;
  }

  .lab-process-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .lab-process-trigger {
    flex: 0 0 auto;
    width: calc(50% - 4px);
  }

  .lab-nav { display: none; } /* hide full nav on tablet */
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. RESPONSIVE — MOBILE (≤ 767px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .lab-header-actions { display: none; }
  .lab-header-controls { display: none; }
  .tej-mobile-menu-toggle { display: flex; }

  .lab-hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .lab-hero-panel h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  .lab-hero-proof {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lab-story-grid {
    grid-template-columns: 1fr;
  }

  .lab-perspective-grid {
    grid-template-columns: 1fr;
  }

  .lab-offer-grid {
    grid-template-columns: 1fr;
  }

  .lab-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .lab-core-circle {
    max-width: 220px;
    padding: 24px;
  }

  .lab-process-trigger {
    width: 100%;
  }

  .lab-info-card h3 { font-size: 0.72rem; }

  .lab-diagram-row { flex-wrap: wrap; gap: 8px; }

  .lab-compass-item { font-size: 0.76rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   13. PROCESS TAB JAVASCRIPT HOOK
       theme.js targets .lab-process-trigger + .lab-process-panel
   ═══════════════════════════════════════════════════════════════════════════ */
/* Accessibility — hide non-active panels from screen readers */
.lab-process-panel:not(.is-active) {
  display: none;
  visibility: hidden;
}

.lab-process-panel.is-active {
  display: block;
  visibility: visible;
}
