/* ==========================================================================
   About page sections
   ========================================================================== */


/* Breadcrumb */
.breadcrumb { padding-block: var(--sp-3); font-size: var(--fs-300); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: var(--sp-2); color: var(--text-muted); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* Intro lead block */
.about-intro { max-width: 70ch; }
.about-intro p { font-size: var(--fs-500); color: var(--ink-soft); }
.about-intro p + p { margin-top: var(--sp-4); }
.about-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-5); padding: var(--sp-2) var(--sp-4);
  background: var(--green-050); color: var(--brand);
  border-radius: var(--r-pill); font-size: var(--fs-300); font-weight: 600;
}

/* Vision / Mission pair */
.vm-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card {
  padding: var(--sp-7) var(--sp-6); border-radius: var(--r-lg);
  position: relative; overflow: hidden;
}
.vm-card--vision { background: var(--brand); color: var(--on-brand); }
.vm-card--mission { background: var(--orange-050); color: var(--ink); border: 1px solid var(--orange-100); }
.vm-card__label {
  font-size: var(--fs-300); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: var(--sp-3); display: block;
}
.vm-card--vision .vm-card__label { color: var(--orange-300); }
.vm-card--mission .vm-card__label { color: var(--accent-ink); }
.vm-card__text { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-600); line-height: var(--lh-snug); }
.vm-card--vision .vm-card__text { color: var(--on-brand); }

/* Stat row */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; text-align: center; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat__num {
  font-family: var(--font-display); font-weight: 900; font-size: var(--fs-800);
  color: var(--brand); letter-spacing: -0.02em; line-height: 1;
}
.stat__label { color: var(--text-muted); margin-top: var(--sp-2); font-size: var(--fs-400); }

/* People grid (board / management) */
.people-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
.person {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
}
/* 4:3 rather than square: the card reads wider than it is tall instead of
   a narrow tower. Portraits are anchored high so faces stay in frame. */
.person__photo {
  aspect-ratio: 4 / 3; background: var(--green-050);
  display: flex; align-items: center; justify-content: center;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person__photo svg { width: 56px; height: 56px; color: var(--green-300); }
.person__body { padding: var(--sp-4) var(--sp-5); }
.person__name { font-size: var(--fs-500); font-weight: 700; }
.person__role { color: var(--text-muted); font-size: var(--fs-300); margin-top: 2px; }

.about-note {
  font-size: var(--fs-300); color: var(--text-muted);
  background: var(--bg-alt); border-left: 3px solid var(--brand-accent);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-5);
}

/* A standalone action under a section (not a note callout) */
.scheme-cta-row { display: flex; justify-content: center; margin-top: var(--sp-6); }

/* Section anchor offset so sticky header doesn't cover headings */
[id] { scroll-margin-top: 100px; }

/* ==========================================================================
   People listing + individual profile
   ========================================================================== */

/* Clickable person card in a listing */
a.person { text-decoration: none; color: inherit; transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease); display: block; }
a.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
a.person:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.person__photo { position: relative; }
.person__badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: var(--brand-accent); color: var(--on-brand);
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 2px 8px; border-radius: var(--r-pill);
}
.person__more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 600; font-size: var(--fs-300); margin-top: var(--sp-2); }
a.person:hover .person__more { gap: 8px; }

/* Individual profile layout */
.profile { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .profile { grid-template-columns: 300px 1fr; gap: var(--sp-8); } }
.profile__media { position: sticky; top: 100px; }
.profile__photo {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-lg);
  background: var(--green-050); object-fit: cover;
  display: flex; align-items: center; justify-content: center;
}
.profile__photo svg { width: 84px; height: 84px; color: var(--green-300); }
.profile__role { color: var(--accent-ink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: var(--fs-300); margin-bottom: var(--sp-2); }
.profile h1, .profile__name { font-size: var(--fs-700); margin-bottom: var(--sp-3); }
.profile__appointed { color: var(--text-muted); font-size: var(--fs-300); margin-bottom: var(--sp-5); }
.profile__bio p { color: var(--ink-soft); max-width: 70ch; }
.profile__bio p + p { margin-top: var(--sp-4); }
.profile__back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; text-decoration: none; margin-bottom: var(--sp-5); }
.profile__back:hover { gap: 10px; }

/* About Us overview — two-column text + image */
.about-overview { display: grid; gap: var(--sp-6); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about-overview { grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-8); } }
.about-overview__text h2 { margin-bottom: var(--sp-4); }
.about-overview__text p { color: var(--ink-soft); font-size: var(--fs-500); }
.about-overview__text p + p { margin-top: var(--sp-4); }
.about-overview__media img {
  width: 100%; border-radius: var(--r-lg); aspect-ratio: 1 / 1;
  object-fit: cover; box-shadow: var(--shadow-md);
}

/* --- Monogram placeholder (partials/monogram) ---
   Used until a trustee / manager photo is uploaded in the CMS. */
/* Composed like the playbook cover: initials top-left, the wave sweeping
   across the foot and running off the right edge. */
.monogram {
  position: relative;
  display: flex; align-items: flex-start; justify-content: flex-start;
  width: 100%; height: 100%;
  padding: clamp(1rem, 0.6rem + 1.4vw, 1.5rem) clamp(1.1rem, 0.7rem + 1.6vw, 1.75rem);
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 85% 0%, rgba(12,169,75,0.45), transparent 60%),
    linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: inherit;
}
.monogram__letters {
  position: relative; z-index: 1;
  font-family: var(--font-campaign);
  font-stretch: var(--campaign-stretch);
  font-weight: 800;
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--on-brand);
  transform: skewY(var(--campaign-skew));
  transform-origin: left bottom;
  transition: color var(--dur-mid) var(--ease);
}
/* max-width: none overrides the base `svg { max-width: 100% }` reset,
   which was capping the wave at the tile edge and leaving a flat-cut end
   short of the right side. Now it's wider than the tile and bleeds off. */
.person__photo .monogram__swoosh,
.profile__photo .monogram__swoosh {
  position: absolute;
  left: -14%; right: auto; bottom: -6%;
  width: 128%; max-width: none; height: auto;
  color: inherit;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%);
          mask-image: linear-gradient(90deg, transparent, #000 32%);
  transform: translateX(-3%);
  transition: transform var(--dur-slow) var(--ease-out);
}
/* Hover: initials warm to amber and the wave glides the last stretch home */
a.person:hover .monogram__letters { color: var(--sun-amber); }
a.person:hover .monogram__swoosh { transform: translateX(0); }
