/*!
 * hud-era.css — "Keeping People in Their Homes"
 * HUD-funded ERA evaluation report page (UC Berkeley & UPenn / HIP).
 *
 * Brand spec: evictionresearch/library/BRAND.md
 * Colors:    accent #F9322B · navy #19222C · medium-blue #223754 · light-blue #e8eef4
 * Fonts:     Inter — single canonical brand family.
 *            Display headlines: Inter 200 (Extra Light, hairline aesthetic)
 *            Body / nav / pills: Inter 400/500/600/700
 *            OpenType features ss01 + cv11 active for modern alternates.
 *            (decided 2026-04-29; superseded earlier Open Sans + Roboto stack)
 *
 * Design lineage: v5b prototype (sticky logo header, white background,
 * red pill primaries, navy hairline rules, restrained sans typography).
 */
:root {
  --paper:       #ffffff;
  --tint:        rgba(232, 238, 244, 0.45);
  --navy:        #19222C;
  --navy-soft:   #223754;
  --steel:       #8BA3BE;
  --accent:      #F9322B;
  --accent-deep: #D6231C;
  --rule:        rgba(25, 34, 44, 0.18);
  --rule-fine:   rgba(25, 34, 44, 0.10);
  --muted:       #6c7a89;
  --sans:        "Inter", -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display:     "Inter", -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter:      24px;
  --transition:  220ms ease;
  --header-h:    84px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px;
  line-height: 1.6; font-weight: 400;
  color: var(--navy); background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";  /* Inter modern alternates */
}
a {
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
a:hover, a:focus { color: var(--accent); border-color: var(--accent); outline: none; }
a.unstyled { border: none; padding: 0; }
a.unstyled:hover { color: var(--accent); border: none; }

.page { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .page { padding: 0 20px; } }

/* ─── Sticky header ─── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
header.site.scrolled {
  border-bottom-color: var(--rule-fine);
  box-shadow: 0 4px 14px rgba(25, 34, 44, 0.04);
}
header.site .inner {
  max-width: 1320px; margin: 0 auto;
  padding: 18px 40px;
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; gap: var(--gutter);
  min-height: var(--header-h);
}
@media (max-width: 720px) { header.site .inner { padding: 14px 20px; } }
header.site .logo { border: none; display: inline-flex; align-items: center; }
header.site .logo img { display: block; height: 44px; width: auto; }
@media (max-width: 720px) { header.site .logo img { height: 34px; } }
header.site nav {
  font-family: var(--display);
  justify-self: end; font-size: 14px;
  display: flex; gap: 22px; font-weight: 500;
  align-items: center;
}
header.site nav > a,
header.site nav .dropdown > a {
  border: none; padding: 0;
  color: var(--navy);
  white-space: nowrap;
}
header.site nav > a:hover,
header.site nav .dropdown > a:hover { border-bottom: 1px solid var(--accent); }
@media (max-width: 1100px) { header.site nav { display: none; } }

/* Dropdown menus (Maps & Profiles, Resources) */
header.site nav .dropdown { position: relative; }
header.site nav .dropdown > a { cursor: pointer; }
header.site nav .dropdown > a .caret {
  font-size: 10px;
  margin-left: 3px;
  opacity: 0.6;
  transition: transform var(--transition);
  display: inline-block;
}
header.site nav .dropdown:hover > a .caret,
header.site nav .dropdown:focus-within > a .caret { transform: translateY(1px); opacity: 1; }

/* Invisible bridge below the trigger so the cursor can move from
   trigger → panel without the dropdown losing :hover. Without this,
   the 12px visual gap kills the hover state. */
header.site nav .dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%;
  height: 14px;
  /* transparent — purely for hover-target capture */
}

header.site nav .dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  border: 1px solid var(--rule-fine);
  border-top: 2px solid var(--accent);
  box-shadow: 0 8px 22px rgba(25,34,44,0.10);
  min-width: 200px;
  padding: 6px 0;
  margin-top: 0;
  display: none;
  z-index: 60;
}
header.site nav .dropdown:hover .dropdown-panel,
header.site nav .dropdown:focus-within .dropdown-panel { display: block; }
header.site nav .dropdown-panel a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
header.site nav .dropdown-panel a:hover,
header.site nav .dropdown-panel a:focus {
  background: var(--tint);
  color: var(--accent);
  border: none;
  outline: none;
}

