:root {
  --bg: #171716;
  --bg-soft: #22221f;
  --paper: #d6d8d1;
  --paper-light: #efeee8;
  --ink: #10100f;
  --muted: #64635d;
  --line: rgba(16, 16, 15, 0.16);
  --line-light: rgba(239, 238, 232, 0.18);
  --accent: #9f342b;
  --accent-2: #6c7b68;
  --max: 1180px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  color: var(--ink);
  font-family: Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.08), transparent 34rem),
    var(--bg);
}

img,
iframe {
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: min(calc(100% - 28px), var(--max));
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(23, 23, 22, 0.86);
  color: var(--paper-light);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand span {
  color: rgba(239, 238, 232, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(239, 238, 232, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.is-active {
  border-color: rgba(239, 238, 232, 0.3);
  background: var(--paper-light);
  color: var(--ink);
}

main {
  width: min(calc(100% - 28px), var(--max));
  margin: 24px auto 52px;
}

.poster,
.section,
.page-head {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(220px, 0.7fr) minmax(300px, 0.98fr);
  min-height: min(690px, calc(100vh - 116px));
  overflow: hidden;
}

.poster-image {
  min-width: 0;
  background: #8f928a;
}

.poster-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: grayscale(0.38) contrast(0.92) brightness(0.88);
}

.poster-steps {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  padding: 34px 0;
}

.poster-steps span {
  display: block;
  width: min(220px, 92%);
  margin-left: calc(var(--shift) * 12px);
  padding: 8px 12px;
  background: var(--paper-light);
  color: var(--ink);
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.poster-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
  padding: clamp(28px, 5vw, 62px);
}

.small-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Arial Black, Helvetica, Arial, sans-serif;
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(3rem, 8.2vw, 7.4rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.hero-poster h1 {
  max-width: 520px;
  font-size: clamp(2.75rem, 3.6vw, 3.55rem);
  line-height: 0.9;
}

.hero-poster h1 span {
  display: block;
}

.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

body,
p,
li,
blockquote,
td,
dd,
input,
textarea,
select,
.lead,
.copy-stack,
.landing-content p,
.contribute-document p,
.contribute-document li,
.entry-link strong,
.entry-body,
.detail-copy,
.reading-card p,
.compact-term-list p,
.map-entry-popup p {
  font-family: var(--font-body);
}

.small-label,
.brand span,
.landing-brand span,
.landing-brand em,
.nav a,
.landing-nav a,
.button,
.view-switch button,
.entry-table th,
.entry-link small,
.status-pill,
.mini-tags span,
.tag-row span,
.method-list li,
.contribution-list li,
.quick-search,
.map-row span,
.map-row em,
.selected-entry dt,
.detail-meta dt,
.detail-brief span,
.reading-card span,
.compact-term-list strong,
.map-entry-popup span,
.risk-grid span,
.rights-grid span,
.manifesto-list-grid span,
.intervention-list li::before,
.actor-list span,
.form-card label,
.layer-rail span,
.submit-memory-link,
.image-fragments figcaption {
  font-family: var(--font-mono);
}

/* End-of-file QA overrides */
.gallery-grid-source {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid-source .gallery-card img {
  aspect-ratio: 1 / 0.82;
}

.gallery-card a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.mini-tags span,
.tag-row span {
  border-color: #0a0a0a !important;
  background: var(--accent) !important;
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table tr:hover td *,
.entry-table td:hover,
.entry-table td:hover *,
.entry-table td:hover ~ td,
.entry-table td:hover ~ td *,
.entry-table tr:focus-within td,
.entry-table tr:focus-within td * {
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table td:hover,
.entry-table td:hover ~ td,
.entry-table tr:focus-within td {
  background: var(--accent) !important;
}

.entry-table tr:hover .mini-tags span,
.entry-table td:hover .mini-tags span,
.entry-table td:hover ~ td .mini-tags span,
.entry-table tr:focus-within .mini-tags span {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(10, 10, 10, 0.18) !important;
}

.reading-card.is-concept,
.reading-card.is-concept span,
.reading-card.is-concept strong,
.reading-card.is-concept p,
.manifesto-call p:nth-child(2),
.manifesto-call p:nth-child(2) * {
  color: #ffffff !important;
}

.landing-kicker,
.small-label,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.landing-nav a:hover,
.landing-nav a.is-active,
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.reading-node:hover span,
.reading-node:focus span,
.reading-node.is-active span,
.actor-list span:nth-child(3n),
.button.dark {
  color: #ffffff !important;
}

.small-label + h1,
.small-label + h2,
.small-label + p {
  margin-top: 14px;
}

body[data-page="shadow-policy"] .policy-section > div:first-child {
  text-align: center;
}

body[data-page="shadow-policy"] .policy-section > div:first-child .small-label {
  margin-right: auto;
  margin-left: auto;
}

body[data-page="shadow-policy"] .closing-block .small-label {
  margin-bottom: 16px;
}

.entry-table tr:hover td,
.entry-table td:hover,
.entry-table td:hover ~ td,
.entry-table tr:focus-within td {
  background: var(--accent) !important;
}

.entry-table tr:hover td,
.entry-table tr:hover td *,
.entry-table td:hover,
.entry-table td:hover *,
.entry-table td:hover ~ td,
.entry-table td:hover ~ td *,
.entry-table tr:focus-within td,
.entry-table tr:focus-within td * {
  color: #ffffff !important;
}

.entry-table tr:hover .mini-tags span,
.entry-table td:hover .mini-tags span,
.entry-table td:hover ~ td .mini-tags span,
.entry-table tr:focus-within .mini-tags span {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(10, 10, 10, 0.18) !important;
  color: #ffffff !important;
}

/* Latest QA locks */
.gallery-grid-source {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid-source .gallery-card img {
  aspect-ratio: 1 / 0.82;
}

.gallery-card a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.mini-tags span,
.tag-row span {
  border-color: #0a0a0a !important;
  background: var(--accent) !important;
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table tr:hover td *,
.entry-table td:hover,
.entry-table td:hover *,
.entry-table td:hover ~ td,
.entry-table td:hover ~ td *,
.entry-table tr:focus-within td,
.entry-table tr:focus-within td * {
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table td:hover,
.entry-table td:hover ~ td,
.entry-table tr:focus-within td {
  background: var(--accent) !important;
}

.entry-table tr:hover .mini-tags span,
.entry-table td:hover .mini-tags span,
.entry-table td:hover ~ td .mini-tags span,
.entry-table tr:focus-within .mini-tags span {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(10, 10, 10, 0.18) !important;
  color: #ffffff !important;
}

.reading-card.is-concept,
.reading-card.is-concept span,
.reading-card.is-concept strong,
.reading-card.is-concept p,
.manifesto-call p:nth-child(2),
.manifesto-call p:nth-child(2) * {
  color: #ffffff !important;
}

.landing-kicker,
.small-label,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.landing-nav a:hover,
.landing-nav a.is-active,
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.reading-node:hover span,
.reading-node:focus span,
.reading-node.is-active span,
.actor-list span:nth-child(3n),
.button.dark {
  color: #ffffff !important;
}

.small-label + h1,
.small-label + h2,
.small-label + p {
  margin-top: 14px;
}

body[data-page="shadow-policy"] .policy-section > div:first-child {
  text-align: center;
}

body[data-page="shadow-policy"] .policy-section > div:first-child .small-label {
  margin-right: auto;
  margin-left: auto;
}

body[data-page="shadow-policy"] .closing-block .small-label {
  margin-bottom: 16px;
}

/* Page-specific final fixes */
body[data-page="gallery"],
body[data-page="about"] {
  background:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    #f6f6f2;
  background-size: 44px 44px;
}

.about-document {
  display: grid;
  gap: 28px;
}

.about-document article {
  display: grid;
  gap: 12px;
  max-width: 1180px;
}

.about-document h2 {
  margin: 0;
}

.about-document p,
.about-document li {
  margin: 0;
  color: #34332f;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.58;
}

.about-document ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 24px;
}

.gallery-section {
  display: grid;
  gap: 18px;
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

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

.gallery-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 5px 5px 0 rgba(10, 10, 10, 0.12);
}

.gallery-card a {
  display: block;
  cursor: zoom-in;
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 0.9;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.gallery-grid-featured .gallery-card:nth-child(1) {
  grid-column: span 2;
}

.gallery-grid-featured .gallery-card:nth-child(1) img,
.gallery-grid-featured .gallery-card:nth-child(2) img {
  aspect-ratio: 1.8 / 0.78;
}

.gallery-card figcaption {
  padding: 10px 12px;
  border-top: 2px solid #0a0a0a;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reading-card.is-concept,
.reading-card.is-concept span,
.reading-card.is-concept strong,
.reading-card.is-concept p {
  color: #ffffff !important;
}

.reading-card.is-concept span {
  opacity: 0.86;
}

.manifesto-call p:nth-child(2),
.manifesto-call p:nth-child(2) strong,
.manifesto-call p:nth-child(2) span {
  color: #ffffff !important;
}

.landing-kicker,
.small-label,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.landing-nav a:hover,
.landing-nav a.is-active,
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.reading-node:hover span,
.reading-node:focus span,
.reading-node.is-active span,
.actor-list span:nth-child(3n),
.mini-tags span,
.button.dark {
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table tr:hover a,
.entry-table tr:hover small,
.entry-table tr:hover span {
  color: #ffffff !important;
}

.small-label + h1,
.small-label + h2,
.small-label + p {
  margin-top: 14px;
}

body[data-page="shadow-policy"] .policy-section > div:first-child {
  text-align: center;
}

body[data-page="shadow-policy"] .policy-section > div:first-child .small-label {
  margin-right: auto;
  margin-left: auto;
}

body[data-page="shadow-policy"] .interventions-section .small-label,
body[data-page="shadow-policy"] .split-section .small-label,
body[data-page="shadow-policy"] .closing-block .small-label {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

body[data-page="shadow-policy"] .closing-block .small-label {
  margin-bottom: 16px;
}

.detail-grid {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1.58fr);
}

.detail-media {
  position: sticky;
  top: 96px;
}

.detail-media:empty {
  display: none;
}

@media (max-width: 980px) {
  .gallery-grid-featured,
  .gallery-grid-compact {
    grid-template-columns: 1fr;
  }

  .gallery-grid-featured .gallery-card:nth-child(1) {
    grid-column: auto;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

body[data-page="landing"] .landing-content .landing-kicker,
.small-label,
.landing-nav a:hover,
.landing-nav a.is-active,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.button.dark,
.poster-steps span:nth-child(3n),
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.actor-list span:nth-child(3n) {
  color: #ffffff !important;
}

body[data-page="map-entries"] .view-toolbar {
  padding-top: 34px;
}

body[data-page="map-entries"] .view-title-block {
  gap: 12px;
}

.small-label,
.landing-kicker,
.landing-nav a:hover,
.landing-nav a.is-active,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.button.dark,
.poster-steps span:nth-child(3n),
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.actor-list span:nth-child(3n) {
  color: #ffffff;
}

/* Final content typography and image fragments. */
body,
p,
li,
blockquote,
td,
dd,
input,
textarea,
select,
.lead,
.copy-stack,
.landing-content p,
.contribute-document p,
.contribute-document li,
.entry-link strong,
.entry-body,
.detail-copy,
.reading-card p,
.compact-term-list p,
.map-entry-popup p {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.poster-slogan,
.selected-entry h3,
.detail-copy h1,
.detail-concepts h2,
.reading-selection-head h2 {
  font-family: var(--font-heading);
}

.small-label,
.brand span,
.landing-brand span,
.landing-brand em,
.nav a,
.landing-nav a,
.button,
.view-switch button,
.entry-table th,
.entry-link small,
.status-pill,
.mini-tags span,
.tag-row span,
.method-list li,
.contribution-list li,
.quick-search,
.map-row span,
.map-row em,
.selected-entry dt,
.detail-meta dt,
.detail-brief span,
.reading-card span,
.compact-term-list strong,
.map-entry-popup span,
.risk-grid span,
.rights-grid span,
.manifesto-list-grid span,
.intervention-list li::before,
.actor-list span,
.form-card label,
.layer-rail span,
.submit-memory-link,
.image-fragments figcaption {
  font-family: var(--font-mono);
}

.image-fragments {
  display: grid;
  gap: 10px;
}

.image-fragments figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 5px 5px 0 rgba(10, 10, 10, 0.12);
}

.image-fragment-link {
  display: block;
  height: 100%;
  color: inherit;
  cursor: zoom-in;
}

.image-fragment-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -6px;
}

.image-fragments img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.image-fragments figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  border: 1px solid #0a0a0a;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-fragments {
  grid-template-columns: 1.05fr 0.72fr 0.92fr;
  align-items: end;
  max-width: 980px;
  margin-top: 8px;
}

.landing-fragments figure:nth-child(1) {
  aspect-ratio: 1.35 / 1;
}

.landing-fragments figure:nth-child(2) {
  aspect-ratio: 0.72 / 1;
  transform: translateY(18px);
}

.landing-fragments figure:nth-child(3) {
  aspect-ratio: 1 / 1;
}

.landing-fragments figure:nth-child(4) {
  grid-column: 2 / 4;
  aspect-ratio: 2.1 / 0.75;
  transform: translateY(-4px);
}

.archive-strip {
  grid-template-columns: 1.4fr 0.9fr 1.05fr;
  margin: 0 0 16px;
}

.archive-strip figure {
  aspect-ratio: 2.2 / 0.72;
}

.policy-fragments {
  grid-template-columns: 0.85fr 1.35fr 1fr;
}

.policy-fragments figure {
  aspect-ratio: 1.5 / 0.82;
}

.contribute-fragments {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  max-width: 820px;
  margin: 8px 0 4px;
}

.contribute-fragments figure {
  aspect-ratio: 1.55 / 0.72;
}

@media (max-width: 900px) {
  .landing-fragments,
  .archive-strip,
  .policy-fragments,
  .contribute-fragments {
    grid-template-columns: 1fr;
  }

  .landing-fragments figure:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 1.6 / 0.8;
    transform: none;
  }

  .archive-strip figure,
  .policy-fragments figure,
  .contribute-fragments figure {
    aspect-ratio: 1.6 / 0.8;
  }
}

/* Content typography: Helvetica for reading, monospace for archive metadata. */
:root {
  --font-body: Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "IBM Plex Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-heading: "Unbounded", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

body,
p,
li,
blockquote,
td,
dd,
input,
textarea,
select,
.lead,
.copy-stack,
.landing-content p,
.contribute-document p,
.contribute-document li,
.entry-link strong,
.entry-body,
.detail-copy,
.reading-card p,
.compact-term-list p,
.map-entry-popup p {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.poster-slogan,
.selected-entry h3,
.detail-copy h1,
.detail-concepts h2,
.reading-selection-head h2 {
  font-family: var(--font-heading);
}

.small-label,
.brand span,
.landing-brand span,
.landing-brand em,
.nav a,
.landing-nav a,
.button,
.view-switch button,
.entry-table th,
.entry-link small,
.status-pill,
.mini-tags span,
.tag-row span,
.method-list li,
.contribution-list li,
.quick-search,
.map-row span,
.map-row em,
.selected-entry dt,
.detail-meta dt,
.detail-brief span,
.reading-card span,
.compact-term-list strong,
.map-entry-popup span,
.risk-grid span,
.rights-grid span,
.manifesto-list-grid span,
.intervention-list li::before,
.actor-list span,
.form-card label,
.layer-rail span,
.submit-memory-link {
  font-family: var(--font-mono);
}

/* Landing page: left navigation grid, right content field. */
body[data-page="landing"] {
  min-height: 100vh;
  overflow-x: hidden;
}

.landing-grid {
  display: grid;
  grid-template-columns: minmax(240px, 31vw) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  margin: 0;
  border: 0;
}

.landing-nav-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border-right: 2px solid #0a0a0a;
  background: #ffffff;
}

.landing-brand {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: clamp(20px, 3vw, 42px);
  border-bottom: 2px solid #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

.landing-brand span,
.landing-brand em {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-brand strong {
  font-family: "Unbounded", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2.25rem);
  line-height: 1.05;
}

.landing-nav {
  display: grid;
  align-content: start;
}

.landing-nav a {
  display: grid;
  align-items: center;
  min-height: 72px;
  padding: 18px clamp(18px, 3vw, 42px);
  border-bottom: 2px solid #0a0a0a;
  color: #0a0a0a;
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-nav a:hover,
.landing-nav a.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.landing-content {
  display: grid;
  align-content: center;
  gap: 20px;
  min-width: 0;
  padding: clamp(28px, 7vw, 110px);
  background:
    linear-gradient(rgba(10, 10, 10, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.045) 1px, transparent 1px),
    #f6f6f2;
  background-size: 52px 52px;
}

.landing-content h1,
.landing-content h2,
.landing-content p {
  max-width: 900px;
}

.landing-content h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.08;
}

.landing-content h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.28rem);
  line-height: 1.14;
}

.landing-kicker {
  display: inline-block;
  width: fit-content;
  max-width: 760px;
  padding: 10px 13px;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
}

.landing-content p:not(.small-label):not(.landing-kicker) {
  margin: 0;
  color: #181816;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-nav-panel {
    border-right: 0;
    border-bottom: 2px solid #0a0a0a;
  }

  .landing-nav a {
    min-height: 54px;
  }

  .landing-content {
    align-content: start;
    min-height: 62vh;
  }
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.14;
}

.poster-slogan {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink);
  font-family: Arial Black, Helvetica, Arial, sans-serif;
  font-size: clamp(1.6rem, 3.1vw, 3rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.lead {
  max-width: 560px;
  margin-bottom: 0;
  color: #34332f;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.dark {
  background: var(--ink);
  color: var(--paper-light);
}

.button.light {
  background: transparent;
  color: var(--ink);
}

.section,
.page-head {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 44px);
}

.page-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(18px, 6vw, 80px);
  align-items: end;
}

.page-head > * {
  min-width: 0;
}

.page-head h1 {
  font-size: clamp(2.75rem, 5vw, 4.35rem);
  line-height: 0.92;
}

.page-head p,
.section-heading p,
.copy-stack p,
.split-section p,
.policy-section p,
.final-note p,
.contribute-copy p {
  margin-bottom: 0;
  color: #484741;
  font-size: 1rem;
  line-height: 1.62;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(20px, 6vw, 80px);
}

.large-statement,
.copy-stack,
.intro-grid > *,
.split-section > *,
.method-band > *,
.policy-section > *,
.contribute-layout > * {
  min-width: 0;
}

.copy-stack {
  display: grid;
  gap: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1.26fr);
  gap: clamp(20px, 5vw, 68px);
}

.fact-grid,
.theory-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fact-grid article,
.theory-card,
.principle-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(239, 238, 232, 0.48);
}

.fact-grid span,
.theory-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
}

.fact-grid p,
.theory-card p,
.principle-card p {
  margin-bottom: 0;
  color: #4e4d47;
  font-size: 0.92rem;
  line-height: 1.5;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(20px, 5vw, 68px);
  background: var(--ink);
  color: var(--paper-light);
}

.method-band .small-label {
  color: #d6a096;
}

.method-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li,
.contribution-list li {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(239, 238, 232, 0.16);
  border-radius: 999px;
  color: rgba(239, 238, 232, 0.82);
  font-size: 0.9rem;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.section-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(239, 238, 232, 0.07);
  color: rgba(239, 238, 232, 0.86);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-nav a:hover {
  background: var(--paper-light);
  color: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(18px, 5vw, 70px);
  align-items: end;
  margin-bottom: 24px;
}

.section-heading > * {
  min-width: 0;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 12px;
  min-height: 520px;
}

.map-frame {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #bfc0b8;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.18) contrast(1.04);
}

.map-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(239, 238, 232, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
}

.selected-entry {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.selected-entry h3 {
  font-family: Arial Black, Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 0.98;
}

.selected-entry p {
  color: #4c4b45;
  line-height: 1.5;
}

.selected-entry dl {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.selected-entry div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
}

.selected-entry dt {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.selected-entry dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.map-register {
  display: grid;
  align-content: start;
  gap: 6px;
  max-height: 100%;
  overflow: auto;
  padding: 10px;
}

.map-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.map-row span {
  color: var(--accent);
  font-weight: 950;
}

.map-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-row em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-row:hover,
.map-row.is-active {
  background: rgba(159, 52, 43, 0.1);
}

.entry-list {
  display: grid;
  gap: 12px;
}

.entry-card {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-light);
}

.entry-image {
  display: block;
  min-width: 0;
}

.entry-image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: grayscale(0.48) contrast(0.96);
}

.entry-body {
  min-width: 0;
}

.entry-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.entry-topline span {
  color: var(--accent);
  font-weight: 950;
}

.entry-topline em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-body p,
.entry-body blockquote,
.theory-card blockquote {
  color: #4e4d47;
  line-height: 1.5;
}

.entry-body blockquote,
.theory-card blockquote {
  margin: 12px 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 0.92rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.gap-list {
  display: grid;
  gap: 8px;
}

.gap-row {
  display: grid;
  grid-template-columns: 44px minmax(180px, 0.55fr) minmax(240px, 1.45fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-light);
}

.gap-row > * {
  min-width: 0;
}

.gap-row span {
  color: var(--accent);
  font-weight: 950;
}

.gap-row p {
  margin-bottom: 0;
  color: #4e4d47;
  line-height: 1.45;
}

.contribute-layout,
.policy-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(18px, 5vw, 70px);
}

.contribute-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contribution-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contribution-list li {
  border-color: var(--line);
  color: #3f3e39;
}

.submit-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.submit-line a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Final functional archive interface */
.compact-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  border-bottom: 1px solid rgba(18, 18, 17, 0.12);
  background: rgba(248, 247, 242, 0.94);
  backdrop-filter: blur(16px);
}

.view-shell,
.glossary-shell,
.admin-shell {
  width: min(1640px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 58px;
}

.view-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.view-toolbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.view-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #e2e1dc;
}

.view-switch button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  color: #111;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.view-switch button.is-active {
  background: #111;
  color: #fff;
}

.archive-view {
  display: none;
}

.archive-view.is-active {
  display: block;
}

.list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.list-head h2 {
  margin: 0 0 4px;
  font-size: 2rem;
}

.list-head p {
  margin: 0;
  color: #55534c;
}

.quick-search {
  display: grid;
  gap: 6px;
  min-width: min(360px, 100%);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-search input {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 16px;
  font: inherit;
  text-transform: none;
}

.entry-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.entry-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.entry-table th,
.entry-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}

.entry-table th {
  position: sticky;
  top: 72px;
  background: #efeee8;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.entry-table tr:hover td {
  background: rgba(208, 224, 222, 0.36);
}

.entry-link {
  display: grid;
  gap: 4px;
  color: var(--ink);
  text-decoration: none;
}

.entry-link strong {
  font-size: 1.05rem;
}

.entry-link small {
  color: #68665f;
}

.status-pill,
.mini-tags span {
  display: inline-block;
  margin: 0 5px 5px 0;
  border: 1px solid rgba(18, 18, 17, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(214, 227, 224, 0.72);
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill {
  background: #111;
  color: #fff;
}

.map-only {
  position: relative;
  height: min(74vh, 760px);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #d5d5cf;
}

.dynamic-map,
.map-only iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(0.96);
}

.dynamic-map {
  z-index: 1;
  filter: saturate(0.82) contrast(0.98);
}

/* Critical Leaflet layout fallback.
   When the page is opened from file://, the CDN Leaflet stylesheet may not load
   before the map renders; these rules keep tiles positioned instead of wrapping. */
.leaflet-container {
  position: relative;
  overflow: hidden;
  outline: 0;
  background: #d6d8d1;
  touch-action: pan-x pan-y;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  max-width: none !important;
  max-height: none !important;
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-container img,
.leaflet-container svg {
  max-width: none !important;
  max-height: none !important;
}

.leaflet-tile {
  width: 256px;
  height: 256px;
  border: 0;
}

.leaflet-map-pane,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-shadow-pane,
.leaflet-marker-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-tile-container {
  z-index: 200;
}

.leaflet-tile-loaded {
  opacity: 1;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 900;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-control-zoom {
  margin: 12px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.16);
}

.leaflet-control-zoom a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  color: #111;
  text-decoration: none;
}

.leaflet-tooltip {
  position: absolute;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  color: #fff;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
}

.map-fallback-note {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 28px;
  color: #111;
  text-align: center;
}

.map-dot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 3px rgba(18, 18, 17, 0.16);
  pointer-events: auto;
}

.map-dot:hover,
.map-dot:focus {
  width: 16px;
  height: 16px;
  outline: 0;
  background: #df5a2e;
}

.map-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: grid;
  gap: 4px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 247, 242, 0.92);
  box-shadow: 0 18px 50px rgba(18, 18, 17, 0.18);
}

.pulse-marker {
  position: absolute;
}

.pulse-marker span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d81717;
  box-shadow: 0 0 0 0 rgba(216, 23, 23, 0.56);
  animation: pulse-red 1.35s ease-out infinite;
}

.pulse-marker span::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #ff3333;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 23, 23, 0.62);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(216, 23, 23, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 23, 23, 0);
  }
}

