:root {
  --ink: #070604;
  --black: #050403;
  --cream: #f7e4b8;
  --paper: #f3d69b;
  --paper-light: #fff0c9;
  --gold: #d28d22;
  --orange: #c64916;
  --orange-dark: #8f2b12;
  --brown: #5c381c;
  --line: #17100a;
}

* { box-sizing: border-box; }

html {
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(77, 48, 20, .035), rgba(77, 48, 20, .035) 1px, transparent 1px, transparent 5px),
    var(--cream);
}

a { color: inherit; text-decoration: none; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.placeholder-art {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 2px dashed rgba(8, 6, 4, .52);
  background:
    repeating-linear-gradient(135deg, rgba(198, 73, 22, .08), rgba(198, 73, 22, .08) 8px, transparent 8px, transparent 16px),
    linear-gradient(135deg, #f6dc9d, #fff0c9);
  color: var(--brown);
  text-align: center;
}

.placeholder-art span,
.record-card__media--placeholder {
  padding: 10px;
  font: 900 13px/1.15 Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vinyl-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 80px;
  padding: 10px clamp(24px, 6vw, 96px);
  background: var(--black);
  color: var(--paper-light);
  border-bottom: 3px solid var(--gold);
}

.vinyl-brand {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vinyl-brand img {
  width: clamp(88px, 8vw, 116px);
}

.vinyl-brand span {
  max-width: 92px;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.05;
}

.vinyl-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 40px);
  font: 900 clamp(12px, 1vw, 16px)/1 Arial, sans-serif;
  text-transform: uppercase;
}

.vinyl-nav a {
  padding: 12px 0;
}

.vinyl-nav a[aria-current="page"],
.vinyl-nav a:hover {
  color: var(--orange);
}

.vinyl-menu-button {
  display: none;
  min-height: 38px;
  padding: 9px 13px;
  border: 2px solid var(--gold);
  border-radius: 5px;
  background: transparent;
  color: var(--paper-light);
  font: 900 12px/1 Arial, sans-serif;
  text-transform: uppercase;
}

.vinyl-header__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-button::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--paper-light);
  border-radius: 50%;
}

.search-button::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  width: 15px;
  height: 4px;
  background: var(--paper-light);
  transform: rotate(45deg);
  transform-origin: left center;
}

.compass-link {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 30px;
  background: radial-gradient(circle, #1b1007 45%, #000 46%);
}

.vinyl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr);
  min-height: 430px;
  border-bottom: 3px solid var(--line);
  background: var(--paper-light);
}

.vinyl-hero__art {
  overflow: hidden;
  min-height: 430px;
  border-right: 3px solid var(--line);
  background: var(--black);
}

.vinyl-hero__art img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 34% center;
}

.vinyl-hero__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 72% 22%, rgba(210, 141, 34, .22), transparent 22%),
    repeating-linear-gradient(0deg, rgba(69, 43, 17, .035), rgba(69, 43, 17, .035) 1px, transparent 1px, transparent 6px),
    var(--paper-light);
}

.vinyl-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font: 900 14px/1 Arial, sans-serif;
  letter-spacing: .3em;
}

.vinyl-hero h1 {
  margin: 0;
  font: 950 clamp(62px, 8vw, 126px)/.83 Arial Black, Impact, Arial, sans-serif;
  letter-spacing: 0;
}

.vinyl-hero h1::before,
.vinyl-hero h1::after {
  content: "";
  display: block;
  width: min(100%, 320px);
  height: 5px;
  margin: 0 0 14px;
  background: var(--orange);
}

.vinyl-hero h1::after {
  width: min(100%, 270px);
  margin: 15px 0 0;
}

.vinyl-hero__copy p:not(.vinyl-kicker) {
  max-width: 460px;
  margin: 18px 0 24px;
  font: 700 clamp(18px, 1.5vw, 24px)/1.25 Arial, sans-serif;
}

.vinyl-button,
.record-card__button,
.vinyl-newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--orange);
  color: var(--ink);
  font: 900 15px/1 Arial, sans-serif;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .2);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 22px clamp(24px, 6vw, 96px);
  background: var(--paper-light);
}

.category-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  min-height: 168px;
  padding: 0;
  border: 2px solid var(--brown);
  border-radius: 8px;
  background: var(--paper-light);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .14);
  text-align: center;
}

