.ape-site header.wrap .masthead { align-items:center; }
.ape-site header .primary { min-width:0; }
@media (min-width:721px) {
  .ape-site header .primary {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:center;
    gap:clamp(.3rem,1.3vw,1.2rem);
  }
  .ape-site header .primary a.ct-link-text {
    justify-self:center;
    text-align:center;
    line-height:1.2;
  }
  .ape-site .hero-copy { min-width:0; padding-inline-end:clamp(.8rem,2.4vw,2rem); }
  body .ape-site .hero h1 {
    max-width:none;
    font-size:clamp(2rem,3.8vw,3.9rem);
    text-wrap:balance;
  }
}
.ape-site .hero-grid { align-items:stretch; overflow:hidden; }
.ape-site .hero-grid img.hero-img {
  display:block;
  width:100%;
  max-width:none;
  height:100%;
  min-width:0;
  margin:0;
  object-fit:cover;
  object-position:50% 55%;
}
.ape-site .profiles {
  display:grid;
  align-items:stretch;
  grid-auto-rows:1fr;
}
.ape-site .profiles article.profile {
  display:grid;
  align-content:start;
  grid-template-rows:auto auto auto auto;
  min-width:0;
  width:100%;
}
.ape-site .profiles article.profile img {
  display:block;
  width:min(100%,200px);
  height:auto;
  aspect-ratio:5 / 4;
  object-fit:cover;
  margin:0 auto 1rem;
}
@media (max-width:720px) {
  .ape-site header .menu-toggle {
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    min-height:44px;
    padding:.48rem .8rem;
    border:1px solid #a7c7cb;
    border-radius:.5rem;
    background:#e8f3f4;
    color:#075661;
    font-weight:700;
  }
  .ape-site header .menu-toggle::before {
    content:"";
    display:block;
    width:1rem;
    height:2px;
    background:currentColor;
    box-shadow:0 -.26rem currentColor,0 .26rem currentColor;
  }
  .ape-site header .menu-toggle[aria-expanded=true] { background:#007780; color:#fff; }
  .ape-site .hero-grid img.hero-img { height:auto; min-height:0; aspect-ratio:1.7; }
  .ape-site .profiles { grid-auto-rows:auto; }
}

