/* Brand refinement, 2026-09-05. Deliberately separate for a reversible review.
   Golos Text: SIL OFL 1.1, bundled alongside ../assets/fonts/golos-OFL.txt.
   Layout, product typography and interactions remain in styles.css / app.js. */
@font-face {
  font-family: "Golos Text";
  src: url("../assets/fonts/golos-text-variable.woff2") format("woff2"), url("../assets/fonts/golos-text-variable.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f2ec;
  --warm: #fefcf8;
  --ink: #242320;
  --muted: #716b65;
  --red: #9c4338;
  --red-hover: #78342d;
  --graphite: #45423e;
  --neutral: #e9e3d9;
  --line: #d7d1c8;
  /* Compatibility aliases for existing components, not additional colors. */
  --blue: var(--graphite);
  --acid: var(--neutral);
  --font-display: "Golos Text", Onest, Arial, sans-serif;
}

::selection { background: var(--red); color: var(--warm); }
:focus-visible { outline-color: var(--red); }
.finder-field input:focus-visible,
.finder-field select:focus-visible,
.finder-reset:focus-visible { outline-color: var(--red); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--red); }
.button-red:hover { background: var(--red-hover); border-color: var(--red-hover); }
.quick-add { background: var(--ink); color: var(--warm); }
.quick-add:hover { background: var(--red); border-color: var(--red); }
.quick-add.is-added { background: var(--red); border-color: var(--red); color: var(--warm); }
.stock::before, .product-card.is-dense .stock::before { background: var(--graphite); box-shadow: none; }
.stock.preorder::before { background: var(--red); }
.filter-options button.is-active, .filter-demo button.is-active { color: var(--red); }
.filter-options button.is-active::before { background: var(--red); box-shadow: none; }
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { background: var(--warm); }
.thumb-row button.is-active { outline-color: var(--red); }
.mobile-dock .is-active { background: var(--red); }

/* Quiet surfaces let the sleeve artwork carry the color. */
.release-wall, .wall-card, .wall-label,
.record-lane.lane-blue .product-label,
.product-card.is-dense .product-label {
  background: var(--warm);
  color: var(--ink);
}
.wall-card { border-right-color: var(--line); }
.wall-label { border-top-color: var(--line); }
.wall-label small, .wall-price del { color: var(--muted); opacity: 1; }
.wall-label em, .wall-price { color: var(--red); }
.wall-more { background: var(--ink); color: var(--warm); }
.wall-more:hover { background: var(--red); }
.sale-wall-head { background: var(--ink); border-color: var(--graphite); }
.collection-new { background: var(--neutral); }
.collection-vintage { background: var(--warm); }
.collection-preorder { background: var(--ink); color: var(--warm); }
.collection-rare { background: var(--paper); color: var(--red); }
.editorial-copy { background: var(--ink); color: var(--warm); }
.service-intro { background: var(--neutral); color: var(--ink); }
.service-rating { background: var(--warm); }
.product-gallery { background: var(--neutral); }
.smart-collections a:nth-child(1) { background: var(--red); color: var(--warm); }
.smart-collections a:nth-child(1):hover { background: var(--red-hover); }
.cover-link, .wall-cover { background: var(--neutral); }

