/* ===== Tokens ===== */
:root {
  --bg: #051a10;
  --bg-alt: #072116;
  --surface: #0d2b1d;
  --surface-2: #123423;
  --border: rgba(140, 233, 160, 0.12);
  --text: #eafbf1;
  --text-dim: #a9c9b6;
  --text-faint: #6f9280;
  --primary: #4fb85e;
  --primary-2: #8ce9a0;
  --accent: #084829;
  --gradient: linear-gradient(120deg, var(--accent), var(--primary) 55%, var(--primary-2));
  --shadow-glow: 0 0 0 1px rgba(79, 184, 94, 0.18), 0 20px 60px -20px rgba(79, 184, 94, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --ff-display: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Cursor glow (desktop only, decorative) ===== */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 184, 94,0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity .3s;
}
@media (max-width: 900px) { .cursor-glow { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn--primary {
  background: var(--gradient);
  color: #06070d;
  box-shadow: 0 12px 30px -10px rgba(79, 184, 94, 0.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px rgba(79, 184, 94, 0.75); }
.btn--ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.btn--small { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; margin-top: 8px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(5, 26, 16, 0.75);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.logo span { color: var(--primary-2); }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 32px;
}
.nav__link {
  font-size: 0.92rem;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient);
  transition: width .25s ease;
}
.nav__link:hover, .nav__link.active { color: var(--text); }
.nav__link.active::after, .nav__link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transition: right .35s ease;
    margin: 0;
  }
  .nav.open { right: 0; }
  .nav__link { font-size: 1.1rem; }
  .nav__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.blob--1 {
  width: 480px; height: 480px;
  background: var(--primary);
  top: -120px; right: -100px;
  animation: float1 14s ease-in-out infinite;
}
.blob--2 {
  width: 380px; height: 380px;
  background: var(--primary-2);
  bottom: -140px; left: -80px;
  animation: float2 16s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 0.85rem;
  color: var(--primary-2);
  background: rgba(140, 233, 160, 0.08);
  border: 1px solid rgba(140, 233, 160, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.dot-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 0 rgba(140, 233, 160,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(140, 233, 160,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(140, 233, 160,0); }
  100% { box-shadow: 0 0 0 0 rgba(140, 233, 160,0); }
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}
.stat__label { font-size: 0.82rem; color: var(--text-faint); max-width: 130px; }

/* Code window */
.hero__visual { position: relative; }
.code-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.code-window:hover { transform: perspective(1000px) rotateY(-2deg) rotateX(0deg); }
.code-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--red { background: #ff5f56; }
.dot--yellow { background: #ffbd2e; }
.dot--green { background: #27c93f; }
.code-window__title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-faint);
  font-family: var(--ff-display);
}
.code-window__body {
  padding: 26px 22px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 0.86rem;
  overflow-x: auto;
}
.code-window__body pre { white-space: pre; }

.c-key { color: #c792ea; }
.c-var { color: #82aaff; }
.c-prop { color: #80cbc4; }
.c-str { color: #c3e88d; }
.c-fn { color: #82aaff; }
.c-comment { color: var(--text-faint); font-style: italic; }

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 0.8rem;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.5);
  animation: bob 5s ease-in-out infinite;
}
.floating-badge i { color: var(--primary-2); }
.floating-badge--1 { top: -18px; left: 10px; animation-delay: 0s; }
.floating-badge--2 { bottom: 40px; right: -20px; animation-delay: 1.2s; }
.floating-badge--3 { bottom: -20px; left: 60px; animation-delay: 2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border);
  border-radius: 20px;
  z-index: 2;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--primary-2);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== Sections (generic) ===== */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-eyebrow {
  font-family: var(--ff-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-text { color: var(--text-dim); font-size: 1.02rem; }
.center { text-align: center; }
.max-w { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about__visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.avatar-card {
  position: relative;
  width: 280px; height: 280px;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avatar-card__ring {
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, var(--primary), var(--primary-2), var(--accent), var(--primary));
  border-radius: 32px;
  opacity: 0.5;
  animation: spin 8s linear infinite;
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), black calc(100% - 3px));
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-card__logo {
  position: relative;
  width: 42%;
  z-index: 1;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}
.about__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.6);
  max-width: 230px;
}
.about__card i { color: var(--primary-2); font-size: 1.2rem; }
.about__card strong { display: block; font-size: 0.86rem; }
.about__card span { font-size: 0.76rem; color: var(--text-faint); }
.about__card--1 { top: -10px; right: -10px; }
.about__card--2 { bottom: -10px; left: -30px; }

.section-text + .section-text { margin-top: 16px; }
.about__list { display: grid; gap: 12px; margin: 26px 0 32px; }
.about__list-item { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--text-dim); }
.about__list-item i {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(79, 184, 94,0.15);
  color: var(--primary-2);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== Skills ===== */
.skills-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 184, 94,0.4);
  box-shadow: var(--shadow-glow);
}
.skill-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79, 184, 94,0.18), rgba(140, 233, 160,0.14));
  color: var(--primary-2);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.skill-card h3 { font-family: var(--ff-display); font-size: 1.08rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Projects ===== */
.projects-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(79, 184, 94,0.35); }
.project-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.project-card__media {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.project-card__media--optica { background: linear-gradient(135deg, #084829, #0f7a45); }
.project-card__media--game { background: linear-gradient(135deg, #1a6b3a, #4fb85e); height: 160px; }
.project-card__media--server { background: linear-gradient(135deg, #0d3d24, #2f9e52); height: 160px; }
.project-card__media--page { background: linear-gradient(135deg, #084829, #4fb85e); height: 160px; }
.project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.project-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 55%);
  z-index: 0;
  pointer-events: none;
}
.project-card__tag {
  position: relative;
  z-index: 1;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
}
.project-card__body { padding: 26px; }
.project-card__body h3 { font-family: var(--ff-display); font-size: 1.2rem; margin-bottom: 10px; }
.project-card__body p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 16px; }

/* ===== Scroll stage (3D scroll-linked reveal) ===== */
.scroll-stage {
  position: relative;
  height: 60rem;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
@media (min-width: 769px) {
  .scroll-stage { height: 80rem; }
}
.scroll-stage__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.scroll-stage__header {
  max-width: 700px;
  margin: 0 auto;
  will-change: transform;
}
.scroll-stage__card {
  width: 100%;
  max-width: 1040px;
  margin: -48px auto 0;
  border: 4px solid rgba(140, 233, 160, 0.3);
  border-radius: 30px;
  padding: 10px;
  background: #1b2b21;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042,
    0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
  transform-style: preserve-3d;
  will-change: transform;
}
.scroll-stage__card-inner {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 48px 24px 8px;
  overflow: hidden;
}
.scroll-stage__card-inner .timeline { margin-top: 0; }

/* ===== Timeline ===== */
.timeline {
  margin-top: 56px;
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  border-left: 2px solid var(--border);
}
.timeline__item { position: relative; padding-bottom: 40px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -41px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--primary);
}
.timeline__dot--edu { border-color: var(--primary-2); }
.timeline__date {
  font-family: var(--ff-display);
  font-size: 0.8rem;
  color: var(--primary-2);
  font-weight: 600;
}
.timeline__content h3 { margin: 8px 0 8px; font-size: 1.08rem; }
.timeline__content h3 i { color: var(--primary-2); margin-right: 6px; }
.timeline__content p { color: var(--text-dim); font-size: 0.92rem; }

/* ===== Contact ===== */
.contact__box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact__box::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--gradient);
  opacity: 0.12;
  filter: blur(100px);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.contact-grid {
  position: relative;
  margin: 44px auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 780px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: transform .25s ease, border-color .25s ease;
}
.contact-item:not(.contact-item--static):hover { transform: translateY(-4px); border-color: rgba(79, 184, 94,0.4); }
.contact-item__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 184, 94,0.15);
  color: var(--primary-2);
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.88rem; }
.contact-item span { font-size: 0.78rem; color: var(--text-faint); word-break: break-all; }

.contact-socials {
  position: relative;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact-socials > span { font-size: 0.82rem; color: var(--text-faint); }
.contact-socials__links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.contact-socials__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-family: var(--ff-display);
  font-size: 0.85rem;
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
.contact-socials__links a i { color: var(--primary-2); }
.contact-socials__links a:hover { transform: translateY(-3px); border-color: rgba(79, 184, 94,0.4); }

/* ===== Footer ===== */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer__socials { display: flex; gap: 14px; }
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color .2s, border-color .2s, transform .2s;
}
.footer__socials a:hover { color: var(--primary-2); border-color: var(--primary-2); transform: translateY(-3px); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #06070d;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(79, 184, 94,0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .about__visual { margin-bottom: 40px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 120px; }
  .skills-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .about__card { position: static; margin-top: 16px; max-width: 100%; }
  .about__visual { flex-direction: column; }
  .contact__box { padding: 46px 22px; }
}
