/* early-answers.org — shared stylesheet for index.html and board.html.
   Palette is sampled straight from the logo artwork (see scripts/make-brand-assets.py):
   indigo #3B3894 · teal #179FA3 · red #D74940 · amber #DA911F */
:root {
  --white: #FFFFFF;
  --bg-band: #F5F7FB;
  --ink: #39415A;
  --ink-soft: #5A6379;
  --indigo: #3B3894;
  --indigo-deep: #2C2A72;
  --indigo-soft: #5B58AB;
  --teal: #179FA3;
  --teal-deep: #10787C;
  --red: #D74940;
  --amber: #DA911F;
  --rule: #E1E5EE;
  --rule-strong: #CBD2E0;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 10;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: light; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
img, svg { max-width: 100%; height: auto; }
section[id], footer[id] { scroll-margin-top: 5rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
/* The four brand colours, in the order they appear in the mark */
.site-nav::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(to right,
    var(--indigo) 0 25%, var(--teal) 25% 50%, var(--red) 50% 75%, var(--amber) 75% 100%);
}
.nav-inner {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-brand .nav-mark { width: 34px; height: auto; flex: none; }
.nav-links {
  display: flex;
  gap: clamp(0.7rem, 1.25vw, 1.1rem);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.nav-links a:hover { color: var(--indigo); border-bottom-color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--indigo); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  margin: -0.6rem;
  cursor: pointer;
}
.nav-toggle .bars { display: block; width: 22px; height: 16px; position: relative; }
.nav-toggle .bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1150px) {
  .nav-inner { padding: 0.65rem 1.25rem; }
  .nav-brand { font-size: clamp(0.7rem, 3.2vw, 0.9rem); letter-spacing: 0.08em; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -20px rgba(44, 42, 114, 0.35);
    padding: 0.3rem 0 0.6rem;
    overflow: visible;
  }
  .nav-open .nav-links { display: flex; animation: menuIn 0.3s var(--ease-out); }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav-links a { padding: 0.8rem 1.5rem; font-size: 0.82rem; border-bottom: 0; }
  .nav-links a + a { border-top: 1px solid var(--rule); }
  .nav-links a:hover { border-bottom: 0; }
}

/* ---------- Shared ---------- */
.container { max-width: 78rem; margin: 0 auto; padding-inline: 1.5rem; }
.narrow { max-width: 44rem; margin-inline: auto; }
.band { background: var(--bg-band); border-block: 1px solid var(--rule); }
section { padding: clamp(3.75rem, 7.5vw, 6rem) 0; }

.kicker {
  text-align: center;
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--teal-deep);
}
h2 {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--indigo);
  max-width: 20em;
  margin-inline: auto;
  text-wrap: balance;
}

/* Four tiles, echoing the mark, used as a section divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: clamp(1.3rem, 2.6vw, 1.75rem) auto;
}
.ornament i { width: 7px; height: 15px; border-radius: 3px; }
.ornament i:nth-child(1) { background: var(--indigo); }
.ornament i:nth-child(2) { background: var(--teal); }
.ornament i:nth-child(3) { background: var(--red); }
.ornament i:nth-child(4) { background: var(--amber); }

.prose { text-align: left; font-size: 1.0625rem; line-height: 1.72; color: var(--ink); }
.prose p + p { margin-top: 1.05em; }
.prose strong { font-weight: 600; color: var(--indigo); }
.lede {
  text-align: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
  text-wrap: balance;
}

ul.marks { list-style: none; margin-top: 1.1em; }
ul.marks li { position: relative; padding-left: 1.4em; }
ul.marks li + li { margin-top: 0.5em; }
ul.marks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 0.7em;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.cite { font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.cite a, .prose a {
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 159, 163, 0.4);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.cite a:hover, .prose a:hover { color: var(--indigo); border-bottom-color: var(--indigo); }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn-primary { background: var(--indigo); color: var(--white); border: 1px solid var(--indigo); }
.btn-primary:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.btn-secondary { background: var(--white); color: var(--indigo); border: 1px solid var(--rule-strong); }
.btn-secondary:hover { border-color: var(--indigo); background: rgba(59, 56, 148, 0.05); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

.accent { color: var(--teal); font-weight: 600; }

/* Gentle reveal (JS adds .js; without JS everything stays visible) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* News posts reveal individually, so keep their animation shorter than the
   page-level one — a long fade on every card in a list reads as lag. */
