/* Breakpoints. Loaded last so these override component and section styles. */

@media (max-width: 780px) {
  /* Nav */
  .nav { height: 72px; }
  .nav-links { display: none; }
  .button.nav-mobile { display: inline-flex; }

  /* Brand (applies to header and footer) */
  .brand { gap: 8px; }
  .brand .mark { width: 42px; height: 42px; }
  .brand--small .mark { width: 44px; height: 44px; }
  .brand .divider { height: 30px; }
  .brand .name { font-size: 18px; letter-spacing: 0.22em; }
  .brand .subname { font-size: 8px; letter-spacing: 0.2em; }

  .button { gap: 12px; }

  /* Sections */
  .section { padding: 65px 0; }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    gap: 20px;
    padding: 20px 0 28px;
  }

  .hero-copy { padding: 26px 0 8px; }
  .hero h1 { font-size: clamp(43px, 10vw, 75px); }

  .strip {
    flex-wrap: wrap;
    padding: 14px;
  }

  /* Hide the ✳ separators on small screens */
  .strip .sep { display: none; }

  .cards { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }

  .contact {
    margin: 40px 0;
    padding: 30px 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand { gap: 8px; }
}

@media (max-width: 600px) {
  .strip { gap: 10px 20px; }
}

@media (max-width: 380px) {
  .brand { gap: 6px; }
  .brand .mark { width: 26px; height: 26px; }
  .brand--small .mark { width: 44px; height: 44px; }
  .contact { padding: 24px 16px; }
  .details { padding: 5px 12px; }
  .details a { overflow-wrap: anywhere; }
}
