:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #1f1f1f;
  --color-border: #e5e5e5;
  --nav-height: 4rem;
  --max-width: 72rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0rem 1rem;
}

/* Nav */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 0px solid var(--color-border);
  z-index: 100;
}

.nav__inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 6vw, 3rem);
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  font-weight: 200;
}

.nav__name {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Sections */

.section {
  scroll-margin-top: var(--nav-height);
  position: relative;
}

.section__title {
  font-size: 1.7rem;
  font-weight: 300;
  padding-bottom: 02rem;
}

.page {
  padding-top: 0rem;
  flex: 1;
}

body[data-page="home"] .page {
  padding-top: 0;
}

.page__intro {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.page__intro + .page__intro {
  margin-top: 1rem;
}

.page__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.page__link-card {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: #fafafa;
}

.page__link-card:hover {
  background: #f3f3f3;
}

.page__link-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.page__link-text {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* Hero */

.hero {
  position: relative;
  height: 80vh;
  min-height: 32rem;
  display: flex;
  align-items: flex-end;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(100%);
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.85;
}

.hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 1.5rem;
  color: #ffffff;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 500;
  padding: 0 0 0 3rem;
}

.hero__subtitle {
  margin-top: 0.2rem;
  font-size: 1.1rem;
  padding: 0 0 0 3rem;
}

body[data-page="home"] .footer__inner {
  max-width: none;
  margin: 0;
  padding-left: 4.5rem;
  padding-right: 1.5rem;
}

.footer {
  padding: 6rem 0 2rem;
  background: var(--color-bg);
}

.footer__inner {
  display: grid;
  gap: 1rem;
}

.footer__label {
  color: var(--color-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer__email {
  font-size: 1.25rem;
  font-weight: 500;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1rem;
  align-items: center;
  padding-left: 2rem;
}

.footer__link {
  font-size: 0.95rem;
  color: var(--color-text);
}

.footer__link--muted {
  color: var(--color-muted);
}

.footer__copyright {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (min-width: 37.5rem) {
  body:not([data-page="home"]) .footer__links {
    padding-left: 0;
  }

  .footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer__copyright {
    margin-left: auto;
  }
  .footer__copyright,
  .footer__links {
    padding-top: 1.9rem;
  }
}

@media (min-width: 40.0625rem) {
  body:not([data-page="home"]) .footer {
    padding-left: 3rem;
  }
}

/* About */

.about {
  padding: 6rem 0 0 3rem;
}

.about__layout {
  display: grid;
  gap: 2rem;
}

.about__content {
  max-width: 40rem;
}

.about__text {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.about__media {
  width: 100%;
  padding-right: 1rem;
}

.about__image {
  width: 100%;
  max-width: 26rem;
  margin-left: auto;
  object-fit: cover;
}

@media (min-width: 37.5rem) {
  .about__layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.8fr);
    align-items: start;
  }
}

/* Albums / Films */

.albums,
.films {
  padding: 6rem 0 0 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}

.card {
  display: block;
  color: inherit;
  transition: transform 0.2s ease;
}

.card:hover {
  opacity: 0.9;
}

.card__image {
  aspect-ratio: 1 / 1;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.card__image:hover {
  opacity: 0.85;
}
.card__title {
  font-size: 1rem;
  font-weight: 500;
}

.card__meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.detail-page {
  min-height: 100vh;
  padding: 5rem 1rem 4rem;
}

.detail {
  max-width: 52rem;
  margin: 0 auto;
}

.detail__back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.detail__hero {
  margin-bottom: 1.5rem;
}

.detail__image {
  aspect-ratio: 4 / 2;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.detail__content {
  max-width: 45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "eyebrow eyebrow"
    "title link"
    "artist link"
    "meta link";
  column-gap: 1rem;
}

.detail__eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0.25rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 450;
  letter-spacing: 0.03em;
}

.detail__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.detail .section__title {
  grid-area: title;
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin-bottom: 0.35rem;
  padding-bottom: 0;
}

.detail__artist {
  grid-area: artist;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.detail__meta {
  grid-area: meta;
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.contact__email.detail__link {
  grid-area: link;
  display: inline-block;
  justify-self: end;
  align-self: start;
  margin-top: 0.2rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-text);
}

.detail__description {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  list-style: none;
}

.detail__facts li {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text);
  background: #fafafa;
}

/* Contact */

.contact {
  padding: 10rem 0 10rem 3rem;
}

.contact__text {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.contact__email {
  font-size: 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--color-text);
}

/* Responsive */

@media (max-width: 40rem) {
  .about,
  .albums,
  .films,
  .contact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav__inner {
    gap: 1rem;
  }

  .nav__link {
    font-size: 0.7rem;
  }

  .nav__name {
    font-size: 0.9rem;
  }

  .hero__title,
  .hero__subtitle {
    padding-left: 1rem;
  }

  body[data-page="home"] .footer__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  body:not([data-page="home"]) .footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .detail-page {
    padding-top: 4.75rem;
    padding-bottom: 3rem;
  }

  .detail .section__title {
    font-size: 1.8rem;
  }

  .footer__links {
    padding-left: 0rem;
  }
}

@media (max-width: 25rem) {
  .detail__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "artist"
      "meta"
      "link";
  }

  .contact__email.detail__link {
    justify-self: start;
    align-self: start;
    margin-top: 0;
    margin-bottom: 0;
  }
}
