@font-face {
  font-family: Barlow;
  src: url(../fonts/Barlow-Regular.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url(../fonts/Barlow-SemiBold.woff2) format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url(../fonts/BarlowCondensed-SemiBold.woff2) format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --paper: #f5f5f2;
  --white: #ffffff;
  --ink: #111112;
  --text: #171719;
  --muted: #55555b;
  --accent: #b93022;
  --light-accent: #ff695b;
  --line: #d1d1d3;
  --dark-line: #49494d;
  --space-7: 7rem;
  --gutter: clamp(1.25rem, 4.8vw, 5rem);
  --content: 1440px;
  --reading: 70ch;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, Arial, sans-serif;
  --radius: 4px;
  --border: 1px solid var(--line);
  --shadow: 0 16px 60px #0004;
  --motion: 280ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-nav: 20;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
::selection {
  background: var(--accent);
  color: var(--white);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.dark :focus-visible {
  outline-color: var(--light-accent);
}
input,
textarea {
  caret-color: var(--accent);
}
* {
  scrollbar-color: var(--muted) var(--paper);
  scrollbar-width: thin;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  background: var(--white);
  padding: 12px;
  z-index: 100;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.wrap {
  max-width: var(--content);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.section {
  padding-block: var(--space-7);
}
.dark {
  background: var(--ink);
  color: var(--paper);
  --muted: #bdbdc3;
  --line: var(--dark-line);
  --accent: var(--light-accent);
}
.section-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  border-top: var(--border);
  padding-top: 1.5rem;
  margin-bottom: 3.5rem;
}
.section-top h2 {
  max-width: 850px;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.5rem, 6.6vw, 6rem);
}
h2 {
  font-size: clamp(2.7rem, 4.6vw, 4.7rem);
  margin-bottom: 1.3rem;
}
h3 {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  margin-bottom: 1rem;
}
h4 {
  font-size: 1.1rem;
  line-height: 1.3;
}
p {
  margin-bottom: 1.35rem;
  max-width: var(--reading);
}
.lead {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  max-width: 60ch;
}
.note {
  color: var(--muted);
}
.note {
  font-size: 0.91rem;
  line-height: 1.5;
}
.caption {
  font-size: 0.78rem;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.45;
}
.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.num {
  font-variant-numeric: tabular-nums;
}
.arrow {
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: transparent;
  transition:
    background var(--motion),
    color var(--motion),
    border-color var(--motion);
}
.action.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.dark .action.primary {
  background: var(--light-accent);
  color: var(--ink);
  border-color: var(--light-accent);
}
.action:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.dark .action:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  font-weight: 600;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-block: 0.75rem;
}
.source-links .source-link {
  min-height: 44px;
}
.site-nav {
  border-bottom: 1px solid var(--dark-line);
  background: var(--ink);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}
.nav-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-mark {
  width: 36px;
  height: 42px;
}
.brand-type {
  font-family: var(--display);
  font-size: 22px;
  line-height: 0.91;
  letter-spacing: 0;
}
.brand-type b {
  font-size: 25px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: clamp(1rem, 2.3vw, 2.6rem);
  align-items: center;
  margin-left: auto;
  font-size: 0.9rem;
}
.nav-links > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-links > a[aria-current="page"],
.nav-links > a[aria-current="location"] {
  text-decoration: underline;
  text-decoration-color: var(--light-accent);
  text-underline-offset: 8px;
}
.nav-links .nav-source {
  border: 1px solid #717178;
  padding: 0 18px;
  gap: 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #717178;
  min-height: 44px;
  padding: 8px 14px;
  margin-left: auto;
}
.site-footer {
  padding-block: 4rem 2rem;
}
.intro-line {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  padding-block: 5rem;
}
.intro-line h2 {
  font-size: 3.6rem;
}
.intro-line .lead {
  margin-bottom: 0;
}
.time-story {
  position: relative;
  border-top: var(--border);
  padding-block: 5rem;
}
.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.horizon-number {
  font: 600 clamp(8rem, 20vw, 19rem)/0.8 var(--display);
  letter-spacing: -0.04em;
  position: relative;
  margin-bottom: 2.5rem;
}
.horizon-number span {
  color: var(--accent);
}
.life-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 2px solid var(--accent);
  padding-top: 1.5rem;
  margin-top: 3rem;
}
.life-line span {
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
}
.life-line span:before {
  content: "";
  position: absolute;
  top: -1.9rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.time-control {
  padding: 2rem 0 0;
  border-top: var(--border);
}
.time-control label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}
.time-control input {
  width: 100%;
  accent-color: var(--accent);
  min-height: 44px;
}
.age-output {
  font: 600 2rem var(--display);
  display: block;
}
.manifest-statement {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 7vw, 9rem);
  border-top: 2px solid var(--accent);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.manifest-copy {
  max-width: 66rem;
}
.manifest-kicker {
  color: var(--accent);
  font: 600 0.78rem/1.2 var(--body);
  letter-spacing: 0.12em;
  margin-bottom: 1.4rem;
}
.manifest-statement h2 {
  max-width: 17ch;
}
.manifest-statement blockquote {
  border-left: 2px solid var(--accent);
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
}
.manifest-statement blockquote p {
  font: 600 clamp(1.5rem, 2.65vw, 2.55rem)/1.18 var(--display);
  letter-spacing: -0.012em;
  max-width: 34ch;
}
.manifest-statement blockquote p:last-child {
  margin-bottom: 0;
}
.manifest-author {
  font-weight: 600;
  margin-bottom: 1.35rem;
}
.manifest-author span {
  color: var(--muted);
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 0.2rem;
}
.manifest-source {
  align-items: center;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 600;
  gap: 0.55rem;
  min-height: 44px;
}
.manifest-source span {
  color: var(--accent);
  font-size: 1.1em;
}
.manifest-disclaimer {
  align-self: end;
  border-top: var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  padding-top: 1rem;
}
.manifest-disclaimer p {
  margin-bottom: 0;
}
.data-moment {
  padding-block: 6rem;
}
.data-moment .section-top {
  margin-bottom: 2rem;
}
.projection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.projection {
  padding: 2rem 4rem 2rem 0;
  min-width: 0;
}
.projection + .projection {
  padding-left: 4rem;
  border-left: var(--border);
}
.big-stat {
  display: block;
  font: 600 clamp(7rem, 14vw, 14rem)/0.9 var(--display);
  letter-spacing: -0.03em;
  margin: 1.6rem 0 2rem;
  white-space: nowrap;
}
.big-stat small {
  font-size: 0.42em;
  vertical-align: top;
  line-height: 1.7;
  letter-spacing: 0;
}
.projection:first-child .big-stat {
  color: var(--light-accent);
}
.projection h3 {
  font-family: var(--body);
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 600;
  max-width: 25ch;
}
.projection .note {
  max-width: 43ch;
}
.comparison {
  border-top: var(--border);
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.comparison details {
  border-bottom: var(--border);
  padding-bottom: 1rem;
}
.comparison summary {
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
.comparison details p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-top: 1rem;
}
.consequence {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 7rem;
  align-items: start;
}
.two-levels {
  display: grid;
  gap: 2rem;
}
.level {
  border-top: var(--border);
  padding-top: 1.6rem;
}
.level h3 {
  font-size: 2rem;
}
.level p {
  font-size: 1.02rem;
}
.polska-strip {
  border-block: var(--border);
  padding-block: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
}
.polska-strip h2 {
  font-size: 3.5rem;
}
.pl-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pl-sequence .year {
  font: 600 3.2rem var(--display);
  color: var(--accent);
}
.pl-sequence p {
  font-size: 0.95rem;
}
.world-preview {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: center;
}
.world-art {
  display: block;
  width: 100%;
  min-height: 210px;
  color: var(--muted);
}
.world-art > svg {
  width: 100%;
  height: auto;
}
.world-marker {
  fill: var(--light-accent);
  stroke: var(--ink);
  stroke-width: 2;
}
.world-grid {
  stroke: #49494d;
  stroke-width: 0.65;
  fill: none;
}
.method-index {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
}
.method-list {
  border-top: var(--border);
}
.method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: var(--border);
  min-height: 88px;
  padding: 20px 0;
  text-decoration: none;
  transition: color var(--motion);
}
.method-row:hover {
  color: var(--accent);
}
.method-row strong {
  font: 600 1.9rem/1.05 var(--display);
  display: block;
}
.method-row small {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.closing {
  padding: 6rem 0;
}
.closing h2 {
  font-size: clamp(3rem, 6vw, 6rem);
  max-width: 1000px;
}
.closing .bottom-split {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
}
.closing .lead {
  max-width: 47ch;
}
.page-head {
  padding-block: 2.3rem 4rem;
  border-bottom: var(--border);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 3rem;
  list-style: none;
  padding-left: 0;
}
.breadcrumbs li + li:before {
  content: "/";
  margin-right: 10px;
}
.page-head h1 {
  max-width: 1150px;
  margin-bottom: 1.6rem;
}
.page-head .lead {
  max-width: 65ch;
}
.page-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2rem;
}
.reading-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 5rem;
  padding-block: 4rem 6rem;
}
.contents {
  align-self: start;
  position: sticky;
  top: 2rem;
  font-size: 0.88rem;
}
.contents p {
  font-weight: 600;
}
.contents a {
  display: block;
  min-height: 40px;
  border-top: var(--border);
  padding: 11px 0;
  text-decoration: none;
}
.contents a:hover {
  color: var(--accent);
}
.reading {
  min-width: 0;
  max-width: 950px;
}
.reading > section {
  margin-bottom: 4rem;
  scroll-margin-top: 2rem;
}
.reading h2 {
  font-size: 2.8rem;
  max-width: 26ch;
}
.reading h3 {
  font-size: 1.9rem;
}
.reading li {
  margin-block: 0.6rem;
}
.reading ul {
  padding-left: 1.25rem;
}
.rule-box {
  border-block: var(--border);
  padding-block: 1.5rem;
  margin-block: 2rem;
}
.rule-box p:last-child {
  margin-bottom: 0;
}
.claim {
  scroll-margin-top: 3rem;
}
.claim .claim-id {
  display: block;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 1rem;
}
.claim-text {
  font-size: 1.15rem;
}
.study-row {
  padding-block: 1.5rem;
  border-top: var(--border);
}
.study-row h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}
.study-row p {
  font-size: 0.95rem;
}
.study-row .meta-line {
  margin-bottom: 0.5rem;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.meta-line span {
  font-variant-numeric: tabular-nums;
}
.table-scroll {
  overflow-x: auto;
  border-top: var(--border);
  margin-block: 2rem;
  max-width: 100%;
  overscroll-behavior-inline: contain;
}
.table-scroll:focus-visible {
  outline-offset: -3px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 0.92rem;
  text-align: left;
}
caption {
  text-align: left;
  font-size: 0.9rem;
  padding-block: 1rem;
  color: var(--muted);
}
th,
td {
  padding: 16px 18px 16px 0;
  border-bottom: var(--border);
  vertical-align: top;
}
th {
  font-size: 0.8rem;
  font-weight: 600;
}
td:first-child {
  font-weight: 600;
}
details {
  scroll-margin-top: 2rem;
}
summary {
  cursor: pointer;
  min-height: 44px;
}
.timeline-shell {
  padding-block: 4rem;
}
.timeline-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-block: 2rem;
}
.chip {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.85rem;
  border-radius: var(--radius);
}
.chip[aria-pressed="true"],
.chip:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--border);
}
.timeline-event {
  display: grid;
  grid-template-columns: 100px 1.15fr 1fr;
  gap: 2.5rem;
  padding-block: 1.8rem;
  border-bottom: var(--border);
  position: relative;
}
.timeline-event:before {
  content: "";
  position: absolute;
  left: 113px;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line);
}
.timeline-event .year {
  font: 600 2.5rem/1 var(--display);
  font-variant-numeric: tabular-nums;
}
.timeline-event h3 {
  font-size: 1.8rem;
}
.timeline-event p {
  font-size: 0.93rem;
  margin-bottom: 0.4rem;
}
.timeline-event .source-link {
  font-size: 0.8rem;
}
.world-module {
  padding-block: 4rem;
}
.world-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.world-controls button {
  min-width: 105px;
}
.country-display {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: start;
}
.world-graphic {
  position: sticky;
  top: 2rem;
  background: var(--ink);
  padding: 2rem 1.5rem;
  color: var(--paper);
}
.world-graphic svg {
  width: 100%;
  display: block;
}
.world-graphic .map-button {
  cursor: pointer;
  fill: transparent;
  stroke: transparent;
}
.world-graphic a:focus-visible {
  outline: none;
}
.world-graphic a:focus-visible .map-button {
  stroke: var(--light-accent);
  stroke-width: 2;
}
.country-panel {
  border-top: var(--border);
  padding-top: 1.6rem;
  margin-bottom: 3rem;
}
.country-panel h2 {
  font-size: 3.4rem;
}
.country-panel h3 {
  font-size: 1.7rem;
}
.facts {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  margin-block: 1.5rem;
  font-size: 0.92rem;
}
.facts dt,
.facts dd {
  border-top: var(--border);
  padding: 12px 0;
  margin: 0;
}
.facts dt {
  font-weight: 600;
  padding-right: 20px;
}
.facts dd {
  overflow-wrap: anywhere;
}
.filters {
  padding: 2rem 0;
  border-block: var(--border);
  margin-bottom: 2rem;
}
.filter-basic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #808088;
  background: var(--white);
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 150px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #606068;
  opacity: 1;
}
.filter-advanced {
  margin-top: 24px;
  border: var(--border);
  border-radius: 6px;
  background: var(--white);
}
.filter-advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}
.filter-advanced summary::-webkit-details-marker {
  display: none;
}
.filter-toggle-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.filter-toggle-copy strong {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}
.filter-toggle-copy small {
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.85rem;
  line-height: 1.5;
}
.filter-toggle-icon {
  flex: 0 0 24px;
  color: var(--accent);
  transition: transform 180ms ease;
}
.filter-advanced[open] .filter-toggle-icon {
  transform: rotate(180deg);
}
.filter-advanced summary:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.filter-advanced summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.filter-advanced .advanced-grid {
  margin: 0 22px 24px;
  padding-top: 24px;
  border-top: var(--border);
  gap: 24px 20px;
  align-items: start;
}
.filter-advanced .field {
  min-width: 0;
}
.filter-advanced .field label {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 9px;
}
@media (max-width: 600px) {
  .filter-advanced summary {
    padding: 16px;
    gap: 12px;
  }
  .filter-advanced .advanced-grid {
    grid-template-columns: 1fr;
    margin: 0 16px 20px;
    padding-top: 20px;
    gap: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .filter-toggle-icon {
    transition: none;
  }
}
.nav-source small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 400;
}
.breadcrumbs > li {
  min-width: 0;
  overflow-wrap: anywhere;
}
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.filter-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.result-count {
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.5em;
}
.reset-button {
  background: none;
  border: 0;
  text-decoration: underline;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.registry {
  list-style: none;
  padding: 0;
  margin: 0;
}
.evidence-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 160px;
  gap: 2rem;
  padding: 2rem 0;
  border-top: var(--border);
  scroll-margin-top: 2rem;
}
.evidence-year {
  font: 600 2.4rem/1 var(--display);
}
.evidence-row h2 {
  font-family: var(--body);
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.3;
  max-width: 65ch;
  margin-bottom: 0.6rem;
}
.evidence-row .authors {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.7rem;
}
.evidence-row .summary {
  font-size: 0.96rem;
  margin: 1rem 0 0.4rem;
}
.evidence-row .source-link {
  margin-top: 0.5rem;
}
.record-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}
.record-actions a {
  font-size: 0.84rem;
}
.no-results {
  padding: 3rem 0;
}
.no-results h2 {
  font-size: 2.8rem;
}
.evidence-detail .record-title {
  font-family: var(--body);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.record-main {
  max-width: 950px;
  padding-block: 3rem 5rem;
}
.record-main .facts {
  grid-template-columns: 190px 1fr;
}
.record-main .facts dd p:last-child {
  margin-bottom: 0;
}
.record-main h2 {
  font-size: 2.6rem;
  margin-top: 2.7rem;
}
.record-main .authors span {
  display: inline;
}
.dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  max-width: min(780px, calc(100% - 28px));
  width: 780px;
  max-height: calc(100dvh - 36px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: auto;
  overscroll-behavior: contain;
}
.dialog::backdrop {
  background: #09090be6;
}
.dialog[open] {
  animation: dialog-in var(--motion) var(--ease);
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  background: var(--paper);
  padding: 16px 24px;
  border-bottom: var(--border);
  z-index: 1;
  font-size: 0.78rem;
}
.dialog-close {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--ink);
  background: transparent;
}
.dialog-body {
  padding: 2rem;
}
.dialog-body h2 {
  font-family: var(--body);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.dialog-body h3 {
  font-size: 1.6rem;
}
.dialog-body p {
  font-size: 1rem;
}
.dialog-body .facts {
  grid-template-columns: 130px minmax(0, 1fr);
}
body.modal-open {
  overflow: hidden;
}
.log-entry {
  padding-block: 1.5rem;
  border-top: var(--border);
}
.log-entry h2 {
  font-family: var(--body);
  font-size: 1.1rem;
  letter-spacing: 0;
}
.log-entry .mono {
  margin-bottom: 1rem;
}
.log-entry p {
  font-size: 0.93rem;
}
.glossary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}
.glossary div {
  border-top: var(--border);
  padding-block: 1.5rem;
}
.glossary dt {
  font-family: var(--display);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}
