/* ================================================================
   PEOPLE PAGE TEMPLATE
   Figma S1: node 1475:10317  ·  S2: node 1476:10598
   Depends on: ../../style.css (design tokens + layout utilities)
   ================================================================ */


/* ================================================================
   SHARED — pill + button utilities (scoped to pp-)
   ================================================================ */

.pp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 99px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-overhead, 16px);
  font-weight: var(--fw-overhead, 500);
  letter-spacing: var(--ls-overhead, 0.03em);
  line-height: var(--lh-overhead, 0.96);
  text-transform: uppercase;
  white-space: nowrap;
  width: fit-content;
}

/* Navy pill — used on the hero (dark bg context) */
.pp-pill--navy {
  background: var(--color-primary, #071D49);
  color: #fff;
}

/* Teal pill — used on light-bg sections */
.pp-pill--teal {
  background: var(--color-teal, #4FBEBE);
  color: var(--color-primary, #071D49);
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: var(--fw-action, 400);
  line-height: 1;
  letter-spacing: var(--ls-action, -0.01em);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  width: fit-content;
}

.pp-btn:hover { opacity: 0.82; }
.pp-btn__arrow { flex-shrink: 0; }

.pp-btn--primary {
  background: var(--color-primary, #071D49);
  color: #fff;
}


/* ================================================================
   S1 — HERO BANNER
   Figma: node 1475:10317
   ================================================================ */

.pp-hero {
  padding-top: 20px;
  padding-bottom: 20px;
  background: #fff;
}

.pp-hero__card {
  position: relative;
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-1, 0 0 12px rgba(0, 0, 0, 0.09));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 115px 20px 115px;
}

.pp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pp-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pp-hero__overlay {
  position: absolute;
  inset: 0;
}

.pp-hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
}

.pp-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 778px;
  width: 100%;
}

.pp-hero__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pp-hero__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h1, 54px);
  font-weight: var(--fw-h1, 600);
  line-height: var(--lh-h1, 1.16);
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

.pp-hero__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-hero-body, 20px);
  font-weight: var(--fw-hero-body, 500);
  line-height: var(--lh-hero-body, 1.40);
  letter-spacing: var(--ls-hero-body, 0.2px);
  color: #fff;
  max-width: 564px;
  text-align: center;
  margin: 0;
}


/* ================================================================
   S2 — INTRO SPLIT
   Text left · photo right (flush to viewport edge, rounded left corners)
   Figma: node 1476:10598
   ================================================================ */

.pp-intro {
  padding-top: var(--site-py-flush, 0);
  padding-bottom: var(--site-py-flush);
  background: #fff;
  overflow: hidden;
}

.pp-intro__inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.pp-intro__content {
  flex: 1;
  padding: var(--site-py) var(--site-px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  min-width: 0;
  max-width: 840px;
}

.pp-intro__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-intro__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h3, 32px);
  font-weight: var(--fw-h3, 600);
  line-height: 1.10;
  letter-spacing: 0.03em;
  color: var(--color-text, #1E153D);
  margin: 0;
}

.pp-intro__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text, #1E153D);
  margin: 0;
}

/* Photo panel — rounded left corners only, flush right edge */
.pp-intro__photo-wrap {
  flex: 0.5;
  overflow: hidden;
  border-radius: 32px 0 0 32px;
  aspect-ratio: 16/9;
  background: var(--color-stroke, #E8EDF6);
}

.pp-intro__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ================================================================
   S3 — PEOPLE GRID
   Search · department filter · 3-col card grid · pagination
   Figma desktop: node 1475:10325  ·  mobile: 1760:14031 / 1760:14516
   ================================================================ */

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pp-team {
  background: #fff;
  padding: var(--site-py-flush) 0 var(--site-py);
}

.pp-team__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--site-px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ── Section header ── */
.pp-team__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.pp-team__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: var(--fw-h2, 600);
  line-height: var(--lh-h2, 1.10);
  letter-spacing: var(--ls-h2, 0.03em);
  color: var(--color-text, #1E153D);
  margin: 0;
  text-transform: capitalize;
}

/* ── Controls: search + dept filter ── */
.pp-team__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Search bar */
.pp-team__search-wrap {
  flex: 1;
  min-width: 0;
}

.pp-team__search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
  padding: 8px 8px 8px 16px;
  width: 100%;
}

