/* UNI-M — breakpoints. Desktop first in the components; this file adapts at 1100px (tablet) and 720px (mobile). */

@media (max-width: 1099.98px) {
  .article-body--page, .article-aside, .article-aside--wide { grid-column: 1 / -1; }
  .article-aside { position: static; margin-top: var(--s-8); }
  :root { --header-h: 4rem; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-7);
    padding: var(--s-6) var(--gutter) var(--s-8);
    background: var(--bg);
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .nav__link {
    font-stretch: var(--wide);
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    letter-spacing: -0.015em;
  }
  .nav__link::after { bottom: 0.35rem; }
  .nav .btn { align-self: flex-start; }

  .section-head > .label { grid-column: 1 / -1; padding-top: 0; }
  .section-head > .section-head__body { grid-column: 1 / -1; }
  .offset { grid-column: 1 / -1; }

  .hero__title { grid-column: 1 / -1; }
  .hero__lede { grid-column: 1 / span 8; }
  .hero__aside { grid-column: 1 / -1; }

  .split__side { grid-column: 1 / -1; position: static; }
  .split__main { grid-column: 1 / -1; }

  .statement { grid-column: 1 / -1; }
  .quote { grid-column: 1 / -1; }

  .companies, .people--4 { --cols: 2; }
  .people { --cols: 3; }
  .people--4 { --cols: 2; }
  .articles { --cols: 2; }
  .steps { --cols: 2; }
  .facts { --cols: 2; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--4, .numbered--4 { --cols: 2; }
  .numbered--3 { --cols: 2; }

  .feature-article__mark { grid-column: 1 / -1; }
  .feature-article__body { grid-column: 1 / -1; }

  .cta__title, .cta__body { grid-column: 1 / -1; }
  .cta__aside { grid-column: 1 / span 8; }

  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:first-of-type { grid-column: span 4; }
}

@media (max-width: 719.98px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1 !important; }

  .hero__lede, .cta__aside { grid-column: 1 / -1; }

  .numbered, .cols, .companies, .people, .articles, .steps, .topics { grid-template-columns: minmax(0, 1fr); }
  .people--compact, .companies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-4); }
  .companies .company p { font-size: 0.9375rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .stages { grid-template-columns: 1fr 1.2fr 1.5fr 1.9fr; gap: var(--s-2); }
  .stage__note { display: none; }
  .stage__name { font-size: 0.8125rem; }

  .phase { grid-template-columns: minmax(0, 1fr); }
  .person__mark { aspect-ratio: 4 / 3; }

  .form { grid-template-columns: minmax(0, 1fr); }
  .inline-form { grid-template-columns: minmax(0, 1fr); }
  .inline-form .btn { width: 100%; }
  .form__foot .btn { width: 100%; }

  .actions .btn { width: 100%; }

  .footer__col, .footer__col:first-of-type { grid-column: 1 / -1 !important; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > .footer__col { grid-column: span 1 !important; }
  .footer__grid > .footer__brand, .footer__grid > .footer__legal { grid-column: 1 / -1 !important; }
}

@media (max-width: 400px) {
  .companies, .people--compact { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: #fff; }
}
