﻿/*
Theme Name: Ojuverse Admin Managed Stage
Theme URI: https://ojuverse.com/
Author: t0romo / Ojuverse
Description: Admin-managed Ojuverse storefront with WooCommerce products, Music Releases, and Archive Videos.
Version: 0.3.34-live-audit-fix
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ojuverse
*/
:root {
  color-scheme: light;
  --paper: #f1e8c9;
  --paper-soft: #fbf3d7;
  --paper-deep: #ffd86f;
  --ink: #090b0f;
  --muted: #3f4146;
  --line: #111319;
  --card: #fcf4dd;
  --accent: #d71920;
  --signal: #d71920;
  --danfo: #ffc400;
  --lagoon: #007e78;
  --electric: #175cff;
  --rose: #ff5a6a;
  --steel: #1c2f3a;
  --acid: #b7ff2a;
  --accent-dark: #090b0f;
  --sage: #007e78;
  --blue: #175cff;
  --soft: #9fd3c7;
  --deep-sea: #061a27;
  --deep-sea-2: #08283a;
  --deep-sea-3: #0c3b4d;
  --deep-sea-brush: url("assets/images/deep-sea-brush.svg");
  --studio-mark: rgba(16, 28, 33, 0.2);
  --shadow: 0 20px 44px rgba(10, 18, 26, 0.16);
  --edge-shadow-color: rgba(8, 40, 58, 0.3);
  --edge-shadow-soft: rgba(10, 18, 26, 0.14);
  --radius: 8px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(9, 11, 15, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.02) 1px, transparent 1px),
    radial-gradient(ellipse 300px 84px at 16% 28%, transparent 58%, rgba(9, 11, 15, 0.035) 59%, transparent 62%),
    radial-gradient(ellipse 240px 68px at 82% 18%, transparent 58%, rgba(255, 196, 0, 0.055) 59%, transparent 62%),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%, auto;
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 52px);
  border-bottom: 0;
  background:
    linear-gradient(rgba(9, 11, 15, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.02) 1px, transparent 1px),
    radial-gradient(ellipse 260px 72px at 16% 58%, transparent 58%, rgba(9, 11, 15, 0.032) 59%, transparent 62%),
    radial-gradient(ellipse 220px 62px at 82% 28%, transparent 58%, rgba(255, 196, 0, 0.05) 59%, transparent 62%),
    var(--paper-soft);
  background-repeat: no-repeat;
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%, auto;
  color: var(--ink);
  box-shadow: none;
}

.site-header::after {
  display: none;
  content: none;
}

.logo-slot {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: clamp(42px, 5vw, 62px);
  height: clamp(42px, 5vw, 62px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  line-height: 1;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.logo-slot img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.wordmark {
  position: relative;
  z-index: 1;
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  text-transform: var(--wordmark-transform, uppercase);
  line-height: var(--wordmark-line-height, 1);
}

.wordmark span {
  font-family: var(--wordmark-font, Georgia, "Times New Roman", serif);
  font-size: var(--wordmark-size, 1.08rem);
  font-weight: var(--wordmark-weight, 400);
  letter-spacing: var(--wordmark-letter-spacing, 0em);
  line-height: var(--wordmark-line-height, 1);
}

.wordmark small {
  color: rgba(9, 11, 15, 0.58);
  font-family: var(--wordmark-font, Georgia, "Times New Roman", serif);
  font-size: var(--wordmark-sub-size, 0.62rem);
  font-weight: var(--wordmark-sub-weight, 400);
  letter-spacing: var(--wordmark-letter-spacing, 0em);
  line-height: var(--wordmark-line-height, 1);
}

.site-nav {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(9, 11, 15, 0.72);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: rgba(9, 11, 15, 0.32);
  color: var(--ink);
  background: rgba(255, 248, 232, 0.58);
}

.site-nav a.is-active {
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: inset 0 -4px 0 var(--danfo), 4px 4px 0 var(--electric);
}

.site-nav .cart-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding-inline: 10px;
}

.cart-icon {
  display: block;
  flex: 0 0 auto;
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
}

.cart-count.is-empty {
  display: none;
}

.nav-toggle {
  position: relative;
  z-index: 1;
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 242, 0.92);
  color: var(--ink);
}

.nav-toggle__text {
  display: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-cart-link {
  display: none;
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle__line::before {
  transform: translateY(-7px);
}

.nav-toggle__line::after {
  transform: translateY(5px);
}

main {
  overflow: hidden;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(14px, 2.6vw, 38px);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: clamp(32px, 7vw, 76px) clamp(18px, 4vw, 52px);
  background:
    linear-gradient(rgba(9, 11, 15, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.024) 1px, transparent 1px),
    radial-gradient(ellipse 360px 94px at 78% 39%, transparent 58%, rgba(9, 11, 15, 0.055) 59%, transparent 62%),
    radial-gradient(ellipse 280px 76px at 18% 70%, transparent 58%, rgba(255, 196, 0, 0.075) 59%, transparent 62%),
    #fbf3d7;
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

.hero-shell::before,
.section-block[data-stamp]::before,
.page-intro[data-stamp]::before,
.about-panel[data-stamp]::before,
.contact-panel[data-stamp]::before,
.subscribe-strip[data-stamp]::before,
.item-detail[data-stamp]::before {
  position: absolute;
  top: 22px;
  left: clamp(18px, 4vw, 52px);
  z-index: 1;
  padding: 4px 8px;
  border: 1px solid rgba(159, 31, 47, 0.34);
  color: rgba(12, 14, 16, 0.66);
  content: attr(data-stamp);
  font-size: 0.68rem;
  text-transform: uppercase;
  transform: rotate(-2deg);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  justify-self: end;
  width: min(100%, 620px);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 4.4rem;
}

h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.hero-note,
.page-intro p,
.section-note,
.about-copy,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-note {
  max-width: 540px;
  margin-bottom: 0;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.status-pill,
.card__status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 242, 0.76);
  color: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--danfo);
}

.button--primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--danfo), -2px -2px 0 var(--electric);
}