/* ─── Mobile menu toggle (≤1100px — matches nav-hide breakpoint) ─── */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--navy);
  width: 44px; height: 44px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
  justify-self: end;
  transition: border-color var(--transition);
}
.mobile-toggle .bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  margin: 4px auto;
  transition: transform 220ms ease, opacity 220ms ease, background var(--transition);
}
.mobile-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) { .mobile-toggle { display: block; } }

.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-fine);
  box-shadow: 0 8px 24px rgba(25,34,44,0.08);
  max-height: 0; overflow: hidden;
  transition: max-height 320ms ease;
}
.mobile-nav.active { max-height: 720px; overflow-y: auto; }
.mobile-nav ul {
  list-style: none; margin: 0 auto; padding: 8px 0;
  max-width: 1320px;
}
.mobile-nav a {
  font-family: var(--display);
  display: block;
  padding: 12px 40px;
  font-size: 15px; font-weight: 500;
  color: var(--navy);
  border: none; text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(232,238,244,0.6);
  outline: none;
}
.mobile-nav .mobile-nav-section {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 14px 40px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--rule-fine);
}
.mobile-nav .mobile-nav-sub a { padding-left: 56px; font-size: 14px; }
.mobile-nav .mobile-nav-divider {
  border-top: 1px solid var(--rule-fine);
  margin-top: 6px;
}
@media (max-width: 720px) {
  .mobile-nav a { padding: 12px 20px; }
  .mobile-nav .mobile-nav-section { padding: 14px 20px 4px; }
  .mobile-nav .mobile-nav-sub a { padding-left: 36px; }
}

/* ─── Hero ─── */
.hero { padding: 32px 0 96px; position: relative; }
.hero::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 75%; height: 1px; background: var(--navy);
}
.hero .row {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 88px; align-items: center; padding-top: 80px;
}
@media (max-width: 900px) {
  .hero .row { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
}
.hero .circle {
  width: 100%; max-width: 520px; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  justify-self: center; margin: 0;
}
.hero .circle img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
  transition: filter 600ms ease;
}
.hero .circle:hover img { filter: grayscale(0%) contrast(1); }
.hero .text { display: flex; flex-direction: column; gap: 22px; }
.hero .kicker {
  font-family: var(--display);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 200;  /* Inter Extra Light — hairline display */
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.04; letter-spacing: -0.022em;
  margin: 0; color: var(--navy); max-width: 18ch;
}
.hero h1 em { font-style: normal; font-weight: 700; }
.hero .question {
  font-weight: 400;
  font-size: 19px; line-height: 1.5;
  max-width: 56ch; color: var(--navy); margin: 0;
}
.hero .question em { font-style: normal; font-weight: 600; color: var(--accent); }
.hero .authors {
  margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--rule-fine);
  font-size: 13.5px; line-height: 1.55; color: var(--navy-soft);
  max-width: 60ch;
}
.hero .authors strong { color: var(--navy); font-weight: 600; }
.hero .authors .institution {
  color: var(--muted);
}
.hero .meta-line {
  font-size: 12px; color: var(--muted);
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 4px;
}
.hero .meta-line strong { color: var(--navy); font-weight: 600; }
.hero .actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .hero { padding: 24px 0 64px; }
  .hero .row { padding-top: 36px; gap: 32px; }
  .hero .meta-line { gap: 14px; font-size: 11.5px; }
  .hero .actions .btn { padding: 12px 20px; font-size: 12px; }
}

