@media screen and (max-width: 1500px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 22rem);
    gap: 1.75rem;
  }

  .hero-title {
    font-size: clamp(2.7rem, 4.3vw + 0.35rem, 4.55rem);
    max-width: min(100%, clamp(9ch, 36vw, 11.5ch));
  }

  .hero-description {
    max-width: 54ch;
  }

  .hero-visual-panel {
    max-width: 22rem;
  }

  .hero-photo-shell {
    min-height: 24rem;
  }

  .hero-focus-card {
    padding: 1.05rem 1rem;
  }
}

@media screen and (max-height: 920px) and (min-width: 1281px) {
  .site-header {
    padding-block: 0.6rem;
  }

  #desktop-nav,
  #hamburger-nav {
    min-height: 4.4rem;
  }

  .hero {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .hero-kicker {
    margin-top: 0.8rem;
  }

  .hero-title {
    font-size: clamp(2.45rem, 3.9vw + 0.25rem, 4rem);
    margin-top: 0.9rem;
    max-width: min(100%, clamp(8.5ch, 34vw, 10.5ch));
  }

  .hero-description {
    margin-top: 1rem;
    font-size: 0.98rem;
  }

  .hero-proof-row {
    margin-top: 1rem;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .hero-visual-panel {
    max-width: 21rem;
  }

  .hero-photo-shell {
    min-height: 21rem;
  }

  .hero-focus-card {
    padding: 1rem;
  }
}

@media screen and (max-width: 1280px) {
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.4rem;
    align-items: start;
  }

  .education-showcase {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-visual-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    justify-items: stretch;
    padding: 0;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-focus-card {
    width: 100%;
  }

  .hero-photo-shell {
    width: 100%;
    min-height: 23rem;
    max-width: 22rem;
    margin-inline: auto;
  }

  .info-grid,
  .education-stat-grid,
  .capability-grid,
  .delivery-grid,
  .contact-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: clamp(2.45rem, 4.8vw + 0.35rem, 4rem);
    max-width: min(100%, clamp(10ch, 56vw, 13ch));
  }

  .hero-description {
    max-width: 56ch;
  }

  .hero-proof-row,
  .hero-actions {
    margin-top: 1rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card {
    grid-column: auto;
  }

  .project-card-feature {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  }

  .project-card-feature .project-visual {
    min-height: 28rem;
  }

  .project-card-feature .project-content {
    padding: 1.5rem;
  }

  .project-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    align-items: start;
  }
}

@media screen and (max-width: 980px) {
  .hero-topline {
    gap: 0.6rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.35rem);
    max-width: 100%;
  }

  .education-content h3 {
    max-width: 100%;
  }

  .hero-visual-panel {
    gap: 1rem;
    max-width: 20rem;
    justify-items: stretch;
  }

  .hero-photo-shell {
    width: min(100%, 18rem);
    min-height: auto;
    max-width: 18rem;
    margin-inline: auto;
  }

  .hero-focus-card {
    width: 100%;
  }

  .project-card-feature {
    grid-template-columns: 1fr;
  }

  .project-card-feature .project-visual {
    min-height: 26rem;
  }

  .project-card-feature .project-content {
    padding: 1.5rem;
  }
}

@media screen and (max-width: 780px) {
  html {
    scroll-padding-top: 5rem;
  }

  .hero {
    padding-block: 4rem;
  }

  .section-block {
    padding-block: 1.4rem;
  }

  .info-grid,
  .education-stat-grid,
  .education-gallery,
  .capability-grid,
  .delivery-grid,
  .projects-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .hero-status,
  .hero-kicker {
    font-size: 0.78rem;
  }

  .hero-proof-row span {
    font-size: 0.85rem;
  }

  .hero-photo-badge {
    top: 1rem;
    left: 1rem;
    font-size: 0.68rem;
    padding: 0.55rem 0.75rem;
  }

  .project-visual {
    min-height: 19rem;
  }

  .campus-photo-wide {
    grid-column: auto;
    min-height: 14rem;
  }

  .project-feature-grid {
    grid-template-columns: 1fr;
  }

  .project-card-feature .project-visual {
    min-height: 24rem;
    padding: 1rem;
  }

  .project-device-shell {
    width: min(100%, 16rem);
    height: 24rem;
  }

  .contact-link {
    font-size: 0.96rem;
  }

  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1280px) and (max-height: 900px) {
  .hero {
    padding: 1.2rem;
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(2.25rem, 5vw, 3.35rem);
  }

  .hero-description {
    margin-top: 0.85rem;
    font-size: 0.94rem;
  }

  .hero-proof-row,
  .hero-actions {
    margin-top: 0.85rem;
  }

  .hero-visual-panel {
    max-width: 20rem;
  }

  .hero-photo-shell {
    min-height: 20rem;
  }

  .hero-focus-card {
    padding: 1rem 1.05rem;
  }
}

@media screen and (max-height: 760px) and (min-width: 1281px) {
  .hero {
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: start;
  }

  .hero-title {
    font-size: clamp(2.3rem, 3.5vw + 0.2rem, 3.75rem);
    max-width: min(100%, clamp(8.5ch, 32vw, 10.5ch));
  }

  .hero-description {
    margin-top: 1rem;
    font-size: 0.95rem;
  }

  .hero-proof-row,
  .hero-actions {
    margin-top: 0.9rem;
  }

  .hero-visual-panel {
    max-width: 20rem;
  }

  .hero-photo-shell {
    min-height: 19.5rem;
  }

  .hero-focus-card {
    padding: 1rem;
  }
}

@media screen and (max-width: 600px) {
  :root {
    --content-width: calc(100% - 1rem);
  }

  .site-header {
    padding-block: 0.55rem;
  }

  nav {
    min-height: 4.75rem;
  }

  #desktop-nav,
  #hamburger-nav {
    padding-inline: 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero-description,
  .section-intro {
    font-size: 0.98rem;
  }

  .hero {
    padding: 1.1rem;
    border-radius: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions #socials-container {
    justify-content: flex-start;
  }

  .metric-card,
  .info-card,
  .capability-card,
  .delivery-card,
  .education-stat,
  .project-content,
  .contact-panel,
  .degree-card {
    padding: 1.2rem;
  }

  .btn-container {
    flex-direction: column;
  }

  .btn,
  .project-btn {
    width: 100%;
  }

  .project-links {
    flex-direction: column;
  }

  .project-thumb {
    width: 3.8rem;
    height: 3.8rem;
  }

  .project-card-feature .project-visual {
    min-height: 20rem;
  }

  .project-card-feature {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .education-showcase,
  .education-visual {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .campus-photo,
  .campus-photo-wide {
    min-height: 12rem;
  }

  .project-floating-chip {
    padding: 0.58rem 0.8rem;
    font-size: 0.75rem;
  }

  .project-floating-chip-top {
    top: 0.8rem;
    left: 0.8rem;
  }

  .project-floating-chip-bottom {
    right: 0.8rem;
    bottom: 0.9rem;
  }

  .project-device-shell {
    width: min(100%, 14rem);
    height: 21rem;
  }

  .contact-link span {
    overflow-wrap: anywhere;
  }

  footer {
    padding-bottom: 1.4rem;
  }
}