.js .posts > .post.reveal { transition-duration: 0.45s; }

/* The first cards are above the fold on every screen size; animating them
   costs a visible beat before the page looks loaded, so paint them at once. */
.js .posts > .post.reveal:nth-child(-n + 2) { opacity: 1; transform: none; transition: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.75rem, 6vh, 4.5rem) 1.5rem clamp(3.75rem, 7vw, 5.5rem); text-align: center; }
.brand-logo { width: clamp(280px, 40vw, 470px); margin: 0 auto; display: block; }
.brand-tagline {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(0.82rem, 1.7vw, 1rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero h1 {
  margin-top: clamp(2.2rem, 4.5vw, 3.2rem);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--indigo);
  max-width: 15em;
  margin-inline: auto;
  text-wrap: balance;
}
.hero .prose { margin-top: 1.6rem; text-align: center; }
.hero .objective {
  margin-top: 1.8rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.4;
  color: var(--teal-deep);
  text-wrap: balance;
}
.rise { animation: rise 1s var(--ease-out) backwards; }
.hero .brand-lockup { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.25s; }
.hero .prose { animation-delay: 0.42s; }
.hero .objective { animation-delay: 0.56s; }
.hero .btn-row { animation-delay: 0.68s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Brand promise pull quote ---------- */
.promise { padding: clamp(2.6rem, 5vw, 4rem) 1.5rem; text-align: center; }
.promise blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.42;
  color: var(--indigo);
  max-width: 30em;
  margin: 0 auto;
  text-wrap: balance;
}

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); max-width: 68rem; margin: 2.5rem auto 0; }
.mv-col { position: relative; padding-inline: clamp(0.5rem, 1.5vw, 1.5rem); }
.mv-col + .mv-col::before { content: ""; position: absolute; left: calc(-0.5 * clamp(2rem, 4vw, 4rem)); top: 6%; bottom: 4%; width: 1px; background: var(--rule-strong); }
.mv-col h3 { text-align: center; font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.22em; color: var(--teal-deep); margin-bottom: 1.2rem; }
.vision-lines { list-style: none; margin-top: 0; }
.vision-lines li { font-size: 1.0625rem; line-height: 1.7; color: var(--ink); text-align: left; }
.vision-lines li + li { margin-top: 1em; padding-top: 1em; border-top: 1px solid var(--rule); }
@media (max-width: 860px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-col + .mv-col::before { display: none; }
  .mv-col + .mv-col { margin-top: 1.5rem; padding-top: 2.2rem; border-top: 1px solid var(--rule); }
}

/* ---------- Story ---------- */
.story-heart { display: block; width: 18px; margin: 0 auto 1.4rem; color: var(--red); }
.story .prose em { color: var(--indigo); font-style: normal; font-weight: 500; }
.story-close { max-width: 32em; margin: 1.8rem auto 0; text-align: center; font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 2.1vw, 1.3rem); line-height: 1.5; color: var(--indigo); text-wrap: balance; }
.story .cite { display: block; margin-top: 2.2rem; text-align: center; }

/* ---------- Together lines ---------- */
.together { margin-top: 2.4rem; text-align: center; }
.together .a { font-size: 1.0625rem; color: var(--ink); }
.together .b { margin-top: 0.5rem; font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: var(--teal-deep); }

/* ---------- Alliance groups ---------- */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2.2rem 3rem; max-width: 72rem; margin: 2.6rem auto 0; text-align: left; }
.groups > div { padding-top: 1.1rem; border-top: 2px solid var(--rule-strong); }
.groups > div:nth-child(4n+1) { border-top-color: var(--indigo); }
.groups > div:nth-child(4n+2) { border-top-color: var(--teal); }
.groups > div:nth-child(4n+3) { border-top-color: var(--red); }
.groups > div:nth-child(4n+4) { border-top-color: var(--amber); }
.groups h4 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; color: var(--indigo); }
.groups p { margin-top: 0.5rem; font-size: 1.0125rem; line-height: 1.65; color: var(--ink); }