/* ─── Buttons ─── */
.btn {
  font-family: var(--display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 12px;
  border: 1.5px solid transparent;
}
.btn::after { content: "→"; font-size: 15px; transition: transform var(--transition); letter-spacing: 0; }
.btn:hover::after { transform: translateX(4px); }
.btn-red { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-red:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Disclaimer banner ─── */
.disclaimer {
  padding: 18px 0;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--rule-fine);
  background: rgba(249, 50, 43, 0.03);
  font-size: 13px; line-height: 1.55;
  color: var(--navy-soft);
}
.disclaimer .inner {
  display: grid; grid-template-columns: auto 1fr;
  gap: 16px; align-items: start;
  max-width: 100%;
}
.disclaimer strong { color: var(--navy); font-weight: 600; }
.disclaimer .icon {
  color: var(--accent);
  font-weight: 600; font-size: 15px;
  margin-top: 1px;
}

/* ─── Stats row ─── */
.stats {
  padding: 48px 0;
  border-top: 1px solid var(--rule-fine);
  border-bottom: 1px solid var(--rule-fine);
}
.stats .row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
@media (max-width: 720px) { .stats .row { grid-template-columns: 1fr 1fr; gap: 32px; } }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat .num {
  font-weight: 200;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.025em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.stat .num em { font-style: normal; font-weight: 600; color: var(--accent); }
.stat .num .small { font-size: 0.55em; font-weight: 200; }  /* match hairline number */
.stat .label {
  font-size: 12px; line-height: 1.5;
  color: var(--muted); max-width: 22ch;
}

/* ─── About layout: text-left + Report at a Glance right.
   Stacks on tablet/phone so the text reads first, then the sidebar. */
.about-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
}
.about-text .kicker { margin: 0 0 14px; }
.about-text h2.section-title { margin: 0 0 22px; max-width: 22ch; }
.about-text .lead-paragraph {
  margin: 0 0 22px;
  max-width: 50ch;
}
.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--navy);
  margin: 0 0 16px;
  max-width: 60ch;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text p strong { font-weight: 600; }
.about-text a { color: var(--navy); border-bottom: 1px solid var(--rule); }
.about-text a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Report at a Glance sidebar ─── */
.report-glance {
  background: var(--tint);
  border-radius: 8px;
  padding: 28px;
}
.report-glance .label {
  font-family: var(--display);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.report-glance .item {
  display: flex; gap: 14px;
  padding: 8px 0;
  align-items: flex-start;
}
.report-glance .item.berkeley {
  background: rgba(249, 50, 43, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 10px 12px;
  margin: 6px 0;
}
.report-glance .num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(25,34,44,0.08); color: var(--navy);
  font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.report-glance .item.berkeley .num {
  background: rgba(249,50,43,0.12); color: var(--accent);
}
.report-glance h6 {
  font-family: var(--display);
  margin: 0 0 4px;
  font-size: 14px; font-weight: 400;  /* Inter Regular — readable at 14px */
  color: var(--navy);
}
.report-glance .item.berkeley h6 { color: var(--accent); }
.report-glance h6 .by {
  font-size: 11px; font-weight: 400; color: var(--muted);
}
.report-glance p {
  margin: 0; font-size: 13px;
  color: var(--navy); line-height: 1.55;
}

/* ─── Sections ─── */
section.section { padding: 96px 0; }
section.section + section.section { border-top: 1px solid var(--rule-fine); }
section.section.tinted { background: var(--tint); }
section.section.tinted.inset {
  margin: 0 -40px; padding: 96px 80px;
}
@media (max-width: 1100px) {
  section.section.tinted.inset { padding: 96px 64px; }
}
@media (max-width: 720px) {
  section.section.tinted.inset { margin: 0 -20px; padding: 72px 32px; }
}

.two-col {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 72px; align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* Kickers — small uppercase red labels above section titles
   (e.g. "About This Report", "Key Findings"). The hero has its
   own .hero .kicker rule that wins on specificity. */
.kicker {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 200;  /* Inter Extra Light — hairline display, matches v5b */
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0 0 24px;
  color: var(--navy);
  max-width: 22ch;
}
/* em inside a section title carries the red brand emphasis —
   e.g. "ERA reduced eviction filings" or "What the Research shows" */
h2.section-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.lead-paragraph {
  font-weight: 400;
  font-size: 22px; line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 36ch; color: var(--navy);
  margin: 0 0 24px;
}
.two-col .body p {
  font-size: 16px; line-height: 1.7;
  max-width: 56ch; margin: 0 0 16px; color: var(--navy);
}
.two-col .body p strong { font-weight: 600; }

/* ─── In Depth narrative ─── */
.narrative-body {
  max-width: 760px; margin: 56px auto 0;
}
.narrative-body p {
  font-size: 16.5px; line-height: 1.85;
  color: var(--navy); margin: 0 0 22px;
}
.narrative-body p strong { font-weight: 600; }
.narrative-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(249,50,43,0.4);
  padding-bottom: 1px;
  transition: border-color var(--transition);
}
.narrative-body a:hover { border-bottom-color: var(--accent); }
.narrative-body h4 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 300;  /* Inter Light — hairline to match section titles */
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--navy);
  margin: 56px 0 18px;
  padding-top: 0;
}
/* Pull quotes within narrative — left red rule, large quote text */
.narrative-body .pull-quote {
  margin: 36px 0;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--accent);
  font-family: var(--sans);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: -0.005em;
  max-width: 36ch;
}

