:root {
  --ink: #171717;
  --ink-soft: #57534e;
  --ink-faint: #78716c;
  --muted: #a3a39c;
  --line: #e5e5e1;
  --tint: #fafaf9;
  --accent: #2563eb;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow { max-width: 800px; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-weight: 700;
  font-size: 17px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

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

/* Hero */

.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.eyebrow-inverse { color: #93c5fd; }

h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 760px;
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 28px;
}

.lede-inverse { color: #d6d3d1; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions-center { justify-content: center; }

.stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

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

.stat-num {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-faint);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-primary { background: var(--ink); color: #ffffff; }
.btn-primary:hover { opacity: 0.85; }

.btn-outline { border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }

.btn-light { background: #ffffff; color: var(--ink); }
.btn-light:hover { opacity: 0.9; }

.btn-ghost { border: 1px solid #44403c; color: #ffffff; }
.btn-ghost:hover { border-color: #78716c; }

.btn-disabled { opacity: 0.45; cursor: default; }

/* Sections */

.section { padding: 88px 0; }
.section-tint { background: var(--tint); }

h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.section-sub {
  color: var(--ink-faint);
  font-size: 15px;
  margin: 0 0 32px;
}

.section > .wrap > h2:last-of-type,
.section > .wrap > .section-sub {
  margin-top: 0;
}

#experience h2,
#video h2,
#about h2 { margin-bottom: 8px; }

#experience .grid,
#video .grid { margin-top: 36px; }

/* Cards / grid */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 6px;
}

.card h3 {
  font-size: 17px;
  margin: 0;
}

.card .video-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.card .meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.card .desc {
  font-size: 14px;
  color: var(--ink-faint);
  margin: 0;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 4px;
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--ink-soft);
}

.sub-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 0;
}

.thumb-row {
  display: flex;
  gap: 10px;
}

.thumb-row img {
  width: 33%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.link:hover { text-decoration: underline; }

.lead-desc {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.edu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
}

.edu-school { font-weight: 600; color: var(--ink); }
.edu-degree { color: var(--ink-faint); }

/* Contact */

.contact {
  background: var(--ink);
  color: #ffffff;
  text-align: center;
}

.contact h2 { color: #ffffff; }

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}

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

/* Responsive */

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 13px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .stats { gap: 28px; }
}

@media (max-width: 520px) {
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) { display: none; }
  .thumb-row { flex-direction: column; }
  .thumb-row img { width: 100%; }
}
