/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
  --bg:         #080810;
  --surface:    #13131f;
  --surface-2:  #1a1a2e;
  --accent:     #8b5cf6;
  --glow:       #c4b5fd;
  --muted:      #9994b8;
  --text:       #eee8f5;
  --white:      #ffffff;

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

  --ease-out: cubic-bezier(.25, .46, .45, .94);
  --radius:   12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --nav-h: 60px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════════
   FLOATING ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes float-mid {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float-fast {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(30px, -20px); }
  50%      { transform: translate(-15px, -35px); }
  75%      { transform: translate(-25px, 10px); }
}
@keyframes drift-alt {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-20px, 15px); }
  50%      { transform: translate(25px, 30px); }
  75%      { transform: translate(10px, -20px); }
}
@keyframes scroll-line-pulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.float--slow { animation: float-slow 10s var(--ease-out) infinite; }
.float--mid  { animation: float-mid  8s  var(--ease-out) infinite; }
.float--fast { animation: float-fast 6s  var(--ease-out) infinite; }

/* ═══════════════════════════════════════════
   PANEL SYSTEM
   ═══════════════════════════════════════════ */
.panel {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
}
.panel.active {
  display: block;
  animation: fadeIn .45s var(--ease-out);
}

.panel__inner {
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.panel__inner--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: rgba(8, 8, 16, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, .08);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nav__links {
  display: none;
  gap: 8px;
}

.nav__link {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color .25s, background .25s;
  letter-spacing: .3px;
}
.nav__link:hover { color: var(--white); }
.nav__link.active {
  color: var(--white);
  background: rgba(139, 92, 246, .15);
}

/* burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all .3s;
}
.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(8, 8, 16, .95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .4s;
  border-bottom: 1px solid rgba(139, 92, 246, .08);
}
.nav__mobile.open {
  max-height: 350px;
  padding: 16px 0;
}
.nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  padding: 14px 24px;
  width: 100%;
  text-align: center;
  transition: color .25s, background .25s;
  border-radius: 0;
}
.nav__mobile-link:hover { color: var(--white); background: rgba(139, 92, 246, .06); }
.nav__mobile-link.active {
  color: var(--white);
  background: rgba(139, 92, 246, .12);
}

/* ═══════════════════════════════════════════
   HERO (Home panel)
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: .3;
}
.hero__orb--1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -10%;
  right: -15%;
  animation: drift 20s ease-in-out infinite;
}
.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  bottom: 5%;
  left: -12%;
  animation: drift-alt 24s ease-in-out infinite;
}

.hero__content { text-align: center; z-index: 1; }

.hero__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--glow);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(139, 92, 246, .15);
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero__name  { display: block; }
.hero__accent {
  display: block;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(139, 92, 246, .3);
}

.hero__subtitle {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero__dot { color: var(--accent); margin: 0 6px; }

.hero__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--white);
  background: var(--accent);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  letter-spacing: .3px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 25px rgba(139, 92, 246, .35);
  cursor: pointer;
}
.hero__cta:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 35px rgba(139, 92, 246, .5);
}

.hero__chip {
  position: absolute;
  z-index: 1;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--glow);
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .15);
  border-radius: var(--radius);
  padding: 8px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
}
.hero__chip--left  { bottom: 14%; left: 6%; }
.hero__chip--right { bottom: 22%; right: 6%; }

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: var(--muted);
  animation: scroll-line-pulse 2s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   SECTION SHARED
   ═══════════════════════════════════════════ */
.section__eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-align: center;
}

.section__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.section__heading--sm {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about__card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .1);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  transition: transform .35s, box-shadow .35s;
}
.about__card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 50px rgba(0, 0, 0, .45);
}

.about__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--glow));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(139, 92, 246, .25);
}
.about__initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.about__bio {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}
.about__bio strong { color: var(--text); font-weight: 600; }

.about__skills-title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--glow);
  background: rgba(139, 92, 246, .08);
  border: 1px solid rgba(139, 92, 246, .15);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.tag--primary {
  background: rgba(139, 92, 246, .18);
  border-color: rgba(139, 92, 246, .3);
  color: var(--white);
}

