/* ==========================================================================
   GUILHERME FRANCO DE BARROS — EXECUTIVE PERSONAL DIGITAL PORTFOLIO
   Strictly aligned with PORTFOLIO_CONTEUDO_TOTAL_REVISAO.docx & Visual References:
   - Dark Canvas (#0c0d12) with subtle vertical guide lines
   - Center circular avatar with floating interactive cursor badges
   - Light editorial transition for "About Me"
   - Background with 6 monumental metrics & detailed timeline
   - Concise Side Projects with DIRECT access buttons (no internal pages/modals)
   - Interactive Endorsements (6 authentic LinkedIn recommendations)
   - Direct Contact Hub (WhatsApp +5511983830923, Phone +61 421 693 009, Email, CV)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Dark Canvas */
  --bg-dark-base: #0c0d12;
  --bg-dark-surface: #12141c;
  --bg-dark-card: #161922;
  --bg-dark-card-hover: #1e2230;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-hover: rgba(255, 255, 255, 0.22);
  --grid-line-dark: rgba(255, 255, 255, 0.035);

  /* Light Editorial Canvas */
  --bg-light-base: #ffffff;
  --bg-light-surface: #f8fafc;
  --bg-light-card: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-light-hover: rgba(0, 0, 0, 0.16);
  --grid-line-light: rgba(0, 0, 0, 0.03);

  /* Brand Accents */
  --accent-emerald: #10b981;
  --accent-emerald-soft: rgba(16, 185, 129, 0.12);
  --accent-indigo: #6366f1;
  --accent-indigo-soft: rgba(99, 102, 241, 0.12);
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #20ba59;
  --accent-linkedin: #0a66c2;

  /* Typography Colors */
  --text-dark-h: #0f172a;
  --text-dark-body: #334155;
  --text-dark-muted: #64748b;

  --text-light-h: #ffffff;
  --text-light-body: #cbd5e1;
  --text-light-muted: #94a3b8;

  /* Fonts — Unified Google Sans Flex System (Antigravity Style) */
  --font-main: 'Google Sans Flex', 'Google Sans', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Google Sans Flex', 'Google Sans', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Google Sans Flex', 'Google Sans', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
  --shadow-dark-card: 0 16px 40px -10px rgba(0, 0, 0, 0.5);

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-dark-base);
  color: var(--text-light-body);
  font-family: var(--font-main);
  line-height: 1.62;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.028em;
  font-weight: 500;
}

p, span, a, button, input, textarea, select {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background-color: #ffffff;
  color: #000000;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   3. BACKGROUND GUIDE LINES
   -------------------------------------------------------------------------- */
.grid-columns-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-col-line {
  width: 1px;
  height: 100%;
  background-color: var(--grid-line-dark);
}

.light-section .grid-col-line {
  background-color: var(--grid-line-light);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(12, 13, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 14px 0;
  transition: var(--transition-smooth);
}

/* Dynamic Adaptable Header (Over Light Sections) */
.site-header.header-over-light {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.site-header.header-over-light .brand-logo-text {
  color: #0f172a;
}

.site-header.header-over-light .brand-logo-dot {
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.site-header.header-over-light .nav-link {
  color: #64748b;
}

.site-header.header-over-light .nav-link:hover,
.site-header.header-over-light .nav-link.active {
  color: #0f172a;
}

.site-header.header-over-light .social-icon-link {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

.site-header.header-over-light .social-icon-link:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

.site-header.header-over-light .social-icon-link.whatsapp:hover {
  background: var(--accent-whatsapp);
  color: #ffffff;
}

.site-header.header-over-light .social-icon-link.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
}

.site-header.header-over-light .header-cta-btn {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.site-header.header-over-light .header-cta-btn:hover {
  background: #1e293b;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.site-header.header-over-light .mobile-menu-btn {
  color: #0f172a;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
  transition: var(--transition-smooth);
}

.brand-logo-dot {
  color: var(--accent-emerald);
  font-size: 1.85rem;
  line-height: 0;
  display: inline-block;
  margin-left: 1px;
  transform: scale(1.15);
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.brand-wordmark:hover .brand-logo-dot {
  transform: scale(1.4) translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(16, 185, 129, 0.9));
}

.brand-wordmark:hover .brand-logo-text {
  color: #ffffff;
}

.brand-wordmark-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-light-muted);
  letter-spacing: 0.6px;
  margin-top: 3px;
  text-transform: uppercase;
}

/* Fallback badge if needed */
.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-light-muted);
  letter-spacing: 0.3px;
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light-h);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
}

.social-icon-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light-h);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.social-icon-link.whatsapp:hover {
  background: var(--accent-whatsapp);
  color: #ffffff;
  border-color: var(--accent-whatsapp);
}

.social-icon-link.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
  box-shadow: 0 0 16px rgba(10, 102, 194, 0.4);
}

.mobile-menu-btn {
  display: none;
  color: var(--text-light-h);
  padding: 6px;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & PILLS
   -------------------------------------------------------------------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-white {
  background: #ffffff;
  color: #0c0d12;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-glass-dark {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light-h);
  border: 1px solid var(--border-dark);
}

.btn-glass-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--accent-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-linkedin {
  background: #0a66c2;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.3);
}

.btn-linkedin:hover {
  background: #004182;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.45);
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-dark-h);
  border: 1px solid var(--border-light);
}

.btn-outline-light:hover {
  background: var(--bg-light-surface);
  border-color: var(--border-light-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (THREE.JS DOTTED SURFACE DARK CANVAS)
   -------------------------------------------------------------------------- */
.hero-executive-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 70px;
  overflow: hidden;
  background-color: #0c0d12;
  color: var(--text-light-body);
}

/* 3D Three.js Dotted Surface Component Container */
.dotted-surface-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.dotted-surface-hero-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-executive-section .grid-columns-bg {
  z-index: 1;
  pointer-events: none;
}

.hero-executive-section .grid-col-line {
  background-color: rgba(255, 255, 255, 0.035);
}

.hero-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* Micro Availability Capsule (Dark Glass) */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-status-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.28);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.3); opacity: 1; }
}

.status-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 2px;
}

.status-loc {
  color: #34d399;
  font-weight: 700;
}

/* Monumental Headline with Real-Time Typewriter Engine — Google Antigravity Style */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 960px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.headline-static-part {
  display: block;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.headline-dynamic-part {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.25em;
  letter-spacing: -0.03em;
  position: relative;
  white-space: nowrap;
}

.typewriter-text {
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.03em;
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  width: 3.5px;
  height: 0.92em;
  background-color: #10b981;
  margin-left: 4px;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.75);
  animation: typewriterCursorBlink 0.85s infinite;
  flex-shrink: 0;
  transform: translateY(1px);
}

.typewriter-cursor.is-typing {
  animation: none;
  opacity: 1;
}

@keyframes typewriterCursorBlink {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: clamp(1.7rem, 6.8vw, 2.3rem);
    line-height: 1.22;
  }
  .headline-dynamic-part {
    white-space: normal;
  }
}

