:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #5c6970;
  --line: #d9e1e4;
  --paper: #f7f9f8;
  --white: #ffffff;
  --accent: #1f7a68;
  --accent-dark: #145447;
  --warm: #c78c45;
  --deep: #0f171a;
  --shadow: 0 18px 50px rgba(23, 33, 38, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(247, 249, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(700px, calc(100vh - 68px));
  display: grid;
  align-items: center;
  padding: clamp(44px, 8vw, 88px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(247, 249, 248, 0.98), rgba(232, 238, 236, 0.88)),
    radial-gradient(circle at 18% 24%, rgba(31, 122, 104, 0.1), transparent 28%),
    repeating-linear-gradient(90deg, rgba(23, 33, 38, 0.055) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(23, 33, 38, 0.045) 0 1px, transparent 1px 88px);
}

.hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: clamp(20px, 7vw, 90px);
  width: min(32vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 84, 71, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-content,
.section,
footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-line {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--accent-dark);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 750;
  line-height: 1.25;
}

.lede {
  max-width: 780px;
  margin: 26px 0 0;
  color: #334047;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: clamp(56px, 9vw, 104px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 720px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.grid,
.theme-grid,
.pathway-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pathway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.25;
}

article p,
.copy p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.papers {
  border-top: 1px solid var(--line);
}

.themes,
.featured,
.about {
  border-top: 1px solid var(--line);
}

.paper-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.paper-list article {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  box-shadow: none;
}

.paper-list h3 {
  margin-bottom: 8px;
}

.publication-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.topic-tags {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.working-paper-card .topic-tags {
  color: inherit;
  font-size: inherit;
}

.paper-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.paper-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.note-body .paper-link {
  margin-top: 0.5rem;
}



.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.paper-card.inactive {
  background: rgba(247, 249, 248, 0.72);
}

.paper-card.inactive h3 {
  color: #334248;
}

.pathway-grid article,
.working-paper-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.pathway-grid .paper-link {
  justify-self: start;
  align-self: end;
}

.section-heading.compact {
  max-width: 860px;
}

.section-heading.compact h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.working-paper-section {
  margin-top: clamp(44px, 7vw, 76px);
}

.working-paper-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.research-note-section {
  margin-top: clamp(44px, 7vw, 76px);
}

.research-note-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.working-paper-card {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  box-shadow: none;
}

.research-note-card {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  box-shadow: none;
}

.research-note-card div,
.working-paper-card div {
  display: grid;
  gap: 9px;
}

.note-type {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

.status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.copy {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.copy.wide {
  max-width: 820px;
  margin-top: 28px;
}

.note {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 64px);
}

.note-header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent-dark);
}

.note-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--accent-dark);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 750;
  line-height: 1.35;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 28px 0 0;
}

.note-meta div {
  display: grid;
  gap: 2px;
}

.note-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.note-meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.note-body {
  padding-top: 36px;
  color: #27343a;
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 1.78;
}

.note-body p {
  margin: 0 0 1.35em;
}

