:root {
  --bg: #f5f1e8;
  --paper: #fcfaf5;
  --ink: #1d1a16;
  --muted: #746e65;
  --line: #d7d0c4;
  --gold: #b77708;
  --deep: #292118;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Aptos, 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; opacity: 1; transition: opacity 140ms ease; animation: page-arrive 180ms ease-out both; }
body.page-leaving { opacity: .84; }
@keyframes page-arrive { from { opacity: .92; } to { opacity: 1; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }

.developmentNotice { background: var(--paper); color: var(--muted); border-bottom: 1px solid var(--line); }
.developmentNoticeInner { min-height: 34px; display: flex; align-items: center; justify-content: center; padding-block: 7px; text-align: center; font: 400 13px/1.4 Aptos, 'Segoe UI', Arial, sans-serif; letter-spacing: .005em; }

.masthead { position: relative; z-index: 10; background: var(--bg); }
.mastheadRow { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; width: max-content; font-size: 16px; font-weight: 650; letter-spacing: .01em; }
.wordmark img { width: 37px; height: 37px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.nav a { padding: 4px 0 6px; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.menuButton { display: none; justify-self: end; border: 0; background: none; font: inherit; }

.pageHero { padding: 70px 0 90px; border-bottom: 1px solid var(--ink); }
.pageHeroTop { display: grid; grid-template-columns: 1fr 2fr; }
.pageHero h1 { grid-column: 2; margin: 90px 0 28px; max-width: 1050px; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: clamp(52px, 5.6vw, 82px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.pageHeroLead { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.pageHeroLead p { margin: 0; max-width: 520px; font-size: 18px; }

.aboutHero, .leadershipSection { width: min(1500px, calc(100% - 40px)); }
.aboutHero { padding-bottom: 48px; }
.aboutHero .pageHeroTop { display: block; }
.aboutHero h1 { margin-top: 24px; font-size: clamp(44px, 4.2vw, 62px); }
.aboutHero .pageHeroLead { display: block; }
.aboutHero .pageHeroLead p { max-width: 1240px; font-size: 17px; }
.leadershipSection { padding: 42px 0 88px; }
.leadershipList { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.leaderRow { min-width: 0; min-height: 174px; padding: 22px 10px; display: grid; place-items: center; align-content: center; row-gap: 18px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.leaderPhoto { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; }
.avatarIcon { position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; background: var(--line); }
.avatarIcon::before { content: ''; position: absolute; top: 10px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); }
.avatarIcon::after { content: ''; position: absolute; left: 10px; bottom: 6px; width: 28px; height: 18px; border-radius: 18px 18px 0 0; background: var(--muted); }
.leaderInfo { width: 100%; min-width: 0; display: grid; justify-items: center; row-gap: 6px; padding: 0; text-align: center; }
.leaderInfo h3, .leaderInfo .leaderTitle { width: 100%; margin-inline: auto; text-align: center; }
.leaderRow h3 { margin-block: 0; font-family: 'Aptos Display', Aptos, 'Segoe UI', sans-serif; font-size: 18px; line-height: 1.15; letter-spacing: -.025em; font-weight: 550; }
.leaderTitle { margin-block: 0; max-width: none; white-space: nowrap; font-size: clamp(10px, .72vw, 11px); letter-spacing: -.025em; font-weight: 650; line-height: 1.25; }

.footer { background: var(--deep); color: white; }
.footerMain { min-height: 220px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: 50px 0; }
.footerNav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; align-content: start; font-size: 13px; }
.footerLegal { margin: 0; color: #999; font-size: 11px; line-height: 1.6; }
.footerBase { min-height: 70px; display: flex; justify-content: flex-start; align-items: center; border-top: 1px solid #464646; color: #999; font: 400 12px/1.4 Aptos, 'Segoe UI', Arial, sans-serif; }

@media (max-width: 1180px) {
  .leadershipList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leaderTitle { font-size: 11px; }
}

@media (max-width: 980px) {
  .wrap { width: min(100% - 40px, 760px); }
  .mastheadRow { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menuButton { display: block; }
  .nav.is-open { position: absolute; top: 78px; left: 20px; right: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px; background: var(--bg); border: 1px solid var(--line); }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .leadershipList { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footerMain { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .pageHero { padding-block: 48px 70px; }
  .aboutHero h1 { margin-top: 48px; font-size: 44px; }
  .leadershipSection { padding: 42px 0 68px; }
  .leadershipList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leaderRow { min-height: 156px; padding: 18px 10px; }
  .footerBase { align-items: flex-start; gap: 12px; flex-direction: column; padding-block: 20px; }
}

@media (max-width: 420px) {
  .leadershipList { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  body { animation: none; transition: none; }
}