.category-card__art {
  display: block;
  min-height: 118px;
  overflow: hidden;
  border-bottom: 2px solid rgba(23, 16, 10, .72);
}

.category-card__art img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
  object-position: center center;
}

.category-card__label {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 54px;
  padding: 8px 10px 10px;
  background: linear-gradient(180deg, rgba(255, 240, 201, .96), rgba(242, 211, 151, .96));
}

.category-card__label strong {
  font: 950 clamp(17px, 1.45vw, 23px)/.9 Arial Black, Impact, Arial, sans-serif;
  text-transform: uppercase;
}

.category-card__label small {
  font: 900 12px/1 Arial, sans-serif;
}

.category-card:hover,
.category-card[aria-current="true"] {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.collector-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--black);
  color: var(--paper-light);
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
}

.collector-row article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(210, 141, 34, .45);
}

.collector-row article:last-child { border-right: 0; }

.collector-row span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 30px;
}

.collector-row h2 {
  margin: 0 0 7px;
  color: var(--gold);
  font: 900 15px/1.1 Arial, sans-serif;
}

.collector-row p {
  margin: 0;
  font: 500 14px/1.35 Arial, sans-serif;
}

.vinyl-section,
.highlight-grid,
.vinyl-newsletter {
  padding-inline: clamp(24px, 6vw, 96px);
}

.vinyl-section {
  padding-block: 34px;
}

.section-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.section-heading h2,
.highlight-grid > h2 {
  margin: 0;
  font: 950 clamp(28px, 3vw, 42px)/.92 Arial Black, Impact, Arial, sans-serif;
}

.section-heading h2::after,
.highlight-grid > h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 8px;
  background: var(--orange);
}

.section-heading a {
  margin-bottom: 12px;
  color: var(--orange);
  font: 900 13px/1 Arial, sans-serif;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.record-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 2px solid rgba(31, 20, 10, .72);
  border-radius: 7px;
  background: var(--paper-light);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .14);
}

.record-card__media {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 2px solid var(--line);
}

.record-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.record-card__media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .36), transparent 22%),
    linear-gradient(135deg, #edd094, #fff1cb);
  color: var(--brown);
  text-align: center;
}

.record-card__body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.record-card h3 {
  margin: 0;
  font: 900 18px/1.05 Arial, sans-serif;
}

.record-card__album {
  min-height: 34px;
  margin: 0;
  font: 500 14px/1.2 Arial, sans-serif;
}

.record-card__edition {
  min-height: 28px;
  margin: 0;
  color: var(--brown);
  font: 700 12px/1.15 Arial, sans-serif;
  text-transform: uppercase;
}

.record-card__price {
  margin: 0;
  color: var(--ink);
  font: 900 17px/1 Arial, sans-serif;
}

.record-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.record-card__button {
  min-height: 34px;
  padding: 9px 12px;
  font-size: 11px;
}

.record-card__button[aria-disabled="true"] {
  color: var(--orange);
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.record-card__save {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--brown);
  font: 900 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.catalog-pagination[hidden] {
  display: none;
}

.catalog-pagination a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--paper-light);
  color: var(--ink);
  font: 900 14px/1 Arial, sans-serif;
}

.catalog-pagination a:hover,
.catalog-pagination a[aria-current="page"] {
  background: var(--orange);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-block: 0 42px;
}

.highlight-grid > h2 {
  grid-column: 1 / -1;
}

.highlight-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--black);
  color: var(--paper-light);
}

.highlight-card__art {
  min-height: 230px;
  border: 0;
  border-right: 2px solid var(--line);
}

.highlight-card div:last-child {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.highlight-card h3 {
  margin: 0;
  font: 950 25px/.95 Arial Black, Impact, Arial, sans-serif;
}

.highlight-card p {
  margin: 0;
  color: #f3dcb2;
  font: 500 15px/1.35 Arial, sans-serif;
}

.highlight-card a {
  color: var(--orange);
  font: 900 14px/1 Arial, sans-serif;
}

.vinyl-newsletter {
  display: grid;
  grid-template-columns: 130px 1fr minmax(280px, 480px) 130px;
  gap: 24px;
  align-items: center;
  padding-block: 24px;
  background: var(--black);
  color: var(--paper-light);
}

.vinyl-newsletter h2 {
  margin: 0 0 6px;
  font: 950 34px/.9 Arial Black, Impact, Arial, sans-serif;
}

.vinyl-newsletter p {
  margin: 0;
  color: #f2d9aa;
  font: 500 16px/1.3 Arial, sans-serif;
}

.vinyl-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 2px solid var(--gold);
  border-radius: 6px;
}