.note-body h2 {
  margin: 2.2em 0 0.7em;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.note-body h3 {
  margin: 1.7em 0 0.55em;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.note-body ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.note-body li {
  margin-bottom: 0.85em;
  padding-left: 0.2em;
}

.related-note {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-note .eyebrow {
  margin-bottom: 8px;
}

.related-note a {
  color: var(--accent-dark);
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
}

.related-note a:hover {
  color: var(--accent);
}

.related-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.note-index h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.contact {
  background: var(--deep);
  color: var(--white);
  border-radius: 8px;
  margin-bottom: 44px;
}

.contact .eyebrow,
.contact p {
  color: #d8e8e3;
}

.contact a {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(20px, 5vw, 64px) 44px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


@media (max-width: 640px) {
  .contact {
    padding: 2rem 1.25rem;
  }

  .contact h2 {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    line-height: 1.15;
  }

  .contact a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    justify-content: center;
    font-size: 0.82rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .grid,
  .theme-grid,
  .pathway-grid,
  .split,
  .paper-list article,
  .research-note-card,
  .working-paper-card {
    grid-template-columns: 1fr;
  }

  .paper-link,
  .paper-actions,
  .status {
    justify-self: start;
  }

  .paper-actions {
    justify-content: flex-start;
  }

  article {
    min-height: auto;
  }
}


/* ========================================================================
   Precision Analytica homepage v0.3
   Scope every rule to .home-v03 so shared note and paper pages are unchanged.
   ======================================================================== */

.home-v03 {
  --home-paper: #f3efe7;
  --home-paper-card: #f8f5ef;
  --home-white: #ffffff;
  --home-ink: #172435;
  --home-muted: #68778a;
  --home-line: #d4ccbf;
  --home-gold: #b48943;
  --home-gold-light: #dcc078;
  --home-blue: #a9d5ee;
  --home-rust: #ba7654;
  --home-taupe: #887a6b;
  --home-deep: #0c1625;
  --home-deep-soft: #111d2d;
  --home-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --home-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-v03 .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  padding: 24px clamp(22px, 5vw, 80px);
  background: rgba(3, 9, 16, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--home-white);
  backdrop-filter: blur(10px);
}

.home-v03 .site-header .brand {
  color: var(--home-white);
  font-family: var(--home-serif);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.home-v03 .site-header nav {
  gap: clamp(16px, 3vw, 38px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.home-v03 .site-header nav a:hover,
.home-v03 .site-header nav a:focus-visible {
  color: var(--home-white);
}

.home-v03 .home-program {
  overflow: hidden;
}

.home-v03 .home-shell {
  width: min(1440px, calc(100% - clamp(44px, 10vw, 160px)));
  margin-inline: auto;
}

.home-v03 .home-kicker {
  margin: 0;
  color: var(--home-gold);
  font-family: var(--home-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-v03 .program-hero {
  position: relative;
  min-height: clamp(720px, 92svh, 940px);
  isolation: isolate;
  background: #030910;
  color: var(--home-white);
}

.home-v03 .program-hero__media,
.home-v03 .program-hero__media img,
.home-v03 .program-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-v03 .program-hero__media img {
  object-fit: cover;
  object-position: center center;
}

.home-v03 .program-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 7, 13, 0.96) 0%, rgba(2, 7, 13, 0.82) 28%, rgba(2, 7, 13, 0.38) 57%, rgba(2, 7, 13, 0.08) 82%),
    linear-gradient(180deg, rgba(2, 7, 13, 0.18) 0%, rgba(2, 7, 13, 0.02) 55%, rgba(2, 7, 13, 0.76) 100%);
  pointer-events: none;
}

.home-v03 .program-hero__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding-top: clamp(132px, 17vh, 190px);
  padding-bottom: clamp(48px, 7vh, 78px);
}

.home-v03 .program-hero__copy {
  width: min(610px, 45vw);
  padding-bottom: 36px;
}

.home-v03 .program-hero h1 {
  max-width: none;
  margin: 30px 0 0;
  color: var(--home-white);
  font-family: var(--home-serif);
  font-size: clamp(3.7rem, 5.6vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.94;
}

.home-v03 .program-hero__claim {
  max-width: 560px;
  margin: clamp(48px, 7vh, 72px) 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--home-serif);
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
  font-style: italic;
  line-height: 1.25;
}

.home-v03 .program-hero__lede {
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--home-sans);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.home-v03 .program-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.home-v03 .home-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--home-sans);
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.home-v03 .home-button:hover {
  transform: translateY(-1px);
}

.home-v03 .home-button--light {
  background: var(--home-paper-card);
  color: var(--home-ink);
}

.home-v03 .home-button--light:hover,
.home-v03 .home-button--light:focus-visible {
  background: var(--home-white);
}

.home-v03 .home-button--outline {
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--home-white);
}

.home-v03 .home-button--outline:hover,
.home-v03 .home-button--outline:focus-visible {
  border-color: var(--home-white);
  background: rgba(255, 255, 255, 0.08);
}

.home-v03 .program-hero__legend {
  width: min(620px, 45vw);
  margin: 0;
  padding: 4px 0 0 20px;
  border-left: 2px solid var(--home-gold-light);
  color: rgba(255, 255, 255, 0.78);
}

.home-v03 .program-hero__legend p {
  margin: 0;
  font-family: var(--home-serif);
  font-size: 1rem;
  line-height: 1.35;
}

.home-v03 .program-hero__legend .program-hero__legend-title {
  margin-bottom: 5px;
  color: var(--home-white);
  font-family: var(--home-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-v03 .home-program-section {
  padding: clamp(78px, 8vw, 128px) 0;
  background: var(--home-paper);
}

.home-v03 .home-section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.6fr);
  gap: clamp(54px, 8vw, 140px);
  align-items: start;
}

.home-v03 .home-section-intro h2 {
  max-width: 850px;
  margin: 24px 0 0;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(2.8rem, 4.5vw, 5.15rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.home-v03 .home-section-summary {
  margin: 36px 0 0;
  color: var(--home-muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.5;
}

.home-v03 .architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(70px, 9vw, 128px);
}

.home-v03 .architecture-card {
  position: relative;
  min-height: 282px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--home-line);
  box-shadow: none;
}

.home-v03 .architecture-card::before {
  position: absolute;
  inset: -1px -1px auto;
  height: 5px;
  content: "";
}

.home-v03 .architecture-card--core::before { background: var(--home-blue); }
.home-v03 .architecture-card--governance::before { background: var(--home-gold-light); }
.home-v03 .architecture-card--institutions::before { background: var(--home-rust); }
.home-v03 .architecture-card--values::before { background: var(--home-taupe); }

.home-v03 .architecture-card__number {
  margin: 0 0 34px;
  color: var(--home-gold);
  font-family: var(--home-serif);
  font-size: 1rem;
}

.home-v03 .architecture-card h3 {
  margin: 0 0 18px;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(1.55rem, 1.8vw, 2rem);
  font-weight: 400;
  line-height: 1.08;
}

.home-v03 .architecture-card > p:last-child {
  margin: 0;
  color: var(--home-muted);
  font-family: var(--home-sans);
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-v03 .method-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.22fr) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--home-line);
}

.home-v03 .method-strip p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.9rem;
}

.home-v03 .method-strip .method-strip__label {
  color: var(--home-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-v03 .method-strip span {
  white-space: nowrap;
}

.home-v03 .mismatch-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(250px, 0.5fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--home-deep);
  color: var(--home-white);
}

.home-v03 .mismatch-banner blockquote {
  margin: 0;
  font-family: var(--home-serif);
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
  line-height: 1.18;
}

.home-v03 .mismatch-banner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.45;
}

.home-v03 .home-research {
  padding-top: clamp(72px, 7vw, 110px);
}

.home-v03 .home-section-intro--research h2 {
  max-width: 750px;
}

.home-v03 .featured-program-paper {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.72fr);
  min-height: 290px;
  margin-top: 48px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
}

