@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

:root {
  --primary-navy: #071625;
  --secondary-navy: #0d243a;
  --gold: #cfa052;
  --warm-gold: #e0b86b;
  --off-white: #f5f2eb;
  --body-gray: #c8cdd3;
  --focus-blue: #2d6dff;
  --ink: #03070c;
  --muted: #9ea7af;
  --line: rgb(224 184 107 / 25%);
  --line-soft: rgb(245 242 235 / 12%);
  --card-radius: 18px;
  --ui-radius: 12px;
  --container-wide: 1440px;
  --container-main: 1240px;
  --container-reading: 760px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --section-space-hero: 12rem;
  --section-space-large: clamp(6.5rem, 9vw, 10rem);
  --section-space-standard: clamp(3rem, 4vw, 4rem);
  --section-space-compact: clamp(1.5rem, 2vw, 2rem);
  --section-space: var(--section-space-large);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--focus-blue);
  outline-offset: 4px;
}

::selection {
  background: rgb(224 184 107 / 34%);
  color: #fff;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.container-wide,
.container-main,
.container-reading {
  width: calc(100% - 8rem);
  margin-inline: auto;
}

.container-wide {
  max-width: var(--container-wide);
}

.container-main {
  max-width: var(--container-main);
}

.container-reading {
  max-width: var(--container-reading);
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  margin: 0;
  color: var(--warm-gold);
  font-size: clamp(.75rem, 1.1vw, .875rem);
  font-weight: 600;
  letter-spacing: .25em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-180%);
  border-radius: var(--ui-radius);
  background: var(--off-white);
  color: var(--primary-navy);
  font-weight: 700;
  transition: transform 200ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: linear-gradient(rgb(3 16 27 / 92%), rgb(3 16 27 / 54%), transparent);
  transition: background 350ms ease, border-color 350ms ease, backdrop-filter 350ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: rgb(224 184 107 / 14%);
  background: rgb(3 12 20 / 92%);
  backdrop-filter: blur(18px) saturate(125%);
}

.nav-shell {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 7rem;
  min-height: 4.5rem;
  align-items: center;
  justify-content: flex-start;
}

.brand-picture {
  display: flex;
  align-items: center;
}

.brand-main-picture {
  display: contents;
}

.brand img {
  width: 7.5rem;
  height: 2.25rem;
  object-fit: contain;
  object-position: left center;
}

.footer-brand img {
  width: 7.5rem;
  height: 4.25rem;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2rem);
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--off-white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color 250ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: .2rem;
  left: 0;
  height: 1px;
  background: var(--warm-gold);
  transition: right 250ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--warm-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.menu-button {
  position: relative;
  display: none;
  width: 2.875rem;
  min-width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius);
  background: rgb(5 15 24 / 66%);
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: .75rem;
  width: 1.25rem;
  height: 1px;
  background: var(--off-white);
  transition: transform 250ms ease, top 250ms ease, opacity 250ms ease;
}

.menu-button span:nth-child(1) { top: .9rem; }
.menu-button span:nth-child(2) { top: 1.35rem; }
.menu-button span:nth-child(3) { top: 1.8rem; }
.menu-button[aria-expanded="true"] span:nth-child(1) { top: 1.35rem; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { top: 1.35rem; transform: rotate(-45deg); }

/* Shared actions */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: clamp(.875rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease, filter 250ms ease;
}

.button-primary {
  border-color: transparent;
  background: var(--gold);
  color: var(--primary-navy);
}

.button-secondary {
  border-color: var(--gold);
  background: rgb(5 13 20 / 26%);
  color: var(--off-white);
  backdrop-filter: blur(10px);
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button-primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--warm-gold);
  background: rgb(207 160 82 / 10%);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

/* Home hero */
.home-hero,
.artist-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-hero {
  display: flex;
  min-height: 82svh;
  align-items: center;
  background: var(--primary-navy);
}

.home-hero-picture,
.home-hero-image,
.home-hero-shade,
.artist-hero-picture,
.artist-hero-picture img,
.artist-hero-shade {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.home-hero-picture,
.artist-hero-picture {
  z-index: -3;
}

.home-hero-image,
.artist-hero-image {
  object-fit: cover;
}

.home-hero-image {
  object-position: var(--object-position-desktop, center);
}

.artist-hero-image {
  object-position: var(--object-position-desktop, center);
}

.home-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(1 5 8 / 54%), rgb(1 5 8 / 18%) 55%, rgb(1 5 8 / 30%)),
    linear-gradient(0deg, var(--ink), transparent 42%);
}

