@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap);
/* ── TOKENS ── */
:root {
  --bg-hero: #0a0a0a;
  --bg-body: #fafafa;
  --bg-alt: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #a3a3a3;
  --text-hero: #f5f5f7;
  --text-hero-muted: #8d8d95;
  --border: #e5e5ea;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 980px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: navSlideDown 0.6s var(--ease) both;
}

.nav.sticky { position: fixed; }

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hero);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(245, 245, 247, 0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.1px;
  transition: color 0.2s;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(245, 245, 247, 0.7);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 80px 32px 32px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  list-style: none;
}

.nav-drawer.open { display: flex; }

.nav-drawer li a {
  display: block;
  color: rgba(245, 245, 247, 0.8);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.nav-drawer li:last-child a { border-bottom: none; }
.nav-drawer li a:hover { color: var(--text-hero); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--bg-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(assets/background2.d2a0c02f86d000db97e8.webp);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(40%);
  animation: bgFade 1.2s var(--ease) 0.2s both;
}

#hero-sentinel {
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-hero-muted);
  animation: heroUp 0.7s var(--ease) 0.3s both;
}

.hero-name {
  font-size: clamp(56px, 9vw, 96px);
  font-weight: 700;
  color: var(--text-hero);
  letter-spacing: -3px;
  line-height: 1;
  animation: heroUp 0.9s var(--ease) 0.45s both;
}

.hero-tagline {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  color: var(--text-hero-muted);
  max-width: 520px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  animation: heroUp 0.8s var(--ease) 0.65s both;
}

.hero-cta {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: heroUp 0.8s var(--ease) 0.85s both;
}

.btn-primary {
  background: var(--text-hero);
  color: var(--bg-hero);
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  letter-spacing: -0.2px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s var(--ease), background 0.2s;
}

.btn-primary:hover { transform: scale(1.03); background: #fff; }

.btn-ghost {
  background: transparent;
  color: rgba(245, 245, 247, 0.6);
  border: 1px solid rgba(245, 245, 247, 0.18);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 400;
  font-family: var(--font);
  cursor: pointer;
  letter-spacing: -0.2px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: rgba(245, 245, 247, 0.9);
  border-color: rgba(245, 245, 247, 0.4);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-hero);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── BODY ── */
.body-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 96px;
}

.intro-section {
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.intro-text {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.65;
  letter-spacing: -0.3px;
  text-align: center;
}

.content-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.7px;
  margin-bottom: 32px;
  line-height: 1.2;
}

/* ── VIDEO ── */
.video-wrapper {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  pointer-events: none;
  user-select: none;
}

.play-icon {
  width: 56px;
  height: 56px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-body);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.video-wrapper:hover .play-icon { transform: scale(1.08); background: #333; }

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── PATENTS ── */
.patent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.patent-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.patent-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.patent-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.patent-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.patent-year {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 10px;
  font-weight: 500;
}

/* ── EXPERIENCE ── */
.exp-list { list-style: none; }

.exp-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.exp-item:last-child { border-bottom: none; }
.exp-item:hover { background: rgba(0, 0, 0, 0.02); }

.exp-company {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.exp-role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.exp-years {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  margin-left: 16px;
  font-variant-numeric: tabular-nums;
}

/* ── EDUCATION ── */
.edu-list { list-style: none; }

.edu-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.edu-item:last-child { border-bottom: none; }

.edu-school {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.edu-degree {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.edu-badge {
  display: inline-block;
  background: #f0f0f8;
  border: 1px solid #dcdcef;
  color: #6060a0;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── SKILLS ── */
.skills-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
    transform 0.15s var(--ease);
  cursor: default;
}

.skill-tag:hover {
  background: var(--text-primary);
  color: var(--text-hero);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

/* ── QUOTE ── */
.quote-section {
  padding: 64px 0;
  text-align: center;
}

.quote-text {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.55;
  letter-spacing: -0.4px;
  font-style: italic;
  max-width: 560px;
  margin: 0 auto 16px;
}

.quote-attr {
  font-size: 12px;
  color: var(--text-tertiary);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-hero);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 12px; color: #4a4a4f; }

.footer-link {
  font-size: 12px;
  color: #4a4a4f;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text-hero-muted); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay:   0ms; }
.stagger.visible > *:nth-child(2) { transition-delay:  60ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 120ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 180ms; }
.stagger.visible > *:nth-child(5) { transition-delay: 240ms; }
.stagger.visible > *:nth-child(6) { transition-delay: 300ms; }
.stagger.visible > *:nth-child(7) { transition-delay: 360ms; }

/* ── KEYFRAMES ── */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bgFade {
  from { opacity: 0; }
  to   { opacity: 0.12; }
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .nav { padding: 16px 32px; }
  .nav-links { gap: 20px; }
  .body-content { max-width: 600px; padding: 64px 28px 80px; }
  .intro-text { font-size: 17px; }
}

@media (max-width: 767px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 80px 20px 64px; min-height: 100svh; }
  .hero::before { background-image: url(assets/background1.21bba75d78e8fbf5aaeb.webp); }
  .hero-name { letter-spacing: -1.5px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-primary,
  .btn-ghost { width: 100%; text-align: center; padding: 13px 24px; }

  .body-content { padding: 48px 20px 64px; }
  .intro-text { font-size: 14px; text-align: left; }
  .intro-section { padding-bottom: 48px; }

  .content-section { padding: 48px 0; }
  .section-title { font-size: 22px; }

  .exp-item { flex-direction: column; gap: 2px; }
  .exp-years { margin-left: 0; margin-top: 4px; }

  .site-footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 28px 20px;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }
  .hero::before { opacity: 0.12; }
}