.home-v03 .featured-program-paper__body {
  padding: clamp(34px, 4vw, 54px);
}

.home-v03 .featured-program-paper__body h3 {
  margin: 20px 0 20px;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
}

.home-v03 .featured-program-paper__body > p:last-child {
  max-width: 880px;
  margin: 0;
  color: var(--home-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.home-v03 .featured-program-paper__meta {
  display: grid;
  align-content: start;
  padding: clamp(34px, 4vw, 54px);
  background: var(--home-deep);
  color: rgba(255, 255, 255, 0.76);
}

.home-v03 .featured-program-paper__meta p {
  margin: 0 0 22px;
}

.home-v03 .featured-program-paper__meta .featured-program-paper__type {
  color: #f0d89f;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-v03 .featured-program-paper__meta ul {
  display: grid;
  gap: 6px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.home-v03 .featured-program-paper__meta a {
  color: #f0d89f;
  font-weight: 750;
  text-decoration: none;
}

.home-v03 .featured-program-paper__meta a:hover,
.home-v03 .featured-program-paper__meta a:focus-visible {
  color: var(--home-white);
}

.home-v03 .collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.home-v03 .collection-card {
  min-height: 170px;
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.home-v03 .collection-card:hover,
.home-v03 .collection-card:focus-visible {
  background: rgba(255, 255, 255, 0.66);
  border-color: #bfb4a5;
  transform: translateY(-1px);
}

.home-v03 .collection-card h3 {
  margin: 0 0 18px;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.15;
}

.home-v03 .collection-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.88rem;
  line-height: 1.38;
}

.home-v03 .selected-notes {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
}

.home-v03 .selected-notes__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.home-v03 .selected-notes__heading h3 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(1.75rem, 2.3vw, 2.4rem);
  font-weight: 400;
}

.home-v03 .selected-notes__heading > a {
  color: #8d7150;
  font-size: 0.77rem;
  text-decoration: none;
  text-transform: uppercase;
}

.home-v03 .selected-notes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.home-v03 .selected-note-card {
  display: grid;
  gap: 12px;
  min-height: 94px;
  align-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
}

.home-v03 .selected-note-card:hover,
.home-v03 .selected-note-card:focus-visible {
  border-color: #bfb4a5;
  background: rgba(255, 255, 255, 0.72);
}

.home-v03 .selected-note-card span {
  color: var(--home-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.home-v03 .selected-note-card strong {
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.15;
}

.home-v03 footer {
  background: var(--home-paper);
}

.home-v03 :where(a, button):focus-visible {
  outline: 3px solid rgba(180, 137, 67, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .home-v03 .program-hero__copy,
  .home-v03 .program-hero__legend {
    width: min(620px, 58vw);
  }

  .home-v03 .architecture-grid,
  .home-v03 .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v03 .architecture-card {
    min-height: 250px;
  }
}

@media (max-width: 780px) {
  .home-v03 .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
    background: rgba(3, 9, 16, 0.72);
  }

  .home-v03 .site-header nav {
    gap: 12px 18px;
    font-size: 0.82rem;
  }

  .home-v03 .program-hero {
    min-height: 820px;
  }

  .home-v03 .program-hero__media img {
    object-position: 61% center;
  }

  .home-v03 .program-hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 7, 13, 0.97) 0%, rgba(2, 7, 13, 0.78) 70%, rgba(2, 7, 13, 0.48) 100%),
      linear-gradient(180deg, rgba(2, 7, 13, 0.3) 0%, rgba(2, 7, 13, 0.2) 56%, rgba(2, 7, 13, 0.9) 100%);
  }

  .home-v03 .program-hero__inner {
    padding-top: 190px;
  }

  .home-v03 .program-hero__copy,
  .home-v03 .program-hero__legend {
    width: 100%;
  }

  .home-v03 .program-hero h1 {
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .home-v03 .program-hero__claim {
    margin-top: 42px;
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .home-v03 .program-hero__legend {
    max-width: 580px;
  }

  .home-v03 .home-section-intro,
  .home-v03 .mismatch-banner,
  .home-v03 .featured-program-paper {
    grid-template-columns: 1fr;
  }

  .home-v03 .home-section-intro {
    gap: 8px;
  }

  .home-v03 .home-section-summary {
    max-width: 720px;
    margin-top: 26px;
  }

  .home-v03 .architecture-grid {
    margin-top: 56px;
  }

  .home-v03 .method-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-v03 .selected-notes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .home-v03 .home-shell {
    width: min(100% - 36px, 1440px);
  }

  .home-v03 .program-hero {
    min-height: 900px;
  }

  .home-v03 .program-hero__inner {
    padding-top: 210px;
    padding-bottom: 38px;
  }

  .home-v03 .program-hero__actions {
    display: grid;
  }

  .home-v03 .home-button {
    width: 100%;
  }

  .home-v03 .architecture-grid,
  .home-v03 .collection-grid {
    grid-template-columns: 1fr;
  }

  .home-v03 .architecture-card {
    min-height: auto;
  }

  .home-v03 .selected-notes__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v03 .home-button,
  .home-v03 .collection-card {
    transition: none;
  }

  .home-v03 .home-button:hover,
  .home-v03 .collection-card:hover {
    transform: none;
  }
}


/* ========================================================================
   Masked Erosion abstract page additions
   Append to the existing shared stylesheet. All rules are scoped to the
   abstract-page body. The Working Papers card must use the site's existing
   shared card component and receives no Masked-Erosion-specific CSS.
   ======================================================================== */

.paper-abstract-page main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(247, 249, 248, 0.95)),
    var(--paper);
}

.paper-abstract-shell {
  width: min(1040px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.paper-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 56px);
  color: var(--muted);
  font-size: 0.9rem;
}

.paper-breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
}

