:root {
  --bg: #0b1120;
  --bg-soft: #121a2c;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #b8c1d9;
  --line: rgba(255, 255, 255, 0.12);
  --primary: #2dd4bf;
  --primary-dark: #0f766e;
  --accent: #60a5fa;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --container: 1180px;
}

:root.light-theme {
  --bg: #f6f8fc;
  --bg-soft: #edf2fa;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-strong: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #2563eb;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
          radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 24%),
          radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 22%),
          var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8, 13, 24, 0.55);
  border-bottom: 1px solid var(--line);
}

.light-theme .site-header { background: rgba(246, 248, 252, 0.8); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand strong,
.brand small { display: block; }
.brand small { color: var(--muted); }

.brand-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex: 1;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
}

.menu-toggle { display: none; }

.hero { padding: 4.5rem 0 3.5rem; }

.hero-grid,
.two-col,
.intro-band-grid,
.leadership-grid,
.cta-box {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 3.5rem;
}

.two-col,
.leadership-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.hero-copy { min-width: 0; }

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.18);
  color: #bff8ef;
  font-size: 0.9rem;
  font-weight: 600;
}

.light-theme .eyebrow,
.light-theme .section-tag {
  color: var(--primary-dark);
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.12);
}

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  line-height: 1.02;
  margin: 1rem 0 1.1rem;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.hero-text,
.content-stack p,
.intro-band-grid p,
.feature-card p,
.timeline-card p,
.cta-box p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 680px;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.hero-highlights,
.card-grid,
.mini-stats {
  display: grid;
  gap: 1rem;
}

.hero-highlights { grid-template-columns: repeat(3, 1fr); }

.hero-highlights article,
.feature-card,
.timeline-card,
.quote-card,
.cta-box,
.intro-band,
.mini-stats > div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-highlights article { padding: 1rem; }

.hero-highlights strong,
.mini-stats strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hero-highlights span,
.mini-stats span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel-strong);
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.portrait-card img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  object-position: center top;
}

.portrait-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem 1.2rem 1.35rem;
  background: linear-gradient(to top, rgba(11, 17, 32, 0.92), rgba(11, 17, 32, 0));
}

.portrait-overlay p,
.portrait-overlay span { margin: 0; }
.portrait-overlay p { font-size: 1.15rem; font-weight: 700; }
.portrait-overlay span { display: inline-block; margin-top: 0.25rem; color: #d8deef; }

.section { padding: 2.25rem 0 5rem; }
.alt-bg { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent); }
.intro-band { padding: 1.5rem 0; }
.intro-band-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; }

.one-line-band .container { width: min(calc(100% - 2rem), var(--container)); }
.one-line-band-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.one-line-heading {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  white-space: normal;
}

.word-slider {
  display: inline-block;
  position: relative;
  height: 1.25em;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 220px;
}

.word-slider span {
  display: block;
  height: 1.25em;
  line-height: 1.25em;
  text-align: left;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideWords 6s infinite;
}

@keyframes slideWords {
  0%, 30% { transform: translateY(0); }
  33%, 63% { transform: translateY(-1.25em); }
  66%, 96% { transform: translateY(-2.5em); }
  100% { transform: translateY(0); }
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0.9rem 0 0;
  letter-spacing: -0.03em;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.content-stack { display: grid; gap: 1rem; }
.quote-card { padding: 1.35rem; }
.quote-card blockquote {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 600;
}
.quote-card span { color: var(--muted); font-size: 0.95rem; }

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary), transparent);
}
.timeline-item { position: relative; padding-left: 2.75rem; margin-bottom: 1.4rem; }
.timeline-dot {
  position: absolute;
  left: 4px;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 4px solid var(--bg);
}

.timeline-card,
.feature-card,
.cta-box,
.mini-stats > div { padding: 1.4rem; }
.timeline-card h3,
.feature-card h3 { margin: 0 0 0.65rem; font-size: 1.2rem; }

.four-up { grid-template-columns: repeat(4, 1fr); }
.three-up { grid-template-columns: repeat(3, 1fr); }
.mini-stats { grid-template-columns: repeat(2, 1fr); }

.cta-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.exec-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.section-tag {
  padding: 8px 16px;
  background: #e6f4f1;
  color: #0f766e;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #b2dfdb;
  cursor: pointer;
}
.section-tag:hover { background: #d1fae5; }

.icon { width: 18px; height: 18px; object-fit: contain; }

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #0077b5;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
}
.btn-linkedin:hover { background-color: #005582; }

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.footer-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@media (max-width: 1280px) {
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .two-col,
  .leadership-grid,
  .intro-band-grid,
  .cta-box,
  .four-up,
  .three-up { grid-template-columns: 1fr 1fr; }

  .hero-visual { justify-content: flex-start; }
  .portrait-card { max-width: 560px; margin: 0; }
  .portrait-card img { height: auto; }
  .hero-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 76px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }

  .hero,
  .section { padding-top: 2rem; }

  .hero-grid,
  .two-col,
  .leadership-grid,
  .intro-band-grid,
  .cta-box,
  .four-up,
  .three-up,
  .mini-stats,
  .hero-highlights { grid-template-columns: 1fr; }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.05;
  }

  .hero-visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .portrait-card {
    max-width: 520px;
    margin-top: 0;
  }

  .one-line-heading {
    white-space: normal;
    font-size: 1.2rem;
  }

  .word-slider {
    min-width: 170px;
  }

  .cta-buttons { justify-content: flex-start; }

  .footer-flex {
    flex-direction: column;
    text-align: center;
  }
}
