* { 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@deck:~$ route show dates%3C/text%3E%3Ctext x='60' y='96'%3Evenue locked / ticket link pending%3C/text%3E%3Ctext x='60' y='132'%3Esub pressure calibrated / crowd channel open%3C/text%3E%3Ctext x='420' y='280' class='dim'%3ESonnySounds Shows%3C/text%3E%3Ctext x='420' y='316'%3Ewarehouse / club / festival%3C/text%3E%3Ctext x='420' y='352'%3Elineup announced / tickets soon%3C/text%3E%3Ctext x='100' y='520' class='dim'%3Elow end ready%3C/text%3E%3Ctext x='100' y='556'%3Eriddim / dubstep / deep dub%3C/text%3E%3Ctext x='100' y='592'%3Evisuals online / stream ready%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);
}

.shows-hero,
.shows-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;
}

.shows-hero {
  padding:
    clamp(.95rem, 1.45vw, 1.35rem)
    clamp(1rem, 2vw, 1.75rem);
  display: grid;
  grid-template-columns: minmax(260px, .48fr) minmax(0, 1fr);
  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: .9;
  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);
}

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

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

.show-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
}

.show-list::-webkit-scrollbar {
  width: 8px;
}

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

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

.show-row {
  display: grid;
  grid-template-columns: minmax(140px, .45fr) minmax(260px, 1.25fr) minmax(170px, .7fr) minmax(135px, auto);
  gap: clamp(.75rem, 1.35vw, 1.25rem);
  align-items: center;
  min-height: clamp(64px, 8.8vh, 92px);
  padding: clamp(.75rem, 1.15vw, 1rem) clamp(.65rem, 1vw, .95rem);
  border-bottom: 1px solid rgba(255,255,255,.16);
}


.show-row:hover {
  background:
    linear-gradient(90deg, rgba(255,63,200,.045), rgba(143,92,255,.025), transparent);
}

.show-row:hover .show-date,
.show-row:hover .show-title strong,
.show-row:hover .show-location {
  text-shadow: none;
}

.show-row:last-child {
  border-bottom: 0;
}

.show-date {
  color: var(--show-date-color);
  font-weight: 950;
  font-size: clamp(.95rem, 1.15vw, 1.18rem);
  letter-spacing: -.035em;
  white-space: nowrap;
}

.show-title {
  min-width: 0;
}

.show-title strong {
  display: block;
  color: var(--show-title-color);
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 950;
}

.show-title span {
  display: block;
  margin-top: .18rem;
  color: rgba(255,194,245,.55);
  font-size: .78rem;
  font-weight: 800;
}

.show-location {
  color: var(--header-nav-link-color);
  font-weight: 900;
  font-size: clamp(.92rem, 1vw, 1.05rem);
  text-align: right;
}

.ticket-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  color: var(--color-logo-white);
  text-decoration: none;
  font-weight: 950;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.ticket-button:hover {
  border-color: rgba(255,63,200,.5);
  background: linear-gradient(120deg, rgba(255,63,200,.72), rgba(143,92,255,.66));
  box-shadow: none;
}

.ticket-button.is-unavailable,
.ticket-button.is-unavailable:hover {
  border: var(--ticket-unavailable-border);
  background: var(--ticket-unavailable-bg);
  color: var(--ticket-unavailable-color);
  cursor: default;
  box-shadow: none;
}


.show-row {
  position: relative;
  border-bottom: 0 !important;
}

.show-row::before,
.show-row::after {
  content: "";
  position: absolute;
  left: clamp(.65rem, 1vw, .95rem);
  right: clamp(.65rem, 1vw, .95rem);
  height: 1px;
  pointer-events: none;
}

.show-row::before {
  bottom: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), rgba(255,63,200,.34), rgba(255,255,255,.16), transparent);
}

.show-row::after {
  bottom: -2px;
  background: linear-gradient(90deg, transparent, rgba(143,92,255,.28), rgba(255,255,255,.13), rgba(255,63,200,.16), transparent);
}

.show-row:last-child::before,
.show-row:last-child::after {
  display: none;
}

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;
}

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

  .show-row {
    grid-template-columns: 1fr;
    gap: .45rem;
  }

  .show-location {
    text-align: left;
  }

  .ticket-button {
    width: max-content;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    max-width: 100%;
    padding: .75rem;
    overflow: hidden;
    display: block;
  }

  .shell {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    min-width: 0;
    margin: 0 auto;
  }

  header {
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .7rem;
    padding: .8rem .75rem .95rem;
  }

  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .72rem;
  }

  body header nav a,
  body header .nav-menu-trigger {
    font-size: clamp(.95rem, 4.65vw, 1.08rem);
  }

  body header .header-socials {
    max-width: 100%;
  }

  .content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem;
  }

  .shows-hero,
  .shows-panel {
    border-radius: 22px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 13.2vw, 5rem);
    line-height: .92;
  }

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


  .hero-copy-wrap {
    justify-items: start;
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy {
    width: min(100%, calc(100vw - 4.5rem));
    max-width: min(100%, calc(100vw - 4.5rem));
    overflow-wrap: break-word;
  }

  .show-list,
  .show-row,
  .show-title {
    min-width: 0;
    max-width: 100%;
  }

}

@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);
    grid-template-rows: auto minmax(0, 1fr);
  }

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

  .shows-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);
  }

  .shows-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;
  }

  .show-row {
    min-height: clamp(54px, 7.3vh, 76px);
  }
}

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

footer {
    display: none;
  }

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

  .hero-copy {
    display: none;
  }
}

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

  .show-list {
    overflow: visible;
  }
}