/* Narrative figure (image + caption) */
.narrative-figure {
  margin: 36px 0;
}
.narrative-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.narrative-figure figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.narrative-figure figcaption strong {
  color: var(--navy);
  font-weight: 600;
}

/* ─── Findings — 3-col card grid ─── */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 1100px) { .findings-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .findings-grid { grid-template-columns: 1fr; } }
.finding-card {
  padding: 28px 28px 24px;
  background: #fff;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(25,34,44,0.06);
  transition: box-shadow 220ms ease, transform 200ms ease;
}
.finding-card:hover {
  box-shadow: 0 8px 24px rgba(25,34,44,0.10);
  transform: translateY(-2px);
}
.finding-card .icon {
  font-size: 1.6rem; color: var(--accent);
  margin-bottom: 14px; line-height: 1;
}
.finding-card h4 {
  font-family: var(--display);
  font-weight: 300; font-size: 16px;  /* Inter Light — hairline */
  line-height: 1.3; letter-spacing: -0.012em;
  margin: 0 0 10px; color: var(--navy);
}
.finding-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--navy); margin: 0;
}

.figure { margin-top: 56px; }
.figure svg { width: 100%; height: auto; display: block; }

@media (max-width: 720px) {
  .figure .caption { padding: 0 4px; }
}
.figure .caption {
  max-width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 70px 1fr 220px;
  gap: var(--gutter);
  font-size: 12.5px; color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .figure .caption { grid-template-columns: 70px 1fr; }
  .figure .caption .src { grid-column: 2; margin-top: 4px; }
}
.figure .caption .num {
  font-weight: 600; color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 11px;
}
.figure .caption .desc { font-style: italic; color: var(--navy); font-size: 13.5px; }
.figure .caption .src {
  color: var(--muted); text-align: right;
  letter-spacing: 0.02em; text-transform: lowercase;
  font-size: 11px;
}
@media (max-width: 720px) { .figure .caption .src { text-align: left; } }

/* ─── Berkeley working-paper cards ─── */
.chapter-papers {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 48px;
  max-width: 1080px; margin-left: auto; margin-right: auto;
}
@media (max-width: 900px) { .chapter-papers { grid-template-columns: 1fr; gap: 28px; } }
.paper-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(25,34,44,0.08);
  border-top: 4px solid var(--accent);
  display: flex; flex-direction: column;
}
.paper-card .chapter-tag {
  font-family: var(--display);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.paper-card h4 {
  font-family: var(--display);
  font-size: 18px; font-weight: 300;  /* Inter Light — hairline */
  line-height: 1.35; letter-spacing: -0.012em;
  margin: 0 0 14px; color: var(--navy);
}
.paper-card > p {
  font-size: 14.5px; line-height: 1.6;
  color: var(--navy); margin: 0 0 18px;
}
.paper-card .findings-list {
  list-style: none; margin: 0 0 22px; padding: 0;
}
.paper-card .findings-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 13.5px; line-height: 1.5; color: var(--navy);
  border-bottom: 1px solid var(--rule-fine);
}
.paper-card .findings-list li:last-child { border-bottom: none; }
.paper-card .findings-list li::before {
  content: "→";
  position: absolute; left: 0; top: 8px;
  color: var(--accent); font-weight: 600;
}
.paper-card .download {
  font-family: var(--display);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: var(--navy); color: #fff;
  border-radius: 4px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  transition: all var(--transition);
  align-self: flex-start;
}
.paper-card .download:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.paper-card .watermark-note {
  margin-top: 14px; font-size: 11.5px;
  color: var(--muted); line-height: 1.5;
}
.paper-card .watermark-note em { font-style: italic; }

