/* Generated by scripts/build_css.py. Edit split CSS files, not this bundle. */
/* static/css/site.css */
/* static/css/tokens.css */
@font-face {
  font-family: "Forum";
  src: url("/static/fonts/Forum-Regular.ff57d0d9febd.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/static/fonts/Onest-Regular.17b0d07dd76f.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/static/fonts/Onest-Medium.a55753247ef4.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/static/fonts/Onest-SemiBold.b244873808ba.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f3ede3;
  --bg-soft: #e8dfd1;
  --surface: #fbf7f1;
  --text: #1f1b18;
  --brand: #26382f;
  --accent: #6e3a32;
  --grain: #a2773f;
  --line: #bfb3a1;
  --muted: #5c5a55;
  --shadow: 0 20px 50px rgba(31, 27, 24, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Forum", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --container: 1160px;
  --measure: 44rem;
  --measure-wide: 56rem;
  --text-xs: 0.82rem;
  --text-sm: 0.94rem;
  --text-base: 1rem;
  --text-md: 1.08rem;
  --text-lg: 1.18rem;
  --text-xl: 1.32rem;
  --leading-tight: 1.12;
  --leading-title: 1.18;
  --leading-body: 1.68;
  --leading-compact: 1.45;
  --space-block: 1.65rem;
  --space-section: 3.2rem;
}

/* static/css/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background:
    linear-gradient(
      90deg,
      rgba(232, 211, 168, 0.18) 0,
      rgba(232, 211, 168, 0.16) calc(50% - 54rem),
      rgba(243, 237, 227, 0.82) calc(50% - 43rem),
      var(--bg) calc(50% - 37rem),
      var(--bg) calc(50% + 37rem),
      rgba(243, 237, 227, 0.82) calc(50% + 43rem),
      rgba(232, 211, 168, 0.16) calc(50% + 54rem),
      rgba(232, 211, 168, 0.18) 100%
    ),
    url("/static/patterns/archive-pattern.ce848bfcea4b.webp");
  background-color: var(--bg);
  background-position: center top, center top;
  background-repeat: no-repeat, repeat;
  background-size: auto, 1640px 1640px;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  min-height: 52vh;
}

::selection {
  background: rgba(38, 56, 47, 0.18);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

p,
li,
figcaption,
blockquote {
  overflow-wrap: break-word;
  hyphens: manual;
  word-break: normal;
}

h1,
h2,
h3,
h4 {
  overflow-wrap: normal;
  hyphens: manual;
  word-break: normal;
  text-wrap: balance;
}

a,
button,
summary,
label,
[role="button"],
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible),
select:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(38, 56, 47, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--brand);
  color: white;
  padding: 0.75rem 1rem;
}

@media (max-width: 899px) {
  body {
    font-size: 16px;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
    background: var(--bg);
    background-color: var(--bg);
    background-image: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* static/css/layout.css */
.shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.page-intro,
.page-shell {
  padding: 4rem 0 5rem;
}

.page-intro--home {
  padding-bottom: 3rem;
}

.page-shell--with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.page-main {
  min-width: 0;
}

.page-aside {
  align-self: start;
}

.page-intro h1,
.page-shell h1,
.hero h1 {
  font-size: clamp(2.45rem, 5.4vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 1rem;
}

.lead,
.hero__subtitle,
.page-summary {
  max-width: 52rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.58;
}

.hero {
  padding: 3rem 0 1rem;
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__image {
  width: 100%;
  border-radius: 2rem 2rem 2rem 0.5rem;
  overflow: hidden;
}

.hero__visual--home {
  position: relative;
}

.hero__visual--home::before {
  content: "";
  position: absolute;
  inset: 1.4rem 1.2rem -1.2rem auto;
  width: 72%;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(38, 56, 47, 0.1), rgba(110, 58, 50, 0.06));
  filter: blur(8px);
  z-index: 0;
}

.hero__image--home {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(191, 179, 161, 0.9);
  box-shadow:
    0 26px 54px rgba(31, 27, 24, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: rgba(251, 247, 241, 0.85);
}

.section {
  padding: 1rem 0 3rem;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.section-title__link {
  text-decoration: none;
}

.section-title__link:hover,
.section-title__link:focus-visible {
  color: var(--brand);
}

.section-intro,
.metric__description,
.card p,
.document-card p,
.person-card p,
.editorial-section p {
  color: var(--muted);
}

.editorial-section .content-block--rich_text p,
.content-block--rich_text p,
.content-block--rich_text li {
  color: var(--text);
}

.card-grid,
.metrics-grid,
.gallery-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 900px) {
  .hero__grid,
  .page-shell--with-aside {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  }

  .hero__grid--home {
    grid-template-columns: minmax(0, 0.98fr) minmax(440px, 0.92fr);
    gap: 2.6rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: end;
  }
}

@media (max-width: 899px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .page-intro,
  .page-shell {
    padding: 2rem 0 3rem;
  }

  .page-intro--home {
    padding-bottom: 1.8rem;
  }

  .hero {
    padding: 1.2rem 0 0.5rem;
  }

  .hero__grid--home {
    gap: 1.4rem;
  }

  .hero__visual--home::before {
    inset: 1rem 0.8rem -0.8rem auto;
    width: 76%;
  }

  .hero__image--home {
    aspect-ratio: 1 / 1;
    border-radius: 1.6rem 1.6rem 1.6rem 0.55rem;
  }

  .section {
    padding: 0.5rem 0 2rem;
  }

  .page-intro h1,
  .page-shell h1,
  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.05rem);
    line-height: 1.08;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .lead,
  .hero__subtitle,
  .page-summary {
    font-size: 1rem;
  }

  .card-grid,
  .metrics-grid,
  .gallery-grid,
  .people-grid,
  .document-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

/* static/css/components/header.css */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: clip;
  background:
    linear-gradient(
      90deg,
      rgba(232, 211, 168, 0.18) 0,
      rgba(232, 211, 168, 0.16) calc(50% - 54rem),
      rgba(243, 237, 227, 0.9) calc(50% - 43rem),
      rgba(243, 237, 227, 0.96) calc(50% - 37rem),
      rgba(243, 237, 227, 0.96) calc(50% + 37rem),
      rgba(243, 237, 227, 0.9) calc(50% + 43rem),
      rgba(232, 211, 168, 0.16) calc(50% + 54rem),
      rgba(232, 211, 168, 0.18) 100%
    ),
    url("/static/patterns/archive-pattern.ce848bfcea4b.webp");
  background-position: center top, center top;
  background-size: auto, 1640px 1640px;
  border-bottom: 1px solid rgba(191, 179, 161, 0.48);
  box-shadow: 0 0.8rem 2.4rem rgba(31, 27, 24, 0.035);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background-color: rgba(243, 237, 227, 0.5);
    backdrop-filter: blur(14px);
  }
}

.site-header__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  min-height: 5.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.site-brand__mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.site-brand__logo {
  width: 100%;
  height: 100%;
}

.site-brand__text {
  display: grid;
  gap: 0.12rem;
}

.site-brand__name,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

.site-brand__meta,
.eyebrow,
.updated-at,
.status-badge {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

@media (max-width: 899px) {
  .site-header {
    background: rgba(243, 237, 227, 0.96);
    background-image: none;
    box-shadow: none;
  }

  .site-header__inner {
    align-items: center;
    justify-content: flex-start;
    min-height: 4.5rem;
    padding: 0.85rem 0;
  }

  .site-nav {
    display: none;
  }

  .site-brand {
    gap: 0.75rem;
  }

  .site-brand__mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-brand__name {
    font-size: 1.05rem;
  }

  .site-brand__meta {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
}

/* static/css/components/buttons.css */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  border: 1px solid var(--brand);
  cursor: pointer;
}

.button--ghost {
  background: transparent;
  color: var(--brand);
}

/* static/css/components/carousel.css */
.people-carousel {
  position: relative;
}

.people-carousel__controls {
  display: flex;
  gap: 0.45rem;
  padding: 0.22rem;
  border: 1px solid rgba(191, 179, 161, 0.62);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 0.8rem 2rem rgb(31 27 24 / 7%);
}

.people-carousel__button {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.people-carousel__button:hover,
.people-carousel__button:focus-visible {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(38, 56, 47, 0.14);
  background: color-mix(in srgb, var(--brand) 9%, white);
  box-shadow: 0 0.55rem 1.2rem rgb(31 27 24 / 8%);
}

.people-carousel__button:active {
  transform: translateY(0) scale(0.96);
}

.people-carousel__frame {
  position: relative;
  margin: 0 -0.2rem;
}

.people-carousel__frame::before,
.people-carousel__frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.4rem;
  width: clamp(2rem, 4vw, 3rem);
  z-index: 2;
  pointer-events: none;
}

.people-carousel__frame::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 20%, rgba(243, 237, 227, 0));
}

.people-carousel__frame::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 20%, rgba(243, 237, 227, 0));
}

