/* ===================================================================
   FATEYE MICHAEL ADEDIRAN - EXECUTIVE PORTFOLIO DESIGN SYSTEM
   Theme: Modern Classic Executive (Navy, Ivory, Champagne Gold)
   =================================================================== */

/* --- Local High-Performance Typography (Self-Hosted for Zero External Crawler Errors) --- */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('../assets/fonts/cinzel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../assets/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/plusjakartasans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Root Color Tokens --- */
:root {
  /* Midnight Sapphire & Obsidian (Dark Luxury Theme - Default) */
  --bg-body: #070b13;
  --bg-primary: #0a101d;
  --bg-secondary: #0f192b;
  --bg-tertiary: #16243d;
  --bg-card: rgba(15, 25, 43, 0.78);
  --bg-card-hover: rgba(22, 36, 61, 0.9);
  --bg-glass: rgba(10, 16, 29, 0.82);
  --bg-elevated: #1a2a46;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(212, 175, 55, 0.18);
  --border-gold: rgba(212, 175, 55, 0.45);
  --border-gold-solid: #d4af37;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #e2c068;

  --gold-primary: #d4af37;
  --gold-light: #f3df95;
  --gold-dark: #9e7d1d;
  --gold-gradient: linear-gradient(135deg, #f5e4a8 0%, #d4af37 50%, #9e7d1d 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.22);
  --navy-glow: 0 10px 30px rgba(7, 11, 19, 0.7);

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.18);
}

/* --- Classical Ivory Theme Variant --- */
[data-theme="light"] {
  --bg-body: #f8f6f0;
  --bg-primary: #ffffff;
  --bg-secondary: #f2eee3;
  --bg-tertiary: #e6dfcf;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(248, 246, 240, 0.88);
  --bg-elevated: #ede5d5;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(184, 134, 11, 0.25);
  --border-gold: rgba(184, 134, 11, 0.5);
  --border-gold-solid: #b8860b;

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

  --gold-primary: #b8860b;
  --gold-light: #d4a737;
  --gold-dark: #805b00;
  --gold-gradient: linear-gradient(135deg, #d4a737 0%, #b8860b 50%, #805b00 100%);
  --gold-glow: 0 0 25px rgba(184, 134, 11, 0.16);
  --navy-glow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* ===================================================================
   RESET & CORE BASE
   =================================================================== */
*, *::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-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 65%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===================================================================
   LAYOUT UTILITIES & CONTAINER
   =================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

[data-theme="light"] .section-tag {
  color: var(--gold-dark);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] .hero-bg-overlay {
  opacity: 0.05;
}

[data-theme="light"] .btn-gold {
  color: #ffffff;
  background: linear-gradient(135deg, #b8860b 0%, #805b00 100%);
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================================================================
   NAVIGATION BAR
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-crest {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  box-shadow: var(--gold-glow);
  position: relative;
  flex-shrink: 0;
}

.logo-crest span {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.15;
  white-space: nowrap;
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  white-space: nowrap;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

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

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-cta {
  display: none;
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--border-gold);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.25rem 2rem 1.25rem;
    gap: 0.5rem;
    display: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    display: flex;
    animation: menuSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 0.75rem;
  }

  .mobile-toggle-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .nav-cta-btn {
    display: none;
  }
  .nav-container {
    padding: 0 0.85rem;
  }
  .nav-logo {
    gap: 0.55rem;
  }
  .logo-crest {
    width: 34px;
    height: 34px;
  }
  .logo-crest span {
    font-size: 0.85rem;
  }
  .logo-name {
    font-size: 0.88rem;
  }
  .logo-tagline {
    font-size: 0.58rem;
  }
}

/* ===================================================================
   BUTTONS & BADGES
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 150%;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0c121e;
  border: none;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
}

[data-theme="light"] .btn-outline-gold {
  color: var(--gold-dark);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

[data-theme="light"] .btn-outline-gold:hover {
  color: var(--gold-dark);
  background: rgba(184, 134, 11, 0.1);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.btn-icon {
  font-size: 1.1rem;
}

/* ===================================================================
   HERO SECTION (CLASSICAL EXECUTIVE SPLIT)
   =================================================================== */
.hero-section {
  min-height: 100vh;
  padding-top: 105px;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/corporate_hero_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: saturate(0.6);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

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

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

.executive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  width: fit-content;
  margin-bottom: 1.5rem;
}

[data-theme="light"] .executive-badge {
  color: var(--gold-dark);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: radarPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.hero-designation {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-primary);
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.hero-bio-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 620px;
}

@media (max-width: 992px) {
  .executive-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-bio-lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

@media (max-width: 992px) {
  .hero-cta-group {
    justify-content: center;
  }
}

/* --- Hero Metrics Strip --- */
.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 640px) {
  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* --- Hero Portrait Frame --- */
.hero-portrait-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.2));
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.portrait-img-inner {
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

.portrait-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

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

.floating-credential-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  max-width: 290px;
  animation: floatCard 4s ease-in-out infinite alternate;
}

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

@media (max-width: 576px) {
  .floating-credential-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}

.card-seal-icon {
  font-size: 2rem;
  color: var(--gold-primary);
}

.card-info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-info p {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ===================================================================
   ABOUT & EXECUTIVE PHILOSOPHY
   =================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.lead-statement {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.5rem;
}

[data-theme="light"] .lead-statement {
  color: var(--gold-dark);
}

.prose p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.executive-dossier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.dossier-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.dossier-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dossier-subtitle {
  font-size: 0.82rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.dossier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dossier-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.dossier-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.dossier-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.dossier-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dossier-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ===================================================================
   CAREER EXPERIENCE TIMELINE
   =================================================================== */
.timeline-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.timeline-tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.timeline-tab-btn:hover,
.timeline-tab-btn.active {
  background: var(--gold-gradient);
  color: #0b111d;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(212, 175, 55, 0.1) 100%);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 100%;
}

.timeline-badge-node {
  position: absolute;
  left: 20px;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-body);
  border: 3px solid var(--gold-primary);
  box-shadow: var(--gold-glow);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-badge-node {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-card {
  margin-left: 65px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

.timeline-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-card {
    margin-left: 0;
    margin-right: calc(50% + 35px);
  }

  .timeline-item:nth-child(even) .timeline-card {
    margin-left: calc(50% + 35px);
    margin-right: 0;
  }
}

.timeline-period {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

[data-theme="light"] .timeline-period {
  color: var(--gold-dark);
}

.timeline-role {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-responsibilities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.timeline-responsibilities li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-responsibilities li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-size: 0.75rem;
}

/* ===================================================================
   INTERACTIVE UNDERWRITING RISK CALCULATOR
   =================================================================== */
.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.calculator-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.calc-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.form-select, .form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  cursor: pointer;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold-light);
}

[data-theme="light"] .slider-val-badge {
  color: var(--gold-dark);
}

.calc-results-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.results-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.results-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-primary);
}

.results-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.result-stat-box {
  background: var(--bg-card);
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-primary);
}

.result-stat-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.result-stat-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

[data-theme="light"] .result-stat-value {
  color: var(--gold-dark);
}

.risk-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.risk-level-low {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}

.risk-level-moderate {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.risk-level-high {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.retention-bar-wrapper {
  margin-top: 0.8rem;
}

.retention-bar {
  height: 10px;
  background: #334155;
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.retention-fill {
  background: var(--gold-gradient);
  height: 100%;
  transition: width 0.4s ease;
}

.reinsurance-fill {
  background: #3b82f6;
  height: 100%;
  transition: width 0.4s ease;
}

.retention-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  color: var(--text-secondary);
}

/* ===================================================================
   UNDERWRITING EXPERTISE & PORTFOLIO LINES
   =================================================================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.expertise-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.expertise-card:hover::after {
  opacity: 1;
}

.expertise-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.expertise-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.expertise-card-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.exp-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* ===================================================================
   CREDENTIALS, EDUCATION & EXECUTIVE TRAININGS
   =================================================================== */
.credentials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .credentials-layout {
    grid-template-columns: 1fr;
  }
}

.cred-category-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-gold);
}

.cred-category-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cred-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cred-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cred-card:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.cred-main h4 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.cred-inst {
  font-size: 0.88rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.cred-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.cred-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  white-space: nowrap;
}

[data-theme="light"] .cred-year {
  color: var(--gold-dark);
}

/* International Trainings list */
.training-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-top: 2rem;
}

