/* About view: founder feature and The Collective portraits.
   Loaded only by the homepage views (index.html, fr/index.html); every rule is
   scoped to #pg-about .team-section so no other page or view is affected. */

#pg-about .team-section {
  padding-top: clamp(64px, 7vw, 100px);
  padding-bottom: clamp(72px, 8vw, 110px);
}

#pg-about .team-section figure {
  margin: 0;
}

#pg-about .team-section img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ── Founder feature ───────────────────────────── */
#pg-about .team-founder {
  align-items: start;
  border-bottom: 1px solid var(--stone);
  column-gap: clamp(40px, 6vw, 96px);
  display: grid;
  grid-template-areas:
    "photo head"
    "photo text";
  grid-template-columns: minmax(220px, 400px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  padding-bottom: clamp(48px, 5.5vw, 80px);
}

#pg-about .team-founder-portrait {
  aspect-ratio: 6 / 7;
  background: var(--mist);
  grid-area: photo;
  overflow: hidden;
}

#pg-about .team-founder-portrait picture {
  display: block;
  height: 100%;
}

/* CSS framing only: the original photograph is unchanged; the frame ends
   above the feet while keeping the face and upper body fully visible. */
#pg-about .team-founder-portrait img {
  object-position: 50% 0%;
}

#pg-about .team-founder-head {
  grid-area: head;
  padding-top: clamp(8px, 2vw, 32px);
}

#pg-about .team-founder-head .eyebrow {
  margin-bottom: 18px;
}

#pg-about .team-founder-name {
  color: var(--graphite);
  line-height: 1.02;
}

#pg-about .team-founder-role {
  color: var(--deep-aubergine);
  font-family: var(--font-d);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.35;
  margin-top: 18px;
}

#pg-about .team-founder-text {
  grid-area: text;
  margin-top: 28px;
  max-width: 640px;
}

/* ── Team introduction ─────────────────────────── */
#pg-about .team-section .collective-header {
  padding-bottom: clamp(32px, 3.5vw, 44px);
  padding-top: clamp(40px, 4.5vw, 64px);
}

/* ── Portrait cards ────────────────────────────── */
#pg-about .team-grid {
  align-items: start;
  column-gap: clamp(28px, 3.4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(40px, 4.5vw, 64px);
  row-gap: 56px;
}

#pg-about .team-card {
  min-width: 0;
}

#pg-about .team-portrait {
  aspect-ratio: 4 / 5;
  background: var(--mist);
  overflow: hidden;
}

/* Bianca's existing photograph is full length; a CSS-only zoom brings her
   framing in line with the half-length portraits beside it. */
#pg-about .team-card--bianca .team-portrait img {
  object-position: 50% 24%;
  transform: scale(1.38);
  transform-origin: 50% 26%;
}

#pg-about .team-card--erika .team-portrait img {
  object-position: 50% 6%;
}

#pg-about .team-card--tigest .team-portrait img {
  object-position: 50% 4%;
}

#pg-about .team-card-head {
  border-top: 1px solid var(--stone);
  margin-top: 24px;
  padding-top: 22px;
}

#pg-about .team-name {
  color: var(--graphite);
  font-family: var(--font-editorial);
  font-optical-sizing: auto;
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.12;
  min-height: 2.24em;
}

#pg-about .team-role {
  color: var(--royal-plum);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.6;
  margin-top: 10px;
  text-transform: uppercase;
}

#pg-about .team-contact {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
}

#pg-about .team-contact-label {
  color: var(--charcoal-mid);
  font-size: 9.5px;
  letter-spacing: .18em;
  margin-right: 6px;
  text-transform: uppercase;
}

#pg-about .team-contact a {
  color: var(--deep-aubergine);
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--royal-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#pg-about .team-card-text {
  color: var(--charcoal-mid);
  font-size: 14px;
  line-height: 1.85;
  margin-top: 18px;
}

#pg-about .team-card-text p + p,
#pg-about .team-card-text p + .team-more,
#pg-about .team-more-body p + p {
  margin-top: 14px;
}

#pg-about .team-accent {
  color: var(--royal-plum);
  font-weight: 500;
}

