/* ============================================================
   TEAM PAGE — section styles
   ============================================================ */

/* ---------- Founder hero ---------- */
.fhero{
  background:var(--teal-deep);
  color:var(--cream);
  min-height:680px;
  display:grid;
  grid-template-columns:minmax(480px, 720px) 1fr;
  position:relative;
  overflow:hidden;
}
.fhero .portrait{
  background:#0a1716;
  border-right:1px solid rgba(217,183,138,.2);
  position:relative;
  min-height:680px;
}
.fhero .portrait::before{
  content:none;
}
.fhero .portrait .is-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  display:block;
  --is-bg:transparent; --is-fg:rgba(217,183,138,.55);
}
.fhero .body{
  padding:96px 80px;
  display:flex; flex-direction:column; gap:32px;
  justify-content:center;
  max-width:880px;
}
.fhero h1{
  font-size:clamp(44px, 5vw, 76px);
}
.fhero .lede{ font-size:23px; line-height:1.5; }
.fhero .signature{
  display:flex; gap:36px; flex-wrap:wrap;
  padding-top:24px; border-top:1px solid rgba(217,183,138,.2);
  margin-top:8px;
}
.fhero .signature .n{
  font-family:var(--display); font-weight:300; font-size:48px;
  line-height:1; color:var(--accent); letter-spacing:-.015em;
}
.fhero .signature .l{
  font-family:var(--mono); font-size:11px; letter-spacing:.22em;
  text-transform:uppercase; color:rgba(217,183,138,.75);
  margin-top:8px;
}
@media (max-width:980px){
  .fhero{ grid-template-columns:1fr; }
  .fhero .portrait{ min-height:480px; border-right:none;
    border-bottom:1px solid rgba(217,183,138,.2); }
  .fhero .body{ padding:64px 32px; }
  .fhero .lede{ font-size:18px; }
  .fhero .signature{ gap:24px; }
  .fhero .signature .n{ font-size:36px; }
}

/* ---------- Founder bio (long-form) ---------- */
.fbio{ background:var(--cream); color:var(--ink); padding:120px 0; }
.fbio .grid{
  display:grid; grid-template-columns:200px 1fr; gap:64px;
  max-width:1000px; margin:0 auto;
}
.fbio .sidehead{
  font-family:var(--mono); font-size:11px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--sage);
  position:sticky; top:96px; align-self:start;
}
.fbio .sidehead .num{ color:var(--accent); margin-right:8px; }
.fbio .body p{
  font-family:var(--display); font-weight:400;
  font-size:22px; line-height:1.5; color:var(--ink);
  margin:0 0 24px;
  text-wrap:pretty;
}
.fbio .body p.first::first-letter{
  font-size:84px; line-height:.85; float:left;
  margin:8px 14px 0 0; font-weight:300;
  color:var(--accent);
}
.fbio .body p em{ color:var(--sage); }
.fbio .body p .accent{
  color:var(--accent);
  font-style:italic;
  font-family:var(--display);
}
.fbio .body .closing{
  font-family:var(--display); font-style:italic; font-weight:400;
  font-size:34px; line-height:1.2;
  color:var(--accent);
  margin-top:32px;
  text-wrap:balance;
}
@media (max-width:880px){
  .fbio{ padding:80px 0; }
  .fbio .grid{ grid-template-columns:1fr; gap:32px; }
  .fbio .sidehead{ position:static; }
  .fbio .body p{ font-size:18px; }
  .fbio .body .closing{ font-size:26px; }
}