/* ─── Method steps (5-step list inside Methods section) ─── */
.method-step {
  display: flex; gap: 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.method-step .step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 700; font-size: 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-top: 2px;
}
.method-step h5 {
  font-family: var(--display);
  margin: 0 0 4px;
  font-size: 15px; font-weight: 300;  /* Inter Light — hairline */
  color: var(--navy); letter-spacing: -0.008em;
}
.method-step p {
  margin: 0;
  font-size: 14px; line-height: 1.6;
  color: var(--navy);
}

/* Scope pills (study period + states) */
.scope-pill {
  font-family: var(--display);
  display: inline-block;
  background: var(--tint);
  color: var(--navy);
  font-size: 12.5px; font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 4px 4px 4px 0;
}

/* Team grid (Berkeley + Penn) */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; gap: 36px; } }
.team-org .team-label {
  font-family: var(--display);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--rule-fine);
  padding-bottom: 10px; margin-bottom: 14px;
}
.team-org .team-members {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 15px; color: var(--navy);
}

/* ─── Methodology (legacy strip — preserved for footer area) ─── */
.methodology {
  padding: 64px 0;
  border-top: 1px solid var(--rule-fine);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}
@media (max-width: 720px) { .methodology { grid-template-columns: 1fr; gap: 24px; } }
.methodology h3 {
  font-family: var(--display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0; color: var(--navy);
}
.methodology p {
  font-size: 14px; line-height: 1.65;
  color: var(--muted); margin: 0 0 12px;
  max-width: 64ch;
}
.methodology p strong { color: var(--navy); font-weight: 600; }

/* ─── Footer ─── */
footer.site {
  padding: 64px 0 32px;
  border-top: 1px solid var(--rule-fine);
}
footer.site .grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.1fr;
  gap: 36px;
}
@media (max-width: 1100px) {
  footer.site .grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  footer.site .col.about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  footer.site .grid { grid-template-columns: 1fr 1fr; }
  footer.site .col.about { grid-column: 1 / -1; }
}
footer.site .col h4 {
  font-family: var(--display);
  font-size: 13px; font-weight: 500; margin: 0 0 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
footer.site .col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
footer.site .col ul a { border: none; color: var(--navy-soft); }
footer.site .col ul a:hover { color: var(--accent); }

/* Brand / about column */
footer.site .about p {
  font-size: 13.5px; line-height: 1.6;
  color: var(--muted); margin: 18px 0 0;
  max-width: 36ch;
}
footer.site .footer-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
footer.site .footer-logos img {
  max-height: 36px;
  width: auto;
  display: block;
}
/* Berkeley wordmark on the main site is rendered for dark backgrounds
   (white pixels on transparent). On the v5b white footer that reads as
   near-invisible. Fully invert it so the white pixels become near-black
   navy, matching the rest of the footer text on white. */
footer.site .footer-logos .berkeley-mark {
  max-height: 26px;
  filter: invert(1) brightness(0.15);
}
footer.site .footer-logo-divider {
  width: 1px;
  align-self: stretch;
  background: var(--rule-fine);
  margin: 4px 0;
}

/* Social links — clean glyphs, no border. Hover lifts + reds the icon. */
footer.site .social-links {
  display: flex; gap: 18px;
  margin-top: 20px;
  align-items: center;
}
footer.site .social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-soft);
  font-size: 20px;
  line-height: 1;
  border: none;
  padding: 4px;
  transition: color var(--transition), transform var(--transition);
}
footer.site .social-links a:hover,
footer.site .social-links a:focus {
  color: var(--accent);
  transform: translateY(-2px);
  background: transparent;
  outline: none;
}

footer.site .imprint {
  grid-column: 1 / -1; margin-top: 36px;
  padding-top: 22px; border-top: 1px solid var(--rule-fine);
  font-size: 12.5px; color: var(--muted);
  text-align: center; line-height: 1.6;
}
footer.site .imprint strong {
  font-weight: 600; color: var(--navy);
}
footer.site .imprint a {
  color: var(--navy-soft);
  border-bottom: 1px solid var(--rule-fine);
}
footer.site .imprint a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