.geo-pulse-marker {
  cursor: pointer;
  filter: drop-shadow(0 0 7px rgba(216, 23, 23, 0.36));
  transform-box: fill-box;
  transform-origin: center;
  animation: geo-marker-pulse 1.45s ease-in-out infinite;
}

@keyframes geo-marker-pulse {
  0%,
  100% {
    stroke-width: 2px;
    fill-opacity: 0.96;
  }
  50% {
    stroke-width: 4px;
    fill-opacity: 0.72;
  }
}

.archive-popup .leaflet-popup-content-wrapper {
  overflow: hidden;
  border: 1px solid rgba(18, 18, 17, 0.14);
  border-radius: 18px;
  background: rgba(248, 247, 242, 0.97);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(18, 18, 17, 0.2);
}

.archive-popup .leaflet-popup-content {
  width: 280px !important;
  margin: 0;
}

.archive-popup .leaflet-popup-tip {
  background: rgba(248, 247, 242, 0.97);
}

.archive-popup .leaflet-popup-close-button {
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  line-height: 24px;
}

.map-entry-popup {
  display: grid;
  gap: 0;
}

.map-entry-popup img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d6d8d1;
  filter: grayscale(0.18) contrast(0.96);
}

.map-entry-popup div {
  display: grid;
  gap: 7px;
  padding: 13px 14px 14px;
}

