/* ─── Reset & Variables ──────────────────────────────
   Per CLAUDE.md → design-taste-frontend + stitch-design-taste:
   Geist + JetBrains Mono · #F9FAFB canvas · #18181B ink ·
   single emerald accent (#10B981) · diffused shadows · bento radii. */

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

:root {
  /* Canvas & surfaces */
  --bg:           #F9FAFB;
  --surface:      #FFFFFF;
  --surface-2:    #FCFCFD;
  --surface-3:    #F4F4F6;

  /* Ink */
  --ink:          #18181B;
  --ink-2:        #27272A;
  --steel:        #52525B;
  --steel-2:      #71717A;
  --slate:        #94A3B8;

  /* Borders */
  --border:       #E5E7EB;
  --border-soft:  rgba(228, 231, 235, 0.6);
  --border-2:     #D1D5DB;

  /* Single accent — Emerald Signal */
  --accent:       #10B981;
  --accent-2:     #059669;
  --accent-deep:  #047857;
  --accent-bg:    rgba(16, 185, 129, 0.08);
  --accent-mid:   rgba(16, 185, 129, 0.20);

  /* Restrained semantic accents (NDA/AI/category pills) */
  --amber:        #B45309;
  --amber-bg:     rgba(180, 83, 9, 0.08);
  --amber-mid:    rgba(180, 83, 9, 0.20);
  --blue:         #1D4ED8;
  --blue-bg:      rgba(29, 78, 216, 0.08);
  --blue-mid:     rgba(29, 78, 216, 0.20);

  /* Fonts — strict per skill (no Inter, no generic serif) */
  --font-d: 'Geist', system-ui, -apple-system, sans-serif;
  --font-b: 'Geist', system-ui, -apple-system, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Radii — bento system */
  --r:    8px;
  --rl:  18px;
  --rxl: 28px;
  --rxxl:40px;
  --pill: 9999px;

  /* Diffused shadows — never harsh, tinted to bg */
  --shadow-xs:    0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm:    0 6px 16px -8px rgba(16, 24, 40, 0.06);
  --shadow:       0 12px 28px -12px rgba(16, 24, 40, 0.07);
  --shadow-lg:    0 20px 40px -15px rgba(16, 24, 40, 0.08);
  --shadow-xl:    0 30px 60px -20px rgba(16, 24, 40, 0.10);

  --hh: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-b);
  background-color: var(--bg);
  color: var(--steel);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: 'ss03', 'cv11';
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.mono {
  font-family: var(--font-m);
  color: var(--accent);
  font-size: 0.82em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }


/* ─── Logo Badge ────────────────────────────────────── */

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  padding: 4px;
  position: relative;
}

.logo-badge img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.logo-badge.logo-fb::before {
  content: attr(data-init);
  font-family: var(--font-d);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel-2);
  letter-spacing: -0.02em;
}

.logo-badge.sm {
  width: 24px; height: 24px; padding: 3px; border-radius: 6px;
}
.logo-badge.sm.logo-fb::before { font-size: 0.6rem; }

.logo-badge.lg {
  width: 64px; height: 64px; padding: 8px; border-radius: 14px;
}
.logo-badge.lg.logo-fb::before { font-size: 1rem; }

.logo-badge.nda-lock {
  background: var(--surface-3);
  color: var(--steel-2);
  padding: 9px;
  border-style: dashed;
}
.logo-badge.nda-lock svg { width: 100%; height: 100%; }

.nda-pill {
  font-family: var(--font-m);
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--amber-bg);
  color: var(--amber) !important;
  border: 1px solid var(--amber-mid);
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-left: 6px;
  text-transform: uppercase;
}


/* ─── Header ────────────────────────────────────────── */

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--hh);
  transition: background 0.3s var(--ease), border-bottom 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

#header.scrolled {
  background: rgba(249, 250, 251, 0.78);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--hh);
  gap: 40px;
}

.logo {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel-2);
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--ink); }