/* ---------- Theory of change ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 3rem; max-width: 68rem; margin: 2.8rem auto 0; text-align: left; }
.steps .num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background: rgba(59, 56, 148, 0.08);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--indigo);
}
.steps h3 { margin-top: 0.9rem; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--indigo); }
.steps p { margin-top: 0.45rem; font-size: 1.0125rem; line-height: 1.65; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Quality flow ---------- */
.principle { max-width: 32em; margin: 0.9rem auto 0; text-align: center; font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.9vw, 1.15rem); color: var(--teal-deep); }
.flow { display: flex; gap: 1.6rem; max-width: 76rem; margin: 3rem auto 0; }
.flow-step { flex: 1; position: relative; text-align: center; padding-top: 1rem; border-top: 2px solid var(--rule-strong); }
.flow-step:nth-child(1) { border-top-color: var(--indigo); }
.flow-step:nth-child(2) { border-top-color: var(--teal); }
.flow-step:nth-child(3) { border-top-color: var(--red); }
.flow-step:nth-child(4) { border-top-color: var(--amber); }
.flow-step:nth-child(5) { border-top-color: var(--indigo-soft); }
.flow-step h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; color: var(--indigo); }
.flow-step p { margin-top: 0.55rem; font-size: 0.9875rem; line-height: 1.6; color: var(--ink); text-align: center; }
.flow-note { max-width: 34em; margin: 2.6rem auto 0; text-align: center; font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: var(--indigo); text-wrap: balance; }
@media (max-width: 880px) {
  .flow { flex-direction: column; gap: 1.6rem; max-width: 30rem; }
}

/* ---------- Workstreams ---------- */
.ws { display: grid; grid-template-columns: 88px 1fr; gap: 0.6rem 2rem; max-width: 62rem; margin: 3rem auto 0; text-align: left; }
.ws + .ws { margin-top: 3.4rem; padding-top: 3.4rem; border-top: 1px solid var(--rule); }
.ws-icon { grid-row: span 2; width: 88px; aspect-ratio: 1; border: 1px solid var(--rule-strong); border-radius: 14px; display: grid; place-items: center; background: var(--white); }
.ws-icon svg { width: 56%; height: 56%; }
.ws h3 { align-self: center; font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.55rem); color: var(--indigo); }
.ws h3 .n { color: var(--teal); margin-right: 0.5rem; }
.ws .prose { font-size: 1.0125rem; }
.ws-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.4rem; margin-top: 1.2rem; }
.ws-cols h4 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--teal-deep); }
@media (max-width: 700px) {
  .ws { grid-template-columns: 1fr; text-align: left; }
  .ws-icon { grid-row: auto; margin: 0 auto; }
  .ws h3 { text-align: center; }
  .ws-cols { grid-template-columns: 1fr; }
}

/* ---------- The case (why) ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; max-width: 68rem; margin: 2.8rem auto 0; text-align: left; }
.cases > div { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: clamp(1.5rem, 2.6vw, 2rem); }
.cases h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--indigo); }
.cases h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; margin-bottom: 0.9rem; background: var(--teal); }
.cases > div:nth-child(1) h3::before { background: var(--red); }
.cases > div:nth-child(2) h3::before { background: var(--teal); }
.cases > div:nth-child(3) h3::before { background: var(--indigo); }
.cases > div:nth-child(4) h3::before { background: var(--amber); }
.cases .prose { margin-top: 0.7rem; font-size: 1.0125rem; }
.cases .cite { display: block; margin-top: 0.9rem; }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Policy pathway ---------- */
.pathway { columns: 2; column-gap: 3.5rem; max-width: 58rem; margin: 2.4rem auto 0; text-align: left; font-size: 1.0625rem; line-height: 1.7; list-style: none; }
.pathway li { break-inside: avoid; position: relative; padding-left: 1.6em; }
.pathway li + li { margin-top: 0.55em; }
.pathway li::before { content: ""; position: absolute; left: 0.1em; top: 0.5em; width: 6px; height: 12px; border-radius: 3px; background: var(--teal); }
@media (max-width: 760px) { .pathway { columns: 1; } }

