:root {
  --header-height: 74px;
  --header-target-height: 74px;
  --black: #060706;
  --ink: #10110f;
  --paper: #f4f1ea;
  --paper-soft: #e8e1d4;
  --olive: #59624a;
  --olive-dark: #2e3527;
  --mist: rgba(244, 241, 234, 0.72);
  --line-dark: rgba(16, 17, 15, 0.14);
  --line-light: rgba(244, 241, 234, 0.18);
  --shadow: 0 18px 50px rgba(6, 7, 6, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

body::before {
  content: "";
  position: fixed;
  top: var(--header-height);
  right: -18vw;
  bottom: -18vh;
  left: -18vw;
  z-index: 20;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 38% 48%, rgba(244, 241, 234, 0.2), transparent 28%),
    linear-gradient(110deg, rgba(6, 7, 6, 0), rgba(6, 7, 6, 0.88) 38%, rgba(89, 98, 74, 0.76) 54%, rgba(6, 7, 6, 0));
  opacity: 0;
  transform: translateX(-112%) skewX(-8deg);
  transition: transform 480ms cubic-bezier(.45, 0, .2, 1), opacity 220ms ease;
}

body.is-leaving::before {
  opacity: 1;
  transform: translateX(0) skewX(-8deg);
}

main {
  animation: page-arrive 460ms cubic-bezier(.22, .7, .2, 1) both;
}

body.is-leaving main {
  opacity: 0;
  transform: translateY(8px) scale(.992);
  transition: opacity 260ms ease, transform 260ms ease;
}

@keyframes page-arrive {
  from {
    opacity: 1;
    transform: translateY(10px) scale(.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-target-height);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px clamp(16px, 3vw, 34px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(89, 98, 74, 0.22), transparent 46%),
    rgba(6, 7, 6, 0.96);
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
  transition: transform 220ms ease, opacity 220ms ease;
}

.brand:hover {
  transform: scale(1.025);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.brand span {
  display: block;
}

.main-nav {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.055);
  overflow: hidden;
}

.main-nav a {
  position: relative;
  z-index: 2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 720;
  transition: transform 220ms ease, color 220ms ease, opacity 220ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: rgba(244, 241, 234, 0.96);
  transform: scale(1.025);
}

.main-nav:not(.nav-ready) a[aria-current="page"] {
  color: rgba(244, 241, 234, 0.96);
  background: rgba(244, 241, 234, 0.13);
}

.nav-indicator {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 4px;
  height: calc(100% - 8px);
  width: 70px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  background:
    radial-gradient(ellipse at 28% 45%, rgba(244, 241, 234, 0.3), transparent 46%),
    rgba(244, 241, 234, 0.13);
  box-shadow: inset 0 1px 0 rgba(244, 241, 234, 0.16), 0 10px 28px rgba(6, 7, 6, 0.16);
  backdrop-filter: blur(10px);
  opacity: 1;
  transform: translateX(var(--nav-x, 4px));
  transition: transform 420ms cubic-bezier(.22, .8, .24, 1), width 420ms cubic-bezier(.22, .8, .24, 1), opacity 220ms ease;
}

.nav-indicator::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244, 241, 234, 0.62), transparent);
  opacity: .76;
}

.main-nav.nav-ready a[aria-current="page"],
.main-nav.nav-ready a.is-nav-hover {
  color: rgba(244, 241, 234, 0.96);
}

.main-nav.nav-no-active .nav-indicator {
  opacity: 0;
}

.page {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 0 62px;
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-heading-block {
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto clamp(34px, 4vw, 46px);
}

.page-heading-block .page-title {
  width: 100%;
  max-width: 1040px;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}

.symbolic-divider {
  width: min(100%, 800px);
  height: 26px;
  display: block;
  box-sizing: border-box;
  margin-top: 16px;
  overflow: visible;
  background-image:
    linear-gradient(90deg, transparent, rgba(16, 17, 15, 0.26)),
    linear-gradient(90deg, rgba(16, 17, 15, 0.26), transparent),
    url("assets/symbolic-divider-pattern.svg");
  background-position: left center, right center, center;
  background-size: calc(50% - 170px) 1px, calc(50% - 170px) 1px, 312px 26px;
  background-repeat: no-repeat;
  opacity: .88;
}

.page-intro {
  max-width: 760px;
  margin: 0 0 26px;
  color: rgba(16, 17, 15, 0.64);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.32;
}

.page-subheadline {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 780;
  line-height: 1.12;
}

.page-note {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(16, 17, 15, 0.58);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.36;
}

.home-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background: #060706 url("assets/home-sea-flag-loop.png") center / cover no-repeat;
  color: var(--paper);
}

