/* ============================================================
   Shalini Nair — Executive Portfolio
   Theme: Executive Elegance (navy + gold, serif display)
   Light theme (default) + Dark theme via html[data-theme="dark"]
   ============================================================ */

:root {
  /* ---------- Fixed palette ---------- */
  --navy-950: #081120;
  --navy-900: #0d1b2e;
  --navy-800: #12263d;
  --navy-700: #1b3a57;
  --gold: #c9a227;
  --gold-light: #e0c25a;
  --gold-pale: #f4e7bf;
  --cream: #f6f1e7;
  --paper: #ffffff;
  --ink: #1a2434;
  --muted: #5d6b7e;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---------- Semantic tokens — Light theme (default) ---------- */
  --bg-page: #ffffff;
  --bg-alt: #f6f1e7;
  --card-bg: #ffffff;
  --text: #1a2434;
  --text-muted: #5d6b7e;
  --heading: #0d1b2e;
  --heading-strong: #1b3a57;
  --line: rgba(13, 27, 46, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent-soft-bg: rgba(201, 162, 39, 0.14);
  --accent-soft-border: rgba(201, 162, 39, 0.4);
  --card-num: rgba(201, 162, 39, 0.35);
  --hover-tint: rgba(201, 162, 39, 0.05);
  --fact-num: var(--navy-900);
  --marquee-text: var(--navy-800);
  --quote-text: var(--navy-800);
  --shadow-rgb: 8, 17, 32;
  --shadow-lg: 0 30px 60px -20px rgba(var(--shadow-rgb), 0.35);
  --shadow-sm: 0 10px 30px -12px rgba(var(--shadow-rgb), 0.18);
}

/* ---------- Dark theme overrides ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg-page: #0a1424;
  --bg-alt: #0d1b2e;
  --card-bg: #12263d;
  --text: rgba(246, 241, 231, 0.85);
  --text-muted: rgba(246, 241, 231, 0.6);
  --heading: #f6f1e7;
  --heading-strong: #e0c25a;
  --line: rgba(255, 255, 255, 0.1);
  --accent-soft-bg: rgba(201, 162, 39, 0.16);
  --accent-soft-border: rgba(201, 162, 39, 0.45);
  --card-num: rgba(224, 194, 90, 0.28);
  --hover-tint: rgba(201, 162, 39, 0.08);
  --fact-num: var(--gold-light);
  --marquee-text: rgba(246, 241, 231, 0.6);
  --quote-text: rgba(246, 241, 231, 0.85);
  --shadow-rgb: 0, 0, 0;
}

html { color-scheme: light; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--navy-950); }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header .container { width: min(1240px, 96%); }
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(8, 17, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(8, 17, 32, 0.35);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 21px; font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.35);
}
.brand-name {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px; font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav { display: flex; align-items: center; gap: 14px; }
.main-nav a {
  color: rgba(246, 241, 231, 0.82);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold-light); }
.main-nav a.active::after { width: 100%; }
.main-nav a.nav-cta {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 10px 16px;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 162, 39, 0.4); }

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(246, 241, 231, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(27, 58, 87, 0.65), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(27, 58, 87, 0.5), transparent 55%),
    var(--navy-950);
  color: var(--cream);
  overflow: hidden;
  padding: 140px 0 90px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(8, 17, 32, 0.9));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-kicker::before {
  content: "";
  width: 44px; height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.4vw, 78px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-pale));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 300;
  color: rgba(246, 241, 231, 0.78);
  margin-bottom: 40px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-950);
  box-shadow: 0 14px 30px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(201, 162, 39, 0.45); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(246, 241, 231, 0.7);
  font-size: 14px;
  transition: color 0.25s;
}
.hero-meta a:hover { color: var(--gold-light); }
.hero-meta svg { width: 16px; height: 16px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid rgba(246, 241, 231, 0.4);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 3px; height: 9px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 120px;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg-alt), transparent);
  pointer-events: none;
}
.marquee::after { inset: 0 0 0 auto; background: linear-gradient(-90deg, var(--bg-alt), transparent); }
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--marquee-text);
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.marquee-heading {
  text-align: center;
  margin-bottom: 20px;
}
.marquee-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  color: var(--heading);
}
.marquee-title em { font-style: italic; color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section { padding: 110px 0; }

.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.18;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-lead {
  color: var(--text-muted);
  max-width: 660px;
  font-size: 17px;
  margin-bottom: 56px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-page); }
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.about-visual { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 26px; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 20% 0%, rgba(201, 162, 39, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 3;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 8px;
  pointer-events: none;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 17, 32, 0.02) 35%, rgba(8, 17, 32, 0.32) 68%, rgba(8, 17, 32, 0.82) 100%);
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}
.portrait-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(75% 48% at 50% 0%, rgba(201, 162, 39, 0.16), transparent 65%);
}
.portrait-caption {
  position: relative;
  z-index: 2;
  padding: 24px 26px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 17, 32, 0.35);
}
.portrait-caption span { color: var(--gold-light); font-size: 14px; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }

.quote-card {
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  border-radius: 0 12px 12px 0;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.quote-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--quote-text);
}

.about-text p { color: var(--text-muted); margin-bottom: 20px; font-size: 16.5px; }
.about-text .section-title { margin-bottom: 24px; }

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.about-facts div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.about-facts div:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.about-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--fact-num);
  margin-bottom: 4px;
}
.about-facts span { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background:
    radial-gradient(800px 400px at 90% 20%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--navy-950);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 62px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  color: rgba(246, 241, 231, 0.65);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
.experience { background: var(--bg-alt); }

.timeline {
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 13px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(201, 162, 39, 0.25));
}

.tl-item {
  position: relative;
  margin-bottom: 42px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 38px;
  box-shadow: 0 6px 24px -14px rgba(var(--shadow-rgb), 0.14);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.tl-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, 0.5); }
.tl-item::before {
  content: "";
  position: absolute;
  left: -44px; top: 38px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-950);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.25);
}

.tl-role h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}
.tl-org {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 18px;
}
.tl-date {
  display: inline-block;
  margin-left: 10px;
  background: var(--accent-soft-bg);
  color: var(--gold);
  border: 1px solid var(--accent-soft-border);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tl-body p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 12px; }
.tl-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 15px;
}
.tl-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.tl-body strong { color: var(--heading-strong); }

.tl-body p.tl-summary {
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0;
}
.tl-details {
  border-top: 1px dashed var(--line);
  margin-top: 14px;
  padding-top: 8px;
}
.tl-details summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  list-style: none;
  padding: 8px 0 4px;
  transition: color 0.25s;
}
.tl-details summary::-webkit-details-marker { display: none; }
.tl-details summary::after {
  content: "+";
  font-size: 17px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.tl-details[open] summary::after { transform: rotate(45deg); }
.tl-details summary:hover { color: var(--gold-light); }
.tl-details-content {
  padding: 6px 0 10px;
  animation: detailsFade 0.35s var(--ease);
}
.tl-details-content p { margin-bottom: 0; }
@keyframes detailsFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   INITIATIVES / CARDS
   ============================================================ */
.initiatives { background: var(--bg-page); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.section-figure {
  margin: 0 auto 46px;
  max-width: 820px;
  aspect-ratio: 16 / 7;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}
.section-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.insights-figure {
  margin: 22px auto 34px;
  max-width: 620px;
  aspect-ratio: 16 / 7;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
}
.insights-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 30px;
  background: var(--card-bg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, 0.4); }
.card:hover::after { transform: scaleX(1); }
.card-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--card-num);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 12px;
}
.card p { color: var(--text-muted); font-size: 14.5px; }

