/* Our people and staff profiles in the Signature design (docs/SIGNATURE-PAGES.md) */
html[data-look="signature"]{
  /* Shared measures, so the bio lines up under the name */
  .pp-hero-in,.pp-about{--pp-rail:clamp(11rem,28vw,24rem);--pp-gap:clamp(2rem,5vw,5rem)}

  /* Profile hero: photo left, name and contact right (text comes first in the HTML) */
  .pp-hero{background:var(--stone);padding-block:clamp(2.5rem,5vw,4.5rem)}
  .pp-hero-in{display:grid;grid-template-columns:var(--pp-rail) minmax(0,1fr);column-gap:var(--pp-gap);align-items:center}
  .pp-ph{order:-1;overflow:hidden;border-radius:var(--r-lg);aspect-ratio:3/4;background:var(--grey)}
  .pp-ph img{display:block;width:100%;height:100%;object-fit:cover}

  .pp-ph img{object-position:50% 0}
  /* No photo: no picture column; the name and details take the width */
  .pp-hero-solo{grid-template-columns:minmax(0,1fr)}
  /* A card with no photo: initials on a Forest tile, in the shared 4/5 frame */
  .s-person-ph.pp-noph{display:grid;place-items:center;background:var(--forest);color:#fff;font:300 clamp(2.5rem,6vw,4.5rem)/1 var(--serif);letter-spacing:-.02em}

  /* Back link above the name */
  .pp-crumb{margin:0;font:500 0.8125rem/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase}
  .pp-crumb a{color:var(--forest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:0.25em}
  .pp-crumb a:hover{text-decoration-color:currentColor}

  /* Name, offices and buttons */
  .pp-h1{margin:1rem 0 0;font:300 clamp(min(2.5rem,12vw),5.6vw,5rem)/1.04 var(--serif);letter-spacing:-.022em;text-wrap:balance;overflow-wrap:break-word}
  .pp-where{margin:0.5rem 0 0;font-size:0.9375rem;color:var(--mid)}
  .pp-where a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:0.2em}
  .pp-where a:hover{color:var(--ink)}
  .pp-acts{margin-top:1.5rem}
  .pp-acts .line{flex:0 0 auto}

  /* Mobile and email under a rule */
  .pp-contact{display:flex;flex-wrap:wrap;gap:0.75rem 3rem;margin:1.5rem 0 0;padding-top:1.5rem;border-top:1px solid var(--rule)}
  .pp-contact dt{font:500 0.8125rem/1.3 var(--sans);color:var(--mid)}
  .pp-contact dd{margin:0.25rem 0 0;font-size:1.0625rem;overflow-wrap:anywhere}
  .pp-contact a{hyphens:none}  /* never a false hyphen inside a phone number or an email address */
  .pp-contact a{color:var(--forest);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:0.2em}

  /* About: heading and specialities in the rail, bio beside it */
  .pp-about{display:grid;grid-template-columns:var(--pp-rail) minmax(0,1fr);column-gap:var(--pp-gap);align-items:start}
  .pp-label{margin:1.5rem 0 0;font:500 0.8125rem/1.3 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mid)}
  .pp-specs{list-style:none;margin:0.75rem 0 0;padding:0}
  .pp-specs li{padding:0.625rem 0;border-top:1px solid var(--rule);font-size:1rem;line-height:1.4}
  .pp-specs li:last-child{border-bottom:1px solid var(--rule)}
  .pp-bio{max-width:41rem}
  .pp-bio>:first-child{margin-top:0}
  .pp-bio>:last-child{margin-bottom:0}

  /* Team: heading and link share a baseline */
  .pp-team .s-head{align-items:baseline}
  /* No single word left alone on a heading's last line */
  .pp-about .ar-more-h,.pp-team .ar-more-h{text-wrap:balance}

  /* Cards on these pages: every card ends with one action on the same line, a Book button or a link to the profile,
     so a row's bottoms are even whatever the name's length */
  .pp-all .s-person-t>:last-child,.pp-team .s-person-t>:last-child{margin-top:auto}
  .pp-all .s-person-t>p:last-of-type,.pp-team .s-person-t>p:last-of-type{margin-bottom:1rem}
  .pp-more{align-self:flex-start;height:2.5rem;color:var(--forest)}


  /* Our people: chip counts, coming-soon offices, result count */
  .pp-filters .s-chips button small{margin-left:0.375rem;font:inherit;font-size:0.75rem;opacity:.65}
  .pp-filters .s-chips button:disabled{color:var(--mid);background:transparent;border-style:dashed;cursor:default}
  .pp-filters .s-chips button:disabled:hover{border-color:var(--rule)}
  .pp-count{margin:0 0 1rem;font:500 0.875rem/1.3 var(--sans);color:var(--mid)}
  .pp-count:empty{display:none}

  /* No profiles for an office yet */
  .pp-empty{display:grid;justify-items:start;gap:1rem;padding:clamp(1.5rem,3vw,2.5rem);border-radius:var(--r-lg);background:#fff}
  .pp-empty .s-sub{margin:0}

  /* Join the team: photo and text side by side */
  .pp-join{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem clamp(1.5rem,4vw,4rem);align-items:center}
  .pp-join-ph{overflow:hidden;border-radius:var(--r-lg);aspect-ratio:3/2;background:var(--grey)}
  .pp-join-ph img{display:block;width:100%;height:100%;object-fit:cover}
  .pp-join-t .s-acts{margin-top:1.5rem}

  /* Tablet: join stacks */
  @media (max-width:56.25em){
    .pp-join{grid-template-columns:minmax(0,1fr)}
  }

  /* Phone: everything stacks; the portrait runs edge to edge under the menu bar as a 3:2 band cropped from the top
     (head and shoulders, the face never cut), so the name, role and Book button are all on the first screen */
  @media (max-width:36em){
    .pp-hero{padding-top:0}
    .pp-hero-solo{padding-top:2.5rem}
    .pp-hero-in{grid-template-columns:minmax(0,1fr);row-gap:1.5rem}
    .pp-ph{margin-inline:calc(var(--gut) * -1);border-radius:0;aspect-ratio:3/2}
    .pp-hero-t{min-width:0}
    .pp-about{grid-template-columns:minmax(0,1fr);row-gap:1.5rem}
    .pp-join{padding-top:0}
    .pp-join-ph{margin-inline:calc(var(--gut) * -1);border-radius:0}
    .pp-more{height:2.25rem}
  }

  /* Small phone: the main button runs the full width */
  @media (max-width:30em){
    .pp-acts .book{flex:1 1 100%;justify-content:center}
  }
  /* Very large text on a small phone: "Book a call with Antoinette" keeps the name whole (the shared wrapping alone
     still broke it mid-word): less side padding, and the arrow gives its room to the label */
  @media (max-width:15em){
    main .pp-acts .book.lg{padding-inline:0.75rem}
    .pp-acts .book svg{display:none}
    .pp-acts .line{padding-inline:0;text-align:left}  /* the text links stay on the left edge, as the shared closing panel's does */
  }
  /* The narrowest phones: a card's Book button has less padding, and grows if a long name still takes two lines */
  @media (max-width:22.5em){
    .pp-all .s-book,.pp-team .s-book{gap:0.375rem;height:auto;min-height:2.25rem;padding:0.375rem 0.75rem;line-height:1.15}
  }
}