.paper-breadcrumb a:hover,
.paper-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.paper-abstract-header {
  max-width: 930px;
  padding-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}

.paper-abstract-header h1 {
  max-width: 920px;
  margin: 12px 0 0;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(2.55rem, 5.6vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.paper-abstract-byline {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.paper-abstract-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: start;
  padding-top: clamp(44px, 6vw, 70px);
}

.paper-abstract-copy h2,
.paper-abstract-meta h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.paper-abstract-copy p {
  margin: 0;
  color: #334047;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(1.15rem, 1.65vw, 1.34rem);
  line-height: 1.72;
}

.paper-abstract-meta {
  display: grid;
  gap: 34px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.paper-abstract-meta dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.paper-abstract-meta dl div {
  display: grid;
  gap: 3px;
}

.paper-abstract-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.paper-abstract-meta dd {
  margin: 0;
  color: var(--ink);
}

.paper-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-keywords li {
  padding: 6px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}

.paper-request-button {
  width: 100%;
  text-align: center;
}

.paper-abstract-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.paper-abstract-footer a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.paper-abstract-footer a:hover,
.paper-abstract-footer a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 780px) {
  .paper-abstract-shell {
    width: min(100% - 32px, 1040px);
  }

  .paper-abstract-layout {
    grid-template-columns: 1fr;
  }

  .paper-abstract-meta {
    padding: 22px;
  }

  .paper-abstract-footer {
    flex-direction: column;
  }
}

/* ========================================================================
   Site-wide homepage style carryover
   ======================================================================== */

:root {
  --site-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --site-warm-paper: #f3efe7;
  --site-warm-card: #f8f5ef;
  --site-warm-line: #d4ccbf;
  --site-gold: #b48943;
}

.site-header .brand {
  color: inherit;
  font-family: var(--site-serif);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body:not(.home-v03) .site-header {
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(243, 239, 231, 0.94);
}

body:not(.home-v03) footer {
  width: 100%;
  max-width: none;
  padding: 30px clamp(20px, 5vw, 64px) 44px;
  background: var(--site-warm-paper);
  border-top: 1px solid var(--site-warm-line);
}

body:not(.home-v03) footer span {
  width: min(1120px, 100%);
  text-align: center;
}

.home-v03 .featured-program-paper__body h3 a {
  color: inherit;
  text-decoration: none;
}

.home-v03 .featured-program-paper__body h3 a:hover,
.home-v03 .featured-program-paper__body h3 a:focus-visible {
  color: #8d7150;
}

/* ========================================================================
   Library index pages: working papers and research notes
   ======================================================================== */

.library-page {
  background: var(--site-warm-paper);
}

.library-page .section {
  width: min(1120px, 100%);
}

.library-page .note-index h1,
.library-page .section-heading.compact h2 {
  font-family: var(--site-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.library-page .copy.wide p {
  color: #5f6c75;
  font-size: clamp(1.08rem, 1.45vw, 1.22rem);
  line-height: 1.65;
}

.library-page .working-paper-card,
.library-page .research-note-card {
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--site-warm-line);
  border-radius: 0;
  box-shadow: none;
}

.library-page .working-paper-card h3,
.library-page .research-note-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--site-serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.library-page .working-paper-card p,
.library-page .research-note-card p {
  color: var(--muted);
}

.library-page .note-type {
  color: var(--accent-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.library-page .paper-link {
  border-color: var(--site-warm-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.library-page .paper-link:hover,
.library-page .paper-link:focus-visible {
  border-color: var(--site-gold);
  color: #8d7150;
}

/* ========================================================================
   Shared article treatment for working papers and research notes
   ======================================================================== */

.paper-abstract-page,
.essay-page,
.research-note-page {
  background: var(--site-warm-paper);
}

.paper-abstract-page main,
.essay-page main,
.research-note-page main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(243, 239, 231, 0.95)),
    var(--site-warm-paper);
}

.paper-abstract-page .note,
.essay-page .note,
.research-note-page .note {
  min-height: auto;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.paper-abstract-page .note {
  width: min(1040px, calc(100% - 40px));
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px);
}

.essay-page .note,
.research-note-page .note {
  width: min(960px, calc(100% - 40px));
  padding: clamp(48px, 8vw, 92px) 0 clamp(64px, 9vw, 112px);
}

.paper-abstract-page .note-header,
.essay-page .note-header,
.research-note-page .note-header {
  padding-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid var(--site-warm-line);
}

.paper-abstract-page .note-header {
  max-width: 930px;
}

.essay-page .note-header,
.research-note-page .note-header {
  max-width: 840px;
}

.paper-abstract-page .back-link,
.essay-page .back-link,
.research-note-page .back-link {
  margin-bottom: clamp(30px, 5vw, 54px);
  color: var(--accent-dark);
  font-weight: 750;
}

.paper-abstract-page .note-header h1,
.essay-page .note-header h1,
.research-note-page .note-header h1 {
  font-family: var(--site-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.paper-abstract-page .note-header h1 {
  max-width: 920px;
  font-size: clamp(2.55rem, 5.6vw, 5.25rem);
  line-height: 1.02;
}

.essay-page .note-header h1,
.research-note-page .note-header h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  line-height: 1.04;
}

.essay-page .note-subtitle,
.research-note-page .note-subtitle {
  color: #8d7150;
  font-family: var(--site-serif);
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-style: italic;
  font-weight: 400;
}

.paper-abstract-page .note-meta,
.essay-page .note-meta,
.research-note-page .note-meta {
  gap: 18px 36px;
}

.paper-abstract-page .note-body,
.essay-page .note-body,
.research-note-page .note-body {
  max-width: 760px;
  padding-top: clamp(40px, 6vw, 68px);
  color: #27343a;
}

.paper-abstract-page .note-body h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.essay-page .note-body h2,
.research-note-page .note-body h2 {
  margin: 2.2em 0 0.7em;
  color: var(--ink);
  font-family: var(--site-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

.essay-page .note-body h2:first-child,
.research-note-page .note-body h2:first-child {
  margin-top: 0;
}

.paper-abstract-page .note-body p,
.essay-page .note-body p,
.research-note-page .note-body p {
  font-family: var(--site-serif);
  font-size: clamp(1.15rem, 1.65vw, 1.34rem);
  line-height: 1.72;
}

.essay-page .note-body h3,
.research-note-page .note-body h3 {
  font-family: var(--site-serif);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 400;
}

.paper-abstract-page .note-body .paper-link,
.essay-page .note-body .paper-link,
.research-note-page .note-body .paper-link {
  margin-top: 0.6rem;
  border-radius: 2px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.essay-page .related-note,
.research-note-page .related-note {
  border-top-color: var(--site-warm-line);
}

@media (max-width: 780px) {
  .library-page .working-paper-card,
  .library-page .research-note-card {
    gap: 20px;
  }

  .paper-abstract-page .note,
  .essay-page .note,
  .research-note-page .note {
    width: min(100% - 32px, 1040px);
  }

  .paper-abstract-page .note-header h1,
  .essay-page .note-header h1,
  .research-note-page .note-header h1 {
    letter-spacing: -0.018em;
  }
}

/* ========================================================================
   Precision Analytica homepage v1.3 locked update
   ======================================================================== */

.home-v03 .program-hero__copy {
  width: min(720px, 52vw);
}

.home-v03 .program-hero h1 {
  font-size: clamp(3.45rem, 5.25vw, 6.25rem);
  line-height: 0.98;
}

.home-v03 .program-hero__claim {
  margin-top: clamp(34px, 5vh, 54px);
}

.home-v03 .home-research-v13 {
  padding-top: clamp(84px, 8vw, 132px);
}

.home-v03 .research-program-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(260px, 0.48fr);
  gap: clamp(48px, 10vw, 180px);
  align-items: start;
  margin-bottom: clamp(46px, 5vw, 72px);
}

.home-v03 .research-program-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(2.8rem, 4.3vw, 5.05rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.home-v03 .research-program-heading p {
  max-width: 360px;
  margin: 0;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.home-v03 .research-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(210px, 0.75fr));
  background: var(--home-white);
  border: 1px solid var(--home-line);
}

.home-v03 .research-feature-card {
  display: grid;
  min-height: 424px;
  align-content: start;
  padding: clamp(32px, 3.4vw, 54px);
  border: 0;
  border-left: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
}

.home-v03 .research-feature-card:first-child {
  border-left: 0;
}

.home-v03 .research-feature-card--lead {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: var(--home-deep);
  color: var(--home-white);
}

.home-v03 .research-feature-card--lead .home-kicker,
.home-v03 .research-feature-card--secondary .home-kicker {
  color: var(--home-gold);
}

.home-v03 .research-feature-card h3 {
  margin: 28px 0 22px;
  font-family: var(--home-serif);
  font-size: clamp(2rem, 2.75vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.home-v03 .research-feature-card--secondary h3 {
  color: var(--home-ink);
  font-size: clamp(1.75rem, 2vw, 2.35rem);
}

.home-v03 .research-feature-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-v03 .research-feature-card--lead > p:not(.home-kicker) {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.03rem;
}

.home-v03 .research-feature-card ul {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  color: #536374;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

.home-v03 .research-feature-card li {
  position: relative;
  padding-left: 18px;
}

.home-v03 .research-feature-card li::before {
  position: absolute;
  left: 0;
  color: var(--home-gold);
  content: "\2022";
}

.home-v03 .research-feature-card > a,
.home-v03 .research-feature-card__footer a {
  align-self: end;
  margin-top: auto;
  color: #b98b3e;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.home-v03 .research-feature-card > a:hover,
.home-v03 .research-feature-card > a:focus-visible,
.home-v03 .research-feature-card__footer a:hover,
.home-v03 .research-feature-card__footer a:focus-visible {
  color: var(--home-ink);
}

.home-v03 .research-feature-card--lead .research-feature-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
}

.home-v03 .research-feature-card--lead .research-feature-card__footer p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-v03 .research-feature-card--lead .research-feature-card__footer a:hover,
.home-v03 .research-feature-card--lead .research-feature-card__footer a:focus-visible {
  color: var(--home-white);
}

.home-v03 .research-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.home-v03 .research-domain-card {
  min-height: 168px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
}

.home-v03 .research-domain-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-family: var(--home-serif);
  font-size: clamp(1.35rem, 1.55vw, 1.75rem);
  font-weight: 400;
  line-height: 1.12;
}

.home-v03 .research-domain-card p {
  margin: 44px 0 0;
  color: var(--home-muted);
  font-size: 0.86rem;
  line-height: 1.38;
}

@media (max-width: 1100px) {
  .home-v03 .research-program-heading,
  .home-v03 .research-feature-panel {
    grid-template-columns: 1fr 1fr;
  }

  .home-v03 .research-feature-card--lead {
    grid-column: 1 / -1;
  }

  .home-v03 .research-feature-card:nth-child(2),
  .home-v03 .research-feature-card:nth-child(4) {
    border-left: 0;
  }

  .home-v03 .research-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-v03 .program-hero__copy {
    width: 100%;
  }

  .home-v03 .program-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .home-v03 .research-program-heading,
  .home-v03 .research-feature-panel {
    grid-template-columns: 1fr;
  }

  .home-v03 .research-program-heading {
    gap: 22px;
  }

  .home-v03 .research-program-heading p {
    max-width: 620px;
  }

  .home-v03 .research-feature-card,
  .home-v03 .research-feature-card:nth-child(2) {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid var(--home-line);
  }

  .home-v03 .research-feature-card:first-child {
    border-top: 0;
  }

  .home-v03 .research-feature-card--lead .research-feature-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .home-v03 .research-domain-grid {
    grid-template-columns: 1fr;
  }
}

.home-v03 .method-strip a,
.research-note-card h3 a,
.footnote-backref {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.home-v03 .method-strip a:hover,
.home-v03 .method-strip a:focus-visible,
.research-note-card h3 a:hover,
.research-note-card h3 a:focus-visible,
.footnote-backref:hover,
.footnote-backref:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Keep linked and unlinked library card headings typographically identical. */
.library-page .research-note-card h3 a {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.library-page .research-note-card h3 a:hover,
.library-page .research-note-card h3 a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Research note enhancements for forecast-style articles */
.note-toc {
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.note-toc p {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-toc ul,
.reference-list {
  margin: 0;
  padding-left: 1.2rem;
}

.note-toc li {
  margin-bottom: 0.35rem;
}

.note-summary {
  font-size: clamp(1.08rem, 1.75vw, 1.24rem);
}

.note-pull-quote {
  margin: 2rem 0;
  padding: 1.1rem 0 1.1rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--accent-dark);
  font-size: clamp(1.22rem, 2.4vw, 1.65rem);
  font-weight: 750;
  line-height: 1.45;
}

.note-table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.8rem;
}

.note-body table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.note-body th,
.note-body td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.note-body td {
  text-align: right;
}

/* When Finance Wags Trade long-form enhancements */
.when-finance-wags-trade-page .note-header h1 {
  font-size: 4.25rem;
  letter-spacing: 0;
}

.when-finance-wags-trade-page .note-subtitle {
  font-size: 1.75rem;
}

.when-finance-wags-trade-page .note-body h2 {
  font-size: 2.4rem;
}

.when-finance-wags-trade-page .note-body > p {
  font-size: 1.25rem;
}

.when-finance-wags-trade-page .note-status {
  margin: 1.2rem 0 0;
  color: #5f6d70;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.when-finance-wags-trade-page .note-body h2 {
  break-after: avoid-page;
}

.when-finance-wags-trade-page .footnote-ref {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.67em;
  line-height: 0;
  vertical-align: super;
}

.when-finance-wags-trade-page .footnote-ref a {
  position: relative;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.when-finance-wags-trade-page .footnote-ref a::after {
  position: absolute;
  inset: -1.35rem -0.8rem;
  content: "";
}

.when-finance-wags-trade-page .note-endnotes {
  margin-top: 3.2rem;
}

.when-finance-wags-trade-page .note-endnotes hr {
  margin: 0 0 2.6rem;
  border: 0;
  border-top: 1px solid var(--site-warm-line);
}

.when-finance-wags-trade-page .note-endnotes ol {
  margin: 0;
  padding-left: 1.4rem;
}

.when-finance-wags-trade-page .note-endnotes li {
  margin: 0 0 1.15rem;
  padding-left: 0.3rem;
  overflow-wrap: anywhere;
  color: #425156;
  font-family: var(--site-serif);
  font-size: 1rem;
  line-height: 1.65;
}

.when-finance-wags-trade-page .note-endnotes li > a:not(.footnote-backref) {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.when-finance-wags-trade-page .footnote-backref {
  display: inline-block;
  margin: -0.5rem -0.35rem;
  padding: 0.5rem 0.35rem;
}

@media (max-width: 780px) {
  .when-finance-wags-trade-page .note-header h1 {
    font-size: 2.45rem;
  }

  .when-finance-wags-trade-page .note-subtitle {
    font-size: 1.35rem;
  }

  .when-finance-wags-trade-page .note-body h2 {
    font-size: 1.9rem;
  }

  .when-finance-wags-trade-page .note-body > p {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .when-finance-wags-trade-page .note-pull-quote {
    font-size: 1.2rem;
  }

  .when-finance-wags-trade-page .note-endnotes ol {
    padding-left: 1.15rem;
  }

  .when-finance-wags-trade-page .note-endnotes li {
    font-size: 0.98rem;
  }
}

/* Long-form research note treatment */
.long-form-note-page .note-header h1 {
  font-size: 3.65rem;
  letter-spacing: 0;
}

.long-form-note-page .note-subtitle {
  font-size: 1.55rem;
}

.long-form-note-page .note-dek {
  max-width: 760px;
  margin: 1.35rem 0 0;
  color: #4e5d62;
  font-family: var(--site-serif);
  font-size: 1.15rem;
  line-height: 1.6;
}

.long-form-note-page .note-body h2 {
  break-after: avoid-page;
  font-size: 2.25rem;
}

.long-form-note-page .note-body > p {
  font-size: 1.22rem;
}

.long-form-note-page .footnote-ref {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.67em;
  line-height: 0;
  vertical-align: super;
}

.long-form-note-page .footnote-ref a {
  position: relative;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.long-form-note-page .footnote-ref a::after {
  position: absolute;
  inset: -1.35rem -0.8rem;
  content: "";
}

.long-form-note-page .note-endnotes {
  margin-top: 3.2rem;
}

.long-form-note-page .note-endnotes hr {
  margin: 0 0 2.6rem;
  border: 0;
  border-top: 1px solid var(--site-warm-line);
}

.long-form-note-page .note-endnotes ol {
  margin: 0;
  padding-left: 1.4rem;
}

.long-form-note-page .note-endnotes li {
  margin: 0 0 1.35rem;
  padding-left: 0.3rem;
  overflow-wrap: anywhere;
  color: #425156;
  font-family: var(--site-serif);
  font-size: 1rem;
  line-height: 1.65;
}

.long-form-note-page .note-endnotes li > a:not(.footnote-backref) {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.long-form-note-page .footnote-backref {
  display: inline-block;
  margin: -0.5rem -0.35rem;
  padding: 0.5rem 0.35rem;
}

.long-form-note-page .note-references {
  margin-top: 3.2rem;
}

.long-form-note-page .reference-list {
  margin: 0;
  padding: 0;
}

.long-form-note-page .reference-list p {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  color: #425156;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 780px) {
  .long-form-note-page .note-header h1 {
    font-size: 2.35rem;
  }

  .long-form-note-page .note-subtitle {
    font-size: 1.25rem;
  }

  .long-form-note-page .note-dek {
    font-size: 1.05rem;
  }

  .long-form-note-page .note-body h2 {
    font-size: 1.75rem;
  }

  .long-form-note-page .note-body > p {
    font-size: 1.12rem;
  }
}

@media (max-width: 600px) {
  .long-form-note-page .note-endnotes ol {
    padding-left: 1.15rem;
  }

  .long-form-note-page .note-endnotes li,
  .long-form-note-page .reference-list p {
    font-size: 0.96rem;
  }
}

/* Tokenization research note math treatment */
.tokenization-note-page .note-header h1 {
  font-size: 3.15rem;
}

.tokenization-note-page .math-inline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.tokenization-note-page .math-display {
  margin: 1.8rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--site-warm-line);
  border-bottom: 1px solid var(--site-warm-line);
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  text-align: center;
}

.tokenization-note-page .math-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
}

.tokenization-note-page .math-operator {
  color: var(--accent-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
}

.tokenization-note-page .math-labelled-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent-dark);
  line-height: 0.85;
}

.tokenization-note-page .math-labelled-arrow small {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.6em;
}

.tokenization-note-page .math-script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.tokenization-note-page .math-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.7rem;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--site-warm-line);
}

.tokenization-note-page .note-references hr {
  margin: 0 0 2.6rem;
  border: 0;
  border-top: 1px solid var(--site-warm-line);
}

.tokenization-note-page .reference-list p {
  font-size: 1.05rem;
}

@media (max-width: 780px) {
  .tokenization-note-page .note-header h1 {
    font-size: 2.25rem;
  }

  .tokenization-note-page .math-display {
    font-size: 1.05rem;
  }
}

/* Beyond Prices research note quotations */
.beyond-prices-page .note-body blockquote {
  margin: 2rem 0;
  padding: 0.35rem 0 0.35rem 1.4rem;
  border-left: 3px solid var(--accent);
}

.beyond-prices-page .note-body blockquote p {
  margin: 0 0 0.8rem;
  color: #34464c;
  font-family: var(--site-serif);
  font-size: 1.22rem;
  line-height: 1.65;
}

.beyond-prices-page .note-body blockquote p:last-child {
  margin-bottom: 0;
}

.beyond-prices-page .note-references hr {
  margin: 0 0 2.6rem;
  border: 0;
  border-top: 1px solid var(--site-warm-line);
}

@media (max-width: 780px) {
  .beyond-prices-page .note-body blockquote {
    padding-left: 1rem;
  }

  .beyond-prices-page .note-body blockquote p {
    font-size: 1.1rem;
  }
}

/* Animus and Geist research note reading treatment */
.animus-geist-page .note-abstract p {
  color: #34464c;
  font-size: 1.22rem;
}

.animus-geist-page .note-body > hr,
.animus-geist-page .note-references > hr {
  margin: 3.2rem 0 0;
  border: 0;
  border-top: 1px solid var(--site-warm-line);
}

.animus-geist-page .note-body blockquote {
  margin: 2rem 0;
  padding: 0.35rem 0 0.35rem 1.4rem;
  border-left: 3px solid var(--accent);
}

.animus-geist-page .note-body blockquote p {
  margin: 0;
  color: #34464c;
  font-size: 1.22rem;
  line-height: 1.65;
}

.animus-geist-page .note-body > ul {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  font-family: var(--site-serif);
  font-size: clamp(1.15rem, 1.65vw, 1.34rem);
  line-height: 1.72;
}

.animus-geist-page .note-body > ul li + li {
  margin-top: 0.35rem;
}

@media (max-width: 780px) {
  .animus-geist-page .note-body blockquote {
    padding-left: 1rem;
  }

  .animus-geist-page .note-abstract p,
  .animus-geist-page .note-body blockquote p {
    font-size: 1.1rem;
  }
}


/* Essays: literary source note and separate homepage feature. */
.essay-sources {
  max-width: 760px;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--site-warm-line);
  color: #425156;
  font-size: 0.95rem;
  line-height: 1.65;
}
.essay-sources summary { cursor: pointer; color: var(--accent-dark); font-weight: 700; }
.essay-sources li { margin-bottom: 0.6rem; }
.essay-sources a { overflow-wrap: anywhere; }
.essay-page a:focus-visible,
.essay-sources summary:focus-visible,
.essays-index a:focus-visible,
.home-essays a:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.home-v03 .home-essays {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--home-line);
}
.home-essays h2,
.home-essays h3 { font-family: var(--site-serif); font-weight: 400; line-height: 1.15; }
.home-essays h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.home-essays h3 { margin-bottom: 0.7rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.home-essay-card { max-width: 760px; }
.home-essays a { color: var(--accent-dark); }
.home-essay-card p { line-height: 1.6; }
.home-essay-meta { color: #536374; font-size: 0.95rem; }

.essay-page .note-subtitle { color: #766044; }

.home-v03 .home-essay-card { border-radius: 0; box-shadow: none; border-color: var(--home-line); }