.glossary dd {
  margin: 0;
  font-size: 1rem;
}
.not-found {
  padding-block: 6rem;
}
.not-found h1 {
  font-size: 8rem;
  color: var(--accent);
}
.reading-meter {
  height: 3px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  background: var(--light-accent);
  z-index: 40;
  pointer-events: none;
}
.world-key {
  font-size: 0.78rem;
  margin-top: 1.2rem;
  color: #c6c6cc;
}
.noscript-note {
  padding: 1rem;
  border-bottom: var(--border);
  font-size: 0.9rem;
}
.source-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-top: 2rem;
  border-top: var(--border);
}
.source-stream a {
  font-size: 0.75rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.jump-line {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
}
.jump-line a {
  font-size: 0.87rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.intervention-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: var(--border);
  margin-top: 3rem;
}
.intervention-map a {
  min-height: 130px;
  padding: 1.5rem 2rem 1.5rem 0;
  border-bottom: var(--border);
  text-decoration: none;
}
.intervention-map a:nth-child(3n + 2),
.intervention-map a:nth-child(3n) {
  padding-left: 2rem;
  border-left: var(--border);
}
.intervention-map strong {
  font: 600 1.8rem/1.1 var(--display);
  display: block;
  margin-bottom: 0.5rem;
}
.intervention-map small {
  color: var(--muted);
  font-size: 0.85rem;
}
.intervention-map a:hover {
  color: var(--accent);
}
@keyframes dialog-in {
  from {
    opacity: 0.2;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .nav-inner {
    gap: 1.3rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .reading-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 3rem;
  }
  .consequence {
    gap: 4rem;
  }
  .projection {
    padding-right: 2rem;
  }
  .projection + .projection {
    padding-left: 2rem;
  }
  .world-preview,
  .method-index {
    gap: 3rem;
  }
  .country-display {
    gap: 2rem;
  }
  .advanced-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .evidence-row {
    grid-template-columns: 70px minmax(0, 1fr) 120px;
    gap: 1.4rem;
  }
  .polska-strip {
    gap: 3rem;
  }
  .timeline-event {
    grid-template-columns: 80px 1.2fr 1fr;
    gap: 1.5rem;
  }
  .timeline-event:before {
    left: 88px;
  }
}
@media (max-width: 800px) {
  :root {
    --space-7: 4.5rem;
  }
  .nav-inner {
    min-height: 80px;
  }
  .brand-type {
    font-size: 20px;
  }
  .brand-type b {
    font-size: 22px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: flex;
    flex-wrap: wrap;
  }
  .js .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--dark-line);
    gap: 0.5rem;
  }
  .js .nav-links.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav-links > a {
    padding: 8px 12px;
  }
  .intro-line {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-block: 3rem;
  }
  .intro-line h2 {
    font-size: 3rem;
  }
  .time-grid {
    gap: 3rem;
  }
  .time-story {
    padding-block: 3.5rem;
  }
  .time-grid h2 {
    font-size: 3rem;
  }
  .horizon-number {
    font-size: 23vw;
  }
  .life-line {
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 0.7rem;
  }
  .comparison {
    gap: 2rem;
  }
  .manifest-statement {
    display: block;
    padding-block: 4rem;
  }
  .manifest-statement blockquote {
    margin-block: 2rem;
  }
  .manifest-disclaimer {
    margin-top: 3rem;
    max-width: 44rem;
  }
  .data-moment {
    padding-block: 4rem;
  }
  .consequence {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .two-levels {
    grid-template-columns: 1fr 1fr;
  }
  .polska-strip {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .world-preview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .world-art {
    max-width: 700px;
  }
  .method-index {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .closing .bottom-split {
    display: block;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }
  .contents {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.3rem;
    padding-bottom: 1rem;
    border-bottom: var(--border);
  }
  .contents p {
    width: 100%;
    margin-bottom: 0.3rem;
  }
  .contents a {
    border: 0;
    min-height: 44px;
    padding: 8px 0;
  }
  .reading > section {
    margin-bottom: 3rem;
  }
  .page-head {
    padding-bottom: 3rem;
  }
  .page-head h1 {
    font-size: 4rem;
  }
  .page-head .lead {
    font-size: 1.25rem;
  }
  .breadcrumbs {
    margin-bottom: 2rem;
  }
  .country-display {
    grid-template-columns: 1fr;
  }
  .world-graphic {
    position: static;
    max-height: 430px;
    overflow: hidden;
  }
  .world-controls {
    gap: 0.5rem;
  }
  .country-panel {
    margin-bottom: 2rem;
  }
  .filter-basic {
    grid-template-columns: 1fr 1fr;
  }
  .filter-basic .field:first-child {
    grid-column: 1/-1;
  }
  .advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .evidence-row {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .record-actions {
    grid-column: 2;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .timeline-event {
    grid-template-columns: 70px 1fr;
    gap: 1.5rem;
  }
  .timeline-event > div:last-child {
    grid-column: 2;
  }
  .timeline-event:before {
    left: 77px;
  }
  .intervention-map {
    grid-template-columns: 1fr 1fr;
  }
  .intervention-map a:nth-child(n) {
    padding: 1.5rem 1rem 1.5rem 0;
    border-left: 0;
  }
  .intervention-map a:nth-child(2n) {
    padding-left: 1.5rem;
    border-left: var(--border);
  }
  .section-top {
    margin-bottom: 2.5rem;
  }
  .section-top > a {
    flex-shrink: 0;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 17px;
    line-height: 1.5;
  }
  .intro-line h2 {
    font-size: 2.8rem;
  }
  .time-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .time-grid h2 {
    font-size: 2.9rem;
  }
  .horizon-number {
    font-size: 40vw;
    margin-bottom: 2rem;
  }
  .life-line {
    margin-top: 2rem;
    gap: 1.3rem;
  }
  .life-line span {
    font-size: 0.66rem;
    max-width: 8ch;
  }
  .time-control {
    padding-top: 1.5rem;
  }
  .age-output {
    font-size: 1.7rem;
  }
  .section-top {
    display: block;
    padding-top: 1.2rem;
    margin-bottom: 2rem;
  }
  .section-top > a {
    margin-top: 0.5rem;
  }
  .section-top h2 {
    font-size: 2.9rem;
  }
  .projection-grid {
    grid-template-columns: 1fr;
  }
  .projection {
    padding: 1.8rem 0;
  }
  .projection + .projection {
    border-left: 0;
    border-top: var(--border);
    padding: 2rem 0 1rem;
  }
  .big-stat {
    font-size: clamp(7rem, 36vw, 11rem);
    margin: 1.5rem 0;
  }
  .projection h3 {
    max-width: 30ch;
  }
  .comparison {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
  }
  .two-levels {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .consequence {
    gap: 1.5rem;
  }
  .polska-strip h2 {
    font-size: 2.9rem;
  }
  .pl-sequence {
    gap: 1rem;
  }
  .pl-sequence .year {
    font-size: 2.4rem;
  }
  .pl-sequence p {
    font-size: 0.85rem;
  }
  .method-row strong {
    font-size: 1.7rem;
  }
  .method-row {
    min-height: 84px;
  }
  .closing {
    padding-block: 4rem;
  }
  .page-head h1 {
    font-size: 3.3rem;
    overflow-wrap: break-word;
  }
  .page-meta {
    gap: 0.5rem 1.2rem;
  }
  .reading h2 {
    font-size: 2.4rem;
  }
  .reading h3 {
    font-size: 1.75rem;
  }
  .reading-layout {
    gap: 2rem;
  }
  .contents {
    font-size: 0.8rem;
    gap: 0 1rem;
  }
  .facts {
    grid-template-columns: 105px 1fr;
    font-size: 0.86rem;
  }
  .facts dt {
    padding-right: 10px;
  }
  .world-controls button {
    min-width: auto;
    padding: 9px 12px;
    flex: 1 0 27%;
  }
  .world-graphic {
    padding: 1.5rem 0.7rem;
  }
  .world-graphic svg {
    min-height: 190px;
  }
  .country-panel h2 {
    font-size: 3rem;
  }
  .filter-basic {
    gap: 1rem;
  }
  .filter-basic .field {
    min-width: 0;
  }
  .field select {
    font-size: 0.88rem;
    padding-left: 8px;
  }
  .advanced-grid {
    gap: 1rem 0.75rem;
  }
  .filter-bottom {
    align-items: start;
  }
  .evidence-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.7rem 0;
  }
  .evidence-year {
    font: 600 1.4rem var(--display);
  }
  .record-actions {
    grid-column: 1;
    flex-direction: row;
    gap: 1.5rem;
  }
  .evidence-row h2 {
    font-size: 1.12rem;
  }
  .evidence-row .authors {
    font-size: 0.82rem;
  }
  .record-main .facts {
    grid-template-columns: 1fr;
  }
  .record-main .facts dt {
    border: 0;
    padding-bottom: 0;
    margin-top: 0.65rem;
  }
  .record-main .facts dd {
    border: 0;
    padding-top: 4px;
    padding-bottom: 1rem;
    border-bottom: var(--border);
  }
  .dialog-body {
    padding: 1.4rem;
  }
  .dialog-bar {
    padding: 10px 16px;
  }
  .dialog-body h2 {
    font-size: 1.45rem;
  }
  .dialog-body .facts {
    grid-template-columns: 1fr;
  }
  .dialog-body .facts dt {
    border: 0;
    padding-bottom: 0;
  }
  .dialog-body .facts dd {
    border: 0;
    padding-top: 4px;
    border-bottom: var(--border);
  }
  .glossary {
    grid-template-columns: 1fr;
  }
  .timeline-event {
    grid-template-columns: 57px 1fr;
    gap: 0.8rem 1rem;
  }
  .timeline-event:before {
    left: 62px;
  }
  .timeline-event .year {
    font-size: 2rem;
  }
  .timeline-event h3 {
    font-size: 1.65rem;
  }
  .timeline-event p {
    font-size: 0.88rem;
  }
  .timeline-tools {
    gap: 0.4rem;
  }
  .timeline-tools .chip {
    font-size: 0.78rem;
    padding: 8px 11px;
  }
  .intervention-map {
    grid-template-columns: 1fr;
  }
  .intervention-map a:nth-child(n) {
    padding: 1.3rem 0;
    border-left: 0;
    min-height: 100px;
  }
  .jump-line {
    gap: 0.5rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reading-meter {
    display: none;
  }
}
@media print {
  body {
    font-size: 11pt;
    background: #fff;
    color: #000;
  }
  .site-nav,
  .site-footer,
  .filters,
  .actions,
  .source-link,
  .contents,
  .menu-toggle,
  .reading-meter,
  .world-graphic,
  .timeline-tools {
    display: none;
  }
  .dark {
    background: #fff;
    color: #000;
    --muted: #333;
    --line: #999;
    --accent: #000;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .section {
    padding-block: 18pt;
  }
  .reading-layout,
  .country-display {
    display: block;
  }
  .page-head {
    padding: 12pt 0;
  }
  .page-head h1 {
    font-size: 28pt;
  }
  .evidence-row {
    break-inside: avoid;
  }
  .dialog {
    display: none;
  }
  .record-main {
    padding: 0;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    overflow-wrap: anywhere;
  }
  h2,
  h3 {
    break-after: avoid;
  }
}
.nav-links {
  gap: clamp(0.75rem, 1.4vw, 1.5rem);
  font-size: 0.86rem;
}
.nav-source {
  white-space: nowrap;
}
.contents {
  top: 7.5rem;
}
body.nav-open {
  overflow: hidden;
}
@media (max-width: 1150px) {
  .nav-inner {
    min-height: 80px;
  }
  .menu-toggle {
    display: block;
  }
  .brand-type {
    font-size: 20px;
  }
  .brand-type b {
    font-size: 22px;
  }
  .js .nav-links {
    display: none;
    position: fixed;
    inset: 80px 0 0;
    background: var(--ink);
    padding: 1.5rem var(--gutter) 2rem;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    align-content: start;
    align-items: stretch;
    gap: 0;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }
  .js .nav-links.open {
    display: grid;
    grid-template-columns: 1fr;
  }
  .js .nav-links > a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-line);
  }
  .js .nav-links > .nav-source {
    margin-top: 1.5rem;
    padding: 15px 18px;
    border: 1px solid var(--light-accent);
    background: var(--light-accent);
    color: var(--ink);
    font-size: 1rem;
  }
}
.world-art > .world-static {
  width: 100%;
  height: auto;
}
