@font-face {
  font-family: "Roboto Condensed";
  src: url("/fonts/RobotoCondensed.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

.release-feature {
  --paper: #e4dfd1;
  --print: #22221f;
  background: var(--paper);
  color: var(--print);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: clamp(24px, 2.5vw, 40px) clamp(24px, 3.6vw, 64px);
}
.herocopy { min-width: 0; }
.herokicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #55544c;
  font-size: 14px;
  font-weight: 550;
}
.release-feature h2 {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 610;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .97;
  letter-spacing: -.055em;
  margin: 16px 0 12px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.release-feature p { color: #41413b; font-size: 15px; }
.release-feature p span { padding: 0 4px; color: #79786f; }
.heroactions { margin-top: 24px; gap: 8px; }
.heroactions .primary {
  background: var(--print);
  color: #fbf8ed;
  padding: 0 20px;
  border-radius: 6px;
  min-height: 40px;
}
.heroextra {
  border: 1px solid #96958a;
  color: var(--print);
  width: 40px;
  height: 40px;
  border-radius: 6px;
}
.heroextra:hover { background: #d6d2c5; }

@keyframes section-arrive {
  from { opacity: .65; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes recording-change {
  from { opacity: .4; transform: translateX(4px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .content { animation: section-arrive 185ms cubic-bezier(.2,.8,.2,1); }
  .now .art, .nowcaption { animation: recording-change 160ms cubic-bezier(.2,.8,.2,1); }
  .toast { animation: section-arrive 160ms cubic-bezier(.2,.8,.2,1); }
  .navlink, .tabs button {
    transition: background-color 140ms ease-out, color 120ms ease-out, border-color 140ms ease-out;
  }
  .transport button, .heroactions button {
    transition: transform 130ms cubic-bezier(.2,.8,.2,1);
  }
  .transport button:enabled:active, .heroactions button:enabled:active { transform: scale(.94); }
  .tileplay {
    transform: translateY(4px);
    transition: opacity 140ms ease-out, transform 170ms cubic-bezier(.2,.8,.2,1);
  }
  .tile:is(:hover, :focus-visible) .tileplay { transform: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tile .sleeve img, .pressing-disc { transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
  .tile:hover .sleeve img { transform: scale(1.035); }
  .release-feature:has(.heroactions button:hover) .pressing-disc { transform: translateX(3%); }
}
.release-feature button:focus-visible { outline-color: var(--print); }

/* The square jacket conceals the left half of a grooved record */
.pressing {
  width: min(100%, 390px);
  aspect-ratio: 1.48;
  position: relative;
  justify-self: center;
  container-type: inline-size;
}
.pressing-disc, .pressing-jacket {
  position: absolute;
  box-shadow: 1px 5px 8px #211f1a38;
}
.pressing-disc {
  right: 1%;
  top: 2%;
  height: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #20211f;
  background:
    repeating-radial-gradient(circle closest-side, transparent 0 1px, #c5c6c133 1.2px, transparent 2px, #0003 3px),
    conic-gradient(from -26deg, #151515, #181818 12%, #626361 23%, #1d1d1c 32%, #111 46%, #50514e 68%, #20211f 77%, #141413);
}
.recordhead {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 44px);
  margin: 20px 0 24px;
}
.recordhead .art {
  width: clamp(92px, 21vw, 224px);
  height: auto;
  aspect-ratio: 1;
  flex-shrink: 0;
  object-fit: cover;
}
.recordhead h1 { margin: 4px 0 8px; overflow-wrap: anywhere; line-height: 1.05; }
.recordhead p { margin: 0; }
.recordhead > div:last-child { min-width: 0; }
.recordhead + .actions { flex-wrap: wrap; gap: 8px; }
.recordhead + .actions button, .authorrecord summary { min-height: 44px; }
.choices time { font-variant-numeric: tabular-nums; color: var(--accent); }
.authorrecord { padding: 18px 0; border-bottom: 1px solid var(--line); }
/* Title, status, figures and the action form one quiet stack; global rules
   zero the margins of h2/p, so the rhythm has to be set here. */
.authorrecord h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.authorrecord > small { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.authorrecord > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.authorrecord > .pill { align-self: flex-start; }
.authorrecord details { margin-top: 12px; }
.authorrecord summary { cursor: pointer; }
/* The chapter form is a stack: caption, then the field, then the button.
   Left as plain inline flow, the textarea and button wrap around the caption. */
.authorrecord details form { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 12px; }
.authorrecord details form label { display: block; width: 100%; color: var(--muted); font-size: 13px; }
.authorrecord textarea { display: block; width: 100%; min-height: 6rem; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.authorrecord textarea::placeholder { color: var(--muted); opacity: .75; }
.authorrecord textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pressing-disc span {
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  background: #c06c40;
  border: 2px solid #26231f;
}
.pressing-disc span::after {
  content: "";
  position: absolute;
  inset: 46%;
  border-radius: 50%;
  background: var(--paper);
}
.pressing-jacket {
  top: 0;
  bottom: 0;
  left: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #33332e;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pressing-jacket img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jacket-type {
  position: relative;
  align-self: flex-start;
  margin: 5%;
  padding: 1.5% 3%;
  background: #f3efdf;
  color: #292821;
  max-width: 90%;
  overflow-wrap: anywhere;
  font-family: "Roboto Condensed", sans-serif;
}
.jacket-type strong { font-size: clamp(14px, 6cqw, 24px); line-height: 1.05; }
.jacket-type span { display: block; font-size: clamp(10px, 3cqw, 13px); }

@media (max-width: 560px) {
  .release-feature {
    grid-template-columns: minmax(0,1fr);
    padding: 20px;
    gap: 20px;
  }
  .pressing { grid-row: 1; width: min(86%, 264px); }
  .herocopy { border-top: 1px solid #b4b1a4; padding-top: 12px; }
  .herokicker { font-size: 12px; }
  .release-feature h2 { margin: 8px 0 4px; font-size: clamp(44px, 13vw, 64px); }
  .release-feature p { font-size: 14px; }
  .heroactions { margin-top: 12px; }
  .heroactions .primary, .heroextra { min-height: 44px; }
  .heroextra { width: 44px; }
}