.training-box-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.training-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.training-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.75rem;
}

.training-items li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.training-name {
  font-weight: 500;
  color: var(--text-primary);
}

.training-year-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-primary);
  margin-left: 1rem;
  white-space: nowrap;
}

/* ===================================================================
   CONTACT & ADVISORY SECTION
   =================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-direct-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-direct-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-link-item:hover {
  border-color: var(--gold-primary);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-meta-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-meta-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===================================================================
   RESUME PREVIEW MODAL
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  animation: modalEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-secondary);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-primary);
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--gold-primary);
}

.modal-content-scroll {
  padding: 2.5rem;
  overflow-y: auto;
  line-height: 1.7;
}

.modal-cv-header {
  text-align: center;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.modal-cv-header h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-primary);
}

.modal-cv-header p {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.modal-footer {
  padding: 1.2rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 420px;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

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

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.social-icon-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Back to top floating button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--gold-gradient);
  color: #080c14;
}

/* Print styling for direct CV export */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .navbar, .hero-cta-group, .timeline-tabs, .theme-toggle-btn, .back-to-top, .footer, .calculator-wrapper, .contact-section {
    display: none !important;
  }
  .section {
    padding: 1rem 0 !important;
  }
  .modal-overlay {
    position: static !important;
    display: block !important;
    background: none !important;
  }
  .modal-container {
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
  }
}

