/* ═══════════════════════════════════════════════════════════════════
   PovGov Lab — Global Stylesheet
   Organized: tokens → reset → layout → header → footer →
              shared sections → page-specific → responsive
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────────────── */
:root {
  --bone: #ffffff;
  --bone-2: #f5f4f2;
  --bone-3: #ebebea;
  --ink: #18150f;
  --ink-2: #3c372e;
  --ink-3: #7a7367;
  --ink-4: #a89f8e;
  --rule: #e2e0dd;
  --rule-soft: #ededec;
  --accent: #8e2a1f;
  --accent-dark: #6e1f15;
  --accent-soft: #f1d7d0;

  --f-display: 'Barlow Condensed', 'Oswald', 'Helvetica Neue', sans-serif;
  --f-body: 'Source Sans 3', 'Helvetica Neue', system-ui, sans-serif;
  --f-editorial: 'Source Serif 4', Georgia, serif;
}

/* ── Reset ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ── Layout Utilities ─────────────────────────────────────────────── */
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.wrap-narrow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
hr.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ── Header ───────────────────────────────────────────────────────── */
header.site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  color: var(--ink-4);
  background: transparent;
  transition:
    color 0.15s,
    background 0.15s;
  margin-left: -28px;
}
.brand-admin:hover {
  color: var(--ink);
  background: var(--bone-3);
}
nav.primary {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13.5px;
  font-weight: 500;
}
nav.primary a {
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: 0.2s;
}
nav.primary a:hover,
nav.primary a.on {
  border-color: var(--accent);
  color: var(--accent);
}
.lang {
  display: flex;
  gap: 10px;
  font-family: var(--f-display);
  letter-spacing: 0.12em;
  font-size: 12.5px;
  color: var(--ink-3);
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.lang a,
.lang button {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.lang a:hover,
.lang button:hover {
  color: var(--ink);
}
.lang a.active,
.lang button.active {
  color: var(--ink);
  font-weight: 600;
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer.site {
  background: var(--ink);
  color: var(--bone-2);
  padding: 80px 0 32px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
}
footer.site h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #f1d7d0;
  margin: 0 0 18px;
}
footer.site p,
footer.site a {
  color: #c8bea9;
  font-size: 14.5px;
  line-height: 1.7;
}
footer.site a:hover {
  color: #f1d7d0;
  border-bottom: 1px solid var(--accent);
}
footer.site .brand-f {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
footer.site .fine {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid #3c372e;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--f-display);
  color: #7a7367;
}
footer.site .nav-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Shared Section Primitives ────────────────────────────────────── */
section {
  padding: 120px 0;
  position: relative;
}
.section-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
h2.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
h2.section-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.lede {
  font-family: var(--f-editorial);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
}
.see-all {
  margin-top: 80px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: 0.2s;
}
.see-all:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Newsletter ───────────────────────────────────────────────────── */
.newsletter {
  background: var(--bone);
  padding: 140px 0 120px;
  border-top: 1px solid var(--rule);
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: end;
}
.news-grid h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  margin: 0;
}
.news-grid h2 em {
  color: var(--accent);
  font-style: normal;
}
.news-grid p {
  color: var(--ink-2);
  margin: 16px 0 0;
}
.news-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-form .row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ink);
}
.news-form input[type='email'] {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 0;
  font: 400 18px/1.2 var(--f-body);
  color: var(--ink);
  outline: none;
}
.news-form input::placeholder {
  color: var(--ink-3);
}
.news-form button {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  padding: 16px 0 16px 24px;
}
.news-form .hint {
  font-size: 13px;
  color: var(--ink-3);
}

/* ── Publications CTA Bar ─────────────────────────────────────────── */
.pubs-cta {
  margin-top: 72px;
  padding: 32px 40px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  background: var(--bone);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 32px 48px;
  align-items: center;
}
.pubs-cta-count {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pubs-cta-count sup {
  font-size: 20px;
  color: var(--accent);
  vertical-align: top;
  margin-left: 2px;
  font-weight: 500;
}
.pubs-cta-sub {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 6px;
}
.pubs-cta-divider {
  width: 1px;
  height: 52px;
  background: var(--rule);
}
.pubs-cta-types {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pubs-cta-desc {
  font-family: var(--f-body);
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 5px;
}
.pubs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
  background: var(--accent);
  padding: 18px 28px;
  transition: background 0.2s;
  white-space: nowrap;
}
.pubs-cta-btn:hover {
  background: var(--accent-dark);
}
.pubs-cta--mt {
  margin-top: 64px;
}

/* ── Leaflet Map Overrides ────────────────────────────────────────── */
.leaflet-container {
  background: var(--bone) !important;
  font-family: var(--f-body) !important;
}
.leaflet-attribution-flag {
  display: none !important;
}
.leaflet-control-attribution {
  font-family: var(--f-display) !important;
  font-size: 9px !important;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.75) !important;
  color: var(--ink-4) !important;
}
.leaflet-control-zoom {
  border: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.leaflet-control-zoom a {
  background: var(--bone) !important;
  color: var(--ink) !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  font-family: var(--f-display) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  width: 26px !important;
  height: 26px !important;
}
.leaflet-control-zoom a:hover {
  background: var(--ink) !important;
  color: var(--bone) !important;
}
.leaflet-control-zoom-out {
  border-bottom: 0 !important;
}
.pg-tip.leaflet-tooltip {
  background: var(--ink);
  color: var(--bone);
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  pointer-events: none;
}
.pg-tip.leaflet-tooltip::before {
  display: none;
}
.pg-tip-inner {
  padding: 10px 14px;
}
.pg-tip-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.1;
}
.pg-tip-loc {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── Map Frame & Site List ────────────────────────────────────────── */
.map-head {
  margin-bottom: 48px;
}
.mast-map-wrap {
  margin-top: 48px;
  position: relative;
  z-index: 1;
  border: 1px solid var(--rule);
}
.mast-map-wrap .corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink-3);
  z-index: 10;
}
.mast-map-wrap .corner.tl {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.mast-map-wrap .corner.tr {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}
.mast-map-wrap .corner.bl {
  bottom: -1px;
  left: -1px;
  border-right: 0;
  border-top: 0;
}
.mast-map-wrap .corner.br {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}
.mast-map-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: 600px;
  padding: 0 28px 0 0;
}
#pub-map {
  height: 600px;
}
#proj-map {
  height: 600px;
}
.map-pub-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  padding-top: 4px;
}
.mpp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mpp-idx-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
}
.mpp-filter {
  display: flex;
  gap: 2px;
}
.mpf-btn {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: none;
  border: 1px solid transparent;
  padding: 3px 7px;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.mpf-btn:hover {
  color: var(--ink-2);
  border-color: var(--rule);
}
.mpf-btn.on {
  color: var(--accent);
  border-color: var(--accent);
}
.mpp-item.mpp-dim {
  opacity: 0.22;
  pointer-events: none;
}
.mpp-scroll {
  flex: 1;
  overflow-y: auto;
  max-height: 540px;
  padding-right: 2px;
}
.mpp-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mpp-item {
  cursor: pointer;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  color: var(--ink);
  transition: color 0.2s;
  position: relative;
}
.mpp-item:first-child {
  border-top: 1px solid var(--rule);
}
.mpp-item:hover,
.mpp-item.active {
  color: var(--accent);
}
.mpp-item-num {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  transition: color 0.2s;
}
.mpp-item:hover .mpp-item-num,
.mpp-item.active .mpp-item-num {
  color: var(--accent);
}
.mpp-item-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.002em;
}
.mpp-item-loc {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 3px;
}
.mpp-item-tail {
  text-align: right;
}
.mpp-item-yr {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: block;
}
.mpp-item-arrow {
  font-family: var(--f-display);
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  margin-top: 5px;
  display: block;
}
.mpp-item:hover .mpp-item-arrow,
.mpp-item.active .mpp-item-arrow {
  opacity: 1;
}
.map-caption {
  padding: 10px 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--ink-4);
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}
.map-sw--past {
  background: #7a6e64;
}

