.collection {
  max-width: var(--page-max-width, 1300px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 76px) var(--page-gutter, 5vw) 100px;
}
.collection-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 18px 0 30px;
}
.collection h1, .collection-section > h2, .suno-heading h3, .videos-heading, .film-title, .screening h2, .screening h3 {
  font-family: var(--font-display, inherit);
  letter-spacing: -.025em;
  line-height: 1.07;
  color: var(--ink);
}
.collection h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); margin: 0; }
.collection-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.collection-section + .collection-section { margin-top: clamp(32px, 4vw, 56px); }
.collection-section > h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0; }
.collection-attribution, .web-intro { margin: .55rem 0 16px; color: var(--muted); }
.web-intro { max-width: none; }
.full-prompt {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--glass-radius, 6px);
}
.full-prompt summary {
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}
.full-prompt summary:hover { color: var(--blue); }
.full-prompt blockquote { max-width: 75ch; margin: 0; padding: 4px 16px 20px; }
.full-prompt blockquote p + p { margin-top: .75rem; }
.full-prompt blockquote ul { margin: .35rem 0 .75rem; padding-inline-start: 1.35rem; }
.projects-link {
  color: var(--blue);
  font-size: .9rem;
  text-underline-offset: .25em;
  text-decoration: underline;
}
.suno-profile {
  padding: clamp(12px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--glass-radius, 6px);
  background: var(--surface);
}
.suno-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.suno-heading h3, .videos-heading {
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  margin: 0;
}
.videos-heading { margin: 28px 0 14px; }
.suno-listening {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 24px;
}
.suno-tracks {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.suno-tracks a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.35;
  text-decoration: none;
}
.suno-tracks a[aria-current="true"] {
  background: var(--tint);
  color: var(--blue);
  font-weight: 700;
}
.suno-tracks a:hover { text-decoration: underline; text-underline-offset: .2em; }
.suno-tracks a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.suno-player iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: 0;
  border-radius: 6px;
  background: var(--tint);
}
.suno-song-link { display: inline-block; margin-top: 8px; }
@media (min-width: 740px) {
  .suno-listening { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.films {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.film-card { min-width: 0; padding: clamp(14px, 1.6vw, 24px); }
:root[data-style="original"] .film-card > .glass-layer { box-shadow: var(--glass-rim); }
.films button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.poster {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 4px;
}
.poster img { display: block; width: 100%; height: auto; aspect-ratio: 9/16; }
.duration, .play-mark {
  position: absolute;
  bottom: 10px;
  color: white;
  background: #101315ed;
}
.duration {
  right: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.play-mark {
  left: 9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #ffffff80;
}
.play-mark::after {
  content: "";
  margin-left: 3px;
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
}
.film-title { display: block; margin-top: 12px; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.film-description {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.5;
}
.films button:is(:hover, :focus-visible) .film-title { text-decoration: underline; text-underline-offset: .15em; }
.films button:focus-visible, .close:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
body:has(.screening[open]) { overflow: hidden; }
.screening {
  width: min(880px, calc(100% - 32px));
  max-height: 92dvh;
  padding: 0;
  margin: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.screening::backdrop { background: rgb(8 12 10 / 80%); }
.screening-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.screening h2, .screening h3 { margin: 0; }
.screening h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.close {
  min-height: 44px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}
.close:hover { background: var(--tint); }
.screening-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.player { background: #0d1010; color: white; }
.player video { display: block; height: min(67dvh, 630px); width: 100%; object-fit: contain; }
#playback-status { padding: 0 12px 12px; margin: 0; }
.lyrics { padding: 24px; max-height: min(67dvh, 630px); overflow-y: auto; }
.lyrics h3 { font-size: 1.55rem; }
#lyrics-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
@media (max-width: 600px) {
  .screening-header { padding: 12px 16px; }
  .screening-body { display: block; }
  .player video { height: min(48dvh, 440px); }
  .lyrics { padding: 16px; max-height: none; }
  #lyrics-text { margin: 8px 0 0; }
}