.map-entry-popup strong {
  padding-right: 20px;
  font-size: 1rem;
  line-height: 1.12;
}

.map-entry-popup span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.map-entry-popup p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #4f4c46;
  font-size: 0.84rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.map-entry-popup a {
  width: fit-content;
  margin-top: 2px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-chip strong {
  font-size: 1rem;
}

.map-chip span {
  color: #56534d;
  font-size: 0.9rem;
}

.entry-detail-view {
  padding: 24px 0 48px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: start;
}

.detail-media {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #ddd;
}

.detail-copy {
  min-height: 68vh;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.6);
}

.detail-copy h1 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.detail-copy h2 {
  margin-top: 28px;
}

.back-link {
  color: var(--ink);
  font-weight: 900;
  text-decoration-thickness: 1px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.detail-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #f8f7f2;
}

.detail-meta dt {
  color: #706d64;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-meta dd {
  margin: 6px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-brief {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.detail-brief article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(248, 247, 242, 0.72);
}

.detail-brief span {
  display: block;
  margin-bottom: 7px;
  color: #706d64;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-brief p {
  margin: 0;
  color: #25231f;
  font-size: 1rem;
  line-height: 1.5;
}

.detail-concepts {
  margin-top: 30px;
}

.detail-concepts h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
}

.reading-head h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 3.7vw, 3.8rem);
  line-height: 0.98;
}

