:root {
  color-scheme: light;
  --paper: #ffffff;
  --soft: #f4f7f5;
  --ink: #111713;
  --muted: #5d6861;
  --deep: #091913;
  --forest: #0d2a1f;
  --green: #2e7052;
  --gold: #c7a45a;
  --gold-soft: #e4d29b;
  --blue: #4d7690;
  --rust: #a44c3f;
  --rule: #d9e0dc;
  --shell: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-lang="en"] .lang-lt,
body[data-lang="lt"] .lang-en {
  display: none;
}

body[data-lang="lt"] .sacred-network .graph-meta,
body[data-lang="lt"] .sacred-network .graph-annotations {
  display: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 64px), var(--shell));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header-light {
  position: relative;
  left: auto;
  transform: none;
  margin-inline: auto;
  color: var(--ink);
  border-bottom-color: var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header-light .wordmark {
  color: var(--ink);
}

.wordmark img {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 4px;
}

.header-actions,
.primary-nav,
.language-control {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 26px;
}

.primary-nav {
  gap: 30px;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  text-decoration: none;
}

.site-header-light .primary-nav a {
  color: var(--muted);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.site-header-light .primary-nav a:hover,
.site-header-light .primary-nav a:focus-visible {
  color: var(--gold);
  outline: none;
}

.language-control {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.site-header-light .language-control {
  border-color: var(--rule);
}

.language-control button {
  width: 38px;
  height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  border: 0;
  background: transparent;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  cursor: pointer;
}

.site-header-light .language-control button {
  color: var(--muted);
}

.language-control button[aria-pressed="true"] {
  color: var(--deep);
  background: var(--gold-soft);
}

.menu-toggle {
  display: none;
}

.home-hero {
  min-height: min(760px, 88svh);
  color: #fff;
  background: var(--forest);
}

.hero-grid {
  width: min(calc(100% - 64px), 1200px);
  min-height: min(760px, 88svh);
  margin-inline: auto;
  padding: 112px 0 48px;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(540px, 1.22fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.memory-name {
  margin: 0;
  color: var(--gold-soft);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.86rem;
  font-style: italic;
}

.home-hero h1 {
  max-width: 520px;
  margin: 22px 0 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 4.6rem;
  font-weight: 400;
  line-height: 0.99;
}

.hero-thesis {
  max-width: 500px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.75;
}

.hero-accountability {
  max-width: 500px;
  margin: 22px 0 0;
  padding-top: 18px;
  color: var(--gold-soft);
  border-top: 1px solid rgba(228, 210, 155, 0.3);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-record {
  min-width: 0;
  margin: 0;
}

.record-stage {
  position: relative;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 760 / 620;
  margin-inline: auto;
  isolation: isolate;
}

.record-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 10% 8% 8%;
  border: 1px solid rgba(228, 210, 155, 0.22);
}

.record-cover,
.record-page,
.record-diary,
.record-dp {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.38));
}

.record-cover {
  z-index: 3;
  top: 13%;
  left: 39%;
  width: 34%;
  height: 64%;
  transform: rotate(3deg);
}

.record-page {
  z-index: 2;
  top: 21%;
  left: 28%;
  width: 34%;
  height: 58%;
  transform: rotate(-3deg);
}

.record-diary {
  z-index: 1;
  top: 45%;
  left: 16%;
  width: 27%;
  height: 43%;
  transform: rotate(-7deg);
}

.record-dp {
  z-index: 1;
  top: 43%;
  left: 60%;
  width: 25%;
  height: 45%;
  transform: rotate(7deg);
}

.record-connections {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.record-connections path {
  fill: none;
  stroke: rgba(228, 210, 155, 0.66);
  stroke-width: 1.2;
  stroke-dasharray: 4 7;
  vector-effect: non-scaling-stroke;
  animation: line-flow 18s linear infinite;
}

.record-connections circle {
  fill: var(--gold-soft);
}

@keyframes line-flow {
  to { stroke-dashoffset: -110; }
}

.record-node {
  position: absolute;
  z-index: 5;
  max-width: 170px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  line-height: 1.35;
}

.record-node > span {
  color: var(--gold-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
}

.record-node strong {
  margin-top: 3px;
  display: block;
  color: #fff;
  font-weight: 500;
}

.record-node-person { top: 2%; left: 0; }
.record-node-time { top: 2%; right: 0; text-align: right; }
.record-node-place { top: 31%; right: -1%; text-align: right; }
.record-node-context { top: 65%; right: -1%; text-align: right; }
.record-node-provenance { bottom: 1%; left: 0; }
.record-node-custody { right: 0; bottom: 1%; text-align: right; }

.hero-record figcaption {
  max-width: 610px;
  margin: 4px auto 0;
  padding-top: 13px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.position-statement {
  background: var(--paper);
}

.position-grid,
.network-heading {
  display: block;
}

.position-grid {
  padding-top: 72px;
  padding-bottom: 78px;
}

.position-grid > .section-kicker,
.network-heading > .section-kicker {
  margin: 0 0 18px;
}

.position-grid > div {
  max-width: 980px;
}

.section-kicker {
  margin: 8px 0 0;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.position-statement h2,
.network-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.02;
}

.position-copy {
  max-width: 840px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.position-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.text-link {
  width: fit-content;
  margin-top: 28px;
  padding-bottom: 5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green);
  outline: none;
}

.memory-chain {
  padding: 84px 0 96px;
  border-top: 1px solid var(--rule);
  background: var(--soft);
}

.chain-intro {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(380px, 1.06fr) minmax(260px, 0.68fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.chain-intro > .section-kicker {
  margin-top: 7px;
}

.chain-intro h2 {
  max-width: 680px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3.65rem;
  font-weight: 400;
  line-height: 1.02;
}

.chain-question {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--green);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

.chain-intro-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.chain-intro-copy .chain-attribution {
  margin-top: 22px;
  padding-top: 17px;
  color: var(--green);
  border-top: 1px solid var(--rule);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  line-height: 1.55;
  text-transform: uppercase;
}

.chain-sequence {
  margin-top: 62px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.chain-sequence > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.chain-sequence > span:not(:last-child)::after {
  content: "→";
  flex: none;
  color: var(--gold);
  font-size: 0.9rem;
}

.chain-map {
  position: relative;
}

.chain-chapter {
  position: relative;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(60px, 10vw, 138px);
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.chain-chapter::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--soft);
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.chain-readers .chain-chapter-copy {
  order: 1;
}

.chain-readers .chain-artifacts {
  order: 2;
}

.chain-chapter-copy {
  max-width: 480px;
}

.chain-index {
  margin: 0;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.chain-chapter-copy h3,
.chain-routes-heading h3 {
  margin: 18px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.45rem;
  font-weight: 400;
  line-height: 1.05;
}

.chain-chapter-copy > p:last-child,
.chain-routes-heading > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.74;
}

.chain-artifacts {
  min-width: 0;
}

.chain-artifacts-foundation {
  max-width: 330px;
  margin-inline: auto;
}

.chain-artifacts-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 16px;
  align-items: end;
}

.chain-artifact {
  min-width: 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.53rem;
  line-height: 1.5;
  text-decoration: none;
  text-transform: uppercase;
}

.chain-artifact img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(28, 49, 39, 0.16);
  background: #e7e3d9;
  box-shadow: 0 20px 42px rgba(24, 38, 31, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chain-artifact:hover img,
.chain-artifact:focus-visible img {
  box-shadow: 0 24px 48px rgba(24, 38, 31, 0.2);
  transform: translateY(-4px);
}

.chain-artifact:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.chain-artifact > span {
  display: grid;
  gap: 2px;
}

.chain-artifact strong {
  color: var(--ink);
  font-weight: 500;
}

.chain-artifact-wide img {
  aspect-ratio: 4 / 3;
  object-position: center 42%;
}

.chain-maironis .chain-artifact > span {
  max-width: 300px;
}

.chain-routes-heading {
  max-width: 810px;
  margin: 0 auto;
  padding: 72px 0 46px;
  text-align: center;
}

.chain-routes-heading > p:last-child {
  max-width: 690px;
  margin-right: auto;
  margin-left: auto;
}

.chain-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.chain-branches::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 50%;
  width: 1px;
  height: 46px;
  background: var(--gold);
}

.chain-branch {
  min-width: 0;
  padding: 36px 44px 48px 0;
}

.chain-branch + .chain-branch {
  padding-right: 0;
  padding-left: 44px;
  border-left: 1px solid var(--ink);
}

.chain-branch-label {
  min-height: 46px;
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.chain-branch-label strong {
  color: var(--ink);
  font-weight: 500;
}

.chain-branch .chain-artifact {
  max-width: 360px;
  margin-inline: auto;
}

.chain-artifact-landscape {
  max-width: none !important;
}

.chain-artifact-landscape img {
  aspect-ratio: 4 / 3;
}

.chain-convergence {
  position: relative;
  padding: 82px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  gap: clamp(52px, 8vw, 96px);
  align-items: center;
}

.chain-convergence::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 56px;
  background: var(--gold);
}

.chain-convergence-visuals {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(130px, 0.45fr);
  gap: 18px;
  align-items: stretch;
}

.chain-students {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.chain-students img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  object-position: 60% center;
  border: 1px solid rgba(28, 49, 39, 0.16);
}

.chain-students figcaption {
  margin-top: 12px;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  text-transform: uppercase;
}

.chain-parish-books {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.chain-parish-books .chain-artifact {
  grid-template-columns: 1fr;
  gap: 9px;
  align-items: start;
}

.chain-parish-books .chain-artifact img {
  height: auto;
  min-height: 0;
}

.chain-convergence-copy h3 {
  font-size: 2.75rem;
}

.memory-map-section {
  padding: 88px 0 76px;
  overflow: hidden;
  border-top: 0;
  background: var(--deep);
  color: #f4f7f5;
}

.memory-map-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1.66fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.memory-map-heading > .section-kicker {
  margin-top: 8px;
  color: var(--gold-soft);
}

.memory-map-heading h2 {
  max-width: 850px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3.35rem;
  font-weight: 400;
  line-height: 1.04;
  color: #f4f7f5;
}

.memory-map-heading div > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #a9bbb3;
  font-size: 0.9rem;
  line-height: 1.72;
}

.memory-map-legend {
  margin-top: 46px;
  padding: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid rgba(228, 210, 155, 0.42);
  border-bottom: 1px solid rgba(169, 187, 179, 0.18);
}

.memory-map-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #91a69d;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.memory-map-legend i {
  width: 9px;
  height: 9px;
  flex: none;
  display: inline-block;
  border: 1.5px solid currentColor;
  background: var(--deep);
}

.memory-map-legend .legend-person {
  color: var(--gold);
  border-radius: 50%;
  background: var(--gold);
}

.memory-map-legend .legend-place {
  color: #8fb8cf;
}

.memory-map-legend .legend-institution {
  color: var(--green);
  background: var(--green);
  transform: rotate(45deg) scale(0.78);
}

.memory-map-legend .legend-event {
  color: var(--rust);
  background: var(--rust);
  border: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.memory-map-legend .legend-memory {
  color: #8fb8cf;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(77, 118, 144, 0.18);
}

.memory-map-legend .legend-source {
  width: 8px;
  height: 11px;
  color: var(--gold);
  background: #eee8db;
  box-shadow: 2px 2px 0 rgba(199, 164, 90, 0.28);
}

.memory-map-viewport {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid rgba(169, 187, 179, 0.14);
  border-bottom: 1px solid rgba(169, 187, 179, 0.14);
  background: var(--deep);
  scrollbar-color: var(--gold) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.memory-map-viewport:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.memory-map {
  width: 100%;
  min-width: 1080px;
  height: auto;
  display: block;
  background: var(--paper);
}

.memory-map text {
  letter-spacing: 0;
}

.memory-map marker path {
  fill: #80998c;
}

.map-time-grid line {
  stroke: #e8edea;
  stroke-width: 1;
}

.map-time-grid text,
.map-regions text,
.map-edge-labels text,
.map-node-meta,
.map-sources text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.map-time-grid text {
  fill: #8a948e;
  font-size: 11px;
  text-anchor: middle;
  text-transform: uppercase;
}

.map-time-grid text:first-child {
  fill: var(--green);
  text-anchor: start;
}

.map-regions path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
}

.map-regions text {
  fill: var(--green);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.map-edge {
  fill: none;
  stroke: #a8b6af;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.map-edge-primary,
.map-edge-branch {
  marker-end: url(#map-arrow);
}

.map-edge-primary {
  stroke: var(--green);
  stroke-width: 2;
}

.map-edge-branch {
  stroke: var(--blue);
  stroke-width: 1.8;
}

.map-evidence-edge {
  stroke: var(--gold);
  stroke-dasharray: 4 5;
}

.map-edge-labels text {
  fill: #607068;
  font-size: 10px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.map-node-title {
  fill: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  text-anchor: middle;
}

.map-node-meta {
  fill: #6d7a73;
  font-size: 9px;
  text-anchor: middle;
  text-transform: uppercase;
}

.map-node-shape {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.map-person .map-node-shape {
  fill: var(--gold);
  stroke: #b28b3f;
}

.map-place .map-node-shape {
  fill: var(--paper);
  stroke: var(--blue);
}

.map-institution .map-node-shape {
  fill: var(--green);
  stroke: #205d43;
}

.map-event .map-node-shape {
  fill: var(--rust);
  stroke: #843b31;
}

.map-memory .map-node-shape {
  fill: var(--blue);
  stroke: #355f78;
}

.map-sources a {
  color: var(--muted);
  cursor: pointer;
  outline: none;
}

.map-sources image {
  filter: url(#source-shadow);
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.map-sources text {
  fill: #6a746e;
  font-size: 9px;
  text-anchor: middle;
  text-transform: uppercase;
}

.map-sources a:hover image,
.map-sources a:focus image {
  opacity: 1;
}

.map-sources a:focus text {
  fill: var(--green);
  font-weight: 600;
}

.memory-map-caption {
  margin-top: 18px;
  color: #8aa197;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.6rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.memory-map-viewport:has(.sacred-network) {
  border-color: rgba(143, 184, 207, 0.16);
  background: var(--deep);
}

.sacred-network {
  background: var(--deep);
}

.sacred-network .graph-field {
  fill: var(--deep);
}

.sacred-network .graph-boundary {
  fill: none;
  stroke: rgba(228, 210, 155, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-coordinate-system line {
  stroke: #769086;
  stroke-dasharray: 1 9;
  stroke-width: 1;
  opacity: 0.14;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-coordinate-system text {
  fill: #789087;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0;
  opacity: 0.5;
}

.sacred-network .graph-contours path {
  fill: none;
  stroke: #6b9280;
  stroke-width: 1;
  opacity: 0.09;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-field-rings circle {
  fill: none;
  stroke: var(--gold-soft);
  stroke-dasharray: 2 9;
  stroke-width: 1;
  opacity: 0.18;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-link {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-link-primary {
  marker-end: none;
  stroke: #e1bf70;
  stroke-width: 1.45;
  stroke-dasharray: 5 7;
  filter: none;
  opacity: 0.82;
}

.sacred-network #network-arrow path {
  fill: #e1bf70;
}

.sacred-network .graph-link-context {
  stroke: #d6e0db;
  stroke-width: 1;
  opacity: 0.2;
}

.sacred-network .graph-link-disruption {
  stroke: #c86b5e;
  stroke-width: 1;
  stroke-dasharray: 3 7;
  opacity: 0.52;
}

.sacred-network .graph-link-migration {
  stroke: #78a9c3;
  stroke-width: 1;
  stroke-dasharray: 3 7;
  opacity: 0.48;
}

.sacred-network .graph-link-memory {
  stroke: var(--gold-soft);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  opacity: 0.42;
}

.sacred-network .graph-link-evidence {
  stroke: var(--gold-soft);
  stroke-width: 1;
  stroke-dasharray: 4 7;
  opacity: 0.62;
}

.sacred-network .graph-link-provenance {
  stroke: #dbc37e;
  stroke-width: 1;
  stroke-dasharray: 1 7;
  opacity: 0.32;
}

.sacred-network .graph-node circle,
.sacred-network .graph-node rect,
.sacred-network .graph-node > path {
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.sacred-network .graph-node {
  cursor: default;
  transition: opacity 160ms ease;
}

.sacred-network .graph-node:hover circle,
.sacred-network .graph-node:hover rect,
.sacred-network .graph-node:hover > path {
  stroke-width: 3;
}

.sacred-network .graph-node:hover .graph-label {
  fill: #fff4ca;
}

.sacred-network .graph-actor circle {
  fill: var(--gold-soft);
  stroke: #fff1bf;
}

.sacred-network .graph-place rect {
  fill: var(--deep);
  stroke: #8fb8cf;
}

.sacred-network .graph-institution rect {
  fill: #163229;
  stroke: #9ed0b6;
  transform: rotate(45deg);
  transform-box: fill-box;
  transform-origin: center;
}

.sacred-network .graph-event > path {
  fill: var(--deep);
  stroke: #e39b8f;
}

.sacred-network .graph-time > path {
  fill: var(--deep);
  stroke: var(--gold-soft);
}

.sacred-network .graph-concept > circle:not(.graph-core-ring) {
  fill: #102a35;
  stroke: #a4c6d9;
}

.sacred-network .graph-core > circle:first-child,
.sacred-network .graph-core > rect:first-child {
  stroke-width: 2;
}

.sacred-network .graph-core-ring {
  fill: none;
  stroke: var(--gold-soft);
  stroke-dasharray: 2 4;
  stroke-width: 1;
  opacity: 0.58;
}

.sacred-network .graph-core-ring-outer {
  stroke: #83af98;
  stroke-dasharray: 1 7;
  opacity: 0.38;
}

.sacred-network .graph-label,
.sacred-network .graph-meta,
.sacred-network .graph-provenance text,
.sacred-network .graph-annotations text {
  letter-spacing: 0;
  paint-order: stroke;
  stroke: var(--deep);
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.sacred-network .graph-label {
  fill: #f3f5f3;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 650;
}

.sacred-network .graph-label-major {
  font-size: 13px;
}

.sacred-network .graph-meta {
  fill: #8eaaa0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 6.5px;
}

.sacred-network .graph-link-labels text {
  fill: #bda86e;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 6px;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: var(--deep);
  stroke-width: 3px;
  text-anchor: middle;
}

.sacred-network .graph-flow-signals circle {
  fill: #fff1b7;
  stroke: #fff1b7;
  stroke-width: 2;
  stroke-opacity: 0.24;
}

.sacred-network .graph-flow-signals .graph-signal-blue {
  fill: #e4d29b;
  stroke: #e4d29b;
}

.sacred-network .graph-flow-signals .graph-signal-green {
  fill: #e4d29b;
  stroke: #e4d29b;
}

.sacred-network .graph-provenance path {
  fill: var(--deep);
  stroke: var(--gold-soft);
  stroke-width: 1.5;
}

.sacred-network .graph-provenance text {
  fill: var(--gold-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  text-anchor: end;
}

.sacred-network .graph-artifacts a {
  cursor: pointer;
  outline: none;
}

.sacred-network .graph-artifact-frame {
  fill: #f1eee5;
  stroke: rgba(228, 210, 155, 0.72);
  stroke-width: 1;
}

.sacred-network .graph-artifacts image {
  opacity: 0.9;
  transition: opacity 160ms ease;
}

.sacred-network .graph-artifacts a:hover image,
.sacred-network .graph-artifacts a:focus image {
  opacity: 1;
}

.sacred-network .graph-artifacts a:hover .graph-artifact-frame,
.sacred-network .graph-artifacts a:focus .graph-artifact-frame {
  stroke: #fff1b7;
  stroke-width: 2;
}

.sacred-network .graph-annotations text {
  fill: #809b8f;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  stroke-width: 2px;
  text-anchor: start;
}

.sacred-network .graph-annotations text:last-child {
  text-anchor: end;
}

@media (prefers-reduced-motion: no-preference) {
  .sacred-network .graph-link-primary,
  .sacred-network .graph-link-memory,
  .sacred-network .graph-link-provenance {
    animation: network-flow 14s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sacred-network .graph-flow-signals {
    display: none;
  }
}

@keyframes network-flow {
  to {
    stroke-dashoffset: -42;
  }
}

.constellation-legend {
  gap: 14px 34px;
}

.constellation-legend .legend-current,
.constellation-legend .legend-relation {
  width: 24px;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--gold-soft);
}

.constellation-legend .legend-current {
  box-shadow: 7px 0 0 rgba(228, 210, 155, 0.25);
}

.constellation-legend .legend-relation {
  border-top: 1px dashed rgba(206, 219, 212, 0.6);
  background: transparent;
}

.constellation-viewport {
  margin-top: 34px;
  border-color: rgba(228, 210, 155, 0.18);
  background: #071813;
}

.constellation-legend,
.cultural-constellation > .constellation-currents,
.cultural-constellation > .constellation-relations,
.cultural-constellation > .constellation-sources,
.cultural-constellation > .constellation-clusters,
.cultural-constellation > .constellation-satellites,
.cultural-constellation > .constellation-signals {
  display: none;
}

.cultural-constellation {
  min-width: 1080px;
  background: #071813;
}

.cultural-constellation .constellation-field {
  fill: #071813;
}

.cultural-constellation .constellation-frame {
  fill: none;
  stroke: rgba(228, 210, 155, 0.17);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.cultural-constellation text {
  letter-spacing: 0;
  paint-order: stroke;
  stroke: #071813;
  stroke-linejoin: round;
  stroke-width: 4px;
}

.constellation-meta text {
  fill: rgba(228, 210, 155, 0.54);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  stroke-width: 2px;
}

.constellation-field-lines path {
  fill: none;
  stroke: rgba(126, 158, 143, 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.constellation-field-lines path:nth-child(even) {
  stroke: rgba(228, 210, 155, 0.09);
}

.sacred-projection .projection-field {
  fill: #071813;
}

.sacred-projection .projection-frame {
  fill: none;
  stroke: rgba(228, 210, 155, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.projection-meta text,
.projection-proof text {
  fill: rgba(228, 210, 155, 0.58);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  stroke-width: 2px;
}

.projection-plane {
  stroke: none;
}

.projection-plane-gold { fill: rgba(228, 210, 155, 0.036); }
.projection-plane-blue { fill: rgba(143, 184, 207, 0.038); }
.projection-plane-green { fill: rgba(143, 196, 167, 0.038); }
.projection-plane-paper { fill: rgba(244, 247, 245, 0.022); }

.projection-lattice path {
  fill: none;
  stroke: rgba(228, 210, 155, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.projection-lattice .projection-lattice-outer {
  stroke: rgba(228, 210, 155, 0.44);
}

.projection-lattice .projection-lattice-inner {
  stroke: rgba(143, 184, 207, 0.34);
}

.projection-link {
  fill: none;
  stroke: rgba(213, 224, 218, 0.26);
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.projection-link-primary {
  stroke: rgba(228, 210, 155, 0.64);
  stroke-width: 1.6;
  stroke-dasharray: 3 7;
}

.projection-link-place {
  stroke: rgba(143, 184, 207, 0.5);
}

.projection-link-institution {
  stroke: rgba(143, 196, 167, 0.48);
}

.projection-link-evidence {
  stroke: rgba(228, 210, 155, 0.72);
  stroke-dasharray: 2 5;
}

.projection-density circle {
  fill: rgba(228, 210, 155, 0.58);
  stroke: rgba(255, 241, 183, 0.12);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.projection-artifact rect {
  fill: #eee8dc;
  stroke: rgba(228, 210, 155, 0.82);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.projection-artifact text {
  stroke: #eee8dc;
  stroke-width: 2px;
}

.projection-artifact .projection-type,
.projection-artifact .projection-detail {
  fill: rgba(31, 51, 42, 0.7);
}

.projection-artifact-title {
  fill: #1d332a;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 14.5px;
  font-weight: 600;
}

.projection-type,
.projection-detail {
  fill: rgba(216, 227, 221, 0.56);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 8.4px;
  stroke-width: 2px;
}

.projection-node-title {
  fill: #f3f5f3;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  stroke-width: 3px;
}

.projection-events circle {
  fill: #0b211a;
  stroke: #d69186;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.projection-institutions rect {
  fill: #0b211a;
  stroke: #8fc4a7;
  stroke-width: 1.7;
  transform: rotate(45deg);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.projection-central rect {
  fill: rgba(13, 41, 31, 0.76);
  stroke: rgba(228, 210, 155, 0.56);
  stroke-width: 1;
}

.projection-central circle {
  fill: #0b211a;
  stroke: #e4d29b;
  stroke-width: 1.8;
  vector-effect: non-scaling-stroke;
}

.projection-central-title {
  fill: #f5ead0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
  stroke-width: 3px;
}

.projection-places rect {
  fill: #0b211a;
  stroke: #8fb8cf;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.projection-actors circle {
  fill: #e4d29b;
  stroke: rgba(255, 241, 183, 0.18);
  stroke-width: 7;
  vector-effect: non-scaling-stroke;
}

.projection-signals circle {
  fill: #fff1b7;
  stroke: rgba(255, 241, 183, 0.2);
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
}

.projection-proof .projection-proof-number {
  fill: #fff1b7;
  font-size: 12px;
  font-weight: 600;
}

.sacred-core-live-stage {
  position: relative;
  width: 100%;
  min-width: 1080px;
  aspect-ratio: 1200 / 720;
  overflow: hidden;
  background: #071813;
}

.constellation-viewport:has(.sacred-core-live-stage:not([data-state="error"])) .sacred-projection {
  display: none;
}

.sacred-core-live-stage[data-state="error"] {
  display: none;
}

.sacred-core-live-bar {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.sacred-core-live-bar > div,
.sacred-core-live-bar p {
  margin: 0;
  color: rgba(228, 210, 155, 0.68);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.52rem;
  text-transform: uppercase;
}

.sacred-core-live-bar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.sacred-core-live-mark {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(228, 210, 155, 0.08);
}

.sacred-core-live-stage[data-state="loading"] .sacred-core-live-mark {
  animation: sacred-core-pulse 1.4s ease-in-out infinite;
}

.sacred-core-live-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #071813;
}

.sacred-core-frame rect {
  fill: none;
  stroke: rgba(228, 210, 155, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.sacred-core-frame text {
  fill: rgba(228, 210, 155, 0.5);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  letter-spacing: 0;
}

.sacred-core-live-links line {
  stroke: rgba(196, 213, 204, 0.24);
  stroke-width: 1;
  transition: opacity 180ms ease;
  vector-effect: non-scaling-stroke;
}

.sacred-core-live-links line.is-anchor-link {
  stroke: rgba(228, 210, 155, 0.62);
  stroke-dasharray: 4 7;
  animation: line-flow 18s linear infinite;
}

.sacred-core-live-links line.is-muted,
.sacred-core-live-node.is-muted {
  opacity: 0.08;
}

.sacred-core-live-node {
  cursor: grab;
  outline: none;
  transition: opacity 180ms ease;
}

.sacred-core-live-node:active {
  cursor: grabbing;
}

.sacred-core-live-node circle,
.sacred-core-live-node path {
  fill: #0a2119;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.sacred-core-live-node.is-actor > circle:first-child {
  fill: var(--gold-soft);
  stroke: #fff1b7;
}

.sacred-core-live-node.is-institution > path {
  stroke: #8fc4a7;
}

.sacred-core-live-node.is-event > path {
  stroke: #d69186;
}

.sacred-core-live-node.is-place > path {
  stroke: #8fb8cf;
}

.sacred-core-live-node.is-artifact > path {
  fill: #e9e0ce;
  stroke: #fff1b7;
}

.sacred-core-live-node .anchor-ring {
  fill: none;
  stroke: rgba(228, 210, 155, 0.64);
  stroke-dasharray: 3 7;
  stroke-width: 1;
}

.sacred-core-live-node .anchor-ring-outer {
  stroke: rgba(143, 196, 167, 0.3);
  stroke-dasharray: 1 9;
}

.sacred-core-live-node .evidence-ring {
  fill: none;
  stroke: rgba(228, 210, 155, 0.34);
  stroke-dasharray: 1 4;
  stroke-width: 1;
}

.sacred-core-live-node .feature-ring {
  fill: none;
  stroke: rgba(255, 241, 183, 0.86);
  stroke-dasharray: 4 5;
  stroke-width: 1.5;
}

.sacred-core-live-node .feature-signal {
  fill: #fff1b7;
  stroke: #071813;
  stroke-width: 1.5;
}

.sacred-core-live-node.is-featured .node-name {
  fill: #fff1b7;
  font-size: 11px;
}

.sacred-core-live-node.is-featured:not(.is-anchor) > circle:first-child,
.sacred-core-live-node.is-featured:not(.is-anchor) > path:first-child {
  fill: #17392d;
  stroke-width: 2.7;
}

.sacred-core-live-node text {
  letter-spacing: 0;
  paint-order: stroke;
  stroke: #071813;
  stroke-linejoin: round;
  stroke-width: 4px;
  text-anchor: middle;
}

.sacred-core-live-node .node-name {
  fill: #f4f7f5;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
}

.sacred-core-live-node.is-anchor .node-name {
  fill: #fff1b7;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 500;
}

.sacred-core-live-node .node-type {
  fill: rgba(171, 193, 182, 0.66);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 6.5px;
  stroke-width: 3px;
}

.sacred-core-live-summary {
  position: absolute;
  z-index: 4;
  left: 52px;
  right: 52px;
  bottom: 27px;
  padding-top: 13px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(228, 210, 155, 0.18);
  pointer-events: none;
}

.sacred-core-live-summary div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.sacred-core-live-summary div:nth-child(2) {
  text-align: center;
}

.sacred-core-live-summary div:last-child {
  text-align: right;
}

.sacred-core-live-summary span {
  color: rgba(228, 210, 155, 0.54);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.48rem;
}

.sacred-core-live-summary strong {
  overflow: hidden;
  color: rgba(244, 247, 245, 0.82);
  font-size: 0.68rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sacred-core-live-tooltip {
  position: absolute;
  z-index: 6;
  width: min(230px, calc(100% - 32px));
  padding: 13px 15px;
  display: grid;
  gap: 4px;
  color: #f4f7f5;
  border: 1px solid rgba(228, 210, 155, 0.36);
  background: rgba(7, 24, 19, 0.96);
  pointer-events: none;
}

.sacred-core-live-tooltip[aria-hidden="true"] {
  display: none;
}

.sacred-core-live-tooltip span,
.sacred-core-live-tooltip small {
  color: rgba(228, 210, 155, 0.66);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  text-transform: uppercase;
}

.sacred-core-live-tooltip strong {
  font-size: 0.78rem;
  font-weight: 600;
}

@keyframes sacred-core-pulse {
  50% { opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .sacred-core-live-mark,
  .sacred-core-live-links line.is-anchor-link {
    animation: none;
  }
}

.memory-sculpture-planes polygon {
  stroke: none;
}

.memory-plane-gold {
  fill: rgba(228, 210, 155, 0.045);
}

.memory-plane-blue {
  fill: rgba(143, 184, 207, 0.045);
}

.memory-plane-green {
  fill: rgba(143, 196, 167, 0.045);
}

.memory-plane-paper {
  fill: rgba(244, 247, 245, 0.026);
}

.memory-sculpture-geometry path {
  fill: none;
  stroke: rgba(228, 210, 155, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.memory-sculpture-geometry .memory-geometry-outer {
  stroke: rgba(228, 210, 155, 0.42);
}

.memory-sculpture-geometry .memory-geometry-inner {
  stroke: rgba(143, 184, 207, 0.3);
}

.memory-thread {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.memory-thread-gold {
  stroke: #e4d29b;
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
}

.memory-thread-green {
  stroke: rgba(143, 196, 167, 0.58);
  stroke-width: 1;
}

.memory-thread-blue {
  stroke: rgba(143, 184, 207, 0.58);
  stroke-width: 1;
}

.memory-sculpture-sources a {
  cursor: pointer;
  outline: none;
  transform-box: fill-box;
  transform-origin: center;
}

.memory-sculpture-sources a:nth-child(1) { transform: rotate(-1.8deg); }
.memory-sculpture-sources a:nth-child(2) { transform: rotate(1.4deg); }
.memory-sculpture-sources a:nth-child(3) { transform: rotate(-1deg); }

.memory-sculpture-sources rect {
  fill: #f0ece2;
  stroke: rgba(228, 210, 155, 0.72);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 160ms ease, stroke-width 160ms ease;
}

.memory-sculpture-sources image {
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.memory-sculpture-sources a:hover image,
.memory-sculpture-sources a:focus image {
  opacity: 1;
}

.memory-sculpture-sources a:hover rect,
.memory-sculpture-sources a:focus rect {
  stroke: #fff1b7;
  stroke-width: 1.8;
}

.memory-sculpture-sources > text {
  fill: rgba(228, 210, 155, 0.58);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  stroke-width: 2px;
}

.memory-sculpture-nodes > circle:not(.memory-sculpture-center):not(.memory-sculpture-center-ring),
.memory-sculpture-labels circle {
  fill: #e4d29b;
  stroke: rgba(255, 241, 183, 0.18);
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
}

.memory-sculpture-center {
  fill: #0c2a22;
  stroke: #e4d29b;
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
}

.memory-sculpture-center-ring {
  fill: none;
  stroke: rgba(228, 210, 155, 0.42);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  vector-effect: non-scaling-stroke;
}

.memory-sculpture-labels text {
  fill: rgba(220, 230, 225, 0.7);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 7px;
  stroke-width: 2px;
}

.memory-sculpture-labels .memory-sculpture-title {
  fill: #f4f7f5;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 10.5px;
  font-weight: 500;
}

.memory-sculpture-signals circle {
  fill: #fff1b7;
  stroke: rgba(255, 241, 183, 0.2);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.constellation-currents path,
.constellation-relations path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.constellation-current-base {
  stroke: rgba(228, 210, 155, 0.22);
  stroke-width: 4;
}

.constellation-current-thread {
  fill: none;
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.constellation-current-thread-green {
  stroke: rgba(143, 196, 167, 0.38);
}

.constellation-current-thread-blue {
  stroke: rgba(143, 184, 207, 0.34);
}

.constellation-current-flow {
  stroke: #e4d29b;
  stroke-width: 1.4;
  stroke-dasharray: 4 8;
}

.constellation-branch {
  stroke: rgba(228, 210, 155, 0.56);
  stroke-width: 1;
  stroke-dasharray: 2 7;
}

.constellation-branch-migration {
  stroke: rgba(143, 184, 207, 0.52);
}

.constellation-branch-displacement {
  stroke: rgba(214, 145, 134, 0.48);
}

.constellation-relations path {
  stroke: rgba(199, 214, 206, 0.28);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.constellation-cluster {
  cursor: default;
  outline: none;
}

.constellation-cluster .cluster-orbit {
  fill: #071813;
  stroke: rgba(228, 210, 155, 0.52);
  stroke-width: 1;
  stroke-dasharray: 1 7;
  vector-effect: non-scaling-stroke;
  transition: stroke 180ms ease, stroke-width 180ms ease;
}

.constellation-cluster .cluster-orbit-outer {
  stroke: rgba(143, 184, 207, 0.3);
  stroke-dasharray: 1 8;
}

.constellation-cluster .cluster-core {
  fill: var(--gold-soft);
  stroke: #fff1b7;
  stroke-width: 5;
  stroke-opacity: 0.1;
  vector-effect: non-scaling-stroke;
}

.constellation-cluster-live .cluster-core {
  fill: #f0ddb1;
}

.constellation-cluster:hover .cluster-orbit,
.constellation-cluster:focus .cluster-orbit {
  stroke: #fff1b7;
  stroke-width: 1.8;
}

.cluster-date,
.cluster-detail,
.constellation-satellites text {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.cluster-date {
  fill: rgba(228, 210, 155, 0.68);
  font-size: 7px;
}

.cluster-title {
  fill: #f3f5f3;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
}

.cluster-detail {
  fill: rgba(216, 227, 221, 0.58);
  font-size: 6.5px;
}

.constellation-satellites circle {
  fill: #e4d29b;
}

.constellation-satellites text {
  fill: rgba(216, 227, 221, 0.5);
  font-size: 6px;
}

.constellation-sources a {
  cursor: pointer;
  outline: none;
  transform-box: fill-box;
  transform-origin: center;
}

.constellation-sources a:nth-child(1) { transform: rotate(-1.5deg); }
.constellation-sources a:nth-child(2) { transform: rotate(1.2deg); }
.constellation-sources a:nth-child(3) { transform: rotate(-1deg); }
.constellation-sources a:nth-child(4) { transform: rotate(1.4deg); }

.constellation-source-frame {
  fill: #f0ece2;
  stroke: rgba(228, 210, 155, 0.7);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.constellation-sources image {
  opacity: 0.86;
  transition: opacity 160ms ease;
}

.constellation-sources a:hover image,
.constellation-sources a:focus image {
  opacity: 1;
}

.constellation-sources a:hover .constellation-source-frame,
.constellation-sources a:focus .constellation-source-frame {
  stroke: #fff1b7;
  stroke-width: 1.8;
}

.constellation-signals circle {
  fill: #fff1b7;
  stroke: rgba(255, 241, 183, 0.24);
  stroke-width: 4;
}

.constellation-caption {
  max-width: 880px;
  margin-left: max(32px, calc((100% - var(--shell)) / 2));
  text-transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .memory-thread-gold,
  .projection-link-primary {
    animation: memory-thread-flow 14s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .memory-sculpture-signals,
  .projection-signals {
    display: none;
  }
}

@keyframes memory-thread-flow {
  to { stroke-dashoffset: -96; }
}

.source-range {
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.source-range-grid {
  padding-top: 76px;
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.source-range-copy h2 {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.05;
}

.source-range-copy > p:last-child {
  max-width: 480px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.periodical-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: 16px;
  align-items: end;
}

.periodical {
  min-width: 0;
  margin: 0;
}

.periodical-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(28, 49, 39, 0.14);
  background: #e7e3d9;
  box-shadow: 0 20px 40px rgba(24, 38, 31, 0.12);
}

.periodical-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.periodical-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.82) contrast(1.02);
}

.periodical-vienybe .periodical-image { height: 350px; }
.periodical-draugas .periodical-image { height: 310px; }
.periodical-ziburiai .periodical-image { height: 330px; }

.periodical figcaption {
  margin-top: 12px;
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.periodical figcaption strong {
  color: var(--ink);
  font-weight: 500;
}

.network-section {
  padding: 64px 0 0;
  color: #fff;
  background: var(--deep);
}

.network-section .section-kicker {
  color: var(--gold-soft);
}

.network-section h2 {
  color: #fff;
}

.network-heading > div {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: end;
}

.network-heading .network-lead {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.94rem;
  line-height: 1.7;
}

.system-flow {
  --flow-line-y: 36px;
  position: relative;
  margin-top: 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.system-flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--flow-line-y);
  right: 8.33%;
  left: 8.33%;
  height: 1px;
  background: rgba(228, 210, 155, 0.42);
}

.system-flow::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: calc(var(--flow-line-y) - 3px);
  left: 8.33%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff1b7;
  box-shadow: 0 0 0 4px rgba(228, 210, 155, 0.12);
}

.system-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 336px;
  padding: 64px 14px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.system-stage:last-child {
  border-right: 0;
}

.system-stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(var(--flow-line-y) - 5px);
  left: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--deep);
  transform: translateX(-50%);
}

.system-stage:first-child::before,
.system-stage:last-child::before {
  background: var(--gold-soft);
}

.system-label {
  margin: 0;
  color: var(--gold-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.system-stage h3 {
  margin: 12px 0 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.12;
}

.system-stage > p:not(.system-label):not(.system-result-trace) {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.65rem;
  line-height: 1.5;
}

.system-stage-visual {
  position: relative;
  height: 86px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(228, 210, 155, 0.24);
  background: #0d241b;
}

.system-stage-visual small {
  position: absolute;
  right: 8px;
  bottom: 7px;
  left: 8px;
  color: rgba(228, 210, 155, 0.72);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.39rem;
  line-height: 1.35;
}

.system-read-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  opacity: 0.48;
  filter: grayscale(0.45) contrast(1.1);
}

.system-read-visual::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 241, 183, 0.92);
  box-shadow: 0 0 8px rgba(255, 241, 183, 0.42);
}

.system-scan-line {
  position: absolute;
  left: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.72);
}

.system-scan-line-one { top: 30px; width: 58%; }
.system-scan-line-two { top: 40px; width: 72%; }
.system-scan-line-three { top: 50px; width: 46%; }

.system-connect-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.system-connect-visual path,
.system-connect-visual rect,
.system-connect-visual circle {
  fill: var(--deep);
  stroke: rgba(228, 210, 155, 0.76);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.system-connect-visual > svg > path:first-child {
  fill: none;
  stroke: rgba(228, 210, 155, 0.42);
  stroke-dasharray: 3 5;
}

.system-connect-visual circle:first-of-type { fill: var(--gold-soft); }
.system-connect-visual .system-visual-event { stroke: #d69186; }
.system-connect-visual .system-visual-institution { stroke: #8fc4a7; transform: rotate(45deg); transform-box: fill-box; transform-origin: center; }
.system-connect-visual .system-visual-memory { stroke: #8fb8cf; }
.system-connect-visual .system-visual-place { stroke: #8fb8cf; }

.system-evidence-visual {
  display: grid;
  grid-template-columns: 36px 22px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 8px;
}

.system-evidence-source {
  position: relative;
}

.system-evidence-source img {
  width: 32px;
  height: 48px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(228, 210, 155, 0.62);
}

.system-evidence-source span,
.system-evidence-record span {
  color: rgba(228, 210, 155, 0.72);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.4rem;
}

.system-evidence-source span {
  margin-top: 4px;
  display: block;
}

.system-evidence-link {
  display: flex;
  align-items: center;
}

.system-evidence-link::before,
.system-evidence-link::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(228, 210, 155, 0.45);
}

.system-evidence-link i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.system-evidence-record {
  min-height: 58px;
  padding: 7px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.system-evidence-record b {
  color: #fff1b7;
  font-size: 1.1rem;
  font-weight: 400;
}

.system-review-visual {
  padding: 7px 9px 24px;
  display: grid;
  align-content: center;
  gap: 7px;
}

.system-review-visual > div {
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.46rem;
}

.system-review-visual b {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 400;
}

.system-output-visual {
  padding: 8px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.system-output-bar {
  padding: 5px 6px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.44rem;
}

.system-output-bar i {
  height: 2px;
  display: block;
  background: var(--gold-soft);
}

.system-capture {
  position: relative;
  height: 86px;
  margin: 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(228, 210, 155, 0.42);
}

.system-capture-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.system-capture figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 6px 7px;
  color: var(--gold-soft);
  background: rgba(7, 24, 19, 0.9);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.4rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.system-source-copy {
  margin-top: 13px;
}

.system-stage-result ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.system-stage-result li {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.66rem;
  line-height: 1.45;
}

.system-stage-result li a {
  color: inherit;
  text-underline-offset: 3px;
}

.system-stage-result li a:hover,
.system-stage-result li a:focus-visible {
  color: var(--gold-soft);
  outline: none;
}

.system-result-trace {
  margin: 20px 0 0;
  color: var(--gold-soft);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  .system-flow::after {
    animation: system-flow-signal 9s ease-in-out infinite;
  }

  .system-read-visual::after {
    animation: system-scan 3.8s ease-in-out infinite;
  }
}

@keyframes system-flow-signal {
  0%, 8% { left: 8.33%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  92%, 100% { left: 91.67%; opacity: 0; }
}

@keyframes system-scan {
  0%, 12% { top: 12%; opacity: 0; }
  22% { opacity: 1; }
  78% { opacity: 1; }
  90%, 100% { top: 82%; opacity: 0; }
}

.record-journey {
  --journey-line-y: 38px;
  position: relative;
  margin-top: 38px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.record-journey::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--journey-line-y);
  right: 16.67%;
  left: 16.67%;
  height: 1px;
  background: rgba(228, 210, 155, 0.42);
}

.record-journey::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: calc(var(--journey-line-y) - 3px);
  left: 16.67%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff1b7;
  box-shadow: 0 0 0 4px rgba(228, 210, 155, 0.12);
}

.journey-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 67px 26px 24px;
  display: grid;
  grid-template-rows: auto 236px auto;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.journey-stage:last-child {
  border-right: 0;
}

.journey-stage::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: calc(var(--journey-line-y) - 5px);
  left: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: var(--deep);
  transform: translateX(-50%);
}

.journey-stage:first-child::before,
.journey-stage:last-child::before {
  background: var(--gold-soft);
}

.record-stage-heading h3 {
  margin: 9px 0 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.22rem, 1.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

.journey-stage > p {
  max-width: 43ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  line-height: 1.55;
}

.record-source-visual,
.record-workbench-visual,
.record-public-visual {
  position: relative;
  min-width: 0;
  height: 236px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 210, 155, 0.3);
  background: #0d241b;
}

.record-source-visual {
  background: #d6e2e1;
}

.record-source-visual img {
  position: absolute;
  inset: 0 108px 0 0;
  width: calc(100% - 108px);
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.record-source-visual figcaption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 108px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: var(--deep);
  border-left: 1px solid rgba(8, 30, 22, 0.16);
  background: #ebe7dc;
}

.record-source-visual figcaption span {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.22;
}

.record-source-visual figcaption small,
.record-workbench-visual figcaption {
  color: rgba(8, 30, 22, 0.56);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.43rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.record-workbench-visual {
  background: #0b0b0b;
}

.record-workbench-visual img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(-145px);
}

.record-workbench-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 7, 7, 0.94);
}

.record-public-visual {
  display: block;
  color: #fff;
  text-decoration: none;
  background: #f7f7f5;
}

.record-public-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 31% top;
  transition: transform 220ms ease;
}

.record-public-visual > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 9px 11px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(7, 24, 19, 0.94);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.48rem;
  text-transform: uppercase;
}

.record-public-visual:hover img,
.record-public-visual:focus-visible img {
  transform: scale(1.018);
}

.record-public-visual:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .record-journey::after {
    animation: record-journey-signal 7.5s ease-in-out infinite;
  }
}

@keyframes record-journey-signal {
  0%, 8% { left: 16.67%; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  92%, 100% { left: 83.33%; opacity: 0; }
}

.stewardship-rail {
  min-height: 82px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(200px, 0.72fr) minmax(0, 2.02fr);
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stewardship-rail p {
  margin: 0;
}

.stewardship-rail > p:last-child {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.6;
}

.stewardship-rail strong {
  color: #fff;
  font-weight: 500;
}

.system-proof {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.system-proof > div {
  min-height: 112px;
  padding: 24px 28px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.system-proof > div:first-child { padding-left: 0; }
.system-proof > div:last-child { border-right: 0; }

.system-proof strong {
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.system-proof span {
  color: rgba(255, 255, 255, 0.5);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.powered-statement {
  padding-top: 56px;
  padding-bottom: 72px;
}

.powered-statement > .section-kicker {
  margin: 0 0 18px;
  color: var(--gold-soft);
}

.powered-statement-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.powered-statement h3 {
  max-width: 480px;
  margin: 0;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1.06;
}

.powered-statement-body > div > p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.72;
}

.powered-statement-body .powered-now {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.powered-now a {
  color: var(--gold-soft);
  text-underline-offset: 3px;
}

.powered-now a:hover,
.powered-now a:focus-visible {
  color: #fff;
  outline: none;
}

.system-closing {
  margin: 54px 0 0;
  padding-top: 28px;
  color: var(--gold-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.25;
}

.notes-prompt {
  border-top: 1px solid var(--rule);
  background: var(--soft);
}

.notes-prompt-link {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.notes-prompt-link .section-kicker {
  margin: 0;
}

.notes-prompt-link strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.notes-prompt-link > span:last-child {
  color: var(--green);
  font-size: 1.2rem;
}

.notes-prompt-link:hover strong,
.notes-prompt-link:focus-visible strong {
  color: var(--green);
}

.notes-prompt-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--deep);
  border-top: 3px solid var(--gold);
}

.footer-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  font-size: 0.68rem;
}

.footer-inner span:nth-child(2) {
  text-align: center;
}

.footer-inner a {
  color: #fff;
  text-decoration: none;
}

/* Projects */
.projects-page {
  min-height: 100vh;
  background: var(--paper);
}

.projects-main {
  padding-bottom: 84px;
}

.projects-hero {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--ink);
}

.projects-hero h1 {
  max-width: 760px;
  margin: 16px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 1;
}

.projects-hero-copy {
  max-width: 700px;
  margin: 24px 0 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.project-row {
  padding: 54px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 58px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.project-row figure {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.project-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.project-row h2 {
  margin: 14px 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.08;
}

.project-status {
  margin: 0;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
}

.project-row-copy > p:not(.project-status) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.68;
}

.project-row .text-link {
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(460px, 1.28fr);
    gap: 28px;
  }

  .home-hero h1 {
    font-size: 3.75rem;
  }

  .record-node {
    max-width: 140px;
    font-size: 0.62rem;
  }

  .memory-map-heading {
    grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1.72fr);
    gap: 48px;
  }

  .memory-map-heading h2 {
    font-size: 3rem;
  }

  .chain-intro {
    grid-template-columns: minmax(120px, 0.28fr) minmax(340px, 1fr) minmax(230px, 0.62fr);
    gap: 32px;
  }

  .chain-intro h2 {
    font-size: 3.15rem;
  }

  .chain-sequence {
    gap: 10px;
    font-size: 0.5rem;
  }

  .chain-sequence > span {
    gap: 10px;
  }

  .chain-chapter {
    gap: 58px;
  }

  .chain-convergence {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
    gap: 50px;
  }

  .chain-convergence-visuals {
    grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.6fr);
  }

  .source-range-grid,
  .notes-prompt-link {
    gap: 40px;
  }

  .network-heading > div,
  .powered-statement-body {
    gap: 40px;
  }

  .system-flow {
    --flow-line-y: 36px;
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .system-flow::before {
    top: 48px;
    right: auto;
    bottom: 48px;
    left: 20px;
    width: 1px;
    height: auto;
  }

  .system-flow::after {
    top: 48px;
    left: 17px;
    animation-name: system-flow-signal-mobile;
  }

  .system-stage {
    min-height: 0;
    padding: 28px 0 30px 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .system-stage:last-child {
    border-bottom: 0;
  }

  .system-stage::before {
    top: var(--flow-line-y);
    left: 20px;
  }

  .system-capture {
    max-width: 420px;
  }

  .system-stage-source > p,
  .system-stage > p:not(.system-label):not(.system-result-trace) {
    max-width: 620px;
  }

  .system-stage-result ul {
    max-width: 520px;
  }

}

@media (max-width: 820px) {
  .site-shell,
  .site-header,
  .hero-grid {
    width: min(calc(100% - 40px), var(--shell));
  }

  .site-header {
    min-height: 62px;
  }

  .header-actions {
    gap: 14px;
  }

  .primary-nav {
    gap: 18px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 118px;
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: 650px;
  }

  .home-hero h1 {
    max-width: 620px;
    font-size: 3.5rem;
  }

  .record-stage {
    max-width: 610px;
  }

  .memory-map-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .memory-map-heading > .section-kicker {
    margin-top: 0;
  }

  .memory-map-heading h2 {
    max-width: 690px;
    font-size: 3rem;
  }

  .memory-map-heading div > p {
    margin-top: 20px;
  }

  .memory-map-legend {
    margin-top: 38px;
  }

  .memory-map {
    min-width: 1000px;
  }

  .chain-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  }

  .chain-intro > .section-kicker {
    grid-column: 1 / -1;
  }

  .chain-sequence {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .chain-sequence > span {
    justify-content: space-between;
  }

  .chain-sequence > span:nth-child(3)::after {
    content: "↓";
  }

  .chain-chapter {
    grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
    gap: 44px;
  }

  .chain-chapter-copy h3,
  .chain-routes-heading h3 {
    font-size: 2.1rem;
  }

  .chain-branch {
    padding-right: 28px;
  }

  .chain-branch + .chain-branch {
    padding-left: 28px;
  }

  .chain-convergence {
    grid-template-columns: 1fr;
  }

  .chain-convergence-copy {
    max-width: 680px;
    grid-row: 1;
  }

  .chain-convergence-visuals {
    grid-row: 2;
  }

  .position-statement h2,
  .source-range-copy h2,
  .network-section h2 {
    font-size: 3rem;
  }

  .network-heading > div,
  .powered-statement-body {
    grid-template-columns: 1fr;
  }

  .network-heading > div {
    gap: 22px;
  }

  .system-flow {
    --flow-line-y: 36px;
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .system-flow::before {
    top: 48px;
    right: auto;
    bottom: 48px;
    left: 20px;
    width: 1px;
    height: auto;
  }

  .system-flow::after {
    top: 48px;
    left: 17px;
  }

  .system-stage {
    min-height: 0;
    padding: 28px 0 30px 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .system-stage:last-child {
    border-bottom: 0;
  }

  .system-stage::before {
    top: var(--flow-line-y);
    left: 20px;
  }

  .system-capture {
    max-width: 420px;
  }

  .system-stage-source > p,
  .system-stage > p:not(.system-label):not(.system-result-trace) {
    max-width: 620px;
  }

  .system-stage-result ul {
    max-width: 520px;
  }

  .system-flow::after {
    animation-name: system-flow-signal-mobile;
  }

  .powered-statement-body {
    gap: 24px;
  }

  .stewardship-rail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .projects-hero h1 {
    font-size: 3.5rem;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@keyframes system-flow-signal-mobile {
  0%, 8% { top: 48px; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  92%, 100% { top: calc(100% - 52px); opacity: 0; }
}

@media (max-width: 820px) {
  .record-journey {
    --journey-line-y: 36px;
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .record-journey::before {
    top: 48px;
    right: auto;
    bottom: 48px;
    left: 20px;
    width: 1px;
    height: auto;
  }

  .record-journey::after {
    top: 48px;
    left: 17px;
  }

  .journey-stage {
    min-height: 0;
    padding: 28px 0 30px 54px;
    grid-template-rows: auto 258px auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .journey-stage:last-child {
    border-bottom: 0;
  }

  .journey-stage::before {
    top: var(--journey-line-y);
    left: 20px;
  }

  .record-source-visual,
  .record-workbench-visual,
  .record-public-visual {
    width: min(100%, 620px);
    height: 258px;
  }

  .journey-stage > p {
    max-width: 66ch;
  }

  .record-journey::after {
    animation-name: record-journey-signal-mobile;
  }
}

@media (max-width: 480px) {
  .journey-stage {
    grid-template-rows: auto 224px auto;
  }

  .record-source-visual,
  .record-workbench-visual,
  .record-public-visual {
    height: 224px;
  }

  .record-source-visual figcaption {
    width: 106px;
    padding: 14px 11px;
  }

  .record-source-visual img {
    right: 106px;
    width: calc(100% - 106px);
  }

  .record-source-visual figcaption span {
    font-size: 0.78rem;
  }
}

@keyframes record-journey-signal-mobile {
  0%, 8% { top: 48px; opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  92%, 100% { top: calc(100% - 52px); opacity: 0; }
}

@media (max-width: 680px) {
  .site-shell,
  .site-header,
  .hero-grid {
    width: calc(100% - 32px);
  }

  .primary-nav {
    position: absolute;
    top: 62px;
    right: -16px;
    left: -16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--forest);
  }

  .site-header-light .primary-nav {
    border-bottom-color: var(--rule);
    background: var(--paper);
  }

  .site-header.menu-open .primary-nav {
    display: flex;
  }

  .primary-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 0.92rem;
  }

  .site-header-light .primary-nav a {
    border-bottom-color: var(--rule);
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    color: #fff;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .site-header-light .menu-toggle {
    color: var(--ink);
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .home-hero h1 {
    font-size: 2.72rem;
  }

  .hero-thesis {
    font-size: 0.9rem;
  }

  .record-stage {
    height: 300px;
    aspect-ratio: auto;
  }

  .record-connections {
    display: none;
  }

  .record-node {
    max-width: 118px;
    font-size: 0.57rem;
  }

  .record-node > span {
    font-size: 0.48rem;
  }

  .record-node-person { top: 0; }
  .record-node-time { top: 0; }
  .record-node-place { top: 39%; right: 0; }
  .record-node-provenance { bottom: 0; }
  .record-node-custody { bottom: 0; }
  .record-node-context { display: none; }

  .memory-map-section {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .memory-map-heading h2 {
    font-size: 2.45rem;
  }

  .memory-map-legend {
    margin-top: 32px;
    gap: 10px 20px;
  }

  .memory-map-viewport {
    margin-top: 18px;
  }

  .memory-map {
    min-width: 940px;
  }

  .map-edge-labels,
  .map-node-meta {
    display: none;
  }

  .memory-map-caption {
    margin-top: 15px;
    font-size: 0.54rem;
  }

  .memory-chain {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .chain-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .chain-intro > .section-kicker {
    grid-column: auto;
  }

  .chain-intro h2 {
    font-size: 2.45rem;
  }

  .chain-question {
    margin-top: 22px;
    font-size: 1.05rem;
  }

  .chain-intro-copy .chain-attribution {
    margin-top: 18px;
  }

  .chain-sequence {
    margin-top: 42px;
    padding: 16px 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chain-sequence > span {
    min-height: 26px;
  }

  .chain-sequence > span:not(:last-child)::after,
  .chain-sequence > span:nth-child(3)::after {
    content: "↓";
  }

  .chain-chapter {
    padding: 52px 0;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .chain-chapter::before {
    left: 0;
    transform: none;
  }

  .chain-chapter-copy,
  .chain-readers .chain-chapter-copy {
    order: 1;
  }

  .chain-artifacts,
  .chain-readers .chain-artifacts {
    order: 2;
  }

  .chain-artifacts-foundation {
    width: min(78%, 300px);
    margin-inline: 0;
  }

  .chain-chapter-copy h3,
  .chain-routes-heading h3 {
    font-size: 2rem;
  }

  .chain-routes-heading {
    padding: 54px 0 38px;
    text-align: left;
  }

  .chain-branches {
    grid-template-columns: 1fr;
  }

  .chain-branches::before {
    left: 0;
  }

  .chain-branch,
  .chain-branch + .chain-branch {
    padding: 30px 0 38px;
    border-left: 0;
  }

  .chain-branch + .chain-branch {
    border-top: 1px solid var(--rule);
  }

  .chain-branch-label {
    min-height: 0;
    margin-bottom: 22px;
  }

  .chain-branch .chain-artifact {
    width: min(84%, 360px);
    margin-inline: 0;
  }

  .chain-artifact-landscape {
    width: 100% !important;
  }

  .chain-convergence {
    padding-top: 68px;
    gap: 36px;
  }

  .chain-convergence::before {
    left: 0;
    height: 42px;
  }

  .chain-convergence-copy h3 {
    font-size: 2.25rem;
  }

  .chain-convergence-visuals {
    grid-template-columns: 1fr;
  }

  .chain-students img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .chain-parish-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .chain-parish-books .chain-artifact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .chain-parish-books .chain-artifact img {
    min-height: 0;
  }

  .source-range-grid {
    grid-template-columns: 1fr;
  }

  .source-range-grid {
    padding-top: 56px;
    padding-bottom: 62px;
    gap: 34px;
  }

  .position-grid {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .position-statement h2,
  .source-range-copy h2,
  .network-section h2 {
    font-size: 2.45rem;
  }

  .position-copy {
    margin-top: 22px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .periodical-row {
    gap: 10px;
  }

  .periodical-vienybe .periodical-image { height: 260px; }
  .periodical-draugas .periodical-image { height: 230px; }
  .periodical-ziburiai .periodical-image { height: 245px; }

  .periodical figcaption {
    font-size: 0.48rem;
  }

  .network-section {
    padding-top: 58px;
  }

  .system-flow {
    margin-top: 36px;
  }

  .system-stage {
    padding-left: 46px;
  }

  .powered-statement {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .system-proof {
    grid-template-columns: 1fr;
  }

  .system-proof > div,
  .system-proof > div:first-child {
    min-height: 84px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .system-proof > div:last-child {
    border-bottom: 0;
  }

  .powered-statement h3 {
    font-size: 2.3rem;
  }

  .system-closing {
    margin-top: 40px;
    font-size: 1.45rem;
  }

  .notes-prompt-link {
    min-height: 152px;
    padding-top: 26px;
    padding-bottom: 26px;
    grid-template-columns: 1fr auto;
    gap: 12px 18px;
  }

  .notes-prompt-link .section-kicker {
    grid-column: 1 / -1;
  }

  .notes-prompt-link strong {
    font-size: 1.2rem;
  }

  .footer-inner {
    padding: 26px 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-inner span:nth-child(2) {
    text-align: left;
  }

  .projects-hero {
    padding: 66px 0 52px;
  }

  .projects-hero h1 {
    font-size: 2.8rem;
  }

  .projects-hero-copy {
    font-size: 0.9rem;
  }

  .project-row {
    padding: 38px 0;
  }

  .project-row h2 {
    font-size: 2rem;
  }
}

@media (max-width: 1040px) {
  .system-stage {
    min-height: 0;
    padding: 22px 0 22px 54px;
    display: grid;
    grid-template-columns: minmax(170px, 0.78fr) minmax(220px, 1.22fr);
    grid-template-areas:
      "label visual"
      "title visual"
      "copy visual";
    column-gap: 24px;
    align-items: start;
  }

  .system-stage .system-label {
    grid-area: label;
  }

  .system-stage h3 {
    grid-area: title;
  }

  .system-stage-visual,
  .system-capture {
    grid-area: visual;
    width: 100%;
    margin: 0;
    align-self: center;
  }

  .system-stage > p:not(.system-label) {
    grid-area: copy;
  }
}

@media (max-width: 680px) {
  .system-stage {
    padding: 20px 0 20px 44px;
    grid-template-columns: minmax(108px, 0.84fr) minmax(0, 1.16fr);
    column-gap: 12px;
  }

  .system-stage h3 {
    font-size: 1rem;
  }

  .system-stage > p:not(.system-label):not(.system-result-trace) {
    font-size: 0.6rem;
    line-height: 1.45;
  }

  .system-stage-visual,
  .system-capture {
    height: 80px;
  }
}

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

  .record-connections path {
    animation: none;
  }

  .chain-artifact img {
    transition: none;
  }

  .map-sources image {
    transition: none;
  }
}

/* Homepage network: a concise field guide to the metadata held around each source. */
.simple-memory-map {
  position: relative;
  width: min(calc(100% - 40px), 1440px);
  min-width: 0;
  height: 760px;
  margin: 64px auto 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.simple-memory-map .map-lines {
  position: absolute;
  inset: 0 0 52px;
  width: 100%;
  height: calc(100% - 52px);
}

.simple-memory-map .map-lines path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.simple-memory-map .map-lines-muted path {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1;
}

.simple-memory-map .map-lines-signal path {
  stroke: rgba(199, 164, 90, 0.82);
  stroke-width: 1.4;
  stroke-dasharray: 5 7;
  animation: line-flow 24s linear infinite;
}

.simple-memory-map .map-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.simple-memory-map .map-node > span {
  width: 8px;
  height: 8px;
  margin-top: 2px;
  flex: none;
  display: block;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(46, 112, 82, 0.14);
}

.simple-memory-map .map-node strong,
.simple-memory-map .map-node small {
  display: block;
  letter-spacing: 0;
}

.simple-memory-map .map-node strong {
  font-weight: 500;
}

.simple-memory-map .map-node small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: none;
}

.simple-memory-map .node-people { top: 15%; left: 6%; }
.simple-memory-map .node-time { top: 8%; left: 26%; }
.simple-memory-map .node-places { top: 8%; left: 46%; }
.simple-memory-map .node-events { top: 18%; right: 7%; }
.simple-memory-map .node-institutions { top: 43%; right: 2%; }
.simple-memory-map .node-provenance { right: 5%; bottom: 14%; }
.simple-memory-map .node-language { bottom: 16%; left: 5%; }
.simple-memory-map .node-evidence { bottom: 7%; left: 23%; }

.simple-memory-map .node-language > span {
  background: var(--rust);
  box-shadow: 0 0 0 5px rgba(164, 76, 63, 0.14);
}

.simple-memory-map .node-places > span,
.simple-memory-map .node-time > span {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(77, 118, 144, 0.14);
}

.simple-memory-map .node-events > span,
.simple-memory-map .node-provenance > span,
.simple-memory-map .node-evidence > span {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 164, 90, 0.14);
}

.simple-memory-map .map-source {
  position: absolute;
  z-index: 4;
  width: 104px;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--gold-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.58rem;
}

.simple-memory-map .map-source img {
  width: 82px;
  height: 110px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, 0.45));
}

.simple-memory-map .source-1816 { top: 32%; left: 30%; transform: rotate(-4deg); }
.simple-memory-map .source-1925 { top: 60%; left: 61%; transform: rotate(5deg); }
.simple-memory-map .source-1948 { top: 28%; right: 24%; transform: rotate(4deg); }

.simple-memory-map .map-core {
  position: absolute;
  z-index: 5;
  top: 42%;
  left: 43%;
  width: 206px;
  height: 206px;
  padding: 28px;
  display: grid;
  align-content: center;
  border: 1px solid rgba(228, 210, 155, 0.56);
  border-radius: 50%;
  background: rgba(13, 42, 31, 0.9);
  box-shadow: 0 0 60px rgba(46, 112, 82, 0.18);
}

.simple-memory-map .map-core > span {
  color: var(--gold-soft);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.5rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.simple-memory-map .map-core strong {
  margin-top: 7px;
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.72rem;
  font-weight: 400;
  line-height: 1.05;
}

.simple-memory-map figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 52px;
  padding: 14px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.68rem;
  line-height: 1.5;
}

.simple-memory-map figcaption a {
  color: var(--gold-soft);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.simple-memory-map figcaption a:hover,
.simple-memory-map figcaption a:focus-visible {
  color: #fff;
  outline: none;
}

.building-grid {
  padding-top: 86px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 64px;
}

.building-section h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.02;
}

.building-copy {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.building-statement {
  margin: 48px 0 0;
  padding-top: 24px;
  color: var(--green);
  border-top: 1px solid var(--rule);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.25;
}

@media (max-width: 820px) {
  .simple-memory-map {
    width: min(calc(100% - 40px), var(--shell));
    height: 640px;
    margin-top: 38px;
  }

  .simple-memory-map .map-node small {
    display: none;
  }

  .simple-memory-map .node-people { top: 12%; left: 4%; }
  .simple-memory-map .node-time { top: 5%; left: 36%; }
  .simple-memory-map .node-places { top: 9%; left: auto; right: 3%; }
  .simple-memory-map .node-events { top: 30%; right: 1%; }
  .simple-memory-map .node-institutions { top: 53%; right: 1%; }
  .simple-memory-map .node-provenance { right: 2%; bottom: 19%; }
  .simple-memory-map .node-language { bottom: 22%; left: 2%; }
  .simple-memory-map .node-evidence { bottom: 18%; left: 42%; }

  .simple-memory-map .source-1816 { top: 28%; left: 14%; }
  .simple-memory-map .source-1925 { top: 59%; left: 58%; }
  .simple-memory-map .source-1948 { top: 27%; right: 24%; }

  .simple-memory-map .map-core {
    top: 43%;
    left: 38%;
    width: 148px;
    height: 148px;
    padding: 20px;
  }

  .simple-memory-map .map-core strong {
    font-size: 1.28rem;
  }

  .building-grid {
    padding-top: 62px;
    padding-bottom: 68px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .building-grid > .section-kicker {
    margin: 0;
  }

  .building-section h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 560px) {
  .simple-memory-map {
    height: 580px;
  }

  .simple-memory-map .map-source {
    width: 62px;
  }

  .simple-memory-map .map-source img {
    width: 56px;
    height: 76px;
  }

  .simple-memory-map .map-core {
    top: 42%;
    left: 34%;
    width: 140px;
    height: 140px;
    padding: 18px;
  }

  .simple-memory-map .map-core > span {
    font-size: 0.43rem;
  }

  .simple-memory-map .map-core strong {
    font-size: 1.12rem;
  }

  .simple-memory-map .map-node {
    font-size: 0.5rem;
  }

  .simple-memory-map figcaption {
    min-height: 68px;
    display: grid;
    gap: 4px;
    font-size: 0.58rem;
  }

  .building-section h2 {
    font-size: 2.45rem;
  }
}