/* ---------- Take action ---------- */
.actions { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 76rem; margin: 2.8rem auto 0; }
.action {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(1.5rem, 2.4vw, 1.9rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.action h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--indigo); text-wrap: balance; }
.action p { font-size: 1.0125rem; line-height: 1.6; color: var(--ink); max-width: 30ch; margin-inline: auto; text-wrap: pretty; }
.action .btn { margin-top: auto; align-self: center; font-size: 0.72rem; padding: 0.7rem 1.2rem; }
@media (max-width: 980px) { .actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .actions { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing .prose { text-align: center; margin-top: 1.6rem; }
.closing-tagline {
  max-width: 22em;
  margin: 2.4rem auto 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: 0.01em;
  color: var(--indigo);
  text-wrap: balance;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-band); border-top: 1px solid var(--rule); padding: 2.6rem 1.5rem 3rem; text-align: center; }
.site-footer .footer-mark { width: 30px; margin: 0 auto 1.4rem; display: block; }
.site-footer .disclaimer { max-width: 50rem; margin: 0 auto; font-size: 0.92rem; line-height: 1.65; color: var(--ink-soft); }
.site-footer .line { margin-top: 1.4rem; font-size: 0.88rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px; white-space: nowrap; }
.site-footer a:hover { color: var(--indigo); border-bottom-color: var(--indigo); }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav-links a { transition: none; }
  .nav-toggle .bars span { transition: none; }
  .nav-open .nav-links { animation: none; }
}

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: clamp(3rem, 6vw, 4.75rem) 1.5rem clamp(1rem, 2vw, 1.5rem); text-align: center; }
.page-head h1 {
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--indigo);
  max-width: 16em;
  margin-inline: auto;
  text-wrap: balance;
}
.page-head .lede { margin-top: 1.2rem; max-width: 34em; margin-inline: auto; }
.page-head + section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- People (board + advisors) ---------- */
.people {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 60rem;
  margin: 2.6rem auto 0;
}
/* Two- and three-person groups stay centred rather than stretching the row */
.people.count-2 { max-width: 34rem; }
.people.count-3 { max-width: 50rem; }
.person { text-align: center; margin: 0; }

/* The frame shows the person's initials until a photo is dropped in;
   an <img> inside simply covers them. See board.html for the markup. */
.headshot {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-band);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
}
.headshot::after {
  content: attr(data-initials);
  font-family: var(--display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--indigo-soft);
}
.headshot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person:nth-child(4n+1) .headshot { border-color: var(--indigo); }
.person:nth-child(4n+2) .headshot { border-color: var(--teal); }
.person:nth-child(4n+3) .headshot { border-color: var(--red); }
.person:nth-child(4n+4) .headshot { border-color: var(--amber); }
.person .caption { margin-top: 1.1rem; }
.person h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--indigo);
}
.person .role {
  margin-top: 0.3rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
}
.person .bio { margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.6; color: var(--ink); text-align: left; }
.person .bio p + p { margin-top: 0.85em; }
.bio-details { margin-top: 0.55rem; }
.bio-details summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.bio-details summary::-webkit-details-marker { display: none; }
.bio-details summary::after { content: " +"; }
.bio-details[open] summary::after { content: " –"; }
.bio-details[open] summary { margin-bottom: 0.2rem; }

/* ---------- News feed ---------- */
.posts { list-style: none; max-width: 46rem; margin: 2.6rem auto 0; }
.post {
  position: relative;
  padding-left: 1.75rem;
}
.post + .post { margin-top: 2.6rem; padding-top: 2.6rem; border-top: 1px solid var(--rule); }
/* A brand tile marks each entry, cycling the four logo colours down the feed */
.post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 7px;
  height: 26px;
  border-radius: 3px;
  background: var(--indigo);
}
.post + .post::before { top: 3rem; }
.posts .post:nth-child(4n+2)::before { background: var(--teal); }
.posts .post:nth-child(4n+3)::before { background: var(--red); }
.posts .post:nth-child(4n+4)::before { background: var(--amber); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.post-tag { color: var(--teal-deep); }
.post-tag::before { content: "·"; margin-right: 0.75rem; color: var(--rule-strong); }
.post h3 {
  margin-top: 0.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--indigo);
  text-wrap: balance;
}
.post .prose { margin-top: 0.7rem; }
.post-image { margin-top: 1.1rem; border-radius: 14px; border: 1px solid var(--rule); display: block; width: 100%; }
.post-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--indigo);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}
.post-link:hover { color: var(--teal-deep); }

/* Shown while the feed has no entries yet */
.posts-empty {
  max-width: 34rem;
  margin: 2.4rem auto 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px dashed var(--rule-strong);
  border-radius: 14px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}
@media (max-width: 620px) {
  .post { padding-left: 1.4rem; }
}