.reading-index {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.reading-map-wrap,
.reading-selection {
  min-width: 0;
}

.reading-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at center, rgba(159, 52, 43, 0.12), transparent 18rem),
    linear-gradient(145deg, #f9f8f2, #dedfd7);
}

.reading-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.reading-lines line {
  stroke: rgba(17, 17, 17, 0.18);
  stroke-width: 0.35;
  stroke-dasharray: 2 2;
}

.reading-core,
.reading-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
}

.reading-core {
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.05;
}

.reading-node {
  width: 116px;
  height: 116px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: #111;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.1);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.reading-node strong {
  font-size: 0.86rem;
  font-weight: 950;
}

.reading-node span {
  margin-top: -18px;
  color: #9f342b;
  font-size: 0.74rem;
  font-weight: 950;
}

.reading-node:hover,
.reading-node:focus,
.reading-node.is-active {
  transform: translateY(-3px) scale(1.04);
  outline: 0;
  background: #9f342b;
  color: #fff;
}

.reading-node:hover span,
.reading-node:focus span,
.reading-node.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

.node-1 {
  left: calc(50% - 58px);
  top: 26px;
}

.node-2 {
  right: 34px;
  top: 128px;
}

.node-3 {
  right: 34px;
  bottom: 128px;
}

.node-4 {
  left: calc(50% - 58px);
  bottom: 26px;
}

.node-5 {
  left: 34px;
  bottom: 128px;
}

.node-6 {
  left: 34px;
  top: 128px;
}

.reading-selection {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 253, 248, 0.72);
}

.reading-selection-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1;
}

.reading-selection-head p:last-child {
  max-width: 720px;
  color: #33302b;
  font-size: 1.02rem;
  line-height: 1.5;
}

.reading-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reading-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: #f8f7f2;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.reading-card:hover,
.reading-card:focus {
  border-color: rgba(159, 52, 43, 0.44);
  outline: 0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  transform: translateY(-2px);
}

.reading-card span {
  color: #9f342b;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reading-card strong {
  font-size: 1.08rem;
  line-height: 1.1;
}

.reading-card p {
  margin: 0;
  color: #4d4941;
  font-size: 0.9rem;
  line-height: 1.45;
}

.reading-card.is-place {
  background: #111;
  color: #fff;
}

.reading-card.is-concept {
  background: #eef1ec;
}

.reading-card.is-place p {
  color: rgba(255, 255, 255, 0.74);
}

