* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  background: var(--page-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .24;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--page-vignette);
  z-index: 5;
}

.audio-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .72;
  z-index: 1;
}

.audio-bg::before,
.audio-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background-repeat: repeat;
  background-size: 900px 760px;
  filter: none;
  animation: drift 70s linear infinite;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg width='900' height='760' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3Etext%7Bfont-family:Menlo,Consolas,monospace;font-size:14px;fill:%23ff55d6;fill-opacity:.55%7D .dim%7Bfill:%239b6cff;fill-opacity:.36%7D%3C/style%3E%3Ctext x='60' y='60' class='dim'%3Esonny.aif@store:~$ prep merch drop%3C/text%3E%3Ctext x='60' y='96'%3Eshirts / stickers / hats / limited run%3C/text%3E%3Ctext x='60' y='132'%3Evisual language locked / mockups pending%3C/text%3E%3Ctext x='420' y='280' class='dim'%3ESonnySounds Gear%3C/text%3E%3Ctext x='420' y='316'%3Ewarehouse signal / bass uniform%3C/text%3E%3Ctext x='420' y='352'%3Edrop status: coming soon%3C/text%3E%3Ctext x='100' y='520' class='dim'%3Edark bass apparel%3C/text%3E%3Ctext x='100' y='556'%3Estickers queued%3C/text%3E%3Ctext x='100' y='592'%3Ecommunity gear online%3C/text%3E%3C/svg%3E");
}

.audio-bg::after {
  opacity: .24;
  animation-duration: 95s;
  animation-direction: reverse;
  transform: translateX(30%);
}

@keyframes drift {
  from { transform: translate3d(0,-8%,0); }
  to { transform: translate3d(0,14%,0); }
}

.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding: clamp(.8rem, 1.6vw, 1.35rem);
}

.shell {
  width: min(1560px, 100%);
  min-height: calc(100vh - 2.7rem);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 42px);
  border: var(--shell-border);
  background: var(--shell-bg);
  box-shadow: var(--shell-shadow);
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem clamp(1.1rem, 3vw, 3rem);
  background: var(--header-bg);
  border-bottom: var(--header-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  color: var(--header-logo-main-color);
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: -.04em;
  font-weight: 900;
}

.logo span {
  color: var(--header-logo-accent-color);
  text-shadow: var(--header-logo-accent-shadow);
}
nav {
  display: flex;
  gap: clamp(.68rem, 1.68vw, 1.42rem);
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--header-nav-link-color);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.17rem;
}

nav a:hover {
  color: var(--header-nav-hover-color);
  text-shadow: var(--header-nav-hover-shadow);
}

.content {
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.8rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(.85rem, 1.35vw, 1.25rem);
}

.merch-hero,
.store-panel {
  border-radius: 28px;
  border: var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.merch-hero {
  padding:
    clamp(1.05rem, 1.65vw, 1.55rem)
    clamp(1rem, 2vw, 1.75rem);
  display: grid;
  grid-template-columns: minmax(280px, .52fr) minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}

.eyebrow {
  color: var(--hero-eyebrow-color);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: clamp(.62rem, .72vw, .82rem);
  font-weight: 950;
  margin: 0 0 .5rem;
  text-shadow: var(--hero-eyebrow-shadow);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, min(3.7vw, 5.2vh), 4.7rem);
  line-height: .96;
  letter-spacing: -.060em;
  font-weight: 950;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.white {
  color: var(--hero-title-main-color);
  -webkit-text-fill-color: var(--hero-title-main-color);
  text-shadow: var(--hero-title-main-shadow);
}

.glow {
  background: linear-gradient(120deg, #ff3fc8 0%, #9b26d9 42%, #4411b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: var(--hero-title-emphasis-filter);
}


.merch-hero h1 {
  padding-bottom: .08em;
  overflow: visible;
}

.merch-hero h1 span {
  display: block;
  padding-bottom: .04em;
}

.merch-hero .glow {
  display: block;
  padding-bottom: .08em;
}

.hero-copy {
  margin: 0;
  color: var(--card-body-color);
  font-size: clamp(.86rem, .98vw, 1.05rem);
  line-height: 1.42;
  max-width: 760px;
}

.drop-status {
  display: grid;
  gap: .25rem;
  justify-items: end;
  color: rgba(255,194,245,.66);
  font-weight: 850;
  font-size: .8rem;
  text-align: right;
}

.drop-status strong {
  color: var(--tag-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.store-panel {
  min-height: 0;
  padding: clamp(.9rem, 1.35vw, 1.25rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: .85rem;
}

.store-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.store-head h2 {
  color: var(--section-title-color);
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2.7rem);
  line-height: .95;
  letter-spacing: -.052em;
  font-weight: 950;
}

.store-note {
  color: rgba(255,194,245,.56);
  font-size: .8rem;
  font-weight: 800;
  text-align: right;
}

.product-grid {
  min-height: 0;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  grid-auto-rows: minmax(330px, auto);
  gap: clamp(.8rem, 1vw, 1rem);
  padding-right: .4rem;
  align-content: start;
}

.product-grid::-webkit-scrollbar {
  width: 8px;
}

.product-grid::-webkit-scrollbar-track {
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}

.product-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink), var(--purple));
  border-radius: 999px;
}

.product-card {
  min-height: 330px;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(155px, 1fr) minmax(150px, auto);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.09);
  background: var(--product-card-bg);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 155px;
  background: var(--product-art-bg);
  border-bottom: 1px solid rgba(255,255,255,.075);
  overflow: hidden;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}