/* ── Site Dossier Drawer (shared: index + publications) ───────────── */
#site-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 21, 15, 0.48);
  z-index: 200;
  cursor: pointer;
}
#site-overlay.on {
  display: block;
}
#site-drawer {
  position: fixed;
  top: 0;
  right: -560px;
  bottom: 0;
  width: min(520px, 92vw);
  background: var(--bone);
  z-index: 201;
  overflow-y: auto;
  border-left: 1px solid var(--rule);
  transition: right 0.38s cubic-bezier(0.22, 0.82, 0.27, 0.99);
}
#site-drawer.on {
  right: 0;
}
.dr-img {
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
  border-bottom: 1px solid var(--rule);
}
.dr-img-placeholder {
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, #2a2620 0%, #5c3328 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: var(--accent-soft);
}
.dr-body {
  padding: 28px 32px 52px;
}
.dr-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  font-family: var(--f-display);
  font-size: 16px;
  background: var(--bone);
  color: var(--ink);
  cursor: pointer;
  transition: 0.2s;
}
.dr-close:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.dr-eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.dr-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
}
.dr-nameEs {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
  font-size: 15px;
  margin-bottom: 24px;
}
.dr-project {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-2);
  font-weight: 600;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-bottom: 10px;
}
.dr-summary {
  font-family: var(--f-editorial);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 24px;
}
.dr-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-bottom: 24px;
}
.dr-lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.dr-stat-k {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}
.dr-stat-v {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 3px;
}
.dr-methods {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dr-methods li::before {
  content: '— ';
}
.dr-pubs-head {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-bottom: 14px;
}
.dr-pub-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.15s;
  color: inherit;
  text-decoration: none;
}
.dr-pub-card:hover {
  background: rgba(142, 42, 31, 0.04);
  padding: 12px 6px;
  margin: 0 -6px;
}
.dr-pub-read {
  margin-top: 8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 600;
}
.dr-pub-thumb {
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
}
.dr-pub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9);
}
.dr-pub-tag {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.dr-pub-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 4px;
}
.dr-pub-by {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-3);
}
.dr-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  cursor: pointer;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.dr-filter-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.dr-filter-btn--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 0.75;
  cursor: default;
}
.dr-filter-btn--active:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.dr-no-pubs {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
  font-size: 15px;
  margin: 16px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.dr-pub-name {
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.15;
}
.pg-cluster {
  background: transparent !important;
  border: none !important;
}
.pg-cluster-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #3d2e25;
  border: 2.5px solid #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #faf7f2;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--f-body);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.pg-tooltip {
  background: var(--ink);
  color: var(--bone);
  border: none;
  border-radius: 2px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.pg-tooltip::before {
  display: none;
}

/* ── Index: Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #0a0906;
}
.hero .img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
  transition:
    opacity 0.9s ease,
    filter 1.2s ease;
}
body.hero-color .hero .img {
  filter: grayscale(0) contrast(1.02) brightness(0.78) saturate(0.9);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 6, 0.55) 0%,
    rgba(10, 9, 6, 0.15) 35%,
    rgba(10, 9, 6, 0) 55%,
    rgba(10, 9, 6, 0.75) 100%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 140px 56px 48px;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--f-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 18px;
  color: #faf7f2;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before {
  content: '';
  width: 56px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #faf7f2;
  text-transform: uppercase;
  margin: 22px 0 0;
  max-width: 16ch;
}
/* ES/PT translations are ~30-40% longer than EN. Reduce font-size and widen
   max-width so lines like "la paz, la seguridad" / "y los derechos humanos."
   don't wrap and overflow the hero vertically. i18n.js sets <html lang>. */
.hero h1:lang(es),
.hero h1:lang(pt) {
  font-size: clamp(44px, 6.4vw, 100px);
  max-width: 22ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.hero .foot {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: end;
  color: #e8e2d4;
}
.hero .caption {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 14px;
  color: #c8bea9;
  max-width: 420px;
}
.hero .caption strong {
  color: var(--accent);
  font-style: normal;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.hero .meta {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: #c8bea9;
  text-align: right;
}
.hero .meta b {
  color: var(--accent);
  font-weight: 600;
  display: block;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.scroll-hint {
  position: absolute;
  left: 56px;
  bottom: 24px;
  z-index: 3;
  font-family: var(--f-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: #e8e2d4;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.scroll-hint::before {
  content: '';
  width: 1px;
  height: 36px;
  background: #e8e2d4;
  display: block;
}

/* ── Index: Mission ───────────────────────────────────────────────── */
.mission {
  padding: 120px 0 120px;
}
.mission .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-vid-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0906;
}
.mission-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.9s ease;
}
.mission-vid-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(10, 9, 6, 0.45) 0%,
    rgba(10, 9, 6, 0.12) 45%,
    rgba(10, 9, 6, 0.78) 100%
  );
}
.mission-vid-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
}
.mission-vid-inner .big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 3.8vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  color: var(--bone);
}
.mission-vid-inner .big em {
  font-style: normal;
  color: var(--accent);
}
.mission p.lede {
  margin: 0 0 28px;
}
.mission-sub {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink-3);
  margin: 0;
}
.mission .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.stat .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 54px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat .num sup {
  font-size: 22px;
  color: var(--accent);
  vertical-align: top;
  margin-left: 4px;
  font-weight: 500;
}
.stat .lbl {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.4;
}

/* ── Index: Publications Preview Grid ────────────────────────────── */
.pubs {
  background: var(--bone-2);
  border-top: 1px solid var(--rule);
}
.pubs-inner {
  padding-top: 60px;
}
.pubs .head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
}
.pub-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 32px;
  align-items: start;
}
.pub {
  cursor: pointer;
  transition: transform 0.4s ease;
  min-width: 0;
}
.pub:hover {
  transform: translateY(-3px);
}
.pub .ph {
  position: relative;
  overflow: hidden;
  background: #1a1814;
  margin-bottom: 18px;
}
.pub .ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(142, 42, 31, 0);
  transition: background 0.4s ease;
}
.pub:hover .ph::after {
  background: rgba(142, 42, 31, 0.18);
}
.pub .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.02) brightness(0.9);
  transition:
    transform 0.8s ease,
    filter 0.6s ease;
}
.pub:hover .ph img {
  transform: scale(1.04);
  filter: grayscale(0.3) contrast(1.02) brightness(0.95);
}
.pub .tag {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.pub h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  margin: 8px 0 10px;
  letter-spacing: -0.002em;
  color: var(--ink);
}
.pub .byline {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
}
.pub.wide {
  grid-column: span 6;
}
.pub.wide .ph {
  aspect-ratio: 4/3;
}
.pub.wide h3 {
  font-size: 30px;
}
.pub.third {
  grid-column: span 3;
}
.pub.third .ph {
  aspect-ratio: 2/3;
}
.pub.half {
  grid-column: span 6;
}
.pub.half .ph {
  aspect-ratio: 4/3;
}
.pub.small {
  grid-column: span 3;
}
.pub.small .ph {
  aspect-ratio: 3/4;
}