.lang-btn {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--steel-2);
  font-family: var(--font-m);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: var(--pill);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.15s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.lang-btn:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}

.lang-btn:active { transform: scale(0.98); }

.lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  border-radius: var(--pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  font-weight: 500;
}

.lang-opt.active {
  color: var(--ink);
  background: var(--accent-bg);
}

.lang-opt:not(.active) .lang-flag {
  opacity: 0.45;
  filter: saturate(0.55);
  transition: opacity 0.2s var(--ease), filter 0.2s var(--ease);
}

.lang-btn:hover .lang-opt:not(.active) .lang-flag {
  opacity: 0.85;
  filter: saturate(0.9);
}

.lang-flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--surface);
  flex-shrink: 0;
  line-height: 0;
}

.lang-flag svg { width: 100%; height: 100%; display: block; }

.lang-sep { color: var(--slate); font-weight: 300; }


/* ─── Section Base ──────────────────────────────────── */

.section { padding: 112px 0; }

.section-alt {
  background: var(--surface);
  position: relative;
}

.section-alt::before,
.section-alt::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--border-soft);
}

.section-alt::before { top: 0; }
.section-alt::after  { bottom: 0; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
}

.sec-num {
  color: var(--accent);
  font-family: var(--font-m);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.sec-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  line-height: 1.05;
}


/* ─── Hero ──────────────────────────────────────────── */

#hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: var(--hh);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 85% 18%, rgba(16, 185, 129, 0.06), transparent 65%),
    radial-gradient(ellipse 40% 30% at 12% 88%, rgba(24, 24, 27, 0.025), transparent 70%),
    var(--bg);
}

.hero-bg, .hero-grid-lines, .hero-glow { display: none; }

.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 96px;
  flex: 1;
}

/* Hero text reveals — spring-like easing per skill */

.r1 { animation: fadeUp 0.7s 0.10s both var(--ease); }
.r2 { animation: fadeUp 0.85s 0.22s both var(--ease); }
.r3 { animation: fadeUp 0.75s 0.36s both var(--ease); }
.r4 { animation: fadeUp 0.75s 0.48s both var(--ease); }
.r5 { animation: fadeUp 0.75s 0.60s both var(--ease); }
.r6 { animation: fadeUp 0.75s 0.72s both var(--ease); }
.r-photo { animation: fadeIn 1.1s 0.45s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--pill);
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  color: var(--steel);
  font-family: var(--font-b);
  font-weight: 500;
  margin-bottom: 32px;
  box-shadow: var(--shadow-xs);
  letter-spacing: -0.005em;
}

.chip-pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.chip-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.35;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50%       { transform: scale(2.2); opacity: 0; }
}

.hero-name {
  font-family: var(--font-d);
  font-size: clamp(64px, 8.5vw, 116px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.name-last {
  color: var(--steel-2);
  font-weight: 400;
}

.hero-role {
  font-family: var(--font-m);
  font-size: 0.88rem;
  color: var(--steel-2);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-role .mono { color: var(--accent); font-size: 1em; }

.hero-tagline {
  font-size: 1.08rem;
  color: var(--steel);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
}

.hstat { display: flex; flex-direction: column; gap: 4px; }

.hstat-n {
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hstat-l {
  font-family: var(--font-m);
  font-size: 0.7rem;
  color: var(--steel-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.hstat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--font-b);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--ink-2);
  box-shadow: var(--shadow);
}

.btn-primary:active { transform: translateY(1px) scale(0.985); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:active { transform: translateY(1px) scale(0.985); }

/* Hero Photo */

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-frame {
  position: relative;
  width: 340px;
  height: 440px;
  border-radius: var(--rxl);
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-soft);
}

.photo-border-anim { display: none; }

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.photo-frame:hover .photo-img { transform: scale(1.02); }

.photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 5rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.05em;
}

.float-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 0.78rem;
  color: var(--ink);
  white-space: nowrap;
  font-family: var(--font-m);
  font-weight: 500;
  box-shadow: var(--shadow);
}

.float-tag .mono { color: var(--accent); }

.ft1 {
  top: 44px;
  right: -36px;
  animation: floatA 4.5s ease-in-out infinite;
}

.ft2 {
  bottom: 68px;
  left: -36px;
  animation: floatB 4.5s ease-in-out infinite;
}

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

@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ─── About ─────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.about-intro p {
  font-family: var(--font-d);
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.about-list {
  display: flex;
  flex-direction: column;
}

.about-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.about-item:first-child { padding-top: 0; }
.about-item:last-child { border-bottom: none; padding-bottom: 0; }

.item-diamond {
  color: var(--accent);
  font-size: 0.55rem;
  margin-top: 8px;
  flex-shrink: 0;
}

.about-item span:last-child {
  font-size: 0.98rem;
  color: var(--steel);
  line-height: 1.6;
}


/* ─── Domains ───────────────────────────────────────── */

.dom-lede {
  font-family: var(--font-d);
  font-size: 1.18rem;
  color: var(--ink-2);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 500;
  text-wrap: balance;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.domain-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rl);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-xs);
}