.home-hero-copy {
  padding-block: 9rem 6rem;
}

.home-hero-logo {
  width: clamp(8rem, 12vw, 11rem);
  height: auto;
  aspect-ratio: 142 / 73;
  max-height: 5.75rem;
  margin-bottom: 1.5rem;
  object-fit: contain;
  object-position: left center;
}

.home-hero h1,
.page-hero h1,
.artist-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .94;
  text-wrap: balance;
}

.home-hero-copy > p {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  color: var(--body-gray);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

/* Sections and cards */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-heading h2,
.about-copy h2,
.artist-intro-copy h2,
.soundworld-copy h2,
.streaming-section h2 {
  max-width: 15ch;
  margin: .25rem 0 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
}

.artist-grid,
.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.125rem, 2vw, 1.75rem);
}

.release-groups {
  display: grid;
  gap: var(--section-space-standard);
}

.release-group {
  min-width: 0;
}

.release-group-title {
  margin: 0 0 var(--section-space-compact);
}

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--primary-navy);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

a.card:hover {
  transform: translateY(-4px);
  border-color: rgb(224 184 107 / 55%);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 20%);
}

.card-media,
.release-media {
  overflow: hidden;
}

.artist-card-image,
.release-cover {
  width: 100%;
  transition: transform 500ms ease;
}

.artist-card-image {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
}

.release-cover {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: 50% 50%;
  border-radius: 0;
  background: var(--primary-navy);
}

.release-card {
  /* Keep cover corners and thin artwork frames outside the card's radius. */
  overflow: visible;
}

.release-media {
  overflow: visible;
  border-radius: 0;
}

a.artist-card:hover .artist-card-image {
  transform: scale(1.02);
}

.card-copy {
  padding: 1.25rem;
}

.card-copy h2,
.card-copy h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.15;
}