/* ── Index: Impact ────────────────────────────────────────────────── */
.impact {
  background: var(--ink);
  color: var(--bone);
}
.impact .section-label {
  color: #c8bea9;
}
.impact .section-label::before {
  background: var(--accent);
}
.impact h2.section-title {
  color: var(--bone);
}
.impact .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 96px;
  margin-top: 80px;
}
.impact-item {
  border-top: 1px solid #3c372e;
  padding-top: 28px;
}
.impact-item .year {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.impact-item h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.impact-item p {
  color: #c8bea9;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* ── Index: Partners Carousel ─────────────────────────────────────── */
.partners-band {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid #3c372e;
}
.partners-band .section-label {
  color: #c8bea9;
  margin-bottom: 40px;
}
.partners-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: partners-scroll 48s linear infinite;
}
.partners-track:hover {
  animation-play-state: paused;
}
@keyframes partners-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.partner-item {
  flex: 0 0 220px;
  border: 1px solid #3c372e;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  min-height: 200px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: #c8bea9;
  font-weight: 500;
  line-height: 1.3;
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}
.partner-item img {
  height: 70px;
  width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter 0.25s ease;
}
.partner-item:hover {
  border-color: var(--accent);
  color: var(--bone);
}
.partner-item:hover img {
  filter: brightness(0) invert(1) opacity(0.9);
}

/* ── Index: Team Rail Preview ─────────────────────────────────────── */
.team {
  background: var(--bone-2);
  border-top: 1px solid var(--rule);
}
.t-rail-wrap {
  position: relative;
}
.t-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(258px, 286px);
  gap: 32px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 28px;
  scroll-snap-type: x proximity;
}
.t-rail::-webkit-scrollbar {
  height: 5px;
}
.t-rail::-webkit-scrollbar-track {
  background: var(--bone-2);
}
.t-rail::-webkit-scrollbar-thumb {
  background: var(--ink-3);
}
.t-card {
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease;
}
.t-card:hover {
  transform: translateY(-4px);
}
.t-card .ph {
  position: relative;
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 18px;
}
.t-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition:
    filter 0.6s ease,
    transform 0.8s ease;
}
.t-card:hover .ph img {
  filter: grayscale(0.15) contrast(1.02) brightness(0.98) saturate(0.9);
  transform: scale(1.03);
}
.t-card .ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 6, 0) 55%, rgba(10, 9, 6, 0.45) 100%);
  pointer-events: none;
}
.t-card .ph .c {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(250, 247, 242, 0.55);
  z-index: 2;
}
.t-card .ph .c.tl {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.t-card .ph .c.tr {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}
.t-card .ph .c.bl {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}
.t-card .ph .c.br {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}
.t-card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 5px;
  color: var(--ink);
}
.t-card h3 .last {
  color: var(--ink-3);
  font-weight: 400;
}
.t-role {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.t-inst {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 10px;
}
.t-bio {
  font-family: var(--f-editorial);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.t-card .more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: flex-start;
}
.t-card:hover .more {
  color: var(--accent);
  border-color: var(--accent);
}
.t-rail-ctrl {
  display: flex;
  gap: 8px;
  align-self: end;
}
.t-rail-ctrl button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-rail-ctrl button:hover {
  background: var(--ink);
  color: var(--bone);
}
.t-rail-ctrl button:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
}
.t-group-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 32px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.t-group-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--accent);
}
.t-group-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
}
.t-group-ct {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--ink-3);
}
.t-group-head--mt {
  margin-top: 72px;
}

/* ── Index: Media Cards ───────────────────────────────────────────── */
.news-section {
  background: var(--bone);
  border-top: 1px solid var(--rule);
}
.news-section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.see-all-news {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
  align-self: end;
}
.see-all-news:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.media-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin-top: 48px;
}
.media-card {
  border-top: 2px solid var(--rule);
  padding-top: 24px;
  transition: transform 0.35s ease;
}
.media-card:hover {
  transform: translateY(-3px);
}
.media-card .mc-source {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.media-card .mc-outlet {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}
.media-card .mc-date {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--ink-3);
}
.media-card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.002em;
  margin: 0 0 12px;
  color: var(--ink);
}
.media-card p {
  font-family: var(--f-editorial);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.media-card .mc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11.5px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: 0.2s;
}
.mc-img {
  aspect-ratio: 3/2;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.mc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.02) brightness(0.9);
  transition:
    transform 0.8s ease,
    filter 0.6s ease;
  display: block;
}
.media-card:hover .mc-img img {
  transform: scale(1.04);
  filter: grayscale(0.3) contrast(1.02) brightness(0.95);
}
.mc-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--bone);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  padding: 6px 12px;
  font-weight: 600;
}
.mc-badge-press {
  background: var(--accent);
}
.mc-badge-lab {
  background: var(--ink);
}
.mc-badge-podcast {
  background: var(--ink-2);
}

/* ── Publications Page: Masthead & Stats ──────────────────────────── */
.mast {
  padding: 140px 0 56px;
  border-bottom: 1px solid var(--rule);
}
.mast .label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.mast .label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.mast h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.mast h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.mast .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  margin-top: 40px;
  align-items: end;
}
.mast .lede {
  font-family: var(--f-editorial);
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}
.mast-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.mast-stats .s .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mast-stats .s .n sup {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  vertical-align: top;
  margin-left: 3px;
}
.mast-stats .s .l {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ── Publications Page: Filter Bar & Chips ────────────────────────── */
.filters {
  position: sticky;
  top: 70px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.filters .row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  padding: 6px 0;
}
.search svg {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
  flex: 0 0 auto;
}
.search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 16px/1.2 var(--f-body);
  color: var(--ink);
  flex: 1;
}
.search input::placeholder {
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--f-editorial);
}
.search .ct {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 14px;
}
.search .ct b {
  color: var(--accent);
  font-weight: 600;
}
.select {
  position: relative;
}
.select label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  display: block;
  margin-bottom: 4px;
}
.select select {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  background: transparent;
  padding: 4px 22px 4px 0;
  font: 600 14px/1.2 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  min-width: 140px;
}
.select::after {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 12px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  align-self: end;
}
.view-toggle button {
  padding: 8px 14px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
  border-right: 1px solid var(--rule);
}
.view-toggle button:last-child {
  border-right: 0;
}
.view-toggle button.on {
  background: var(--ink);
  color: var(--bone);
}
.chips-row {
  padding: 18px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.chips-row .lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-right: 4px;
}
.chip {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 6px 14px;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chip .ct {
  color: var(--ink-4);
  font-size: 10px;
}
.chip.on {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.chip.on .ct {
  color: var(--accent-soft);
}
.chip:hover:not(.on) {
  border-color: var(--ink);
  color: var(--ink);
}

/* ── Publications Page: Card & List Views ─────────────────────────── */
.pub-results {
  padding: 56px 0 120px;
}
.grid-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
}
.grid-view.off {
  display: none;
}
.list-view {
  display: none;
}
.list-view.on {
  display: block;
}
.empty-state {
  display: none;
  padding: 80px 0;
  text-align: center;
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
}
.empty-state.on {
  display: block;
}
.card {
  cursor: pointer;
  transition: transform 0.35s ease;
}
.card:hover {
  transform: translateY(-3px);
}
.card .ph {
  position: relative;
  aspect-ratio: 3/4;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 16px;
}
.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.02) brightness(0.9);
  transition:
    transform 0.8s ease,
    filter 0.6s ease;
}
.card:hover .ph img {
  transform: scale(1.04);
  filter: grayscale(0.3) contrast(1.02) brightness(0.95);
}
.card .badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: var(--bone);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  padding: 6px 12px;
}
.card .badge.feat {
  background: var(--ink);
}
.card .meta-line {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.card .meta-line .pipe {
  color: var(--rule);
}
.card .meta-line .y {
  color: var(--accent);
}
.card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.002em;
  margin: 0 0 8px;
  color: var(--ink);
}
.card .by {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
}
.list-row {
  display: grid;
  grid-template-columns: 40px 80px 1fr auto auto;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.list-row:first-child {
  border-top: 1px solid var(--rule);
}
.list-row:hover {
  background: rgba(142, 42, 31, 0.03);
}
.list-row .num {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}
.list-row .thumb {
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
}
.list-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9);
}
.list-row .title-block h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  margin: 6px 0 4px;
  color: var(--ink);
}
.list-row .by {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
}
.list-row .topics {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.list-row .tt {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--ink-3);
  border: 1px solid var(--rule);
  padding: 3px 8px;
  display: inline-block;
}
.list-row .actions {
  text-align: right;
}
.list-row .pdf {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.list-row .nopdf {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink-4);
}

