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

:root {
  --bg: #FAFAFA;
  --bg-card: #FFFFFF;
  --text: #111111;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #E0E0E0;
  --border-light: #F0F0F0;
  --accent: #333333;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text);
  animation: loader-slide 1s var(--ease-in-out) infinite;
}

@keyframes loader-slide {
  0% {
    left: -100%;
  }

  50% {
    left: 0;
  }

  100% {
    left: 100%;
  }
}

.loader-text {
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.1s linear;
  display: none;
}

@media (hover: hover) {
  .cursor-glow {
    display: block;
  }
}

/* ===== MOTION BACKGROUND ===== */
.motion-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.motion-circle {
  position: absolute;
  opacity: 0.5;
}

.motion-circle-1 {
  width: 200px;
  top: 10%;
  right: -50px;
  animation: float-rotate 30s linear infinite;
}

.motion-circle-2 {
  width: 300px;
  bottom: 5%;
  left: -80px;
  animation: float-rotate 45s linear infinite reverse;
}

.motion-line-1 {
  position: absolute;
  width: 2px;
  height: 400px;
  top: 20%;
  right: 15%;
  animation: float-y 20s ease-in-out infinite;
}

.motion-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

.motion-dot-1 {
  top: 30%;
  left: 10%;
  animation: float-y 8s ease-in-out infinite;
}

.motion-dot-2 {
  top: 60%;
  right: 20%;
  animation: float-y 12s ease-in-out infinite 2s;
}

.motion-dot-3 {
  top: 80%;
  left: 40%;
  animation: float-y 10s ease-in-out infinite 4s;
}

@keyframes float-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes float-y {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}

.nav.scrolled {
  padding: 14px 32px;
  border-bottom-color: var(--border-light);
}

.nav-logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 100px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-role-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-role-line {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.hero-role {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  min-height: 1.5em;
}

.typewriter-cursor {
  font-weight: 300;
  animation: blink 0.8s step-end infinite;
  color: var(--text-muted);
  margin-left: 1px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-scroll-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.hero-scroll-btn:hover {
  color: var(--text);
}

.scroll-dot {
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    cy: 8;
  }

  50% {
    cy: 16;
  }
}

.hero-decoration {
  position: absolute;
  width: 400px;
  height: 400px;
  right: -50px;
  bottom: -50px;
  opacity: 0.4;
  z-index: 1;
}

.draw-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 3s var(--ease-out) forwards;
}

.draw-line.delay-1 {
  animation-delay: 0.5s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.section-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.section-title-small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 56px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-display);
}

.stat-suffix {
  font-size: 24px;
  font-weight: 300;
  color: var(--text-secondary);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

.about-image-frame {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.about-image-placeholder svg {
  width: 80px;
  opacity: 0.5;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== JOURNEY / TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 56px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  background: var(--bg);
  transition: background 0.3s, border-color 0.3s;
}

.timeline-item:hover .timeline-dot {
  background: var(--text);
  border-color: var(--text);
}

.timeline-year {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

/* ===== INTERESTS ===== */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.interest-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.interest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.interest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--accent);
}

.interest-card:hover::before {
  transform: scaleX(1);
}

.interest-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--text);
  stroke-width: 1.5;
  fill: none;
}

.interest-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}

.project-card-image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border-light);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.project-card-body {
  padding: 24px;
}

.project-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.project-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-status.live {
  background: #e8f5e9;
  color: #2e7d32;
}

.project-status.wip {
  background: #fff3e0;
  color: #e65100;
}

.project-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.project-feature-tag {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border: 1px solid var(--text);
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.project-link:hover {
  background: var(--text);
  color: var(--bg);
}

.project-link svg {
  width: 14px;
  height: 14px;
}

.projects-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

.projects-empty p {
  font-size: 16px;
  margin-top: 16px;
  color: var(--text-secondary);
}

.projects-empty span {
  font-size: 13px;
  display: block;
  margin-top: 6px;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
}

.blog-empty p {
  font-size: 16px;
  margin-top: 16px;
  color: var(--text-secondary);
}

.blog-empty span {
  font-size: 13px;
  display: block;
  margin-top: 6px;
}

/* ===== BLOG MODAL ===== */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.blog-modal.open {
  opacity: 1;
  visibility: visible;
}

.blog-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.blog-modal-content {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.blog-modal.open .blog-modal-content {
  transform: translateY(0) scale(1);
}

.blog-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  transition: background 0.2s;
  border: 1px solid var(--border);
}

.blog-modal-close:hover {
  background: var(--border-light);
}

.blog-modal-image-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-modal-body {
  padding: 36px;
}

.blog-modal-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.blog-modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
}

.blog-modal-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  white-space: pre-wrap;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding-bottom: 40px;
}

.footer .section-label {
  justify-content: center;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.contact-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--border-light);
}

.contact-card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  stroke-width: 1.5;
  fill: none;
}

.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-card-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

.contact-card-value a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}

.contact-card-value a:hover {
  border-color: var(--text);
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 40px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.social-link:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children */
.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal-text:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-text:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-text:nth-child(3) {
  transition-delay: 0.35s;
}

.reveal-text:nth-child(4) {
  transition-delay: 0.5s;
}

/* Stagger interest cards */
.interest-card.reveal-up:nth-child(1) {
  transition-delay: 0s;
}

.interest-card.reveal-up:nth-child(2) {
  transition-delay: 0.08s;
}

.interest-card.reveal-up:nth-child(3) {
  transition-delay: 0.16s;
}

.interest-card.reveal-up:nth-child(4) {
  transition-delay: 0.24s;
}

.interest-card.reveal-up:nth-child(5) {
  transition-delay: 0.32s;
}

.interest-card.reveal-up:nth-child(6) {
  transition-delay: 0.40s;
}

/* Stagger timeline items */
.timeline-item.reveal-up:nth-child(1) {
  transition-delay: 0s;
}

.timeline-item.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}

.timeline-item.reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}

.timeline-item.reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}

.timeline-item.reveal-up:nth-child(5) {
  transition-delay: 0.4s;
}

/* Stagger blog cards */
.blog-card.reveal-up:nth-child(1) {
  transition-delay: 0s;
}

.blog-card.reveal-up:nth-child(2) {
  transition-delay: 0.1s;
}

.blog-card.reveal-up:nth-child(3) {
  transition-delay: 0.2s;
}

.blog-card.reveal-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    border-left: 1px solid var(--border-light);
    transition: right 0.4s var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .nav-link {
    font-size: 15px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-name {
    font-size: clamp(40px, 12vw, 64px);
  }

  .hero-decoration {
    width: 250px;
    right: -80px;
    bottom: -80px;
  }

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

  .about-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-stats {
    gap: 32px;
  }

  .interests-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .blog-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .blog-modal-body {
    padding: 24px;
  }

  .footer-socials {
    gap: 12px;
  }

  .social-link {
    padding: 10px 18px;
    font-size: 12px;
  }

  .motion-circle-1 {
    width: 120px;
  }

  .motion-circle-2 {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    padding: 28px 22px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .hero-tagline {
    font-size: 14px;
  }

  .blog-modal-title {
    font-size: 22px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}