/* ------------------------------------------------------------------
   John Cabardo Jr. — Portfolio
------------------------------------------------------------------ */

:root {
  --c-bg: #0b1020;
  --c-bg-2: #11172e;
  --c-surface: #ffffff;
  --c-surface-soft: #f6f8fc;
  --c-text: #1a2238;
  --c-text-soft: #5a6478;
  --c-muted: #9aa3b2;
  --c-primary: #4f46e5;
  --c-primary-2: #6d28d9;
  --c-accent: #06b6d4;
  --c-wp: #21759b;
  --c-shopify: #95bf47;
  --c-border: #e6e9ef;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, .06);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, .12);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .18);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ------------------------------------------------------------------
   HERO
------------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(79, 70, 229, .35), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(6, 182, 212, .25), transparent 60%),
    linear-gradient(180deg, #0b1020 0%, #11172e 100%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 100px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.nav__logo {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, .4);
}

.nav__name { letter-spacing: .2px; }

.nav__links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  transition: color .2s ease;
}

.nav__links a:hover { color: #fff; }

.nav__cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(79, 70, 229, .4);
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 22px;
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 22px;
  font-weight: 800;
}

.hero__highlight {
  background: linear-gradient(135deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 32px;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff;
  box-shadow: 0 12px 28px rgba(79, 70, 229, .45);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(79, 70, 229, .55); }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.hero__meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}

.hero__meta a:hover { color: #67e8f9; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

/* ----------------------------------------------------------------
   Floating bubbles around the avatar
---------------------------------------------------------------- */
.hero__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .05) 60%),
    linear-gradient(135deg, rgba(165, 180, 252, .35), rgba(103, 232, 249, .25));
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, .4),
    0 8px 20px rgba(79, 70, 229, .25);
  backdrop-filter: blur(2px);
  opacity: .85;
  will-change: transform, opacity;
}

.bubble--1 { width: 22px;  height: 22px;  top: 18%;  left: 12%; animation: floatA 7s ease-in-out infinite; }
.bubble--2 { width: 14px;  height: 14px;  top: 8%;   left: 38%; animation: floatB 5.5s ease-in-out infinite .3s; }
.bubble--3 { width: 30px;  height: 30px;  top: 22%;  right: 8%; animation: floatA 8s ease-in-out infinite 1s; }
.bubble--4 { width: 18px;  height: 18px;  bottom: 22%; left: 6%; animation: floatB 6.5s ease-in-out infinite .8s; }
.bubble--5 { width: 26px;  height: 26px;  bottom: 12%; right: 18%; animation: floatA 9s ease-in-out infinite .5s; }
.bubble--6 { width: 10px;  height: 10px;  top: 50%;  left: 2%; animation: floatB 5s ease-in-out infinite 1.5s; }
.bubble--7 { width: 12px;  height: 12px;  top: 60%;  right: 4%; animation: floatB 6s ease-in-out infinite 2s; }
.bubble--8 { width: 16px;  height: 16px;  bottom: 4%; left: 42%; animation: floatA 7.5s ease-in-out infinite 1.2s; }

@keyframes floatA {
  0%   { transform: translate(0, 0) scale(1);     opacity: .85; }
  50%  { transform: translate(8px, -22px) scale(1.08); opacity: 1; }
  100% { transform: translate(0, 0) scale(1);     opacity: .85; }
}

@keyframes floatB {
  0%   { transform: translate(0, 0) scale(1);     opacity: .8; }
  50%  { transform: translate(-10px, -18px) scale(1.12); opacity: 1; }
  100% { transform: translate(0, 0) scale(1);     opacity: .8; }
}

/* Subtle breathing on the avatar so the bubbles feel anchored to it */
.hero__avatar {
  position: relative;
  z-index: 1;
  animation: avatarBreathe 6s ease-in-out infinite;
}

@keyframes avatarBreathe {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .bubble, .hero__avatar, .hero__badge { animation: none !important; }
}

