:root {
  --ink: #172125;
  --deep: #142b31;
  --water: #4d7880;
  --water-pale: #a9c5c5;
  --paper: #f2f0e8;
  --paper-2: #e5e1d6;
  --rust: #8a4f37;
  --line: rgba(23, 33, 37, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #d9965e; outline-offset: 4px; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: #fff;
  color: #111;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.masthead {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 5rem 1rem 3rem;
  color: #eff2ed;
  background:
    linear-gradient(rgba(20,43,49,.84), rgba(20,43,49,.96)),
    url("assets/ai_approved/1200_AI_RECONSTRUCTIE.png") center / cover;
  position: relative;
  overflow: hidden;
}
.masthead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(3, 14, 18, .55));
  pointer-events: none;
}
.masthead > * { width: min(100%, 68rem); margin-inline: auto; position: relative; z-index: 1; }
.masthead__rule { border-top: 1px solid rgba(255,255,255,.42); }
.eyebrow, .folio, .reconstruction-label, .asset-status, .act-kicker {
  margin: 1rem 0;
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.masthead h1 {
  display: grid;
  margin: .8rem 0 1rem;
  font: 400 clamp(4.1rem, 22vw, 10.5rem)/.74 var(--serif);
  letter-spacing: -.065em;
}
.masthead h1 span:last-child { text-align: right; }
.masthead h1 i {
  justify-self: center;
  color: var(--water-pale);
  font-size: .38em;
  line-height: 1;
}
.lede { max-width: 35rem; margin: 1.8rem 0; font: 400 clamp(1.3rem, 4vw, 2rem)/1.25 var(--serif); }
.thesis { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-weight: 700; }
.scroll-cue { margin-top: 3.25rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.hero-image-label { align-self: end; margin-top: 2.5rem; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.year-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: stretch;
  min-height: 3.25rem;
  color: #fff;
  background: rgba(20, 43, 49, .97);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.year-nav__brand { display: grid; place-items: center; flex: 0 0 3.3rem; font: 700 .72rem/1 var(--serif); text-decoration: none; border-right: 1px solid rgba(255,255,255,.18); }
.year-nav__track { display: flex; gap: .15rem; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
.year-nav__track::-webkit-scrollbar { display: none; }
.year-nav__track a { display: grid; place-items: center; min-width: 4rem; padding: .7rem .6rem; color: rgba(255,255,255,.65); font-size: .76rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.year-nav__track a[aria-current="true"] { color: #fff; background: var(--water); }

.prologue { padding-block: clamp(5rem, 13vw, 10rem); }
.prologue h2, .closing h2, .source-index h2 { margin: 0 0 1.5rem; max-width: 18ch; font: 400 clamp(2.35rem, 8vw, 5.7rem)/.98 var(--serif); letter-spacing: -.035em; }
.prologue > p:not(.folio) { max-width: 43rem; font-size: clamp(1.05rem, 2.5vw, 1.28rem); }
.folio { color: var(--water); }
.method-note { margin-top: 3rem; padding: 1.2rem 0 0 1.2rem; border-left: 2px solid var(--water); }
.method-note strong { display: block; margin-bottom: .35rem; color: var(--deep); }

.act-header { padding: 5rem 1rem 2rem; background: var(--deep); color: #fff; }
.act-header__inner { width: min(100%, var(--max)); margin: auto; }
.act-kicker { color: var(--water-pale); }
.act-header h2 { margin: 0; font: 400 clamp(3.2rem, 14vw, 8rem)/.9 var(--serif); letter-spacing: -.05em; }
.act-header p:last-child { max-width: 37rem; margin-top: 1.5rem; color: rgba(255,255,255,.75); }

.period { scroll-margin-top: 4.25rem; border-bottom: 1px solid var(--line); }
.period__media { position: relative; background: #d4d1c7; overflow: hidden; }
.period__media img { aspect-ratio: 16 / 10; object-fit: cover; }
.reconstruction-label {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  margin: 0;
  padding: .55rem .7rem;
  color: #fff;
  background: rgba(17, 27, 30, .9);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}
.period__body { padding: 2rem 1rem 4.5rem; }
.period__inner { width: min(100%, 44rem); margin: auto; }
.period__year { display: block; margin-bottom: .5rem; color: var(--rust); font: 400 clamp(2rem, 9vw, 4.5rem)/1 var(--serif); }
.period h3 { margin: 0 0 1rem; font: 400 clamp(2rem, 7vw, 4.2rem)/1 var(--serif); letter-spacing: -.03em; }
.period__copy { font-size: clamp(1.05rem, 2.3vw, 1.25rem); }
.certainty { margin-top: 1.5rem; }
.certainty summary { cursor: pointer; min-height: 2.75rem; padding-block: .65rem; border-top: 1px solid var(--line); font-weight: 700; }
.certainty__content { padding: .4rem 0 1.25rem; font-size: .94rem; }
.certainty__content p { margin: .65rem 0; }
.certainty__content ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.certainty__content a { text-underline-offset: .18em; }

.archive-placeholder {
  min-height: 55svh;
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
  color: #e9ece8;
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(169,197,197,.15) 50%, transparent 50.3%),
    linear-gradient(45deg, transparent 49.7%, rgba(169,197,197,.09) 50%, transparent 50.3%),
    #20373d;
  background-size: 5rem 5rem;
}
.archive-placeholder__inner { width: min(100%, 31rem); padding: 2rem; border: 1px solid rgba(255,255,255,.3); background: rgba(20,43,49,.88); }
.archive-placeholder strong { display: block; margin-bottom: .75rem; font: 400 1.7rem/1.1 var(--serif); }
.asset-status { color: var(--water-pale); }
.archive-placeholder--compact { min-height: 18rem; }
.archive-placeholder--compact .archive-placeholder__inner { padding: 1.35rem; }
.historical-gallery { display: grid; align-content: center; gap: 1px; background: #11191c; }
.historical-figure { margin: 0; background: #11191c; }
.historical-figure img { width: 100%; height: auto; object-fit: contain; background: #11191c; }
.historical-figure img[hidden] { display: none !important; }
.historical-figure figcaption { display: grid; gap: .15rem; padding: .85rem 1rem 1.1rem; color: rgba(255,255,255,.72); background: #11191c; font-size: .78rem; line-height: 1.45; }
.historical-figure figcaption strong { color: #fff; }
.historical-figure figcaption a { color: #fff; text-underline-offset: .15em; }
.historical-figure--unavailable { display: grid; align-content: center; min-height: 18rem; }
.historical-gallery--unavailable { align-content: stretch; }
.download-notice { margin: 1rem; padding: 1rem; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.fact-panel { min-height: 18rem; display: grid; place-items: center; padding: 1rem; color: #eef1ed; background: var(--deep); }
.fact-panel__inner { width: min(100%, 31rem); padding: 1.5rem; border: 1px solid rgba(255,255,255,.3); }
.fact-panel strong { display: block; margin: .35rem 0 .75rem; font: 400 2.5rem/1 var(--serif); }
.fact-panel p { margin: 0 0 1rem; }
.fact-panel a { color: #fff; font-weight: 700; text-underline-offset: .2em; }

.threshold { padding: 7rem 1rem; color: #f1efe8; background: #11191c; text-align: center; }
.threshold__mark { display: block; width: 1px; height: 5rem; margin: 0 auto 2rem; background: var(--water-pale); }
.threshold h2 { margin: 0; font: 400 clamp(2.9rem, 13vw, 7.5rem)/.9 var(--serif); letter-spacing: -.055em; }
.threshold p { max-width: 35rem; margin: 1.5rem auto 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }

.closing { padding-block: clamp(6rem, 15vw, 11rem); color: #fff; background: var(--deep); }
.closing__inner { position: relative; }
.closing .folio { color: var(--water-pale); }
.closing p:not(.folio) { max-width: 43rem; font-size: clamp(1.05rem, 2.5vw, 1.3rem); }
.house-link { display: inline-flex; gap: .8rem; align-items: center; min-height: 3rem; margin-top: 2rem; padding: .65rem 0; color: #fff; font-weight: 700; text-underline-offset: .3em; }

.source-index { padding-block: 5rem; }
.source-index > p:not(.folio) { max-width: 43rem; }
.source-list { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.source-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-list a:hover { color: var(--water); }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 1rem; color: rgba(255,255,255,.65); background: #0d1a1e; font-size: .84rem; }
footer p { margin: 0; }

.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 48rem) {
  .masthead { padding-inline: 3rem; }
  .wrap { width: min(calc(100% - 6rem), var(--max)); }
  .period { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(22rem, .75fr); min-height: calc(100svh - 3.25rem); }
  .period:nth-child(even) { grid-template-columns: minmax(22rem, .75fr) minmax(0, 1.45fr); }
  .period:nth-child(even) .period__media { order: 2; }
  .period__media img { width: 100%; height: 100%; aspect-ratio: auto; }
  .period__body { display: grid; align-content: center; padding: 4rem clamp(2rem, 5vw, 5rem); }
  .archive-placeholder { min-height: auto; }
  .archive-placeholder--compact { min-height: 20rem; }
  .historical-gallery--2 { grid-template-columns: 1fr 1fr; }
  footer { padding-inline: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 28rem) {
  .masthead h1 { font-size: clamp(3.5rem, 21vw, 5.4rem); }
  footer { flex-direction: column; }
}