.domain-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.domain-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 6px;
}

.domain-name {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.domain-desc {
  font-size: 0.85rem;
  color: var(--steel-2);
  line-height: 1.5;
  flex: 1;
}

.domain-client {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
}

.dom-client-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}


/* ─── Timeline ──────────────────────────────────────── */

.timeline {
  position: relative;
  padding-left: 40px;
}

.tl-line {
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border), transparent);
}

.tl-item {
  position: relative;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -36px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tl-item:hover .tl-dot {
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-bg);
}

.tl-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 4px;
}

.tl-date {
  font-size: 0.78rem;
  color: var(--steel-2);
  font-weight: 500;
}

.tl-client-row,
.tl-employer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tl-client {
  font-family: var(--font-d);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.tl-employer {
  font-size: 0.78rem;
  color: var(--steel-2);
  font-weight: 400;
}

.tl-employer .mono { color: var(--steel-2); font-size: 1em; }

.tl-body {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rxl);
  padding: 28px 32px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.tl-item:hover .tl-body {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.tl-role {
  font-family: var(--font-d);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.tl-project {
  font-size: 0.88rem;
  color: var(--steel-2);
  margin-bottom: 18px;
  line-height: 1.5;
}

.tl-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.tl-bullets li {
  font-size: 0.94rem;
  color: var(--steel);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.tl-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--steel-2);
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.tl-tags span {
  font-family: var(--font-m);
  font-size: 0.7rem;
  padding: 3px 9px;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--pill);
  color: var(--steel-2);
  white-space: nowrap;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ─── Leadership Scope ──────────────────────────────── */

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rxl);
  padding: 28px 30px 24px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}

.lead-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.lead-card:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent-bg), var(--surface) 60%);
  border-color: var(--accent-mid);
}

.lead-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.lead-card:first-child .lead-card-head {
  border-bottom-color: var(--accent-mid);
}

.lead-num {
  font-family: var(--font-m);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lead-name {
  font-family: var(--font-d);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lead-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-bullets li {
  font-size: 0.92rem;
  color: var(--steel);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}

.lead-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 1px;
  background: var(--accent);
}

.lead-card:not(:first-child) .lead-bullets li::before {
  background: var(--steel-2);
}


/* ─── Skills (Bento — AI-Agentic spans 2) ──────────── */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.skill-cat.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--accent-bg), var(--surface) 70%);
  border-color: var(--accent-mid);
}

.skill-cat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rxl);
  padding: 24px 28px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}

.skill-cat:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.skill-cat.featured:hover {
  border-color: var(--accent-mid);
}

.skill-cat-title {
  font-family: var(--font-m);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel-2);
  margin-bottom: 16px;
}

