/* Site-wide finishing pass: floating primary nav + consistent inner-page starts. */

:root {
  --home-hero-start-top: clamp(70px, 9vw, 135px);
  --page-start-top: var(--home-hero-start-top);
}

/* --------------------------------------------------------------------------
   Editorial markers
   -------------------------------------------------------------------------- */
.eyebrow,
.artists-index-page .artist-range-heading,
.credits-page .credits-process .eyebrow,
.release-page .release-context .eyebrow,
.home .truth-section .eyebrow {
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Floating primary navigation
   -------------------------------------------------------------------------- */
.site-header {
  height: 0;
  background: transparent;
  border-bottom: 0;
  position: sticky;
  top: 12px;
  z-index: 100;
  pointer-events: none;
}

.site-header .nav {
  width: min(calc(100% - 40px), 1180px);
  height: 68px;
  padding: 0 20px 0 14px;
  background: rgba(4, 10, 17, .82);
  border: 1px solid rgba(177,207,225,.2);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}

.site-header .brand {
  padding: 4px 8px;
}

.site-header .brand-logo {
  width: 92px;
  height: 52px;
}

.site-header .nav-links a {
  position: relative;
}

.site-header .nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--orange);
  transition: right .2s ease;
}

.site-header .nav-links a:hover::after,
.site-header .nav-links a:focus-visible::after {
  right: 0;
}

/* The header no longer reserves its own strip: page imagery/content starts at
   the top of the viewport and the navigation floats above it. */
.home .home-hero {
  min-height: 100svh;
}

/* --------------------------------------------------------------------------
   Master hero anchor
   Home is the visual reference for immersive opening pages.
   -------------------------------------------------------------------------- */
.home .hero-inner,
.credits-page .credits-hero-inner,
.tpr-page .tpr-hero-inner {
  width: min(100% - 56px, 1320px);
  margin-inline: auto;
}

.home .hero-inner,
.credits-page .credits-hero-inner {
  padding-top: var(--home-hero-start-top);
}

.tpr-page .tpr-hero-inner {
  padding-top: var(--home-hero-start-top);
}

/* --------------------------------------------------------------------------
   Shared inner-page opening line
   Press is the visual reference for catalogue/editorial inner pages.
   -------------------------------------------------------------------------- */
.releases-index-page .releases-archive-header,
.artists-index-page .artists-index-intro,
.release-page .release-hero {
  padding-top: var(--page-start-top);
}

.artist-page .artist-v2-hero-copy {
  padding-top: var(--page-start-top);
}

/* --------------------------------------------------------------------------
   Releases catalogue: denser editorial header
   -------------------------------------------------------------------------- */
.releases-index-page .releases-archive-header {
  padding-bottom: clamp(32px, 4vw, 52px);
}

