/* Shared base for all concepts */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-var.woff2") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
html.menu-open, html.vbox-open { overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 1000;
  padding: 10px 16px; background: #000; color: #fff; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Credits (native <details>) */
.credits summary { list-style: none; cursor: pointer; }
.credits summary::-webkit-details-marker { display: none; }
.credits-body p { margin: 0; }
.credits-body h4 { margin: 12px 0 4px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.credits-body h4:first-child { margin-top: 0; }

/* Video lightbox */
.vbox {
  width: min(1200px, 100vw - 24px);
  max-width: none; max-height: none;
  padding: 0; border: 0;
  background: transparent; color: #fff;
  overflow: visible;
}
.vbox::backdrop { background: rgba(0,0,0,.9); }
.vbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-weight: 600; }
.vbox-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); cursor: pointer; }
.vbox-close svg { width: 20px; height: 20px; }
.vbox-frame { position: relative; aspect-ratio: 16/9; max-height: calc(100svh - 110px); margin-inline: auto; background: #000; }
.vbox-frame iframe, .vbox-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Forms */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; gap: 6px; padding: 24px; border: 1.5px solid currentColor; }
.form-done strong { font-size: 1.4rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Project images: 16:9 frame; posters shown whole over a blurred fill */
.pimg { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.pimg--poster .pimg-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); filter: blur(18px) brightness(.75) saturate(1.2); }
.pimg--poster .pimg-fg { position: relative; object-fit: contain; }

/* Placement cards are links (or plain cards when there's no IMDb page) */
.pl { color: inherit; }
div.pl { cursor: default; }

/* "Music heard on" network line */
.heard { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.heard-label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.heard-list { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.heard-list li { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.heard-list li:not(:last-child)::after { content: "·"; margin: 0 .55em; opacity: .4; font-weight: 400; }

/* FAQ */
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item { border-top: 1px solid rgba(255,255,255,.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; max-width: 64ch; opacity: .82; }
.faq-a p + p { margin-top: .8em; }

/* Never allow sideways wobble on phones (rotated/bleeding decorations can poke past the edge).
   `clip` (unlike `hidden`) doesn't create a scroll container, so sticky headers keep working. */
html, body { overflow-x: clip; }
