:root {
  --void: #080808;
  --text: #eceae6;
  --muted: rgba(236, 234, 230, 0.48);
  --hairline: rgba(255, 255, 255, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 234, 230, 0.18);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

a:hover {
  color: #fff;
  border-bottom-color: rgba(236, 234, 230, 0.45);
}

main {
  margin: 0;
}

/* Home: one viewport, full-bleed photo (cover = “zoomed” on wide screens) */
.splash {
  margin: 0;
  background-color: var(--void);
}

.splash-frame {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  background-color: var(--void);
}

.splash-photo-mount {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.splash-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/*
 * Wide / “zoomed” layouts: oversize the photo, then anchor its centre *above*
 * the middle of the viewport so the window shows the middle band of the image
 * (forehead/logo move up / out; nose & mouth come into frame).
 */
@media (min-width: 1024px) and (min-aspect-ratio: 4/3) {
  .splash-photo {
    width: 132%;
    height: 132%;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center 63%;
  }
}

@media (min-width: 1440px) and (min-aspect-ratio: 4/3) {
  .splash-photo {
    width: 140%;
    height: 140%;
    top: 34%;
    transform: translate(-50%, -50%);
    object-position: center 67%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash-photo {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: none;
  }
}

/* First screen only: bottom fade for menu legibility — top stays clear */
.splash-scrim {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100dvh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(8, 8, 8, 0.35) 78%,
    rgba(8, 8, 8, 0.65) 100%
  );
}

.splash-ui {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100dvh;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 5vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
  pointer-events: none;
}

.splash-ui a {
  pointer-events: auto;
}

.splash-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: block;
  border: 0;
}

.brand:hover {
  opacity: 0.92;
}

.brand-logo {
  display: block;
  width: min(44vw, 220px);
  height: auto;
  margin: 0 auto;
}

.splash-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-bottom: 0.15rem;
}

.splash-nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text);
  border: 0;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.45);
}

.splash-nav a:hover {
  color: #fff;
}

/* Below the fold */
.block {
  max-width: 32rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 5rem) clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid var(--hairline);
}

.block h2 {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.block p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

/* Contact — social row (URLs match music.html) */
.block .links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin: 0.25rem 0 0;
}

.block .link {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.block .link:hover {
  color: #fff;
  border-bottom-color: #ff3d00;
}

.contact-newsletter-embed {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.02);
}

/* Contact — hero image */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: min(38dvh, 18rem);
  max-height: 52dvh;
  overflow: hidden;
  background: var(--void);
}

.contact-hero-img {
  display: block;
  width: 100%;
  height: min(38dvh, 18rem);
  max-height: 52dvh;
  object-fit: cover;
  object-position: center 35%;
}

.contact-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.88) 0%,
    rgba(8, 8, 8, 0.2) 45%,
    transparent 72%
  );
}

.foot {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.foot p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Inner pages */
.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
  background: var(--void);
  border-bottom: 1px solid var(--hairline);
}

.page-header .brand-logo {
  width: min(36vw, 120px);
}

.page-header .splash-nav a {
  text-shadow: none;
  color: var(--muted);
}

.page-header .splash-nav a:hover {
  color: var(--text);
}

.page-header .splash-nav a[aria-current="page"] {
  color: var(--text);
}

.page-main {
  flex: 1;
}

.page-main .page-block {
  border-top: 0;
}

/* Shop — hero + floating product covers (inspired by editorial merch layouts) */
.page-shop {
  background: var(--void);
}

.page-shop .page-header {
  border-bottom-color: var(--hairline);
}

.shop-hero {
  position: relative;
  width: 100%;
  min-height: min(52dvh, 26rem);
  max-height: 70dvh;
  overflow: hidden;
  background: var(--void);
}

.shop-hero-img {
  display: block;
  width: 100%;
  height: min(52dvh, 26rem);
  max-height: 70dvh;
  object-fit: cover;
  object-position: center 38%;
}

.shop-hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.92) 0%,
    rgba(8, 8, 8, 0.35) 42%,
    transparent 72%
  );
}

.shop-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2rem)
    clamp(1.25rem, 4vw, 2rem);
  max-width: 36rem;
}

.shop-hero-title {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.55);
}