#pg-about .team-section a:has(> em.team-accent) {
  color: inherit;
  text-decoration-color: var(--royal-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#pg-about .team-closing {
  color: var(--royal-plum);
  font-family: var(--font-d);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 18px;
}

/* ── Expand / collapse (native details) ────────── */
#pg-about .team-more {
  border-bottom: 1px solid var(--stone);
  border-top: 1px solid var(--stone);
  margin-top: 18px;
}

#pg-about .team-more > summary {
  align-items: center;
  color: var(--deep-aubergine);
  cursor: pointer;
  display: flex;
  font-size: 10.5px;
  font-weight: 500;
  gap: 12px;
  justify-content: space-between;
  letter-spacing: .2em;
  line-height: 1.5;
  list-style: none;
  min-height: 44px;
  padding: 10px 0;
  text-transform: uppercase;
}

#pg-about .team-more > summary::-webkit-details-marker {
  display: none;
}

#pg-about .team-more > summary::after {
  color: var(--royal-gold);
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
}

#pg-about .team-more[open] > summary::after {
  content: "\2212";
}

#pg-about .team-more > summary:hover {
  color: var(--royal-plum);
}

#pg-about .team-more > summary:focus-visible {
  outline: 2px solid var(--royal-plum);
  outline-offset: 3px;
}

#pg-about .team-more-close,
#pg-about .team-more[open] .team-more-open {
  display: none;
}

#pg-about .team-more[open] .team-more-close {
  display: inline;
}

#pg-about .team-more-body {
  padding: 4px 0 20px;
}

#pg-about .team-section .advisor-instagram {
  margin-top: 10px !important;
}

#pg-about .team-section .advisor-instagram + p {
  margin-top: 10px;
}

#pg-about .team-section a:focus-visible {
  outline: 2px solid var(--royal-plum);
  outline-offset: 2px;
}

#pg-about .team-vh {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ── Tablet: horizontal portrait rows ──────────── */
@media (max-width: 1100px) {
  #pg-about .team-name {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  #pg-about .team-founder {
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  }

  #pg-about .team-section .collective-header {
    padding-top: 48px;
  }

  #pg-about .team-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  #pg-about .team-card {
    align-items: start;
    column-gap: clamp(24px, 4vw, 40px);
    display: grid;
    grid-template-areas:
      "photo head"
      "photo text";
    grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  #pg-about .team-card + .team-card {
    border-top: 1px solid var(--stone);
    padding-top: 48px;
  }

  #pg-about .team-portrait {
    grid-area: photo;
  }

  #pg-about .team-card-head {
    border-top: 0;
    grid-area: head;
    margin-top: 0;
    padding-top: 0;
  }

  #pg-about .team-card-text {
    grid-area: text;
  }
}

/* ── Phone: compact stack ──────────────────────── */
@media (max-width: 560px) {
  #pg-about .team-founder {
    column-gap: 18px;
    grid-template-areas:
      "photo head"
      "text text";
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  #pg-about .team-founder-head {
    align-self: end;
    padding-top: 0;
  }

  #pg-about .team-founder-head .eyebrow {
    font-size: 9px;
    gap: 10px;
    letter-spacing: .22em;
    margin-bottom: 12px;
  }

  #pg-about .team-founder-head .eyebrow::before {
    display: none;
  }

  #pg-about .team-founder-name {
    font-size: clamp(28px, 8.2vw, 34px) !important;
  }

  #pg-about .team-founder-role {
    font-size: 16px;
    margin-top: 12px;
  }

  #pg-about .team-founder-text {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 24px;
  }

  #pg-about .team-card {
    column-gap: 18px;
    grid-template-areas:
      "photo head"
      "text text";
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  #pg-about .team-card-head {
    align-self: center;
  }

  #pg-about .team-name {
    font-size: 24px;
  }

  #pg-about .team-role {
    font-size: 9.5px;
    letter-spacing: .16em;
  }

  #pg-about .team-contact {
    font-size: 12px;
  }

  #pg-about .team-card-text {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 20px;
  }
}