.people-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.2rem 0.2rem 0.6rem;
  cursor: grab;
}

.people-carousel__viewport:active {
  cursor: grabbing;
}

.people-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.people-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 264px;
  gap: 1.5rem;
  width: max-content;
}

@media (max-width: 899px) {
  .people-carousel__frame::before,
  .people-carousel__frame::after {
    width: 1rem;
  }

  .people-carousel__controls {
    display: none;
  }

  .people-carousel__track {
    grid-auto-columns: minmax(242px, 82vw);
  }
}

/* static/css/components/donation-panel.css */
.support-section {
  padding: 0 0 3rem;
}

.support-section--compact {
  padding-top: 2rem;
}

.support-panel {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.05), rgba(110, 58, 50, 0.04)),
    rgba(251, 247, 241, 0.92);
  border: 1px solid rgba(191, 179, 161, 0.85);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.support-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.support-panel__link {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  color: var(--brand);
  font-weight: 600;
}

.support-panel__copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.support-panel__copy h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
}

.support-panel__copy > p {
  max-width: 32.5rem;
}

.support-panel__lead {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.68;
}

.support-panel__note,
.support-panel__caption {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.support-panel__qr-wrap {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  align-content: start;
}

.support-panel__actions {
  display: grid;
  width: min(100%, 320px);
  gap: 0.65rem;
}

.support-panel__action {
  width: 100%;
}

.support-panel__qr-frame {
  width: min(100%, 320px);
  padding: 1rem;
  background: #fffdf8;
  border-radius: 1.5rem;
  border: 1px solid rgba(191, 179, 161, 0.9);
  box-shadow:
    0 20px 40px rgba(31, 27, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.support-panel__qr {
  width: 100%;
  border-radius: 0.75rem;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.support-panel__caption--mobile {
  max-width: 320px;
  text-align: center;
}

@media (min-width: 900px) {
  .support-panel {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 2.2rem;
    padding: 2rem 2.2rem;
  }
}

@media (max-width: 899px) {
  .support-section {
    padding-bottom: 2rem;
  }

  .support-panel {
    padding: 1.25rem;
  }

  .support-panel__copy {
    gap: 0.75rem;
  }

  .support-panel__lead {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* static/css/components/footer.css */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(191, 179, 161, 0.62);
  background:
    linear-gradient(
      90deg,
      rgba(232, 211, 168, 0.2) 0,
      rgba(232, 211, 168, 0.18) calc(50% - 54rem),
      rgba(232, 223, 209, 0.8) calc(50% - 43rem),
      rgba(232, 223, 209, 0.92) calc(50% - 37rem),
      rgba(232, 223, 209, 0.92) calc(50% + 37rem),
      rgba(232, 223, 209, 0.8) calc(50% + 43rem),
      rgba(232, 211, 168, 0.18) calc(50% + 54rem),
      rgba(232, 211, 168, 0.2) 100%
    ),
    url("/static/patterns/archive-pattern.ce848bfcea4b.webp");
  background-position: center top, center bottom;
  background-size: auto, 1640px 1640px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.footer-title {
  margin-top: 0;
  font-size: 1.4rem;
}

.site-footer__visits {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(191, 179, 161, 0.72);
  border-radius: 1.2rem;
  background: rgba(255, 252, 246, 0.58);
  box-shadow: 0 1.2rem 3.4rem rgba(31, 27, 24, 0.07);
}

.site-footer__visits-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__visits-values {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__visits-values span {
  display: inline-flex;
  gap: 0.38rem;
  align-items: baseline;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(38, 56, 47, 0.08);
  color: var(--brand);
}

.site-footer__visits-values strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(191, 179, 161, 0.6);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer__copy,
.site-footer__version {
  margin: 0;
}

@media (max-width: 899px) {
  .site-footer {
    margin-top: 2.25rem;
    padding: 1.45rem 0 calc(1.2rem + env(safe-area-inset-bottom));
    background: var(--bg-soft);
    background-image: none;
  }

  .site-footer__grid {
    gap: 0.95rem;
  }

  .site-footer .footer-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
  }

  .site-footer p {
    margin: 0.35rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .site-footer__visits {
    display: block;
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 1rem;
  }

  .site-footer__visits-label {
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
  }

  .site-footer__visits-values {
    justify-content: flex-start;
  }

  .site-footer__visits-values span {
    padding: 0.35rem 0.55rem;
    font-size: 0.9rem;
  }

  .site-footer__visits-values strong {
    font-size: 1.15rem;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
  }

  .site-footer__version {
    display: none;
  }
}

/* static/css/components/forms.css */
select {
  min-height: 3rem;
  padding: 0 3rem 0 1rem;
  border: 1px solid rgba(191, 179, 161, 0.95);
  border-radius: 999px;
  appearance: none;
  color: var(--text);
  background:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%) calc(100% - 1.25rem) 52% / 0.42rem 0.42rem no-repeat,
    linear-gradient(135deg, var(--brand) 50%, transparent 50%) calc(100% - 0.98rem) 52% / 0.42rem 0.42rem no-repeat,
    rgba(251, 247, 241, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  font: 500 0.95rem/1 var(--font-body);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

select:hover {
  border-color: rgba(38, 56, 47, 0.45);
  background-color: var(--surface);
}

select:focus-visible {
  border-color: rgba(38, 56, 47, 0.75);
  box-shadow: 0 0 0 4px rgba(38, 56, 47, 0.12);
}

.custom-select {
  position: relative;
  min-width: 10.25rem;
}

.custom-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3rem;
  padding: 0 0.95rem 0 1.05rem;
  border: 1px solid rgba(191, 179, 161, 0.95);
  border-radius: 999px;
  color: var(--text);
  background: rgba(251, 247, 241, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 20px rgba(31, 27, 24, 0.05);
  font: 500 0.95rem/1 var(--font-body);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.custom-select__button::after {
  content: "";
  width: 0.56rem;
  height: 0.56rem;
  border-right: 1.7px solid var(--brand);
  border-bottom: 1.7px solid var(--brand);
  transform: translateY(-0.16rem) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select__button:hover,
.custom-select__button:focus-visible,
.custom-select--open .custom-select__button {
  border-color: rgba(38, 56, 47, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 14px 28px rgba(31, 27, 24, 0.08);
}

.custom-select--open .custom-select__button::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.custom-select__list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(20rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.35rem;
  border: 1px solid rgba(191, 179, 161, 0.85);
  border-radius: 1rem;
  background: rgba(251, 247, 241, 0.98);
  box-shadow: 0 18px 40px rgba(31, 27, 24, 0.16);
  list-style: none;
}

.custom-select__list[hidden] {
  display: none;
}

.custom-select__option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-radius: 0.72rem;
  color: var(--text);
  background: transparent;
  font: 500 0.95rem/1.15 var(--font-body);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  outline: 0;
  background: rgba(38, 56, 47, 0.08);
}

.custom-select__option[aria-selected="true"] {
  color: var(--surface);
  background: var(--brand);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.58rem 0.95rem;
  border: 1px solid rgba(191, 179, 161, 0.95);
  border-radius: 999px;
  color: var(--text);
  background: rgba(251, 247, 241, 0.86);
  box-shadow: 0 10px 20px rgba(31, 27, 24, 0.04);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  border-color: rgba(38, 56, 47, 0.55);
  transform: translateY(-1px);
}

.filter-pill--active {
  border-color: var(--brand);
  color: var(--surface);
  background: var(--brand);
  box-shadow: none;
}

@media (max-width: 899px) {
  .custom-select {
    width: 100%;
  }

  .custom-select__list {
    width: 100%;
    max-width: 100%;
  }

  .filter-pills {
    gap: 0.45rem;
  }

  .filter-pill {
    min-height: 2.55rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
  }
}

/* static/css/components/lightbox.css */
.image-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  border-radius: inherit;
  cursor: zoom-in;
  overflow: hidden;
}

.image-zoom::after {
  content: "Увеличить";
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(251, 247, 241, 0.65);
  border-radius: 999px;
  color: var(--surface);
  background: rgba(31, 27, 24, 0.58);
  box-shadow: 0 10px 24px rgba(31, 27, 24, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(0.25rem);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
  pointer-events: none;
}

.image-zoom:hover::after,
.image-zoom:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.image-zoom:hover .article-cover__image,
.image-zoom:focus-visible .article-cover__image,
.image-zoom:hover img,
.image-zoom:focus-visible img {
  transform: scale(1.018);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 0;
  background: rgba(31, 27, 24, 0.84);
  opacity: 0;
  transition: opacity 160ms ease;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__inner {
  position: relative;
  width: min(100%, 92rem);
  max-height: min(88vh, 62rem);
  display: grid;
  gap: 0.7rem;
}

.lightbox__image {
  width: 100%;
  max-height: min(82vh, 58rem);
  object-fit: contain;
  border-radius: 1.1rem;
  background: rgba(251, 247, 241, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.lightbox__caption {
  margin: 0;
  color: rgba(251, 247, 241, 0.86);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -0.7rem;
  right: -0.7rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(251, 247, 241, 0.5);
  border-radius: 999px;
  color: var(--surface);
  background: rgba(31, 27, 24, 0.72);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 899px) {
  .image-zoom::after {
    content: "Открыть крупно";
    opacity: 1;
    transform: none;
    right: 0.65rem;
    bottom: 0.65rem;
    font-size: 0.72rem;
  }

  .lightbox {
    padding: 0.65rem;
  }

  .lightbox__close {
    top: 0.45rem;
    right: 0.45rem;
  }
}

/* static/css/components/mobile-tabbar.css */
.mobile-tabbar {
  display: none;
}

@media (max-width: 899px) {
  .mobile-tabbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 0 0 calc(0.35rem + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(243, 237, 227, 0), rgba(243, 237, 227, 0.92) 25%, rgba(243, 237, 227, 0.98) 100%);
    pointer-events: none;
  }

  .mobile-tabbar__inner {
    width: min(calc(100% - 0.8rem), 38rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.4rem;
    background: rgba(251, 247, 241, 0.96);
    border: 1px solid rgba(191, 179, 161, 0.88);
    border-radius: 1.35rem;
    box-shadow: 0 14px 32px rgba(31, 27, 24, 0.16);
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-tabbar__item {
    min-height: 3.45rem;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 0.22rem;
    padding: 0.4rem 0.2rem 0.45rem;
    text-align: center;
    text-decoration: none;
    color: var(--muted);
    border-radius: 0.95rem;
    line-height: 1.05;
    border: 1px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease;
  }

  .mobile-tabbar__item:active {
    transform: translateY(1px) scale(0.96);
    background: rgba(38, 56, 47, 0.08);
  }

  .mobile-tabbar__item--active {
    color: var(--brand);
    background: rgba(38, 56, 47, 0.09);
    border-color: rgba(38, 56, 47, 0.14);
  }

  .mobile-tabbar__icon {
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(38, 56, 47, 0.08);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
  }

  .mobile-tabbar__label {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-wrap: balance;
    max-width: 100%;
  }

  .mobile-tabbar__more {
    position: relative;
  }

  .mobile-tabbar__more summary {
    list-style: none;
  }

  .mobile-tabbar__more summary::-webkit-details-marker {
    display: none;
  }

  .mobile-tabbar__more[open] .mobile-tabbar__item--more {
    color: var(--brand);
    background: rgba(38, 56, 47, 0.09);
    border-color: rgba(38, 56, 47, 0.14);
  }

  .mobile-tabbar__sheet {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.5rem);
    width: min(18rem, calc(100vw - 1rem));
    z-index: 2;
  }

  .mobile-tabbar__sheet-card {
    padding: 0.9rem;
    background: rgba(251, 247, 241, 0.98);
    border: 1px solid rgba(191, 179, 161, 0.92);
    border-radius: 1.1rem;
    box-shadow: 0 20px 36px rgba(31, 27, 24, 0.2);
    backdrop-filter: blur(16px);
  }

  .mobile-tabbar__sheet-title {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-tabbar__sheet-links {
    display: grid;
    gap: 0.45rem;
  }

  .mobile-tabbar__sheet-link {
    display: block;
    padding: 0.75rem 0.8rem;
    border-radius: 0.85rem;
    text-decoration: none;
    color: var(--text);
    background: rgba(38, 56, 47, 0.03);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 140ms ease, background 140ms ease, color 140ms ease;
  }

  .mobile-tabbar__sheet-link:active {
    transform: scale(0.98);
    background: rgba(38, 56, 47, 0.08);
  }

  .mobile-tabbar__sheet-link--active {
    color: var(--brand);
    background: rgba(38, 56, 47, 0.08);
  }
}

/* static/css/components/surfaces.css */
.toc-card,
.card,
.document-card,
.metric,
.person-card,
.cta-panel {
  background: rgba(251, 247, 241, 0.85);
  border: 1px solid rgba(191, 179, 161, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-links,
.hero__actions,
.document-card__actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.filters {
  align-items: center;
  margin-bottom: 1.25rem;
}

.section-heading__action {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(38, 56, 47, 0.12);
  background: rgba(251, 247, 241, 0.88);
  box-shadow: 0 8px 16px rgba(31, 27, 24, 0.06);
}

.card,
.document-card,
.metric,
.person-card,
.cta-panel,
.toc-card {
  padding: 1.25rem;
}

.card--editorial {
  position: relative;
  min-height: 100%;
  padding-top: 1.7rem;
}

.card--editorial::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), rgba(110, 58, 50, 0.45));
  border-radius: 999px;
  opacity: 0.85;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card__source {
  margin-top: 1rem;
}

.card h3,
.document-card h3 {
  margin: 0;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.status-badge--actual {
  border-color: var(--brand);
  color: var(--brand);
}

.status-badge--active {
  border-color: rgba(38, 56, 47, 0.38);
  color: var(--brand);
  background: rgba(38, 56, 47, 0.08);
}

.status-badge--completed {
  border-color: rgba(110, 58, 50, 0.28);
  color: var(--accent);
  background: rgba(110, 58, 50, 0.07);
}

@media (max-width: 899px) {
  .filters,
  .quick-links,
  .hero__actions,
  .document-card__actions {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .card,
  .document-card,
  .metric,
  .person-card,
  .cta-panel,
  .toc-card {
    padding: 1rem;
  }

  .card--editorial {
    padding-top: 1.85rem;
  }

  .card--editorial::before {
    top: 0.9rem;
    left: 1rem;
    right: 1rem;
  }

  .card--editorial > .eyebrow:first-child,
  .card--editorial .news-card__meta-row:first-child {
    margin-top: 0.35rem;
  }
}

/* static/css/components/person-cards.css */
.person-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.person-card h3 {
  margin: 0;
}

.person-card--lead {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

.person-card__content {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.person-card__media {
  aspect-ratio: 4 / 5;
  margin-bottom: 0.35rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.05), rgba(110, 58, 50, 0.05)),
    var(--surface);
}

.person-card--lead .person-card__media {
  aspect-ratio: 5 / 6;
  margin-bottom: 0;
}

.person-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--person-photo-position, 50% 50%);
}

.person-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.12), rgba(110, 58, 50, 0.12)),
    var(--surface);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  letter-spacing: 0.02em;
}

.person-card--carousel {
  min-height: 100%;
  gap: 0.72rem;
  padding: 1.25rem;
  border-radius: 1.4rem;
}

.person-card--carousel h3 {
  font-size: 1.06rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.person-card--carousel .person-card__media {
  aspect-ratio: 4 / 5;
  border-radius: 1.1rem;
}

.person-card--carousel .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.person-card__summary {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.person-card--carousel .card__source {
  margin-top: auto;
}

@media (max-width: 899px) {
  .person-card__media {
    aspect-ratio: 1 / 1;
  }

  .person-card--lead {
    grid-template-columns: 1fr;
  }

  .person-card--lead .person-card__media {
    max-width: 16rem;
  }
}

/* static/css/components/editorial.css */
.block-panel {
  display: grid;
  gap: 1rem;
}

.block-panel .section-title,
.block-panel .section-intro {
  margin-top: 0;
}

.metric__value {
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 2.55rem;
  margin: 0;
}

.metric__label {
  margin: 0.25rem 0;
  font-weight: 600;
}

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}

.timeline__item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.86rem;
  top: 0.55rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--grain);
}

.editorial-section {
  margin-bottom: 2rem;
}

.content-block {
  margin: var(--space-block) 0;
}

.content-block--rich_text,
.content-block--pull_quote,
.content-block--callout,
.content-block--embed_media {
  max-width: var(--measure);
}

.content-block--article_image {
  max-width: var(--measure-wide);
}

.content-block--gallery,
.content-block--cards,
.content-block--numbers,
.content-block--document_list,
.content-block--people_list,
.content-block--timeline,
.content-block--media_text,
.content-block--cta {
  max-width: 100%;
}

.content-block--rich_text {
  font-size: var(--text-md);
  line-height: var(--leading-body);
}

.content-block--rich_text > * {
  margin-top: 0;
}

.content-block--rich_text > * + * {
  margin-top: 1rem;
}

.content-block--rich_text h2,
.content-block--rich_text h3,
.content-block--rich_text h4 {
  max-width: 38rem;
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  color: var(--text);
  line-height: var(--leading-title);
}

.content-block--rich_text h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.2rem);
}

.content-block--rich_text h3 {
  font-family: var(--font-body);
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  font-weight: 600;
}

.content-block--rich_text h4 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-block--rich_text ul,
.content-block--rich_text ol {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.35rem;
}

.content-block--rich_text a {
  color: var(--brand);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.content-block--rich_text blockquote {
  margin: 1.6rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid rgba(38, 56, 47, 0.22);
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.55;
}

.article-image {
  margin: 0;
}

.article-image--inline {
  max-width: 36rem;
}

.article-image--ratio-4x5 {
  max-width: 34rem;
}

.article-image--ratio-1x1 {
  max-width: 42rem;
}

.article-image__media {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.article-image .image-zoom,
.article-cover .image-zoom {
  border-radius: var(--radius-md);
}

.article-cover .image-zoom {
  border-radius: 1.6rem;
}

.article-image--fit-contain .image-zoom {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.06), rgba(110, 58, 50, 0.035)),
    rgba(251, 247, 241, 0.76);
  border: 1px solid rgba(191, 179, 161, 0.68);
  box-shadow: var(--shadow);
}

.article-image--fit-contain .article-image__media {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: none;
}

.article-image--fit-contain.article-image--ratio-16x9 .image-zoom {
  aspect-ratio: 16 / 9;
}

.article-image--fit-contain.article-image--ratio-3x2 .image-zoom {
  aspect-ratio: 3 / 2;
}

.article-image--fit-contain.article-image--ratio-4x3 .image-zoom {
  aspect-ratio: 4 / 3;
}

.article-image--fit-contain.article-image--ratio-1x1 .image-zoom {
  aspect-ratio: 1 / 1;
}

.article-image--fit-contain.article-image--ratio-4x5 .image-zoom {
  aspect-ratio: 4 / 5;
}

.article-image--full {
  max-width: 100%;
}

.article-image__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-compact);
}

.article-image__credit {
  opacity: 0.78;
  white-space: nowrap;
}

.pull-quote {
  margin: 0;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(191, 179, 161, 0.7);
  border-radius: 1.5rem;
  background: rgba(251, 247, 241, 0.85);
  box-shadow: var(--shadow);
}

.pull-quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
}

.pull-quote__attribution {
  margin-top: 0.9rem;
  color: var(--muted);
}

.callout-block {
  padding: 1.15rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(191, 179, 161, 0.7);
  background: rgba(251, 247, 241, 0.85);
}

.media-text {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(191, 179, 161, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(251, 247, 241, 0.78);
  box-shadow: var(--shadow);
}

.media-text--image-right .media-text__figure {
  order: 2;
}

.media-text__figure {
  margin: 0;
}

.media-text__zoom {
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(38, 56, 47, 0.05);
}

.media-text--ratio-16x9 .media-text__zoom {
  aspect-ratio: 16 / 9;
}

.media-text--ratio-3x2 .media-text__zoom {
  aspect-ratio: 3 / 2;
}

.media-text--ratio-4x3 .media-text__zoom {
  aspect-ratio: 4 / 3;
}

.media-text--ratio-1x1 .media-text__zoom {
  aspect-ratio: 1 / 1;
}

.media-text--ratio-4x5 .media-text__zoom {
  aspect-ratio: 4 / 5;
}

.media-text--ratio-natural .media-text__zoom {
  aspect-ratio: auto;
}

.media-text__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-text--fit-contain .media-text__zoom {
  padding: 0.65rem;
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.05), rgba(110, 58, 50, 0.03)),
    rgba(255, 252, 247, 0.72);
}

.media-text--fit-contain .media-text__image,
.media-text--ratio-natural .media-text__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-text__caption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: var(--leading-compact);
}

.media-text__content {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.35rem;
}

.media-text__content .eyebrow {
  margin: 0;
}

.media-text__content h2 {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.08;
}

.media-text__body {
  max-width: 34rem;
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.62;
}

.media-text__body > *:first-child {
  margin-top: 0;
}

.media-text__body > *:last-child {
  margin-bottom: 0;
}

.callout-block--accent {
  border-color: rgba(38, 56, 47, 0.18);
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.06), rgba(110, 58, 50, 0.04)),
    rgba(251, 247, 241, 0.92);
}

.callout-block__title {
  margin: 0 0 0.5rem;
}

.callout-block__body > *:first-child {
  margin-top: 0;
}

.callout-block__body > *:last-child {
  margin-bottom: 0;
}

.embed-media__title {
  margin-bottom: 0.75rem;
}

.embed-media__frame {
  overflow: hidden;
  border-radius: 1.45rem;
  box-shadow: var(--shadow);
}

.embed-media__frame iframe,
.embed-media__frame video,
.embed-media__frame embed,
.embed-media__frame object {
  display: block;
  width: 100%;
  min-height: 22rem;
}

.embed-media__caption {
  margin-top: 0.7rem;
  color: var(--muted);
}

.embed-media__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--brand);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.gallery-card {
  display: grid;
  gap: 0.55rem;
}