/* ---------- Mission + values ---------- */
.mission{
  background:var(--teal-deep);
  color:var(--cream);
  padding:120px 0 100px;
  border-top:1px solid rgba(217,183,138,.18);
}
.mission .head{
  max-width:880px; margin-bottom:64px;
}
.mission .head h2{ margin-top:14px; }
.mission .head .lede{
  font-style:normal;
  font-family:var(--sans);
  font-size:18px; color:rgba(244,238,221,.78);
  margin-top:20px;
  max-width:680px;
  line-height:1.55;
}
.mission .values{
  display:grid; grid-template-columns:repeat(3, 1fr);
  gap:0;
  border-top:1px solid rgba(217,183,138,.18);
}
.value{
  padding:36px 36px 32px;
  border-right:1px solid rgba(217,183,138,.18);
  border-bottom:1px solid rgba(217,183,138,.18);
}
.value:nth-child(3n){ border-right:none; }
.value:nth-last-child(-n+3){ border-bottom:none; }
.value .num{
  font-family:var(--display); font-weight:300; font-size:34px;
  color:var(--accent); line-height:1;
}
.value h3{
  font-family:var(--display); font-weight:400; font-style:italic;
  font-size:28px; line-height:1.05; color:var(--cream);
  margin:14px 0 12px;
}
.value p{
  font-family:var(--sans); font-size:15px; line-height:1.5;
  color:rgba(244,238,221,.78);
  margin:0;
}
@media (max-width:880px){
  .mission .values{ grid-template-columns:1fr; }
  .value{ border-right:none; }
  .value:not(:last-child){ border-bottom:1px solid rgba(217,183,138,.18); }
}

/* ---------- Team grid ---------- */
.team-block{ background:var(--cream); color:var(--ink); padding:120px 0; }
.team-block + .team-block{ padding-top:0; }
/* When the Counsel block changes background colour, restore breathing room
   on both sides so the colour seam doesn't feel cramped. */
.team-block + .team-block.faculty{ padding-top:120px; }
.team-block.faculty + .team-block{ padding-top:120px; }
.team-block .head{ max-width:760px; margin-bottom:48px; }
.team-block .head h2{ margin-top:14px; }
.team-block .head .lede{ color:var(--sage); font-size:18px; margin-top:14px; }

.people{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:32px 24px;
}
.team-block.advisors .people{ grid-template-columns:repeat(5, 1fr); }
.person{
  display:flex; flex-direction:column; gap:7px;
}
.person .ph{
  width:100%; aspect-ratio: 4 / 5;
  background:var(--cream-2);
  position:relative;
  overflow:hidden;
  border:1px solid var(--rule);
}
.person .ph::before{
  content:"PHOTO";
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.32em;
  color:rgba(20,48,47,.18);
  pointer-events:none;
}
.person .ph .is-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  --is-bg:transparent; --is-fg:rgba(20,48,47,.32);
}
.person .name{
  font-family:var(--display); font-weight:400;
  font-size:24px; line-height:1.1; color:var(--ink);
  margin-top:7px;
}
.person .role{
  font-family:var(--mono); font-size:11px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--accent);
  line-height:1.4;
}
.person .detail{
  font-family:var(--sans); font-size:14px; line-height:1.5;
  color:var(--ink); opacity:.8;
}
.person.pending .name{ color:rgba(20,48,47,.45); font-style:italic; }
.person.pending .role{ color:rgba(168,125,62,.85); }
@media (max-width:980px){
  .people, .team-block.advisors .people{ grid-template-columns:repeat(3, 1fr); gap:28px 18px; }
}
@media (max-width:560px){
  .people, .team-block.advisors .people{ grid-template-columns:repeat(2, 1fr); gap:24px 16px; }
}

/* ---------- Founder CTA strip ---------- */
.fcta{
  background:var(--teal-deep);
  color:var(--cream);
  padding:96px 0;
  border-top:1px solid rgba(217,183,138,.18);
  text-align:center;
}
.fcta h2{
  max-width:840px; margin:0 auto;
}
.fcta .lede{
  margin:20px auto 36px;
  font-style:normal;
  font-family:var(--sans);
  font-size:18px;
  color:rgba(244,238,221,.78);
  max-width:560px;
}
.fcta .cta-row{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
}
@media (max-width:560px){
  .fcta .cta-row{ flex-direction:column; }
  .fcta .cta-row .btn{ width:100%; justify-content:center; }
}
