:root {
  --primary: #000000;
  --on-primary: #ffffff;
  --ink: #000000;
  --body-color: #5e5e5e;
  --mute: #afafaf;
  --hairline-mid: #4b4b4b;
  --canvas: #ffffff;
  --canvas-soft: #efefef;
  --canvas-softer: #f3f3f3;
  --surface-pressed: #e2e2e2;
  --on-dark: #ffffff;
  --black-elevated: #282828;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --sp-xxs: 4px;
  --sp-xs: 6px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 20px;
  --sp-2xl: 24px;
  --sp-3xl: 32px;

  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;
  --r-full: 9999px;

  --shadow-subtle: 0px 4px 16px rgba(0,0,0,0.12);
  --shadow-card: 0px 4px 16px rgba(0,0,0,0.16);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--primary); color: var(--on-primary); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; cursor: pointer; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3xl);
}

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--canvas-soft);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-subtle); border-bottom-color: transparent; }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: var(--ink);
  transition: color 0.2s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.2s ease;
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: var(--canvas);
  padding: var(--sp-3xl);
  flex-direction: column;
  gap: var(--sp-2xl);
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--ink);
}

/* ═══ SECTION ═══ */
.section {
  padding: 96px 0;
}
.section--dark {
  background: var(--primary);
  color: var(--on-dark);
}
.section__eyebrow {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--body-color);
  margin-bottom: var(--sp-lg);
}
.section--dark .section__eyebrow { color: var(--mute); }
.section__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 48px;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  border-radius: var(--r-pill);
  padding: var(--sp-md) var(--sp-xl);
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn--primary:hover { background: var(--black-elevated); }

.btn--subtle {
  background: var(--canvas-soft);
  color: var(--ink);
}
.btn--subtle:hover { background: var(--surface-pressed); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--surface-pressed);
}
.btn--outline:hover { background: var(--canvas-soft); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--on-dark {
  background: var(--on-dark);
  color: var(--ink);
}
.btn--on-dark:hover { background: var(--canvas-soft); }

.btn--ghost-dark {
  background: var(--black-elevated);
  color: var(--on-dark);
}
.btn--ghost-dark:hover { background: var(--hairline-mid); }

.btn--sm {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  padding: var(--sp-sm) var(--sp-lg);
}

/* ═══ CHIPS ═══ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--canvas-soft);
  color: var(--ink);
  white-space: nowrap;
}
.chip img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: brightness(0);
}
.chip--dark {
  background: var(--black-elevated);
  color: var(--on-dark);
}
.chip--dark img {
  filter: brightness(0) invert(1);
}

/* ═══ CARDS ═══ */
.card {
  background: var(--canvas);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  color: var(--ink);
}
.card--soft {
  background: var(--canvas-soft);
}
.card--elevated {
  box-shadow: var(--shadow-subtle);
}

/* ═══ HERO ═══ */
.hero {
  padding-top: 160px;
  padding-bottom: 96px;
}
.hero__eyebrow {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body-color);
  margin-bottom: var(--sp-2xl);
}
.hero__name {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 64px;
  color: var(--ink);
  margin-bottom: var(--sp-2xl);
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: var(--sp-2xl);
}
.hero__bio {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--body-color);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

/* ═══ EXPERIENCE ═══ */
.exp-list { display: flex; flex-direction: column; }

.exp-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-3xl);
  padding: 40px 0;
  border-bottom: 1px solid var(--surface-pressed);
}
.exp-entry:first-child { padding-top: 0; }
.exp-entry:last-child { border-bottom: none; }

.exp-date {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body-color);
  padding-top: 4px;
}
.exp-date .exp-type {
  display: block;
  margin-top: var(--sp-xs);
  font-size: 12px;
  font-weight: 400;
  color: var(--mute);
}

.exp-role {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: var(--sp-xs);
}
.exp-company {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body-color);
  margin-bottom: var(--sp-lg);
}
.exp-bullets {
  margin-bottom: var(--sp-xl);
}
.exp-bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 24px;
  color: var(--body-color);
  margin-bottom: var(--sp-sm);
}
.exp-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--mute);
}
.exp-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

