/* =========================================================================
   Tamim Khan — Cybersecurity Executive & Technology Leader
   style.css
   Table of contents:
     1.  Reset & base
     2.  CSS variables (design tokens)
     3.  Typography
     4.  Layout helpers / utilities
     5.  Buttons
     6.  Navigation
     7.  Hero
     8.  Section labels & headings
     9.  Profile (About)
     10. Impact (metrics)
     11. Expertise (cards)
     12. AI Cyber Fusion Center
     13. Career Journey (timeline)
     14. Leadership Philosophy
     15. Selected Focus Areas
     16. Foundation (Education) & Credentials
     17. Insights (Thought Leadership)
     18. Contact
     19. Footer
     20. Cursor glow (desktop)
     21. Scroll-reveal animation states
     22. Responsive breakpoints
     23. Reduced motion / accessibility
   ========================================================================= */

/* ---------- 1. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- 2. CSS variables ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #070B12;
  --bg-secondary: #0C121C;
  --bg-card: #101925;
  --bg-card-elevated: #14202D;

  /* Accents */
  --accent-primary: #32D5E6;
  --accent-secondary: #1CA7A8;
  --accent-warm: #F5B942;

  /* Text */
  --text-primary: #F5F7FA;
  --text-secondary: #9AA8B7;
  --text-muted: #687789;

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  --gradient-border: linear-gradient(135deg, rgba(50,213,230,0.5), rgba(28,167,168,0.05));

  /* Type */
  --font-heading: 'Space Grotesk', 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Spacing / rhythm */
  --section-padding: clamp(5rem, 10vw, 9rem);
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  color-scheme: dark;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, .heading-font { font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.02em; }
.eyebrow, .mono-label, .nav-links a, .footer-mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent-primary);
  display: inline-block;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 3rem;
}

.section-head { margin-bottom: 3.5rem; }

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

section { padding: var(--section-padding) 0; position: relative; }

.grid { display: grid; gap: 1.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-primary);
  color: #04141a;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }

.btn-primary {
  background: var(--gradient-accent);
  color: #04141a;
}
.btn-primary:hover { box-shadow: 0 10px 30px -10px rgba(50, 213, 230, 0.55); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(154, 168, 183, 0.3);
}
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.9rem 1rem;
}
.btn-ghost:hover { color: var(--accent-primary); }

.hero-ctas, .contact-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 6. Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(154, 168, 183, 0.08);
  transition: background var(--dur-fast) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(50,213,230,0.35);
}
.brand-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--accent-primary);
  transition: width var(--dur-med) var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a.active::after { width: 100%; }

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(154,168,183,0.25);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  position: relative;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 32%, rgba(50,213,230,0.10), transparent 70%),
    radial-gradient(40% 40% at 10% 85%, rgba(28,167,168,0.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.hero-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(154,168,183,0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}
.hero-name {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.accent-text { color: var(--accent-primary); }
.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.hero-focus {
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}
.hero-focus .sep { color: var(--text-muted); margin: 0 0.5em; }

.hero-tagline {
  min-height: 1.6em;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.hero-tagline .type-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-primary);
  margin-left: 2px;
  vertical-align: -0.1em;
  animation: blink 1s step-end infinite;
}

.hero-desc {
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 2.5rem;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-visual-label {
  position: absolute;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.visual-label-top { top: 14%; left: 2%; }
.visual-label-bottom { right: 2%; bottom: 13%; color: var(--accent-secondary); }
#hero-canvas {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--accent-primary), transparent); animation: scrollcue 1.8s ease-in-out infinite; }

@keyframes scrollcue { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 9. Profile (About) ---------- */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.profile-copy p { margin-bottom: 1.25rem; color: var(--text-secondary); font-size: 1.05rem; }
.profile-copy p:last-child { margin-bottom: 0; }
.profile-status {
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(154,168,183,0.12);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 1.6rem;
}
.profile-status .row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.profile-status .row span:first-child { color: var(--text-muted); text-transform: uppercase; }
.profile-status .row span:last-child { color: var(--text-primary); }
.profile-status .dot { color: var(--accent-secondary); }
.status-dot-live {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-right: 0.5em;
  box-shadow: 0 0 0 0 rgba(50,213,230,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(50,213,230,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(50,213,230,0); }
  100% { box-shadow: 0 0 0 0 rgba(50,213,230,0); }
}

/* ---------- 10. Impact (metrics) ---------- */
.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid rgba(154,168,183,0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.metric-card:hover { transform: translateY(-4px); border-color: rgba(50,213,230,0.35); background: var(--bg-card-elevated); }
.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.metric-label { color: var(--text-secondary); font-size: 0.92rem; }
.metric-arrow { color: var(--text-muted); padding: 0 0.12em; }

/* ---------- 11. Expertise cards ---------- */
.expertise-grid { grid-template-columns: repeat(3, 1fr); }
.expertise-card {
  background: var(--bg-card);
  border: 1px solid rgba(154,168,183,0.1);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.expertise-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
  pointer-events: none;
}
.expertise-card:hover { transform: translateY(-6px); }
.expertise-card:hover::before { opacity: 1; }
.expertise-index { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.8rem; margin-bottom: 1.2rem; }
.expertise-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.expertise-tags { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ---------- 12. AI Cyber Fusion Center ---------- */
.fusion-section { background: var(--bg-secondary); border-top: 1px solid rgba(154,168,183,0.08); border-bottom: 1px solid rgba(154,168,183,0.08); }
.fusion-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 3rem 0 4rem;
}
.fusion-node {
  width: 100%;
  max-width: 460px;
  text-align: center;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(50,213,230,0.25);
  border-radius: 999px;
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}
.fusion-node.is-core { border-color: var(--accent-primary); color: var(--accent-primary); box-shadow: 0 0 40px -12px rgba(50,213,230,0.4); }
.fusion-connector {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--accent-primary), var(--accent-secondary));
  position: relative;
  overflow: hidden;
}
.fusion-connector::after {
  content: '';
  position: absolute;
  left: -1.5px;
  top: -20px;
  width: 4px; height: 20px;
  border-radius: 2px;
  background: var(--text-primary);
  filter: blur(1px);
  animation: flow 2.4s linear infinite;
}
@keyframes flow { to { top: 100%; } }

.sua-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.sua-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(154,168,183,0.1);
}
.sua-index { font-family: var(--font-mono); color: var(--accent-secondary); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.sua-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.sua-card p { color: var(--text-secondary); font-size: 0.92rem; }

.fusion-note {
  margin-top: 3rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 68ch;
  border-left: 2px solid var(--accent-primary);
  padding-left: 1.4rem;
}

/* ---------- 13. Career Journey (timeline) ---------- */
.timeline { position: relative; margin-top: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: linear-gradient(rgba(50,213,230,0.6), rgba(154,168,183,0.08));
}
.timeline-item {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: 0; top: 0.35rem;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--accent-primary);
  display: grid;
  place-items: center;
}
.timeline-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-primary); }
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}
.timeline-item h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.timeline-org { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.75rem; display: block; }
.timeline-item p { color: var(--text-secondary); max-width: 62ch; }

/* ---------- 14. Leadership Philosophy ---------- */
.philosophy {
  background: var(--bg-secondary);
  text-align: center;
}
.philosophy-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.3;
  max-width: 20ch;
  margin: 0 auto 4rem;
}
.pillars-grid { grid-template-columns: repeat(4, 1fr); text-align: left; }
.pillar { padding: 1.5rem; border-top: 1px solid rgba(154,168,183,0.15); }
.pillar-name { font-family: var(--font-heading); color: var(--accent-primary); font-size: 1.15rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- 15. Selected Focus Areas ---------- */
.focus-grid { grid-template-columns: repeat(3, 1fr); }
.focus-card {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(154,168,183,0.15);
}
.focus-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.focus-card p { color: var(--text-secondary); font-size: 0.92rem; }

/* ---------- 16. Foundation & Credentials ---------- */
.foundation-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 3.5rem; }
.foundation-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(154,168,183,0.1);
}
.foundation-card .degree { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.5rem; }
.foundation-card .school { color: var(--text-secondary); font-size: 0.88rem; }