.gallery-card__caption {
  color: var(--muted);
  font-size: 0.9rem;
}

.toc-card {
  position: sticky;
  top: 7rem;
}

.toc-card ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

@media (max-width: 899px) {
  .content-block--rich_text,
  .content-block--article_image,
  .content-block--media_text,
  .content-block--pull_quote,
  .content-block--callout,
  .content-block--embed_media {
    max-width: 100%;
  }

  .content-block {
    margin: 1.25rem 0;
  }

  .content-block--rich_text {
    font-size: 1rem;
    line-height: 1.66;
  }

  .content-block--rich_text h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .article-image__caption {
    flex-direction: column;
    gap: 0.25rem;
  }

  .article-image__credit {
    white-space: normal;
  }

  .pull-quote {
    padding: 1.2rem 1rem;
  }

  .metric__value {
    font-size: 2.1rem;
  }

  .pull-quote__text {
    font-size: 1.55rem;
  }

  .media-text {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 0.8rem;
  }

  .media-text--image-right .media-text__figure {
    order: 0;
  }

  .media-text__content {
    padding: 0.1rem 0.15rem 0.25rem;
  }

  .media-text__content h2 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .embed-media__frame iframe,
  .embed-media__frame video,
  .embed-media__frame embed,
  .embed-media__frame object {
    min-height: 14rem;
  }

  .toc-card {
    position: static;
  }
}

