/* =====================================================================
   ART IS EVERYTHING — FILM / STORY template
   Video-first (cinematic, black) → magazine longform (paper) with inline
   imagery → film credits → next film → footer. Same Bootzy/bone/black system.
   ===================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #131210;
  --paper: #f4f1ea;
  --paper-2: #ece8df;
  --line: rgba(19, 18, 16, 0.22);
  --line-soft: rgba(19, 18, 16, 0.12);
  --muted: rgba(19, 18, 16, 0.55);
  --paper-on-black: #f4f1ea;
  --muted-on-black: rgba(244, 241, 234, 0.5);
  --line-on-black: rgba(244, 241, 234, 0.2);
  --font-grotesk: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1680px;
  --read: 64ch;             /* comfortable reading measure */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
  font-family: "Bootzy";
  src: url("assets/fonts/BootzyTM.woff2") format("woff2"),
       url("assets/fonts/BootzyTM.woff") format("woff");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { background: var(--black); }
body {
  font-family: var(--font-body); color: var(--ink); line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.display { font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400; }

/* ----------------------------- nav ------------------------------- */
/* mix-blend difference → reads light on the black hero, dark on the paper article */
.fnav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;   /* scrolls away — no overlap on the article */
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.1rem, 2.4vw, 1.8rem) var(--pad);
  mix-blend-mode: difference; color: #fff;
}
.fnav__mark { font-family: var(--font-grotesk); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.16em; }
.fnav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.fnav__links a, .fnav__back { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.3s var(--ease); }
.fnav__links a:hover, .fnav__back:hover { opacity: 0.4; }
@media (max-width: 760px) { .fnav__links { display: none; } }

/* ========================= VIDEO HERO ============================= */
.vhero { background: var(--black); color: var(--paper-on-black); padding: clamp(7rem, 16vh, 12rem) var(--pad) clamp(3rem, 7vh, 6rem); }
.vhero__head { max-width: var(--maxw); margin: 0 auto; }
.vhero__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-black); }
.vhero__meta span { position: relative; }
.vhero__meta span + span::before { content: ""; position: absolute; left: -0.8rem; top: 0.5em; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.vhero__title { font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400; line-height: 0.92; letter-spacing: -0.01em; font-size: clamp(3.4rem, 13vw, 13rem); margin: clamp(1.2rem, 3vh, 2.4rem) 0 0; }
.vhero__sub { margin-top: clamp(1rem, 2.5vh, 1.8rem); max-width: 30ch; font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.3; color: var(--paper-on-black); }

/* the player */
.player { max-width: var(--maxw); margin: clamp(2.5rem, 6vh, 5rem) auto 0; }
.player__frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden;
  background:
    radial-gradient(120% 140% at 50% 0%, #20201c 0%, #0d0d0b 60%, #060605 100%);
  border: 1px solid var(--line-on-black);
  display: grid; place-items: center;
}
/* subtle film texture */
.player__frame::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 9px);
}
.player__play {
  position: relative; z-index: 2; width: clamp(74px, 9vw, 116px); height: clamp(74px, 9vw, 116px);
  border-radius: 50%; border: 1.5px solid var(--paper-on-black);
  display: grid; place-items: center; transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.player__play svg { width: 34%; height: 34%; margin-left: 8%; fill: var(--paper-on-black); transition: fill 0.4s var(--ease); }
.player__play:hover { transform: scale(1.08); background: var(--paper-on-black); }
.player__play:hover svg { fill: var(--black); }
.player__time { position: absolute; right: 1rem; bottom: 0.9rem; z-index: 2; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; color: var(--paper-on-black); background: rgba(0,0,0,0.4); padding: 0.25rem 0.6rem; backdrop-filter: blur(4px); }
.player__badge { position: absolute; left: 1rem; top: 0.9rem; z-index: 2; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-black); }
.player__cap { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted-on-black); }