/* Concise Value Subtitle (Airy, No Wall of Text) */
.hero-subline {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.62;
  max-width: 720px;
  margin: 0 auto 36px;
}

/* High-Contrast Clean CTAs for Dark Canvas */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn-antigravity-white {
  background: #ffffff;
  color: #0c0d12;
  padding: 13px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.btn-antigravity-white:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

.btn-antigravity-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.btn-antigravity-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Verified Credentials Bottom Ribbon */
.hero-credentials-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.ribbon-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.ribbon-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ribbon-chip {
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ribbon-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.ribbon-chip strong {
  color: #ffffff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. ABOUT ME (LIGHT EDITORIAL SECTION)
   -------------------------------------------------------------------------- */
.editorial-light-section {
  background-color: var(--bg-light-base);
  color: var(--text-dark-body);
  padding: 90px 0;
  position: relative;
}

/* Section 2: About Me (Dark Obsidian Luxury) */
.editorial-dark-section {
  background-color: #0b0f19;
  color: var(--text-light-body);
  padding: 95px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-dark-section .grid-col-line {
  background-color: rgba(255, 255, 255, 0.035);
}

.editorial-dark-section .section-eyebrow {
  color: #94a3b8;
}

.editorial-dark-section .section-eyebrow.emerald {
  color: #34d399;
}

.editorial-dark-section .section-editorial-h2 {
  color: #ffffff;
}

.editorial-dark-section .about-photo-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #0f1422;
}

.editorial-dark-section .story-tab-pane p {
  color: #cbd5e1;
}

.editorial-dark-section .story-tab-pane strong {
  color: #ffffff;
}

.editorial-dark-section .story-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.editorial-dark-section .story-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.editorial-dark-section .story-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.editorial-dark-section .about-family-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.editorial-dark-section .about-family-callout h4 {
  color: #34d399;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dark-muted);
  margin-bottom: 12px;
}

.section-eyebrow.emerald {
  color: #059669;
}

.section-editorial-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-dark-h);
  margin-bottom: 16px;
}

.about-split-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 36px;
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.about-photo-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.about-photo-card:hover .about-photo-img {
  transform: scale(1.02);
}

.about-photo-floating-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 18px;
  background: linear-gradient(to top, rgba(12, 13, 18, 0.95) 0%, rgba(12, 13, 18, 0.7) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #ffffff;
}

.about-photo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about-photo-tag {
  font-size: 0.76rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.about-photo-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

/* Interactive Story Tabs */
.story-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.story-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.story-tab-btn:hover {
  color: var(--text-dark-h);
  border-color: var(--border-light-hover);
}

.story-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.story-tab-pane {
  display: none;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-dark-body);
}

.story-tab-pane.active {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInStory 0.25s ease forwards;
}

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

/* --------------------------------------------------------------------------
   7.5 CORE STRATEGIC PILLARS (DEDICATED SECTION)
   -------------------------------------------------------------------------- */
.pillars-dedicated-section {
  background-color: var(--bg-dark-base);
  color: var(--text-light-body);
  padding: 96px 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

/* Section 3: Core Strategic Pillars (Light Architectural Canvas) */
.pillars-dedicated-section.theme-light-canvas {
  background-color: #f8fafc;
  color: #334155;
  padding: 96px 0;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pillars-dedicated-section.theme-light-canvas .section-eyebrow.emerald {
  color: #059669;
}

.pillars-dedicated-section.theme-light-canvas .section-editorial-h2 {
  color: #0f172a;
}

.pillars-dedicated-section.theme-light-canvas .section-sub-desc {
  color: #64748b;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. CORE STRATEGIC PILLARS — HORIZONTAL TIMELINE STEPPER
   -------------------------------------------------------------------------- */
.pillars-dedicated-section {
  padding: 96px 0 106px;
  position: relative;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.pillars-dedicated-section.theme-light-canvas .section-eyebrow.emerald {
  color: #059669;
}

.pillars-dedicated-section.theme-light-canvas .section-editorial-h2 {
  color: #0f172a;
  max-width: 780px;
  margin: 0 auto 16px;
}

.pillars-dedicated-section.theme-light-canvas .section-sub-desc {
  color: #64748b;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Horizontal Timeline Stepper Grid */
.horizontal-pillars-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 56px;
  position: relative;
}

/* Timeline Pillar Step Column */
.timeline-pillar-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Color accents per step */
.timeline-pillar-step.step-brand {
  --step-accent: #059669;
  --step-border: #10b981;
  --step-bg: rgba(16, 185, 129, 0.08);
  --step-line: linear-gradient(90deg, #10b981, #06b6d4);
  --step-glow: rgba(16, 185, 129, 0.25);
}

.timeline-pillar-step.step-martech {
  --step-accent: #0891b2;
  --step-border: #06b6d4;
  --step-bg: rgba(6, 182, 212, 0.08);
  --step-line: linear-gradient(90deg, #06b6d4, #3b82f6);
  --step-glow: rgba(6, 182, 212, 0.25);
}

.timeline-pillar-step.step-performance {
  --step-accent: #2563eb;
  --step-border: #3b82f6;
  --step-bg: rgba(59, 130, 246, 0.08);
  --step-line: linear-gradient(90deg, #3b82f6, #a855f7);
  --step-glow: rgba(59, 130, 246, 0.25);
}

.timeline-pillar-step.step-leadership {
  --step-accent: #9333ea;
  --step-border: #a855f7;
  --step-bg: rgba(168, 85, 247, 0.08);
  --step-line: transparent;
  --step-glow: rgba(168, 85, 247, 0.25);
}

/* Node Wrap & Connecting Horizontal Line */
.step-node-wrap {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

/* Connecting line segment from this node to next node across the 36px column gap */
.timeline-pillar-step:not(:last-child) .step-node-wrap::after {
  content: '';
  flex-grow: 1;
  height: 2px;
  background: var(--step-line);
  margin-left: 14px;
  margin-right: -36px;
  z-index: 1;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Circular Node Badge */
.step-node-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--step-border);
  background: var(--step-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--step-accent);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.step-node-circle .step-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: var(--step-accent);
  transition: transform 0.3s ease;
}

/* Step Content */
.step-content {
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.step-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--step-accent);
  margin-bottom: 10px;
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.35vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.step-desc {
  font-family: var(--font-main);
  font-size: 0.92rem;
  line-height: 1.64;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Triggered via .is-visible)
   ========================================================================== */
.horizontal-pillars-timeline.is-visible .step-node-circle {
  transform: scale(1);
  opacity: 1;
}

.horizontal-pillars-timeline.is-visible .step-node-wrap::after {
  transform: scaleX(1);
}

.horizontal-pillars-timeline.is-visible .step-content {
  transform: translateY(0);
  opacity: 1;
}

/* Staggered Entrance Sequence */
.horizontal-pillars-timeline.is-visible .step-brand .step-node-circle { transition-delay: 0.1s; }
.horizontal-pillars-timeline.is-visible .step-brand .step-node-wrap::after { transition-delay: 0.25s; }
.horizontal-pillars-timeline.is-visible .step-brand .step-content { transition-delay: 0.2s; }

.horizontal-pillars-timeline.is-visible .step-martech .step-node-circle { transition-delay: 0.45s; }
.horizontal-pillars-timeline.is-visible .step-martech .step-node-wrap::after { transition-delay: 0.6s; }
.horizontal-pillars-timeline.is-visible .step-martech .step-content { transition-delay: 0.5s; }

.horizontal-pillars-timeline.is-visible .step-performance .step-node-circle { transition-delay: 0.8s; }
.horizontal-pillars-timeline.is-visible .step-performance .step-node-wrap::after { transition-delay: 0.95s; }
.horizontal-pillars-timeline.is-visible .step-performance .step-content { transition-delay: 0.85s; }

.horizontal-pillars-timeline.is-visible .step-leadership .step-node-circle { transition-delay: 1.1s; }
.horizontal-pillars-timeline.is-visible .step-leadership .step-content { transition-delay: 1.15s; }

/* Interactive Hover States */
.timeline-pillar-step:hover .step-node-circle {
  transform: scale(1.1);
  box-shadow: 0 0 24px var(--step-glow);
  background: #ffffff;
}

.timeline-pillar-step:hover .step-icon {
  transform: scale(1.12);
}

.timeline-pillar-step:hover .step-title {
  color: var(--step-accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablet & Mobile Adaptations)
   ========================================================================== */
@media (max-width: 992px) {
  .horizontal-pillars-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 30px;
  }
  
  .timeline-pillar-step:nth-child(2) .step-node-wrap::after {
    display: none;
  }
  .timeline-pillar-step:not(:last-child) .step-node-wrap::after {
    margin-right: -30px;
  }
}

@media (max-width: 640px) {
  .horizontal-pillars-timeline {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding-left: 64px;
    position: relative;
  }

  /* Vertical spine on mobile */
  .horizontal-pillars-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 26px;
    bottom: 26px;
    width: 2px;
    background: linear-gradient(180deg, #10b981 0%, #06b6d4 33%, #3b82f6 66%, #a855f7 100%);
    z-index: 1;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .horizontal-pillars-timeline.is-visible::before {
    transform: scaleY(1);
  }

  .step-node-wrap {
    position: absolute;
    left: -64px;
    top: 0;
    width: auto;
    margin-bottom: 0;
  }

  .timeline-pillar-step:not(:last-child) .step-node-wrap::after {
    display: none;
  }

  .step-node-circle {
    width: 48px;
    height: 48px;
    background: #ffffff;
  }

  .step-node-circle .step-icon {
    width: 20px;
    height: 20px;
  }

  .step-content {
    padding-top: 2px;
  }
}

/* --------------------------------------------------------------------------
   8. BACKGROUND (6 METRICS + TIMELINE + EDUCATION)
   -------------------------------------------------------------------------- */
.background-section {
  background-color: var(--bg-dark-surface);
  color: var(--text-light-body);
  padding: 90px 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

/* 6 Metrics Grid */
.metrics-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.metric-card-item {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  text-align: center;
  transition: var(--transition-smooth);
}

.metric-card-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-num.emerald {
  color: var(--accent-emerald);
}

.metric-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-light-h);
  margin-bottom: 4px;
  display: block;
}

.metric-sub {
  font-size: 0.76rem;
  color: var(--text-light-muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8.2 CAREER VERTICAL TIMELINE (REFERENCE STREAM)
   -------------------------------------------------------------------------- */
.career-timeline-wrapper {
  position: relative;
  padding: 10px 0 20px;
  margin-bottom: 54px;
}

.timeline-spine {
  position: absolute;
  top: 14px;
  bottom: 24px;
  left: 14px;
  width: 2px;
  background: linear-gradient(180deg, #10b981 0%, rgba(16, 185, 129, 0.4) 40%, rgba(255, 255, 255, 0.1) 85%, transparent 100%);
  z-index: 1;
}

.timeline-milestone-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 58px;
  transition: var(--transition-smooth);
}

.timeline-milestone-item:last-child {
  margin-bottom: 12px;
}

.timeline-node-marker {
  position: absolute;
  left: 3px;
  top: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-node-radar {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: timelinePulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.85;
}

@keyframes timelinePulse {
  0% { transform: scale(0.7); opacity: 1; }
  60% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.7); opacity: 0; }
}

.timeline-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #0c0d12;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.9);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.timeline-milestone-item:not(.active-current) .timeline-node-dot {
  background: #334155;
  border: 2px solid #0c0d12;
  box-shadow: none;
  width: 10px;
  height: 10px;
}

.timeline-milestone-item:hover .timeline-node-dot {
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  transform: scale(1.25);
}

.timeline-kicker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.timeline-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-emerald);
  text-transform: uppercase;
}

.timeline-date-badge {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-emerald);
  letter-spacing: 0.4px;
}

.timeline-current-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #0c0d12;
  background: var(--accent-emerald);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
}

.timeline-role-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 550;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 4px;
}

.timeline-company-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-dot {
  color: #475569;
}

.timeline-role-summary {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #cbd5e1;
  margin-bottom: 22px;
  max-width: 920px;
}

/* Achievements Filter Bar inside Timeline */
.achievements-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 20px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  width: fit-content;
}

.filter-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-light-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  margin-right: 4px;
}

.achieve-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.achieve-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.achieve-pill.active {
  background: var(--accent-emerald);
  color: #0c0d12;
  border-color: var(--accent-emerald);
  font-weight: 700;
}

.timeline-achievements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 940px;
  padding: 0;
  margin: 0;
}