.button--quiet {
  border-color: var(--line);
  color: var(--muted);
  box-shadow: none;
}

.text-link {
  color: var(--signal);
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero-title-link {
  color: inherit;
  text-decoration: none;
}

.hero-media {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  color: inherit;
  text-decoration: none;
  transform: rotate(-1deg);
  transform-origin: 50% 58%;
}

.hero-media img,
.card img,
.release-card img,
.object-card img,
.tile__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.hero-media img,
.product-tile .tile__image img,
.item-detail--product > img {
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-media {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 52px);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.product-tile .tile__image {
  min-height: clamp(184px, 16vw, 224px);
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 24px);
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.hero-media img {
  max-width: 86%;
  max-height: 520px;
  filter:
    drop-shadow(7px 9px 12px var(--edge-shadow-color))
    drop-shadow(16px 22px 34px var(--edge-shadow-color))
    drop-shadow(0 28px 44px var(--edge-shadow-soft));
}

.product-tile .tile__image img {
  max-width: 88%;
  max-height: 360px;
  filter:
    drop-shadow(5px 7px 10px var(--edge-shadow-color))
    drop-shadow(12px 17px 28px var(--edge-shadow-color))
    drop-shadow(0 22px 38px var(--edge-shadow-soft));
}

.product-tile .tile__image {
  overflow: visible;
}

.product-tile .tile__image::before {
  display: none;
  content: none;
}

.hero-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.section-block,
.page-intro,
.about-panel,
.contact-panel,
.subscribe-strip,
.site-footer {
  width: 100%;
  border-top: 1px solid var(--line);
}

main > :first-child {
  border-top: 0;
}

.section-block,
.page-intro,
.about-panel,
.contact-panel,
.subscribe-strip {
  position: relative;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 52px);
}

.section-block > *,
.page-intro > *,
.about-panel > *,
.contact-panel > *,
.subscribe-strip > * {
  max-width: var(--max);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-block {
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 360px 94px at 18% 28%, transparent 58%, rgba(9, 11, 15, 0.045) 59%, transparent 62%),
    radial-gradient(ellipse 290px 80px at 82% 44%, transparent 58%, rgba(255, 196, 0, 0.065) 59%, transparent 62%),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

.section-block--offwhite {
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 360px 94px at 17% 23%, transparent 58%, rgba(9, 11, 15, 0.05) 59%, transparent 62%),
    radial-gradient(ellipse 290px 80px at 81% 43%, transparent 58%, rgba(255, 196, 0, 0.08) 59%, transparent 62%),
    #fbf3d7;
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

.section-heading h2 {
  max-width: 760px;
}

#music-catalogue,
#video-catalogue {
  scroll-margin-top: 78px;
}

.card-grid,
.drop-grid,
.release-grid,
.archive-grid-large,
.object-row,
.link-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 16px;
}

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

.drop-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.drop-grid .tile {
  grid-column: span 3;
}

.drop-grid--current .tile:nth-child(1) {
  grid-column: span 5;
}

.drop-grid--current .tile:nth-child(2) {
  grid-column: span 3;
  margin-top: 74px;
}

.drop-grid--current .tile:nth-child(3) {
  grid-column: span 4;
  margin-top: 24px;
}

.drop-grid--soon .tile:nth-child(1) {
  grid-column: 2 / span 3;
}

.drop-grid--soon .tile:nth-child(2) {
  grid-column: span 4;
  margin-top: 54px;
}

.drop-grid--soon .tile:nth-child(3) {
  grid-column: span 3;
}

.drop-grid--soon .tile:nth-child(4) {
  grid-column: 5 / span 4;
}

.drop-grid--current .product-tile:nth-child(1) {
  --tilt: -1.5deg;
}

.drop-grid--current .product-tile:nth-child(2) {
  --tilt: 1.1deg;
}

.drop-grid--current .product-tile:nth-child(3) {
  --tilt: -0.6deg;
}

.drop-grid--soon .product-tile:nth-child(1) {
  --tilt: 1.25deg;
}

.drop-grid--soon .product-tile:nth-child(2) {
  --tilt: -1deg;
}

.drop-grid--soon .product-tile:nth-child(3) {
  --tilt: 0.75deg;
}

.drop-grid--soon .product-tile:nth-child(4) {
  --tilt: -0.9deg;
}

.drop-grid--catalogue {
  gap: clamp(44px, 7vw, 92px) clamp(18px, 3.6vw, 42px);
}

.drop-grid--catalogue .product-tile {
  --tilt: 0deg;
}

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

.release-grid--catalogue {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(34px, 6vw, 86px);
  max-width: 1040px;
}

.archive-grid-large--catalogue {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(34px, 6vw, 86px);
  max-width: 1040px;
}