.shop-hero-lede {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(236, 234, 230, 0.82);
}

.shop-float-zone {
  position: relative;
  z-index: 2;
  margin-top: clamp(-3.5rem, -9vw, -5.5rem);
  padding: 0 clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 8vw, 4.5rem);
}

/* Empty shop only: avoid pulling the card over hero copy (zone was z-index 2 vs hero text z-index 1) */
.shop-float-zone:has(.shop-float-slot--empty):not(
    :has(.shop-float-slot:not(.shop-float-slot--empty))
  ) {
  margin-top: clamp(0.75rem, 2.5vw, 1.5rem);
  z-index: 0;
}

.shop-float-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1.25rem, 4vw, 2.75rem);
}

.shop-float-slot--empty {
  cursor: default;
}

.shop-float-empty-card {
  width: min(42vw, 12.5rem);
}

.shop-float-cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  aspect-ratio: 1;
  background: rgba(12, 12, 12, 0.85);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.shop-float-cover-empty-mark {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(236, 234, 230, 0.22);
}

.shop-float-empty-msg {
  margin: 0.75rem 0 0;
  max-width: 12.5rem;
  text-align: center;
  font-size: 0.6875rem;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(236, 234, 230, 0.5);
}

.shop-float-slot {
  flex: 0 0 auto;
  transform: rotate(var(--shop-rot, -2deg));
  transition: transform 0.35s var(--ease);
}

.shop-float-slot:nth-child(even) {
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
}

@media (hover: hover) {
  .shop-float-slot:hover {
    transform: rotate(var(--shop-rot, -2deg)) translateY(-6px);
    z-index: 3;
  }

  .shop-float-slot.shop-float-slot--empty:hover {
    transform: rotate(var(--shop-rot, -2deg));
    z-index: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-float-slot,
  .shop-float-slot:hover {
    transition: none;
    transform: rotate(var(--shop-rot, -2deg));
  }
}

.shop-item-details summary::-webkit-details-marker {
  display: none;
}

.shop-float-details > summary {
  list-style: none;
  cursor: pointer;
}

.shop-float-summary {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  width: min(42vw, 12.5rem);
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.shop-float-summary:focus-visible {
  outline: 2px solid rgba(236, 234, 230, 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

.shop-float-cover {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.shop-float-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-float-caption {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.shop-float-name {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.shop-float-type {
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.42);
}

.shop-float-price {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: rgba(236, 234, 230, 0.72);
}

.shop-float-details[open] > .shop-float-summary .shop-float-cover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

.shop-item-panel {
  padding: 0 0 clamp(1.25rem, 4vw, 2rem);
}

.shop-float-panel {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(40rem, calc(100vw - 2.5rem));
  margin-top: clamp(1.25rem, 4vw, 2rem);
  padding-top: clamp(1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--hairline);
}

.shop-ep {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  grid-template-columns: 1fr;
  padding: clamp(1rem, 4vw, 1.75rem) 0 0;
  align-items: start;
}

@media (min-width: 640px) {
  .shop-ep {
    grid-template-columns: min(14rem, 38vw) 1fr;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }
}

.shop-ep-art {
  margin: 0;
  max-width: min(14rem, 100%);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.shop-ep-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-ep-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.42);
}

.shop-ep-title {
  margin: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.shop-ep-features {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(236, 234, 230, 0.55);
}

.shop-ep-features li {
  position: relative;
  padding-left: 1rem;
}

.shop-ep-features li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(236, 234, 230, 0.35);
}

.shop-ep-tracklist {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.shop-ep-tracklist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.9375rem;
}

.shop-ep-tracklist li:last-child {
  border-bottom: 0;
}

.shop-ep-track-index {
  flex: 0 0 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(236, 234, 230, 0.35);
}

.shop-ep-track-name {
  flex: 1;
  min-width: 0;
  color: rgba(236, 234, 230, 0.88);
}

.shop-ep-track-time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  color: rgba(236, 234, 230, 0.45);
}

.shop-ep-price {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text);
}

.shop-ep-price-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: rgba(236, 234, 230, 0.4);
}

.shop-ep-cta {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 234, 230, 0.85);
  border-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.shop-ep-cta:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
