/* Who we are: the one page that names the founder. Hero, why Pea, the Pea team,
   what we believe, how to reach a person, then the close. One Pea per section. */

/* Hero */
.who__pea { width: clamp(140px, 17vw, 190px); }
.who-hero h1 { margin-top: 16px; }
.who-hero .lede { max-width: 31ch; text-wrap: balance; }

/* Why Pea: words on the left, Pea pointing at them from the right */
.who-why { padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.who-why__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head pea" "body pea"; column-gap: clamp(28px, 6vw, 80px); max-width: 940px; margin-inline: auto; text-align: left; }
.who-why__head { grid-area: head; align-self: end; }
.who-why__head .h2 { margin-top: 14px; }
.who-why__pea { grid-area: pea; align-self: center; width: auto; height: clamp(210px, 25vw, 290px); filter: drop-shadow(0 20px 22px rgba(34, 56, 26, .22)); }
.who-why__body { grid-area: body; }
.who-why__body p { max-width: 34em; margin-top: 20px; font-size: clamp(18px, 2vw, 20px); line-height: 1.6; color: var(--ink); }
/* the small name line that opens the body, styled like a kicker */
.who-why__body .who-why__name { margin: 24px 0 10px; font: 800 14px/1.3 var(--body); color: var(--pea); }
.who-why__body .who-why__name b { font-weight: 800; }
.who-why__body .who-why__name + p { margin-top: 0; }

/* The team: three cards, each Pea standing on top of its card */
.who-team { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 40px); }
.who-team .h2 { margin-top: 14px; }
.who-team__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: clamp(84px, 9vw, 104px) auto 0; padding: 0; list-style: none; }
.who-card { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 22px 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.who-card__pea { position: relative; display: grid; place-items: end center; height: 132px; margin: -62px 0 8px; }
.who-card__pea::before { content: ""; position: absolute; left: 50%; bottom: -10px; width: 150px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, rgba(199, 222, 168, .75), rgba(199, 222, 168, 0) 68%); }
.who-card__pea img { position: relative; width: auto; height: 132px; filter: drop-shadow(0 12px 14px rgba(34, 56, 26, .22)); }
.who-card b { font: 800 clamp(22px, 2.3vw, 26px)/1.05 var(--display); letter-spacing: -.03em; color: var(--ink); }
.who-card > span:last-child { max-width: 17em; font-size: 16.5px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.who-team__more { margin-top: 30px; font-size: 17px; color: var(--muted); }
.who-team__more a { font-weight: 700; text-underline-offset: 4px; }

/* What we believe: the band, with Pea and its key standing on top */
.who-own { padding-top: clamp(40px, 6vw, 70px); padding-bottom: 0; }
.who-own .band { overflow: visible; margin-top: clamp(70px, 9vw, 100px); padding-top: clamp(96px, 11vw, 120px); }
.who-own .band::before { border-radius: inherit; }
.who-own .who-own__key { position: absolute; left: 50%; top: 0; transform: translate(-50%, -56%); }
.who-own__key img { width: auto; height: clamp(150px, 17vw, 190px); filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .3)); }

/* Say hello: one warm card */
.who-hello { padding-block: clamp(64px, 9vw, 110px) 0; }
.who-hello__card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(22px, 4vw, 48px); max-width: 820px; margin-inline: auto; padding: clamp(26px, 4vw, 40px) clamp(26px, 5vw, 56px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--pea-soft), var(--card) 72%); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.who-hello__pea { width: auto; height: clamp(150px, 17vw, 196px); filter: drop-shadow(0 16px 18px rgba(34, 56, 26, .22)); }
.who-hello .h2 { margin-top: 12px; font-size: clamp(40px, 5.4vw, 62px); }
.who-hello p { margin-top: 14px; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--muted); }
.who-hello p a { font-weight: 700; color: var(--pea); white-space: nowrap; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.who-hello p a:hover { color: var(--ink); }

/* The close: the pod Pea, or the visitor's own named Pea once they've named it */
.who-close { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(30px, 5vw, 60px); }
.who-close__pea { display: flex; justify-content: center; align-items: flex-end; min-height: 150px; margin-bottom: 10px; }
.who-close__pod { width: clamp(230px, 26vw, 290px); height: auto; filter: drop-shadow(0 18px 22px rgba(34, 56, 26, .2)); }
.who-close__tag { --h: 210px; filter: drop-shadow(0 18px 22px rgba(34, 56, 26, .2)); }
.who-close .h2 { margin-top: 16px; font-size: clamp(38px, 5.8vw, 68px); }
.who-close .cta-row { margin-top: 26px; }
.who-close .only-named { display: none; }
html.has-pea-name .who-close .only-named { display: inline-block; }
html.has-pea-name .who-close .only-unnamed { display: none; }

/* Tablet */
@media (max-width: 860px) {
  .who-team__cards { gap: 14px; }
  .who-card { padding-inline: 16px; }
}

/* Phone */
@media (max-width: 640px) {
  .who-why__in { grid-template-areas: "head pea" "body body"; column-gap: 12px; }
  .who-why__head { align-self: center; }
  .who-why__pea { height: 128px; margin-right: -6px; }
  .who-why__body .who-why__name { margin-top: 18px; }

  .who-team__cards { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .who-card { grid-template-columns: 84px minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 14px; row-gap: 4px; padding: 16px 18px 16px 12px; text-align: left; }
  .who-card__pea { grid-row: span 2; width: 84px; height: 92px; margin: 0; }
  .who-card__pea::before { width: 92px; height: 80px; bottom: -6px; }
  .who-card__pea img { height: 92px; max-width: 84px; object-fit: contain; }
  .who-card b { align-self: end; font-size: 21px; }
  .who-card > span:last-child { align-self: start; font-size: 15.5px; text-wrap: pretty; }

  .who-hello__card { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 24px 22px 30px; text-align: center; }
  .who-hello__pea { height: 140px; }

  .who-close__pod { width: 230px; }
  .who-close__tag { --h: 176px; }
}