.timeline-achievements-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.68;
  color: #cbd5e1;
}

.timeline-triangle {
  color: var(--accent-emerald);
  font-size: 0.92rem;
  margin-top: 1px;
  flex-shrink: 0;
  line-height: 1.68;
}

.timeline-achievements-list strong {
  color: #ffffff;
}

.metric-highlight {
  color: #34d399;
  font-weight: 700;
}

@media (max-width: 768px) {
  .timeline-spine {
    left: 10px;
  }
  .timeline-milestone-item {
    padding-left: 36px;
    margin-bottom: 44px;
  }
  .timeline-node-marker {
    left: -1px;
  }
}

/* Integrated Education Card in Background */
.education-integrated-card {
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
}

.education-integrated-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-light-h);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-dark);
}

.education-columns-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.edu-micro-item {
  margin-bottom: 14px;
}

.edu-micro-item:last-child {
  margin-bottom: 0;
}

.edu-micro-degree {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.edu-micro-school {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-emerald);
}

.edu-micro-meta {
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   9. SIDE PROJECTS (CONCISE & DIRECT ACCESS BUTTONS ONLY)
   No internal pages / modals as requested by user.
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   9. SIDE PROJECTS (MINIMAL CARDS & POP-UP MODAL DRAWER)
   -------------------------------------------------------------------------- */
.side-projects-section {
  background-color: var(--bg-dark-base);
  color: var(--text-light-body);
  padding: 95px 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

/* Section 5: Side Projects (Light Tech Canvas) */
.side-projects-section.theme-light-canvas {
  background-color: #f8fafc;
  color: #334155;
  padding: 95px 0;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.side-projects-section.theme-light-canvas .section-eyebrow.emerald {
  color: #059669;
}

.side-projects-section.theme-light-canvas .section-editorial-h2 {
  color: #0f172a;
}

.side-projects-section.theme-light-canvas .section-sub-desc {
  color: #64748b;
  font-size: 1rem;
}

.side-projects-section.theme-light-canvas .project-clean-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.side-projects-section.theme-light-canvas .project-clean-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.side-projects-section.theme-light-canvas .project-clean-title {
  color: #0f172a;
}

.side-projects-section.theme-light-canvas .project-clean-desc {
  color: #475569;
}

.side-projects-section.theme-light-canvas .project-clean-tag {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: #334155;
}

.side-projects-section.theme-light-canvas .project-clean-body {
  background: #ffffff;
}

.side-projects-section.theme-light-canvas .project-clean-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.side-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .side-projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.project-clean-card {
  border-radius: var(--radius-lg);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.project-clean-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.project-clean-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #090b10;
}

.project-clean-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.project-clean-card:hover .project-clean-img {
  transform: scale(1.05);
}

.project-clean-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 18, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.project-clean-card:hover .project-clean-overlay {
  opacity: 1;
}

.btn-inspect-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  color: #0c0d12;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.project-clean-card:hover .btn-inspect-pill {
  transform: translateY(0);
}

.project-clean-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-clean-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.project-clean-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.project-clean-tag .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.project-clean-tag .pulse-dot.red {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

.project-category-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.4px;
}

.project-clean-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-clean-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-clean-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
  gap: 12px;
}

.project-clean-tech {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

.project-clean-action-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.project-clean-card:hover .project-clean-action-btn {
  color: var(--accent-emerald);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   9.5 POP-UP MODAL DRAWER (IMAGE 4 REFERENCE)
   -------------------------------------------------------------------------- */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.project-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-dialog {
  background: #0d111a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(16, 185, 129, 0.1);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-backdrop.active .project-modal-dialog {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.project-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: rotate(90deg);
}

.project-modal-header {
  margin-bottom: 20px;
}

.project-modal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.modal-proj-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-emerald);
}

.modal-proj-cat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.project-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 550;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  line-height: 1.25;
}