/* ===================================================================
   EXECUTIVE PRELOADER (SHORT & SLEEK)
   =================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #060910;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 2rem;
  animation: preloaderIn 0.4s ease forwards;
}

@keyframes preloaderIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.preloader-crest {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #16243d 0%, #0a101d 100%);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.3);
}

.crest-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(212, 175, 55, 0.7);
  animation: spinRing 7s linear infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.crest-monogram {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  animation: pulseMonogram 1.4s ease-in-out infinite alternate;
}

@keyframes pulseMonogram {
  0% { transform: scale(0.97); opacity: 0.9; }
  100% { transform: scale(1.04); opacity: 1; text-shadow: 0 0 25px rgba(212, 175, 55, 0.95); }
}

.preloader-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f8fafc;
  margin-top: 0.35rem;
}

.preloader-subtitle {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.preloader-bar {
  width: 170px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-top: 0.5rem;
}

.preloader-progress {
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
  transition: width 0.25s ease;
}

/* ===================================================================
   READING SCROLL PROGRESS BAR
   =================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 1001;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transition: width 0.08s linear;
}

/* ===================================================================
   SCROLL REVEAL & MICRO-ANIMATIONS
   =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  transform: translateY(35px);
}

[data-reveal="fade-down"] {
  transform: translateY(-25px);
}

[data-reveal="fade-left"] {
  transform: translateX(-35px);
}

[data-reveal="fade-right"] {
  transform: translateX(35px);
}

[data-reveal="zoom-in"] {
  transform: scale(0.92);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger animations for list and grid children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.06s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.14s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.22s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.30s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.38s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.46s; }

[data-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Micro-interaction: Interactive card magnetic rim glow */
.pillar-card,
.expertise-card,
.cred-card,
.contact-link-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease;
}

.pillar-card:hover,
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.18);
}

