:root {
  --bg: #14172f;
  --bg-deep: #10132b;
  --surface: #1d1b3d;
  --pearl: #f4f1f8;
  --silver: #c5cad8;
  --sky: #8faed8;
  --lilac: #a995d6;
  --salmon: #de96a6;
  --ochre: #bd9161;
  --ink: var(--pearl);
  --ink-muted: var(--silver);
  --acid: var(--lilac);
  --rust: var(--salmon);
  --line: rgba(244, 241, 248, 0.24);
  --line-soft: rgba(244, 241, 248, 0.11);
  --grid: rgba(143, 174, 216, 0.14);
  --sans: 'Inter', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --serif: var(--sans);
  --line-strong: rgba(244, 241, 248, 0.42);
  --frame: min(92vw, 1440px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: dark;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), var(--grid) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), var(--grid) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), var(--grid) 75%, transparent calc(75% + 1px)),
    radial-gradient(circle at 72% 10%, rgba(92, 74, 139, 0.28), transparent 34rem),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img,
svg { max-width: 100%; }

main,
section,
header,
footer,
nav,
div { min-width: 0; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { text-wrap: balance; }

.frame {
  width: var(--frame);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--acid);
  font-family: var(--mono);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 43, 0.94);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(190px, 0.62fr) 1fr auto;
  gap: 30px;
  align-items: center;
}

.wordmark {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.descriptor,
.edition-state {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.3;
}

.descriptor { color: var(--ink-muted); }

.edition-state {
  color: var(--rust);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 30px);
}

.primary-nav a {
  position: relative;
  padding: 30px 0 27px;
  font-size: 0.8rem;
  text-decoration: none;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  border-top: 1px solid var(--acid);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }

.mobile-menu { display: none; }

