/* The archive sits on a shallow mount. All dimensions follow its portion of the stage. */
.ev-set {
  --ev-paper: #f4f0e6;
  --ev-ink: #142a2b;
  --ev-coral: #ff8e7d;
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  container-type: size;
  color: var(--ev-ink);
}
.ev-set *, .ev-set *::after, .ev-set *::before { box-sizing: border-box; }
.ev-set a { color: inherit; }
.ev-set a:focus-visible { outline: 2px solid #a95042; outline-offset: 3px; }
.ev-set p, .ev-set blockquote { margin: 0; }
.ev-mount {
  position: absolute;
  inset: 3% 2%;
  pointer-events: none;
  background:
    linear-gradient(#91a6a166 0 0) 0 0 / 10px 1px,
    linear-gradient(#91a6a166 0 0) 0 0 / 1px 10px,
    linear-gradient(#91a6a166 0 0) 100% 0 / 10px 1px,
    linear-gradient(#91a6a166 0 0) 100% 0 / 1px 10px,
    linear-gradient(#91a6a166 0 0) 0 100% / 10px 1px,
    linear-gradient(#91a6a166 0 0) 0 100% / 1px 10px,
    linear-gradient(#91a6a166 0 0) 100% 100% / 10px 1px,
    linear-gradient(#91a6a166 0 0) 100% 100% / 1px 10px;
  background-repeat: no-repeat;
}
.ev-scene { position: absolute; inset: 0; visibility: hidden; }
.ev-document { perspective: 1200px; }
.ev-paper-rig {
  position: absolute;
  top: 10%;
  left: 24%;
  width: 65%;
  height: 98%;
  transform-origin: 51% 20%;
}
.ev-paper-face, .ev-back-leaf {
  position: absolute;
  inset: 0;
  background-color: #ece7da;
  border: 1px solid #b8b6a9;
  box-shadow: 3px 13px 22px #0005;
}
.ev-back-leaf { transform: translate(-3%,3%) rotate(-3deg); background: #c5c3b6; }
.ev-paper-face { overflow: hidden; }
.ev-page-scan {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.ev-page-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,#fff2 0%,transparent 43%,#8e795414 68%,#7967461c 100%);
}
.ev-source-folio {
  position: absolute;
  left: 4%;
  top: 7%;
  padding: 8px 12px;
  display: flex;
  gap: .7em;
  align-items: baseline;
  color: #d9e0d9;
  background: #112c2e;
  border-top: 1px solid #748783;
  box-shadow: 0 3px 6px #0a171831;
  font-size: clamp(11px, 2.05cqw, 15px);
  letter-spacing: .005em;
}
.ev-source-folio span { font-weight: 670; }
.ev-source-folio time { color: #bdc9c4; }
.ev-glass {
  position: absolute;
  z-index: 3;
  left: 4%;
  width: 90%;
  top: 38%;
  transform-origin: 43% 50%;
  padding: 0 clamp(12px, 2.15cqw, 22px);
  border: 1px solid #8c9590;
  border-bottom-color: #272f2d;
  border-right-color: #505b57;
  border-radius: 8px;
  color: #f4f0e7;
  background:
    linear-gradient(107deg,#515d5a 0%,#384140 10%,#555e59 21%,#2d3433 45%,#242c2c 62%,#555d57 86%,#313a36),
    #3c4542;
  box-shadow: inset 0 1px 0 #b9c0b5aa, inset -1px -2px 0 #161d1a, 0 3px 1px #05111277, 2px 10px 14px #0b161558;
}
.ev-glass-head {
  display: flex;
  align-items: center;
  gap: .65em;
  padding-block: clamp(5px, 1.75cqh, 10px);
  font-size: clamp(10px, 1.7cqw, 14px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.ev-glass-head a {
  font-size: .92em;
  font-weight: 520;
  text-decoration: none;
  color: #e9ece5;
  margin-left: auto;
  letter-spacing: .04em;
}
.ev-glass-head a:hover { text-decoration: underline; }
.ev-screw {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  flex: none;
  box-shadow: 0 1px 1px #c6cfc080, inset 0 1px 1px #050808;
  background: radial-gradient(circle at 42% 42%,#161d1c 45%,#050908 52%,#777f74 80%);
}
.ev-aperture {
  position: relative;
  padding: clamp(9px, 2.8cqh, 18px) clamp(14px, 3.1cqw, 27px);
  border: 1px solid #141e1c;
  border-top: 3px solid #16201d;
  border-radius: 3px;
  background: linear-gradient(102deg,#e6e2d5,#fbf7ee 36%,#f1ecdf 81%,#ddd9cc);
  color: #202825;
  box-shadow: inset 0 3px 6px #40382b38, 0 1px #9ca297;
}
.ev-aperture blockquote {
  text-align: left;
  text-wrap: pretty;
  font: normal clamp(22px, 4.85cqw, 43px)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.ev-aperture mark {
  padding: 0 .045em;
  color: inherit;
  background: linear-gradient(var(--ev-coral),var(--ev-coral)) left 70% / var(--ev-swipe, 0%) 89% no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ev-aperture [data-source-mark], .ev-incoming-count { white-space: nowrap; }
.ev-glass-foot {
  display: block;
  height: clamp(8px, 2.4cqh, 14px);
}
.ev-crop {
  position: absolute;
  z-index: 1;
  top: 17%;
  right: 7%;
  width: 71%;
  padding: 2.2% 3%;
  transform: rotate(2deg);
  background: #efeadd;
  box-shadow: 0 1px 4px #0002;
}
.ev-crop img { display: block; width: 100%; mix-blend-mode: multiply; }
.ev-document[data-paper="latest"] .ev-crop { top: 25%; }
.ev-extracted {
  position: absolute;
  z-index: 2;
  top: 72%;
  left: 8%;
  padding: 6px 12px;
  background: #f4efe2;
  border-left: 3px solid #b7c3bc;
  box-shadow: 0 4px 9px #08161444;
  font-size: clamp(13px, 2.5cqw, 22px);
  line-height: 1.2;
}
.ev-extracted span {
  padding-right: .7em;
  font-size: .59em;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #496056;
  vertical-align: middle;
}
.ev-gate {
  position: absolute;
  z-index: 4;
  left: 5%;
  right: 10%;
  bottom: 3%;
  display: flex;
  align-items: stretch;
  width: fit-content;
  max-width: 91%;
  border: 1px solid #a6b0a5;
  background: #e4e7d9;
  box-shadow: 2px 5px 9px #07111444;
  color: #182c2b;
  line-height: 1.16;
}
.ev-gate-title {
  display: flex;
  align-items: center;
  border-right: 1px dotted #71847b;
  padding: 0 clamp(8px, 1.7cqw, 15px);
  color: #40594c;
  font-size: clamp(9px, 1.65cqw, 12px);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 690;
}
.ev-gate > div {
  display: grid;
  gap: 2px;
  padding: clamp(5px, 1.4cqh, 9px) clamp(8px, 1.8cqw, 17px);
}
.ev-gate > div span { font-size: clamp(10px, 1.7cqw, 13px); }
.ev-gate strong { font-size: clamp(13px, 2.3cqw, 19px); font-weight: 650; }

.ev-file, .ev-archive-sheet {
  --ev-paper: #efeade;
  position: absolute;
  background: linear-gradient(111deg,#fff6 0%,transparent 53%,#aca18818),var(--ev-paper);
  border: 1px solid #c5c4b7;
  text-align: left;
  box-shadow: 0 2px 1px #0002, 2px 10px 20px #0004;
}
.ev-file { padding: 3.4% 3.6%; }
.ev-file-head, .ev-archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  border-bottom: 1px solid #a2a99e;
  padding-bottom: 6px;
  color: #41564e;
  font-size: clamp(10px, 1.65cqw, 14px);
  font-weight: 620;
  letter-spacing: .045em;
  line-height: 1.08;
  text-transform: uppercase;
}
.ev-file-head time { white-space: nowrap; font-size: .91em; }
.ev-file > a {
  color: #486454;
  font-size: clamp(11px, 1.85cqw, 15px);
  text-underline-offset: .16em;
}
.ev-file > p:not(.ev-number,.ev-counter-title) { font-size: clamp(14px, 2.55cqw, 22px); line-height: 1.2; }
.ev-proposal {
  left: 5%;
  top: 14%;
  width: 52%;
  min-height: 47%;
  padding-right: 5%;
  transform-origin: 35% 88%;
}
.ev-proposal::before, .ev-counter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11%;
  bottom: 11%;
  width: 3px;
  border-left: 2px dashed #6f8174;
}
.ev-number { padding: 8% 0 3%; font: 500 clamp(28px, 5.5cqw, 48px)/.98 Georgia, serif; letter-spacing: -.06em; }
.ev-proposal a, .ev-counter a, .ev-support a { display: inline-block; margin-top: 4%; }
.ev-counter {
  --ev-paper: #e4e5d8;
  left: 52%;
  top: 20%;
  width: 44%;
  min-height: 42%;
  transform-origin: 45% 80%;
}
.ev-counter::before { border-left-style: double; border-left-width: 3px; }
.ev-counter-title { padding-top: 7%; font: 500 clamp(19px, 4.65cqw, 37px)/1.02 Georgia, serif; letter-spacing: -.04em; }
.ev-support {
  --ev-paper: #d6decf;
  top: 66.5%;
  left: 54%;
  width: 42%;
  padding-block: 2.6%;
  padding-inline: 2.8%;
  border-top: 2px solid #96a39a;
}
.ev-support > p { margin-top: 4%; }
.ev-support::before {
  content:"";
  position:absolute;
  left: -9px;
  top: -19px;
  width: 8px;
  height: 29px;
  border-left: 1px solid #b0bcb0;
  border-bottom: 1px solid #b0bcb0;
}
.ev-archive-sheet { top: 8%; left: 9%; width: 82%; padding: 3% 5%; }
.ev-archive-head { letter-spacing: .065em; font-size: clamp(10px, 1.9cqw, 14px); }
.ev-history-line { display: flex; align-items: baseline; gap: 6%; padding: 2.7% 0; border-bottom: 1px solid #b0b5a9; }
.ev-history-line > time { font-size: clamp(12px, 2.1cqw, 17px); color: #4e6155; font-variant-numeric: tabular-nums; }
.ev-history-line > div { display: grid; gap: 1px; }
.ev-history-line strong { font: normal clamp(21px, 4.25cqw, 35px)/1.06 Georgia, serif; letter-spacing: -.035em; }
.ev-history-line span { font-size: clamp(12px, 2.05cqw, 17px); }
.ev-history-current { background: #e0e4d5; margin-inline: -2.25%; padding-inline: 2.25%; }
.ev-archive-foot { padding-top: 3%; }
.ev-archive-foot span { font-size: clamp(10px, 1.5cqw, 12px); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; color: #475d51; }
.ev-archive-foot p { margin-top: 2px; font: 500 clamp(13px, 2.35cqw, 20px)/1.2 Georgia, serif; }

/* Closing shot: a filed source, an incoming paper, then the closing line. */
.ev-future { display: grid; place-items: center; }
.ev-ending {
  display: grid;
  width: 86%;
  max-width: 840px;
  gap: clamp(12px, 3.2cqh, 26px);
}
.ev-last-paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20%;
  align-items: center;
  isolation: isolate;
}
.ev-last-record {
  position: relative;
  margin-right: -7%;
  padding: clamp(13px, 2.9cqw, 26px) 10% clamp(13px, 3cqw, 28px) clamp(15px, 3.35cqw, 30px);
  color: var(--ev-ink);
  background: linear-gradient(110deg, #fbf7ed, #ebe7da);
  box-shadow: 0 2px #babdb0, -2px 5px #abb2a5, 0 9px 21px #06161966;
}
.ev-last-record header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: clamp(5px, 1.4cqh, 10px);
  border-bottom: 1px solid #a8afa3;
  color: #42574f;
  font-size: clamp(10px, 1.75cqw, 14px);
}
.ev-last-record h3 {
  margin: 0;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .085em;
}
.ev-last-record time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ev-last-record a {
  display: inline-block;
  margin: clamp(7px, 2.2cqh, 17px) 0 4px;
  font-size: clamp(14px, 2.5cqw, 22px);
  font-weight: 635;
  text-decoration-color: #87978d;
  text-underline-offset: .16em;
}
.ev-last-record blockquote {
  font: normal clamp(20px, 3.85cqw, 36px)/1.15 var(--cn-serif);
  letter-spacing: -.035em;
}
.ev-last-record mark {
  color: inherit;
  background: linear-gradient(var(--ev-coral), var(--ev-coral)) left 70% / var(--ev-swipe, 0%) 87% no-repeat;
  white-space: nowrap;
}
.ev-last-record p {
  margin-top: clamp(4px, 1.2cqh, 9px);
  color: #394e45;
  font-size: clamp(12px, 2cqw, 18px);
  line-height: 1.25;
}
.ev-last-scan {
  position: relative;
  width: 100%;
  aspect-ratio: .77;
  object-fit: cover;
  object-position: center top;
  background: #eee8db;
  border: 1px solid #cad0bf;
  filter: sepia(.13);
  box-shadow: 1px 2px #d4cebf, 3px 4px #acaf9f, 2px 6px 12px #00111255;
  transform-origin: 50% 25%;
}
.ev-next-paper {
  position: relative;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6cqw, 16px);
  width: 87%;
  margin-left: 3%;
  padding: clamp(7px, 1.9cqh, 14px) clamp(11px, 2.3cqw, 22px);
  color: #e8ece0;
  background: #213a3a;
  border: 1px solid #6f8880;
  border-left: 3px double #adbbb0;
  box-shadow: 2px 5px 10px #03161644;
}
.ev-next-paper strong { font-weight: 610; font-size: clamp(14px, 2.5cqw, 22px); }
.ev-next-leaf {
  position: relative;
  flex: none;
  width: clamp(19px, 3.2cqw, 28px);
  aspect-ratio: .76;
  transform: rotate(-4deg);
  background: linear-gradient(222deg, transparent 4px, #aab9ab 4.5px 7px, #e5e7da 7.5px);
}
.ev-next-leaf i {
  position: absolute;
  inset: 26% 16% 20%;
  transform: scaleY(0);
  transform-origin: top;
  border-top: 2px solid #63776c;
  background: repeating-linear-gradient(0deg, #90a194 0 1px, transparent 1px 4px);
}
.ev-next-status {
  margin-left: auto;
  font-size: clamp(12px, 2cqw, 18px);
  color: #cfdbcf;
}
.ev-future-title {
  margin: clamp(3px, 1.8cqh, 15px) 0 0;
  color: #b5bfbd;
  font: 555 clamp(26px, min(5.3cqw, 8cqh), 47px)/1.06 var(--cn-sans);
  letter-spacing: -.041em;
  text-wrap: balance;
}