.meta {
  margin: .6rem 0 0;
  color: var(--warm-gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.artist-brand-name[class] {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1;
  text-rendering: optimizeLegibility;
  text-transform: none;
}

.artist-brand-name--single[class] {
  letter-spacing: clamp(.12em, .7vw, .22em);
}

.artist-brand-name--multi[class] {
  letter-spacing: clamp(.035em, .25vw, .08em);
}

.artist-brand-name--hero[class] {
  font-size: clamp(3rem, 8vw, 7.5rem);
}

.artist-brand-name--section[class] {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.artist-brand-name--card[class] {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.artist-brand-name--navigation[class] {
  font-size: 1.5rem;
}

.artist-brand-name--release[class] {
  font-size: .75rem;
}

.release-date {
  display: block;
}

.release-status,
.release-cta {
  display: block;
  color: var(--body-gray);
  font-size: .875rem;
}

.release-status {
  margin-top: .8rem;
}

.release-date + .release-status {
  margin-top: .35rem;
}

.release-cta {
  margin-top: .35rem;
}

.releases-section {
  background: linear-gradient(180deg, var(--ink), #06121e 50%, var(--ink));
}

/* About */
.about-grid {
  display: grid;
  min-height: 35rem;
  grid-template-columns: 45fr 55fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--primary-navy);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}

.about-copy p:not(.eyebrow) {
  max-width: 66ch;
  margin: 1.5rem 0 0;
  color: var(--body-gray);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.about-media {
  position: relative;
  min-height: 25rem;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-navy), transparent 52%);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
}

/* Footer */
.site-footer {
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--line);
  background: #02070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p,
.site-footer small {
  max-width: 25rem;
  color: var(--muted);
}

.footer-nav > div,
.footer-legal > div {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1rem;
}

.footer-nav > div {
  flex-direction: column;
  align-items: flex-start;
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.site-footer a:hover {
  color: var(--warm-gold);
}

.footer-legal small {
  display: block;
  margin-top: 1.5rem;
}

/* Archive and legal pages */
.page-ambient-background {
  --page-ambient-opacity: .25;
  position: relative;
  isolation: isolate;
  background: var(--ink);
}

.page-ambient-background--legal {
  --page-ambient-opacity: .18;
}

.page-ambient-visual {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: min(100%, clamp(46rem, 65vw, 70rem));
  overflow: hidden;
  pointer-events: none;
}

.page-ambient-picture,
.page-ambient-image {
  width: 100%;
  height: 100%;
}

.page-ambient-image {
  object-fit: cover;
  object-position: center top;
  opacity: var(--page-ambient-opacity);
}

.page-ambient-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgb(3 7 12 / 0%) 0%, rgb(3 7 12 / 8%) 28%, rgb(3 7 12 / 38%) 60%, var(--ink) 100%);
}

.page-ambient-background > .page-hero,
.page-ambient-background > .releases-section {
  background: transparent;
}

.page-hero {
  padding-block: 12rem 6rem;
  background:
    radial-gradient(circle at 70% 10%, rgb(224 184 107 / 12%), transparent 35%),
    linear-gradient(var(--primary-navy), var(--ink));
}

.page-hero.page-hero--compact {
  padding-block: var(--section-space-hero) var(--section-space-compact);
}

.section.section--page-content {
  padding-block-start: var(--section-space-standard);
}

.section--page-content .reading-copy > :first-child {
  margin-block-start: 0;
}

.page-hero h1 {
  margin-top: .4rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: var(--body-gray);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.reading-copy {
  color: var(--body-gray);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.reading-copy p {
  max-width: 72ch;
}

.legal-working-copy {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--ui-radius);
  background: var(--primary-navy);
  color: var(--body-gray);
}

.privacy-card-title {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  text-wrap: balance;
}

.legal-working-copy address {
  font-style: normal;
}

.legal-working-copy a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--warm-gold);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.not-found {
  min-height: 70svh;
}

/* Artist architecture */
.artist-page {
  background: var(--ink);
}

.artist-hero {
  display: flex;
  min-height: 84svh;
  align-items: flex-end;
  background: var(--primary-navy);
}

.artist-hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(2 7 13 / 90%), transparent 72%),
    linear-gradient(0deg, var(--ink), transparent 55%);
}

.artist-hero-copy {
  padding-block: 12rem 6rem;
}

.artist-hero h1 {
  margin-top: .35rem;
}

.artist-genre {
  margin: 1rem 0 0;
  color: var(--warm-gold);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.artist-positioning {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--off-white);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.artist-intro {
  background: linear-gradient(180deg, var(--ink), #091018);
}

.artist-intro-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.artist-intro-grid.has-media {
  grid-template-columns: .85fr 1.15fr;
}

.artist-intro-media,
.artist-editorial {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}

.artist-intro-image {
  width: 100%;
  height: auto;
  aspect-ratio: var(--image-aspect-ratio, 1);
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
}

.artist-intro-copy p:not(.eyebrow) {
  max-width: 67ch;
  color: var(--body-gray);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.artist-editorial {
  grid-column: 1 / -1;
  max-width: 55rem;
  margin-left: auto;
}

.artist-editorial-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
}

.artist-release-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soundworld-section {
  position: relative;
  display: flex;
  min-height: 72svh;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.soundworld-section > img,
.soundworld-shade {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.soundworld-section > img {
  z-index: -3;
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
}

.soundworld-section[data-media-variant="ragox-handpan-uncropped"] {
  width: 100%;
  min-height: 0;
}

.soundworld-section[data-media-variant="ragox-handpan-uncropped"] > .soundworld-image {
  width: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}

@media (min-width: 768px) {
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"],
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"] > .soundworld-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"],
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"] > .soundworld-image {
    aspect-ratio: 4 / 3;
  }
}

.soundworld-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(4 8 11 / 88%), rgb(4 8 11 / 42%) 43%, rgb(4 8 11 / 8%) 70%),
    linear-gradient(0deg, rgb(5 9 13 / 50%), transparent 50%);
}