.object-row,
.link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-shell {
  max-width: var(--max);
  margin: -4px auto 34px;
}

.filter-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.filter-toggle__current {
  color: var(--accent);
  font-weight: 400;
}

.filter-bar {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}

.filter-shell.is-open .filter-bar {
  display: flex;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.filter-chip:hover {
  border-color: var(--ink);
  background: rgba(9, 11, 15, 0.055);
  color: var(--ink);
  box-shadow: none;
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
  box-shadow: none;
}

.card,
.release-card,
.object-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  border: 2px solid rgba(9, 11, 15, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 196, 0, 0.22), transparent 24%),
    rgba(255, 248, 223, 0.82);
}

.tile {
  position: relative;
  --lift: 0px;
  --tilt: 0deg;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  color: inherit;
  text-decoration: none;
  transform: translateY(var(--lift)) rotate(var(--tilt));
}

.tile__image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.tile__image img {
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.tile__body {
  display: grid;
  width: min(76%, 330px);
  min-width: 0;
  gap: 3px;
  margin: 2px auto 0;
}

.tile h3 {
  margin: 0;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
}

.tile__price {
  margin: 0;
  color: rgba(9, 11, 15, 0.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tile__price del,
.tile__price ins,
.tile__price-old,
.tile__price-current {
  display: block;
}

.tile__price del,
.tile__price-old {
  color: rgba(9, 11, 15, 0.48);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.tile__price ins,
.tile__price-current {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.music-tile {
  gap: 7px;
}

.music-tile .tile__image {
  overflow: visible;
  background: transparent;
}

.music-tile .tile__image img {
  aspect-ratio: 1;
  object-fit: contain;
  border: 0;
  background: transparent;
  filter:
    drop-shadow(5px 7px 10px var(--edge-shadow-color))
    drop-shadow(12px 16px 26px var(--edge-shadow-color))
    drop-shadow(0 18px 34px var(--edge-shadow-soft));
}

.archive-tile {
  gap: 7px;
}

.archive-tile .tile__image img {
  aspect-ratio: 1;
  object-fit: contain;
  background:
    linear-gradient(rgba(9, 11, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 22% 18%, rgba(255, 196, 0, 0.3), transparent 24%),
    radial-gradient(ellipse 72% 22% at 52% 48%, transparent 56%, rgba(215, 25, 32, 0.24) 57%, transparent 62%),
    #e0f1c9;
  background-size: 22px 22px, 22px 22px, 100% 100%, 100% 100%, auto;
  filter:
    drop-shadow(5px 7px 10px var(--edge-shadow-color))
    drop-shadow(12px 16px 26px var(--edge-shadow-color))
    drop-shadow(0 18px 34px var(--edge-shadow-soft));
}

.card__body,
.release-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.card__meta,
.release-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.card p,
.release-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card .button,
.release-card .button,
.object-card .button {
  width: 100%;
  margin-top: auto;
}

.section-block--split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.54fr) minmax(0, 1.46fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 320px 92px at 78% 24%, transparent 56%, rgba(6, 26, 39, 0.12) 57%, transparent 62%),
    radial-gradient(ellipse 260px 74px at 18% 72%, transparent 56%, rgba(255, 196, 0, 0.08) 57%, transparent 62%),
    linear-gradient(180deg, var(--paper-soft) 0%, #f0e7cb 40%, #dbe9e6 72%, rgba(8, 40, 58, 0.42) 94%, var(--deep-sea-2) 100%);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  color: var(--ink);
}

.section-block--split::after {
  position: absolute;
  right: -8vw;
  bottom: 0;
  left: -8vw;
  z-index: 0;
  height: clamp(120px, 17vw, 250px);
  background:
    radial-gradient(108% 118% at 50% -4%, rgba(8, 40, 58, 0) 0%, rgba(8, 40, 58, 0) 46%, rgba(8, 40, 58, 0.45) 72%, var(--deep-sea-2) 100%),
    linear-gradient(180deg, rgba(8, 40, 58, 0) 0%, rgba(8, 40, 58, 0) 56%, rgba(8, 40, 58, 0.32) 86%, var(--deep-sea-2) 100%);
  content: "";
  pointer-events: none;
}

.section-block--split + .subscribe-strip {
  border-top: 0;
  margin-top: -1px;
}

body[data-page="home"] .section-block--offwhite + .section-block--split {
  border-top: 1px solid rgba(9, 11, 15, 0.26);
}

.section-block--split .eyebrow {
  color: var(--signal);
}

.section-block--split .button--primary {
  border-color: var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.section-block--split .mini-release h3 {
  color: var(--ink);
}

.section-block--offset {
  background:
    radial-gradient(ellipse 320px 92px at 32% 42%, transparent 58%, rgba(32, 63, 77, 0.055) 59%, transparent 62%),
    radial-gradient(ellipse 220px 64px at 74% 66%, transparent 58%, rgba(239, 179, 33, 0.055) 59%, transparent 62%),
    #f0f1eb;
}

.section-block--split > * {
  position: relative;
  z-index: 1;
  max-width: none;
  min-width: 0;
}

body[data-page="home"] .section-block--split > div:first-child {
  transform: translateY(clamp(-110px, -7vw, -54px));
}

.section-note {
  max-width: 560px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.mini-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  min-width: 0;
  gap: clamp(18px, 3vw, 38px);
  align-items: start;
}

body[data-page="home"] .section-block--split .mini-list {
  transform: translateY(clamp(-72px, -5vw, -34px));
}

.mini-release {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 7px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  text-decoration: none;
  transform: rotate(var(--mini-tilt, 0deg));
}

.mini-release img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(5px 7px 10px var(--edge-shadow-color))
    drop-shadow(12px 17px 28px var(--edge-shadow-color))
    drop-shadow(0 22px 38px var(--edge-shadow-soft));
}

.mini-release h3 {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.mini-release p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-release:nth-child(1) {
  --mini-tilt: -2.1deg;
  margin-top: clamp(24px, 4vw, 58px);
}

.mini-release:nth-child(2) {
  --mini-tilt: 1.4deg;
}

.mini-release:nth-child(3) {
  --mini-tilt: -0.7deg;
  margin-top: clamp(44px, 7vw, 96px);
}

.page-intro {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 360px 94px at 35% 44%, transparent 56%, rgba(6, 26, 39, 0.06) 57%, transparent 62%),
    radial-gradient(ellipse 260px 74px at 74% 72%, transparent 56%, rgba(255, 196, 0, 0.075) 57%, transparent 62%),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

.page-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 18px;
}

.page-intro p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 0;
}

.page-intro::after {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 52px);
  z-index: 0;
  max-width: min(440px, 48vw);
  color: rgba(12, 14, 16, 0.24);
  content: "Studio signal / OJ";
  font-size: clamp(0.78rem, 1.4vw, 1.18rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

body[data-page="music"] .page-intro {
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 360px 104px at 35% 44%, transparent 56%, rgba(6, 26, 39, 0.065) 57%, transparent 62%),
    radial-gradient(ellipse 260px 74px at 78% 76%, transparent 56%, rgba(255, 196, 0, 0.075) 57%, transparent 62%),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

body[data-page="archive"] .page-intro {
  background:
    linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse 340px 96px at 42% 42%, transparent 56%, rgba(6, 26, 39, 0.065) 57%, transparent 62%),
    radial-gradient(ellipse 260px 74px at 24% 76%, transparent 56%, rgba(255, 196, 0, 0.075) 57%, transparent 62%),
    var(--paper-soft);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
}

body[data-page="music"] .page-intro::after {
  content: "Audio room / OJ";
}

body[data-page="music"] .page-intro h1::after {
  display: none;
}

.scroll-arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: clamp(78px, 8vw, 124px);
  height: clamp(132px, 12vw, 190px);
  margin-top: clamp(80px, 18svh, 176px);
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.scroll-arrow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scroll-arrow__icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.scroll-arrow__shaft,
.scroll-arrow__head {
  fill: none;
  stroke: currentColor;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-arrow:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 6px;
}

/*
  Legacy fallback if the image ever fails to load.
*/
.scroll-arrow span {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 5px 5px 0 var(--danfo), -2px -2px 0 var(--electric);
}

.item-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 78px);
  margin: 0 auto;
  padding: clamp(32px, 7vw, 82px) clamp(18px, 4vw, 52px);
}

.item-detail > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.item-detail > img {
  transform: rotate(-0.6deg);
}

.item-detail--product > img {
  padding: clamp(22px, 5vw, 72px);
  max-height: 640px;
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(7px 9px 12px var(--edge-shadow-color))
    drop-shadow(16px 22px 34px var(--edge-shadow-color))
    drop-shadow(0 28px 44px var(--edge-shadow-soft));
}

.item-detail--music > img,
.item-detail--archive > img {
  box-shadow: none;
  filter:
    drop-shadow(7px 9px 12px var(--edge-shadow-color))
    drop-shadow(16px 22px 34px var(--edge-shadow-color))
    drop-shadow(0 28px 44px var(--edge-shadow-soft));
}

.item-detail__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.item-detail__body h1 {
  margin: 0;
  font-size: 3.6rem;
}

.item-detail__body p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.tracklist-block {
  width: min(100%, 560px);
  padding: 14px 0 4px;
  border-top: 1px solid rgba(9, 11, 15, 0.16);
}

.tracklist-block h2 {
  margin: 0 0 10px;
  font-family: var(--font-mono, "Courier New", Courier, monospace);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.tracklist-lines {
  display: grid;
  gap: 6px;
}

.tracklist-lines p {
  max-width: none;
  margin: 0;
  color: var(--ink);
}

.detail-price {
  color: var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.about-panel,
.contact-panel,
.subscribe-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  max-width: none;
}

.about-panel > *,
.contact-panel > *,
.subscribe-strip > * {
  max-width: none;
  min-width: 0;
}

.about-copy {
  max-width: 540px;
}

.quote-band {
  min-height: 260px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
}

.subscribe-strip {
  align-items: center;
  overflow: hidden;
  padding-top: clamp(32px, 5vw, 54px);
  padding-bottom: clamp(30px, 4.6vw, 50px);
  border-top: 0;
  border-bottom: 0;
  background:
    var(--deep-sea-brush),
    linear-gradient(180deg, var(--deep-sea-2) 0%, rgba(8, 40, 58, 0.97) 24%, rgba(7, 30, 36, 0.99) 68%, #172929 100%),
    radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(108deg, rgba(255, 248, 232, 0.052), transparent 34%, rgba(0, 0, 0, 0.16) 70%, transparent),
    url("assets/images/deep-sea-grain.png"),
    radial-gradient(ellipse 460px 130px at 74% 34%, transparent 58%, rgba(255, 196, 0, 0.13) 59%, transparent 62%),
    radial-gradient(ellipse 300px 86px at 24% 72%, transparent 58%, rgba(38, 128, 138, 0.15) 59%, transparent 62%),
    radial-gradient(ellipse 260px 72px at 16% 24%, rgba(181, 29, 42, 0.12), transparent 68%),
    linear-gradient(145deg, var(--deep-sea-3) 0%, var(--deep-sea-2) 42%, #172929 100%);
  background-size: cover, auto, auto, auto, 190px 190px, auto, auto, auto, auto;
  color: var(--paper-soft);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
}

.section-block--split + .subscribe-strip::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(120px, 16vw, 230px);
  background: linear-gradient(180deg, var(--deep-sea-2) 0%, rgba(8, 40, 58, 0.82) 38%, rgba(8, 40, 58, 0) 100%);
  content: "";
  pointer-events: none;
}

.subscribe-strip .eyebrow,
.subscribe-strip .form-note {
  color: var(--danfo);
}

.subscribe-strip h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
  line-height: 0.92;
}

.subscribe-strip::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 5vw, 64px);
  width: min(540px, 48vw);
  height: min(300px, 32vw);
  background:
    radial-gradient(ellipse 340px 90px at 50% 50%, transparent 58%, rgba(255, 248, 232, 0.1) 59%, transparent 62%),
    radial-gradient(ellipse 230px 62px at 46% 48%, transparent 56%, rgba(255, 196, 0, 0.12) 57%, transparent 60%);
  content: "";
  opacity: 0.34;
  pointer-events: none;
  z-index: 0;
}

.subscribe-copy,
.subscribe-actions {
  position: relative;
  z-index: 1;
}

.subscribe-line {
  max-width: 460px;
  margin: 18px 0 0;
  color: rgba(255, 248, 232, 0.82);
  font-size: 1rem;
}

.signal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.signal-meta span,
.signal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(244, 243, 237, 0.22);
  color: rgba(244, 243, 237, 0.72);
  font-size: 0.72rem;
  text-decoration: none;
  text-transform: uppercase;
}

