/* =====================================================================
   pages/about.css: About page blocks (/about)
   ---------------------------------------------------------------------
   Loaded on about.html only, AFTER the shared design system:
     <link rel="stylesheet" href="assets/css/pds.css">
     <link rel="stylesheet" href="assets/css/pages/about.css">

   Same conventions as pds.css: every class starts "pds-", tokens come
   from pds.css section 1, no inline styles, no url() images. About-only
   classes start "pds-about-". Breakpoints match pds.css: 1180, 1023
   (tablet), 770, 640, 500 (phone).

   Shared components, reused unchanged:
     page header       .pds-page-head (6.20): centred H1 and lede
     eyebrows          .pds-eyebrow (5)
     dark panel        .pds-panel-dark (6.9): mission and values
     video             .pds-embed (6.19), beside the story
     equal tiles       .pds-tiles + .pds-icon-tile (6.18, 6.1): training approach
     closing line      .pds-statement (6.17)
     FAQ               .pds-faq, .pds-acc, links in answers (6.14, 8.10)
     final CTA         .pds-cta-band--pets (6.15), two buttons
   What lives here (in page order):

     AB1  Hero: now pds.css 6.20           (.pds-page-head__benefit, __actions)
     AB2  Mission and values: the big      .pds-about-mission, .pds-about-values
          statement and four values on
          the dark panel
     AB3  Our story: narrative beside      .pds-about-story (__grid, __text, __pull, __video, __caption)
          Bailey's video
     AB4  How we train: icon tiles         .pds-about-method
     AB5  Meet our team: team cards        .pds-team (SHARED CANDIDATE)
     AB7  FAQ: the "Contact us" line       .pds-faq__foot (SHARED CANDIDATE)

   "SHARED CANDIDATE" blocks are written generically, so they can move
   into pds.css as soon as a second page needs them.
   ===================================================================== */


/* ---------------------------------------------------------------------
   AB1. Hero: now pds.css 6.20
   The shared centred page header, with its purple benefit line and one
   centred button under the lede (no visual: Katie, 2026-10-19). The
   benefit line and the button row moved into pds.css 6.20
   (.pds-page-head__benefit, __actions) on 2026-10-21, when the Solutions
   hub became the second centred header to use them. No page-only rules.
   --------------------------------------------------------------------- */


/* ---------------------------------------------------------------------
   AB2. Our mission and values, on the shared dark panel (pds.css 6.9)
   Katie, 2026-10-19: the mission is the page's big statement, not a
   subheading. The section's H2 is the small purple 100 label at the top
   (.pds-eyebrow--on-dark); the mission sits under it in large white
   type, its key phrase in teal 200 (9.2:1 on purple 900).
   The four values are type only (no images): a hairline across the
   panel, then four equal columns, each with a short teal 200 tick, a
   bold white title (H3) and one line in the on-dark grey (11:1).
   4 across from 1024px, an even 2 × 2 on tablets, stacked on phones.
   The section sits close under the hero, so its top padding is short.
   --------------------------------------------------------------------- */
.pds-about-mission { padding-top: clamp(40px, 5vw, 72px); padding-bottom: calc(var(--pds-section-y) * .75); }
.pds-about-mission__statement {
  max-width: 1040px; margin-top: 20px;
  font-size: clamp(1.75rem, 1.05rem + 2.2vw, 2.875rem); font-weight: 500; line-height: 1.2; letter-spacing: -.022em;
  color: #fff; text-wrap: balance;
}
.pds-about-mission__statement strong { font-weight: inherit; color: var(--pds-accent-on-dark); }

.pds-about-values {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 3.6vw, 48px); border-top: 1px solid var(--pds-line-dark);
}
.pds-about-values li { position: relative; padding-top: 18px; }
.pds-about-values li::before { /* short teal tick, as on the benefit row (pds.css 8.2) */
  content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--pds-accent-on-dark);
}
.pds-about-values__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.pds-about-values__title + p { margin-top: 8px; max-width: 34ch; font-size: 1rem; line-height: 1.55; color: var(--pds-on-dark); text-wrap: pretty; }