/* Headline width is natural, never horizontally scaled or compressed. */
h1, h2, h3 { font-weight: 800; }
.sale-hero-copy { min-width: 0; container-type: inline-size; justify-content: center; }
.sale-hero-copy :is(h1, h2) {
  font-size: clamp(30px, 5.4vw, 88px);
  font-size: clamp(26px, 12.4cqi, 88px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.025em;
  gap: .06em;
  margin: 22px 0;
}
.sale-hero-actions { margin-top: 0; padding-top: 26px; }
.home-collections h2, .home-section-head h2, .home-about h2,
.finder-heading h1, .finder-heading h2 {
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-collections nav strong {
  font-size: clamp(24px, 2.05vw, 34px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.02em;
  overflow-wrap: normal;
}
.home-collections nav a { min-width: 0; }
.editorial-copy h2, .service-intro h2 {
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.service-rating > strong {
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
}
.home-about h2 { max-width: 18ch; }
.sale-wall-head h2, .crate-head h2, .listening-now h3,
.section-line h2, .finder-results h2 {
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.journal-grid strong, .journal-grid .journal-lead strong {
  font-size: clamp(24px, 2.15vw, 34px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.02em;
}
.journal-grid .journal-lead strong { font-size: clamp(28px, 2.7vw, 42px); }
.service-faq summary { font-size: 18px; font-weight: 700; line-height: 1.4; }
.catalog-heading h1, .search-heading h1, .cart-heading h1,
.checkout-title h1, .system-page > header h1, .info-hero h1 {
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.product-summary h1 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.dialog-head h2, .order-summary h2, .checkout-form h2,
.delivery-grid h2 { font-size: 28px; line-height: 1.18; }
.mega-nav strong { font-size: 22px; font-weight: 800; line-height: 1.2; }
.mega-nav a { gap: 16px; }
.mega-nav span { text-align: right; }
.empty-state h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }
.type-sample strong { font-size: clamp(34px, 4vw, 56px); line-height: 1.12; }
.filters-panel legend, .tab-list button,
.site-footer nav strong { font-size: 19px; font-weight: 700; line-height: 1.25; }
.footer-contact a { font-family: var(--font-body); font-size: 22px; white-space: nowrap; }

/* Onest remains the functional typeface, including readable price figures. */
.price, .wall-label b, .listening-now b, .purchase-box strong,
.mobile-buy strong, .cart-line > strong, .order-summary .summary-total,
.search-suggestions > a > b { font-family: var(--font-body); }
.product-card .price, .sale-wall .wall-label b { font-size: 24px; letter-spacing: -.025em; }
.sale-wall .wall-label em, .wall-price del { letter-spacing: 0; }
.sale-wall .wall-more { font-size: 18px; font-weight: 800; line-height: 1.25; }
.purchase-box strong { font-size: 32px; }
.order-summary .summary-total { font-size: 24px; }
.swatches .red { color: var(--warm); }

/* Eighteen unique sale records, six visible at desktop widths. */
.sale-wall-head { height: auto; min-height: 64px; display: flex; gap: 16px; padding-block: 10px; }
.sale-wall-head h2 { min-width: 0; }
.sale-carousel-controls { display: flex; flex-shrink: 0; gap: 8px; margin-left: auto; }
.sale-carousel-controls button {
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid #87827b; background: var(--ink); color: var(--warm);
  font-family: var(--font-body); font-size: 26px; line-height: 1;
}
.sale-carousel-controls button:hover:not(:disabled) { background: var(--graphite); }
.sale-carousel-controls button:disabled { opacity: .35; cursor: default; }
.sale-carousel-controls button:focus-visible { outline-color: var(--warm); }
.sale-wall .wall-track {
  display: grid; grid-template-columns: none; grid-auto-flow: column;
  grid-auto-columns: calc(100% / 6); gap: 0;
  overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sale-wall .wall-track::-webkit-scrollbar { display: none; }
.sale-wall .wall-track:focus-visible { outline-offset: -3px; }
.sale-wall .product-card { width: auto; min-width: 0; scroll-snap-align: start; }
.sale-wall .product-label { min-height: 234px; border-bottom: 0; }
.home-recommendations .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1180px) {
  .sale-wall .wall-track { grid-auto-columns: 25%; }
  .home-recommendations .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-collections nav strong { font-size: 30px; }
  .site-footer { gap: 28px; }
}
@media (max-width: 760px) {
  .sale-wall-head { display: flex; gap: 10px; }
  .sale-wall-head h2 { font-size: 20px; }
  .sale-carousel-controls { gap: 5px; }
  .sale-wall .wall-track { grid-auto-columns: 78%; }
  .sale-wall .product-label { min-height: 222px; }
  .home-recommendations .product-grid { grid-template-columns: 1fr 1fr; }
  .home-collections h2, .home-section-head h2, .home-about h2,
  .finder-heading h1, .finder-heading h2 { font-size: clamp(28px, 7.4vw, 34px); }
  .home-collections nav strong { font-size: clamp(28px, 8vw, 36px); }
  .editorial-copy h2, .service-intro h2, .service-rating > strong { font-size: 30px; }
  .journal-grid strong, .journal-grid .journal-lead strong { font-size: 29px; }
  .sale-wall-head h2 { font-size: 23px; }
  .product-card .price { font-size: 20px; }
  .footer-contact a { font-size: 22px; }
  .mega-nav strong { font-size: 20px; }
  .mega-nav span { text-align: left; }
}