/* ═══ PROJECTS ═══ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
}
.project-card {
  border-radius: var(--r-xl);
  background: var(--canvas);
  color: var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.project-img {
  aspect-ratio: 4 / 3;
  background: var(--canvas-soft);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.project-img__placeholder {
  color: var(--mute);
}
.project-img__placeholder svg { width: 48px; height: 48px; }

.project-badge {
  position: absolute;
  top: var(--sp-lg);
  left: var(--sp-lg);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  padding: var(--sp-xxs) var(--sp-md);
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-primary);
}

.project-body {
  padding: var(--sp-2xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: var(--sp-sm);
}
.project-desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--body-color);
  margin-bottom: var(--sp-xl);
  flex: 1;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-xl);
}
.project-tech .chip {
  font-size: 12px;
  padding: 4px 10px;
}
.project-tech .chip img { width: 14px; height: 14px; }
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: auto;
}

/* ═══ EDUCATION ═══ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
}
.edu-card {
  background: var(--canvas-soft);
  border-radius: var(--r-xl);
  padding: var(--sp-3xl);
}
.edu-card__degree {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: var(--sp-sm);
}
.edu-card__school {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: var(--body-color);
  margin-bottom: var(--sp-xxs);
}
.edu-card__meta {
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
  margin-bottom: var(--sp-xl);
}
.edu-card__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  margin-bottom: var(--sp-sm);
  margin-top: var(--sp-xl);
}
.edu-card__label:first-of-type { margin-top: 0; }
.edu-card__text {
  font-size: 15px;
  line-height: 24px;
  color: var(--body-color);
}
.edu-card__text li {
  position: relative;
  padding-left: 16px;
  margin-bottom: var(--sp-xxs);
}
.edu-card__text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--mute);
}
.edu-cgpa {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.edu-cgpa__value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}
.edu-cgpa__label {
  font-size: 14px;
  color: var(--mute);
}

/* ═══ CERTIFICATIONS ═══ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
}
.cert-card {
  border: 1px solid var(--surface-pressed);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  display: flex;
  flex-direction: column;
}
.cert-card__issuer {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.cert-card__issuer img {
  width: 24px;
  height: 24px;
  filter: brightness(0);
}
.cert-card__issuer-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: var(--body-color);
}
.cert-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: var(--sp-md);
  flex: 1;
}
.cert-card__detail {
  font-size: 14px;
  line-height: 20px;
  color: var(--mute);
}

/* ═══ SKILLS ═══ */
.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.skills-cat__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: var(--sp-xl);
}
.skills-cat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
.skills-cat__chips .chip {
  font-size: 14px;
  padding: var(--sp-sm) var(--sp-lg);
}
.skills-cat__chips .chip img { width: 20px; height: 20px; }

/* ═══ ARTICLES ═══ */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  max-width: 720px;
}
.article-card {
  display: block;
  background: var(--primary);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.article-card__body {
  padding: var(--sp-3xl);
}
.article-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--on-dark);
  margin-bottom: var(--sp-lg);
}
.article-card__summary {
  font-size: 15px;
  line-height: 24px;
  color: var(--mute);
  margin-bottom: var(--sp-xl);
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 13px;
  line-height: 16px;
  color: var(--hairline-mid);
  margin-bottom: var(--sp-lg);
}
.article-card__dot { color: var(--hairline-mid); }
.article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.article-card__tags .chip {
  background: var(--black-elevated);
  color: var(--on-dark);
  font-size: 12px;
  padding: 4px 10px;
}
.article-card__cta {
  display: inline-flex;
}