/* ============================================================
   IMPACT / SOCIAL
   ============================================================ */
.impact {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(201, 162, 39, 0.08), transparent 55%),
    var(--navy-950);
  color: var(--cream);
}
.impact .section-kicker { color: var(--gold-light); }
.impact .section-title em { color: var(--gold-light); }
.impact .section-lead { color: rgba(246, 241, 231, 0.7); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.impact-item {
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.impact-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.06); border-color: rgba(201, 162, 39, 0.5); }
.impact-item h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.impact-item p { color: rgba(246, 241, 231, 0.72); font-size: 14.5px; }

/* ============================================================
   AWARDS
   ============================================================ */
.awards { background: var(--bg-alt); }

.awards-list { display: flex; flex-direction: column; max-width: 820px; }
.award {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 30px 6px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s;
}
.award:first-child { border-top: 1px solid var(--line); }
.award:hover { padding-left: 18px; background: var(--hover-tint); }
.award-year {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold);
  min-width: 110px;
  line-height: 1;
}
.award h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 4px;
}
.award p { color: var(--text-muted); font-size: 14px; }
.award-info { flex: 1; }
.award-figure { margin: 0; flex-shrink: 0; }
.award-figure img {
  display: block;
  width: 250px;
  height: 175px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.award:hover .award-figure img { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.award-media {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.award-media-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
  text-align: center;
  margin-bottom: 34px;
}
.award-media-title em { font-style: italic; color: var(--gold); }
.award-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.award-media-grid .award-figure {
  min-width: 0;
  flex: 0 0 50%;
}
.award-media-grid .award-figure img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  background: var(--bg-page);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 4vw;
  background: rgba(5, 11, 22, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.65);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 241, 231, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold-light); transform: rotate(90deg); }
.lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 84%;
  text-align: center;
  color: rgba(246, 241, 231, 0.75);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise { background: var(--bg-page); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.skill-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 26px;
  background: var(--card-bg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.skill-group:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.skill-group h3 {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--heading);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201, 162, 39, 0.35);
}
.skill-group ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.skill-group ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 8px; height: 2px;
  background: var(--gold);
}

/* ============================================================
   EDUCATION
   ============================================================ */
.education { background: var(--bg-alt); }

.edu-list { max-width: 860px; }
.edu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 10px;
  border-bottom: 1px solid var(--line);
}
.edu-item:first-child { border-top: 1px solid var(--line); }
.edu-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 3px;
}
.edu-item p { color: var(--text-muted); font-size: 14px; }
.edu-year {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.credential-note {
  margin-top: 34px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.credential-note p { color: var(--text-muted); font-size: 15.5px; }
.credential-note strong { color: var(--heading-strong); }

/* ============================================================
   CERTIFICATES
   ============================================================ */
.certificates { background: var(--bg-page); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.cert-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  background: var(--card-bg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
a.cert-card { cursor: pointer; }
a.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, 0.45); }
.cert-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.06));
  color: var(--gold);
}
.cert-icon svg { width: 22px; height: 22px; }
.cert-card h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}
.cert-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.cert-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  transition: color 0.25s;
}
a.cert-card:hover .cert-cta { color: var(--gold-light); }
.cert-card--lead {
  grid-column: span 2;
  border-color: rgba(201, 162, 39, 0.35);
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(201, 162, 39, 0.1), transparent 60%),
    var(--card-bg);
}
.cert-card--lead h3 { font-size: 19px; }
.cert-subs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.cert-subs span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}
.cert-subs span::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-alt); }
.tst-slider {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.tst-slides {
  display: grid;
  overflow: hidden;
}
.tst-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: 10px 30px 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.tst-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.tst-slide blockquote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 23px);
  font-style: italic;
  line-height: 1.7;
  color: var(--heading);
  max-width: 720px;
}
.tst-slide blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 22px;
}
.tst-slide figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tst-slide figcaption strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heading);
}
.tst-slide figcaption span {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}
.tst-slide figcaption::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 4px;
}
.tst-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 34px;
}
.tst-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--heading);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.tst-btn svg { width: 20px; height: 20px; }
.tst-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.tst-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tst-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 320px;
}
.tst-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.tst-dot:hover { background: rgba(201, 162, 39, 0.5); }
.tst-dot.active {
  background: var(--gold);
  transform: scale(1.35);
}
.tst-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   INSIGHTS / ARTICLES
   ============================================================ */