.project-modal-kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-emerald);
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.project-modal-media-box {
  margin: 22px 0 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-modal-featured-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.project-modal-media-caption {
  padding: 10px 16px;
  font-size: 0.76rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 10px;
}

.modal-tab-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: #94a3b8;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.modal-tab-btn.active {
  background: #ffffff;
  color: #0c0d12;
  border-color: #ffffff;
}

.modal-tab-content {
  display: none;
}

.modal-tab-content.active {
  display: block;
  animation: fadeInModalContent 0.25s ease;
}

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

.modal-body-p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.modal-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.modal-triangle {
  color: var(--accent-emerald);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.modal-tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.project-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  flex-wrap: wrap;
}

.btn-modal-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-modal-back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.btn-modal-next {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: #94a3b8;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-modal-next:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   10. FORA DE EXPEDIENTE / WHEN I'M NOT WORKING (COLLECTIONS BENTO GRID)
   -------------------------------------------------------------------------- */
.reading-section {
  background-color: #0b0e16;
  color: var(--text-light-body);
  padding: 95px 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.collections-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   10. FORA DE EXPEDIENTE / WHEN I'M NOT WORKING (COLLECTIONS & DETAILED VIEW)
   -------------------------------------------------------------------------- */
.reading-section {
  position: relative;
  background-color: #07090e;
  padding: 90px 0;
  border-top: 1px solid var(--border-dark);
  overflow: hidden;
}

.collections-bento-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 1200px) {
  .collections-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .collections-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .collections-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* Category Card: entire card is the interactive trigger (matching User Reference Prints) */
.collection-bento-card {
  padding: 16px 14px 14px;
  border-radius: 4px;
  background: #0d0f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              background-color 0.2s ease;
  position: relative;
  cursor: pointer;
  user-select: none;
}

/* Card Hover State: Crisp glowing purple border & title tint matching Reference Print */
.collection-bento-card:hover {
  transform: translateY(-4px);
  border-color: #8c6ec6;
  box-shadow: 0 0 22px rgba(140, 110, 198, 0.32), 0 10px 28px rgba(0, 0, 0, 0.65);
  background: #0f1019;
}

.collection-bento-card:hover .collection-title {
  color: #8c6ec6;
}

.collection-bento-card:hover .collection-counter {
  color: #cbd5e1;
}

/* Covers strip inside card */
.collection-covers-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
  pointer-events: none;
}

.mini-cover-item {
  width: 100%;
  aspect-ratio: 115 / 171;
  border-radius: 2px;
  overflow: hidden;
  background: #141722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.mini-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer of the card: Clean Title on Left, Mono Count on Right */
.collection-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 2px;
  gap: 8px;
}

.collection-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.collection-counter {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* --------------------------------------------------------------------------
   DETAILED COLLECTION VIEW (REFERENCE PRINT - IMAGE 2)
   -------------------------------------------------------------------------- */
.collection-detail-view {
  animation: fadeInDetail 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Detail Toolbar */
.collection-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back-collections {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-back-collections:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

.collection-category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.col-cat-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.col-cat-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.col-cat-tab-btn.active {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.6);
  color: #ffffff;
  font-weight: 700;
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 6px;
  border-radius: 3px;
}

/* Category Panes */
.collection-category-pane {
  display: none;
}

.collection-category-pane.active {
  display: block;
}

/* Filter Pills Bar (Matching Image 2 Reference) */
.collection-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.filter-pill.active {
  background: #a855f7;
  border-color: #a855f7;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.dot-green {
  color: #34d399;
  font-size: 0.8rem;
  margin-right: 4px;
}

/* Detailed Items Grid (7 Columns matching Image 2) */
.detailed-items-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 22px 16px;
}

@media (max-width: 1200px) {
  .detailed-items-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .detailed-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .detailed-items-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }
}

@media (max-width: 440px) {
  .detailed-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Individual Item Card */
.detailed-item-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.detailed-item-card.hidden {
  display: none !important;
}

.item-cover-wrap {
  width: 100%;
  aspect-ratio: 115 / 171;
  border-radius: 4px;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.detailed-item-card:hover .item-cover-wrap {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.7), 0 0 16px rgba(168, 85, 247, 0.2);
}

.item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1.25;
  margin: 3px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-subtitle {
  font-family: var(--font-main);
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.3;
}

.item-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.item-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.badge-green {
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.08);
}

.badge-purple {
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.45);
  background: rgba(192, 132, 252, 0.08);
}

