@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

:root {
  --bg: #0b1220;
  --bg-soft: #111a2d;
  --card: rgba(255, 255, 255, 0.06);
  --text: #eff4ff;
  --muted: #aebbd3;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9cc3ff;
  --accent-strong: #ffffff;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #09111f 0%, #0f1728 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(9, 17, 31, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 800;
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Typography */
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.1;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 0;
}

.lead {
  font-size: 1.1rem;
  max-width: 65ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3873cc;
  color: #000000;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-sm {
  padding: 0.7rem 1rem;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badges span,
.tags span {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  display: inline-flex;
  align-items: center;
}

.hero-card,
.card,
.profile-card,
.skill-box,
.contact-card,
.legal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.stat-card,
.quote-card {
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.stat-label {
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

.section-head {
  margin-bottom: 2rem;
}

/* Cards */
.cards.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 800;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* About */
.profile-card {
  padding: 1.5rem;
}

.check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 0.65rem;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.skill-box {
  padding: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 18px 18px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
}

.timeline-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Contact */
.contact-card {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.contact-card a {
  color: var(--text);
  font-weight: 600;
}

.copy-feedback {
  min-height: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  justify-content: center;
  flex: 1;
}

.footer-row p,
.footer-row > a {
  flex: 1;
  margin: 0;
}

.footer-row p {
  text-align: left;
}

.footer-row > a {
  text-align: right;
}

/* Legal */
.legal-page {
  padding: 6rem 0;
}

.legal-box {
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem;
}

/* Simple reveal fallback */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}
/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .cards.grid-3,
  .skills-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    gap: 0.5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: rgba(9, 17, 31, 0.97);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .footer-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-row p,
  .footer-row > a,
  .footer-links {
    flex: unset;
    text-align: center;
    justify-content: center;
  }
}