.hero__avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  box-shadow: 0 30px 80px rgba(79, 70, 229, .5), inset 0 0 0 6px rgba(255, 255, 255, .08);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 50%;
}

.hero__badge {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.hero__badge i { font-size: 24px; }
.hero__badge strong { display: block; font-size: 18px; line-height: 1; }
.hero__badge small { font-size: 12px; opacity: .8; }

.hero__badge--wp {
  top: 30px;
  left: -10px;
  animation: badgeFloatWp 6.5s ease-in-out infinite;
}
.hero__badge--wp i { color: #67e8f9; }

.hero__badge--sh {
  bottom: 30px;
  right: -10px;
  animation: badgeFloatSh 7.5s ease-in-out infinite .8s;
}
.hero__badge--sh i { color: #95bf47; }

@keyframes badgeFloatWp {
  0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
  50%      { transform: translate(-6px, -14px) rotate(1.5deg); }
}

@keyframes badgeFloatSh {
  0%, 100% { transform: translate(0, 0) rotate(1.5deg); }
  50%      { transform: translate(6px, -14px) rotate(-1.5deg); }
}

/* ------------------------------------------------------------------
   SECTIONS
------------------------------------------------------------------ */
.section { padding: 100px 0; }
.section--about { background: var(--c-surface); }
.section--skills { background: var(--c-surface-soft); }
.section--wp { background: var(--c-surface); }
.section--sh { background: var(--c-surface-soft); }
.section--experience { background: var(--c-surface); }
.section--contact {
  background: linear-gradient(135deg, #0b1020 0%, #1a1245 50%, #11172e 100%);
  color: #fff;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, .1);
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}

.section--contact .section__eyebrow {
  background: rgba(255, 255, 255, .1);
  color: #67e8f9;
}

.section__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.2;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 0 50px;
}

.section--contact .section__lead { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------------
   ABOUT — EXPERTISE LIST
------------------------------------------------------------------ */
.about__subhead {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  margin: 38px 0 18px;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about__subhead::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
}

.about__expertise {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.about__expertise li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--c-surface-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--c-text);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about__expertise li:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 70, 229, .35);
  box-shadow: var(--shadow-sm);
}

.about__expertise li i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12));
  color: var(--c-primary);
  font-size: 14px;
}

@media (max-width: 700px) {
  .about__expertise { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   ABOUT — STATS
------------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.stat {
  background: var(--c-surface-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat span { font-size: 14px; color: var(--c-text-soft); }

/* ------------------------------------------------------------------
   SKILLS
------------------------------------------------------------------ */
.skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.skill-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, .3);
}

.skill-card i {
  font-size: 32px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.skill-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.skill-card p { margin: 0; color: var(--c-text-soft); font-size: 14px; }

/* ------------------------------------------------------------------
   FEATURED PROJECT — WebPMagic
------------------------------------------------------------------ */
.section--featured {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, .12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(79, 70, 229, .12), transparent 60%),
    #ffffff;
  position: relative;
  overflow: hidden;
}

.section__eyebrow--featured {
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12));
  color: var(--c-primary);
}

.section__eyebrow--featured i { color: #f59e0b; }

.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 30px;
}

.featured__visual {
  position: relative;
}

.featured__shot {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  background: linear-gradient(135deg, #f1f3f8, #e2e6f0);
  aspect-ratio: 16 / 10;
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}

.featured__shot::before {
  content: "Loading preview…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-muted);
  font-size: 13px;
}

.featured__shot img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.featured__shot:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, .2);
}

.featured__shot-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  box-shadow: var(--shadow-md);
}

.featured__shot-badge i { color: var(--c-primary); }

.featured__headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 0 0 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.25;
}

.featured__lead {
  color: var(--c-text-soft);
  margin: 0 0 26px;
  font-size: 1rem;
}