/* ── Team Page ────────────────────────────────────────────────────── */
.gnav-wrap {
  position: sticky;
  top: 62px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.gnav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 500;
}
.gnav button {
  padding: 18px 22px;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 10px;
  transition: 0.2s;
}
.gnav button:hover {
  color: var(--ink);
}
.gnav button.on {
  color: var(--ink);
  border-color: var(--accent);
}
.gnav button .ct {
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gnav .spacer {
  flex: 1;
}
.gnav .view-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ink-3);
  border: none;
}
.gnav .view-toggle button {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.gnav .view-toggle button.on {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.group-sect {
  padding: 80px 0 24px;
  scroll-margin-top: 120px;
}
.group-sect + .group-sect {
  padding-top: 24px;
}
.group-head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.group-head .num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--accent);
}
.group-head h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
}
.group-head .ct {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--ink-3);
}
.rail-wrap {
  position: relative;
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 300px);
  gap: 32px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 8px 0 28px;
  scroll-snap-type: x proximity;
}
.rail::-webkit-scrollbar {
  height: 6px;
}
.rail::-webkit-scrollbar-track {
  background: var(--bone-2);
}
.rail::-webkit-scrollbar-thumb {
  background: var(--ink-3);
}
.rail.featured {
  padding: 8px 0 28px;
  border-bottom: none;
}
.card.featured {
  padding: 0;
  border-bottom: none;
}
.rail .card {
  scroll-snap-align: start;
}
.rail .card .ph {
  position: relative;
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 18px;
}
.rail .card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
  transition:
    filter 0.6s ease,
    transform 0.8s ease;
}
.rail .card:hover .ph img {
  filter: grayscale(0.1) contrast(1.02) brightness(0.98) saturate(0.95);
  transform: scale(1.03);
}

.rail .card .ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 6, 0) 55%, rgba(10, 9, 6, 0.45) 100%);
  pointer-events: none;
}
.rail .card .ph .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(250, 247, 242, 0.55);
  z-index: 2;
}
.rail .card .ph .corner.tl {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.rail .card .ph .corner.tr {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}
.rail .card .ph .corner.bl {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}
.rail .card .ph .corner.br {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}
.rail .card .ph .idx {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--bone);
  z-index: 3;
  mix-blend-mode: difference;
  opacity: 0.85;
}
.rail .card .ph .badge-w {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--bone);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}
.rail .card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--ink);
}
.rail .card h3 .last {
  color: var(--ink-3);
  font-weight: 400;
}
.rail .card .role {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.rail .card .inst {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 400;
  margin-bottom: 12px;
}
.rail .card .bio {
  font-family: var(--f-editorial);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rail .card .more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: flex-start;
}
.rail .card:hover .more {
  color: var(--accent);
  border-color: var(--accent);
}
.rail-ctrl {
  display: flex;
  gap: 8px;
  align-self: end;
}
.rail-ctrl button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rail-ctrl button:hover {
  background: var(--ink);
  color: var(--bone);
}
.rail-ctrl button:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  color: var(--ink);
}
body.view-list .rail-wrap {
  display: none;
}
body.view-list .list-view {
  display: block;
}
.list-view {
  display: none;
}
.list-rows {
  margin-top: 8px;
  border-top: 1px solid var(--rule);
}
.list-rows .list-row {
  display: grid;
  grid-template-columns: 60px 1.5fr 2fr 2fr auto;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  cursor: pointer;
  transition: background 0.25s;
}
.list-rows .list-row:hover {
  background: rgba(179, 58, 42, 0.04);
}
.list-rows .list-row .av {
  width: 48px;
  height: 60px;
  background: #1a1814;
  overflow: hidden;
}
.list-rows .list-row .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}
.list-rows .list-row .name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.002em;
}
.list-rows .list-row .name .last {
  color: var(--ink-3);
  font-weight: 400;
}
.list-rows .list-row .role {
  font-size: 14px;
  color: var(--ink-2);
}
.list-rows .list-row .grp {
  font-family: var(--f-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--ink-3);
}
.list-rows .list-row .link {
  font-family: var(--f-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--ink-3);
}
.list-rows .list-row:hover .link {
  color: var(--accent);
}

/* ── Team Page: Bio Modal ─────────────────────────────────────────── */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 6, 0.72);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 24px;
  overflow-y: auto;
}
.modal-bg.on {
  display: flex;
  opacity: 1;
}
.modal {
  position: relative;
  background: var(--bone);
  max-width: 1080px;
  width: 100%;
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-bg.on .modal {
  transform: translateY(0);
}
.modal .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink-3);
  z-index: 2;
}
.modal .corner.tl {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}
.modal .corner.tr {
  top: -1px;
  right: -1px;
  border-left: 0;
  border-bottom: 0;
}
.modal .corner.bl {
  bottom: -1px;
  left: -1px;
  border-right: 0;
  border-top: 0;
}
.modal .corner.br {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}
.modal .close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 18px;
  z-index: 3;
}
.modal .close:hover {
  background: var(--ink);
  color: var(--bone);
}
.mbody {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding: 48px;
}
.mbody .pcol {
  position: relative;
}
.mbody .pcol .ph {
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.mbody .pcol .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0) contrast(1.02) brightness(0.98) saturate(0.9);
}
.mbody .pcol .pmeta {
  margin-top: 20px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
  display: grid;
  gap: 10px;
}
.mbody .pcol .pmeta b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 2px;
}
.mbody .pcol .pmeta a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  display: inline-block;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--f-body);
  font-size: 13px;
}
.mbody .info .eyebrow {
  margin-bottom: 14px;
}
.mbody .info h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.mbody .info h3 .last {
  color: var(--ink-3);
  font-weight: 500;
}
.mbody .info .role-big {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.mbody .info .biofull p {
  font-family: var(--f-editorial);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.mbody .info .pubs-section {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.mbody .info .pubs-head {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 14px;
}
.mbody .info .pubs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mbody .info .pubs-list li {
  font-family: var(--f-editorial);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
  padding-left: 14px;
  border-left: 2px solid var(--rule);
}
.mbody .info .pubs-list a {
  color: var(--accent);
}
.mbody .info .pubs-list a:hover {
  border-bottom: 1px solid var(--accent);
}

/* ── News Page ────────────────────────────────────────────────────── */
.featured {
  border-bottom: 1px solid var(--rule);
  padding: 72px 0 96px;
}
.featured .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.featured .tag-line {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.featured .tag-line::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.featured .feat-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.featured .feat-nav .counter {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
}
.featured .nav-arrows {
  display: flex;
  gap: 8px;
}
.featured .nav-arrows button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  transition: 0.2s;
}
.featured .nav-arrows button:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.featured .feat-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.featured .feat-img {
  min-height: 460px;
  background: #1a1814;
  overflow: hidden;
  position: relative;
}
.featured .feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.05) brightness(0.9);
  transition: filter 0.6s;
}
.featured .feat-img .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--bone);
}
.featured .feat-img .corner.tl {
  top: 16px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
}
.featured .feat-img .corner.tr {
  top: 16px;
  right: 16px;
  border-left: 0;
  border-bottom: 0;
}
.featured .feat-img .corner.bl {
  bottom: 16px;
  left: 16px;
  border-right: 0;
  border-top: 0;
}
.featured .feat-img .corner.br {
  bottom: 16px;
  right: 16px;
  border-left: 0;
  border-top: 0;
}
.featured .feat-img .kind-flag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: var(--bone);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  padding: 7px 14px;
  font-weight: 600;
}
.featured .feat-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured .feat-body .eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.featured .feat-body .eyebrow .pipe {
  color: var(--ink-4);
}
.featured .feat-body h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}
.featured .feat-body h2 em {
  font-style: normal;
  color: var(--accent);
}
.featured .feat-body .deck {
  font-family: var(--f-editorial);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.featured .feat-meta {
  display: flex;
  gap: 32px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.featured .feat-meta .cell .l {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.featured .feat-meta .cell .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.featured .feat-actions {
  display: flex;
  gap: 28px;
  align-items: center;
}
.featured .feat-actions a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 500;
}
.featured .feat-actions a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.news-filters {
  position: sticky;
  top: 70px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.news-filters .row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.news-results {
  padding: 56px 0 120px;
}
.grid-view.news-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.news-card {
  cursor: pointer;
  border-top: 2px solid var(--rule);
  padding-top: 24px;
  transition: transform 0.3s;
}
.news-card:hover {
  transform: translateY(-3px);
}
.news-card .nc-img {
  aspect-ratio: 3/2;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 18px;
}
.news-card .nc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.02) brightness(0.9);
}
.news-card .nc-source {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.news-card .nc-kind {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--accent);
  font-weight: 700;
}
.news-card .nc-date {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--ink-3);
}
.news-card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.002em;
  margin: 0 0 10px;
  color: var(--ink);
}
.news-card p {
  font-family: var(--f-editorial);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.news-card .nc-link {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.no-res {
  display: none;
  padding: 80px 0;
  text-align: center;
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
}
.no-res.on {
  display: block;
}

/* ── News Modal ────────────────────────────────────────────────────── */
.news-modal {
  max-width: 900px;
}
.nm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.nm-img-col {
  position: relative;
  background: #1a1814;
  overflow: hidden;
}
.nm-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05) brightness(0.88);
  display: block;
}
.nm-img-ph {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}
.nm-kind-flag {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--bone);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  padding: 8px 14px;
  font-weight: 600;
}
.nm-kind-flag.nm-kind-press {
  background: var(--accent);
}
.nm-kind-flag.nm-kind-lab {
  background: var(--ink);
}
.nm-kind-flag.nm-kind-podcast {
  background: var(--ink-2);
}
.nm-info-col {
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}
.nm-eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.nm-eyebrow .nm-sep {
  color: var(--rule);
}
.nm-eyebrow .nm-date {
  color: var(--ink-3);
  font-weight: 400;
}
.nm-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 20px;
  color: var(--ink);
}
.nm-body {
  font-family: var(--f-editorial);
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0 0 22px;
  flex: 1;
}
.nm-project-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10.5px;
  color: var(--ink-3);
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.nm-project-link:hover {
  color: var(--accent);
}
.nm-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nm-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--bone);
  background: var(--accent);
  padding: 14px 24px;
  align-self: flex-start;
  transition:
    background 0.2s,
    gap 0.2s;
}
.nm-cta:hover {
  background: var(--ink);
  gap: 18px;
}
.nm-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.nm-cta:hover .nm-arrow {
  transform: translateX(4px);
}
.nm-hint {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--ink-4);
}
.nm-nolink {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--ink-4);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.nm-preview-hint {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink-3);
}