.badge-gold {
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.08);
}

.badge-gray {
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.06);
}

/* --------------------------------------------------------------------------
   11. ENDORSEMENTS (6 REAL LINKEDIN TESTIMONIALS + INTERACTIVE TABS)
   -------------------------------------------------------------------------- */
.endorsements-section {
  background-color: var(--bg-dark-surface);
  color: var(--text-light-body);
  padding: 90px 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

/* Section 7: Endorsements (Light Editorial Social Proof) */
.endorsements-section.theme-light-canvas {
  background-color: #ffffff;
  color: #334155;
  padding: 95px 0;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.endorsements-section.theme-light-canvas .section-eyebrow.emerald {
  color: #059669;
}

.endorsements-section.theme-light-canvas .section-editorial-h2 {
  color: #0f172a;
}

.endorsements-section.theme-light-canvas .section-sub-desc {
  color: #64748b;
  font-size: 1rem;
}

.endorsements-section.theme-light-canvas .endorsement-tab-btn {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #475569;
}

.endorsements-section.theme-light-canvas .endorsement-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.endorsements-section.theme-light-canvas .endorsement-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.endorsements-section.theme-light-canvas .endorsement-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.endorsements-section.theme-light-canvas .endorsement-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.endorsements-section.theme-light-canvas .endorsement-quote-text {
  color: #334155;
}

.endorsements-section.theme-light-canvas .author-role-type {
  color: #0f172a;
}

.endorsements-section.theme-light-canvas .author-context {
  color: #64748b;
}

.endorsements-section.theme-light-canvas .author-avatar-badge {
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.endorsements-section.theme-light-canvas .linkedin-verified-badge {
  background: rgba(10, 102, 194, 0.08);
  color: #0a66c2;
  border: 1px solid rgba(10, 102, 194, 0.2);
}

.endorsements-section.theme-light-canvas .quote-icon-mark {
  color: rgba(16, 185, 129, 0.35);
}

.endorsements-section.theme-light-canvas .endorsement-author-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Filter Pills for Endorsements */
.endorsements-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.endorsement-tab-btn {
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.endorsement-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.endorsement-tab-btn.active {
  background: #ffffff;
  color: #0c0d12;
  border-color: #ffffff;
}

.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.endorsement-card {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.endorsement-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.endorsement-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.linkedin-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #60a5fa;
}

.quote-icon-mark {
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
}

.endorsement-quote-text {
  font-size: 0.88rem;
  line-height: 1.62;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.endorsement-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
  padding-top: 14px;
}

.author-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.author-text-group {
  display: flex;
  flex-direction: column;
}

.author-role-type {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-light-h);
}

.author-context {
  font-size: 0.74rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   11. CONTACT & CONNECT
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-dark-base);
  color: var(--text-light-body);
  padding: 90px 0 70px;
  position: relative;
  border-top: 1px solid var(--border-dark);
}

.contact-card-main {
  padding: 50px 44px;
  border-radius: var(--radius-xl);
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* Contact Host Profile Header */
.contact-host-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 8px 20px 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
}

.contact-host-avatar-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
}

.contact-host-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.contact-live-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid var(--bg-dark-surface);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s infinite ease-in-out;
}

.contact-host-details {
  text-align: left;
}

.contact-host-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.contact-host-role {
  display: block;
  font-size: 0.76rem;
  color: var(--accent-emerald);
  font-family: var(--font-mono);
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  color: var(--text-light-h);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 1.02rem;
  color: var(--text-light-muted);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.contact-action-tile {
  padding: 18px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.contact-action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-dark-card-hover);
}

.contact-action-tile.tile-whatsapp:hover {
  border-color: var(--accent-whatsapp);
}

.contact-action-tile i {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

.contact-action-tile.tile-whatsapp i {
  color: var(--accent-whatsapp);
}

.tile-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tile-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-location-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-light-muted);
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
}

.location-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.location-item i {
  color: var(--accent-emerald);
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark-base);
  border-top: 1px solid var(--border-dark);
  padding: 26px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   13. TOAST & MOBILE DRAWER
   -------------------------------------------------------------------------- */
.neo-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.neo-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: #0f172a;
  color: #ffffff;
  z-index: 150;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  visibility: hidden;
  pointer-events: none;
  box-shadow: none;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-light-body);
}

.mobile-nav-link:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-mindmap-wrapper {
    max-width: 100%;
  }

  .node-pos-tl {
    left: 0;
  }

  .node-pos-tr {
    right: 0;
  }

  .node-pos-bl {
    left: 0;
  }

  .node-pos-br {
    right: 0;
  }

  .about-pillars-bento-matrix {
    grid-template-columns: 1fr;
  }

  .about-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-photo-img {
    height: 420px;
  }

  .bookshelf-grid {
    grid-template-columns: 1fr;
  }

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

  .side-projects-grid {
    grid-template-columns: 1fr;
  }

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

  .education-columns-row {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================================
   BOOKS VAULT (EDITORIAL 2-COLUMN LUXURY CARDS WITH SYNOPSIS)
   ========================================================================== */
#pane-biblioteca .detailed-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#pane-biblioteca .detailed-item-card.book-catalog-card {
  display: flex;
  flex-direction: row;
  gap: 22px;
  background: rgba(13, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

#pane-biblioteca .detailed-item-card.book-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(16, 185, 129, 0.12);
}

#pane-biblioteca .book-catalog-card .book-cover-box {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 210px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090d14;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#pane-biblioteca .detailed-item-card.book-catalog-card:hover .book-cover-box {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 16px rgba(16, 185, 129, 0.2);
}

#pane-biblioteca .book-catalog-card .item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#pane-biblioteca .book-info-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

#pane-biblioteca .book-item-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.3;
  margin: 2px 0 0;
  display: block;
  overflow: visible;
}

#pane-biblioteca .book-item-subtitle {
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.4;
  font-style: italic;
}

#pane-biblioteca .book-author {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 4px;
  letter-spacing: 0.2px;
}

#pane-biblioteca .book-synopsis-box {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#pane-biblioteca .synopsis-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #64748b;
  display: block;
  margin-bottom: 5px;
}

#pane-biblioteca .book-synopsis-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 980px) {
  #pane-biblioteca .detailed-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #pane-biblioteca .detailed-item-card.book-catalog-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 18px;
  }
  #pane-biblioteca .book-catalog-card .book-cover-box {
    width: 140px;
    min-width: 140px;
    height: 210px;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   YOUTUBE CHANNELS VAULT (EDITORIAL 2-COLUMN LUXURY CARDS)
   ========================================================================== */
#pane-youtube .detailed-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#pane-youtube .detailed-item-card.youtube-catalog-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: rgba(13, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

#pane-youtube .detailed-item-card.youtube-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(239, 68, 68, 0.12);
}