/* static/css/components/crosspost-links.css */
.crosspost-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(191, 179, 161, 0.58);
}

.crosspost-links h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  line-height: 1.12;
}

.crosspost-links .eyebrow {
  margin: 0;
}

.crosspost-links__actions {
  display: grid;
  gap: 0.55rem;
}

.crosspost-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(38, 56, 47, 0.22);
  border-radius: 999px;
  background: rgba(251, 247, 241, 0.82);
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.crosspost-link::after {
  content: "↗";
  margin-left: 0.8rem;
  font-size: 0.9em;
  opacity: 0.68;
}

.crosspost-link:hover,
.crosspost-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(38, 56, 47, 0.42);
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 0.8rem 1.8rem rgba(31, 27, 24, 0.09);
}

.project-page > .crosspost-links {
  max-width: 44rem;
}

@media (max-width: 899px) {
  .crosspost-links {
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/* static/css/components/push-widget.css */
.push-widget {
  position: fixed;
  right: max(1rem, calc((100vw - var(--container)) / 2));
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 80;
}

.push-widget__button {
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, white);
  color: var(--brand);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  animation: push-breath 5s ease-in-out infinite;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.push-widget__button[disabled] {
  cursor: wait;
  opacity: 0.78;
}

.push-widget__button:hover,
.push-widget__button:focus-visible {
  transform: translateY(-2px);
  background: var(--brand);
  color: white;
  box-shadow: 0 1rem 2.4rem rgb(31 27 24 / 18%);
  animation-play-state: paused;
}

.push-widget__button:active {
  transform: translateY(0) scale(0.96);
}

.push-widget__check {
  display: none;
  font-size: 1.25rem;
  font-weight: 700;
}

.push-widget__busy {
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: push-spin 0.75s linear infinite;
}

.push-widget.is-busy .push-widget__bell,
.push-widget.is-busy .push-widget__check {
  display: none;
}

.push-widget.is-busy .push-widget__busy {
  display: block;
}

.push-widget.is-subscribed .push-widget__bell {
  display: none;
}

.push-widget.is-subscribed:not(.is-busy) .push-widget__check {
  display: block;
}

.push-widget.is-disabled {
  display: none;
}

.push-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end;
  padding: 1rem;
  background: color-mix(in srgb, var(--text) 18%, transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.push-modal[hidden] {
  display: none;
}

.push-modal.is-open {
  opacity: 1;
}

.push-modal__panel {
  position: relative;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 38%),
    var(--bg);
  box-shadow: 0 1.5rem 4rem rgb(31 27 24 / 18%);
  transform: translateY(0.8rem) scale(0.98);
  transition: transform 220ms ease;
}

.push-modal.is-open .push-modal__panel {
  transform: translateY(0) scale(1);
}

.push-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.push-modal__eyebrow {
  margin: 0 0 0.75rem;
  font: 0.78rem/1.2 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.push-modal__title {
  margin: 0;
  font: clamp(1.8rem, 4vw, 2.5rem) / 1.05 var(--font-display);
}

.push-modal__text {
  margin: 1rem 0 0;
  color: var(--muted);
}

.push-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.push-modal__note {
  min-height: 1.35em;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.push-modal__note.is-busy::before {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.1rem;
  animation: push-spin 0.75s linear infinite;
}

@media (max-width: 760px) {
  .push-widget {
    right: 1rem;
    bottom: 5.5rem;
  }

  .push-widget__button {
    width: 3.25rem;
    height: 3.25rem;
  }
}

@keyframes push-breath {
  0%,
  72%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow);
  }

  82% {
    transform: translateY(-1px) scale(1.045);
    box-shadow: 0 1rem 2.2rem rgb(38 56 47 / 18%);
  }

  90% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow);
  }
}

