* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font-family: var(--body);
  min-height: 100svh;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input {
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
.glyph {
  display: inline-block;
  flex: none;
  vertical-align: middle;
  max-width: 1.5em;
}
.skip {
  position: fixed;
  top: -120px;
  left: 8px;
  z-index: 200;
  background: white;
  color: black;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 44px;
  padding: 9px 16px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 40px);
}
.topnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
}
.topnav [aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.librows {
  display: grid;
}
.librow {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 2px;
}
.librow .glyph {
  width: 23px;
  height: 23px;
}
.backlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
}
.recovery {
  min-height: 75svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  padding: 32px;
  text-align: center;
}
.recovery > .glyph {
  width: 68px;
  height: 68px;
  max-width: none;
}
.recovery h1 {
  font: var(--error-title);
  max-width: 90vw;
}
.community-entry {
  scroll-margin-top: 1rem;
}
button:disabled {
  cursor: default;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
:root {
  --join-ground: #f6eeda;
  --join-input: #f6eeda;
  --join-ink: #3c403a;
  --join-primary: #344f56;
  --join-on-primary: #fff8e8;
  --join-bar: #344f56;
  --join-on-bar: #fff8e8;
  --join-frame: 1px solid #3c403a;
  --join-field-border: 1px solid #3c403a;
  --join-action-border: 1px solid #344f56;
  --join-shadow: 0 14px 50px #0005;
  --join-tint: #ddd4b8;
  --join-focus: #3c403a;
  --join-font: Georgia, serif;
  --join-heading: 700 22px/1.03 Instrument, Georgia, serif;
  --join-track: -0.035em;
}
@font-face {
  font-family: Instrument;
  src: url(/art/instrument.woff2);
}
@font-face {
  font-family: CourierPrime;
  src: url(/art/courier.woff2);
}
:root {
  --ground: #f3ebd8;
  --ink: #2d4548;
  --body: Georgia, serif;
  --focus: #a94423;
  --error-title: normal clamp(45px, 7vw, 100px)/0.95 Instrument, Georgia;
}
body {
  background-image: url(/art/grain.png);
}
.cr-head {
  padding: 8px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.signature {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    italic 26px/1 Instrument,
    Georgia;
}
.signature .glyph {
  height: 24px;
  width: 24px;
  color: #a45238;
}
.topnav {
  font:
    14px CourierPrime,
    monospace;
}
.topnav .glyph {
  width: 19px;
}
.posthome {
  text-align: center;
  padding: 0 4vw 30px;
  max-width: 1600px;
  margin: auto;
}
.posthome h1,
.archive h1,
.liner h1,
.returnaddress h1 {
  font:
    normal clamp(60px, 11.8vw, 190px)/0.98 Instrument,
    Georgia;
  letter-spacing: -0.065em;
}
.posthome h1 {
  position: relative;
  z-index: 4;
  margin: 0 auto 0.08em;
  color: #324a4e;
}
.board {
  touch-action: pan-y;
  position: relative;
  height: clamp(310px, 43vw, 584px);
  max-width: 1200px;
  margin: auto;
  isolation: isolate;
}
.postcard {
  --turn: 0deg;
  --offset: 0px;
  --scale: 1;
  position: absolute;
  top: 2%;
  left: 50%;
  width: clamp(265px, 32vw, 465px);
  background: #f9f4e7;
  padding: clamp(9px, 1vw, 16px);
  border: 1px solid #d9cdb4;
  border-radius: 2px;
  box-shadow:
    0 4px 6px #44371820,
    0 19px 26px #473a2430;
  transform: translateX(calc(-50% + var(--offset))) translateY(var(--drop, 0px))
    rotate(var(--turn)) scale(var(--scale));
  transition: transform 0.5s cubic-bezier(0.29, 0.73, 0.3, 1);
  transform-origin: center 70%;
  text-align: left;
}
.postcard[data-place="-1"] {
  --offset: -76%;
  --turn: -12deg;
  --scale: 0.82;
  --drop: 5%;
  z-index: 1;
}
.postcard[data-place="1"] {
  --offset: 76%;
  --turn: 10deg;
  --scale: 0.82;
  --drop: 4%;
  z-index: 2;
}
.postcard[data-place="0"] {
  --turn: -2deg;
  z-index: 3;
}
.postcard img {
  width: 100%;
  height: auto;
}
.postcard span {
  display: block;
  text-align: center;
  padding: 10px 0 1px;
  font:
    italic clamp(15px, 1.7vw, 26px)/1 Instrument,
    Georgia;
}
.sheetfoot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  position: relative;
}
.sheetfoot p {
  font: normal clamp(30px, 3vw, 48px)/1.1 Instrument;
  letter-spacing: -0.04em;
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font:
    14px CourierPrime,
    monospace;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.turn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #76817a;
  color: #294348;
  background: transparent;
  font: 30px/1 Georgia;
}
.turn:hover {
  background: #fdf5e3;
}
.recordchoices {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.recordchoices button {
  color: #444f48;
  background: transparent;
  font:
    13px CourierPrime,
    monospace;
  border: 0;
  padding: 8px;
  min-height: 44px;
}
.recordchoices button[aria-pressed="true"] {
  color: #914328;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.archive,
.liner {
  max-width: 1350px;
  margin: auto;
  padding: 3vw 5vw;
}
.archive h1,
.liner h1 {
  font-size: clamp(55px, 7vw, 110px);
}
.archivegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5vw;
  margin-top: 3vw;
}
.archivecard,
.liner figure {
  background: #fffaea;
  border: 1px solid #d9cdb4;
  padding: 12px;
  box-shadow: 0 4px 9px #42361f21;
}
.archivecard img,
.liner figure img {
  width: 100%;
  aspect-ratio: 1;
}
.archivecard strong,
.archivecard small {
  display: block;
}
.archivecard span {
  display: block;
  padding: 10px 3px;
}
.archivecard strong {
  font: normal clamp(25px, 3vw, 45px)/1 Instrument;
}
.archivecard small,
.postdate,
.returnaddress p {
  font:
    13px CourierPrime,
    monospace;
  letter-spacing: 0.06em;
}
.liner {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 5vw;
  align-items: start;
}
.liner figure {
  transform: rotate(-2deg);
  margin-top: 32px;
}
.liner .backlink {
  font: 14px CourierPrime;
}
.postdate {
  margin: 18px 0 6px;
}
.liner h1 {
  margin-bottom: 15px;
}
.action {
  font: 14px CourierPrime;
  background: #334f54;
  color: #fff9eb;
  border-radius: 2px;
}
.songlist {
  padding-left: 2em;
  color: #5b665d;
  margin-block: 18px;
}
.songlist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #cabfa8;
  font: normal 19px Georgia;
  color: #324748;
}
.songlist time {
  font: 13px CourierPrime;
}
.envelope {
  max-width: 655px;
  margin: 30px auto;
  padding: 24px clamp(20px, 4vw, 55px);
  background: #faf3e1 url(/art/grain.png);
  box-shadow: 0 8px 25px #5e4a2e33;
  position: relative;
  border: 1px solid #d4c6ae;
}
.envelope:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: repeating-linear-gradient(
    125deg,
    #946454 0 12px,
    transparent 12px 22px,
    #57747a 22px 34px,
    transparent 34px 44px
  );
}
.returnaddress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
}
.returnaddress h1 {
  font-size: clamp(40px, 5vw, 74px);
}
.returnaddress img {
  width: 100px;
  height: 84px;
  object-fit: cover;
  object-position: 65% 35%;
  border: 4px double #a9a18b;
  transform: rotate(4deg);
}
.librow {
  border-top: 1px solid #cabfa8;
  font: normal 22px Instrument;
}
.librow .glyph {
  color: #93573d;
}
.librow:hover {
  color: #8c4029;
}
.envelope .community-entry {
  margin-top: 14px;
}
@media (min-width: 1600px) {
  .board {
    height: 550px;
  }
}
@media (max-width: 720px) {
  .cr-head {
    padding: 5px 4vw;
  }
  .signature {
    font-size: 22px;
  }
  .topnav {
    gap: 12px;
  }
  .topnav .glyph {
    display: none;
  }
  .posthome {
    padding: 24px 0 30px;
    overflow: hidden;
  }
  .posthome h1 {
    font-size: 16.8vw;
    letter-spacing: -0.065em;
    white-space: nowrap;
    margin: 6px 0 32px;
  }
  .board {
    height: clamp(275px, 86vw, 550px);
  }
  .postcard {
    width: 66vw;
    max-width: 355px;
    padding: 9px;
    top: 4%;
  }
  .postcard[data-place="-1"] {
    --offset: -30%;
    --turn: -13deg;
    --scale: 0.86;
    --drop: 4%;
  }
  .postcard[data-place="1"] {
    --offset: 30%;
    --turn: 13deg;
    --scale: 0.86;
    --drop: 4%;
  }
  .postcard span {
    font-size: 18px;
  }
  .sheetfoot {
    gap: 12px;
  }
  .turn {
    flex: none;
  }
  .recordchoices {
    gap: 3px;
    padding: 0 10px;
  }
  .recordchoices button {
    font-size: 11px;
    padding: 4px;
  }
  .archive {
    padding: 14px 5vw;
  }
  .archivegrid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .archivecard {
    padding: 5px;
  }
  .archivecard strong {
    font-size: 25px;
  }
  .archivecard small {
    font-size: 10px;
  }
  .liner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 6vw;
  }
  .liner figure {
    width: 67vw;
    max-width: 320px;
    align-self: center;
    margin: 7px 0;
  }
  .liner article {
    width: 100%;
  }
  .postdate {
    margin: 6px 0;
  }
  .liner h1 {
    font-size: 54px;
  }
  .envelope {
    margin: 12px 8px;
    padding: 15px 15px 22px;
  }
  .returnaddress {
    margin: 2px 0 10px;
  }
  .returnaddress img {
    width: 75px;
    height: 66px;
  }
  .librow {
    min-height: 48px;
  }
}
