:root {
  --ink: #222;
  --muted: #9c9c9c;
  --line: #e6e6e6;
  --paper: #fff;
  --overlay: rgba(0, 0, 0, 0.42);
  font-family: futura-pt, "Futura PT", "Avenir Next", Futura, "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.6em;
}

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

a {
  color: inherit;
}

.page-frame {
  width: min(960px, calc(100% - 48px));
  min-height: 100vh;
  margin: 24px auto;
  background: var(--paper);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.09);
}

.site-header {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 112px;
  padding: 24px 34px 22px;
  border-bottom: 1px solid var(--line);
}

.logo-link {
  display: block;
  text-decoration: none;
}

.logo-link img {
  width: 330px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a.is-active {
  color: #111;
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

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

.slideshow {
  position: relative;
}

.slide-stage {
  position: relative;
  height: min(56vw, 520px);
  min-height: 300px;
  overflow: hidden;
  background: #111;
}

.slide-link {
  display: block;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-38%, -50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 32px solid rgba(255, 255, 255, 0.94);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 74px;
  border: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 48px;
  line-height: 1;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.22);
}

.gallery-arrow.previous {
  left: 0;
}

.gallery-arrow.next {
  right: 0;
}

.slide-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 34px 0;
  color: var(--muted);
}

.slide-caption h2 {
  margin: 0;
  color: #222;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.poster-block {
  position: relative;
  margin: 0;
}

.poster-block img {
  width: 100%;
  aspect-ratio: 3.05 / 1;
  object-fit: cover;
}

.poster-block figcaption {
  position: absolute;
  left: 34px;
  bottom: 30px;
  display: grid;
  gap: 3px;
  color: #fff;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: none;
}

.poster-block figcaption small {
  font-size: 17px;
  font-weight: 300;
  text-transform: none;
}

.content-copy {
  padding: 42px 66px 32px;
}

.content-copy h1 {
  margin: 0 0 14px;
  color: #aaa;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.4em;
  text-transform: none;
}

.content-copy h2 {
  margin: 30px 0 12px;
  color: #777;
  font-size: 13.6px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
}

.content-copy p {
  margin: 0 0 10px;
}

.content-copy a {
  color: #0085bd;
}

.content-copy a:hover {
  color: #60a5dd;
}

.content-copy strong {
  font-weight: 500;
}

.page-kicker {
  color: var(--muted);
}

.credit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 42px;
}

.credit-columns article {
  break-inside: avoid;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.logo-card {
  min-height: 94px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
}

.logo-card img {
  max-height: 64px;
  object-fit: contain;
}

.soundcloud-list {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

.soundcloud-list iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.scores-copy {
  max-width: 820px;
  margin: 0 auto;
}

.score-section {
  margin-top: 30px;
  text-align: left;
}

.score-section h2 {
  margin-top: 0;
}

.score-feature {
  max-width: 640px;
}

.score-summary p {
  color: var(--muted);
}

.score-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.score-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid #111;
  padding: 7px 14px;
  color: #111;
  font-weight: 400;
  text-decoration: none;
}

.score-actions a:first-child {
  background: #111;
  color: #fff;
}

.score-preview-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.score-pages {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.score-pages summary {
  cursor: pointer;
  color: var(--muted);
}

.score-pages:not([open]) .score-grid {
  display: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.score-page,
.score-sample {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.score-page img,
.score-sample img {
  width: 100%;
  aspect-ratio: 1 / 1.42;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 6px;
}

.about-copy {
  padding-top: 34px;
}

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

.about-gallery {
  min-width: 0;
}

.about-stage {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3 / 2;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 54px;
  border: 0;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.12);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.about-arrow:hover {
  background: rgba(0, 0, 0, 0.22);
}

.about-arrow.previous {
  left: 0;
}

.about-arrow.next {
  right: 0;
}

.about-thumbnails {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.about-thumb {
  flex: 0 0 56px;
  height: 38px;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.about-thumb.is-active {
  border-color: #111;
}

.about-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 15px;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  font: inherit;
}

.contact-form button {
  width: fit-content;
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  padding: 24px 34px 34px;
  text-align: right;
}

.site-footer p {
  margin: 0 0 8px;
}

@media (max-width: 820px) {
  .page-frame {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px;
  }

  .logo-link img {
    width: min(330px, 100%);
    margin: 0 auto;
  }

  nav {
    justify-content: center;
    gap: 16px;
    font-size: 14px;
  }

  .slide-stage {
    height: 58vw;
    min-height: 240px;
  }

  .content-copy {
    padding: 34px 22px 26px;
  }

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

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

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

}

@media (max-width: 640px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .score-preview-pages {
    grid-template-columns: 1fr;
  }
}