.soundworld-copy {
  padding-block: 7rem;
}

.soundworld-copy p:not(.eyebrow) {
  max-width: 30rem;
  color: var(--off-white);
  font-size: 1.125rem;
}

.gallery-section {
  background: #05090d;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 4.875rem;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--card-radius);
  background: var(--primary-navy);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position-desktop, center);
  transition: transform 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-item-1 { grid-column: 1 / 5; grid-row: 1 / span 7; }
.gallery-item-2 { grid-column: 5 / 13; grid-row: 1 / span 4; }
.gallery-item-3 { grid-column: 5 / 9; grid-row: 5 / span 7; }
.gallery-item-4 { grid-column: 9 / 13; grid-row: 5 / span 5; }
.gallery-item-5 { grid-column: 1 / 5; grid-row: 8 / span 6; }
.gallery-item-6 { grid-column: 9 / 13; grid-row: 10 / span 4; }

/* The six existing Marlo tiles keep their tracks; the relocated image gets its own natural-height row. */
.artist-marlo-kellan .gallery-grid {
  grid-template-rows: repeat(13, 4.875rem) auto;
}

.artist-marlo-kellan .artist-editorial-gallery-item {
  grid-column: 1 / -1;
  grid-row: 14;
  align-self: start;
}

.artist-marlo-kellan .artist-editorial-gallery-item img {
  height: auto;
  object-fit: contain;
}

.streaming-section {
  text-align: center;
}

.streaming-section h2 {
  max-width: none;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.artist-pagination {
  border-top: 1px solid var(--line);
  background: var(--primary-navy);
}

.artist-pagination-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}

.artist-pagination a {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: center;
  padding-block: 1.5rem;
}

.artist-pagination a:nth-child(2) {
  align-items: center;
  padding-inline: 2rem;
}

.artist-pagination a:last-child {
  align-items: flex-end;
  text-align: right;
}