#pane-youtube .youtube-catalog-card .youtube-cover-box {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  height: 130px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090d14;
  flex-shrink: 0;
  position: relative;
}

#pane-youtube .youtube-cover-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

#pane-youtube .youtube-cover-box .item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

#pane-youtube .detailed-item-card.youtube-catalog-card:hover .item-cover-img {
  transform: scale(1.05);
}

#pane-youtube .youtube-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#pane-youtube .detailed-item-card.youtube-catalog-card:hover .youtube-play-overlay {
  opacity: 1;
}

#pane-youtube .youtube-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.6);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

#pane-youtube .detailed-item-card.youtube-catalog-card:hover .youtube-play-icon {
  transform: scale(1);
}

#pane-youtube .youtube-info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

#pane-youtube .badge-youtube {
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#pane-youtube .youtube-item-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.25;
  margin: 1px 0 0;
}

#pane-youtube .youtube-handle {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #f87171;
  letter-spacing: 0.2px;
}

#pane-youtube .youtube-item-subtitle {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
}

#pane-youtube .youtube-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 3px 0 6px;
}

#pane-youtube .youtube-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-top: auto;
}

#pane-youtube .youtube-channel-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

@media (max-width: 980px) {
  #pane-youtube .detailed-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #pane-youtube .detailed-item-card.youtube-catalog-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 18px;
  }
  #pane-youtube .youtube-catalog-card .youtube-cover-box {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  height: 130px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090d14;
  flex-shrink: 0;
  position: relative;
}
}

/* ==========================================================================
   TV SERIES VAULT (EDITORIAL 2-COLUMN LUXURY CARDS WITH SYNOPSIS)
   ========================================================================== */
#pane-series .detailed-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#pane-series .detailed-item-card.series-catalog-card {
  display: flex;
  flex-direction: row;
  gap: 22px;
  background: rgba(13, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

#pane-series .detailed-item-card.series-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(234, 179, 8, 0.12);
}

#pane-series .series-catalog-card .series-cover-box {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 210px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090d14;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#pane-series .detailed-item-card.series-catalog-card:hover .series-cover-box {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 16px rgba(234, 179, 8, 0.2);
}

#pane-series .series-catalog-card .item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#pane-series .series-info-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

#pane-series .series-item-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.3;
  margin: 2px 0 0;
}

#pane-series .series-item-subtitle {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
}

#pane-series .series-synopsis-box {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#pane-series .synopsis-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #64748b;
  display: block;
  margin-bottom: 5px;
}

#pane-series .series-synopsis-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

#pane-series .series-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-top: 8px;
}

#pane-series .series-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  #pane-series .detailed-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #pane-series .detailed-item-card.series-catalog-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 18px;
  }
  #pane-series .series-catalog-card .series-cover-box {
    width: 140px;
    min-width: 140px;
    height: 210px;
    margin-bottom: 8px;
  }
}


/* ==========================================================================
   TV SERIES VAULT (EDITORIAL 2-COLUMN LUXURY CARDS WITH SYNOPSIS)
   ========================================================================== */
#pane-series .detailed-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#pane-series .detailed-item-card.series-catalog-card {
  display: flex;
  flex-direction: row;
  gap: 22px;
  background: rgba(13, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.28s ease, 
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

#pane-series .detailed-item-card.series-catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 28px rgba(234, 179, 8, 0.12);
}

#pane-series .series-catalog-card .series-cover-box {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  height: 210px;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #090d14;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#pane-series .detailed-item-card.series-catalog-card:hover .series-cover-box {
  transform: scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75), 0 0 16px rgba(234, 179, 8, 0.2);
}

#pane-series .series-catalog-card .item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#pane-series .series-info-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

#pane-series .series-item-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.3;
  margin: 2px 0 0;
}

#pane-series .series-item-subtitle {
  font-family: var(--font-main);
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
}

#pane-series .series-synopsis-box {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#pane-series .synopsis-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #64748b;
  display: block;
  margin-bottom: 5px;
}

#pane-series .series-synopsis-text {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

#pane-series .series-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-top: 8px;
}

#pane-series .series-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  #pane-series .detailed-items-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  #pane-series .detailed-item-card.series-catalog-card {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 18px;
  }
  #pane-series .series-catalog-card .series-cover-box {
    width: 140px;
    min-width: 140px;
    height: 210px;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   MUSIC & TRACKS CATALOG CARDS (#pane-bandas)
   ========================================================================== */
#pane-bandas .detailed-items-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

#pane-bandas .detailed-item-card.music-catalog-card {
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

#pane-bandas .detailed-item-card.music-catalog-card:hover {
  background: rgba(24, 30, 48, 0.92);
  border-color: rgba(29, 185, 84, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(29, 185, 84, 0.15);
}

#pane-bandas .music-cover-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #0b0e17;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#pane-bandas .music-cover-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

#pane-bandas .music-cover-box .item-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

#pane-bandas .detailed-item-card:hover .item-cover-img {
  transform: scale(1.05);
}

#pane-bandas .music-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

#pane-bandas .detailed-item-card:hover .music-play-overlay {
  opacity: 1;
}

#pane-bandas .music-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1DB954;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(29, 185, 84, 0.6);
  transform: scale(0.85);
  transition: transform 0.2s ease, background 0.2s ease;
}

#pane-bandas .detailed-item-card:hover .music-play-btn {
  transform: scale(1);
}

#pane-bandas .music-play-btn:hover {
  background: #1ed760;
  transform: scale(1.1);
}

#pane-bandas .music-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

#pane-bandas .music-track-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pane-bandas .music-artist-name {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pane-bandas .badge-spotify {
  background: rgba(29, 185, 84, 0.15);
  border: 1px solid rgba(29, 185, 84, 0.35);
  color: #1DB954;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

#pane-bandas .music-spotify-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.3);
  color: #1DB954;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