.featured__features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.featured__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.featured__features li i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(6, 182, 212, .12));
  color: var(--c-primary);
  font-size: 15px;
}

.featured__features li strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.featured__features li span {
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.featured__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.featured__url {
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 600;
  letter-spacing: .3px;
}

@media (max-width: 980px) {
  .featured { grid-template-columns: 1fr; gap: 40px; }
}

/* ------------------------------------------------------------------
   PORTFOLIO / SWIPER
------------------------------------------------------------------ */
.section--portfolio .section__eyebrow i { font-size: 16px; }
.section--wp .section__eyebrow { color: var(--c-wp); background: rgba(33, 117, 155, .1); }
.section--sh .section__eyebrow { color: #5a8a30; background: rgba(149, 191, 71, .15); }

.swiper {
  padding: 10px 4px 60px;
  position: relative;
}

.project-card {
  display: block;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--c-border);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f1f3f8, #e2e6f0);
  overflow: hidden;
}

.project-card__shot::before {
  content: "Loading preview…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-muted);
  font-size: 13px;
}

.project-card__shot img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}

.project-card:hover .project-card__shot img { transform: scale(1.04); }

.project-card__body {
  padding: 18px 20px 22px;
}

.project-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.project-card__body span {
  font-size: 13px;
  color: var(--c-text-soft);
}

/* Swiper nav buttons */
.swiper-button-prev, .swiper-button-next {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--c-primary);
  top: 38%;
}

.swiper-button-prev::after, .swiper-button-next::after {
  font-size: 16px;
  font-weight: 800;
}

.section--sh .swiper-button-prev, .section--sh .swiper-button-next {
  color: #5a8a30;
}

.swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--c-muted);
  opacity: .5;
  transition: all .25s ease;
}

.swiper-pagination-bullet-active {
  background: var(--c-primary);
  opacity: 1;
  width: 28px;
  border-radius: 999px;
}

.section--sh .swiper-pagination-bullet-active { background: #5a8a30; }

/* ------------------------------------------------------------------
   TIMELINE / EXPERIENCE
------------------------------------------------------------------ */
.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 32px;
  border-left: 2px dashed var(--c-border);
}

.timeline__item {
  position: relative;
  padding: 0 0 36px 22px;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  top: 6px; left: -41px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, .25);
}

.timeline__date {
  font-size: 13px;
  color: var(--c-primary);
  font-weight: 600;
}

.timeline__content h3 {
  margin: 4px 0 4px;
  font-size: 1.15rem;
}

.timeline__content p {
  margin: 0;
  color: var(--c-text-soft);
  font-size: 14px;
}

.education {
  margin-top: 40px;
  background: var(--c-surface-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px;
}

.education h3 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-primary);
}

.education p { margin: 0; color: var(--c-text-soft); }

/* ------------------------------------------------------------------
   CONTACT
------------------------------------------------------------------ */
.contact__inner { text-align: center; }
.contact__inner .section__lead { margin-left: auto; margin-right: auto; }

.contact__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 22px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  color: #fff;
}

.contact__card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(103, 232, 249, .4);
}

.contact__card i {
  font-size: 28px;
  color: #67e8f9;
  margin-bottom: 6px;
}

.contact__card span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.contact__card strong { font-size: 15px; word-break: break-all; }

/* ------------------------------------------------------------------
   FOOTER
------------------------------------------------------------------ */
.footer {
  background: #060914;
  color: rgba(255, 255, 255, .55);
  padding: 26px 0;
  font-size: 13px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero__container { grid-template-columns: 1fr; padding-top: 30px; gap: 50px; }
  .hero__visual { min-height: 320px; }
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .contact__links { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 580px) {
  .nav__name { display: none; }
  .hero__avatar { width: 220px; height: 220px; font-size: 4.5rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .skills { grid-template-columns: 1fr; }
  .hero__badge--wp { left: -10px; top: 10px; }
  .hero__badge--sh { right: -10px; bottom: 10px; }
}
