:root {
  color: #151814;
  background: #dcded5;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  place-items: center;
}

main {
  width: min(34rem, calc(100% - 2rem));
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 10vw, 5rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.04em;
}

p {
  font-size: 1.1rem;
  line-height: 1.5;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .65rem .85rem;
  color: #101713;
  background: #dcded5;
  font: 700 .78rem/1.2 "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  text-decoration: none;
  transform: translateY(-220%);
}

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

main[tabindex="-1"]:focus { outline: none; }

.record-threshold {
  display: block;
  color-scheme: dark;
  color: #dcded5;
  background: #101713;
}

.threshold-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid #69736b;
  color: #bec7bf;
  font: 700 .7rem/1.3 "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  letter-spacing: .08em;
}

.threshold-header a {
  color: #eef1eb;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1rem;
  letter-spacing: 0;
  text-decoration: none;
}

.record-threshold main {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(18rem, .58fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: end;
  width: min(72rem, calc(100% - 3rem));
  min-height: calc(100svh - 4.2rem);
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 8rem) 0 clamp(3rem, 8vh, 6rem);
}

.threshold-place > p:first-child {
  margin: 0 0 1.4rem;
  color: #c0c9c0;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.threshold-place h1 {
  max-width: 42rem;
  margin: 0;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: .88;
  text-wrap: balance;
}

.threshold-source {
  max-width: 38rem;
  margin: 2.5rem 0 0;
  color: #bec7bf;
  font: 1rem/1.68 "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
}

.threshold-turn {
  padding-top: 1.5rem;
  border-top: 5px solid #dcded5;
}

.threshold-turn h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.threshold-turn > p {
  margin: 1.4rem 0 2.5rem;
  color: #c7cec7;
  font: 1rem/1.65 "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
}

.threshold-entry {
  display: grid;
  gap: .45rem;
  padding: 1.25rem 0;
  border-top: 1px solid #69736b;
  border-bottom: 1px solid #69736b;
  text-decoration: none;
}

.threshold-entry:hover { color: #ffffff; }
.threshold-entry span {
  color: #bec7bf;
  font: 700 .72rem/1.4 "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  letter-spacing: .08em;
}
.threshold-entry strong {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 400;
}

@media (max-width: 760px) {
  .threshold-header { align-items: flex-start; flex-direction: column; gap: .55rem; width: min(100% - 2.5rem, 72rem); }
  .record-threshold main {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    align-items: start;
    width: min(100% - 2.5rem, 72rem);
    padding-top: 4.5rem;
  }
  .threshold-place h1 { font-size: clamp(2.5rem, 11.5vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

@media (forced-colors: active) {
  :root, html, body, .system-page, .record-threshold { color: CanvasText; background: Canvas; }
}

@media print {
  :root, html, body, .system-page, .record-threshold { color: #000; background: #fff; }
  .skip-link { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; overflow-wrap: anywhere; }
}