.compact-terms {
  padding-top: 28px;
}

.compact-term-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.compact-term-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: rgba(255, 253, 248, 0.6);
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.compact-term-list a:hover,
.compact-term-list a:focus {
  border-color: rgba(159, 52, 43, 0.44);
  outline: 0;
  background: #fff;
  transform: translateY(-2px);
}

.compact-term-list a:target {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(159, 52, 43, 0.14);
}

.compact-term-list strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.96rem;
}

.compact-term-list p {
  margin: 0;
  color: #555148;
  font-size: 0.84rem;
  line-height: 1.4;
}

.admin-footer-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
}

.admin-list-panel,
.admin-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  padding: 18px;
}

.admin-panel-head,
.admin-actions,
.admin-two {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-panel-head {
  justify-content: space-between;
  margin-bottom: 12px;
}

.admin-panel-head h2 {
  margin: 0;
}

.admin-entry-list {
  display: grid;
  gap: 8px;
  max-height: 680px;
  overflow: auto;
}

.admin-entry-list button {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8f7f2;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.admin-entry-list button.is-active {
  background: #111;
  color: #fff;
}

.admin-entry-list span {
  font-size: 0.82rem;
  opacity: 0.75;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.admin-two > * {
  flex: 1;
}

@media (max-width: 900px) {
  .view-shell,
  .glossary-shell,
  .admin-shell {
    width: min(100% - 24px, 1640px);
  }

  .view-toolbar,
  .list-head {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-grid,
  .admin-grid,
  .detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
  }

  .map-only {
    min-height: 430px;
  }

  .reading-index {
    grid-template-columns: 1fr;
  }

  .reading-map {
    min-height: 500px;
  }

  .reading-selection-head h2 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .compact-term-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body[data-page="glossary"] .page-head h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1;
}

body[data-page="glossary"] .section-heading h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

body[data-page="glossary"] .section {
  padding: clamp(20px, 3vw, 36px);
}

@media (max-width: 680px) {
  body[data-page="glossary"] .page-head h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  body[data-page="glossary"] .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }
}

.form-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper-light);
}

.form-card label {
  display: grid;
  gap: 7px;
  color: rgba(239, 238, 232, 0.74);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid rgba(239, 238, 232, 0.18);
  border-radius: 14px;
  background: rgba(239, 238, 232, 0.08);
  color: var(--paper-light);
  padding: 12px;
  outline: none;
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  border-color: rgba(239, 238, 232, 0.62);
}

.form-card select option {
  color: var(--ink);
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.checkbox input {
  width: auto;
  margin-top: 3px;
}

.form-note {
  margin-bottom: 0;
  color: rgba(239, 238, 232, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
}

.policy-section {
  background: #cfd2ca;
}

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

.principle-card {
  background: rgba(239, 238, 232, 0.52);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.risk-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-light);
}

.risk-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 950;
}

.risk-grid strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.16;
  text-transform: uppercase;
}

.layer-rail {
  position: fixed;
  left: max(12px, calc((100vw - var(--max)) / 2 - 54px));
  top: 96px;
  z-index: 18;
  display: grid;
  gap: 7px;
  padding: 10px 7px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.78);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(10px);
}

.layer-rail a {
  position: relative;
  display: block;
  width: 24px;
  height: 7px;
}

.layer-rail a::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(239, 238, 232, 0.42);
  transition: width 160ms ease, background 160ms ease;
}

.layer-rail a:hover::before,
.layer-rail a.is-active::before {
  width: 18px;
  background: var(--paper-light);
}

.layer-rail span {
  position: absolute;
  left: 30px;
  top: -8px;
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(23, 23, 22, 0.94);
  color: var(--paper-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.layer-rail a:hover span,
.layer-rail a:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mode-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(239, 238, 232, 0.48);
}

.mode-grid strong {
  display: block;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.mode-grid span {
  color: #4e4d47;
  line-height: 1.45;
}

.concept-network {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: 12px;
}

.concept-groups {
  display: grid;
  align-content: start;
  gap: 10px;
}

.concept-group {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-light);
}

.concept-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.concept-group span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.relation-list {
  display: grid;
  align-content: start;
  gap: 6px;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.relation-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-light);
}

.relation-row strong,
.relation-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.relation-row em {
  font-style: normal;
  text-align: right;
}

.relation-row span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-light);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gap-row {
  grid-template-columns: 44px minmax(170px, 0.55fr) minmax(210px, 0.95fr) minmax(230px, 1.05fr);
}

.final-note {
  max-width: 840px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto 28px;
  color: rgba(239, 238, 232, 0.62);
  font-size: 0.86rem;
}

.footer a {
  color: var(--paper-light);
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header,
  .hero-poster,
  .page-head,
  .intro-grid,
  .split-section,
  .method-band,
  .section-heading,
  .map-layout,
  .contribute-layout,
  .policy-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: var(--radius-lg);
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-poster {
    min-height: auto;
  }

  .poster-image img {
    min-height: 360px;
  }

  .poster-steps {
    padding: 24px;
  }

  .poster-steps span {
    margin-left: 0;
    width: 100%;
  }

  .fact-grid,
  .theory-grid,
  .principle-grid,
  .risk-grid,
  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concept-network {
    grid-template-columns: 1fr;
  }

  .map-layout,
  .map-frame,
  .map-frame iframe {
    min-height: 430px;
  }
}

@media (max-width: 680px) {
  main,
  .site-header,
  .footer {
    width: min(calc(100% - 18px), var(--max));
  }

  .poster,
  .section,
  .page-head {
    border-radius: 24px;
  }

  .poster-copy,
  .section,
  .page-head {
    padding: 22px;
  }

  h1,
  .page-head h1 {
    font-size: clamp(2.55rem, 16vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3.15rem);
  }

  .fact-grid,
  .theory-grid,
  .principle-grid,
  .risk-grid,
  .mode-grid,
  .method-list,
  .entry-card,
  .gap-row,
  .relation-row {
    grid-template-columns: 1fr;
  }

  .relation-row em {
    text-align: left;
  }

  .layer-rail {
    display: none;
  }

  .entry-image img {
    height: 190px;
  }

  .map-layout,
  .map-frame,
  .map-frame iframe {
    min-height: 380px;
  }

  .reading-map {
    min-height: 430px;
  }

  .reading-core {
    width: 116px;
    height: 116px;
    font-size: 0.92rem;
  }

  .reading-node {
    width: 104px;
    height: 104px;
  }

  .reading-node strong {
    font-size: 0.82rem;
  }

  .reading-node span {
    margin-top: -14px;
    font-size: 0.62rem;
  }

  .node-1 {
    left: calc(50% - 52px);
    top: 18px;
  }

  .node-2 {
    right: 18px;
    top: 104px;
  }

  .node-3 {
    right: 18px;
    bottom: 104px;
  }

  .node-4 {
    left: calc(50% - 52px);
    bottom: 18px;
  }

  .node-5 {
    left: 18px;
    bottom: 104px;
  }

  .node-6 {
    left: 18px;
    top: 104px;
  }

  .reading-card-grid,
  .compact-term-list {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}

/* Final readability fixes after visual QA */
body {
  background: #f4f2ec;
  color: #111;
}

body[data-page="map-entries"],
body[data-page="glossary"],
body[data-page="admin"],
body[data-page="about"],
body[data-page="shadow-policy"],
body[data-page="contribute"] {
  background:
    linear-gradient(180deg, rgba(244, 242, 236, 0.96), rgba(232, 229, 220, 0.96)),
    #f4f2ec;
  color: #111;
}

.compact-header.site-header {
  top: 14px;
  width: min(1540px, calc(100% - 48px));
  min-height: 72px;
  border: 1px solid rgba(18, 18, 17, 0.14);
  border-radius: 999px;
  background: rgba(248, 247, 242, 0.94);
  color: #111;
  box-shadow: 0 18px 44px rgba(18, 18, 17, 0.1);
}

.compact-header .brand span {
  color: #77736a;
}

.compact-header .brand strong,
.compact-header .nav a {
  color: #111;
}

.compact-header .nav a {
  opacity: 0.68;
}

.compact-header .nav a:hover,
.compact-header .nav a.is-active {
  border-color: rgba(18, 18, 17, 0.08);
  background: #111;
  color: #fff;
  opacity: 1;
}

.view-shell,
.glossary-shell,
.admin-shell {
  color: #111;
}

.view-toolbar {
  padding-top: 16px;
}

.view-toolbar .small-label,
.page-head .small-label {
  color: #9f342b;
}

.view-toolbar h1,
.list-head h2,
.page-head h1,
.page-head h2 {
  color: #111;
}

.list-head,
.quick-search span {
  color: #111;
}

.entry-table-wrap {
  background: #fffdf8;
  box-shadow: 0 18px 50px rgba(18, 18, 17, 0.08);
}

.entry-table th {
  background: #f2f0e8;
  color: #111;
}

.entry-table td {
  background: #fffdf8;
  color: #111;
}

.entry-table tr:hover td {
  background: #eef1ec;
}

.quick-search input {
  color: #111;
}

.footer {
  background: #111;
}

@media (max-width: 680px) {
  .compact-header.site-header {
    width: min(calc(100% - 18px), var(--max));
    border-radius: 24px;
  }
}

/* Map Entries structural fixes */
body[data-page="map-entries"] .compact-header.site-header {
  position: relative;
  top: auto;
  z-index: 5;
  min-height: 64px;
  margin-top: 22px;
}

body[data-page="map-entries"] .brand {
  line-height: 1.05;
}

body[data-page="map-entries"] .nav a {
  padding: 10px 14px;
}

body[data-page="map-entries"] .view-shell {
  width: min(1500px, calc(100% - 60px));
  padding: 18px 0 24px;
}

body[data-page="map-entries"] .view-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
  padding-top: 34px;
}

