/* CE-IV — breakpoints: 1100 (small desktop), 1020 (nav), 880 (tablet), 600 (phone) */

@media (max-width: 1100px) {
  .companies, .people, .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns--4, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--stone);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--s-5);
    padding: var(--s-4) var(--gutter) var(--s-6); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .site-nav__list { flex-direction: column; gap: .25rem; }
  .site-nav__link { display: inline-block; font-size: 2rem; font-weight: 600; letter-spacing: -.03em; }
  .site-nav__link::after { left: auto; right: -1rem; bottom: auto; top: 50%; margin: -3px 0 0; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 880px) {
  .hero__grid, .section-head, .split, .split--even, .cta__inner, .featured, .contact-split, .wkp, .area, .people--lead { grid-template-columns: 1fr; }
  .hero__aside, .hero--page .hero__aside { justify-self: start; max-width: 11rem; }
  .split__sticky { position: static; }
  .columns, .steps--3, .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered--cols, .body-cols { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .cta__mark { justify-self: start; max-width: 7rem; }
  .section-head { margin-bottom: var(--s-6); }
  .wkp__art { max-width: 14rem; }
}

@media (max-width: 600px) {
  :root { --header-h: 4.5rem; }
  .companies, .people, .articles, .columns, .columns--2, .columns--4, .steps, .steps--3, .steps--5, .numbered--three, .stages { grid-template-columns: 1fr; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
  .numbered__item { grid-template-columns: 1fr; gap: var(--s-1); }
  .numbered { gap: var(--s-5); }
  .form__row { grid-template-columns: 1fr; }
  .newsletter { flex-direction: column; align-items: stretch; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .actions { flex-direction: column; align-items: flex-start; }
  .actions .btn { width: 100%; }
  .brand img { height: 2rem; }
  .hero__aside, .hero--page .hero__aside { max-width: 8rem; }
  .stage__bar { height: calc(var(--h, 4rem) * .6); }
}
