/* Final polish layer — closer to 10/10 without added content */

.hero-focused {
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-card .lead {
  font-size: 1.12rem;
  line-height: 1.55;
  max-width: 42ch;
}

.hero-mascot-wrap {
  padding-top: 0.5rem;
}

.mascot {
  width: min(100%, 240px);
}

/* Spexy mascot — rock-solid cap alignment & synchronized bounce */
.mascot-cap {
  transform-origin: 130px 116px;
  animation: cap-tilt 2.4s ease-in-out infinite;
}
.mascot-body {
  transform-origin: 130px 240px;
  animation: body-bounce 2.4s ease-in-out infinite;
}
.mouth-open,
.mouth-tongue {
  transform-origin: 130px 168px;
}
@keyframes cap-tilt {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-2deg); }
}
@keyframes body-bounce {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.project-card {
  min-height: 280px;
}

.project-card h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.project-one {
  font-size: 0.98rem;
  line-height: 1.45;
}

.panel-poster {
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

/* About page */
.about-intro-head h1 {
  max-width: 18ch;
}

.about-story p {
  margin-bottom: 1rem;
}

.skill-card {
  min-height: 180px;
}

/* Blog */
.notes-block,
.social-feeds {
  margin-top: 2rem;
}

/* Contact */
.contact-hero {
  padding-bottom: 3rem;
}

@media (max-width: 860px) {
  .hero-focused {
    grid-template-columns: 1fr;
    text-align: left;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }
  .hero-mascot-wrap {
    order: -1;
    justify-items: start;
    padding-bottom: 0.25rem;
  }
  .mascot {
    width: 180px;
  }
  .hero-headline {
    font-size: clamp(2.4rem, 11vw, 3.2rem) !important;
  }
  .hero-card .lead {
    font-size: 1.02rem;
  }
  .project-card {
    min-height: 0;
    padding: 1.1rem;
  }
  .project-card h3 {
    font-size: 1.3rem;
  }
  .btn,
  .nav-cta {
    min-height: 48px;
    padding: 0.85rem 1.1rem;
  }
  .section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .about-intro-head h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }
  .skill-card {
    min-height: 0;
  }
}