/* ── Article / Single Publication Page ────────────────────────────── */
.crumb {
  padding: 110px 0 0;
}
.crumb-row {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--rule);
}
.crumb-row a:hover {
  color: var(--accent);
}
.crumb-row .sep {
  color: var(--ink-4);
}
.crumb-row .here {
  color: var(--ink);
}
.crumb-row .id {
  margin-left: auto;
  color: var(--ink-3);
  font-weight: 500;
}
.art-hero {
  padding: 64px 0 96px;
  border-bottom: 1px solid var(--rule);
}
.art-hero .grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: end;
}
.pub-eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.pub-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.pub-eyebrow .pipe {
  color: var(--ink-4);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin: 0 4px;
}
h1.art-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 32px;
  text-wrap: balance;
}
h1.art-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.art-deck {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 40px;
}
.author-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author .avatar {
  width: 40px;
  height: 40px;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.author .who .name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.author .who .aff {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}
.art-hero .image {
  position: relative;
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
}
.art-hero .image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 6, 0) 50%, rgba(10, 9, 6, 0.45) 100%);
}
.art-hero .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.88);
}
.art-hero .image .corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--bone);
  z-index: 2;
}
.art-hero .image .corner.tl {
  top: 16px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
}
.art-hero .image .corner.tr {
  top: 16px;
  right: 16px;
  border-left: 0;
  border-bottom: 0;
}
.art-hero .image .corner.bl {
  bottom: 16px;
  left: 16px;
  border-right: 0;
  border-top: 0;
}
.art-hero .image .corner.br {
  bottom: 16px;
  right: 16px;
  border-left: 0;
  border-top: 0;
}
.meta-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.meta-strip .cell .lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.meta-strip .cell .val {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.meta-strip .cell .val em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.meta-strip .cell .val a:hover {
  color: var(--accent);
}
.article {
  padding: 72px 0 96px;
}
.article .grid {
  display: grid;
  grid-template-columns: 160px 1fr 260px;
  gap: 48px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
}
.toc-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc li a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  color: var(--ink-3);
  padding: 6px 0;
  border-left: 2px solid var(--rule);
  padding-left: 14px;
  display: block;
  transition: 0.2s;
}
.toc li a:hover,
.toc li a.active {
  color: var(--accent);
  border-color: var(--accent);
}
.article-body h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 40px 0 14px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  color: var(--ink);
}
.article-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.article-body p {
  font-family: var(--f-editorial);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body em {
  color: var(--ink-2);
}
.article-body blockquote {
  margin: 40px 0;
  padding: 0 0 0 28px;
  border-left: 3px solid var(--accent);
}
.article-body blockquote p {
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}
.article-body .figure {
  margin: 48px 0;
}
.article-body .figure img {
  width: 100%;
  filter: grayscale(0.85) contrast(1.05);
}
.article-body .figure figcaption {
  margin-top: 12px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink-4);
}
.art-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sidebar-cta {
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 24px;
}
.sidebar-cta .cta-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.sidebar-cta h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.related-pubs .rp-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.related-pubs .rp-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.related-pubs .rp-item:first-of-type {
  border-top: 1px solid var(--rule);
}
.related-pubs .rp-item:hover h5 {
  color: var(--accent);
}
.related-pubs .rp-item h5 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  margin: 0 0 4px;
  color: var(--ink);
  transition: color 0.2s;
}
.related-pubs .rp-item .rp-by {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ── Team Page: Masthead ──────────────────────────────────────────── */
.mast.team-mast {
  padding: 170px 0 56px;
}
.mast.team-mast .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
h1.mast-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  max-width: 14ch;
}
h1.mast-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.mast-meta {
  display: flex;
  gap: 48px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: right;
}
.mast-meta b {
  display: block;
  color: var(--ink);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.mast .deck {
  font-family: var(--f-editorial);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 48px 0 0;
}

/* ── Team Page: Mission Band ──────────────────────────────────────── */
.mission-band {
  padding: 72px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bone-2);
}
.mission-band .inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.mission-band .lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.mission-band .lbl::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.mission-band h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
}
.mission-band h2 em {
  font-style: normal;
  color: var(--accent);
}
.mission-band .body p {
  font-family: var(--f-editorial);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 1.1em;
}
.mission-band .body p:last-child {
  margin-bottom: 0;
}