.skill-cat.featured .skill-cat-title { color: var(--accent-deep); }

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-chips span {
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 11px;
  background: var(--surface-3);
  border: 1px solid var(--border-soft);
  border-radius: var(--pill);
  color: var(--steel);
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
  cursor: default;
}

.skill-chips span:hover {
  border-color: var(--border-2);
  color: var(--ink);
}

.skill-cat.featured .skill-chips span {
  background: var(--surface);
  border-color: var(--accent-mid);
  color: var(--accent-deep);
}

.skill-chips span.chip-accent {
  background: var(--accent-bg);
  border-color: var(--accent-mid);
  color: var(--accent-deep);
}

.skill-chips span.chip-amber {
  background: var(--amber-bg);
  border-color: var(--amber-mid);
  color: var(--amber);
}

.skill-chips span.chip-blue {
  background: var(--blue-bg);
  border-color: var(--blue-mid);
  color: var(--blue);
}


/* ─── Education ─────────────────────────────────────── */

.edu-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rxl);
  padding: 28px 32px;
  max-width: 680px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.edu-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}

.edu-info { flex: 1; }

.edu-degree {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.025em;
}

.edu-school {
  font-size: 0.9rem;
  color: var(--steel-2);
}

.edu-year {
  font-family: var(--font-m);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--slate);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}


/* ─── Contact ───────────────────────────────────────── */

.contact-section {
  padding-bottom: 96px;
}

.contact-wrap {
  background:
    radial-gradient(ellipse 70% 100% at 100% 0%, var(--accent-bg), transparent 65%),
    var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--rxxl);
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  box-shadow: var(--shadow);
}

.contact-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 14px 0 16px;
}

.contact-sub {
  font-size: 1rem;
  color: var(--steel-2);
  line-height: 1.6;
  max-width: 360px;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 38px;
}

.clink {
  display: grid;
  grid-template-columns: 84px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  color: var(--steel);
}

.clink:hover {
  background: var(--bg);
  border-color: var(--border-soft);
  color: var(--ink);
}

.clink-label {
  font-family: var(--font-m);
  font-size: 0.7rem;
  color: var(--steel-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clink-val {
  font-size: 0.95rem;
  font-weight: 500;
}

.clink-arrow {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.clink:hover .clink-arrow {
  opacity: 1;
  transform: translateX(3px);
}


/* ─── Footer ────────────────────────────────────────── */

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.footer-mono {
  font-size: 0.8rem;
  color: var(--steel-2);
}


/* ─── Scroll Reveal — Cascade ───────────────────────── */

.reveal, .about-item {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.in, .about-item.in {
  opacity: 1;
  transform: translateY(0);
}


/* ─── Responsive ────────────────────────────────────── */

@media (max-width: 1100px) {
  .domains-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-photo { display: none; }
  .hero-name { font-size: clamp(52px, 10vw, 80px); }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tl-meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-cat.featured { grid-column: span 2; }

  .lead-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-card:first-child { grid-column: span 2; }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 44px;
  }
  .contact-right { padding-top: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  .nav-links { display: none; }

  .hero-name { font-size: clamp(44px, 12vw, 64px); }
  .hero-stats { gap: 20px; }
  .hstat-n { font-size: 1.7rem; }

  .timeline { padding-left: 24px; }
  .tl-dot { left: -21px; }
  .tl-body { padding: 22px; border-radius: var(--rl); }

  .domains-grid,
  .skills-grid,
  .lead-grid { grid-template-columns: 1fr; }

  .skill-cat.featured,
  .lead-card:first-child { grid-column: span 1; }

  .contact-wrap { padding: 36px 24px; border-radius: var(--rxl); }
  .contact-title { font-size: 2rem; }

  .clink {
    grid-template-columns: 76px 1fr 18px;
    padding: 14px 14px;
  }

  .edu-card {
    padding: 22px 24px;
    gap: 18px;
    flex-wrap: wrap;
  }

  .ft1, .ft2 { display: none; }
}
