/* ============================================================
   Ricky's Gutters: about / the crew

   Two beats on a white section. The owner's photo and his line up top, then a
   full-width row of promises underneath, so the copy column never has to carry
   a stack of boxes.
   ============================================================ */

.rg-people__layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.rg-people__layout > * { min-width: 0; }

/* ---- portrait ----
   The source is square, so a 1:1 frame crops nothing: the whole photograph is
   on show. It is deliberately left close to its own colour. An earlier version
   ran a heavy navy wash over it to tame the composited sky, and that cost more
   than it bought. The identity sits in a small plate in one corner rather than
   under a full-height gradient, so the picture stays a picture. */
.rg-people__portrait {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--rg-navy-ink);
  box-shadow: 0 28px 60px rgba(0,27,74,.24), 0 3px 10px rgba(0,27,74,.10);
}
.rg-people__portrait > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.94) contrast(1.02);
}
.rg-people__portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 12px 18px;
  border-radius: 11px;
  background: rgba(0,27,74,.84);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow: 0 8px 22px rgba(0,20,56,.28);
  color: var(--rg-on-dark);
}
.rg-people__portrait figcaption > b {
  display: block;
  font-family: var(--rg-font-head);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.rg-people__portrait figcaption > span {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.78);
  font-size: .8125rem;
  line-height: 1.35;
}

/* ---- copy ---- */
.rg-people__copy .rg-h2 { max-width: 16ch; }
.rg-people__copy .rg-lede { max-width: 48ch; }

/* His line, in his voice. This is the sell, so it gets the weight. */
.rg-people__quote {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--rg-blue);
}
.rg-people__quote p {
  margin: 0;
  color: var(--rg-text);
  font-family: var(--rg-font-head);
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.rg-people__quote cite {
  display: block;
  margin-top: 10px;
  color: var(--rg-text-muted);
  font-size: .875rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .01em;
}

.rg-people__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  font-size: 1rem;
}
.rg-people__actions .rg-btn-solid { gap: 24px; }

/* ---- promises ----
   Full width under the two columns. Hairline rules instead of a tinted panel:
   this is meant to read as a list of commitments, not another card. */
.rg-people__promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 38px);
  margin-top: clamp(44px, 5vw, 68px);
  padding-top: 4px;
  list-style: none;
}
.rg-people__promises > li {
  padding-top: 18px;
  border-top: 2px solid var(--rg-navy);
}
.rg-people__promises b {
  display: block;
  margin-bottom: 8px;
  color: var(--rg-text);
  font-family: var(--rg-font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}
.rg-people__promises span {
  display: block;
  color: var(--rg-text-body);
  font-size: .9375rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .rg-people__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .rg-people__promises { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
}

@media (max-width: 860px) {
  .rg-people__layout { grid-template-columns: 1fr; gap: 30px; }
  .rg-people__portrait { max-width: 540px; width: 100%; }
  .rg-people__copy .rg-h2 { max-width: 20ch; }
  .rg-people__copy .rg-lede { max-width: 56ch; }
}

@media (max-width: 750px) {
  .rg-home .rg-people { padding: 52px 0; }
  .rg-people__portrait { border-radius: 14px; }
  .rg-people__portrait figcaption { left: 12px; bottom: 12px; padding: 10px 14px; border-radius: 10px; }
  .rg-people__portrait figcaption > b { font-size: 1.125rem; }
  .rg-people__portrait figcaption > span { font-size: .75rem; }
  .rg-people__quote { margin-top: 24px; padding-left: 16px; }
  .rg-people__actions { gap: 16px; margin-top: 24px; }
  .rg-people__promises { grid-template-columns: 1fr; gap: 0; margin-top: 34px; }
  .rg-people__promises > li { padding: 16px 0; border-top-width: 1px; }
  .rg-people__promises > li:first-child { border-top-width: 2px; }
  .rg-people__promises b { font-size: 1rem; margin-bottom: 5px; }
  .rg-people__promises span { font-size: .9375rem; }
}