/* ═══ ARTICLE PAGE ═══ */
.article-page {
  padding-top: 120px;
  padding-bottom: 96px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: var(--body-color);
  margin-bottom: var(--sp-3xl);
  transition: color 0.2s ease;
}
.article-back:hover { color: var(--ink); }
.article-back svg { width: 16px; height: 16px; }
.article-page .container {
  max-width: 860px;
}
.article-header {
  max-width: 860px;
  margin-bottom: 48px;
}
.article-header__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  margin-bottom: var(--sp-xl);
}
.article-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  font-size: 14px;
  line-height: 20px;
  color: var(--body-color);
  margin-bottom: var(--sp-lg);
}
.article-header__meta .chip {
  font-size: 12px;
  padding: 4px 10px;
}
.article-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.article-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-color);
  margin-bottom: 1.5rem;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-content ul {
  margin-bottom: 1.5rem;
  padding-left: 0;
}
.article-content li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--body-color);
  margin-bottom: var(--sp-sm);
}
.article-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--mute);
}

@media (max-width: 768px) {
  .article-header__title { font-size: 28px; line-height: 36px; }
  .article-page { padding-top: 96px; }
  .article-content p,
  .article-content li { font-size: 16px; }
}

/* ═══ CONTACT ═══ */
.contact-inner {
  max-width: 640px;
}
.contact-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--mute);
  margin-bottom: 48px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--on-dark);
  transition: opacity 0.2s ease;
}
.contact-row:hover { opacity: 0.7; }
.contact-row svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.6;
}
.contact-row span { color: var(--mute); margin-left: var(--sp-sm); font-size: 14px; }

/* ═══ FOOTER ═══ */
.footer {
  padding: var(--sp-3xl) 0;
  border-top: 1px solid var(--black-elevated);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-size: 14px;
  line-height: 20px;
  color: var(--hairline-mid);
}
.footer__social {
  display: flex;
  gap: var(--sp-lg);
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--black-elevated);
  color: var(--on-dark);
  transition: background 0.2s ease;
}
.footer__social a:hover { background: var(--hairline-mid); }
.footer__social svg { width: 18px; height: 18px; }

/* ═══ PROJECT MODAL ═══ */
.project-card { cursor: pointer; }
.project-details { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: var(--canvas);
  color: var(--ink);
  border-radius: var(--r-xl);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--sp-3xl);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: var(--sp-lg);
  right: var(--sp-lg);
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--canvas-soft);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.modal__close:hover { background: var(--surface-pressed); }

.modal__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  padding: var(--sp-xxs) var(--sp-md);
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-primary);
  margin-bottom: var(--sp-lg);
  margin-right: 48px;
}
.modal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  margin-bottom: var(--sp-md);
}
.modal__desc {
  font-size: 15px;
  line-height: 24px;
  color: var(--body-color);
  margin-bottom: var(--sp-xl);
}
.modal__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute);
  margin-bottom: var(--sp-sm);
}
.modal__features {
  margin-bottom: var(--sp-xl);
}
.modal__features li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 24px;
  color: var(--body-color);
  margin-bottom: var(--sp-sm);
}
.modal__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: var(--r-full);
  background: var(--mute);
}
.modal__tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-xl);
}
.modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

@media (max-width: 768px) {
  .modal {
    padding: var(--sp-2xl);
    max-height: 88vh;
  }
  .modal__title { font-size: 24px; line-height: 32px; }
}

/* ═══ ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero__name { font-size: 44px; line-height: 52px; }
  .section__title { font-size: 32px; line-height: 40px; }
  .exp-entry { grid-template-columns: 160px 1fr; gap: var(--sp-2xl); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-lg); }
  .section { padding: 64px 0; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding-top: 120px; padding-bottom: 64px; }
  .hero__name { font-size: 36px; line-height: 44px; }
  .hero__tagline { font-size: 20px; line-height: 28px; }
  .hero__bio { font-size: 16px; line-height: 26px; }

  .exp-entry {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
    padding: 32px 0;
  }

  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; gap: var(--sp-xl); text-align: center; }

  .section__title { font-size: 28px; line-height: 36px; margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .hero__name { font-size: 32px; line-height: 40px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
}
