/* =====================================================================
   RESPONSIVE — desktop first. 16px mobile gutters, no horizontal scroll.
   ===================================================================== */

@media (max-width: 1100px) {
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memory-grid { columns: 2; }
  .hero-ui { gap: 24px; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --header-h: 64px; }

  /* Header: brand + burger */
  .site-header { grid-template-columns: 1fr auto; }
  .nav, .header-action { display: none; }
  .burger { display: block; }

  /* Hero: stacked */
  .hero { min-height: 100svh; }
  .hero-type {
    top: calc(var(--header-h) + 12px);
    font-size: 34vw; line-height: .92; letter-spacing: -.04em; white-space: normal;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  }
  .hero::after {
    background:
      linear-gradient(0deg, rgba(6, 17, 12, .96) 0%, rgba(6, 17, 12, .86) 45%, rgba(6, 17, 12, 0) 78%),
      linear-gradient(90deg, rgba(6, 17, 12, .4) 0%, rgba(6, 17, 12, 0) 60%);
  }
  .hero-type span { display: block; }
  .hero-ui { grid-template-columns: 1fr; align-items: start; gap: 36px; padding-top: 52vh; padding-bottom: 28px; }
  .hero-copy { max-width: none; }
  .hero-cards { justify-self: stretch; width: 100%; height: auto; display: grid; gap: 14px; }
  .card-slot { position: relative; inset: auto; width: 100% !important; height: 210px !important; }
  .hero-strip-inner { grid-template-columns: 1fr auto; font-size: 10.5px; letter-spacing: .14em; }
  .hero-strip-inner > :nth-child(2) { display: none; }

  .section-head, .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-photo { max-width: 360px; }
  .share-box { grid-template-columns: 1fr; }
  .explore-row a { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; }
}

@media (max-width: 600px) {
  .social-grid, .project-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 150px; }
  .memory-grid { columns: 1; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .hero-ui { padding-top: 50vh; }
}

@media (hover: none) {
  .card:hover, .social-card:hover, a.project-card:hover { transform: none; }
}