.tags a {
  display: inline-block;
  margin: 0 6px 6px 0;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  transition: 0.2s;
}
.tags a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.share {
  display: flex;
  gap: 14px;
}
.share a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
  transition: 0.2s;
}
.share a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Mobile nav: hamburger button + dropdown ──────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-top: 1px solid var(--rule);
  padding: 0 24px;
}
.nav-mobile.on {
  display: flex;
}
.nav-mobile a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: block;
}
.nav-mobile a:last-child {
  border-bottom: 0;
}
.nav-mobile a:hover,
.nav-mobile a.on {
  color: var(--accent);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .wrap,
  .wrap-narrow {
    padding: 0 24px;
  }
  .nav {
    padding: 14px 24px;
    gap: 14px;
  }
  nav.primary {
    display: none;
  }
  .lang {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-inner {
    padding: 120px 24px 40px;
  }
  .hero .foot {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mission .grid,
  .map-head,
  .impact .grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pub-grid {
    grid-template-columns: 1fr;
  }
  .pub.wide,
  .pub.third,
  .pub.half,
  .pub.small {
    grid-column: span 12;
  }
  .mast-map-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  #pub-map {
    height: 380px;
  }
  #proj-map {
    height: 380px;
  }
  section {
    padding: 80px 0;
  }
  footer.site .grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-item {
    flex: 0 0 180px;
    min-height: 160px;
  }
  .media-cards {
    grid-template-columns: 1fr;
  }
  .t-rail-ctrl {
    display: none;
  }
  .t-rail {
    grid-auto-columns: minmax(220px, 240px);
    gap: 20px;
  }
  .pubs-cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pubs-cta-divider {
    display: none;
  }
  .grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
  .mast .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .art-hero .grid {
    grid-template-columns: 1fr;
  }
  .article .grid {
    grid-template-columns: 1fr;
  }
  .toc {
    display: none;
  }
  .meta-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured .feat-grid {
    grid-template-columns: 1fr;
  }
  .mbody {
    grid-template-columns: 1fr;
  }
  .nm-layout {
    grid-template-columns: 1fr;
  }
  .nm-img-col {
    min-height: 220px;
    max-height: 280px;
  }
  .nm-info-col {
    padding: 28px 24px 28px;
    max-height: none;
  }
  .grid-view.news-grid-view {
    grid-template-columns: 1fr;
  }
  .list-rows .list-row {
    grid-template-columns: 48px 1fr;
  }
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .rel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  /* Filter bars: stack search on top, selects below in 2 cols */
  .filters .row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .filters .row .search {
    grid-column: 1 / -1;
  }
  .news-filters .row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .news-filters .row .search {
    grid-column: 1 / -1;
  }
  /* Hide grid/list toggle — only grid view on mobile */
  .filters .view-toggle {
    display: none;
  }
  /* Footer: logo full-width, Navigate + Contact side by side */
  footer.site .grid {
    grid-template-columns: 1fr 1fr;
  }
  footer.site .grid > div:first-child {
    grid-column: 1 / -1;
  }
  /* Section padding reduction */
  section {
    padding: 60px 0;
  }
}

/* ── Article body: section spacing + num badge ───────────────────── */
.article-body section {
  margin-bottom: 0;
  padding: 0;
}
.article-body section:first-of-type h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.article-body h2 .num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 8px 2px;
  border-radius: 2px;
  margin-right: 12px;
  font-weight: 500;
  vertical-align: middle;
  line-height: 1;
}

/* ── Cite block ──────────────────────────────────────────────────── */
.cite-block {
  border: 1px solid var(--ink);
  padding: 28px 32px;
  margin: 32px 0 0;
  background: var(--bone);
  position: relative;
}
.cite-block .lbl {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 0 10px;
  background: var(--bone);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
}
.cite-block .text {
  font-family: var(--f-editorial);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 6px 0 18px;
}
.cite-block .actions {
  display: flex;
  gap: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.cite-block .actions button,
.cite-block .actions a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  cursor: pointer;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.cite-block .actions button:hover,
.cite-block .actions a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── Art sidebar ─────────────────────────────────────────────────── */
.art-sidebar .card {
  background: var(--bone-2);
  border: 1px solid var(--rule);
  padding: 22px 22px 24px;
}
.art-sidebar .card + .card {
  margin-top: -1px;
}
.art-sidebar .card.dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.art-sidebar .card .lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.art-sidebar .card.dark .lbl {
  color: #f1d7d0;
}
.art-sidebar .download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 4px;
  border-top: 1px solid #3c372e;
  text-decoration: none;
}
.art-sidebar .download:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.art-sidebar .download .what {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 14px;
  color: var(--bone);
  flex: 1;
}
.art-sidebar .download .arr {
  width: 30px;
  height: 30px;
  border: 1px solid #c8bea9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition:
    background 0.2s,
    border-color 0.2s;
  flex-shrink: 0;
}
.art-sidebar .download:hover .arr {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Authors section ─────────────────────────────────────────────── */
.authors-section {
  background: var(--bone-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 64px 0;
}
.section-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.section-label::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
}
.authors-section h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  margin: 0 0 32px;
  border: 0;
  padding: 0;
}
.authors-section h2 em {
  font-style: normal;
  color: var(--accent);
}
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  border-top: 1px solid var(--rule);
}
.auth-grid .t-card {
  flex-direction: row;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.auth-grid .t-card .ph {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  aspect-ratio: 1;
  flex-shrink: 0;
  margin-bottom: 0;
  overflow: hidden;
}
.auth-grid .t-card .ph::after {
  display: none;
}
.auth-grid .t-card .ph .c {
  display: none;
}
.auth-grid .t-card .t-info {
  flex: 1;
  min-width: 0;
}
.auth-grid .t-card h3 {
  font-size: 16px;
  margin-bottom: 2px;
}
.auth-grid .t-card:hover {
  transform: none;
}
.auth-grid .t-card:hover h3 {
  color: var(--accent);
}
.auth-card {
  background: var(--bone);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-card .head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.auth-card .portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.auth-card .who h4 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.002em;
  line-height: 1.05;
  margin: 0 0 4px;
}
.auth-card .who .role {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}
.auth-card > p {
  font-family: var(--f-editorial);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.auth-card .links {
  display: flex;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.auth-card .links a {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--ink-3);
}
.auth-card .links a:hover {
  color: var(--accent);
}
.auth-card .portrait-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.auth-card .portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author .portrait-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.author .portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-no-img {
  display: none;
}
.art-hero .grid:has(.pub-no-img) {
  grid-template-columns: 1fr;
}

/* ── Related publications section ────────────────────────────────── */
.related {
  padding: 96px 0;
}
.rel-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.rel-head h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  margin: 0;
}
.rel-head h2 em {
  font-style: normal;
  color: var(--accent);
}
.rel-head .all-link {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12.5px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  color: var(--ink);
  white-space: nowrap;
}
.rel-head .all-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rel {
  cursor: pointer;
  transition: transform 0.35s;
}
.rel:hover {
  transform: translateY(-3px);
}
.rel .ph {
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.rel .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.95) contrast(1.02) brightness(0.88);
  transition:
    transform 0.8s,
    filter 0.6s;
}
.rel:hover .ph img {
  transform: scale(1.04);
  filter: grayscale(0.3) brightness(0.95);
}
.rel .tag {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.rel h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.15;
  margin: 8px 0 8px;
  letter-spacing: -0.002em;
}
.rel .by {
  font-family: var(--f-editorial);
  font-style: italic;
  color: var(--ink-3);
  font-size: 13.5px;
}