.subscribe-actions {
  display: grid;
  gap: 14px;
  align-self: center;
}

.inline-form.subscribe-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0;
}

.subscribe-inline .form-note {
  grid-column: 1 / -1;
}

.signal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-links a:hover {
  border-color: var(--danfo);
  color: var(--paper);
}

.subscribe-strip input {
  border-color: rgba(255, 248, 232, 0.34);
  background: rgba(255, 248, 232, 0.94);
}

.subscribe-strip .button--primary {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--danfo);
}

.subscribe-strip[data-stamp]::before,
.quote-band[data-stamp]::before {
  border-color: rgba(239, 179, 33, 0.52);
  color: rgba(244, 243, 237, 0.66);
}

.quote-band p {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.8rem;
  line-height: 1.08;
  text-align: center;
}

.inline-form,
.subscribe-form {
  display: flex;
  gap: 10px;
}

.subscribe-form {
  flex-direction: column;
}

input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(12, 14, 16, 0.04);
}

.form-note {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.link-grid a {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 242, 0.84);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(12, 14, 16, 0.05);
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 3vw, 24px);
  min-height: 58px;
  padding: 12px clamp(18px, 4vw, 52px);
  border-top: 0;
  background: linear-gradient(180deg, #172929 0%, #102323 52%, #08171d 100%);
  color: rgba(255, 248, 232, 0.88);
  font-size: 0.86rem;
  box-shadow: none;
}