.releases-index-page .releases-archive-intro {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(340px, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
}

.releases-index-page .releases-archive-title-group .eyebrow {
  margin-bottom: 18px;
}

.releases-index-page .releases-archive-header h1 {
  margin: 0;
}

.releases-index-page .releases-archive-deck {
  max-width: 620px;
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.4;
}

.releases-index-page .releases-catalogue {
  padding-top: 0;
}

.releases-index-page .release-format-tabs {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Sessions index: preserve the complete cinematic frame
   -------------------------------------------------------------------------- */
.sessions-index-page .session-image {
  height: auto;
  min-height: 0;
  aspect-ratio: 3440 / 1440;
  background-size: cover;
  background-position: center;
}

/* --------------------------------------------------------------------------
   Footer: keep the closing block compact and secondary to page content
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 42px 0 20px;
}

.site-footer .footer-logo {
  width: 112px;
  height: 70px;
  margin-bottom: 18px;
}

.site-footer .footer-nav {
  gap: 10px 24px;
}

.site-footer .footer-note {
  margin-top: 32px;
  padding-top: 18px;
}

@media (max-width: 850px) {
  :root {
    --home-hero-start-top: 70px;
    --page-start-top: var(--home-hero-start-top);
  }

  .site-header {
    height: 0;
    top: 8px;
  }

  .site-header .nav {
    width: min(calc(100% - 24px), 1180px);
    height: 60px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .site-header .brand-logo {
    width: 82px;
    height: 46px;
  }

  .site-header .nav-links {
    top: 68px;
    left: 0;
    right: 0;
    border: 1px solid rgba(177,207,225,.2);
    border-radius: 12px;
    background: rgba(4,10,17,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .home .hero-inner,
  .tpr-page .tpr-hero-inner,
  .credits-page .credits-hero-inner {
    width: min(100% - 36px, 1320px);
  }

  .releases-index-page .releases-archive-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .releases-index-page .releases-archive-deck {
    max-width: 680px;
    margin-bottom: 0;
  }

  .site-footer {
    padding-top: 34px;
  }
}

@media (max-width: 540px) {
  :root {
    --home-hero-start-top: 70px;
    --page-start-top: var(--home-hero-start-top);
  }

  .site-header .nav {
    width: calc(100% - 16px);
  }

  .home .hero-inner,
  .tpr-page .tpr-hero-inner,
  .credits-page .credits-hero-inner {
    width: calc(100% - 28px);
  }

  .releases-index-page .releases-archive-header {
    padding-bottom: 28px;
  }

  .site-footer {
    padding: 30px 0 18px;
  }

  .site-footer .footer-logo {
    width: 96px;
    height: 60px;
    margin-bottom: 14px;
  }

  .site-footer .footer-note {
    margin-top: 24px;
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-links a::after {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Shared content rail and editorial rhythm
   The section canvas remains full bleed; only its inner content is constrained.
   -------------------------------------------------------------------------- */
:root {
  --content-width: 1180px;
  --content-gutter: 56px;
  --section-space: clamp(78px, 7.5vw, 112px);
  --section-space-compact: clamp(64px, 6.5vw, 96px);
}

body.artists-index-page .main,
body.sessions-index-page .main,
body.releases-index-page .main,
body.artist-page .main,
body.release-page .main,
body.session-v2-page .main,
body.press-page .main,
body.credits-page .main,
body.tpr-page .main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.shell,
.home .hero-inner,
.tpr-page .tpr-hero-inner,
.credits-page .credits-hero-inner,
.release-shell,
.artist-v2-shell,
.session-v2-shell,
.session-v2-after .session-v2-shell {
  width: min(calc(100% - var(--content-gutter)), var(--content-width));
  margin-inline: auto;
}

.home .section,
.release-page .release-section,
.artist-page .artist-v2-section,
.credits-page .credits-section,
.tpr-page .tpr-editorial {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.artist-page .artist-v2-portrait-section {
  min-height: clamp(560px, 82svh, 760px);
  padding-bottom: var(--section-space);
}

.artist-page .artist-v2-intro {
  min-height: clamp(440px, 56svh, 620px);
}

.artist-page .artist-v2-story {
  min-height: clamp(560px, 72svh, 780px);
}

.artist-page .artist-v2-feature {
  min-height: clamp(400px, 50svh, 560px);
}

.artist-page .artist-v2-appearances {
  min-height: clamp(480px, 64svh, 700px);
}

.artist-page .artist-v2-facts {
  padding-bottom: var(--section-space-compact);
}

.releases-index-page .releases-catalogue {
  padding-bottom: var(--section-space);
}

.press-page .press-index-section {
  padding-top: var(--section-space-compact);
  padding-bottom: var(--section-space);
}

@media (max-width: 850px) {
  :root {
    --content-gutter: 36px;
    --section-space: clamp(72px, 10vw, 92px);
  }

  .artist-page .artist-v2-intro,
  .artist-page .artist-v2-portrait-section,
  .artist-page .artist-v2-story,
  .artist-page .artist-v2-feature,
  .artist-page .artist-v2-appearances {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  :root {
    --content-gutter: 28px;
    --section-space: 76px;
    --section-space-compact: 64px;
  }
}

/* --------------------------------------------------------------------------
   Consistent opening anchor
   Landing-page copy begins on the same vertical line as the homepage hero.
   -------------------------------------------------------------------------- */
.tpr-page .tpr-hero {
  align-items: flex-start;
}

.tpr-page .tpr-hero-inner {
  transform: none;
}

/* Sessions keeps its image full bleed and overlays the copy on a local shade. */
.sessions-index-page .session-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 0;
}

.sessions-index-page .session-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,8,13,.9) 0%, rgba(3,8,13,.68) 38%, rgba(3,8,13,.18) 72%, transparent 88%),
    linear-gradient(180deg, rgba(3,8,13,.55) 0%, transparent 58%),
    linear-gradient(0deg, #080b0e 0%, rgba(8,11,14,.42) 24%, transparent 48%);
}

.sessions-index-page .session-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  background-position: center;
  background-size: cover;
}

.sessions-index-page .session-copy {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: var(--home-hero-start-top);
  padding-bottom: var(--section-space);
}

/* Centre the rail in the free space between the content edge and viewport. */
.section-rail {
  right: auto;
  left: calc(75vw + 295px);
  transform: translate(-50%, -50%);
}

@media (max-width: 1500px) {
  .section-rail {
    display: none;
  }
}

@media (max-width: 850px) {
  .sessions-index-page .session-section {
    min-height: max(720px, 100svh);
  }

  .sessions-index-page .session-section::after {
    background:
      linear-gradient(90deg, rgba(3,8,13,.9) 0%, rgba(3,8,13,.62) 68%, rgba(3,8,13,.2) 100%),
      linear-gradient(0deg, #080b0e 0%, rgba(8,11,14,.5) 32%, transparent 62%);
  }
}