/* ── Projects page ───────────────────────────────────────────────── */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  margin-top: 40px;
}
.proj-card {
  cursor: pointer;
  transition: transform 0.35s ease;
}
.proj-card:hover {
  transform: translateY(-3px);
}
.proj-card .ph {
  position: relative;
  aspect-ratio: 4/3;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 18px;
}
.proj-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) contrast(1.02) brightness(0.88);
  transition:
    transform 0.8s ease,
    filter 0.6s ease;
}
.proj-card:hover .ph img {
  transform: scale(1.04);
  filter: grayscale(0.2) brightness(0.95);
}
.proj-card .ph-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2620 0%, #5c3328 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.35);
}
.proj-card .status-dot {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(142, 42, 31, 0.25);
}
.proj-card .status-dot.completed {
  background: var(--ink-3);
  box-shadow: none;
}
.proj-card .meta-line {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.proj-card .meta-line .pipe {
  color: var(--rule);
}
.proj-card .meta-line .status {
  color: var(--accent);
  font-weight: 600;
}
.proj-card .meta-line .status.completed {
  color: var(--ink-3);
  font-weight: 400;
}
.proj-card h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.12;
  letter-spacing: -0.002em;
  margin: 0 0 10px;
  color: var(--ink);
}
.proj-card .blurb {
  font-family: var(--f-editorial);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.proj-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule);
}
.proj-filter-bar .lbl {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--ink-3);
  margin-right: 4px;
}
.proj-filter-bar .pf-btn {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  padding: 7px 14px;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  background: none;
  cursor: pointer;
  transition: 0.2s;
}
.proj-filter-bar .pf-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.proj-filter-bar .pf-btn.on {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.proj-empty {
  display: none;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--ink-3);
  padding: 60px 0;
}
.proj-empty.on {
  display: block;
}
@media (max-width: 960px) {
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}
@media (max-width: 600px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Project detail pages ────────────────────────────────────────── */
.project-crumb {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--f-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.project-crumb a {
  color: var(--ink-3);
}
.project-crumb a:hover {
  color: var(--accent);
}
.crumb-sep {
  margin: 0 10px;
  opacity: 0.4;
}
#project-crumb-name {
  color: var(--ink);
}

.project-hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.project-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.project-eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.project-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.project-visual {
  aspect-ratio: 4/3;
  background: #1a1814;
  overflow: hidden;
}
.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.88);
}
.project-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-description {
  padding: 64px 0;
}
.project-body {
  font-family: var(--f-editorial);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
}
.project-body strong {
  color: var(--ink);
  font-style: normal;
}
.project-body em {
  color: var(--ink-2);
}

.project-section {
  border-top: 1px solid var(--rule);
}
.project-section h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  margin: 0 0 40px;
}
.project-section > .wrap {
  padding-top: 72px;
  padding-bottom: 72px;
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}
.t-photo {
  aspect-ratio: 1/1;
  background: var(--bone-2);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--rule);
}
.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.9);
}
.t-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--bone-2);
  letter-spacing: 0.04em;
}
.t-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.002em;
  margin: 0 0 4px;
  color: var(--ink);
}
.t-external .t-name::after {
  content: ' ↗';
  font-size: 11px;
  color: var(--ink-3);
  vertical-align: super;
}

.pub-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.pub-card {
  cursor: pointer;
  transition: transform 0.35s ease;
}
.pub-card:hover {
  transform: translateY(-3px);
}
.pub-ph {
  aspect-ratio: 4/3;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 14px;
}
.pub-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.8) brightness(0.88);
  transition: transform 0.8s ease;
}
.pub-card:hover .pub-ph img {
  transform: scale(1.04);
}
.pub-kind {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.pub-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
}
.pub-journal {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
}

#project-news .news-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}
.news-item {
  padding: 24px;
  border: 1px solid var(--rule);
}
.news-date {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.news-kind {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.news-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.news-body {
  font-family: var(--f-editorial);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.news-link {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.news-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.project-map-section {
  padding: 0;
}
.project-map-section #project-map {
  height: 440px;
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
}
.file-link::before {
  content: '↓';
  color: var(--accent);
}
.file-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .project-hero-grid {
    grid-template-columns: 1fr;
  }
  .t-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pub-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
  #project-news .news-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .t-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .pub-grid-small {
    grid-template-columns: 1fr;
  }
}

/* ── Publication card — project badge ─────────────────────────────────────── */
.card-project {
  margin-top: 6px;
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}
.list-row .card-project {
  margin-top: 4px;
}

/* ── Project Dossier Layout (.pd-*) ────────────────────────────── */

/* Utility */
.pd-hidden {
  display: none !important;
}
.pd-sec--hidden {
  display: none;
}

/* Docbar */
.pd-docbar {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--f-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
.pd-docbar .wrap {
  display: flex;
  align-items: center;
}
.pd-docbar a {
  color: var(--ink-3);
}
.pd-docbar a:hover {
  color: var(--accent);
}
.pd-docbar-sep {
  margin: 0 10px;
  opacity: 0.4;
}
#pd-crumb-name {
  color: var(--ink);
}

/* Hero */
.pd-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  max-height: 680px;
  overflow: hidden;
  background: #0a0906;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pd-hero-img {
  position: absolute;
  inset: 0;
}
.pd-hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.72);
}
.pd-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 9, 6, 0.15) 0%,
    rgba(10, 9, 6, 0) 35%,
    rgba(10, 9, 6, 0.88) 100%
  );
  pointer-events: none;
}
.pd-hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 56px;
}
.pd-hero-eyebrow {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pd-hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.pd-hero-h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #faf7f2;
  margin: 0 0 24px;
  max-width: 22ch;
}
.pd-hero-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 247, 242, 0.2);
}
.pd-hero-sub {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: rgba(250, 247, 242, 0.72);
}
.pd-hero-badge {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
}
.pd-hero-badge--active {
  background: var(--accent);
  color: var(--bone);
}
.pd-hero-badge--completed {
  background: rgba(250, 247, 242, 0.18);
  color: rgba(250, 247, 242, 0.72);
  border: 1px solid rgba(250, 247, 242, 0.3);
}
.pd-hero-badge--forthcoming {
  background: var(--ink-2);
  color: var(--bone-2);
}

/* Shell */
.pd-shell {
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 0 56px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 120px;
  background-image: linear-gradient(var(--rule), var(--rule));
  background-size: 1px 100%;
  background-position: calc(220px + 44px) 0;
  background-repeat: no-repeat;
}

/* Rail / TOC */
.pd-rail {
  padding-right: 24px;
  align-self: stretch;
}
.pd-rail-inner {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-bottom: 40px;
}
.pd-toc-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.pd-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pd-toc-item a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--ink-3);
  padding: 7px 0 7px 12px;
  border-left: 2px solid var(--rule-soft);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.pd-toc-item a:hover,
.pd-toc-item.is-active a {
  color: var(--accent);
  border-left-color: var(--accent);
}
.pd-toc-n {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink-4);
  flex-shrink: 0;
}
.pd-toc-t {
  line-height: 1.2;
}

/* Main + Sections */
.pd-main {
  min-width: 0;
}
.pd-sec {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 110px;
}
.pd-sec:first-child {
  border-top: none;
  padding-top: 0;
}
.pd-sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 40px;
}
.pd-sec-n {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.pd-sec-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}

/* Overview lede — full width (idcard moved to rail) */
.pd-lede {
  font-family: var(--f-editorial);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
}
.pd-lede p {
  margin: 0 0 1.2em;
}
.pd-lede p:last-child {
  margin-bottom: 0;
}
.pd-lede strong {
  color: var(--ink);
  font-style: normal;
}
.pd-lede em {
  color: var(--ink-2);
}