.site-footer p {
  white-space: nowrap;
  margin: 0;
}

.site-footer nav {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-footer nav::-webkit-scrollbar {
  display: none;
}

.site-footer a {
  color: rgba(255, 248, 232, 0.9);
}

.woocommerce-page .site-footer a,
.woocommerce-page .site-footer p,
.woocommerce .site-footer a,
.woocommerce .site-footer p {
  color: rgba(255, 248, 232, 0.9) !important;
}

.empty-state {
  max-width: var(--max);
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(251, 250, 242, 0.66);
}

@media (min-width: 981px) {
  body[data-page="home"] .hero-shell,
  body[data-page="home"] .section-block--offwhite {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  body[data-page="home"] .section-block--offwhite > * {
    width: 100%;
    max-width: none;
  }

  .section-block,
  .page-intro,
  .about-panel,
  .contact-panel {
    min-height: calc(100svh - 78px);
  }

  .subscribe-strip {
    min-height: clamp(340px, 46svh, 500px);
  }

  .shop-catalogue-block {
    padding-top: clamp(72px, 10vw, 118px);
  }

  .page-intro {
    justify-content: flex-start;
    padding-top: clamp(250px, 38svh, 340px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .scroll-arrow,
  .scroll-arrow img,
  .scroll-arrow__icon,
  .filter-chip,
  .tile,
  .mini-release,
  .card,
  .release-card,
  .object-card,
  .hero-media,
  .product-tile .tile__image::before,
  .tile__image img,
  .hero-media img {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      filter 180ms ease,
      opacity 180ms ease;
  }

  .button:hover {
    transform: translateY(-1px);
  }

  .scroll-arrow:hover {
    transform: translateY(8px) scale(1.045);
  }

  .scroll-arrow:hover img,
  .scroll-arrow:hover .scroll-arrow__icon {
    filter: drop-shadow(0 8px 0 rgba(255, 196, 0, 0.42));
  }

  .tile:hover {
    --lift: -5px;
  }

  .mini-release:hover {
    transform: translateY(-4px) rotate(var(--mini-tilt, 0deg));
  }

  .tile:hover .tile__image img,
  .mini-release:hover img,
  .hero-media:hover img {
    transform: scale(1.025);
  }

  .product-tile:hover .tile__image::before {
    opacity: 0.95;
    transform: scale(1.025);
  }

  .hero-media:hover {
    transform: rotate(-0.4deg) translateY(-4px);
  }

  .tile:hover h3,
  .mini-release:hover h3 {
    font-weight: 500;
  }
}

@media (max-width: 980px) {
  body {
    padding-bottom: 0;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 10px;
  }

  .logo-slot {
    justify-self: center;
  }

  .wordmark {
    display: none;
  }

  .nav-toggle {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    bottom: auto;
    z-index: 60;
    display: inline-flex !important;
    width: 38px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
  }

  .nav-toggle__line,
  .nav-toggle__line::before,
  .nav-toggle__line::after {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle__line {
    position: relative;
  }

  .nav-toggle__line::before,
  .nav-toggle__line::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__line::before {
    transform: translateY(-6px);
  }

  .nav-toggle__line::after {
    transform: translateY(6px);
  }

  .nav-toggle__text {
    display: none;
  }

  .mobile-cart-link {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    bottom: auto;
    z-index: 60;
    display: inline-flex;
    min-width: 38px;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    box-shadow: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.mobile-cart-muted:not(.nav-open) .mobile-cart-link {
    opacity: 0.24;
    transform: translateY(-2px);
  }

  body.nav-open .mobile-cart-link {
    opacity: 1;
    transform: none;
  }

  .mobile-cart-link .cart-count {
    min-width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.72rem;
  }

  .site-nav {
    position: fixed;
    top: calc(54px + env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    bottom: auto;
    z-index: 59;
    display: none;
    width: min(260px, calc(100vw - 28px));
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(9, 11, 15, 0.24);
    border-radius: var(--radius);
    background:
      linear-gradient(rgba(9, 11, 15, 0.028) 1px, transparent 1px),
      linear-gradient(90deg, rgba(9, 11, 15, 0.02) 1px, transparent 1px),
      var(--paper-soft);
    background-size: 30px 30px, 30px 30px, auto;
    box-shadow: 8px 8px 0 rgba(9, 11, 15, 0.14);
  }

  .has-js body.nav-open .site-nav,
  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    justify-content: flex-start;
    padding: 9px 10px;
  }

  .site-nav .cart-link {
    display: flex;
  }

  .filter-shell {
    margin: -2px auto 28px;
  }

  .filter-toggle {
    display: inline-flex;
  }

  .has-js .filter-shell .filter-bar {
    display: none;
  }

  .has-js .filter-shell.is-open .filter-bar {
    display: flex;
  }

  .filter-bar {
    padding-top: 12px;
  }

  .filter-chip {
    min-height: 36px;
    padding: 7px 10px;
  }

  .hero-shell,
  .item-detail,
  .section-block--split,
  .about-panel,
  .contact-panel,
  .subscribe-strip {
    grid-template-columns: 1fr;
  }

  .hero-shell,
  .item-detail {
    min-height: 0;
  }

  .card-grid,
  .drop-grid,
  .release-grid,
  .archive-grid-large,
  .object-row,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-grid--catalogue,
  .archive-grid-large--catalogue {
    gap: 34px;
  }

  .drop-grid .tile,
  .drop-grid--current .tile:nth-child(1),
  .drop-grid--current .tile:nth-child(2),
  .drop-grid--current .tile:nth-child(3),
  .drop-grid--current .tile:nth-child(4),
  .drop-grid--soon .tile:nth-child(1),
  .drop-grid--soon .tile:nth-child(2),
  .drop-grid--soon .tile:nth-child(3),
  .drop-grid--soon .tile:nth-child(4) {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%, auto;
  }

  .hero-shell::before,
  .section-block[data-stamp]::before,
  .page-intro[data-stamp]::before,
  .about-panel[data-stamp]::before,
  .contact-panel[data-stamp]::before,
  .subscribe-strip[data-stamp]::before,
  .item-detail[data-stamp]::before {
    top: 14px;
    left: 18px;
    font-size: 0.62rem;
  }

  .site-header {
    min-height: 58px;
  }

  .hero-shell {
    min-height: 0;
    padding-top: 36px;
  }

  .hero-media {
    transform: none;
  }

  .drop-grid--current .product-tile,
  .drop-grid--soon .product-tile {
    --tilt: 0deg;
  }

  .item-detail {
    min-height: 0;
  }

  .item-detail__body h1 {
    font-size: 2.2rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  .hero-copy h1,
  .page-intro h1 {
    max-width: 330px;
  }

  h2 {
    font-size: 1.65rem;
  }

  .page-intro p,
  .hero-note {
    max-width: 330px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 0.72rem;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 10px;
  }

  .card-grid,
  .drop-grid,
  .release-grid,
  .archive-grid-large,
  .object-row,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .shop-catalogue-block .drop-grid--catalogue,
  .release-grid--catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
  }

  .shop-catalogue-block .drop-grid--catalogue .product-tile,
  .release-grid--catalogue .music-tile {
    gap: 8px;
  }

  .shop-catalogue-block .drop-grid--catalogue .product-tile .tile__image,
  .release-grid--catalogue .music-tile .tile__image {
    min-height: 0;
    padding: 8px;
  }

  .shop-catalogue-block .drop-grid--catalogue .product-tile .tile__image img,
  .release-grid--catalogue .music-tile .tile__image img {
    max-width: 96%;
    max-height: clamp(118px, 34vw, 190px);
  }

  .shop-catalogue-block .drop-grid--catalogue .tile h3,
  .release-grid--catalogue .tile h3 {
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .release-grid--catalogue,
  .archive-grid-large--catalogue {
    gap: 36px;
  }

  .shop-catalogue-block .drop-grid--catalogue,
  .release-grid--catalogue {
    gap: 42px 16px;
  }

  body[data-page="home"] .drop-grid--current {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
  }

  body[data-page="home"] .drop-grid--current .product-tile .tile__image {
    min-height: 0;
    padding: 8px;
  }

  body[data-page="home"] .drop-grid--current .product-tile .tile__image img {
    max-width: 96%;
    max-height: clamp(118px, 34vw, 190px);
  }

  .mini-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-block--split {
    background:
      linear-gradient(rgba(9, 11, 15, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(9, 11, 15, 0.022) 1px, transparent 1px),
      radial-gradient(ellipse 220px 64px at 72% 24%, transparent 56%, rgba(6, 26, 39, 0.1) 57%, transparent 62%),
      linear-gradient(180deg, var(--paper-soft) 0%, #f0e7cb 48%, #dbe9e6 76%, rgba(8, 40, 58, 0.5) 94%, var(--deep-sea-2) 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
  }

  .mini-release {
    --mini-tilt: 0deg;
    grid-template-columns: 76px minmax(0, 1fr);
    margin-top: 0 !important;
    align-items: center;
  }

  body[data-page="home"] .section-block--split .mini-list {
    transform: translateY(-18px);
  }

  body[data-page="home"] .section-block--split > div:first-child {
    transform: translateY(-20px);
  }

  .hero-media {
    min-height: 190px;
    padding: clamp(10px, 5vw, 24px);
  }

  .product-tile .tile__image {
    min-height: 0;
    padding: clamp(8px, 3.5vw, 18px);
  }

  .product-tile .tile__image img {
    max-width: min(90%, 260px);
    max-height: 240px;
  }

  .music-tile .tile__image img,
  .archive-tile .tile__image img,
  .release-card img,
  .object-card img {
    max-width: min(86%, 280px);
    margin-inline: auto;
  }

  .mini-release img {
    width: 76px;
  }

  .mini-release .button {
    grid-column: 1 / -1;
  }

  .inline-form {
    flex-direction: column;
  }

  .inline-form.subscribe-inline {
    grid-template-columns: 1fr;
  }

  .subscribe-strip h2 {
    font-size: 2.6rem;
  }

  .subscribe-strip {
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .scroll-arrow {
    margin-top: 46px;
  }

  .subscribe-strip::after,
  .page-intro::after {
    display: none;
  }

  .quote-band p {
    font-size: 2rem;
  }
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* WooCommerce integration */
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-breadcrumb {
  display: none;
}

.filter-bar a.filter-chip {
  text-decoration: none;
}

.ojuverse-wc-product .card__meta a {
  color: inherit;
  text-decoration: none;
}

.ojuverse-product-description > *:first-child {
  margin-top: 0;
}

.ojuverse-cart-action form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ojuverse-cart-action .quantity input {
  width: 78px;
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.quantity.ojuverse-quantity,
.ojuverse-cart-action .quantity.ojuverse-quantity {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ojuverse-quantity-select {
  min-width: 86px;
  min-height: 48px;
  padding: 10px 38px 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 18px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 13px) 52% / 7px 7px no-repeat,
    var(--paper-soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.has-js .quantity.ojuverse-quantity:not(.is-custom-quantity) input.qty,
.has-js .ojuverse-cart-action .quantity.ojuverse-quantity:not(.is-custom-quantity) input.qty {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.quantity.ojuverse-quantity.is-custom-quantity,
.ojuverse-cart-action .quantity.ojuverse-quantity.is-custom-quantity {
  flex-wrap: wrap;
}

.quantity.ojuverse-quantity.is-custom-quantity input.qty,
.ojuverse-cart-action .quantity.ojuverse-quantity.is-custom-quantity input.qty {
  width: 92px;
}

.ojuverse-cart-action .single_add_to_cart_button,
.ojuverse-cart-action .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-dark);
  border-radius: 8px;
  background: var(--accent-dark);
  box-shadow: 0 12px 30px rgba(9, 11, 15, 0.16);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  text-decoration: none;
}

.ojuverse-cart-action .single_add_to_cart_button:hover,
.ojuverse-cart-action .button:hover {
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(9, 11, 15, 0.2);
  transform: translateY(-1px);
}

.ojuverse-cart-action .stock {
  width: 100%;
  color: var(--muted);
}

.woocommerce div.product form.cart .variations select {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.woocommerce div.product form.cart .variations label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.ojuverse-page-content {
  min-height: calc(100svh - 78px);
}

.ojuverse-rich-content {
  width: min(100%, 980px);
}

.ojuverse-rich-content table,
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(9, 11, 15, 0.2);
  background: rgba(255, 248, 232, 0.72);
}

.ojuverse-rich-content th,
.ojuverse-rich-content td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-bottom: 1px solid rgba(9, 11, 15, 0.14);
  padding: 12px;
  text-align: left;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.ojuverse-rich-content .button {
  border: 2px solid var(--accent-dark);
  border-radius: 8px;
  background: var(--accent-dark);
  box-shadow: 4px 4px 0 var(--accent);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.ojuverse-rich-content input,
.ojuverse-rich-content textarea,
.ojuverse-rich-content select {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-soft);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid rgba(255, 248, 232, 0.22);
  border-radius: 8px;
  background: var(--deep-sea);
  color: var(--paper-soft);
  padding: 14px 16px;
}

.woocommerce-notices-wrapper {
  width: min(100%, 980px);
  margin: 0 auto 18px;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: var(--paper-soft);
  font-weight: 700;
}

.woocommerce-error {
  border-left: 5px solid var(--accent);
}

.woocommerce-info {
  border-left: 5px solid var(--electric);
}

.woocommerce-message {
  border-left: 5px solid var(--danfo);
}

.woocommerce a,
.woocommerce-page a,
.wc-block-components-main a {
  color: var(--ink);
}

.woocommerce a:hover,
.woocommerce-page a:hover,
.wc-block-components-main a:hover {
  color: var(--accent);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  border-color: var(--ink) !important;
  background: var(--deep-sea) !important;
  box-shadow: 4px 4px 0 var(--danfo) !important;
  color: var(--paper-soft) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--ink) !important;
  color: var(--paper-soft) !important;
  transform: translate(-1px, -1px);
}

.woocommerce div.product .ojuverse-cart-action .single_add_to_cart_button,
.woocommerce div.product .ojuverse-cart-action .button {
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  box-shadow: 0 12px 30px rgba(9, 11, 15, 0.16) !important;
  color: var(--paper-soft) !important;
}

.woocommerce div.product .ojuverse-cart-action .single_add_to_cart_button:hover,
.woocommerce div.product .ojuverse-cart-action .button:hover {
  box-shadow: 0 14px 34px rgba(9, 11, 15, 0.2) !important;
  transform: translateY(-1px);
}

.woocommerce table.shop_table,
.woocommerce-cart .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.wc-block-components-sidebar,
.wc-block-cart-items,
.wc-block-components-totals-wrapper,
.wc-block-components-panel,
.wc-block-components-order-summary {
  border: 1px solid rgba(9, 11, 15, 0.18) !important;
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.84) !important;
  color: var(--ink);
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout #payment,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.wc-block-components-sidebar,
.wc-block-components-panel,
.wc-block-components-order-summary {
  padding: clamp(16px, 2.5vw, 26px);
}

.woocommerce #payment ul.payment_methods,
.woocommerce #payment div.form-row {
  border-color: rgba(9, 11, 15, 0.16);
}

.woocommerce #payment div.payment_box {
  background: var(--paper-soft);
  color: var(--ink);
}

.woocommerce #payment div.payment_box::before {
  border-bottom-color: var(--paper-soft);
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-select .wc-block-components-select__select {
  border: 1px solid rgba(9, 11, 15, 0.75) !important;
  background: var(--paper-soft) !important;
  color: var(--ink) !important;
}

.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-form .wc-block-components-text-input input:focus,
.wc-block-components-select .wc-block-components-select__select:focus {
  outline: 3px solid var(--electric);
  outline-offset: 2px;
}

.site-header .wordmark,
.site-header .wordmark span,
.site-header .logo-slot,
.site-header .site-nav a,
.site-header .cart-link,
.site-header .mobile-cart-link,
.site-header .cart-icon,
.site-header .cart-count {
  color: var(--ink) !important;
}

.site-header .wordmark small {
  color: rgba(9, 11, 15, 0.58) !important;
}

.site-header .site-nav a.is-active {
  color: var(--paper-soft) !important;
}

/* Final WooCommerce product-action overrides. Keep these last so plugin styles cannot restore the yellow accent. */
body.woocommerce div.product .ojuverse-cart-action form.cart button.single_add_to_cart_button,
body.woocommerce div.product .ojuverse-cart-action form.cart button.single_add_to_cart_button.button,
body.woocommerce div.product .ojuverse-cart-action form.cart button.single_add_to_cart_button.alt,
body.single-product .ojuverse-cart-action form.cart button.single_add_to_cart_button,
body.single-product .ojuverse-cart-action form.cart button.single_add_to_cart_button.button,
body.single-product .ojuverse-cart-action form.cart button.single_add_to_cart_button.alt {
  border: 1px solid var(--ink) !important;
  background: var(--ink) !important;
  box-shadow: 0 12px 30px rgba(9, 11, 15, 0.18) !important;
  color: var(--paper-soft) !important;
  outline-color: var(--electric);
}

body.woocommerce div.product .ojuverse-cart-action form.cart button.single_add_to_cart_button:hover,
body.single-product .ojuverse-cart-action form.cart button.single_add_to_cart_button:hover {
  background: var(--deep-sea) !important;
  box-shadow: 0 15px 36px rgba(9, 11, 15, 0.22) !important;
  transform: translateY(-1px);
}