/* education & achievements grid */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about__education {
  max-width: 640px;
  margin: 0 auto;
}
.edu-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .1);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
.edu-card__icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, .1);
  border-radius: 12px;
}
.edu-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 4px;
}
.edu-card__sub {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   WORK PANEL
   ═══════════════════════════════════════════ */
.work-hero {
  text-align: center;
  margin-bottom: 48px;
}
.work-hero__desc {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: -20px auto 28px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tech-tag {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, .12);
  border: 1px solid rgba(139, 92, 246, .2);
  color: var(--white);
  transition: background .25s, transform .25s;
}
.tech-tag:hover {
  background: rgba(139, 92, 246, .25);
  transform: translateY(-2px);
}

.work-section-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
  padding-left: 4px;
  letter-spacing: -.2px;
}

/* project cards */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.project-card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
  transition: transform .35s, box-shadow .35s;
}
.project-card:hover {
  transform: translateY(-5px) scale(1.01) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.project-card__thumb {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.project-card__thumb--1 {
  background: linear-gradient(135deg, rgba(139, 92, 246, .25), rgba(59, 130, 246, .15), var(--surface));
}
.project-card__thumb--2 {
  background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(34, 197, 94, .15), var(--surface));
}
.project-card__thumb--3 {
  background: linear-gradient(135deg, rgba(236, 72, 153, .2), rgba(139, 92, 246, .2), var(--surface));
}

.project-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, .25);
  border: 1px solid rgba(139, 92, 246, .3);
  color: var(--glow);
  backdrop-filter: blur(8px);
}

.project-card__body {
  padding: 20px;
}
.project-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
  letter-spacing: -.2px;
}
.project-card__desc {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}
.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-card__tags span {
  font-size: .65rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(139, 92, 246, .08);
  border: 1px solid rgba(139, 92, 246, .12);
  color: var(--glow);
}

.project-card__features {
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  padding: 0;
}
.project-card__features li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-card__features li::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.7rem;
}

.project-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(139, 92, 246, 0.08);
}
.project-card__meta strong {
  color: var(--text);
}

.project-card__links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.project-card__link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.project-card__link--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2);
}
.project-card__link--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
  color: var(--white);
}

.project-card__link--secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--glow);
}
.project-card__link--secondary:hover {
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-2px);
  color: var(--white);
}

/* work divider */
.work-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .2), transparent);
  margin: 48px 0;
}

/* services grid */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .08);
  border-radius: 16px;
  padding: 28px 22px;
  transition: transform .35s, box-shadow .35s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .4);
}
.service-card--clickable {
  cursor: pointer;
}
.service-card--clickable:hover {
  border-color: rgba(139, 92, 246, .25);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(139, 92, 246, .1);
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(139, 92, 246, .06);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: -.2px;
}

.service-card__desc {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--muted);
}

.service-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .3px;
  transition: color .25s;
}
.service-card__link:hover { color: var(--glow); }

/* ═══════════════════════════════════════════
   PORTFOLIO (Posters panel)
   ═══════════════════════════════════════════ */
.portfolio__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  border: 1px solid rgba(139, 92, 246, .12);
  transition: all .25s;
}
.filter-btn:hover { color: var(--white); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(139, 92, 246, .3);
}

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

.work-card {
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .06);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
.work-card:hover {
  transform: translateY(-4px) scale(1.01) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, .4);
}
.work-card.hidden { display: none; }

.work-card__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
}
.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.work-card:hover .work-card__thumb img {
  transform: scale(1.05);
}

.work-card__type {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 12px 16px 0;
}

.work-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  padding: 4px 16px 14px;
  letter-spacing: -.2px;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact__sub {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  max-width: 420px;
  margin: -20px auto 36px;
}

.contact__card {
  max-width: 500px;
  margin: 0 auto 40px;
  background: var(--surface);
  border: 1px solid rgba(139, 92, 246, .1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(139, 92, 246, .06);
  transition: transform .3s, background .3s;
}
.contact__row:last-child { border-bottom: none; }
.contact__row:hover {
  transform: translateX(4px);
  background: rgba(139, 92, 246, .04);
}

.contact__row-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(139, 92, 246, .1);
  border-radius: 12px;
}

.contact__row-label {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact__row-value {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer__text {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: .3px;
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px solid rgba(139, 92, 246, .06);
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (min-width: 480px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }
  .nav { padding: 0 40px; }

  .hero__chip--left  { left: 10%; bottom: 18%; }
  .hero__chip--right { right: 10%; bottom: 26%; }

  .about__card { padding: 40px 36px; }
  .contact__row { padding: 22px 28px; }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__chip { font-size: .76rem; padding: 10px 20px; }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