.hero {
  position: relative;
  height: calc(100svh - 86px);
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(470px, 0.98fr);
  grid-template-rows: minmax(650px, 1fr) auto;
  border-inline: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  z-index: 2;
  padding: clamp(70px, 8vh, 110px) clamp(42px, 5vw, 86px) 60px clamp(28px, 3.5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  max-width: 11.6ch;
  margin-bottom: 28px;
  font-size: clamp(4rem, 5.5vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero__dek {
  max-width: 47ch;
  margin-bottom: 34px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: clamp(0.94rem, 1.15vw, 1.16rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  gap: clamp(22px, 4vw, 62px);
  align-items: center;
}

.action,
.text-link {
  width: max-content;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.84rem;
  text-decoration: none;
}

.action span,
.text-link span { transition: transform 180ms ease; }

.action:hover span,
.action:focus-visible span,
.text-link:hover span,
.text-link:focus-visible span { transform: translateX(4px); }

.action--primary {
  min-width: 240px;
  padding: 17px 22px;
  border: 1px solid var(--acid);
  color: var(--bg);
  background: var(--acid);
}

.hero__atlas {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 165px, var(--grid) 166px, transparent 167px),
    var(--bg-deep);
}

.hero__atlas::before,
.hero__atlas::after {
  content: '';
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero__atlas::before {
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(199, 238, 53, 0.035);
}

.hero__atlas::after {
  width: 38px;
  height: 38px;
  top: 52%;
  left: -19px;
  background:
    linear-gradient(var(--acid), var(--acid)) center / 100% 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) center / 1px 100% no-repeat;
}

.hero__atlas img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 47%;
  opacity: 0.7;
  mix-blend-mode: screen;
  filter: saturate(0.82) contrast(1.04);
  mask-image: linear-gradient(90deg, transparent 0, black 10%, black 92%, transparent 100%);
}

.hero__atlas figcaption {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 30px;
  max-width: 23ch;
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.chronology {
  grid-column: 1 / -1;
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.chronology li {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px clamp(24px, 4vw, 58px);
}

.chronology li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2px;
  width: calc(55% - 36px);
  border-top: 1px solid var(--line);
}

.chronology li > span {
  width: 18px;
  height: 18px;
  border: 1px solid var(--acid);
  border-radius: 50%;
}

.chronology li:nth-child(2) > span { border-color: var(--ink); }
.chronology li:nth-child(3) > span { border-style: dotted; border-color: var(--ink-muted); }

.chronology strong,
.chronology small {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
}

.chronology small { color: var(--ink-muted); }

.section-heading {
  display: flex;
  gap: 40px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 4.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading p {
  max-width: 52ch;
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.coordinate-cross {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: block;
  background:
    linear-gradient(var(--acid), var(--acid)) center / 100% 1px no-repeat,
    linear-gradient(var(--acid), var(--acid)) center / 1px 100% no-repeat;
}

.strata {
  padding-block: clamp(80px, 10vw, 140px) 90px;
  border-inline: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
}

.strata > .section-heading { padding: 0 clamp(28px, 3.5vw, 58px) 58px; }

.strata__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.strata article {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 34px clamp(26px, 3vw, 48px);
}

.strata article + article { border-left: 1px solid var(--line); }
.strata article:nth-child(3n + 1) { border-left: 0; }
.strata article:nth-child(n + 4) { border-top: 1px solid var(--line); }

.strata__number {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.strata__icon {
  width: 48px;
  height: 48px;
  justify-self: end;
  fill: none;
  stroke: var(--acid);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.strata article > div { grid-column: 1 / -1; align-self: end; }

.strata h3 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.strata p {
  max-width: 43ch;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.strata .text-link { grid-column: 1 / -1; margin-top: 10px; }

.publication-rule {
  margin: 24px clamp(28px, 3.5vw, 58px) 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.archive,
.presence,
.research {
  padding: clamp(90px, 10vw, 150px) clamp(28px, 3.5vw, 58px);
  border-inline: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
}

.section-heading--archive { align-items: start; }

.archive-years {
  position: relative;
  min-height: 290px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7vw;
  align-items: center;
  margin-top: 38px;
  padding: 62px 4vw 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 180' preserveAspectRatio='none'%3E%3Cpath d='M0 95 C125 95 130 35 260 58 S470 120 610 83 S830 73 960 87 S1100 30 1200 16' fill='none' stroke='%23a995d6' stroke-width='1.5'/%3E%3Cpath d='M0 108 C125 108 132 48 260 72 S470 134 610 97 S830 87 960 101 S1100 44 1200 30' fill='none' stroke='%237184a9' stroke-width='1' stroke-dasharray='3 4'/%3E%3C/svg%3E");
  background-position: center 50px;
  background-repeat: no-repeat;
  background-size: 100% 180px;
}

.archive-years a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 19px;
  text-decoration: none;
}

.archive-years__node {
  width: 32px;
  height: 32px;
  border: 1px solid var(--acid);
  border-radius: 50%;
  background: radial-gradient(circle, var(--acid) 0 6px, transparent 7px);
  transition: transform 180ms ease, background 180ms ease;
}

.archive-years a:hover .archive-years__node,
.archive-years a:focus-visible .archive-years__node {
  background: radial-gradient(circle, var(--ink) 0 6px, transparent 7px);
  transform: scale(1.15);
}

.archive-years strong {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 400;
}

.archive-years small {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.archive-doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.archive-doors span {
  padding: 20px 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-align: center;
}

.archive-doors span + span { border-left: 1px solid var(--line); }

.presence .section-heading { margin-bottom: 36px; }
.presence .section-heading p { margin: 0 0 7px; }

.evidence-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.evidence-list li {
  min-height: 128px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.evidence-list__number {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 2rem;
}

.evidence-list h3 {
  margin-bottom: 6px;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.evidence-list p {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.evidence-list .text-link { margin-right: 18px; }

.research > .section-heading { margin-bottom: 42px; }

.research__record {
  min-height: 138px;
  display: grid;
  grid-template-columns: 84px minmax(270px, 1.35fr) minmax(240px, 0.82fr) auto;
  align-items: stretch;
  border-block: 1px solid var(--line);
}

.research__record > * {
  display: flex;
  align-items: center;
  padding: 26px 30px;
}

.research__record > * + * { border-left: 1px solid var(--line); }

.research__number {
  justify-content: center;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 1.4rem;
}

.research__title { flex-direction: column; align-items: flex-start; justify-content: center; }

.research__title h3 {
  margin-bottom: 8px;
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  font-weight: 400;
}

.research__title p {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.research__record strong {
  color: var(--rust);
  font-family: var(--mono);
  font-size: 0.77rem;
  font-weight: 400;
}

.research__record > .text-link { align-self: center; margin-inline: 28px 0; padding: 0 0 5px; }

.iqsur {
  position: relative;
  min-height: 630px;
  padding: 70px clamp(28px, 3.5vw, 58px) 100px;
  border-inline: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.iqsur__trace {
  position: absolute;
  top: 60px;
  right: -3%;
  left: -3%;
  height: 330px;
}

.iqsur__trace::before,
.iqsur__trace::after,
.iqsur__trace span {
  content: '';
  position: absolute;
  border-color: var(--acid);
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 64px 0;
}

.iqsur__trace::before { inset: 0 40% 0 0; }
.iqsur__trace::after { inset: 18px calc(40% - 18px) -18px 0; opacity: 0.45; border-style: dotted; }
.iqsur__trace span { inset: 34px calc(40% - 34px) -34px 0; opacity: 0.22; border-style: dotted; }

.iqsur__copy {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 3.5vw, 58px);
  bottom: 92px;
  max-width: 590px;
}

.iqsur h2 {
  margin-bottom: 10px;
  font-size: clamp(4.5rem, 7vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.iqsur__chronology {
  margin-bottom: 22px;
  color: var(--acid);
  font-family: var(--mono);
}

.iqsur__copy > p:not(.iqsur__chronology) {
  max-width: 54ch;
  margin-bottom: 28px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.text-link--disabled {
  color: var(--acid);
  border-bottom-style: dotted;
  pointer-events: none;
}

.site-footer { background: var(--bg-deep); }

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: clamp(34px, 6vw, 90px);
  padding: 28px clamp(28px, 3.5vw, 58px);
  border-inline: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
}

.site-footer nav > * {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-decoration: underline;
  text-underline-offset: 7px;
}

.site-footer__closing {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(28px, 3.5vw, 58px);
  border-inline: 1px solid var(--line-soft);
}

.site-footer__closing p {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

@media (max-width: 1120px) {
  .site-header__inner { grid-template-columns: auto minmax(170px, 0.5fr) 1fr auto; gap: 18px; }
  .primary-nav { gap: 20px; }
  .edition-state { font-size: 0.63rem; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(410px, 0.85fr); }
  .research__record { grid-template-columns: 70px 1fr 240px; }
  .research__record > .text-link { grid-column: 2 / -1; margin: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); padding: 18px 30px; }
}

@media (min-width: 641px) {
  .strata > .section-heading h2,
  .presence > .section-heading h2 { max-width: none; }
}

@media (max-width: 920px) {
  :root { --frame: min(92vw, 780px); }

  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .descriptor { justify-self: start; }
  .primary-nav,
  .site-header .edition-state { display: none; }

  .mobile-menu { display: block; justify-self: end; }
  .mobile-menu summary {
    min-width: 78px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border-left: 1px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.78rem;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: '+'; margin-left: 10px; color: var(--acid); }
  .mobile-menu[open] summary::after { content: '−'; }
  .mobile-menu nav {
    position: absolute;
    z-index: 30;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 0 4vw;
    border-block: 1px solid var(--line);
    background: rgba(16, 19, 43, 0.98);
  }
  .mobile-menu a {
    min-height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-soft);
    color: var(--acid);
    font-family: var(--mono);
    text-decoration: none;
  }

  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .hero__copy { padding: 78px clamp(26px, 5vw, 44px) 48px; }
  h1 { max-width: 12ch; font-size: clamp(3.7rem, 9vw, 5.5rem); }
  .hero__atlas { min-height: 560px; border-top: 1px solid var(--line); border-left: 0; }
  .hero__atlas img { object-fit: contain; }
  .hero__atlas::after { top: auto; bottom: 58px; left: 18px; }
  .chronology { grid-column: 1; }

  .strata__list { grid-template-columns: 1fr; }
  .strata article { min-height: 230px; }
  .strata article + article { border-top: 1px solid var(--line); border-left: 0; }
  .presence .section-heading { display: block; }
  .presence .section-heading p { margin-top: 16px; }

  .research__record { grid-template-columns: 70px 1fr; }
  .research__record > strong { border-top: 1px solid var(--line); border-left: 0; }
  .research__record > strong { grid-column: 1 / -1; }
  .research__record > .text-link { grid-column: 1 / -1; border-left: 0; }
}

@media (max-width: 640px) {
  :root { --frame: 100%; }

  body { background-size: 100% 100%, auto, auto; }
  .site-header__inner {
    position: relative;
    min-height: 116px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    padding: 18px 20px;
  }
  .wordmark { font-size: 0.94rem; }
  .descriptor { grid-row: 2; font-size: 0.68rem; }
  .mobile-menu { grid-column: 2; grid-row: 1 / -1; }
  .mobile-menu {
    position: absolute;
    top: 18px;
    right: 20px;
  }
  .mobile-menu summary { min-width: auto; border-left: 0; font-size: 0.88rem; }

  .hero__copy {
    position: relative;
    padding: 74px 20px 46px;
  }
  .hero__copy::before {
    content: 'Arquitectura no publicada';
    position: absolute;
    top: 28px;
    color: var(--rust);
    font-family: var(--mono);
    font-size: 0.67rem;
  }
  h1 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(2.82rem, 12.7vw, 3.45rem);
    line-height: 0.98;
    text-wrap: pretty;
  }
  .hero__dek { width: 100%; max-width: 100%; margin-bottom: 28px; font-size: 0.82rem; line-height: 1.62; }
  .hero__actions { display: grid; gap: 20px; }
  .action--primary { min-width: min(100%, 285px); }
  .action--secondary { font-size: 0.76rem; }
  .hero__atlas { min-height: 520px; }
  .hero__atlas img { object-position: center; transform: scale(1.08); }
  .hero__atlas figcaption { right: auto; bottom: 22px; left: 20px; max-width: 30ch; font-size: 0.62rem; }

  .chronology {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
  .chronology li { min-height: 68px; padding: 12px 0; }
  .chronology li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 8px;
    width: calc(100% - 8px);
  }

  .section-heading { align-items: start; }
  .section-heading h2 { max-width: 10ch; font-size: clamp(2.7rem, 12vw, 4rem); }
  .coordinate-cross { width: 36px; height: 36px; }

  .strata { padding-block: 70px 48px; }
  .strata > .section-heading { padding: 0 20px 42px; }
  .strata article { min-height: 245px; padding: 28px 20px; }
  .publication-rule { margin: 22px 20px 0; }

  .archive,
  .presence,
  .research { padding: 74px 20px; }

  .archive-years {
    min-height: 470px;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 46px 0 20px 40px;
    background-image: linear-gradient(var(--acid), var(--acid));
    background-position: 46px 42px;
    background-size: 1px calc(100% - 74px);
  }
  .archive-years a { grid-template-columns: 34px 64px 1fr; justify-items: start; gap: 18px; }
  .archive-years__node { align-self: center; }
  .archive-years small { align-self: center; }
  .archive-doors { grid-template-columns: 1fr 1fr; }
  .archive-doors span { padding: 16px 6px; }
  .archive-doors span:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .archive-doors span:nth-child(4) { border-top: 1px solid var(--line); }

  .evidence-list li {
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 22px 0;
  }
  .evidence-list__number { align-self: stretch; font-size: 1.5rem; }
  .evidence-list .text-link { grid-column: 2; margin: 4px 0 0; }

  .research__record { grid-template-columns: 52px 1fr; }
  .research__record > * { padding: 22px 18px; }
  .research__record > strong,
  .research__record > .text-link { grid-column: 1 / -1; border-left: 0; }

  .iqsur { min-height: 600px; padding-inline: 20px; }
  .iqsur__trace { top: 40px; left: -40%; right: -40%; height: 330px; }
  .iqsur__copy { right: 20px; bottom: 70px; left: 20px; }
  .iqsur h2 { font-size: 5.4rem; }

  .site-footer nav {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .site-footer nav > * { min-height: 58px; display: flex; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--line-soft); }
  .site-footer nav > *:nth-child(even) { border-left: 1px solid var(--line); }
  .site-footer__closing { min-height: 150px; align-items: flex-end; padding: 28px 20px; }
  .site-footer__closing p { max-width: 32ch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (max-width: 360px) {
  h1 { font-size: 11.8vw; }
}

.module-kicker {
  margin: 42px 0 12px !important;
  color: var(--sky) !important;
  font-family: var(--mono);
  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-intro h1 { margin-top: 12px; }

.module-ledger,
.learning-boundary,
.module-catalog,
.conflict-theaters,
.map-workbench,
.economic-sources,
.economic-table {
  padding: clamp(64px, 8vw, 112px) clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}

.module-ledger > header,
.learning-boundary > header,
.module-catalog > header,
.conflict-theaters > header,
.economic-sources > header,
.economic-table > header {
  margin-bottom: 36px;
}

.module-ledger > header small,
.learning-boundary > header small,
.module-catalog > header small,
.conflict-theaters > header small,
.economic-sources > header small,
.economic-table > header small {
  color: var(--sky);
  font: 0.64rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-ledger > header h2,
.learning-boundary > header h2,
.module-catalog > header h2,
.conflict-theaters > header h2,
.economic-sources > header h2,
.economic-table > header h2 {
  max-width: 18ch;
  margin: 10px 0 0;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.module-ledger__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module-ledger article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-ledger article > small { color: var(--lilac); font: 0.62rem var(--mono); text-transform: uppercase; }
.module-ledger h3 { margin: 22px 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; }
.module-ledger p { max-width: 58ch; color: var(--silver); font-size: 0.82rem; line-height: 1.65; }
.module-ledger footer { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line-soft); font: 0.62rem var(--mono); }
.module-ledger footer span { color: var(--salmon); }
.module-ledger footer a { color: var(--sky); }

.learning-boundary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.learning-boundary dl div { min-height: 180px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.learning-boundary dt { color: var(--lilac); font: 0.66rem var(--mono); text-transform: uppercase; }
.learning-boundary dd { margin: 22px 0 0; color: var(--silver); font-size: 0.84rem; line-height: 1.7; }

.observatory-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(169, 149, 214, 0.08);
}
.observatory-disclosure strong { color: var(--lilac); font: 0.66rem var(--mono); text-transform: uppercase; }
.observatory-disclosure p { max-width: 82ch; margin: 0; color: var(--silver); font-size: 0.76rem; line-height: 1.6; }
.observatory-disclosure a { color: var(--sky); font: 0.68rem var(--mono); white-space: nowrap; }
.conflict-theaters { padding-top: 86px; }

.map-workbench { padding-top: 0; }
.map-workbench > * { scroll-margin-top: 24px; }

.economic-sources > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.source-card { min-height: 180px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.source-card > span { width: max-content; padding: 5px 8px; border: 1px solid currentColor; color: var(--silver); font: 0.58rem var(--mono); text-transform: uppercase; }
.source-card--ok > span { color: var(--sky); }
.source-card--partial > span { color: var(--ochre); }
.source-card--unavailable > span { color: var(--salmon); }
.source-card strong { font-size: 1.3rem; font-weight: 500; }
.source-card small { margin-top: auto; color: var(--silver); font: 0.62rem/1.55 var(--mono); }

.economic-table__rows { border-top: 1px solid var(--line); }
.economic-table__rows > a { min-height: 72px; display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(110px, 0.7fr)); gap: 18px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); text-decoration: none; }
.economic-table__rows > a:hover { background: rgba(143, 174, 216, 0.08); }
.economic-table__rows strong { font-size: 0.84rem; font-weight: 500; }
.economic-table__rows span,
.economic-table__rows time { color: var(--silver); font: 0.64rem var(--mono); }

@media (max-width: 920px) {
  .observatory-disclosure { grid-template-columns: 1fr; }
  .observatory-disclosure a { white-space: normal; }
  .economic-sources > div { grid-template-columns: 1fr 1fr; }
  .economic-table__rows > a { grid-template-columns: minmax(180px, 1.4fr) repeat(2, minmax(100px, 0.7fr)); }
  .economic-table__rows > a > :nth-child(4),
  .economic-table__rows > a > :nth-child(5) { display: none; }
}

@media (max-width: 640px) {
  .module-ledger,
  .learning-boundary,
  .module-catalog,
  .conflict-theaters,
  .map-workbench,
  .economic-sources,
  .economic-table { padding: 64px 20px; }
  .module-ledger__grid,
  .learning-boundary dl,
  .economic-sources > div { grid-template-columns: 1fr; }
  .module-ledger article { min-height: 270px; padding: 24px 20px; }
  .learning-boundary dl div { min-height: 0; padding: 24px 20px; }
  .observatory-disclosure { padding: 24px 20px; }
  .map-workbench { padding-inline: 0; }
  .economic-table__rows > a { grid-template-columns: 1fr auto; gap: 9px 14px; padding: 18px 0; }
  .economic-table__rows > a > :nth-child(3) { grid-column: 2; }
}

.catalog-main {
  min-height: calc(100vh - 112px);
  border-inline: 1px solid var(--line);
  background: var(--bg);
}

.catalog-intro {
  position: relative;
  min-height: 420px;
  padding: clamp(68px, 9vw, 132px) clamp(28px, 7vw, 104px) 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 20%, rgba(169, 149, 214, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%);
}

.catalog-intro > a,
.catalog-detail > header > a {
  color: var(--sky);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-decoration: none;
  text-transform: uppercase;
}

.catalog-intro h1,
.catalog-detail h1,
.catalog-state h1 {
  max-width: 13ch;
  margin: 48px 0 24px;
  color: var(--pearl);
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.92;
}

.catalog-intro > p {
  max-width: 62ch;
  margin: 0;
  color: var(--silver);
  font-size: 0.92rem;
  line-height: 1.7;
}

.catalog-intro .coordinate-cross { position: absolute; right: 54px; bottom: 48px; }

.catalog-state {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 72px clamp(28px, 7vw, 104px);
}

.catalog-state h2 { margin: 0; color: var(--pearl); font-size: clamp(2rem, 4vw, 4.2rem); }
.catalog-state p { max-width: 64ch; margin: 0; color: var(--silver); line-height: 1.7; }

.catalog-list { margin: 0; padding: 0; list-style: none; }
.catalog-list li {
  min-height: 220px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) minmax(180px, 0.28fr);
  border-bottom: 1px solid var(--line);
}

.catalog-list__number {
  display: grid;
  place-items: start center;
  padding-top: 34px;
  border-right: 1px solid var(--line);
  color: var(--lilac);
  font-family: var(--mono);
  font-size: 1.35rem;
}

.catalog-list__body { padding: 34px clamp(24px, 4vw, 58px); }
.catalog-list__body small {
  color: var(--sky);
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}
.catalog-list__body h2 { margin: 16px 0 14px; font-size: clamp(1.8rem, 3vw, 3.6rem); line-height: 1; }
.catalog-list__body h2 a { color: var(--pearl); text-decoration: none; }
.catalog-list__body p { max-width: 66ch; color: var(--silver); line-height: 1.58; }
.catalog-list__body footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 0.62rem;
}
.catalog-list > li > .text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 32px;
  border-left: 1px solid var(--line);
}

.catalog-detail { padding-bottom: 90px; }
.catalog-detail > header { padding: clamp(68px, 9vw, 132px) clamp(28px, 7vw, 104px) 70px; }
.catalog-detail > header > p {
  margin-top: 54px;
  color: var(--sky);
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}
.catalog-detail h1 { max-width: 15ch; margin-top: 18px; }
.catalog-detail__summary { max-width: 70ch; color: var(--silver); font-size: 1rem; line-height: 1.7; }
.catalog-provenance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--line);
}
.catalog-provenance div { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.catalog-provenance div:last-child { border-right: 0; }
.catalog-provenance dt { color: var(--ink-muted); font: 0.58rem var(--mono); text-transform: uppercase; }
.catalog-provenance dd { margin: 10px 0 0; color: var(--pearl); font-size: 0.78rem; line-height: 1.45; }
.catalog-provenance code { overflow-wrap: anywhere; color: var(--sky); font-family: var(--mono); }
.catalog-detail__body {
  max-width: 78ch;
  margin: 0 auto;
  padding: 72px 28px;
  white-space: pre-wrap;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.82;
}
.catalog-detail__sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0 clamp(28px, 7vw, 104px);
}

@media (max-width: 920px) {
  .catalog-list li { grid-template-columns: 72px 1fr; }
  .catalog-list > li > .text-link { grid-column: 2; border-top: 1px solid var(--line); border-left: 0; }
  .catalog-provenance { grid-template-columns: 1fr 1fr; }
  .catalog-provenance div:nth-child(2) { border-right: 0; }
  .catalog-provenance div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .catalog-main { border-inline: 0; }
  .catalog-intro { min-height: 410px; padding: 70px 20px 54px; }
  .catalog-intro h1,
  .catalog-detail h1,
  .catalog-state h1 { max-width: 100%; font-size: clamp(3rem, 15vw, 4.8rem); }
  .catalog-intro .coordinate-cross { right: 20px; bottom: 28px; }
  .catalog-state { min-height: 320px; padding-inline: 20px; }
  .catalog-list li { min-height: 0; grid-template-columns: 48px 1fr; }
  .catalog-list__number { padding-top: 26px; font-size: 0.9rem; }
  .catalog-list__body { padding: 26px 20px; }
  .catalog-list__body h2 { font-size: 2rem; }
  .catalog-list > li > .text-link { grid-column: 1 / -1; padding: 20px; }
  .catalog-detail > header { padding: 70px 20px 46px; }
  .catalog-provenance { grid-template-columns: 1fr; }
  .catalog-provenance div { border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-provenance div:nth-child(n + 3) { border-top: 0; }
  .catalog-detail__body { padding: 52px 20px; }
  .catalog-detail__sources { align-items: stretch; flex-direction: column; padding-inline: 20px; }
}