.artist-pagination span {
  color: var(--warm-gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.artist-pagination strong {
  margin-top: .35rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
}

.artist-pagination a:hover strong {
  color: var(--warm-gold);
}

/* Lightbox */
.lightbox {
  width: min(94vw, 82.5rem);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: #05090d;
  box-shadow: 0 3rem 8rem rgb(0 0 0 / 65%);
}

.lightbox::backdrop {
  background: rgb(0 0 0 / 86%);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: .875rem;
  right: .875rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: rgb(3 7 10 / 78%);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

/* Motion */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(.75rem);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1199px) {
  :root {
    --section-space-large: clamp(5rem, 9vw, 7rem);
  }

  .container-wide,
  .container-main,
  .container-reading {
    width: calc(100% - 5rem);
  }

  .artist-grid,
  .release-grid,
  .artist-release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .artist-hero-image,
  .home-hero-image,
  .artist-card-image,
  .about-media img,
  .artist-intro-image,
  .artist-editorial-image,
  .soundworld-section > .soundworld-image,
  .gallery-image {
    object-position: var(--object-position-tablet, var(--object-position-desktop, center));
  }

  .home-hero {
    min-height: 78svh;
  }

  .home-hero-copy {
    padding-top: 8rem;
  }

  .about-grid {
    grid-template-columns: 45fr 55fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .artist-intro-grid.has-media {
    grid-template-columns: .9fr 1.1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 960px) {
  .about-grid,
  .artist-intro-grid.has-media {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 24rem;
  }

  .about-media::after {
    background: linear-gradient(0deg, var(--primary-navy), transparent 42%);
  }

  .artist-intro-media {
    max-width: 42rem;
  }

  .artist-editorial {
    margin-left: 0;
  }
}

/* Phone */
@media (max-width: 767px) {
  :root {
    --section-space-hero: 9rem;
    --section-space-large: clamp(4rem, 16vw, 5.5rem);
    --section-space-standard: clamp(2rem, 8vw, 3rem);
    --section-space-compact: 1.5rem;
  }

  body {
    font-size: 1rem;
  }

  .nav-shell {
    min-height: 5.25rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
  }

  .brand {
    min-height: 4rem;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .js-ready .nav-shell {
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .js-ready .menu-button {
    display: block;
  }

  .container-wide,
  .container-main,
  .container-reading {
    width: calc(100% - 2.75rem);
  }

  .nav-links {
    order: 3;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
  }

  .js-ready .nav-links {
    position: absolute;
    top: calc(100% - .25rem);
    right: 1.375rem;
    left: 1.375rem;
    order: initial;
    display: none;
    width: auto;
    max-height: calc(100svh - 6rem);
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    background: rgb(6 21 34 / 98%);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 35%);
  }

  .js-ready .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    min-height: 3.25rem;
    padding-inline: .75rem;
  }

  .nav-links a::after {
    display: none;
  }

  .home-hero {
    min-height: 84svh;
    align-items: flex-end;
  }

  .home-hero-image {
    object-position: var(--object-position-mobile, var(--object-position-desktop, center));
  }

  .home-hero-shade {
    background:
      linear-gradient(0deg, rgb(1 5 8 / 82%) 0%, rgb(1 5 8 / 34%) 52%, rgb(1 5 8 / 8%) 82%),
      linear-gradient(90deg, rgb(1 5 8 / 12%), transparent);
  }

  .page-ambient-background {
    --page-ambient-opacity: .25;
  }

  .page-ambient-background--legal {
    --page-ambient-opacity: .18;
  }

  .page-ambient-visual {
    height: min(100%, 28rem);
  }

  .home-hero-copy {
    padding-block: 8rem 4.5rem;
    text-align: center;
  }

  .home-hero-logo {
    width: 7rem;
    max-height: 4.5rem;
    margin-inline: auto;
    object-position: center;
  }

  .home-hero h1 {
    max-width: 11ch;
    margin-inline: auto;
  }

  .home-hero-copy > p {
    margin-inline: auto;
  }

  .home-hero .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .artist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .release-grid,
  .artist-release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .release-card .card-copy {
    padding: .875rem;
  }

  .release-card .card-copy h2,
  .release-card .card-copy h3 {
    font-size: 1.25rem;
  }

  .release-card .meta:not(.artist-brand-name) {
    font-size: .6875rem;
    letter-spacing: .08em;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 2rem 1.375rem;
  }

  .about-media {
    min-height: 19rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero {
    padding-block: 9rem 4.5rem;
  }

  .artist-hero {
    min-height: 88svh;
  }

  .artist-hero-image {
    object-position: var(--object-position-mobile, var(--object-position-desktop, center));
  }

  .artist-card-image {
    object-position: var(--object-position-mobile, var(--object-position-desktop, center));
  }

  .about-media img,
  .artist-intro-image,
  .artist-editorial-image,
  .soundworld-section > .soundworld-image,
  .gallery-image {
    object-position: var(--object-position-mobile, var(--object-position-desktop, center));
  }

  .artist-hero-shade {
    background:
      linear-gradient(0deg, rgb(2 7 13 / 96%) 0%, rgb(2 7 13 / 56%) 48%, rgb(2 7 13 / 12%) 76%),
      linear-gradient(90deg, rgb(2 7 13 / 28%), transparent);
  }

  .artist-hero-copy {
    padding-block: 8rem 4rem;
  }

  .artist-hero h1 {
    font-size: clamp(3.8rem, 19vw, 6rem);
  }

  .soundworld-section {
    min-height: 70svh;
    align-items: flex-end;
  }

  .soundworld-shade {
    background: linear-gradient(0deg, rgb(4 8 11 / 94%), rgb(4 8 11 / 24%) 72%);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 13rem;
    gap: .625rem;
  }

  .gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
    border-radius: 14px;
  }

  .gallery-item-1,
  .gallery-item-3,
  .gallery-item-5 {
    grid-row: span 2 !important;
  }

  .artist-marlo-kellan .gallery-grid {
    grid-template-rows: repeat(5, 13rem) auto;
  }

  .artist-marlo-kellan .artist-editorial-gallery-item {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
  }

  .artist-pagination-grid {
    grid-template-columns: 1fr 1fr;
  }

  .artist-pagination a {
    min-height: 7rem;
  }

  .artist-pagination a:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 4.5rem;
    border-top: 1px solid var(--line-soft);
  }

  .artist-pagination a:last-child {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 360px) {
  .container-wide,
  .container-main,
  .container-reading {
    width: calc(100% - 2.5rem);
  }

  .release-card .card-copy {
    padding: .75rem;
  }

  .release-card .card-copy h2,
  .release-card .card-copy h3 {
    font-size: 1.125rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 150ms linear;
  }

  .artist-card-image,
  .release-cover,
  .gallery-item img {
    transform: none !important;
  }
}

/* Phase 7E: only the five Owner-authorized image roles.
   Source-space protected rectangles and geometry: ARTIST_IMAGE_FRAMING_LOCK_v1.0.md. */
.soundworld-section[data-media-variant="ragox-handpan-uncropped"] {
  height: 320px;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--primary-navy);
  scroll-margin-top: 7rem;
}

.soundworld-section[data-media-variant="ragox-handpan-uncropped"] > .soundworld-image {
  width: min(100%, 900px);
  height: 100%;
  margin-inline: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 100%;
}

.artist-marlo-kellan .artist-hero-picture,
.artist-river-halewood .artist-hero-picture {
  top: 6rem;
  height: calc(100% - 6rem);
}

.artist-marlo-kellan .artist-hero-image,
.artist-river-halewood .artist-hero-image {
  object-position: 75% 0%;
}

.artist-river-halewood .artist-hero h1 {
  max-width: 60%;
  overflow-wrap: anywhere;
}

.artist-marlo-kellan .soundworld-section,
.artist-river-halewood .soundworld-section {
  min-height: 340px;
  background: var(--primary-navy);
  scroll-margin-top: 7rem;
}

.artist-marlo-kellan .soundworld-image,
.artist-river-halewood .soundworld-image {
  width: min(100%, 1200px);
  height: 340px;
  margin-inline: auto;
  object-position: 65% 0%;
}

.artist-marlo-kellan .soundworld-copy,
.artist-river-halewood .soundworld-copy {
  padding-block: 3rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"] {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .soundworld-section[data-media-variant="ragox-handpan-uncropped"] {
    height: 240px;
    scroll-margin-top: 6.25rem;
  }

  .artist-marlo-kellan .artist-hero-picture,
  .artist-river-halewood .artist-hero-picture {
    top: 5.25rem;
    height: min(105vw, 34rem);
    mask-image: linear-gradient(#000 65%, transparent);
  }

  .artist-marlo-kellan .artist-hero-image {
    object-position: 50% 36%;
  }

  .artist-river-halewood .artist-hero-image {
    object-position: 50% 30%;
  }

  .artist-river-halewood .artist-hero h1 {
    max-width: 100%;
  }

  .artist-marlo-kellan .artist-hero-copy,
  .artist-river-halewood .artist-hero-copy {
    padding-top: calc(5.25rem + 64vw);
  }

  .artist-marlo-kellan .soundworld-section,
  .artist-river-halewood .soundworld-section {
    min-height: 280px;
    scroll-margin-top: 6.25rem;
  }

  .artist-marlo-kellan .soundworld-image,
  .artist-river-halewood .soundworld-image {
    height: 280px;
    object-position: 65% 0%;
    mask-image: linear-gradient(#000 65%, transparent);
  }

  .artist-marlo-kellan .soundworld-copy,
  .artist-river-halewood .soundworld-copy {
    padding-top: calc(32vw + 1rem);
  }

  html:not(.js-ready) .artist-marlo-kellan .artist-hero-picture,
  html:not(.js-ready) .artist-river-halewood .artist-hero-picture {
    top: 15rem;
  }

  html:not(.js-ready) .artist-marlo-kellan .artist-hero-copy,
  html:not(.js-ready) .artist-river-halewood .artist-hero-copy {
    padding-top: calc(15rem + 64vw);
  }
}
