:root {
  color-scheme: dark;
  --ink: #07111f;
  --ink-soft: #0c1b2d;
  --paper: #f6f0df;
  --muted: #a8afba;
  --faint: rgba(246, 240, 223, 0.13);
  --line: rgba(246, 240, 223, 0.23);
  --gold: #f2c96d;
  --coral: #f6785b;
  --mint: #83d7c4;
  --violet: #c5b7ff;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 14%, rgba(197, 183, 255, 0.075), transparent 24rem),
    radial-gradient(circle at 14% 80%, rgba(131, 215, 196, 0.05), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

button:focus-visible,
label:focus-visible,
[tabindex]:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.landing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
  min-height: 100svh;
  padding: clamp(2rem, 6vw, 5.5rem);
  isolation: isolate;
  overflow: hidden;
}

.sky-noise {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(246, 240, 223, 0.18) 0.5px, transparent 0.7px),
    radial-gradient(circle, rgba(246, 240, 223, 0.1) 0.5px, transparent 0.8px);
  background-position: 0 0, 17px 21px;
  background-size: 47px 47px, 61px 61px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.landing::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: auto -15vw -40vh auto;
  width: 68vw;
  height: 90vh;
  border-radius: 50%;
  border: 1px solid rgba(246, 240, 223, 0.055);
  box-shadow:
    0 0 0 8vw rgba(246, 240, 223, 0.014),
    0 0 0 19vw rgba(246, 240, 223, 0.009);
}

.landing-copy,
.intake {
  position: relative;
  z-index: 2;
}

.eyebrow,
.chapter-number,
.readout-kicker {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 720;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 8.7em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 8.1vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.073em;
  line-height: 0.77;
}

.lede {
  max-width: 32rem;
  margin: clamp(2rem, 5vw, 4.2rem) 0 0 clamp(2rem, 10vw, 8rem);
  color: #c8c8c2;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.65vw, 1.55rem);
  line-height: 1.45;
}