body[data-page="map-entries"] .view-toolbar h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(1.8rem, 2.9vw, 3rem);
  line-height: 1;
}

body[data-page="map-entries"] .view-title-block {
  display: grid;
  gap: 12px;
}

body[data-page="map-entries"] .view-subtitle {
  max-width: 560px;
  margin: 0;
  color: #4f4c46;
  font-size: 1rem;
  line-height: 1.35;
}

body[data-page="map-entries"] .view-switch {
  align-self: center;
  white-space: nowrap;
}

body[data-page="map-entries"] .view-switch button {
  min-width: 112px;
}

body[data-page="map-entries"] .list-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 450px);
  align-items: end;
  gap: 20px;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

body[data-page="map-entries"] .list-head h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
}

body[data-page="map-entries"] .entry-table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: visible;
}

body[data-page="map-entries"] .entry-table {
  table-layout: fixed;
}

body[data-page="map-entries"] .entry-table th {
  position: static;
  top: auto;
}

body[data-page="map-entries"] .entry-table th,
body[data-page="map-entries"] .entry-table td {
  padding: 18px 22px;
}

body[data-page="map-entries"] .entry-table th:nth-child(1),
body[data-page="map-entries"] .entry-table td:nth-child(1) {
  width: 28%;
}

body[data-page="map-entries"] .entry-table th:nth-child(2),
body[data-page="map-entries"] .entry-table td:nth-child(2) {
  width: 16%;
}

body[data-page="map-entries"] .entry-table th:nth-child(3),
body[data-page="map-entries"] .entry-table td:nth-child(3) {
  width: 22%;
}

body[data-page="map-entries"] .entry-table th:nth-child(4),
body[data-page="map-entries"] .entry-table td:nth-child(4) {
  width: 34%;
}

body[data-page="map-entries"] .archive-view {
  margin-bottom: 18px;
}

body[data-page="map-entries"] .map-only {
  height: clamp(500px, calc(100vh - 260px), 700px);
  min-height: 500px;
  border-radius: 22px;
  background: #d6d8d1;
}

body[data-page="map-entries"] .dynamic-map {
  border-radius: 22px;
}

body[data-page="map-entries"] .leaflet-container {
  font-family: Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

body[data-page="map-entries"] .leaflet-control-zoom a {
  color: #111;
  font-weight: 900;
}

body[data-page="map-entries"] .map-dot {
  width: 8px;
  height: 8px;
  border-width: 2px;
  background: #111;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.72);
}

body[data-page="map-entries"] .map-dot:hover,
body[data-page="map-entries"] .map-dot:focus {
  width: 13px;
  height: 13px;
}

body[data-page="map-entries"] .footer {
  width: min(1480px, calc(100% - 60px));
  margin: 0 auto 24px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.88);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

body[data-page="map-entries"] .admin-footer-link {
  padding: 5px 9px;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
}

.concept-chip {
  position: relative;
  cursor: help;
}

.concept-chip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 40;
  width: max-content;
  max-width: min(320px, 78vw);
  transform: translateX(-50%) translateY(4px);
  border: 1px solid rgba(18, 18, 17, 0.18);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(17, 17, 17, 0.96);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 36px rgba(18, 18, 17, 0.22);
  transition: opacity 140ms ease, transform 140ms ease;
}

.concept-chip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  z-index: 41;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(17, 17, 17, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.concept-chip:hover::after,
.concept-chip:focus::after,
.concept-chip:hover::before,
.concept-chip:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.concept-chip:hover::before,
.concept-chip:focus::before {
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 900px) {
  body[data-page="map-entries"] .view-shell,
  body[data-page="map-entries"] .footer {
    width: min(100% - 24px, 1840px);
  }

  body[data-page="map-entries"] .view-toolbar,
  body[data-page="map-entries"] .list-head {
    grid-template-columns: 1fr;
  }

  body[data-page="map-entries"] .view-toolbar h1 {
    font-size: clamp(1.9rem, 10vw, 3.2rem);
  }

  body[data-page="map-entries"] .view-switch {
    justify-self: start;
  }

  body[data-page="map-entries"] .map-only {
    height: 540px;
    min-height: 540px;
  }
}

/* Glossary scale guard: keeps the archive index readable instead of poster-sized. */
body[data-page="glossary"] .page-head h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 1;
}

body[data-page="glossary"] .section-heading h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

body[data-page="glossary"] .reading-selection-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1;
}

@media (max-width: 680px) {
  body[data-page="glossary"] .page-head h1 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  body[data-page="glossary"] .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  body[data-page="glossary"] .reading-selection-head h2 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }
}

/* Editorial web-index pass inspired by the reference board. */
:root {
  --bg: #f3f3f0;
  --bg-soft: #d7d7d2;
  --paper: #f7f7f3;
  --paper-light: #ffffff;
  --ink: #0a0a0a;
  --muted: #5b5b55;
  --line: rgba(10, 10, 10, 0.28);
  --line-light: rgba(255, 255, 255, 0.22);
  --accent: #1f3fc3;
  --accent-ink: #ffffff;
  --accent-2: #6f6f68;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

body,
body[data-page="map-entries"],
body[data-page="glossary"],
body[data-page="admin"],
body[data-page="about"],
body[data-page="shadow-policy"],
body[data-page="contribute"] {
  background:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    #f6f6f2;
  background-size: 44px 44px;
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 18%, rgba(31, 63, 195, 0.18), transparent 18rem),
    radial-gradient(circle at 92% 8%, rgba(10, 10, 10, 0.07), transparent 20rem);
}

