/* About page, team listing and team profiles (about/index.php, team/index.php). Site tokens from style.css. */
.ab, .tp, .ab-team { --ab-line: rgba(23, 25, 35, .12); --ab-muted: #5b6474; --ab-accent: var(--gold-dk, #C2410C); }
.ab-h2 { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.15; margin: 6px 0 18px; text-wrap: balance; }
.ab-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-split-rev > :first-child { order: 2; }
.ab-split-noimg { grid-template-columns: minmax(0, 760px); justify-content: center; }
.ab-figure { position: relative; margin: 0; }
.ab-figure img { width: 100%; height: auto; display: block; border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(23, 25, 35, .4); }
.ab-wide .ab-figure img { aspect-ratio: 21 / 9; }
.ab-figure figcaption { margin-top: 10px; font-size: .84rem; color: var(--ab-muted); line-height: 1.5; }
.ab-est { position: absolute; right: -14px; bottom: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--ab-accent); color: #fff; font-family: var(--serif); font-size: 1.7rem; line-height: 1; box-shadow: 0 14px 30px -10px rgba(194, 65, 12, .6); }
.ab-est small { font-family: var(--sans); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px; }
.ab-est-inline { font-size: .86rem; color: var(--ab-muted); letter-spacing: .06em; }
.ab-lead, .ab-body { color: #374151; font-size: 1.03rem; line-height: 1.85; }
.ab-lead p, .ab-body p { margin: 0 0 1em; text-align: start !important; }
.ab-narrow { max-width: 760px; margin: 0 auto; }
.ab-text .btn, .ab-narrow .btn { margin-top: 10px; }
.ab-mvh { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-mvh-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ab-mvh-1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.ab-mvh-card { background: #fff; border-radius: 16px; padding: 30px 26px; border: 1px solid var(--ab-line); position: relative; overflow: hidden; }
.ab-mvh-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--ab-accent); }
.ab-mvh-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center; background: #fff7ed; color: var(--ab-accent); margin-bottom: 14px; }
.ab-mvh-ic svg { width: 24px; height: 24px; }
.ab-mvh-eyebrow { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); margin-bottom: 4px; }
.ab-mvh-card h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 10px; }
.ab-mvh-card .ck-content, .ab-mvh-card .ck-content p { color: #4b5563; font-size: .95rem; line-height: 1.75; text-align: start !important; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.ab-quote { margin: 24px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ab-accent); }
.ab-quote p { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.45; color: var(--ink); margin: 0; }
.ab-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .88rem; color: var(--ab-muted); }
.ab-quote cite::before { content: '— '; }
.ab-quote-wrap { max-width: 900px; text-align: center; }
.ab-quote-wrap .ab-quote { border: 0; padding: 0; }
.ab-quote-wrap .ab-quote p { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); }
.ab-team-more { text-align: center; margin-top: 30px; }
/* Team cards */
.tm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 22px; }
.tm-grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.tm-card { position: relative; background: #fff; border: 1px solid var(--ab-line, rgba(23,25,35,.12)); border-radius: 16px; overflow: hidden; transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s; }
.tm-card:hover, .tm-card:focus-within { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(23, 25, 35, .3); }
.tm-photo { aspect-ratio: 4 / 5; background: #f3efe8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tm-grid-sm .tm-photo { aspect-ratio: 1; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-initials { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-dk, #C2410C); opacity: .75; letter-spacing: .04em; }
.tm-body { padding: 16px 18px 20px; }
.tm-name { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 2px; }
.tm-name a { color: var(--ink); }
.tm-name a::after { content: ''; position: absolute; inset: 0; }
.tm-name a:focus-visible { outline: none; } .tm-card:focus-within { outline: 3px solid var(--gold-dk); outline-offset: 2px; }
.tm-role { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); }
.tm-bio { margin: 10px 0 0; font-size: .88rem; color: #4b5563; line-height: 1.6; }
.tm-group + .tm-group { margin-top: 44px; }
.tm-group-h { font-family: var(--sans); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 16px; }
/* Profile */
.tp-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tp-photo { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: #f3efe8; display: flex; align-items: center; justify-content: center; position: sticky; top: calc(var(--header-offset, 140px) + 10px); }
.tp-photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-photo .tm-initials { font-size: 4.5rem; }
.tp-name { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin: 4px 0 6px; line-height: 1.1; }
.tp-role { font-size: .86rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); margin: 0 0 22px; }
.tp-bio, .tp-bio p { color: #374151; line-height: 1.85; font-size: 1.03rem; }
.tp-h2 { font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin: 28px 0 10px; }
.tp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tp-tags li { padding: 5px 12px; border-radius: 999px; background: #faf7f2; border: 1px solid var(--ab-line); font-size: .84rem; }
.tp-list { margin: 0; padding-left: 1.2em; color: #374151; line-height: 1.8; }
.tp-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.tp-links a { display: inline-flex; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--ab-line); color: var(--ink); font-weight: 600; font-size: .88rem; }
.tp-links a:hover { border-color: var(--ink); }
.tp-more { margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) {
  .ab-split, .tp-grid { grid-template-columns: minmax(0, 1fr); } .ab-split-rev > :first-child { order: 0; }
  .ab-mvh, .ab-mvh-2 { grid-template-columns: minmax(0, 1fr); }
  .ab-est { right: 12px; width: 84px; height: 84px; font-size: 1.35rem; }
  .tp-photo { position: static; max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { .tm-card { transition: none; } }