.intake {
  width: min(100%, 30rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.intake::before,
.intake::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.intake::before {
  margin-bottom: 2rem;
}

.intake::after {
  margin-top: 2rem;
}

.intake-prompt {
  margin: 0 0 1.25rem;
  color: #b9bfc5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-button,
.sample-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border: 0;
  cursor: pointer;
}

.file-button {
  padding: 1rem 1.2rem;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.91rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.file-button::after {
  content: "+";
  color: var(--coral);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 400;
}

.file-button:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

.sample-button {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 0.15rem;
  color: #bac0c8;
  background: transparent;
  font-family: var(--display);
  font-size: 1rem;
  text-align: left;
}

.sample-button:hover {
  color: var(--paper);
}

.sample-button span {
  transition: transform 180ms ease;
}

.sample-button:hover span {
  transform: translateX(0.35rem);
}

.privacy-note,
.export-help,
.intake-error {
  color: #7f8a96;
  font-size: 0.73rem;
  line-height: 1.55;
}

.privacy-note {
  margin: 1.1rem 0 0;
}

.privacy-dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(131, 215, 196, 0.09);
}

.export-help {
  margin-top: 1rem;
}

.export-help summary {
  width: max-content;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(246, 240, 223, 0.2);
  text-underline-offset: 0.25rem;
}

.export-help p {
  margin: 0.7rem 0 0;
}

.intake-error {
  min-height: 1.1em;
  margin: 0.8rem 0 0;
  color: #ff9e89;
}

.date-stamp {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  bottom: 1.8rem;
  margin: 0;
  color: #556170;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ghost-chronology {
  position: absolute;
  z-index: -1;
  top: -8vh;
  left: 54%;
  width: 1px;
  height: 118vh;
  background: linear-gradient(to bottom, transparent, rgba(246, 240, 223, 0.14) 15%, rgba(246, 240, 223, 0.06) 85%, transparent);
}

.ghost-year {
  position: absolute;
  left: -2rem;
  color: rgba(246, 240, 223, 0.14);
  font-family: var(--display);
  font-size: 0.8rem;
  font-style: italic;
}

.ghost-mark {
  position: absolute;
  left: -0.23rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(242, 201, 109, 0.05);
}

.ghost-title {
  position: absolute;
  width: 13rem;
  color: rgba(246, 240, 223, 0.105);
  font-family: var(--display);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.2;
}

.ghost-title-one {
  top: calc(18% - 0.1rem);
  right: 1.25rem;
  text-align: right;
}

.ghost-title-two {
  top: calc(49% - 0.1rem);
  left: 1.25rem;
}

.ghost-title-three {
  top: calc(79% - 0.1rem);
  right: 1.25rem;
  text-align: right;
}

.ghost-year-one, .ghost-mark-one { top: 18%; }
.ghost-year-two, .ghost-mark-two { top: 49%; }
.ghost-year-three, .ghost-mark-three { top: 79%; }

.ghost-mark-two {
  background: var(--violet);
}

.ghost-mark-three {
  background: var(--mint);
}

.landing.is-dragging .ghost-chronology {
  background: linear-gradient(to bottom, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
}

.landing.is-dragging .intake {
  transform: translateY(-0.4rem);
}

.archive {
  min-height: 100vh;
}

.archive-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 76px;
  padding: 1rem clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(246, 240, 223, 0.11);
  background: rgba(7, 17, 31, 0.91);
  backdrop-filter: blur(18px);
}

.archive-header .eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.56rem;
}

.archive-header h2 {
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-actions {
  display: flex;
  gap: 0.4rem;
  flex: none;
}

.archive-actions button,
.thread-readout button,
.archive-footer button {
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(246, 240, 223, 0.18);
  border-radius: 999px;
  color: #afb6bf;
  background: transparent;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.archive-actions button:hover,
.thread-readout button:hover,
.archive-footer button:hover {
  color: var(--ink);
  background: var(--paper);
}

.archive-intro,
.returning {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(20rem, 1.28fr);
  gap: clamp(3rem, 9vw, 11rem);
  align-items: start;
  padding: clamp(5rem, 12vw, 11rem) clamp(1.2rem, 8vw, 9rem);
}

.archive-intro {
  min-height: 70vh;
  border-bottom: 1px solid var(--faint);
}

.intro-copy h3,
.returning h3,
.chronology-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.5vw, 6.1rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.intro-copy > p:last-child,
.returning-copy > p:last-child {
  max-width: 33rem;
  margin: 2rem 0 0;
  color: #929aa5;
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.55;
}

.archive-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.stat {
  min-height: 9rem;
  padding: 1.2rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.stat:nth-child(even) {
  padding-left: 1.25rem;
}

.stat dt {
  color: #737e8a;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stat dd {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.returning {
  position: relative;
  min-height: 72vh;
  border-bottom: 1px solid var(--faint);
  background:
    linear-gradient(130deg, transparent 0 62%, rgba(197, 183, 255, 0.035) 62% 100%);
}

.thread-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.thread-button {
  position: relative;
  min-height: 7.4rem;
  padding: 1.1rem 2rem 1.3rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.thread-button:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.thread-button:nth-child(even) {
  padding-left: 1.25rem;
}

.thread-domain {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-meta {
  display: block;
  margin-top: 0.7rem;
  color: #717d89;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.thread-button::after {
  content: "↘";
  position: absolute;
  right: 0.7rem;
  bottom: 1.1rem;
  color: var(--gold);
  opacity: 0;
  transform: translate(-0.5rem, -0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.thread-button:hover::after,
.thread-button.is-active::after {
  opacity: 1;
  transform: translate(0, 0);
}

.thread-button:hover .thread-domain,
.thread-button.is-active .thread-domain {
  color: var(--gold);
}

.chronology-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem) 0;
}

.chronology-heading {
  max-width: 67rem;
  margin: 0 auto clamp(4rem, 9vw, 8rem);
}

.chronology-heading h3 {
  max-width: 9em;
}

.thread-readout {
  position: sticky;
  z-index: 20;
  top: 98px;
  width: min(23rem, calc(100vw - 2rem));
  min-height: 8rem;
  margin: 0 0 -8rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(246, 240, 223, 0.16);
  background: rgba(10, 27, 45, 0.91);
  box-shadow: 0 1.3rem 4rem rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.readout-kicker {
  margin-bottom: 0.6rem;
  font-size: 0.57rem;
}

.readout-main {
  margin: 0;
  color: #c7c9c7;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.35;
}

.thread-mini {
  --mini-count: 4;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--mini-count), minmax(0, 1fr));
  gap: 0.25rem;
  margin-top: 1.1rem;
  padding-top: 0.85rem;
}

.thread-mini[hidden] {
  display: none;
}

.thread-mini::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  right: 0.7rem;
  left: 0.7rem;
  height: 1px;
  background: var(--gold);
}

.mini-stop {
  position: relative;
  color: #8e99a5;
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-align: center;
}

.mini-stop::before {
  content: "";
  position: absolute;
  top: -1.02rem;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border: 2px solid var(--ink-soft);
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.thread-readout button {
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  font-size: 0.58rem;
}

.chronology {
  position: relative;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2rem 0 7rem;
}

.chronology::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(246, 240, 223, 0.28) 4rem, rgba(246, 240, 223, 0.13) calc(100% - 5rem), transparent);
}

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

.thread-path-shadow {
  fill: none;
  stroke: rgba(7, 17, 31, 0.86);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.thread-path {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  stroke-dasharray: 1 8;
  filter: drop-shadow(0 0 5px rgba(242, 201, 109, 0.45));
  animation: draw-thread 900ms ease both;
}

@keyframes draw-thread {
  from { opacity: 0; stroke-dashoffset: 80; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

.year-block {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr);
  min-height: 28rem;
  padding: 4rem 0;
}

.year-marker {
  grid-column: 2;
  align-self: start;
  justify-self: center;
  position: sticky;
  top: 118px;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border: 1px solid rgba(246, 240, 223, 0.2);
  border-radius: 50%;
  color: #aab0b6;
  background: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.year-bookmarks {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  min-width: 0;
}

.year-bookmarks.left {
  grid-column: 1;
  align-items: flex-end;
  padding-left: 1rem;
  padding-right: clamp(1rem, 4vw, 4rem);
  text-align: right;
}

.year-bookmarks.right {
  grid-column: 3;
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: 1rem;
}

.bookmark {
  position: relative;
  width: min(100%, 29rem);
  min-height: 52px;
  padding: 0.2rem 0;
  border: 0;
  color: #abb2ba;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  transition: opacity 220ms ease, color 220ms ease, transform 220ms ease;
}

.bookmark::before {
  content: "";
  position: absolute;
  top: 1rem;
  width: clamp(1rem, 4vw, 4rem);
  height: 1px;
  background: rgba(246, 240, 223, 0.11);
}

.left .bookmark::before {
  right: calc(clamp(1rem, 4vw, 4rem) * -1);
}

.right .bookmark::before {
  left: calc(clamp(1rem, 4vw, 4rem) * -1);
}

.bookmark-title {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  line-height: 1.15;
}

.bookmark-meta {
  display: block;
  margin-top: 0.45rem;
  color: #5e6a78;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bookmark:hover,
.bookmark:focus-visible,
.bookmark.is-match {
  color: var(--paper);
}

.bookmark.is-match {
  transform: translateX(0.35rem);
}

.left .bookmark.is-match {
  transform: translateX(-0.35rem);
}

.bookmark.is-match .bookmark-meta {
  color: var(--gold);
}

.chronology.has-selection .bookmark:not(.is-match),
.chronology.has-selection .year-marker {
  opacity: 0.2;
}

.chronology.has-selection .year-block:not(.has-match) {
  display: none;
}

.chronology.has-selection .year-block.has-match {
  min-height: 9.5rem;
  padding-block: 1.35rem;
}

.chronology.has-selection .year-block.has-match .year-marker {
  opacity: 1;
}

.chronology.has-selection .bookmark:not(.is-match) {
  display: none;
}

.thread-node {
  position: absolute;
  z-index: 6;
  width: 0.76rem;
  height: 0.76rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 109, 0.18);
  pointer-events: none;
}

.gap-note {
  position: absolute;
  z-index: 7;
  width: 10rem;
  padding: 0.75rem 0.9rem;
  border-left: 1px solid var(--gold);
  color: #7f8994;
  background: rgba(7, 17, 31, 0.92);
  font-family: var(--display);
  font-size: 0.78rem;
  line-height: 1.35;
  pointer-events: none;
}

.gap-note strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.undated-note,
.limit-note {
  max-width: 38rem;
  margin: 1rem auto 4rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(246, 240, 223, 0.12);
  color: #818c98;
  font-size: 0.73rem;
  line-height: 1.5;
}

.archive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 35vh;
  padding: clamp(3rem, 8vw, 7rem);
  border-top: 1px solid var(--faint);
  color: #717d89;
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

.drop-curtain {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  color: var(--ink);
  background: rgba(242, 201, 109, 0.96);
  pointer-events: none;
  transition: opacity 160ms ease;
}

.drop-curtain p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: -0.04em;
}

.drop-curtain.is-visible {
  opacity: 1;
}

.status {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: 0.8rem 1rem;
  opacity: 0;
  color: var(--ink);
  background: var(--paper);
  pointer-events: none;
  transform: translateY(0.7rem);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.72rem;
  font-weight: 700;
}

.status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 850px) {
  .landing {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.8rem;
    padding: 5rem 1.25rem 3rem;
  }

  h1 {
    font-size: clamp(4.2rem, 19vw, 7.8rem);
  }

  .lede {
    margin: 2rem 0 0 1.5rem;
  }

  .intake {
    margin-left: auto;
  }

  .ghost-chronology {
    left: 83%;
  }

  .date-stamp {
    display: none;
  }

  .archive-header {
    align-items: flex-start;
    min-height: 70px;
  }

  .archive-header > div:first-child {
    min-width: 0;
  }

  .archive-actions button:not(#start-over-button) {
    display: none;
  }

  .archive-intro,
  .returning {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 5.5rem 1.2rem;
  }

  .archive-intro {
    min-height: auto;
  }

  .returning {
    min-height: auto;
  }

  .thread-list {
    grid-template-columns: 1fr;
  }

  .thread-button:nth-child(odd) {
    border-right: 0;
  }

  .thread-button:nth-child(even) {
    padding-left: 0;
  }

  .chronology-section {
    padding-inline: 0.7rem;
  }

  .chronology-heading {
    padding-inline: 0.5rem;
  }

  .thread-readout {
    top: 82px;
    margin: 0 0 1rem auto;
  }

  .chronology::before {
    left: 3rem;
  }

  .year-block {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    min-height: 0;
    padding: 3.5rem 0;
  }

  .year-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    top: 96px;
    width: 4.6rem;
    height: 4.6rem;
    font-size: 0.85rem;
  }

  .year-bookmarks.left,
  .year-bookmarks.right {
    grid-column: 2;
    align-items: stretch;
    padding: 0 0.5rem 0 1rem;
    text-align: left;
  }

  .year-bookmarks.right {
    margin-top: 1.65rem;
  }

  .left .bookmark::before,
  .right .bookmark::before {
    left: -1rem;
    right: auto;
    width: 0.8rem;
  }

  .left .bookmark.is-match,
  .bookmark.is-match {
    transform: translateX(0.25rem);
  }

  .archive-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .landing {
    min-height: 100svh;
    padding-top: 3.2rem;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5rem);
  }

  .lede {
    font-size: 1rem;
  }

  .intake {
    padding-block: 1.3rem;
  }

  .archive-header .eyebrow {
    display: none;
  }

  .archive-header h2 {
    max-width: 13rem;
    line-height: 1.15;
    white-space: normal;
  }

  .archive-actions button,
  .archive-footer button {
    padding-inline: 0.75rem;
  }

  .archive-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    min-height: 7rem;
  }

  .thread-readout {
    width: calc(100vw - 1.4rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