@keyframes push-spin {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .push-widget__button {
    animation: none;
  }

  .push-modal,
  .push-modal__panel {
    transition: none;
  }
}

/* static/css/pages/home.css */
.home-page .page-intro--home {
  padding-bottom: 2.5rem;
}

.home-page .hero--home {
  padding-top: 2.4rem;
}

.home-page .hero__copy {
  max-width: 35rem;
  display: grid;
  align-content: start;
}

.home-page .hero__copy .eyebrow {
  margin-bottom: 0.5rem;
}

.home-page .hero__copy h1 {
  max-width: 34rem;
  margin-bottom: 0.9rem;
}

.home-page .lead {
  max-width: 34rem;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.58;
}

.home-page .page-summary {
  max-width: 33rem;
  margin-top: 1rem;
  font-size: 1.03rem;
  line-height: 1.65;
}

.home-page .quick-links {
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.home-page .section {
  padding: 0.5rem 0 4rem;
}

.home-page .section-heading {
  gap: 1.25rem;
  margin-bottom: 1.6rem;
}

.home-page .section-heading .section-intro {
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.6;
}

.home-page .section-heading__action {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.home-page .section-heading__action:hover,
.home-page .section-heading__action:focus-visible {
  color: var(--accent);
}

.home-page .metrics-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-page .metrics-grid--home .metric {
  padding: 1.4rem 1.35rem;
}

.home-page .metrics-grid--home .metric--link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.home-page .metrics-grid--home .metric--link::after {
  content: "↗";
  position: absolute;
  right: 1.1rem;
  top: 1rem;
  color: var(--brand);
  font: 600 0.95rem/1 var(--font-body);
  opacity: 0;
  transform: translate(-0.25rem, 0.25rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.home-page .metrics-grid--home .metric--link:hover,
.home-page .metrics-grid--home .metric--link:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, white);
  box-shadow: 0 1.2rem 2.8rem rgb(31 27 24 / 11%);
}

.home-page .metrics-grid--home .metric--link:hover::after,
.home-page .metrics-grid--home .metric--link:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.home-page .metrics-grid--home .metric__label {
  max-width: 13rem;
  color: var(--muted);
}

.home-page .card-grid--home-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.home-page .card-grid--home-features .card {
  min-height: 100%;
}

.home-page .card-grid--home-features .card h3 {
  font-size: clamp(1.35rem, 1.75vw, 1.7rem);
  line-height: 1.14;
}

.home-page .card-grid--home-features .card p {
  max-width: 28rem;
}

.home-page__support {
  margin-bottom: 4rem;
}

.team-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-showcase__copy {
  max-width: 38.75rem;
}

.team-showcase__copy .section-title {
  margin-bottom: 0.7rem;
}

.team-showcase__copy .section-intro {
  max-width: 33rem;
}

.team-showcase__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .home-page .page-intro--home {
    padding-bottom: 2rem;
  }

  .home-page .hero--home {
    padding-top: 1.4rem;
  }

  .home-page .hero__copy {
    max-width: none;
  }

  .home-page .lead {
    font-size: 1.06rem;
    line-height: 1.56;
  }

  .home-page .page-summary {
    font-size: 1rem;
    line-height: 1.58;
  }

  .home-page .section {
    padding: 0 0 3rem;
  }

  .home-page .section-heading {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .home-page .metrics-grid--home,
  .home-page .card-grid--home-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-page__support {
    margin-bottom: 3rem;
  }

  .team-showcase__header {
    align-items: start;
    flex-direction: column;
  }

  .team-showcase__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* static/css/pages/governance.css */
.governance-page .updated-at {
  margin-bottom: 1.75rem;
}

.governance-page .editorial-section + .editorial-section {
  margin-top: 2.75rem;
}

.governance-page .person-card--lead {
  max-width: 68rem;
}

.governance-page .people-grid,
.governance-page .card-grid {
  align-items: start;
}

.governance-page .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 899px) {
  .governance-page .updated-at {
    margin-bottom: 1.25rem;
  }

  .governance-page .editorial-section + .editorial-section {
    margin-top: 2rem;
  }
}

/* static/css/pages/openness.css */
.openness-page .lead {
  max-width: 44rem;
}

.openness-page .updated-at {
  margin-bottom: 1.75rem;
}

.openness-page .editorial-section + .editorial-section {
  margin-top: 2.75rem;
}

.openness-page .openness-links-section {
  margin-top: 1.85rem;
}

.openness-links-section h2 {
  margin-bottom: 1rem;
}

.openness-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.openness-link-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-height: 9.2rem;
  padding: 1.05rem 1rem;
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.openness-link-card::after {
  content: "↗";
  position: absolute;
  right: 1rem;
  top: 0.9rem;
  color: var(--brand);
  font: 700 0.9rem/1 var(--font-body);
  opacity: 0;
  transform: translate(-0.2rem, 0.2rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.openness-link-card:hover,
.openness-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  background: color-mix(in srgb, var(--surface) 93%, white);
  box-shadow: 0 1rem 2.2rem rgb(31 27 24 / 10%);
}

.openness-link-card:hover::after,
.openness-link-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.openness-link-card__title {
  max-width: calc(100% - 1.6rem);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.12;
}

.openness-link-card__text {
  max-width: 16rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.openness-page .card-grid,
.openness-page .metrics-grid {
  align-items: start;
}

.openness-page .metric--finance {
  min-height: 100%;
}

.openness-page .toc-card h2,
.openness-page .toc-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .openness-page .updated-at {
    margin-bottom: 1.25rem;
  }

  .openness-page .editorial-section + .editorial-section {
    margin-top: 2rem;
  }

  .openness-page .openness-links-section {
    margin-top: 1.5rem;
  }

  .openness-link-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .openness-link-card {
    min-height: auto;
    padding: 1rem;
  }
}

/* static/css/pages/documents.css */
.documents-page .updated-at {
  margin-bottom: 1.5rem;
}

.documents-page .page-aside {
  max-width: 20rem;
}

.documents-page .toc-card {
  display: grid;
  gap: 0.85rem;
}

.documents-page .toc-card h2 {
  margin: 0 0 0.2rem;
}

.documents-page .document-grid {
  align-items: start;
}

.documents-page .document-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 100%;
}

.documents-page .document-card h2 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.16;
}

.documents-page .document-card__actions {
  margin-top: auto;
}

@media (max-width: 899px) {
  .documents-page .updated-at {
    margin-bottom: 1.15rem;
  }

  .documents-page .page-aside {
    max-width: none;
  }
}

/* static/css/pages/projects.css */
.projects-index-page {
  width: min(calc(100% - 2rem), 74rem);
  padding-top: 2.35rem;
}

.projects-index-hero {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.projects-index-hero h1 {
  max-width: 50rem;
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4.25rem);
  line-height: 1.03;
}

.projects-index-hero .lead {
  margin: 0;
  max-width: 39rem;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.projects-filter-bar {
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
}

.projects-filter-bar .custom-select {
  min-width: 11rem;
}

.projects-filter-bar .button {
  min-height: 3rem;
}

.projects-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

.projects-index-page .project-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-height: 15.5rem;
  padding: 1.2rem 1.2rem 1.25rem;
}

.projects-index-page .card h2 {
  margin: 0.25rem 0 0.55rem;
  font-family: var(--font-body);
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.projects-index-page .card h2 a {
  text-decoration: none;
}

.projects-index-page .card h2 a:hover,
.projects-index-page .card h2 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.projects-index-page .card p {
  margin: 0;
  max-width: 32rem;
  line-height: 1.58;
}

.projects-index-page .card__meta {
  margin-top: 0.95rem;
}

.project-page {
  width: min(calc(100% - 2rem), 66rem);
  padding-top: 3rem;
}

.project-hero {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.project-hero .eyebrow,
.project-hero h1,
.project-hero .lead {
  margin: 0;
}

.project-hero h1 {
  max-width: 52rem;
  font-size: clamp(2.45rem, 4.6vw, 4.35rem);
}

.project-hero .lead {
  max-width: 42rem;
}

.project-summary-card {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(10rem, 0.8fr) minmax(14rem, 1.25fr);
  gap: 0.75rem;
  margin: 1.35rem 0 2rem;
  padding: 0.9rem;
  border: 1px solid rgba(191, 179, 161, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(38, 56, 47, 0.045), rgba(110, 58, 50, 0.025)),
    rgba(251, 247, 241, 0.78);
  box-shadow: var(--shadow);
}

.project-summary-card__item {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: calc(var(--radius) - 0.5rem);
  background: rgba(255, 252, 247, 0.62);
}

.project-summary-card__item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.project-summary-card__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.project-content,
.project-section {
  max-width: 48rem;
}

.project-content {
  display: grid;
  gap: 1.15rem;
}

.project-section {
  padding-top: 1.05rem;
  border-top: 1px solid rgba(191, 179, 161, 0.48);
}

.project-section + .project-section {
  margin-top: 0.2rem;
}

.project-section h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  line-height: 1.12;
}

.project-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.project-section ul,
.project-section ol {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.project-section--source a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 899px) {
  .projects-index-page {
    width: min(calc(100% - 1.25rem), var(--container));
    padding-top: 1.55rem;
  }

  .projects-index-hero {
    margin-bottom: 1.05rem;
  }

  .projects-index-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    margin-bottom: 0.55rem;
  }

  .projects-filter-bar {
    gap: 0.55rem;
    margin-bottom: 1.1rem;
  }

  .projects-filter-bar .button {
    width: 100%;
  }

  .projects-card-grid {
    grid-template-columns: 1fr;
  }

  .projects-index-page .project-card {
    min-height: 0;
    padding: 1rem;
  }

  .project-page {
    width: min(calc(100% - 1.25rem), var(--container));
    padding-top: 1.75rem;
  }

  .project-hero {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .project-hero h1 {
    font-size: clamp(2.1rem, 8.6vw, 3rem);
  }

  .project-summary-card {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin: 1rem 0 1.45rem;
    padding: 0.7rem;
  }

  .project-summary-card__item {
    padding: 0.8rem 0.85rem;
  }

  .project-content {
    gap: 0.95rem;
  }

  .project-section {
    padding-top: 0.9rem;
  }
}

/* static/css/pages/news.css */
.news-index-page .lead,
.news-article-page .lead {
  max-width: 44rem;
}

.news-index-page {
  padding-top: 2.35rem;
}

.news-index-hero {
  display: grid;
  gap: 1.05rem;
  margin-bottom: 1.55rem;
}

.news-index-hero h1 {
  max-width: 46rem;
  margin-bottom: 0.7rem;
  font-size: clamp(2.75rem, 4.8vw, 4.6rem);
  line-height: 1.04;
}

.news-index-hero .lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.news-index-page .filters {
  margin-bottom: 1.45rem;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.news-card-grid.is-masonry {
  grid-auto-rows: 0.5rem;
}

.news-card {
  display: grid;
  gap: 0.85rem;
  align-self: start;
  min-height: auto;
  margin: 0;
  padding: 1.2rem 1.2rem 1.25rem;
}

.news-card-grid.is-masonry .news-card {
  grid-row-end: span var(--news-card-span, 1);
}

.news-card--with-image {
  gap: 0.85rem;
  padding: 0.9rem 0.9rem 1.2rem;
}

.news-card--with-image::before {
  display: none;
}

.news-card__media {
  display: block;
  margin: 0 0 0.1rem;
  overflow: hidden;
  border-radius: calc(var(--radius) - 0.45rem);
  background: rgba(38, 56, 47, 0.06);
}

.news-card--with-image .news-card__media {
  margin-bottom: 0.15rem;
}

.news-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 180ms ease;
}

.news-card__media:hover .news-card__image,
.news-card__media:focus-visible .news-card__image {
  transform: scale(1.025);
}

.news-index-page .card h2 {
  margin: 0.1rem 0 0.15rem;
  font-family: var(--font-body);
  font-size: clamp(1.18rem, 1.65vw, 1.52rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.news-index-page .card h2 a {
  text-decoration: none;
}

.news-index-page .card h2 a:hover,
.news-index-page .card h2 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.news-index-page .card p {
  margin: 0;
  max-width: 30rem;
}

.news-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.55rem 0 0;
}

.news-card__meta-row .eyebrow {
  margin: 0;
}

.news-card > h2 + p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.news-card .card__source {
  align-self: end;
  margin-top: 0.2rem;
}

.news-article-page .eyebrow + h1 {
  max-width: 58rem;
}

.news-article-page {
  padding-top: 2.6rem;
}

.news-article-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) minmax(0, 52rem);
  grid-template-areas: "related main";
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: start;
  margin-top: 1.35rem;
}

.news-article-main {
  grid-area: main;
  min-width: 0;
}

.news-related {
  grid-area: related;
  min-width: 0;
  align-self: start;
}

.news-related__inner {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(191, 179, 161, 0.7);
  border-radius: calc(var(--radius) * 0.86);
  background:
    linear-gradient(180deg, rgba(251, 247, 241, 0.92), rgba(243, 237, 227, 0.8)),
    var(--surface);
  box-shadow: 0 1.2rem 3rem rgba(31, 27, 24, 0.07);
}

.news-related h2 {
  margin: -0.25rem 0 0;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.news-related__list {
  display: grid;
  gap: 0.35rem;
}

.news-related-card {
  display: grid;
  gap: 0.38rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(191, 179, 161, 0.58);
  color: inherit;
  text-decoration: none;
}

.news-related-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.news-related-card__meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.news-related-card strong {
  font-size: 0.98rem;
  line-height: 1.28;
  text-wrap: pretty;
}

.news-related-card:hover strong,
.news-related-card:focus-visible strong {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.news-related__all {
  justify-self: start;
  color: var(--brand);
  font-weight: 700;
}

.article-header {
  display: grid;
  gap: 0.75rem;
  max-width: 58rem;
}

.article-header h1 {
  font-size: clamp(2.35rem, 3.75vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.article-header h1,
.article-header .lead {
  margin: 0;
}

.article-header .lead {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.45vw, 1.16rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-meta a {
  color: var(--brand);
  font-weight: 600;
}

.article-cover {
  max-width: 100%;
  margin: 0 0 1.85rem;
}

.article-cover__image {
  display: block;
  width: 100%;
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.article-cover__caption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(38, 56, 47, 0.16);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(38, 56, 47, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.event-badge--open {
  color: var(--surface);
  background: var(--brand);
}

.event-badge--closed,
.event-badge--full {
  color: var(--accent);
  background: rgba(110, 58, 50, 0.08);
  border-color: rgba(110, 58, 50, 0.24);
}

.event-summary-card,
.event-registration-card {
  max-width: 52rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid rgba(191, 179, 161, 0.75);
  border-radius: var(--radius);
  background: rgba(251, 247, 241, 0.88);
  box-shadow: var(--shadow);
}

.event-summary-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.event-summary-card__label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-registration-card h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.event-registration-card__intro {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.event-registration-card__intro p {
  margin: 0;
  color: var(--muted);
}

.event-registration-card__success {
  color: var(--brand) !important;
  font-weight: 600;
}

.event-registration-form {
  display: grid;
  gap: 1rem;
}

.event-registration-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.event-registration-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.event-registration-form input[type="text"],
.event-registration-form input[type="number"],
.event-registration-form input[type="email"],
.event-registration-form input[type="tel"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(191, 179, 161, 0.95);
  border-radius: 0.9rem;
  color: var(--text);
  background: rgba(255, 252, 247, 0.82);
  font: 1rem/1.2 var(--font-body);
}

.event-registration-form input:focus-visible {
  outline: 2px solid rgba(38, 56, 47, 0.28);
  outline-offset: 2px;
}

.event-registration-form__consent {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  font-weight: 400 !important;
  color: var(--muted);
}

.event-registration-form__consent input {
  margin-top: 0.35rem;
}

.form-errors {
  color: var(--accent);
  font-size: 0.92rem;
}

.news-article-page .page-summary-actions {
  margin-bottom: 1.25rem;
}

.news-article-page .page-summary-actions a {
  color: var(--brand);
  font-weight: 600;
}

.news-article-page .editorial-section,
.news-article-page .content-block--rich_text,
.news-article-page .content-block--article_image,
.news-article-page .content-block--pull_quote,
.news-article-page .content-block--callout,
.news-article-page .content-block--embed_media {
  max-width: 100%;
}

@media (max-width: 899px) {
  .news-index-page .filters {
    margin-bottom: 1.15rem;
  }

  .news-index-page {
    padding-top: 1.55rem;
  }

  .news-index-hero {
    gap: 0.9rem;
    margin-bottom: 1.1rem;
  }

  .news-index-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    margin-bottom: 0.55rem;
  }

  .news-card-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .news-card-grid.is-masonry .news-card {
    grid-row-end: auto;
  }

  .news-card {
    margin-bottom: 0.95rem;
    padding: 1rem;
  }

  .news-card--with-image {
    padding: 0.75rem 0.75rem 1rem;
  }

  .news-index-page .card h2 {
    font-size: 1.22rem;
    line-height: 1.24;
  }

  .news-card > h2 + p {
    -webkit-line-clamp: 4;
  }

  .event-summary-card,
  .event-registration-card {
    padding: 1rem;
  }

  .event-registration-form__grid {
    grid-template-columns: 1fr;
  }

  .news-article-page {
    padding-top: 1.5rem;
  }

  .news-article-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "related";
    gap: 1.35rem;
    margin-top: 1.05rem;
  }

  .news-related__inner {
    padding: 1rem;
  }

  .news-related__list {
    gap: 0.15rem;
  }

  .article-header {
    gap: 0.65rem;
  }

  .article-header h1 {
    font-size: clamp(1.9rem, 7.6vw, 2.65rem);
    line-height: 1.08;
  }

  .article-cover {
    margin: 1.25rem 0 1.5rem;
  }

  .article-cover__image {
    border-radius: 1.15rem;
  }
}

/* static/css/pages/legal.css */
.legal-page {
  max-width: var(--container-wide);
}

.legal-page__header {
  display: grid;
  gap: 0.8rem;
  max-width: 58rem;
  margin-bottom: 1.5rem;
}

.legal-page__header h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.legal-page__header .lead {
  margin: 0;
  max-width: 46rem;
}

.legal-card,
.legal-section,
.legal-download {
  border: 1px solid rgba(191, 179, 161, 0.78);
  border-radius: var(--radius);
  background: rgba(251, 247, 241, 0.82);
  box-shadow: var(--shadow);
}

.legal-card--operator {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 1.35rem;
}

.legal-card h2,
.legal-section h2,
.legal-download h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.12;
}

.legal-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.legal-facts div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(191, 179, 161, 0.45);
}

.legal-facts div:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  border: 1px solid rgba(191, 179, 161, 0.74);
  border-radius: 1.25rem;
  background: rgba(243, 237, 227, 0.86);
}

.legal-toc a {
  padding: 0.58rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--surface);
  background: var(--brand);
}

.legal-sections {
  display: grid;
  gap: 1rem;
}

.legal-section {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  scroll-margin-top: 7rem;
}

.legal-section p,
.legal-section li {
  max-width: 58rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.62;
}

.legal-section p,
.legal-section ul {
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
}

.legal-page__updated {
  color: var(--text) !important;
  font-weight: 700;
}

.legal-download {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding: 1.25rem 1.35rem;
}

.legal-download p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

@media (max-width: 899px) {
  .legal-page__header h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .legal-card--operator,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-facts div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .legal-download {
    display: grid;
  }
}