.product-photo {
  padding: 0;
  background: #050408;
}

.product-photo::before {
  display: none;
}

.product-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .18s ease, filter .18s ease;
}

.product-card:hover .product-photo img {
  transform: scale(1.035);
  filter: saturate(1.12) contrast(1.04);
}

.product-icon {
  position: relative;
  z-index: 1;
  color: var(--product-title-color);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 950;
  letter-spacing: -.060em;
  text-shadow: none;
}

.product-body {
  padding: .9rem .9rem 1rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: .55rem;
  min-height: 0;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: start;
}

.product-title {
  color: var(--product-title-color);
  margin: 0;
  font-size: clamp(.95rem, 1vw, 1.08rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 950;
}

.product-price {
  color: var(--tag-color);
  font-size: .86rem;
  font-weight: 950;
  white-space: nowrap;
}

.product-meta {
  color: rgba(255,194,245,.57);
  font-size: .76rem;
  line-height: 1.3;
  font-weight: 800;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  gap: .65rem;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}

.product-status {
  color: rgba(255,194,245,.48);
  font-size: .7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .48rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: var(--button-text-color);
  text-decoration: none;
  font-weight: 950;
  font-size: .74rem;
  white-space: nowrap;
}

.view-button:hover {
  border-color: rgba(255,63,200,.45);
  background: linear-gradient(120deg, rgba(255,63,200,.72), rgba(143,92,255,.66));
}


.product-actions {
  min-width: 0;
}

.product-status {
  min-width: max-content;
  line-height: 1.2;
}

.view-button {
  flex-shrink: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .95rem clamp(1.1rem, 3vw, 3rem);
  border-top: var(--footer-border);
  background: var(--footer-bg);
  color: var(--footer-text-color);
  backdrop-filter: blur(8px);
  font-size: .88rem;
}


/* Final merch headline descender safety */
.merch-hero {
  overflow: visible;
}

.merch-hero h1 {
  line-height: 1.04 !important;
  overflow: visible !important;
  padding-bottom: .22em !important;
  margin-bottom: -.08em;
}

.merch-hero h1 span {
  overflow: visible !important;
  padding-bottom: .08em !important;
}

.merch-hero h1 .glow,
.merch-hero .glow {
  overflow: visible !important;
  padding-bottom: .18em !important;
  margin-bottom: -.08em;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
  }
}

@media (max-width: 960px) {
  .merch-hero {
    grid-template-columns: 1fr;
  }

  .drop-status {
    justify-items: start;
    text-align: left;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .content { padding: 1rem; }

  .merch-hero,
  .store-panel {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .eyebrow {
    letter-spacing: .18em;
    line-height: 1.6;
  }

  .store-head {
    grid-template-columns: 1fr;
  }

  .store-note {
    text-align: left;
  }

}

@media (prefers-reduced-motion: reduce) {
  .audio-bg::before,
  .audio-bg::after {
    animation: none;
  }
}

@media (min-width: 961px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .page {
    height: 100svh;
    min-height: 100svh;
    padding: clamp(.45rem, .9vw, .95rem);
    display: grid;
  }

  .shell {
    height: calc(100svh - clamp(.9rem, 1.8vw, 1.9rem));
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  header {
    padding-block: clamp(.48rem, .75vh, .78rem);
  }

  nav a {
    font-size: clamp(.95rem, 1vw, 1.17rem);
  }

  .logo {
    font-size: clamp(.9rem, .9vw, 1.05rem);
  }

  .content {
    min-height: 0;
    height: 100%;
    padding:
      clamp(.75rem, 1.35vw, 1.55rem)
      clamp(.9rem, 2.25vw, 2.6rem);
  }

  .merch-hero {
    min-height: clamp(110px, 16vh, 165px);
  }

  .store-panel {
    min-height: 0;
    height: 100%;
  }

footer {
    padding-block: clamp(.5rem, .8vh, .8rem);
    font-size: clamp(.72rem, .8vw, .88rem);
  }
}

@media (min-width: 961px) and (max-height: 820px) {
  .content {
    gap: clamp(.6rem, 1vw, 1rem);
  }

  .merch-hero {
    min-height: clamp(92px, 14vh, 130px);
    padding-block: clamp(.65rem, 1vh, .95rem);
  }

  h1 {
    font-size: clamp(1.95rem, min(3.1vw, 4.5vh), 3.6rem);
  }

.hero-copy {
    font-size: clamp(.76rem, .85vw, .9rem);
    line-height: 1.32;
  }

  .product-card {
    min-height: 300px;
    grid-template-rows: minmax(130px, 1fr) minmax(142px, auto);
  }

  .product-art {
    min-height: 130px;
  }
}

@media (min-width: 961px) and (max-height: 690px) {
  .shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

footer {
    display: none;
  }

  .merch-hero {
    min-height: 84px;
  }

.hero-copy {
    display: none;
  }
}

@media (max-width: 960px) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
}