.credentials-title { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.credentials-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.credential-pill {
  border: 1px solid rgba(154,168,183,0.2);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- 17. Insights ---------- */
.insights-grid { grid-template-columns: repeat(3, 1fr); }
.insight-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(154,168,183,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.insight-card:hover { transform: translateY(-6px); border-color: rgba(50,213,230,0.3); }
.insight-category { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-secondary); }
.insight-card h3 { font-size: 1.08rem; line-height: 1.4; }
.insight-card p { color: var(--text-secondary); font-size: 0.9rem; flex-grow: 1; }
.insight-link { font-size: 0.85rem; font-weight: 600; color: var(--accent-primary); display: inline-flex; align-items: center; gap: 0.4rem; }
.insight-link .arrow { transition: transform var(--dur-fast) var(--ease); }
.insight-card:hover .arrow { transform: translateX(4px); }

/* ---------- 18. Contact ---------- */
.contact-section { text-align: center; }
.contact-statement { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 22ch; margin: 0 auto 1.25rem; font-family: var(--font-heading); }
.contact-sub { max-width: 56ch; margin: 0 auto 2.5rem; color: var(--text-secondary); }
.contact-ctas { justify-content: center; }

/* ---------- 19. Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(154,168,183,0.1);
  padding: 3rem 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.35rem; }
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-mono { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.08em; }

/* ---------- 20. Cursor glow (desktop only) ---------- */
.cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(50,213,230,0.06), transparent 70%);
  transform: translate(-50%, -50%);
  left: -9999px; top: -9999px;
  transition: opacity 0.3s ease;
}

/* ---------- 21. Scroll-reveal animation states ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.4s; }

/* ---------- 22. Responsive breakpoints ---------- */
@media (min-width: 1600px) {
  :root { --container-width: 1400px; }
}

@media (max-width: 1080px) {
  .expertise-grid, .foundation-grid, .insights-grid, .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto 2rem; aspect-ratio: 1/1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-resume-btn.desktop-only { display: none; }
  .nav-toggle { display: flex; }

  .site-header .nav-links {
    display: flex;
    position: fixed;
    inset: 76px 0 0 0;
    height: calc(100vh - 76px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
  }
  .site-header .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .nav-links .nav-resume-btn { display: inline-flex; margin-top: 1rem; }

  .expertise-grid, .foundation-grid, .insights-grid, .focus-grid, .metrics-grid, .pillars-grid, .sua-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; text-align: left; }
  .cursor-glow { display: none; }
  section { padding: 4rem 0; }
}

/* ---------- 23. Reduced motion / accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}

:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
