:root {
  --page-bg: #ffffff;
  --text: #000000;
  --muted: #5f6770;
  --line: rgba(0, 0, 0, 0.14);
  --accent: #1aa6a8;
  --header-bg: #dbe3eb;
  --shadow: 0 18px 40px rgba(18, 22, 26, 0.08);
  --content-width: 1230px;
  --gutter: 40px;
  --font-body: "Josefin Sans", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--text);
}

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

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background:
    linear-gradient(rgba(219, 227, 235, 0.9), rgba(219, 227, 235, 0.9)),
    url("/assets/images/site/header-clouds.jpg") center/cover no-repeat;
  border-bottom: 1px solid rgba(17, 17, 17, 0.04);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  transition: min-height 220ms ease;
}

.site-logo {
  width: min(270px, 28vw);
  transition: width 220ms ease;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 220ms ease, font-size 220ms ease;
}

.site-nav a {
  position: relative;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 4px;
  background: var(--text);
}

.site-nav__accent {
  color: var(--accent);
}

.site-header--scrolled {
  background:
    linear-gradient(rgba(219, 227, 235, 0.94), rgba(219, 227, 235, 0.94)),
    url("/assets/images/site/header-clouds.jpg") center/cover no-repeat;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.28);
}

.site-header--scrolled .site-header__inner {
  min-height: 60px;
}

.site-header--scrolled .site-logo {
  width: min(170px, 18vw);
}

.site-header--scrolled .site-nav {
  gap: 18px;
  font-size: 15px;
}

.site-main {
  padding: 40px 0 72px;
}

.videos-page__title {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.about-page {
  padding-top: 0;
}

.about-hero {
  width: min(100%, 1050px);
  margin: 0 auto;
  overflow: hidden;
  transform: scale(1);
  transform-origin: center top;
  transition: transform 3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-hero img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.about-hero:hover {
  transform: scale(1.17);
}

.about-copy,
.about-awards {
  width: min(calc(100% - 48px), 980px);
  margin: 92px auto 0;
}

.about-copy {
  width: min(calc(100% - 48px), 1210px);
}

.about-copy__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 28px;
}

.about-copy__title,
.about-awards__title {
  margin: 0 0 28px;
  font-size: 31px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-copy__title {
  text-align: center;
}

.about-copy__body {
  width: min(100%, 680px);
  margin: 0 auto;
}

.about-copy__body p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.65;
}

.about-copy__body p.about-copy__spaced {
  margin-top: 42px;
}

.about-reveal {
  opacity: 0;
  transform: translate3d(0, 140px, 0);
  transition:
    opacity 1100ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-reveal--delay-1 {
  transition-delay: 180ms;
}

.about-quote {
  margin: 36px auto;
  padding: 0;
  border: 0;
  text-align: center;
}

.about-quote p {
  margin: 0 0 12px;
  font-size: 23.4px;
  line-height: 1.3;
  font-weight: 300;
}

.about-quote footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: var(--text);
}

.about-quote__name {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.about-quote__job {
  font-size: 15.3px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.about-signature {
  width: min(240px, 45vw);
  margin: 40px auto 0;
}

.about-awards__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-awards__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  line-height: 1.5;
}

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

.photo-card {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-lightbox {
  position: relative;
  width: min(92vw, 1080px);
  max-width: none;
  padding: 24px;
  border: 0;
  background: rgba(10, 12, 14, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.photo-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.photo-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.contact-column {
  min-width: 0;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.contact-card + .contact-card {
  margin-top: 24px;
}

.contact-card--accent {
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.98), rgba(232, 239, 245, 0.98));
}

.contact-intro {
  margin: 0 0 22px;
  font-size: 21px;
  line-height: 1.35;
}

.contact-block + .contact-block {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contact-block h2,
.contact-bandcamp__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-block p {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.contact-block p + p {
  margin-top: 4px;
}

.contact-block a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-bandcamp__embed {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.release-card {
  display: block;
}

.release-card__art {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f3f4f6;
}

.release-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-card__title {
  margin: 18px 0 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.release-card__date {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 300;
  color: var(--muted);
}

.videos-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.videos-list {
  max-height: calc(100vh - 220px);
  overflow: auto;
  padding-right: 10px;
}

.videos-item {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 0 0 18px;
  margin: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.videos-item:last-child {
  margin-bottom: 0;
}

.videos-item__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--text);
  border-radius: 50%;
  margin-top: 2px;
}

.videos-item__play::before {
  content: "";
  display: block;
  margin-left: 2px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--text);
}

.videos-item.is-active .videos-item__play {
  background: var(--text);
}

.videos-item.is-active .videos-item__play::before {
  border-left-color: #fff;
}

.videos-item__title {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.videos-item__date {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 300;
  color: var(--muted);
}

.videos-player {
  min-width: 0;
}

.videos-player__frame {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  box-shadow: var(--shadow);
}

.videos-player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  padding: 28px 0 36px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  line-height: 1.4;
}

.site-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-header__inner,
  .site-main,
  .site-footer__inner {
    width: min(calc(100% - 32px), var(--content-width));
  }

  .site-header__inner {
    min-height: 78px;
  }

  .site-nav {
    gap: 16px;
    font-size: 16px;
  }

  .videos-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-copy,
  .about-awards {
    width: min(calc(100% - 32px), 980px);
    margin-top: 56px;
  }

  .about-copy {
    width: min(calc(100% - 32px), 1210px);
  }

  .about-hero {
    width: 100%;
    transform: none;
    transition: none;
  }

  .about-hero:hover {
    transform: none;
  }

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

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

  .videos-player {
    order: 1;
  }

  .videos-list {
    order: 2;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0 16px;
  }

  .site-logo {
    width: min(230px, 70vw);
  }

  .site-nav {
    gap: 14px 18px;
    font-size: 15px;
  }

  .site-main {
    padding-top: 28px;
  }

  .about-page {
    padding-top: 0;
  }

  .about-hero img {
    height: auto;
    max-height: 70vh;
  }

  .about-copy__title,
  .about-awards__title {
    margin-bottom: 22px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .about-copy__body {
    width: 100%;
  }

  .about-copy__body p {
    font-size: 17px;
    line-height: 1.55;
  }

  .about-copy__body p.about-copy__spaced {
    margin-top: 30px;
  }

  .about-quote {
    margin: 28px auto;
  }

  .about-quote p {
    font-size: 20px;
  }

  .about-awards__list li {
    font-size: 17px;
    line-height: 1.45;
  }

  .contact-card {
    padding: 22px 18px;
  }

  .contact-intro {
    font-size: 18px;
  }

  .contact-block h2,
  .contact-bandcamp__title {
    font-size: 18px;
  }

  .contact-block p {
    font-size: 17px;
  }

  .videos-page__title {
    margin-bottom: 20px;
  }

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

  .releases-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .photo-lightbox {
    width: min(94vw, 1080px);
    padding: 18px;
  }
}
