/* ==========================================================================
   SANDRINE GONNOT — PORTFOLIO DESIGN SYSTEM & STYLESHEET
   Aesthetics: Luxury Executive Editorial / Mindful Intelligence
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Space Grotesk', sans-serif;

  /* Theme Tokens - Dark (Default) */
  --bg-primary: #090c15;
  --bg-secondary: #0f1523;
  --bg-card: rgba(18, 24, 38, 0.7);
  --bg-card-hover: rgba(26, 35, 54, 0.85);
  --bg-card-solid: #131a29;
  --bg-glass: rgba(15, 21, 35, 0.65);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(212, 175, 55, 0.35);
  --border-accent: rgba(99, 102, 241, 0.3);

  /* Brand Accents */
  --accent-gold: #d4af37;
  --accent-gold-light: #f3e5ab;
  --accent-gold-dark: #aa8c2c;
  --accent-gold-glow: rgba(212, 175, 55, 0.2);
  
  --accent-ai: #6366f1;
  --accent-ai-light: #818cf8;
  --accent-ai-glow: rgba(99, 102, 241, 0.25);

  --accent-inner: #10b981;
  --accent-inner-glow: rgba(16, 185, 129, 0.2);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow-gold: 0 0 35px rgba(212, 175, 55, 0.18);
  --shadow-glow-ai: 0 0 35px rgba(99, 102, 241, 0.2);

  /* Layout */
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-card-solid: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #0f172a;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(170, 140, 44, 0.4);
  --border-accent: rgba(99, 102, 241, 0.25);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* --- Ambient Background Glows --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.45;
  transition: opacity var(--transition-smooth);
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 70%);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
  top: 45%;
  left: -120px;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  bottom: 0;
  right: -150px;
}

[data-theme="light"] .ambient-glow {
  opacity: 0.2;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
}

h1, h2 {
  font-family: var(--font-serif);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 60%, #e5a93c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #a67c1e 0%, #d4af37 60%, #855f0f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* --- Reusable Badges & Section Headers --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #be9328 100%);
  color: #090c15;
  box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #f3e5ab 0%, var(--accent-gold) 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--accent-gold);
}

.btn-block {
  width: 100%;
}

/* --- Site Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--border-hover);
  transform: rotate(15deg);
}

[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-cta {
  padding: 0.65rem 1.2rem;
  font-size: 0.875rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-inner);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-inner);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.hero-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.meta-item i {
  color: var(--accent-gold);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
}

/* Portrait Media Frame */
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-wrapper {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  background: var(--bg-card-solid);
}

.portrait-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portrait-frame:hover .portrait-image {
  transform: scale(1.03);
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(9, 12, 21, 0.8) 100%);
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite alternate;
  z-index: 2;
}

.badge-top {
  top: 10%;
  left: -20px;
  border-left: 3px solid var(--accent-ai);
}

.badge-bottom {
  bottom: 8%;
  right: -20px;
  animation-delay: -2s;
  border-left: 3px solid var(--accent-inner);
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.outer-icon {
  background: rgba(99, 102, 241, 0.2);
  color: var(--accent-ai-light);
}

.inner-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-inner);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.825rem;
  color: var(--text-primary);
}

.badge-text span {
  font-size: 0.725rem;
  color: var(--text-muted);
}

/* --- About & Story Section --- */
.about-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 21, 35, 0.4) 50%, transparent 100%);
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.story-quote-icon {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.story-lead {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.story-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story-content p strong {
  color: var(--text-primary);
}

.story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.story-author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.story-author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.venture-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.venture-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.venture-tag:hover {
  color: var(--accent-gold);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* --- Philosophy / The Dual Systems Framework --- */
.philosophy-section {
  padding: 5rem 0;
}

.dual-systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.system-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
}

.outer-card {
  border-top: 4px solid var(--accent-ai);
}

.outer-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow-ai);
}

.inner-card {
  border-top: 4px solid var(--accent-inner);
}

.inner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(16, 185, 129, 0.18);
}

.system-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.system-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.outer-glow {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-ai-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.inner-glow {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-inner);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.system-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.system-name {
  font-size: 1.6rem;
  margin-top: 0.2rem;
}

.system-summary {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.system-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.system-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.outer-card .system-features li i {
  color: var(--accent-ai-light);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.inner-card .system-features li i {
  color: var(--accent-inner);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.system-features strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.system-features span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.system-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.system-initiative {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.system-initiative strong {
  color: var(--text-secondary);
}

/* --- Advisory Services --- */
.advisory-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 21, 35, 0.4) 50%, transparent 100%);
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.advisory-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.advisory-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.advisory-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.advisory-title {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.advisory-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.advisory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.advisory-tags span {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* --- Experience Timeline --- */
.experience-section {
  padding: 5rem 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
  flex-shrink: 0;
}

.marker-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 12px var(--accent-gold-glow);
  z-index: 2;
}

.marker-line {
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(212, 175, 55, 0.1) 100%);
  flex-grow: 1;
  margin-top: 0.5rem;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  flex-grow: 1;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.period-badge {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.period-badge.current {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-inner);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.period-badge.past {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.duration {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.role-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.company-name {
  font-size: 1.05rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.company-name a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.company-name a:hover {
  text-decoration: underline;
}

.role-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.role-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.highlight-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.highlight-bullet i {
  color: var(--accent-gold);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.milestones-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.milestones-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.milestones-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.milestones-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.milestones-list li strong {
  color: var(--text-primary);
}

.community-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.community-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* --- Education & Credentials --- */
.education-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 21, 35, 0.4) 50%, transparent 100%);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.credential-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-normal);
}

.credential-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.credential-card.featured {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(212, 175, 55, 0.35);
}

.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.credential-type {
  font-family: var(--font-display);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.credential-title {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0.2rem 0;
}

.credential-institution {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.credential-spec {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Skills Cloud */
.skills-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.skills-heading {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.skill-tag i {
  color: var(--accent-gold);
}

.skill-tag:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

/* --- Contact Section --- */
.contact-section {
  padding: 5rem 0;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.contact-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-channels h3, .contact-ecosystem h3 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--border-hover);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.channel-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.channel-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
}

.channel-value {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.channel-value:hover {
  color: var(--accent-gold);
}

.channel-value.text-static {
  color: var(--text-secondary);
  font-weight: 500;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.1);
}

/* Digital Ecosystem */
.contact-ecosystem p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.ecosystem-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.ecosystem-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.ecosystem-card:hover {
  border-color: var(--accent-gold);
  transform: translateX(4px);
}

.eco-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-ai-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.eco-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.eco-details strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.eco-details span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.eco-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.ecosystem-card:hover .eco-arrow {
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* --- Footer --- */
.site-footer {
  padding: 4rem 0 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.monogram-sm {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* --- Toast Notification --- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
  color: var(--text-primary);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.toast-notification i {
  color: var(--accent-inner);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-meta-items {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-around;
  }

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

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

  .credential-card.featured {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .dual-systems-grid {
    grid-template-columns: 1fr;
  }

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

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

  .credential-card.featured {
    grid-column: span 1;
  }

  .story-card {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 2.5rem 1.5rem;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
    animation: none;
  }

  .portrait-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Mobile Nav Drawer */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-card-solid);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}