/* ========================= THE PIECE ============================== */
.piece { background: var(--paper); color: var(--ink); padding: clamp(4.5rem, 12vh, 11rem) var(--pad) clamp(4rem, 9vh, 8rem); }
.piece__head { max-width: var(--maxw); margin: 0 auto clamp(3rem, 7vh, 6rem); }
.rule { display: flex; align-items: baseline; gap: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.rule > span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.rule > span:first-child { color: var(--muted); }
.piece__hed { font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400; line-height: 0.95; letter-spacing: -0.005em; font-size: clamp(2.4rem, 6.5vw, 6rem); margin-top: clamp(1.6rem, 4vh, 3rem); max-width: 18ch; }
.piece__standfirst { margin-top: clamp(1.4rem, 3vh, 2.4rem); max-width: 46ch; font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.4; color: var(--ink); }
.piece__byline { margin-top: clamp(1.6rem, 3.5vh, 2.6rem); display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* body — single readable column, figures break wider */
.piece__body { max-width: var(--read); margin: 0 auto; font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.72; }
.piece__body > p { margin-top: 1.5em; }
.piece__body > p:first-child { margin-top: 0; }
.dropcap { float: left; font-family: "Bootzy", sans-serif; text-transform: uppercase; font-size: 4.6em; line-height: 0.74; margin: 0.04em 0.12em 0 0; }

.pq {
  max-width: 22ch; margin: clamp(2.6rem, 6vh, 4.5rem) auto; text-align: center;
  font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.01em;
}

/* figures break out of the reading column */
.figure { margin: clamp(2.6rem, 6vh, 5rem) auto; }
.figure--wide { max-width: var(--maxw); }
.figure--inset { max-width: calc(var(--read) + 8vw); }
.figure--duo { max-width: var(--maxw); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.6rem, 1.4vw, 1.2rem); }
.figcap { margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--muted); }

/* image placeholders (swap for <img>) — toned cinematic blocks w/ a label */
.ph { position: relative; width: 100%; overflow: hidden; background: var(--paper-2); }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph[data-tone="1"] { background: linear-gradient(150deg, #b9b39f, #6f6a57); }
.ph[data-tone="2"] { background: linear-gradient(150deg, #c8bca8, #8a7d68); }
.ph[data-tone="3"] { background: linear-gradient(150deg, #9aa07e, #565a44); }
.ph::after {
  content: attr(data-label); position: absolute; left: 1rem; bottom: 0.9rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.82);
}
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 10px); }

/* film credits block */
.credits { max-width: var(--maxw); margin: clamp(3.5rem, 8vh, 7rem) auto 0; border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vh, 3rem); }
.credits__title { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(1.4rem, 3vh, 2.2rem); }
.credits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.credits__grid dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.credits__grid dd { font-size: 1.02rem; }

/* ========================= NEXT FILM ============================= */
.nextfilm { display: block; background: var(--black); color: var(--paper-on-black); padding: clamp(3.5rem, 9vh, 8rem) var(--pad); border-top: 1px solid var(--line-on-black); transition: background 0.5s var(--ease); }
.nextfilm:hover { background: #15140f; }
.nextfilm__kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-black); }
.nextfilm__name { font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400; line-height: 0.92; font-size: clamp(2.6rem, 9vw, 8.5rem); margin-top: 0.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nextfilm__name i { font-style: normal; font-size: 0.5em; }

/* ----------------------------- footer ---------------------------- */
.footer { background: var(--black); color: var(--paper-on-black); padding: clamp(3rem, 7vh, 6rem) var(--pad) clamp(2.5rem, 5vh, 4rem); border-top: 1px solid var(--line-on-black); }
.footer__mark { font-family: "Bootzy", sans-serif; text-transform: uppercase; font-weight: 400; line-height: 0.8; font-size: clamp(3rem, 19.4vw, 17rem); letter-spacing: -0.01em; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(1.5rem, 4vh, 3rem); }
.footer__line { font-size: 0.84rem; color: var(--muted-on-black); }
.footer__nav { display: flex; gap: 1.4rem; }
.footer__nav a { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-black); }
.footer__copy { margin-top: clamp(1.5rem, 3vh, 2.4rem); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted-on-black); }

@media (max-width: 620px) {
  .figure--duo { grid-template-columns: 1fr; }
  .vhero__sub { max-width: none; }
}