.logo-crest:hover {
  transform: rotate(6deg) scale(1.05);
  transition: transform 0.3s ease;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.timeline-badge-node {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-badge-node {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

@media (max-width: 767px) {
  .timeline-item:hover .timeline-badge-node {
    transform: scale(1.3);
  }
}

/* ===================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS OVERHAUL (PHONES & TABLETS)
   =================================================================== */
@media (max-width: 768px) {
  /* Layout & Spacing */
  .section {
    padding: 3.8rem 0;
  }

  .container {
    padding: 0 1.15rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 6.8vw, 2.25rem);
  }

  .section-subtitle {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: 85px;
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 7.8vw, 2.65rem);
    line-height: 1.2;
  }

  .hero-designation {
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
    line-height: 1.45;
  }

  .hero-bio-lead {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 auto 1.8rem auto;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .portrait-frame {
    max-width: 290px;
    margin: 0 auto;
  }

  .floating-credential-card {
    position: static;
    margin: 1.15rem auto 0 auto;
    max-width: 100%;
    animation: none;
    text-align: left;
  }

  .hero-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.85rem;
    padding-top: 1.5rem;
  }

  .metric-number {
    font-size: 1.7rem;
  }

  .metric-label {
    font-size: 0.72rem;
  }

  /* About & Philosophy */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lead-statement {
    font-size: 1.12rem;
    line-height: 1.65;
    padding-left: 1rem;
    margin-bottom: 1.35rem;
  }

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

  .pillar-card {
    padding: 1.25rem 1.1rem;
  }

  .executive-dossier-card {
    position: static;
    padding: 1.6rem 1.2rem;
  }

  /* Milestones Timeline */
  .timeline-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 0.45rem;
    scrollbar-width: none;
  }

  .timeline-tabs::-webkit-scrollbar {
    display: none;
  }

  .timeline-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
  }

  .timeline-line {
    left: 15px;
  }

  .timeline-badge-node {
    left: 6px !important;
    width: 18px;
    height: 18px;
    transform: none !important;
  }

  .timeline-card {
    margin-left: 38px !important;
    margin-right: 0 !important;
    padding: 1.35rem 1.1rem;
  }

  .timeline-role {
    font-size: 1.15rem;
  }

  .timeline-company {
    font-size: 0.88rem;
    margin-bottom: 0.95rem;
  }

  .timeline-responsibilities li {
    font-size: 0.88rem;
    line-height: 1.55;
    padding-left: 1.25rem;
  }

  /* Interactive Simulator */
  .calculator-wrapper {
    padding: 1.45rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .calc-grid {
    gap: 1.75rem;
  }

  .calc-results-card {
    padding: 1.35rem 1.1rem;
  }

  .form-select, .form-input {
    font-size: 16px; /* Prevents auto zoom on mobile browsers */
    padding: 0.8rem 0.95rem;
  }

  .result-stat-value {
    font-size: 1.3rem;
  }

  /* Specialization Cards */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .expertise-card {
    padding: 1.5rem 1.2rem;
  }

  /* Credentials */
  .credentials-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .cred-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.25rem 1.1rem;
  }

  .cred-year {
    align-self: flex-start;
  }

  .training-box {
    padding: 1.35rem 1.1rem;
  }

  .training-items li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .training-year-tag {
    margin-left: 0;
  }

  /* Contact & Consultation */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-direct-card, .contact-form-card {
    padding: 1.6rem 1.2rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .form-textarea {
    font-size: 16px;
  }

  /* Modal */
  .modal-overlay {
    padding: 0.65rem;
  }

  .modal-container {
    max-width: 96vw;
    max-height: 94vh;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: 1rem 1.2rem;
  }

  .modal-header h3 {
    font-size: 1.12rem;
  }

  .modal-content-scroll {
    padding: 1.35rem 1.1rem;
  }

  .modal-cv-header h2 {
    font-size: 1.5rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.2rem;
  }

  .modal-footer .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}