.home-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 7, 6, 0.9), rgba(6, 7, 6, 0.56) 48%, rgba(6, 7, 6, 0.86));
}

.home-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.home-page {
  overflow: hidden;
}

.home-page .home-shell {
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.home-main {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  max-width: 1180px;
  min-height: 0;
  height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(300px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  margin: 0 auto;
  padding: 26px 0 34px;
}

.release-visual,
.detail-visual,
.square-card,
.placeholder-cover {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.release-visual,
.detail-visual {
  position: relative;
  display: block;
  background: var(--black);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, opacity 220ms ease;
}

a.release-visual:hover,
a.detail-visual:hover {
  transform: scale(1.025);
}

.release-visual img,
.detail-visual img,
.square-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-copy {
  max-width: 680px;
  display: grid;
  gap: 16px;
}

.release-kicker {
  margin: 0 0 -2px;
  color: rgba(244, 241, 234, 0.7);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-copy h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 118px);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meta {
  display: grid;
  gap: 5px;
  color: var(--mist);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.22;
}

.meta strong {
  color: var(--paper);
}

.stream-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stream {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(244, 241, 234, 0.06);
  text-decoration: none;
  font-size: 12px;
  font-weight: 780;
  transition: transform 220ms ease, opacity 220ms ease, border-color 220ms ease, background 220ms ease;
}

.stream:hover {
  transform: scale(1.035);
  background: rgba(244, 241, 234, 0.14);
}

.stream.primary {
  color: var(--black);
  background: var(--paper);
  border-color: var(--paper);
}

.stream.disabled {
  color: rgba(244, 241, 234, 0.42);
  pointer-events: none;
}

.stream.dark {
  color: var(--ink);
  border-color: rgba(16, 17, 15, 0.2);
  background: rgba(16, 17, 15, 0.04);
}

.stream.dark.primary {
  color: var(--paper);
  background: var(--black);
  border-color: var(--black);
}

.stream.dark.disabled {
  color: rgba(16, 17, 15, 0.36);
}

.stream.spotify,
.stream.dark.spotify {
  color: #fff;
  border-color: #1db954;
  background: #1db954;
  box-shadow: 0 8px 22px rgba(29, 185, 84, 0.24);
}

.stream.spotify:hover,
.stream.dark.spotify:hover {
  border-color: #1ed760;
  background: #1ed760;
}

.stream.apple-music,
.stream.dark.apple-music {
  color: var(--black);
  border-color: rgba(16, 17, 15, 0.18);
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 7, 6, 0.1);
}

.stream.apple-music:hover,
.stream.dark.apple-music:hover {
  background: #f5f5f3;
}

.stream.youtube,
.stream.dark.youtube {
  color: var(--black);
  border-color: rgba(16, 17, 15, 0.18);
  background: #fff;
  box-shadow: 0 8px 22px rgba(6, 7, 6, 0.1);
}

.stream.youtube:hover,
.stream.dark.youtube:hover {
  background: #f5f5f3;
}

.square-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.artist-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
  justify-content: center;
}

.square-card {
  position: relative;
  display: block;
  min-height: 0;
  color: var(--paper);
  background: var(--black);
  text-decoration: none;
  box-shadow: 0 24px 70px rgba(6, 7, 6, 0.1);
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}

.square-card:hover {
  transform: scale(1.025);
}

.project-card {
  opacity: 1;
  filter: saturate(1);
}

.square-card img {
  transition: transform 520ms ease, opacity 220ms ease;
}

.square-card:hover img {
  transform: scale(1.055);
}

.card-overlay {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 7px;
  padding: 20px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(89, 98, 74, 0.38), transparent 58%),
    linear-gradient(180deg, rgba(6, 7, 6, 0), rgba(6, 7, 6, 0.92));
}

.card-kicker {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.7);
  background: rgba(6, 7, 6, 0.18);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-sub {
  color: rgba(244, 241, 234, 0.72);
  font-size: 13px;
  line-height: 1.22;
}

.placeholder-cover {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 18px;
  background:
    radial-gradient(circle at 72% 22%, rgba(244, 241, 234, 0.18), transparent 28%),
    radial-gradient(ellipse at 20% 92%, rgba(89, 98, 74, 0.42), transparent 40%),
    linear-gradient(135deg, rgba(89, 98, 74, 0.18), transparent 60%),
    #0b0d0a;
}