#pane-bandas .music-spotify-link:hover {
  background: #1DB954;
  color: #0b0e17;
  border-color: #1DB954;
  box-shadow: 0 4px 14px rgba(29, 185, 84, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  #pane-bandas .detailed-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   15. MASTER MOBILE & TABLET RESPONSIVE SYSTEM (100% REFINED MOBILE UX)
   ========================================================================== */

@media (max-width: 768px) {
  /* Base Reset & Screen Bounds */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    -webkit-tap-highlight-color: transparent;
  }

  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Harmonized Mobile Vertical Rhythm */
  .editorial-light-section,
  .editorial-dark-section,
  .pillars-dedicated-section,
  .background-section,
  .side-projects-section,
  .reading-section,
  .endorsements-section {
    padding: 64px 0 !important;
  }

  .contact-section {
    padding: 64px 0 48px !important;
  }

  .section-editorial-h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
  }

  .section-sub-desc {
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
    margin-bottom: 28px !important;
  }

  /* ------------------------------------------------------------------------
     1. Header & Navigation Drawer
     ------------------------------------------------------------------------ */
  .site-header {
    padding: 12px 0 !important;
  }

  .nav-links, .nav-actions {
    display: none !important;
  }

  .brand-logo-text {
    font-size: 1.38rem !important;
  }

  .brand-logo-dot {
    font-size: 1.65rem !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition-smooth);
  }

  .mobile-menu-btn:active {
    transform: scale(0.94);
    background: rgba(255, 255, 255, 0.15);
  }

  .site-header.header-over-light .mobile-menu-btn {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
  }

  /* Mobile Backdrop & Drawer */
  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 11, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 140;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }

  .mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-drawer {
    width: min(320px, 86vw) !important;
    max-width: 86vw !important;
    z-index: 150 !important;
    padding: 24px 20px !important;
    padding-top: max(24px, env(safe-area-inset-top)) !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
    background: #0b0f19 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    transform: translateX(100%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-shadow: none !important;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85) !important;
  }

  .mobile-nav-links {
    gap: 12px;
    margin-bottom: 24px;
  }

  .mobile-nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 4px;
    display: block;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mobile-nav-link:active {
    color: var(--accent-emerald);
  }

  /* ------------------------------------------------------------------------
     2. Hero Section
     ------------------------------------------------------------------------ */
  .hero-executive-section {
    min-height: auto !important;
    padding: 105px 0 48px !important;
  }

  .hero-status-pill {
    font-size: 0.74rem !important;
    padding: 5px 13px !important;
    gap: 6px !important;
    max-width: 100%;
    margin-bottom: 20px !important;
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(1.48rem, 5.8vw, 2.1rem) !important;
    line-height: 1.24 !important;
    margin-bottom: 16px !important;
  }

  .headline-dynamic-part {
    white-space: normal !important;
    word-break: break-word !important;
    min-height: 1.25em !important;
  }

  .typewriter-text {
    word-break: break-word;
  }

  .hero-subline {
    font-size: 0.94rem !important;
    line-height: 1.58 !important;
    margin-bottom: 26px !important;
    padding: 0 4px;
  }

  .hero-cta-group {
    margin-bottom: 32px !important;
    gap: 10px !important;
  }

  .hero-credentials-ribbon {
    padding-top: 18px !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  .ribbon-tags {
    gap: 6px !important;
    justify-content: center !important;
  }

  .ribbon-chip {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* ------------------------------------------------------------------------
     3. About Me Section
     ------------------------------------------------------------------------ */
  .about-split-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    margin-top: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .about-photo-card {
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .about-interactive-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .about-photo-img {
    height: 350px !important;
    object-position: center 25% !important;
  }

  .about-photo-overlay {
    padding: 16px 14px !important;
  }

  .about-photo-name {
    font-size: 1.1rem !important;
  }

  .about-photo-actions {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .about-photo-actions .btn-pill {
    flex: 1 !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 0.76rem !important;
    gap: 6px !important;
  }

  .story-tabs-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
    padding: 4px 2px 10px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .story-tabs-nav::-webkit-scrollbar { display: none !important; }

  .story-tab-btn {
    flex-shrink: 0 !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
  }

  .story-tab-pane {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .story-tab-pane p {
    font-size: 0.94rem !important;
    line-height: 1.66 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .about-family-callout {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ------------------------------------------------------------------------
     4. Core Strategic Pillars (Pillars Stepper)
     ------------------------------------------------------------------------ */
  .horizontal-pillars-timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    padding-left: 52px !important;
    margin-top: 32px !important;
    position: relative !important;
  }

  .horizontal-pillars-timeline::before {
    left: 20px !important;
    top: 21px !important;
    bottom: 21px !important;
    width: 2px !important;
  }

  .step-node-wrap {
    position: absolute !important;
    left: -52px !important;
    top: 0 !important;
    width: auto !important;
    margin-bottom: 0 !important;
  }

  .step-node-circle {
    width: 42px !important;
    height: 42px !important;
  }

  .step-node-circle .step-icon {
    width: 19px !important;
    height: 19px !important;
  }

  .step-kicker {
    font-size: 0.68rem !important;
    margin-bottom: 6px !important;
  }

  .step-title {
    font-size: 1.15rem !important;
    line-height: 1.28 !important;
    margin-bottom: 8px !important;
  }

  .step-desc {
    font-size: 0.88rem !important;
    line-height: 1.58 !important;
  }

  /* ------------------------------------------------------------------------
     5. Background, Metrics & Career Milestones
     ------------------------------------------------------------------------ */
  .metrics-six-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 34px !important;
  }

  .metric-card-item {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }

  .metric-num {
    font-size: 1.55rem !important;
    margin-bottom: 3px !important;
  }

  .metric-label {
    font-size: 0.78rem !important;
    margin-bottom: 2px !important;
  }

  .metric-sub {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
  }

  /* Career Timeline */
  .career-timeline-wrapper {
    padding: 0 0 16px !important;
    margin-bottom: 34px !important;
  }

  .timeline-spine {
    left: 9px !important;
  }

  .timeline-milestone-item {
    padding-left: 34px !important;
    margin-bottom: 36px !important;
  }

  .timeline-node-marker {
    left: -2px !important;
  }

  .timeline-kicker-row {
    gap: 8px !important;
    margin-bottom: 4px !important;
  }

  .timeline-kicker {
    font-size: 0.7rem !important;
  }

  .timeline-date-badge {
    font-size: 0.76rem !important;
  }

  .timeline-role-title {
    font-size: 1.25rem !important;
    line-height: 1.28 !important;
    margin-bottom: 4px !important;
  }

  .timeline-company-meta {
    font-size: 0.78rem !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .timeline-role-summary {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  .achievements-filter-bar {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    margin: 12px 0 16px !important;
    border-radius: 10px !important;
  }
  .achievements-filter-bar::-webkit-scrollbar { display: none; }

  .achieve-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  .timeline-achievements-list {
    gap: 10px !important;
  }

  .timeline-achievements-list li {
    font-size: 0.88rem !important;
    line-height: 1.56 !important;
    gap: 8px !important;
  }

  .education-integrated-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .education-columns-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* ------------------------------------------------------------------------
     6. Side Projects Cards & Detail Pop-Up Modals
     ------------------------------------------------------------------------ */
  .side-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 26px !important;
  }

  .project-clean-card {
    border-radius: 18px !important;
  }

  .project-clean-media {
    height: 190px !important;
  }

  .project-clean-body {
    padding: 18px 16px !important;
  }

  .project-clean-title {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
  }

  .project-clean-desc {
    font-size: 0.86rem !important;
    line-height: 1.52 !important;
    margin-bottom: 14px !important;
  }

  .project-clean-footer {
    padding-top: 12px !important;
  }

  /* Pop-Up Modals (Mobile Bottom-Sheet & Ergonomics) */
  .project-modal-backdrop {
    padding: 8px !important;
    align-items: flex-end !important;
  }

  .project-modal-dialog {
    padding: 22px 16px !important;
    border-radius: 20px 20px 8px 8px !important;
    max-height: 92vh !important;
    width: 100% !important;
  }

  .project-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
  }

  .project-modal-title {
    font-size: 1.35rem !important;
    padding-right: 38px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .project-modal-kicker {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }

  .project-modal-media-box {
    margin: 14px 0 !important;
    border-radius: 12px !important;
  }

  .project-modal-featured-img {
    max-height: 220px !important;
  }

  .project-modal-media-caption {
    font-size: 0.72rem !important;
    padding: 8px 12px !important;
    line-height: 1.45 !important;
  }

  .project-modal-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    white-space: nowrap !important;
    gap: 6px !important;
    padding-bottom: 8px !important;
    margin-bottom: 14px !important;
  }
  .project-modal-tabs::-webkit-scrollbar { display: none; }

  .modal-tab-btn {
    flex-shrink: 0 !important;
    padding: 6px 14px !important;
    font-size: 0.72rem !important;
  }

  .modal-body-p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }

  .modal-highlights-list {
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  .modal-highlights-list li {
    font-size: 0.84rem !important;
    line-height: 1.54 !important;
    gap: 8px !important;
  }

  .modal-tech-stack-row {
    gap: 6px !important;
    margin-top: 10px !important;
    margin-bottom: 18px !important;
  }

  .tech-badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
  }

  .project-modal-footer {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
    padding-top: 14px !important;
  }

  .project-modal-footer .btn-pill,
  .project-modal-footer .btn-modal-back,
  .project-modal-footer .btn-modal-next {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 0.84rem !important;
  }

  .project-modal-footer div {
    width: 100% !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* ------------------------------------------------------------------------
     7. When I'm Not Working / Curated Vaults
     ------------------------------------------------------------------------ */
  .collections-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 26px !important;
  }

  .collection-bento-card {
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .collection-covers-strip {
    height: 72px !important;
    gap: 6px !important;
  }

  .collection-detail-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .btn-back-collections {
    width: fit-content !important;
    font-size: 0.76rem !important;
    padding: 6px 14px !important;
  }

  .collection-category-tabs {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
  }
  .collection-category-tabs::-webkit-scrollbar { display: none; }

  .col-cat-tab-btn {
    flex-shrink: 0 !important;
    font-size: 0.76rem !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
  }

  .collection-filter-bar {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 18px !important;
  }
  .collection-filter-bar::-webkit-scrollbar { display: none; }

  .filter-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* Catalog Grid Items */
  #pane-biblioteca .detailed-items-grid,
  #pane-youtube .detailed-items-grid,
  #pane-series .detailed-items-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #pane-biblioteca .detailed-item-card.book-catalog-card,
  #pane-youtube .detailed-item-card.youtube-catalog-card,
  #pane-series .detailed-item-card.series-catalog-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: left !important;
    padding: 16px !important;
    gap: 12px !important;
    border-radius: 14px !important;
  }

  #pane-biblioteca .book-catalog-card .book-cover-box,
  #pane-series .series-catalog-card .series-cover-box {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 180px !important;
    margin-bottom: 6px !important;
  }

  #pane-youtube .youtube-catalog-card .youtube-cover-box {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 100px !important;
    margin-bottom: 4px !important;
  }

  #pane-youtube .youtube-channel-btn,
  #pane-series .series-link-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Music Cards in 2 Columns on Mobile */
  #pane-bandas .detailed-items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  #pane-bandas .detailed-item-card.music-catalog-card {
    padding: 10px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  #pane-bandas .music-play-overlay {
    opacity: 1 !important;
    background: transparent !important;
  }

  #pane-bandas .music-play-btn {
    width: 36px !important;
    height: 36px !important;
    transform: scale(0.9) !important;
  }

  #pane-bandas .music-track-title {
    font-size: 0.84rem !important;
  }

  #pane-bandas .music-artist-name {
    font-size: 0.72rem !important;
  }

  #pane-bandas .music-spotify-link {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    padding: 5px 8px !important;
  }

  /* Travel Cards in 2 Columns */
  #pane-travel .detailed-items-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }

  #pane-travel .item-title {
    font-size: 0.84rem !important;
  }

  #pane-travel .item-subtitle {
    font-size: 0.72rem !important;
  }

  /* ------------------------------------------------------------------------
     8. Endorsements
     ------------------------------------------------------------------------ */
  .endorsements-tabs-row {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 22px !important;
  }
  .endorsements-tabs-row::-webkit-scrollbar { display: none; }

  .endorsement-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.74rem !important;
    padding: 5px 12px !important;
  }

  .endorsements-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
  }

  .endorsement-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  .endorsement-quote-text {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  .endorsement-author-row {
    gap: 10px !important;
  }

  .author-avatar-badge {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.85rem !important;
  }

  .author-name {
    font-size: 0.88rem !important;
  }

  .author-role-type {
    font-size: 0.74rem !important;
  }

  /* ------------------------------------------------------------------------
     9. Contact Section
     ------------------------------------------------------------------------ */
  .contact-card-main {
    padding: 28px 16px !important;
    border-radius: 20px !important;
  }

  .contact-host-profile {
    padding: 6px 14px 6px 8px !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .contact-host-avatar-wrapper {
    width: 46px !important;
    height: 46px !important;
  }

  .contact-host-name {
    font-size: 0.95rem !important;
  }

  .contact-host-role {
    font-size: 0.72rem !important;
  }

  .contact-title {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .contact-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }

  .contact-actions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  .contact-action-tile {
    padding: 14px 8px !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }

  .tile-label {
    font-size: 0.68rem !important;
  }

  .tile-val {
    font-size: 0.76rem !important;
    text-align: center;
    word-break: break-all;
  }

  .contact-location-bar {
    gap: 10px !important;
    font-size: 0.74rem !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-top: 18px !important;
  }
}

/* --------------------------------------------------------------------------
   Extra Compact Devices (<= 480px, e.g. iPhone 13/14 mini, SE, Galaxy)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-cta-group .btn-antigravity-white,
  .hero-cta-group .btn-antigravity-glass {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-status-pill {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
  }

  .hero-headline {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem) !important;
  }

  .horizontal-pillars-timeline {
    padding-left: 48px !important;
  }

  .horizontal-pillars-timeline::before {
    left: 18px !important;
  }

  .step-node-wrap {
    left: -48px !important;
  }

  .step-node-circle {
    width: 38px !important;
    height: 38px !important;
  }

  .step-node-circle .step-icon {
    width: 17px !important;
    height: 17px !important;
  }
}

/* --------------------------------------------------------------------------
   Narrow Smartphones (<= 340px)
   -------------------------------------------------------------------------- */
@media (max-width: 340px) {
  #pane-bandas .detailed-items-grid,
  #pane-travel .detailed-items-grid,
  .metrics-six-grid,
  .contact-actions-grid {
    grid-template-columns: 1fr !important;
  }
}