.vinyl-newsletter input {
  min-width: 0;
  border: 0;
  padding: 14px 16px;
  background: #18110c;
  color: var(--paper-light);
  font: 600 15px/1 Arial, sans-serif;
}

.vinyl-newsletter button {
  border: 0;
  border-left: 2px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
}

.vinyl-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, .8fr));
  gap: 32px;
  padding: 34px clamp(24px, 6vw, 96px) 18px;
  background: var(--paper-light);
  border-top: 3px solid var(--gold);
}

.vinyl-footer img {
  width: 110px;
}

.footer-brand p,
.vinyl-footer nav p {
  margin: 12px 0 0;
  font: 500 14px/1.35 Arial, sans-serif;
}

.vinyl-footer h2 {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font: 900 15px/1 Arial, sans-serif;
}

.vinyl-footer a,
.vinyl-footer .footer-placeholder {
  display: block;
  margin: 6px 0;
  font: 600 14px/1.2 Arial, sans-serif;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.social-links a,
.social-links .footer-placeholder {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.vinyl-footer small {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .2);
  text-align: center;
}

@media (max-width: 1100px) {
  .vinyl-header {
    grid-template-columns: auto auto;
  }

  .vinyl-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .vinyl-header__tools {
    justify-self: end;
  }

  .vinyl-hero {
    grid-template-columns: 1fr;
  }

  .vinyl-hero__art {
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }

  .vinyl-hero__art img {
    object-position: 30% center;
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collector-row,
  .highlight-grid,
  .vinyl-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vinyl-newsletter {
    grid-template-columns: auto 1fr;
  }

  .vinyl-newsletter form {
    grid-column: 1 / -1;
  }

  .newsletter-crate {
    display: none;
  }
}

@media (max-width: 600px) {
  .vinyl-header {
    grid-template-columns: auto auto 1fr;
    gap: 10px;
    padding: 10px 14px 12px;
  }

  .vinyl-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .vinyl-brand img {
    width: clamp(64px, 18vw, 82px);
  }

  .vinyl-brand span {
    font-size: 10px;
  }

  .vinyl-header__tools {
    gap: 8px;
    justify-self: end;
  }

  .search-button {
    width: 38px;
    height: 38px;
  }

  .compass-link {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .vinyl-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    overflow: visible;
    gap: 0;
    padding: 8px 0 2px;
    font-size: 11px;
  }

  .vinyl-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vinyl-nav a {
    padding: 10px 0;
    border-top: 1px solid rgba(210, 141, 34, .28);
    white-space: normal;
  }

  .vinyl-hero {
    min-height: 0;
  }

  .vinyl-hero__art {
    min-height: 290px;
  }

  .vinyl-hero__art img {
    min-height: 290px;
    object-position: 28% center;
  }

  .vinyl-hero__copy {
    width: 100%;
    max-width: 100%;
    padding: 24px 18px 30px;
    overflow: hidden;
  }

  .vinyl-hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 16vw, 66px);
  }

  .vinyl-hero__copy p:not(.vinyl-kicker) {
    width: 100%;
    max-width: 100%;
    margin: 14px 0 18px;
    font-size: 16px;
    line-height: 1.32;
  }

  .vinyl-button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .category-card {
    min-height: 156px;
  }

  .category-card__art,
  .category-card__art img {
    min-height: 108px;
  }

  .category-card__label {
    min-height: 48px;
    padding: 7px 8px 9px;
  }

  .category-card__label strong {
    font-size: 16px;
  }

  .collector-row,
  .highlight-grid,
  .vinyl-footer {
    grid-template-columns: 1fr;
  }

  .collector-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(210, 141, 34, .35);
    padding: 18px;
  }

  .vinyl-section,
  .highlight-grid,
  .vinyl-newsletter {
    padding-inline: 16px;
  }

  .section-heading {
    display: grid;
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .highlight-card__art {
    min-height: 170px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .vinyl-newsletter {
    grid-template-columns: 1fr;
  }

  .newsletter-art,
  .newsletter-crate {
    display: none;
  }

  .vinyl-newsletter form {
    grid-template-columns: 1fr;
  }

  .vinyl-newsletter button {
    border-left: 0;
    border-top: 2px solid var(--gold);
  }
}
