/* /work/ portfolio page. Loaded only on that page, after styles.css. */

.work-intro { max-width: 760px; }

/* Jump links under the masthead */
.show-index { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.show-index a {
  display: inline-block; padding: 9px 14px; border: 2px solid var(--ink); text-decoration: none;
  font-size: 12px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.12em;
  transition: background-color .15s ease;
}
.show-index a:hover { background: var(--volt); }

/* One show per section */
.show { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.show:first-of-type { border-top: 0; }
.show-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.show-head h2 { margin: 8px 0 0; font-size: clamp(32px, 5.4vw, 60px); line-height: 0.98; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.005em; }
.show-num { font-size: clamp(36px, 6vw, 64px); line-height: 1; font-weight: 900; font-stretch: var(--wide); color: var(--rule); }
.show-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; margin-top: 32px; }
.show-body .prose p { font-size: 17.5px; }
.role-line { margin: 0 0 18px; padding: 12px 14px; background: #f5f5f5; font-size: 15px; font-weight: 600; }
.role-line b { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; margin-right: 8px; }

/* Facts column */
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 11px; font-weight: 700; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }

/* Media grid: videos and stills */
.media { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.media.vertical { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); }
.media figure { margin: 0; }
.media figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.media figcaption b { color: var(--ink); font-weight: 700; }
.media img.still { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #f0f0f0; }

/* Click-to-play YouTube: a thumbnail button that swaps in the player, so nothing loads from YouTube until a visitor asks */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #111 center / cover no-repeat; cursor: pointer; overflow: hidden; }
.yt.tall { aspect-ratio: 9 / 16; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.55)); transition: opacity .2s ease; }
.yt:hover::after { opacity: .6; }
.yt .play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: var(--ink); display: grid; place-items: center; transition: background-color .15s ease, transform .2s ease;
}
.yt .play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--volt); }
.yt:hover .play, .yt:focus-visible .play { background: var(--volt); transform: scale(1.06); }
.yt:hover .play svg, .yt:focus-visible .play svg { fill: var(--ink); }
.yt:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.yt .yt-label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: #fff; text-align: left; font: 700 14px/1.3 "Archivo", system-ui, sans-serif; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Off-site video (Instagram, X, Facebook, publisher players): a linked card */
.ext { display: block; text-decoration: none; }
.ext .thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #111 center / cover no-repeat; }
.ext .thumb .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background-color .15s ease; }
.ext .thumb .play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--volt); }
.ext:hover .thumb .play { background: var(--volt); }
.ext:hover .thumb .play svg { fill: var(--ink); }
.ext .via { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.14em; border-bottom: 2px solid var(--ink); }

/* Press list reuses .linklist from styles.css */
.show .press { margin-top: 36px; }
.show .press > .label { display: block; margin-bottom: 10px; }
.show .press .linklist a:hover { background: linear-gradient(90deg, #ecf7b8, transparent 70%); }

.credits { margin-top: clamp(48px, 7vw, 72px); padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; max-width: 760px; }

@media (max-width: 860px) {
  .show-body { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .show-num { display: none; }
  .show-head { grid-template-columns: 1fr; }
  .media.vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Compact type-only label for shows with no public artwork */
.type-card { display: block; margin: 0 0 18px; padding: 14px 16px; background: var(--ink); color: var(--paper); border-left: 6px solid var(--volt); }
.type-card .tc-top { display: block; font-size: 10px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.16em; color: var(--volt); }
.type-card .tc-title { display: block; margin-top: 6px; font-size: 20px; line-height: 1.05; font-weight: 900; font-stretch: var(--wide); text-transform: uppercase; }
.type-card .tc-foot { display: block; margin-top: 8px; font-size: 12px; color: #cfcfcf; }
.art { margin: 0 0 18px; }
.art img { display: block; width: 100%; height: auto; }
.art figcaption { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Pull quote from press */
.pull { margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 6px solid var(--volt); max-width: 640px; }
.pull p { margin: 0; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.35; font-weight: 700; }
.pull cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; color: var(--muted); }

/* Concept / Production / Partnerships strip under each role line */
.my-part { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: -10px 0 22px; padding: 0; list-style: none; background: var(--rule); border: 1px solid var(--rule); }
.my-part li { padding: 12px 14px; background: var(--paper); font-size: 14px; line-height: 1.4; }
.my-part b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: 0.14em; }
.my-part b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; background: var(--volt); outline: 1px solid var(--ink); vertical-align: 1px; }
@media (max-width: 520px) { .my-part { grid-template-columns: 1fr; } }
.media video.clip { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