.insights { background: var(--bg-alt); }

.insights-group { margin-bottom: 56px; }
.insights-group:last-child { margin-bottom: 0; }
.insights-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 22px;
}
.insights-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.insights-grid-3 { grid-template-columns: repeat(3, 1fr); }
.insights-grid-3 .article-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  background: var(--card-bg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(201, 162, 39, 0.4); }
.article-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--accent-soft-bg);
  border: 1px solid var(--accent-soft-border);
  padding: 4px 12px;
  border-radius: 20px;
}
.article-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.35;
}
.article-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.article-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.article-link:hover { color: var(--gold-light); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(201, 162, 39, 0.14), transparent 60%),
    var(--navy-950);
  color: var(--cream);
}
.contact .section-kicker { color: var(--gold-light); }
.contact .section-title em { color: var(--gold-light); }
.contact .section-lead { color: rgba(246, 241, 231, 0.7); margin-bottom: 44px; }

.contact-card {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(246, 241, 231, 0.85);
  font-size: 15.5px;
  transition: background 0.25s, color 0.25s;
}
.contact-line:last-of-type { border-bottom: 0; }
.contact-line:hover { background: rgba(201, 162, 39, 0.1); color: var(--gold-light); }
.contact-line svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line-light);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-inner p { color: rgba(246, 241, 231, 0.55); font-size: 14px; max-width: 560px; }
.footer-copy { font-size: 12.5px !important; opacity: 0.6; }

/* ============================================================
   RIGHT-SIDE DECOR
   ============================================================ */
.side-icons {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--gold);
  opacity: 0.5;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.side-icon svg { width: 20px; height: 20px; }
.side-icon:hover { opacity: 1; transform: translateY(-2px); border-color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .card-grid, .impact-grid, .skills-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 320px 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .side-icons { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy-950);
    padding: 80px 24px 40px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s var(--ease);
    transform: translateX(100%);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    font-size: 20px;
    width: 100%;
    padding: 12px 0;
    text-align: center;
  }
  .main-nav a.nav-cta {
    padding: 14px 24px;
    margin-top: 24px;
  }
  .main-nav a:hover { color: var(--gold-light); }
  .main-nav a::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { position: static; flex-direction: column; }
  .portrait-frame { max-width: 100%; }
  .about-facts { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .card-grid, .impact-grid, .skills-grid, .cert-grid { grid-template-columns: 1fr; }
  .insights-grid-3 { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .award { flex-direction: column; align-items: flex-start; gap: 16px; }
  .award-year { min-width: 80px; font-size: 32px; }
  .timeline { padding-left: 24px; }
  .tl-item { padding: 20px 16px; }
  .tl-item::before { left: -24px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .about-facts { grid-template-columns: 1fr; }
  .timeline { padding-left: 16px; }
  .tl-item { padding: 16px 12px; }
  .tl-item::before { left: -16px; }
  .award-media-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-lead { margin-bottom: 32px; }
  .about-visual { flex-direction: column; }
  .portrait-frame { max-width: none; }
  .edu-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .award { flex-direction: column; align-items: flex-start; gap: 10px; }
  .award-figure, .award-figure img { width: 100%; }
  .award-figure img { height: 200px; }
  .contact-line { padding: 16px 16px; }
  .hero { padding-top: 100px; }
  .nav-actions { gap: 6px; }
  .hero-kicker { font-size: 12px; }
  .hero-title { font-size: clamp(32px, 7vw, 48px); }
  .hero-sub { font-size: clamp(14px, 1.5vw, 16px); }
  .hero-actions { margin-bottom: 32px; }
  .btn { padding: 12px 20px; font-size: 13px; }
}



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-scroll span { animation: none; }
}