@font-face {
  font-family: "Gloock";
  src: url("./fonts/gloock.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("./fonts/work-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #252624;
  --ink: #f6eee0;
  --accent: #e4a29a;
  --on: #2d211e;
  --panel: #343630;
  --rule: color-mix(in srgb, var(--ink) 32%, transparent);
  --display: "Gloock", Georgia, serif;
  --body: "Work Sans", Arial, sans-serif;
  --space: clamp(1.15rem, 5vw, 5.5rem);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 0.23em;
}
h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.05;
  text-wrap: balance;
  font-family: var(--display);
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2.5rem, 5.7vw, 5.4rem);
  letter-spacing: -0.036em;
}
h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}
p {
  max-width: 62ch;
  text-wrap: pretty;
}
p + p {
  margin-top: 0.65rem;
}
figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figcaption {
  font-size: 0.87rem;
  line-height: 1.4;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.58;
}
.wrap {
  width: min(100%, 94rem);
  margin: 0 auto;
  padding-inline: var(--space);
}
.skip {
  position: absolute;
  z-index: 5;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus {
  top: 0.5rem;
}
.mast,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.mast {
  min-height: 4.7rem;
}
.wordmark {
  text-decoration: none;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.mast nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 3rem);
}
.mast nav a {
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}
.mast a:hover,
.footer a:hover {
  text-decoration: underline;
}
.footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.footer strong {
  font-family: var(--display);
  font-size: 1.3rem;
}
.hero p {
  font-size: clamp(1.03rem, 1.5vw, 1.28rem);
  max-width: 42ch;
}
.action,
.tool .primary,
.take {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  text-decoration: none;
  font: 650 1rem/1.3 var(--body);
  padding: 0.72rem 1.1rem;
  background: var(--accent);
  color: var(--on);
  border: 1px solid transparent;
  cursor: pointer;
}
.action:hover,
.tool .primary:hover,
.take:hover {
  filter: brightness(0.9);
}
.work-area,
.shop-section {
  scroll-margin-top: 0.8rem;
}
.work-area {
  padding-block: clamp(3rem, 6vw, 6.5rem);
  background: var(--panel);
}
.bench-head {
  margin-bottom: 1.8rem;
}
.bench-head p {
  margin-top: 0.65rem;
}
.tool {
  min-width: 0;
}
.tool form,
.tool fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.tool fieldset {
  margin-bottom: 1rem;
}
.tool legend,
.field > span {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.field {
  display: grid;
  gap: 0.15rem;
  margin: 0.7rem 0;
  max-width: 100%;
}
.tool input[type="text"],
.tool input[type="number"],
.tool select,
.tool textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid currentColor;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.15rem;
  min-width: 0;
  width: 100%;
}
.tool input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.15rem;
  height: 1.15rem;
}
.tool input[type="range"] {
  accent-color: var(--accent);
  max-width: 100%;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.options button,
.small-action {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 0.48rem 0.8rem;
  min-height: 2.6rem;
}
.options button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tool button:hover:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.tool section > h3,
.tool article > h3 {
  margin-bottom: 0.6rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.7rem;
}
.readout {
  font-variant-numeric: tabular-nums;
}
.shop-section {
  padding-block: clamp(2.6rem, 5.5vw, 5.8rem);
}
.visit-line {
  padding: 0.8rem 0;
  border-block-start: 1px solid var(--rule);
  font-size: 0.95rem;
}
.tool .take {
  margin-top: 1rem;
}
.tool small {
  font-size: 0.88rem;
}
.tool [role="status"]:empty {
  display: none;
}
@media (max-width: 680px) {
  .mast {
    min-height: 3.8rem;
  }
  .mast nav {
    gap: 0.85rem;
  }
  .mast nav a {
    font-size: 0.85rem;
  }
  .footer {
    align-items: start;
  }
  .footer span {
    order: 3;
    width: 100%;
  }
  .work-area,
  .shop-section {
    padding-block: 2.75rem;
  }
  .bench-head {
    margin-bottom: 1.25rem;
  }
}
@media (max-width: 410px) {
  .mast {
    gap: 0.45rem;
  }
  .mast nav {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .mast nav a {
    font-size: 0.76rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}
.mast {
  border-bottom: 1px solid var(--rule);
}
.wordmark {
  font-weight: 400;
}
.record-window > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  padding-block: clamp(1.4rem, 3.3vw, 3.3rem);
}
.record-window h1 {
  font-weight: 400;
  font-size: clamp(5.5rem, 10vw, 10.5rem);
  letter-spacing: -0.063em;
  line-height: 0.82;
}
.record-window h1 i {
  color: var(--accent);
  font-weight: 400;
}
.record-copy {
  max-width: 25rem;
}
.record-copy a {
  margin-top: 1rem;
  border-radius: 2rem;
}
.record-window figure {
  position: relative;
  border-block: 1px solid #786363;
}
.record-window img {
  height: clamp(14rem, 23vw, 24rem);
  object-position: 50% 50%;
}
.record-window figcaption {
  position: absolute;
  bottom: 0.6rem;
  right: var(--space);
  background: #292a26;
  color: #f0decf;
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
}
.selector {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr;
  gap: 3%;
  align-items: start;
}
.sleeves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 0.8rem;
}
.record {
  min-width: 0;
}

.record-info {
  padding-top: 0.6rem;
}
.record-info small,
.on-deck {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: #eea4a6;
  font-weight: 700;
}
.record-info h3 {
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 2rem);
  margin: 0.12rem 0;
}
.record-info p {
  font-size: 0.89rem;
  line-height: 1.4;
}
.record-info p + p {
  margin-top: 0.35rem;
}
.record-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.record-actions button {
  border: 1px solid #a8948d;
  padding: 0.35rem 0.55rem;
  min-height: 2.55rem;
  background: transparent;
  color: #fae8dc;
}
.record-actions button[aria-pressed="true"] {
  background: #dfa0a0;
  color: #291e22;
}
.crate-list {
  padding: 1rem;
  background: #262622;
  border-top: 4px solid #d48786;
}
.crate-list h3 {
  font-size: 2.1rem;
  font-weight: 400;
}
.crate-list > p {
  font-size: 0.93rem;
}
.on-deck {
  margin: 0.9rem 0;
  border-block: 1px solid var(--rule);
  padding: 0.5rem 0;
}
.crate-list ol {
  padding-left: 1.4rem;
}
.crate-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.crate-list li small {
  display: block;
}
.crate-list li button {
  margin-top: 0.3rem;
  padding: 0.25rem 0.45rem;
  min-height: 2rem;
}
.listening-room {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6%;
  align-items: center;
}
.listening-room img {
  height: clamp(15rem, 28vw, 26rem);
}
.listening-room figcaption {
  margin-top: 0.4rem;
  font-style: italic;
}
.listening-room h2 {
  margin-bottom: 0.8rem;
}
@media (max-width: 850px) {
  .selector {
    grid-template-columns: 1.75fr 0.75fr;
  }
  .sleeves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .record-window h1 {
    font-size: clamp(4.5rem, 11vw, 7rem);
  }
}
@media (max-width: 630px) {
  .record-window > .wrap {
    display: block;
  }
  .record-window h1 {
    font-size: clamp(3.9rem, 14vw, 6.3rem);
  }
  .record-copy {
    margin-top: 1rem;
  }
  .record-window img {
    height: clamp(8rem, 32vw, 14rem);
  }
  .selector,
  .listening-room {
    display: block;
  }
  .crate-list,
  .listening-room > div {
    margin-top: 1.3rem;
  }
  .sleeves {
    gap: 1.3rem 0.7rem;
  }

  .record-actions button {
    font-size: 0.82rem;
    padding: 0.3rem 0.4rem;
  }
  .listening-room img {
    height: 12rem;
  }
}
