/* work.css — one work's page (work.php, /work/{slug} and /film/{slug}). Classes .wkp-* */
.wkp { max-width: 1200px; margin: 0 auto; padding: calc(var(--nav-h) + 32px) 48px 100px; }
.wkp-back { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--muted-hi); margin-bottom: 24px; }
.wkp-back::after { content: ''; position: absolute; inset: -12px -8px; }   /* 44 px tap area */
.wkp-back:hover { color: var(--white); }

/* Player: the thumbnail with a play button until pressed */
.wkp-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl, 20px); overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); }
.wkp-player > iframe, .wkp-player > video, .wkp-player > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.wkp-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.wkp-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, filter .3s; filter: brightness(0.85); }
.wkp-play:hover img { transform: scale(1.02); filter: brightness(0.95); }
.wkp-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff;
  background: rgba(7,8,15,0.55); border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.wkp-play-btn i { margin-left: 4px; }
.wkp-play:hover .wkp-play-btn, .wkp-play:focus-visible .wkp-play-btn { background: var(--warm); border-color: var(--warm); transform: translate(-50%, -50%) scale(1.06); }
.wkp-play:focus-visible { outline: 2px solid var(--warm-hi); outline-offset: -4px; }

/* Text and facts */
.wkp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 40px; }
.wkp-meta { font-size: 0.84rem; font-weight: 500; color: var(--warm-hi); margin-bottom: 12px; }
.wkp-title { font-family: var(--font); font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); margin-bottom: 18px; }
.wkp-logo { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 20px; }
.wkp-desc { font-size: 1.02rem; line-height: 1.75; color: rgba(242,243,248,0.78); max-width: 68ch; }
.wkp-awards { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.wkp-awards img { height: 64px; width: auto; }
.wkp-awards span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--warm-hi); }
.wkp-share { display: flex; align-items: center; gap: 8px; margin-top: 32px; font-size: 0.82rem; color: var(--muted-hi); }
.wkp-share span { margin-right: 6px; }
.wkp-share a, .wkp-share button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-hi); background: transparent; color: var(--white); font-size: 1.1rem; cursor: pointer; }
.wkp-share a:hover, .wkp-share button:hover { border-color: var(--warm); color: var(--warm-hi); }

.wkp-side { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-lg, 16px); background: var(--bg-2); border: 1px solid var(--border); align-self: start; }
.wkp-fact span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-text); margin-bottom: 4px; }
.wkp-fact b { font-weight: 500; color: var(--white); font-size: 0.95rem; line-height: 1.5; }
.wkp-fact a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25); text-underline-offset: 3px; font-weight: 500; }
.wkp-fact a:hover { color: var(--warm-hi); text-decoration-color: var(--warm-hi); }
.wkp-credits-text { font-size: 0.86rem; line-height: 1.6; color: var(--muted-hi); }
.wkp-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: 6px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: #fff; background: var(--grad-cta, var(--warm)); }
.wkp-cta:hover { filter: brightness(1.08); }
.wkp-side > .wkp-cta:first-child { margin-top: 0; }

/* Rows of cards: the series, more from the brand */
.wkp-row { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border); }
.wkp-row h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font); font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: 24px; }
.wkp-row h2 span { font-size: 0.82rem; font-weight: 500; color: var(--muted-hi); }
.wkp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.wkp-card { display: flex; flex-direction: column; gap: 10px; color: var(--white); }
.wkp-card-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg, 14px); overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); }
.wkp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wkp-card:hover .wkp-card-img img { transform: scale(1.04); }
.wkp-card-img i { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; background: rgba(7,8,15,0.6); }
.wkp-card-img em { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: 0.72rem; font-weight: 600; background: var(--warm); color: #fff; }
.wkp-card.is-here .wkp-card-img { border-color: var(--warm); }
.wkp-card b { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.wkp-card small { font-size: 0.78rem; color: var(--muted-text); }
.wkp-all { margin-top: 56px; text-align: center; }
.wkp-all a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--warm-hi); }

@media (max-width: 900px) {
  .wkp { padding: calc(var(--nav-h) + 20px) 16px 72px; }
  .wkp-player { border-radius: 14px; margin: 0 -4px; }
  .wkp-body { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .wkp-play-btn { width: 64px; height: 64px; font-size: 1.5rem; }
  .wkp-row { margin-top: 48px; padding-top: 32px; }
  .wkp-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
}