/* Key Information */
.pd-idcard {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
}
.pd-idcard-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule-soft);
}
.pd-idcard-row:last-child {
  border-bottom: none;
}
.pd-idcard-k {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 500;
}
.pd-idcard-v {
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
}
.pd-idcard-v--links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* idcard in right aside: stacked key/value (260px col, accent separator via border-left) */
.pd-aside {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
  align-self: stretch;
}
.pd-aside .pd-idcard {
  border: none;
  border-left: 3px solid var(--accent);
  position: sticky;
  top: 100px;
}
.pd-aside .pd-idcard-row {
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 11px 14px;
}
.pd-aside .pd-idcard-v {
  font-size: 14px;
}
.pd-badge {
  display: inline-block;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 10px;
}
.pd-badge--active {
  background: var(--accent);
  color: var(--bone);
}
.pd-badge--completed {
  background: var(--bone-2);
  color: var(--ink-3);
  border: 1px solid var(--rule);
}
.pd-badge--forthcoming {
  background: var(--ink);
  color: var(--bone);
}
.pd-resource-link {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  align-self: flex-start;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.pd-resource-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.pd-idcard-v--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pd-badge--topic {
  background: var(--bone-2);
  color: var(--ink-2);
  border: 1px solid var(--rule);
}

/* Publications */
.pd-pubs-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pd-pubs-tab {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--ink-3);
  padding: 12px 20px;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition:
    color 0.2s,
    border-color 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  margin-bottom: -1px;
}
.pd-pubs-tab:hover {
  color: var(--ink);
}
.pd-pubs-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.pd-tab-ct {
  font-family: var(--f-display);
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
}
.pd-pubs-panels {
}
.pd-pubs-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pd-pubs-panel[hidden] {
  display: none;
}
.pd-pub-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s;
}
.pd-pub-card:hover {
  transform: translateY(-3px);
}
.pd-pub-card-ph {
  aspect-ratio: 4/5;
  background: #1a1814;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.pd-pub-card-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.02) brightness(0.88);
  transition:
    transform 0.8s,
    filter 0.6s;
  display: block;
}
.pd-pub-card:hover .pd-pub-card-ph img {
  transform: scale(1.04);
  filter: grayscale(0.3) brightness(0.95);
}
.pd-pub-card-ph-empty {
  width: 100%;
  height: 100%;
  background: #1a1814;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pd-pub-card-kind {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.pd-pub-card-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--ink);
  transition: color 0.2s;
  letter-spacing: -0.002em;
}
.pd-pub-card:hover .pd-pub-card-title {
  color: var(--accent);
}
.pd-pub-card-venue {
  font-family: var(--f-editorial);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.pd-pub-card-meta {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--ink-3);
}
.pd-btn {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.pd-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.pd-btn--primary {
  color: var(--accent);
  border-color: var(--accent);
}

/* Team — rail (uses shared .rail / .card classes; rail-ctrl inline in sec-head) */
#sec-team .pd-sec-head {
  align-items: center;
}
#sec-team .rail-ctrl {
  margin-left: auto;
}

/* News */
.pd-news {
  display: flex;
  flex-direction: column;
}
.pd-news-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.pd-news-row:first-child {
  border-top: 1px solid var(--rule);
}
.pd-news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-news-d {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  color: var(--ink-3);
}
.pd-news-k {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
}
.pd-news-k--lab {
  background: var(--ink);
  color: var(--bone);
}
.pd-news-k--press {
  background: var(--accent);
  color: var(--bone);
}
.pd-news-k--podcast {
  background: var(--ink-2);
  color: var(--bone);
}
.pd-news-k--announcement {
  background: var(--bone-2);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.pd-news-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
}
.pd-news-body {
  font-family: var(--f-editorial);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pd-news-link {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
  align-self: flex-start;
}
.pd-news-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Social posts grid */
.pd-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.pd-social-item {
  flex: 0 0 auto;
  min-width: 326px;
  max-width: 430px;
  border: 1px solid var(--rule);
  overflow: hidden;
}
.pd-social-item .instagram-media {
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.pd-social-cta {
  display: block;
  padding: 12px 16px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  transition: color 0.2s;
}
.pd-social-cta:hover {
  color: var(--accent);
}

/* Map section */
#sec-map #project-map {
  height: 440px;
}

/* Gallery & video */
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
.pd-gallery-item {
  margin: 0;
  cursor: pointer;
}
.pd-gallery-img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  display: block;
  filter: grayscale(0.55) brightness(0.9);
  transition: filter 0.45s;
}
.pd-gallery-img:hover {
  filter: grayscale(0.1) brightness(1);
}
.pd-gallery-cap {
  font-size: 11.5px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-top: 6px;
  display: block;
}
.pd-video-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pd-yt-wrap {
  aspect-ratio: 16/9;
  background: #0a0906;
}
.pd-yt-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pd-video-pending {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bone);
  border: 1px solid var(--rule);
}
.pd-video-pending-icon {
  font-size: 22px;
  color: var(--ink-3);
  flex-shrink: 0;
}
.pd-video-pending-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pd-video-pending-label {
  font-size: 11.5px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.pd-video-pending-cap {
  font-size: 15px;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .pd-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sub-studies */
.pd-substudy {
  border-left: 3px solid var(--accent);
  padding: 18px 0 18px 24px;
  margin-bottom: 28px;
}
.pd-substudy:last-child {
  margin-bottom: 0;
}
.pd-substudy-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}
.pd-substudy-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.pd-substudy-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.pd-substudy-body p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .pd-shell {
    grid-template-columns: 1fr;
    gap: 0;
    background: none;
  }
  .pd-rail {
    display: none;
  }
  .pd-aside {
    order: -1;
    position: static;
    border-left: none;
    border-bottom: 1px solid var(--rule);
    padding: 0 0 40px;
  }
  .pd-aside .pd-idcard {
    position: static;
  }
  .pd-main {
    padding-top: 48px;
  }
  .pd-aside .pd-idcard-row {
    grid-template-columns: 120px 1fr;
    gap: 10px;
  }
  .pd-hero {
    min-height: 380px;
  }
  .pd-hero-inner {
    padding: 80px 0 40px;
  }
  .pd-pubs-panel {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .pd-shell {
    padding-top: 48px;
    padding-bottom: 80px;
  }
  .pd-hero-foot {
    flex-direction: column;
    gap: 10px;
  }
  .pd-pubs-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Team pills strip */
.pd-team-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--rule);
}
.pd-tp {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  transition: opacity 0.2s;
  -webkit-appearance: none;
  text-align: left;
}
.pd-tp:hover {
  opacity: 0.65;
}
.pd-tp .author {
  pointer-events: none;
  align-items: flex-start;
}
.pd-tp .author .portrait-wrap {
  width: 44px;
  height: 44px;
}
@media (max-width: 600px) {
  .pd-team-strip {
    flex-direction: column;
    gap: 4px 0;
  }
  .pd-tp {
    width: 100%;
  }
}

/* Media lightbox */
.media-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 6, 0.95);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.media-modal-bg.is-open {
  display: flex;
}
.media-modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 26px;
  cursor: pointer;
  z-index: 1201;
  opacity: 0.6;
  line-height: 1;
  padding: 4px 8px;
}
.media-modal-close:hover {
  opacity: 1;
}
.media-modal-prev,
.media-modal-next {
  background: none;
  border: none;
  color: var(--bone);
  font-size: 56px;
  cursor: pointer;
  padding: 0 20px;
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.2s;
}
.media-modal-prev:hover,
.media-modal-next:hover {
  opacity: 1;
}
.media-modal-prev:disabled,
.media-modal-next:disabled {
  opacity: 0.12;
  cursor: default;
}
.media-modal-inner {
  flex: 1;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.media-modal-content {
  width: 100%;
  display: flex;
  justify-content: center;
}
.media-modal-content img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
}
.media-modal-content iframe {
  width: min(860px, 90vw);
  aspect-ratio: 16/9;
  border: none;
  display: block;
}
.media-modal-caption {
  margin-top: 14px;
  font-family: var(--f-editorial);
  font-style: italic;
  color: rgba(250, 247, 242, 0.55);
  font-size: 13.5px;
  text-align: center;
  max-width: 600px;
}
.media-modal-pending {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(250, 247, 242, 0.6);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  padding: 40px;
}

/* Related projects section */
.proj-related {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
}

/* ── Donate Page ─────────────────────────────────────── */
.donate-contact-label {
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 11px;
  color: var(--ink-3);
  margin: 40px 0 8px;
}
.donate-email {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.donate-email:hover {
  opacity: 0.75;
}

/* ── 404 Page ────────────────────────────────────────── */
.nf-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  text-align: center;
}
.nf-eyebrow {
  margin-bottom: 24px;
}
.nf-title {
  font-family: var(--f-display);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.95;
  color: var(--ink);
  margin: 0 0 24px;
}
.nf-lede {
  font-family: var(--f-editorial);
  font-size: 20px;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.nf-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.nf-btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nf-btn--primary {
  background: var(--ink);
  color: var(--bone);
}
.nf-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.nf-btn:hover {
  opacity: 0.85;
}