.placeholder-cover strong {
  display: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  min-height: calc(100vh - 168px);
}

.detail-copy {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: center;
  text-align: left;
}

.detail-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.detail-copy .meta {
  color: rgba(16, 17, 15, 0.62);
}

.detail-copy .meta strong {
  color: var(--ink);
}

.release-meta {
  width: min(100%, 560px);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 20px);
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-dark);
}

.release-meta p {
  margin: 0;
}

.release-artists {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 760;
  line-height: 1.08;
  text-align: left;
  text-wrap: balance;
}

.release-type {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(16, 17, 15, 0.16);
  border-radius: 999px;
  color: rgba(16, 17, 15, 0.64);
  background: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 790;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-copy > .stream-row {
  justify-content: flex-start;
}

.detail-layout-album {
  align-items: start;
}

.detail-media-column {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  display: grid;
  gap: 14px;
  align-self: start;
}

.detail-media-column .detail-visual {
  position: static;
}

.detail-platforms {
  display: grid;
  grid-template-columns: 1.35fr 1fr .85fr;
}

.detail-platforms .stream {
  min-width: 0;
  padding-inline: 10px;
  text-align: center;
}

.tracklist {
  width: min(100%, 560px);
  display: grid;
  gap: 10px;
  margin: 0;
  text-align: left;
}

.tracklist h2 {
  margin: 0;
  color: var(--olive);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tracklist ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: track;
  border-top: 1px solid var(--line-dark);
}

.tracklist li {
  counter-increment: track;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-dark);
}

.tracklist li::before {
  content: counter(track, decimal-leading-zero);
  color: rgba(16, 17, 15, 0.42);
  font-size: 12px;
  font-weight: 760;
}

.track-info {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.track-info strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}

.track-info span,
.tracklist time {
  color: rgba(16, 17, 15, 0.52);
  font-size: 12px;
  line-height: 1.2;
}

.related {
  margin-top: 22px;
}

.related-title {
  margin: 0 0 14px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel {
  width: min(100%, 720px);
  max-width: 720px;
  display: grid;
  justify-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 8px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(89, 98, 74, 0.22), transparent),
    var(--black);
  box-shadow: 0 24px 70px rgba(6, 7, 6, 0.14);
  text-align: center;
}

.contact-panel p {
  margin: 0;
  color: rgba(244, 241, 234, 0.66);
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 1.26;
}

.contact-email {
  color: var(--paper);
  font-size: clamp(24px, 4vw, 43px);
  line-height: 1;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: transform 220ms ease, opacity 220ms ease;
}

.contact-email:hover {
  transform: scale(1.018);
}

.nav-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.nav-preview .square-card {
  background:
    linear-gradient(135deg, rgba(89, 98, 74, 0.26), transparent 66%),
    var(--black);
}

@media (max-width: 920px) {
  :root {
    --header-height: 112px;
    --header-target-height: 112px;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: var(--header-target-height);
    gap: 8px;
    padding: 10px 18px 12px;
  }

  .brand {
    justify-self: center;
  }

  .main-nav {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding: 4px;
  }

  .home-main,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-media-column {
    position: static;
  }

  .home-main {
    min-height: auto;
    height: auto;
    padding: 28px 0 46px;
  }

  .home-page {
    overflow: auto;
  }

  .home-page .home-shell {
    height: auto;
    min-height: calc(100vh - var(--header-height));
    overflow: visible;
  }

  .square-grid,
  .nav-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .page,
  .home-main {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .brand span {
    font-size: 11px;
  }

  .page-title {
    margin-bottom: 18px;
  }

  .page-heading-block {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .page-heading-block .page-title {
    margin-bottom: 0;
  }

  .symbolic-divider {
    height: 22px;
    margin-top: 12px;
    background-size: calc(50% - 128px) 1px, calc(50% - 128px) 1px, 232px 22px;
  }

  .square-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .square-grid .card-overlay {
    gap: 4px;
    padding: 11px;
  }

  .square-grid .card-kicker {
    padding: 3px 6px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .square-grid .card-title {
    font-size: clamp(15px, 4.8vw, 20px);
  }

  .square-grid .card-sub {
    font-size: 10px;
  }

  .artist-grid,
  .nav-preview {
    grid-template-columns: 1fr;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .home-copy .stream-row,
  .detail-copy > .stream-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-copy .stream,
  .detail-copy > .stream-row .stream {
    width: 100%;
  }

  .detail-platforms {
    grid-template-columns: 1fr;
  }
}