.pp-team__search-icon {
  flex-shrink: 0;
}

.pp-team__search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: 600;
  color: #848484;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
}

.pp-team__search-input::placeholder {
  color: #848484;
  font-weight: 600;
}

/* hide the native clear button on search inputs */
.pp-team__search-input::-webkit-search-cancel-button { display: none; }

.pp-team__search-submit {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary, #071D49);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  padding: 0;
}

.pp-team__search-submit:hover { opacity: 0.80; }

/* Department dropdown */
.pp-team__dept-wrap {
  position: relative;
  flex-shrink: 0;
}

.pp-team__dept-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-primary, #071D49);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  height: 42px;
  transition: opacity 0.2s ease;
  width: 100%;
  justify-content: space-between;
}

.pp-team__dept-btn:hover { opacity: 0.82; }

.pp-team__dept-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pp-team__dept-btn[aria-expanded="true"] .pp-team__dept-chevron {
  transform: rotate(180deg);
}

.pp-team__dept-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-2, 0 0 28px rgba(0, 0, 0, 0.10));
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 100;
  width: 100%;
}

.pp-team__dept-list[hidden] { display: none; }

.pp-team__dept-opt {
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: 400;
  color: var(--color-text, #1E153D);
  cursor: pointer;
  transition: background 0.15s ease;
}

.pp-team__dept-opt:hover,
.pp-team__dept-opt:focus { background: var(--color-stroke, #E8EDF6); outline: none; }

.pp-team__dept-opt--active {
  background: var(--color-stroke, #E8EDF6);
  font-weight: 500;
}

/* ── Card grid ── */
.pp-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual card */
.pp-team__card {
  background: var(--color-stroke, #E8EDF6);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pp-team__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

/* Photo area */
.pp-team__card-photo-link {
  display: block;
  text-decoration: none;
  flex-shrink: 0;

}

.pp-team__card-photo {
  overflow: hidden;
  background-image: url('/wp-content/uploads/2026/07/people-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 300px;
}

.pp-team__card-photo .fallback-image {
    margin: 0 auto;
    min-width: 200px;
    display: flex;
    align-items: center;
    align-content: center;
    height: 100%;
    flex-grow: 1;
}

.pp-team__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.3s ease;
}

.pp-team__card:hover .pp-team__card-photo img {
  transform: scale(1.03);
}

/* Card body */
.pp-team__card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.pp-team__card-name {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-h4, 24px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-text, #1E153D);
  text-decoration: none;
  display: block;
}

.pp-team__card-name:hover { text-decoration: underline; }

.pp-team__card-role {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text, #1E153D);
  margin: 0;
}

/* Contact details */
.pp-team__card-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.pp-team__card-phone,
.pp-team__card-email {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  color: var(--color-text, #1E153D);
  letter-spacing: 0.01em;
}

.pp-team__card-contact-label {
  font-weight: 400;
  line-height: 1.4;
}

.pp-team__card-contact-value {
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text, #1E153D);
  text-decoration: none;
}

.pp-team__card-contact-value:hover { text-decoration: underline; }

.pp-team__card-email-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text, #1E153D);
  text-decoration: none;
}

.pp-team__card-email-link:hover { text-decoration: underline; }

/* Empty state */
.pp-team__empty {
  text-align: center;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 300;
  color: var(--color-text, #1E153D);
  padding: 40px 0;
}

.pp-team__empty a {
  color: var(--color-teal, #4FBEBE);
  text-decoration: underline;
}

/* ── AJAX results wrapper ── */
#pp-team-results {
  transition: opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: var(--site-py-flush);
}

#pp-team-results.is-loading {
  opacity: 0.35;
  pointer-events: none;
  cursor: wait;
}

/* ── Fallback avatar SVG (shown when person has no photo) ── */
.pp-team__card-avatar {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Pagination ── */
.pp-team__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pp-team__pag-prev,
.pp-team__pag-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.pp-team__pag-prev {
  background: #fff;
  border: 1px solid var(--color-stroke, #E8EDF6);
  color: var(--color-primary, #071D49);
}

.pp-team__pag-next {
  background: var(--color-primary, #071D49);
  color: #fff;
  border: none;
}

.pp-team__pag-prev:hover:not(.is-disabled),
.pp-team__pag-next:hover:not(.is-disabled) { opacity: 0.80; }

.pp-team__pag-prev.is-disabled,
.pp-team__pag-next.is-disabled {
  opacity: 0.20;
  pointer-events: none;
}

.pp-team__pag-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: var(--color-stroke, #E8EDF6);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-text, #1E153D);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.pp-team__pag-num:hover:not(.is-active) {
  background: #d0d7e8;
}

.pp-team__pag-num.is-active {
  background: var(--color-primary, #071D49);
  color: #fff;
}

.pp-team__pag-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: 500;
  color: var(--color-primary, #071D49);
}


/* ================================================================
   S4 — ETHOS / MISSION
   Figma: node 1475:10363
   50/50 split: photo left (right-rounded corners), text right
   Modelled on ha-ethos / pa-ethos
   ================================================================ */

.pp-ethos {
  background: #fff;
  overflow: hidden;
  padding: var(--site-py-flush) 0 var(--site-py);
}

/* ── Flex row ────────────────────────────────────────────────── */

.pp-ethos__inner {
  display: flex;
  min-height: 560px;
}

/* ── Left: full-height photo ─────────────────────────────────── */

.pp-ethos__img-wrap {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
  /* Right corners rounded, left edge flush with viewport */
  border-radius: 0 32px 32px 0;
  aspect-ratio: 16 / 9;
}

.pp-ethos__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Right: text content ─────────────────────────────────────── */

.pp-ethos__content {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: var(--site-py) var(--site-px);
  max-width: 720px;
}

.pp-ethos__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pp-ethos__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--color-text, #1E153D);
  margin: 0;
}

.pp-ethos__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body, 18px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-text, #1E153D);
}

.pp-ethos__body p { margin: 0 0 1em; }
.pp-ethos__body p:last-child { margin-bottom: 0; }


/* ================================================================
   S5 — CTA BANNER
   Figma: node 1475:10502
   Tinted outer + dark rounded card with gradient, two buttons
   Modelled on pa-cta (S7 of partnerships)
   ================================================================ */

.pp-cta {
  background: var(--color-stroke, #E8EDF6);
  padding: var(--site-py) 40px var(--site-py-flush);
}

/* ── Dark card ───────────────────────────────────────────────── */

.pp-cta__card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
}

/* ── Background layers ───────────────────────────────────────── */

.pp-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Deep dark base */
.pp-cta__bg-dark {
  position: absolute;
  inset: 0;
  background: #060f20;
  opacity: 0.89;
}

/* Soft teal-to-navy blurred glow */
.pp-cta__bg-gradient {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    129deg,
    #4fbebe 24%,
    #071D49 70%,
    #1E153D 94%
  );
  opacity: 0.35;
  filter: blur(37px);
}

/* ── Content ─────────────────────────────────────────────────── */

.pp-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  width: 100%;
}

.pp-cta__heading {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: var(--fs-h2, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

.pp-cta__body {
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-body-s, 14px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
  max-width: 540px;
}

/* ── Button row ──────────────────────────────────────────────── */

.pp-cta__btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Primary button — light fill, dark text */
.pp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--color-stroke, #E8EDF6);
  border-radius: 999px;
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-text, #1E153D);
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.pp-cta__btn:hover { opacity: 0.85; color: var(--color-text, #1E153D); }

/* Ask William — teal border with bilateral glow */
.pp-cta__ask-william {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 2px solid var(--color-teal, #4FBEBE);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.01);
  font-family: var(--font-body, 'Rubik', sans-serif);
  font-size: var(--fs-action, 16px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  box-shadow:
    -6px 0 15px 0 rgba(79, 190, 190, 0.45),
     6px 0 15px 0 rgba(77, 78, 185, 0.45);
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.pp-cta__ask-william:hover { opacity: 0.85; color: #fff; }


/* ================================================================
   S6 — GOOGLE REVIEWS
   Figma: node 1475:10448
   Tinted (#E8EDF6) background, reviews shortcode
   Modelled on pa-reviews (S8 of partnerships)
   ================================================================ */

.pp-reviews {
  background: var(--color-stroke, #E8EDF6);
  padding: 20px 0 var(--site-py);
}

.pp-reviews .carousel-slide {
    background: #fff;
}


/* ================================================================
   RESPONSIVE — 1366px laptop
   ================================================================ */
@media (max-width: 1366px) {
  .pp-team__container {
    padding: 0 var(--site-px);
  }

  .pp-intro__photo-wrap{
    flex: 1;
  }

}


/* ================================================================
   RESPONSIVE — 1024px tablet
   ================================================================ */
@media (max-width: 1024px) {


  /* S1 */
  .pp-hero{
    padding-top: 0;
  }

  .pp-hero__card {
    border-radius: 0;
  }

  /* S2 */

  .pp-intro {
    padding-bottom: 0;
}

  .pp-intro__inner {
    flex-direction: column;
}

.pp-intro__content {
    padding: 0 var(--site-px) var(--site-py);
    max-width: 100%;
}

.pp-team__card-photo {
  aspect-ratio: unset;
}

.pp-intro__photo-wrap {
    border-radius: 0 50px 0 0;
}

  /* S4 — Ethos: stack vertically, photo becomes banner */
  .pp-ethos { padding-bottom: 0; }

  .pp-ethos__inner {
    flex-direction: column;
    min-height: auto;
  }

  .pp-ethos__img-wrap {
    flex: none;
    border-radius: 0 50px 0 0;
  }

  .pp-ethos__content {
    flex: none;
    padding: var(--site-py) var(--site-px) var(--site-py);
    max-width: 100%;
  }

  .pp-ethos__heading { font-size: var(--fs-h2); }

  /* S5 — CTA: remove outer padding, card goes edge-to-edge */
  .pp-cta { padding: 0; }
  .pp-cta__card    { padding: 60px 40px; border-radius: 0; }
  .pp-cta__heading { font-size: var(--fs-h3); }

  /* S6 — Reviews */
  .pp-reviews { padding-top: var(--site-py); }

  .pp-team__container {
    padding: 0 var(--site-px);
    gap: 32px;
  }

  .pp-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }


  .pp-team__card-name {
    font-size: var(--fs-h4);
  }

  .pp-team__card-role {
    font-size: var(--fs-body);
  }

  .pp-team__search-wrap {
    flex: 1 1 100%;
  }
}


/* ================================================================
   RESPONSIVE — 767px mobile
   ================================================================ */
@media (max-width: 767px) {

  /* S4 — Ethos */
  .pp-ethos__img-wrap { height: 260px; }

  /* S5 — CTA */
  .pp-cta { padding: 0; }

  .pp-cta__card {
    border-radius: 0;
    padding: 60px 20px;
    min-height: auto;
  }

  .pp-hero__card {
    padding: 60px 20px;
}

  .pp-cta__btns {
    flex-direction: column;
  }

  .pp-cta__btn,
  .pp-cta__ask-william {
    width: 100%;
    justify-content: center;
  }


  .pp-team__container {
    padding: 0 var(--site-px);
    gap: 24px;
  }

  /* Controls: stacked */
  .pp-team__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pp-team__search-wrap {
    flex: none;
    width: 100%;
  }

  .pp-team__dept-wrap {
    align-self: flex-start;
    width: 100%;
  }

  /* 2-col grid on mobile — matches Figma */
  .pp-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Simpler cards on mobile — photo shorter, no contact row */

  .pp-team__card-body {
    padding: 12px 16px 16px;
    gap: 4px;
  }

  .pp-team__card-name {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  /* Hide phone/email on mobile — matches Figma mobile design */
  .pp-team__card-contact {
    display: none;
  }

  /* Pagination: tighter spacing */
  .pp-team__pagination {
    gap: 8px;
  }

  .pp-team__pag-prev,
  .pp-team__pag-next {
    padding: 10px 16px;
    font-size: var(--fs-body-s);
  }

  .pp-team__pag-num {
    width: 36px;
    height: 36px;
    font-size: var(--fs-body-s);
  }

  .pp-team__pag-ellipsis,
  .pp-team__pag-num--last,
  .pp-team__pag-num--hide-mobile { display: none; }
}