.compact-header.site-header {
  top: 12px;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: 0;
  width: min(1760px, calc(100% - 28px));
  min-height: 62px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 8px 8px 0 rgba(10, 10, 10, 0.12);
}

.compact-header .brand {
  align-self: stretch;
  justify-content: center;
  padding: 12px 16px;
  background: #0a0a0a;
  color: #ffffff;
}

.compact-header .brand span {
  color: rgba(255, 255, 255, 0.58);
}

.compact-header .brand strong {
  color: #ffffff;
}

.compact-header .nav {
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding: 0;
}

.compact-header .nav a,
body[data-page="map-entries"] .nav a {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid rgba(10, 10, 10, 0.24);
  border-radius: 0;
  color: #0a0a0a;
  font-size: clamp(0.64rem, 0.9vw, 0.76rem);
  opacity: 1;
}

.compact-header .nav a:hover,
.compact-header .nav a.is-active {
  border-color: rgba(10, 10, 10, 0.24);
  background: var(--accent);
  color: var(--accent-ink);
}

.view-shell,
.glossary-shell,
.admin-shell,
body[data-page="map-entries"] .view-shell {
  width: min(1760px, calc(100% - 28px));
  padding-top: 24px;
}

.poster,
.section,
.page-head,
.entry-table-wrap,
.map-only,
.reading-map,
.reading-selection,
.detail-copy,
.detail-media img,
.form-card {
  border: 2px solid #0a0a0a;
  box-shadow: 8px 8px 0 rgba(10, 10, 10, 0.1);
}

.poster,
.section,
.page-head {
  background: rgba(255, 255, 255, 0.9);
}

.small-label {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(10, 10, 10, 0.26);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.66rem;
}

.hero-poster {
  position: relative;
  grid-template-columns: minmax(280px, 0.88fr) minmax(170px, 0.45fr) minmax(360px, 1.2fr);
  min-height: min(690px, calc(100vh - 118px));
  background: #0a0a0a;
  color: #ffffff;
}

