/* How I work — four blocks at the corners around a circular centre photo */

.three{ align-items:stretch; }
.three .item{
  display:flex; flex-direction:column;
  padding-top:var(--space-4);
  border-top:1px solid var(--color-hairline,#dedbd4);
}
.three .item h3{ margin-top:0; }

/* 17px body size across the site; at 255px these columns cannot justify */
.three .item p,
.three .item p > span{
  text-align:left;
  font-size:17px; line-height:1.65;
  max-width:none; margin-bottom:0;
  hyphens:manual; -webkit-hyphens:manual;
}

.work-centre{
  margin:0; border-radius:50%; overflow:hidden;
  -webkit-mask-image:radial-gradient(circle at 50% 50%, #000 58%, rgba(0,0,0,.55) 82%, rgba(0,0,0,0) 99%);
  mask-image:radial-gradient(circle at 50% 50%, #000 58%, rgba(0,0,0,.55) 82%, rgba(0,0,0,0) 99%);
}
.work-centre img,
.work-centre image-slot{ display:block; width:100%; object-fit:cover; object-position:50% 42%; }

@media (min-width:901px){
  .three{
    grid-template-columns:1fr clamp(250px,26vw,290px) 1fr;
    grid-template-rows:auto auto;
    column-gap:var(--space-5); row-gap:var(--space-6);
  }
  .three .item{ align-self:start; }
  /* .work-centre-wrap is also a div, so nth-of-type would count it */
  .three .item:nth-child(1){ grid-column:1; grid-row:1; }
  .three .item:nth-child(2){ grid-column:3; grid-row:1; }
  .three .item:nth-child(4){ grid-column:1; grid-row:2; }
  .three .item:nth-child(5){ grid-column:3; grid-row:2; }
  .work-centre-wrap{ grid-column:2; grid-row:1 / span 2; align-self:center; }
  .work-centre img,
  .work-centre image-slot{ aspect-ratio:1/1; height:auto; }
}

@media (max-width:900px){
  .work-centre-wrap{ grid-column:1 / -1; margin:var(--space-4) 0; }
  .work-centre img,
  .work-centre image-slot{ height:240px; }
}