@media (max-width: 1023px) {
  .pds-about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (max-width: 500px) {
  .pds-about-values { grid-template-columns: 1fr; gap: 24px; }
  .pds-about-values li { padding-top: 14px; }
  .pds-about-values__title { font-size: var(--pds-fs-body-lg); }
  .pds-about-values__title + p { margin-top: 4px; max-width: none; font-size: var(--pds-fs-meta); }
}


/* ---------------------------------------------------------------------
   AB3. Our story: the narrative beside Bailey's video (one section)
   Katie, 2026-10-19: the story needs room to show how hard everyday life
   was for Harry, and that Bailey's help was within reach only because
   she lived in a big city; and the written story and the video belong
   in ONE section. So: short paragraphs beside the video, in two equal
   columns. The big-city point (.pds-about-story__pull) is set larger, in
   purple 700: no box and no side bar (site-wide rule).
   The video is the shared .pds-embed (pds.css 6.19), filling its column,
   with a one-line caption under it. From 1024px it stays in view (sticky
   under the site header) while the longer story beside it is read.
   Stacked below 1024px: the story, then the video.
   --------------------------------------------------------------------- */
.pds-about-story__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(40px, 5.5vw, 88px); align-items: start;
}
.pds-about-story__text p { max-width: 62ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.65; text-wrap: pretty; }
.pds-about-story__text p + p { margin-top: 20px; }
.pds-about-story__text .pds-about-story__pull {
  margin-block: 32px; max-width: 30ch;
  font-size: clamp(1.375rem, 1.05rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.32; letter-spacing: -.018em;
  color: var(--pds-action); text-wrap: balance;
}
.pds-about-story__video { width: 100%; max-width: none; margin: 0; }
.pds-about-story__caption { /* positioned, so it paints above the player's decorative glow */
  position: relative; margin-top: 14px; font-size: var(--pds-fs-meta); font-weight: 500; line-height: 1.45; color: var(--pds-deep);
}

@media (min-width: 1024px) {
  .pds-about-story__video { position: sticky; top: calc(var(--pds-header-h) + 32px); }
}
@media (max-width: 1023px) {
  .pds-about-story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .pds-about-story__text .pds-about-story__pull { margin-block: 24px; }
  .pds-about-story__caption { font-size: var(--pds-fs-small); }
}


/* ---------------------------------------------------------------------
   AB4. How we train
   The shared equal tiles (pds.css 6.18), each with a line icon in a
   round tile (pds.css 6.1, .pds-icon-tile) where an illustration was
   (Katie, 2026-10-19). The tiles' top is purple 50, so the icon disc is
   white (--pds-tint). 4 across, an even 2 × 2 on tablets; on phones each
   tile is a short row (the shared .pds-tiles--rows, pds.css 6.18). Then the vet note (.pds-about-vetnote, the
   end of this file) and the link to Membership.
   --------------------------------------------------------------------- */
.pds-about-method .pds-tile { --pds-tint: #fff; }
.pds-about-method .pds-sec-foot { margin-top: 28px; }


/* ---------------------------------------------------------------------
   AB5. Meet our team
   .pds-team (SHARED CANDIDATE): equal team cards in a list, each a white
   card on the purple 50 band: a square photo across the top, then name
   (H3), role, and last the credentials as a quiet small line, so they
   don't lead (Katie, 2026-10-19). Only the trainers have credentials; no
   card has a bio, so every tile looks the same (Katie, 2026-10-29). Real
   headshots are used as supplied; the crop keeps faces, which sit high in
   these photos (--high for a taller photo).
   <ul class="pds-team">
     <li class="pds-team__card">
       <img class="pds-team__photo" src="…" alt="Name" width="…" height="…" loading="lazy">
       <h3 class="pds-team__name">Name</h3>
       <p class="pds-team__role">Role</p>
       <p class="pds-team__creds"><span class="pds-sr">Credentials: </span>CPDT-KA · KPA-CTP</p>
     </li> …
   </ul>
   - One list for the whole team, trainers mixed in (2026-10-29).
   - Each card spans four rows of the list's grid (subgrid), so names,
     roles and credentials start on the same line across a row, even when
     a name or role wraps; the card's own bottom padding keeps the space
     under a card without credentials.
   - Ten people: an even 5 × 2 on laptops and wider (a 10-column grid, each
     card spans 2); an even 2 × 5 from 641px to 1180px; on phones each card is a short
     row (photo on the left, text on the right).
   - The photo gets an explicit height (one card's width, from the list's
     width in cqi), not height: auto. With height: auto Firefox sized the
     shared photo row from each image file's own height (800px+), so on
     desktop every card grew to ~900px with big gaps between photo, name
     and role (Kim, Firefox 1920x1080, 2026-11-08). Safari mis-sizes a
     wrapper with aspect-ratio in the same spot, so keep the height explicit.
   --------------------------------------------------------------------- */
.pds-team {
  --pds-team-cols: 5; --pds-team-gap: var(--pds-grid-gap);
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--pds-team-gap); container-type: inline-size;
}
.pds-team__card {
  display: grid; grid-column: span 2; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; overflow: hidden; padding-bottom: 22px;
  background: #fff; border: 1px solid var(--pds-line); border-radius: var(--pds-r-card);
}
.pds-team__card > :not(.pds-team__photo) { padding-inline: 18px; }
.pds-team__photo {
  /* A card's width, less its 1px borders: square, like aspect-ratio 1 / 1 */
  width: 100%; height: calc((100cqi - (var(--pds-team-cols) - 1) * var(--pds-team-gap)) / var(--pds-team-cols) - 2px);
  aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 35%;
  background: var(--pds-lav);
}
.pds-team__photo--high { object-position: 50% 20%; }
.pds-team__name {
  padding-top: 18px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
  color: var(--pds-deep); text-wrap: balance;
}
.pds-team__role { padding-top: 2px; font-size: var(--pds-fs-meta); font-weight: 500; line-height: 1.4; color: var(--pds-muted); }
.pds-team__creds {
  padding-top: 14px;
  font-size: var(--pds-fs-caption); font-weight: 500; line-height: 1.4; letter-spacing: .02em; color: var(--pds-muted);
}

@media (max-width: 1180px) {
  .pds-team { --pds-team-cols: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pds-team__card { grid-column: auto; }
}
@media (max-width: 1023px) {
  .pds-team { --pds-team-gap: 16px; }
  .pds-team__card { padding-bottom: 18px; }
  .pds-team__card > :not(.pds-team__photo) { padding-inline: 14px; }
  .pds-team__name { padding-top: 14px; font-size: var(--pds-fs-body-lg); }
  .pds-team__role { font-size: var(--pds-fs-small); }
}
@media (max-width: 640px) {
  .pds-team { grid-template-columns: 1fr; gap: 12px; }
  /* A short row: the photo on the left spans every text row; the last row takes any spare height */
  .pds-team__card {
    grid-row: auto; grid-template-rows: auto auto minmax(0, 1fr); grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 16px; padding: 16px;
  }
  .pds-team__card > :not(.pds-team__photo) { grid-column: 2; padding-inline: 0; }
  .pds-team__photo { grid-column: 1; grid-row: 1 / -1; align-self: start; width: 88px; height: 88px; border-radius: var(--pds-r-sm); }
  .pds-team__name { padding-top: 0; font-size: 1.125rem; }
  .pds-team__creds { padding-top: 10px; }
}


/* ---------------------------------------------------------------------
   AB7. FAQ: the line under the questions (SHARED CANDIDATE)
   "Still have a question? Contact us →": plain text, then the text link
   (only "Contact us" is the link), centred under the accordion.
   --------------------------------------------------------------------- */
.pds-faq__foot { margin-top: 32px; text-align: center; font-weight: 500; color: var(--pds-deep); }
.pds-faq__foot .pds-textlink { margin-left: 4px; }

/* The vet note under the How we train tiles: quiet small copy, no container (Katie, 2026-10-30) */
.pds-about-vetnote { margin: 28px 0 0; text-align: left; color: var(--pds-muted); }
@media (min-width: 641px) { .pds-about-vetnote { white-space: nowrap; } }