.hero-poster::after {
  content: "";
  position: absolute;
  left: 38%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.poster-image {
  background: #0a0a0a;
}

.poster-image img {
  filter: grayscale(1) contrast(1.1) brightness(0.78);
  mix-blend-mode: luminosity;
}

.poster-steps {
  position: relative;
  z-index: 1;
  align-content: end;
  padding: clamp(24px, 3.4vw, 48px) 0;
}

.poster-steps span {
  width: min(240px, 92%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.poster-steps span:nth-child(2n) {
  background: #ffffff;
  color: #0a0a0a;
}

.poster-steps span:nth-child(3n) {
  background: var(--accent);
  color: var(--accent-ink);
}

.poster-copy {
  position: relative;
  z-index: 1;
}

.hero-poster .small-label {
  background: #ffffff;
}

.hero-poster h1,
.hero-poster .poster-slogan,
.hero-poster .lead {
  color: #ffffff;
}

.hero-poster h1 {
  max-width: 620px;
  font-size: clamp(3.2rem, 5.2vw, 6.2rem);
}

.hero-poster .poster-slogan {
  color: #ffffff;
}

.hero-poster .lead {
  color: rgba(255, 255, 255, 0.78);
}

.button {
  border: 2px solid currentColor;
  border-radius: 999px;
}

.button.dark {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.button.light {
  background: #ffffff;
  color: #0a0a0a;
}

.intro-grid,
.split-section,
.method-band,
.policy-section,
.contribute-layout {
  align-items: start;
}

.section h2,
.page-head h1,
.view-toolbar h1 {
  max-width: 980px;
}

.method-band,
.page-head,
body[data-page="shadow-policy"] .manifesto-head {
  background: #0a0a0a;
  color: #ffffff;
}

.method-band p,
.method-band .copy-stack p,
.method-band .method-list li,
.page-head p,
body[data-page="shadow-policy"] .manifesto-head p {
  color: rgba(255, 255, 255, 0.78);
}

.method-list li,
.contribution-list li,
.actor-list span {
  border-radius: 999px;
}

.fact-grid article,
.theory-card,
.principle-card,
.risk-grid article,
.mode-grid article,
.reading-card,
.compact-term-list a,
.detail-meta div,
.detail-brief article,
.manifesto-list-grid article,
.rights-grid article,
.intervention-list li {
  border: 1px solid rgba(10, 10, 10, 0.38);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

.fact-grid span,
.theory-card span,
.risk-grid span,
.rights-grid span,
.manifesto-list-grid span {
  color: #0a0a0a;
}

.view-toolbar {
  padding: 22px;
  border: 2px solid #0a0a0a;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 8px 8px 0 rgba(10, 10, 10, 0.1);
}

body[data-page="map-entries"] .view-toolbar {
  grid-template-columns: minmax(260px, 1fr) auto;
}

.view-switch {
  border: 2px solid #0a0a0a;
  background: #ffffff;
}

.view-switch button,
body[data-page="map-entries"] .view-switch button {
  border-radius: 999px;
}

.view-switch button.is-active {
  background: #0a0a0a;
  color: #ffffff;
}

.list-head {
  padding: 18px;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: #ffffff;
}

.quick-search input {
  border: 2px solid #0a0a0a;
  border-radius: 999px;
}

.entry-table-wrap,
body[data-page="map-entries"] .entry-table-wrap {
  border-radius: 22px;
  background: #ffffff;
}

.entry-table th {
  background: #0a0a0a;
  color: #ffffff;
}

.entry-table th,
.entry-table td {
  border-color: rgba(10, 10, 10, 0.34);
}

.entry-table tr:hover td {
  background: var(--accent);
}

.status-pill {
  background: #0a0a0a;
  color: #ffffff;
}

.mini-tags span {
  background: var(--accent);
}

.map-only,
body[data-page="map-entries"] .map-only {
  border-radius: 28px;
  background: #cfcfca;
}

.dynamic-map,
body[data-page="map-entries"] .dynamic-map {
  filter: grayscale(0.85) contrast(1.05);
}

body[data-page="map-entries"] .map-dot,
.map-dot,
.pulse-marker span {
  border-color: #0a0a0a;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.76);
}

.map-chip,
.archive-popup .leaflet-popup-content-wrapper {
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 8px 8px 0 rgba(10, 10, 10, 0.12);
}

.reading-map {
  background:
    linear-gradient(rgba(10, 10, 10, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.05) 1px, transparent 1px),
    #f7f7f3;
  background-size: 38px 38px;
}

.reading-core {
  background: #0a0a0a;
  color: #ffffff;
}

.reading-node {
  border: 2px solid #0a0a0a;
  background: #ffffff;
  box-shadow: 5px 5px 0 rgba(10, 10, 10, 0.12);
}

.reading-node span {
  color: #0a0a0a;
}

.reading-node:hover,
.reading-node:focus,
.reading-node.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.reading-card.is-place {
  background: #0a0a0a;
}

.reading-card.is-concept {
  background: var(--accent);
}

.compact-term-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

body[data-page="contribute"] .view-shell {
  max-width: 1580px;
}

.contribute-document {
  min-height: min(72vh, 860px);
  padding: clamp(28px, 4vw, 54px);
  border-radius: 0;
  background: #ffffff;
}

.contribute-document h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4.4vw, 5.4rem);
  line-height: 0.95;
  text-transform: none;
}

.contribute-document p,
.contribute-document li {
  color: #0a0a0a;
  font-size: clamp(1.14rem, 1.8vw, 1.8rem);
  line-height: 1.35;
}

.contribute-document ul {
  margin: 24px 0 34px clamp(28px, 7vw, 96px);
}

.submit-memory-link {
  display: inline-block;
  margin-top: 12px;
  color: #0957d7;
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body[data-page="shadow-policy"] .policy-manifesto {
  display: grid;
  gap: 18px;
}

body[data-page="shadow-policy"] .section,
body[data-page="shadow-policy"] .page-head {
  margin-top: 0;
}

body[data-page="shadow-policy"] .manifesto-head h1 {
  max-width: 1120px;
  font-size: clamp(2.6rem, 5.4vw, 6.6rem);
  line-height: 0.9;
}

.manifesto-lede {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: clamp(20px, 4vw, 58px);
}

.manifesto-lede > p {
  color: #20201d;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  line-height: 1.48;
}

.manifesto-call {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.manifesto-call p {
  margin: 0;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  padding: 18px;
  background: #0a0a0a;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.25;
}

.manifesto-call p:nth-child(2) {
  background: var(--accent);
  color: #0a0a0a;
}

.manifesto-list-grid,
.rights-grid,
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.manifesto-list-grid article,
.rights-grid article,
.manifesto-grid article {
  padding: 18px;
}

.manifesto-list-grid span,
.rights-grid span {
  display: block;
  margin-bottom: 24px;
  font-weight: 950;
}

.rights-grid h3,
.manifesto-grid h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.rights-grid p,
.manifesto-list-grid p,
.manifesto-grid p {
  margin: 0;
  color: #454540;
  line-height: 1.48;
}

.risk-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.risk-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.risk-grid span {
  margin-bottom: 8px;
}

.risk-grid p {
  margin: 0;
  color: #4c4c47;
  font-size: 0.9rem;
  line-height: 1.42;
}

.interventions-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(18px, 5vw, 70px);
}

.intervention-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: interventions;
}

.intervention-list li {
  counter-increment: interventions;
  display: grid;
  grid-template-columns: 46px minmax(160px, 0.55fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
}

.intervention-list li::before {
  content: counter(interventions, decimal-leading-zero);
  font-weight: 950;
}

.intervention-list strong {
  text-transform: uppercase;
}

.intervention-list span {
  color: #484843;
  line-height: 1.42;
}

.actor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actor-list span {
  border: 2px solid #0a0a0a;
  padding: 10px 14px;
  background: #ffffff;
  font-weight: 900;
}

.actor-list span:nth-child(3n) {
  background: var(--accent);
  color: var(--accent-ink);
}

.closing-block {
  background: #0a0a0a;
  color: #ffffff;
}

.closing-block p {
  max-width: 1180px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.52;
}

.closing-block h2 {
  max-width: 1100px;
  margin: 28px 0;
  color: #ffffff;
}

.footer,
body[data-page="map-entries"] .footer {
  width: min(1760px, calc(100% - 28px));
  margin: 0 auto 24px;
  border: 2px solid #0a0a0a;
  border-radius: 18px;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .compact-header.site-header,
  body[data-page="map-entries"] .view-toolbar,
  .manifesto-lede,
  .manifesto-call,
  .interventions-section {
    grid-template-columns: 1fr;
  }

  .compact-header .nav {
    justify-content: flex-start;
  }

  .compact-header .nav a {
    min-height: 50px;
  }

  .hero-poster::after {
    display: none;
  }

  .intervention-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .intervention-list span {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .compact-header.site-header {
    width: min(calc(100% - 18px), var(--max));
    border-radius: 18px;
  }

  .view-shell,
  .glossary-shell,
  .admin-shell,
  body[data-page="map-entries"] .view-shell,
  body[data-page="map-entries"] .footer,
  .footer {
    width: min(calc(100% - 18px), var(--max));
  }

  .hero-poster h1 {
    font-size: clamp(2.8rem, 16vw, 4.6rem);
  }

  .contribute-document ul {
    margin-left: 24px;
  }
}

/* Heading scale correction: keep titles below poster scale. */
h1,
h2,
h3,
.poster-slogan,
.selected-entry h3,
.detail-copy h1,
.detail-concepts h2,
.reading-selection-head h2,
.entry-link strong {
  font-family: "Unbounded", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1,
.hero-poster h1,
.page-head h1,
.reading-head h1,
.view-toolbar h1,
body[data-page="glossary"] .page-head h1,
body[data-page="shadow-policy"] .manifesto-head h1,
.contribute-document h1,
.detail-copy h1 {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.08;
  text-transform: none;
}

h2,
.section h2,
.page-head h2,
.section-heading h2,
body[data-page="glossary"] .section-heading h2,
body[data-page="glossary"] .reading-selection-head h2,
.detail-concepts h2,
.closing-block h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.14;
  text-transform: none;
}

h3,
.rights-grid h3,
.manifesto-grid h3,
.selected-entry h3 {
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.16;
}

.poster-slogan {
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.14;
  text-transform: none;
}

.hero-poster h1 span {
  display: block;
}

/* Final cascade locks */
.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

body,
p,
li,
blockquote,
td,
dd,
input,
textarea,
select,
.lead,
.copy-stack,
.landing-content p,
.contribute-document p,
.contribute-document li,
.entry-link strong,
.entry-body,
.detail-copy,
.reading-card p,
.compact-term-list p,
.map-entry-popup p {
  font-family: var(--font-body);
}

.small-label,
.brand span,
.landing-brand span,
.landing-brand em,
.nav a,
.landing-nav a,
.button,
.view-switch button,
.entry-table th,
.entry-link small,
.status-pill,
.mini-tags span,
.tag-row span,
.method-list li,
.contribution-list li,
.quick-search,
.map-row span,
.map-row em,
.selected-entry dt,
.detail-meta dt,
.detail-brief span,
.reading-card span,
.compact-term-list strong,
.map-entry-popup span,
.risk-grid span,
.rights-grid span,
.manifesto-list-grid span,
.intervention-list li::before,
.actor-list span,
.form-card label,
.layer-rail span,
.submit-memory-link,
.image-fragments figcaption {
  font-family: var(--font-mono);
}

/* End-of-file QA overrides */
.gallery-grid-source {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid-source .gallery-card img {
  aspect-ratio: 1 / 0.82;
}

.gallery-card a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -5px;
}

.mini-tags span,
.tag-row span {
  border-color: #0a0a0a !important;
  background: var(--accent) !important;
  color: #ffffff !important;
}

.entry-table tr:hover td,
.entry-table tr:hover td *,
.entry-table tr:focus-within td,
.entry-table tr:focus-within td * {
  color: #ffffff !important;
}

.entry-table tr:hover .mini-tags span,
.entry-table tr:focus-within .mini-tags span {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(10, 10, 10, 0.18) !important;
}

.reading-card.is-concept,
.reading-card.is-concept span,
.reading-card.is-concept strong,
.reading-card.is-concept p,
.manifesto-call p:nth-child(2),
.manifesto-call p:nth-child(2) * {
  color: #ffffff !important;
}

.landing-kicker,
.small-label,
.compact-header .nav a:hover,
.compact-header .nav a.is-active,
.landing-nav a:hover,
.landing-nav a.is-active,
.reading-node:hover,
.reading-node:focus,
.reading-node.is-active,
.reading-node:hover span,
.reading-node:focus span,
.reading-node.is-active span,
.actor-list span:nth-child(3n),
.button.dark {
  color: #ffffff !important;
}

.small-label + h1,
.small-label + h2,
.small-label + p {
  margin-top: 14px;
}

body[data-page="shadow-policy"] .policy-section > div:first-child {
  text-align: center;
}

body[data-page="shadow-policy"] .policy-section > div:first-child .small-label {
  margin-right: auto;
  margin-left: auto;
}

body[data-page="shadow-policy"] .closing-block .small-label {
  margin-bottom: 16px;
}
