/* Phase 3 · single review page, in AU's look. Shared parts + the five concept layouts (BB-BF). */

body.pop main.review { align-content: start; }
.review > * { grid-column: 1 / -1; }

/* reading progress bar along the very top */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--c3); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; font-family: var(--type); font-size: 0.78rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { text-decoration: underline; text-underline-offset: 0.2em; }
.crumbs a:hover { color: var(--c3); }

/* title, headline, meta */
.film-title { font-family: "Archivo", sans-serif; font-weight: 900; font-style: italic; font-size: clamp(2.8rem, 7.5vw, 6.4rem); line-height: 0.88; letter-spacing: -0.045em; margin: 0.8rem 0 0.6rem; }
.film-title .yr { font-family: var(--type); font-style: normal; font-weight: 400; font-size: 0.22em; letter-spacing: 0; vertical-align: middle; }
.rh__head { font-family: "Archivo Black", sans-serif; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.rh__dek, .lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.45; max-width: 44ch; }
.rh__stars .stars { font-size: 2rem; letter-spacing: 0.05em; }
.rmeta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-family: var(--type); font-size: 0.8rem; margin-top: 0.9rem; }
.rmeta span + span::before { content: "·"; margin-right: 1rem; }
.share { margin-top: 1rem; border: 3px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 0.45rem 1.1rem; font-weight: 800; cursor: pointer; transition: background 0.15s; }
.share:hover { background: var(--c1); }
.share.is-done { background: var(--ink); color: var(--c1); }

.poster { overflow: hidden; border: 4px solid var(--ink); border-radius: var(--r); background: var(--ink); }
.poster img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- the reading column (shared) */
.read { background: var(--c5); }
.read__col { max-width: 40rem; margin: 0 auto; font-size: 1.15rem; line-height: 1.75; }
.read__col p + p { margin-top: 1.1rem; }
.read__col h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; margin: 2.4rem 0 0.8rem; }
.pull { margin: 2.2rem 0; padding: 1.4rem 1.6rem; background: var(--c1); border: 4px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); }
.pull p { font-family: "Archivo", sans-serif; font-weight: 900; font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; }
.pull p::before { content: "“"; } .pull p::after { content: "”"; }
.dropcap::first-letter { float: left; font-family: "Archivo Black", sans-serif; font-size: 4.6rem; line-height: 0.8; padding: 0.35rem 0.6rem 0 0; color: var(--c3); }

/* ---------- verdict (shared) */
.verdict { background: var(--c3); color: #fff; --star-on: var(--c1); --star-off: rgba(255, 255, 255, 0.3); }
.verdict__in { max-width: 52rem; margin: 0 auto; text-align: center; }
.verdict__stars { display: flex; justify-content: center; align-items: baseline; gap: 0.8rem; margin: 0.4rem 0 0.8rem; }
.verdict__stars .stars { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.verdict__stars span { font-family: "Archivo Black", sans-serif; font-size: 1.4rem; }
.verdict__text { font-family: "Archivo Black", sans-serif; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.025em; }
.watchif { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.watchif p { font-family: var(--type); font-size: 0.85rem; }
.watchif ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.watchif li { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 999px; padding: 0.25rem 0.8rem; font-weight: 700; font-size: 0.85rem; }

/* ---------- film facts (shared) */
.factstrip { background: #fff; }
.factstrip .lbl { margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.45rem 1.2rem; margin: 0; }
.factstrip .facts { grid-template-columns: repeat(3, max-content minmax(0, 1fr)); gap: 0.6rem 1.2rem; }
.facts dt { font-family: var(--type); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding-top: 0.2rem; }
.facts dd { margin: 0; font-weight: 700; }
.facts a { text-decoration: underline; text-underline-offset: 0.2em; }
.facts a:hover { color: var(--c3); }

/* ---------- related shelf + previous / next (shared) */
.related.shelf { padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3.5rem); }
.related h2 { padding: 0; }
.related .track { padding-inline: 0; margin-inline: calc(var(--gap) * 0); scroll-padding: 0; }
.related .track::-webkit-scrollbar-track { margin-inline: 0; }
.prevnext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; background: var(--ink); }
.pn { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.3rem; border-radius: var(--r); background: var(--c5); color: var(--ink); border: 4px solid var(--c5); transition: background 0.2s, transform 0.2s; }
.pn span { font-family: var(--type); font-size: 0.78rem; }
.pn strong { font-family: "Archivo", sans-serif; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; }
.pn--next { text-align: right; }
.pn--all { background: var(--c1); border-color: var(--c1); justify-content: center; text-align: center; }
.pn:hover { background: var(--c1); transform: translateY(-3px); }
.pn--all:hover { background: #fff; }

/* ======================================================= BB · poster hero */
.rh { background: var(--c1); }
.rh--poster { display: grid; grid-template-columns: minmax(14rem, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.rh--poster .poster { aspect-ratio: 2 / 3; max-height: 34rem; }

/* ======================================================= BC · fact file */
.rh--short { background: var(--c2); color: #fff; padding-block: clamp(1.6rem, 4vw, 2.6rem); }
.rh--short .crumbs a:hover { color: var(--c1); }
.withcard { display: grid; grid-template-columns: minmax(0, 8fr) minmax(17rem, 4fr); gap: var(--gap); }
.withcard > .read { background: #fff; }
.withcard .read__col { margin: 0; max-width: 42rem; }
.factcard { background: var(--c5); }
.factcard__in { position: sticky; top: calc(var(--bar, 88px) + 1.2rem); display: flex; flex-direction: column; gap: 1rem; }
.poster--card { aspect-ratio: 2 / 3; max-width: 15rem; }
.factcard__stars { display: flex; align-items: baseline; gap: 0.6rem; }
.factcard__stars .stars { font-size: 1.8rem; }
.factcard__stars span { font-family: "Archivo Black", sans-serif; }
.withcard .lead { font-weight: 600; margin-bottom: 1.4rem; }

/* ======================================================= BD · colour chapters */
.rh--band { background: var(--c3); color: #fff; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; --star-on: var(--c1); --star-off: rgba(255, 255, 255, 0.3); }
.rh--band .rh__text { order: -1; }
.rh--band .crumbs a:hover { color: var(--c1); }
.poster--band { aspect-ratio: 4 / 3; }
.chap-intro { background: #fff; }
.chap-intro .lead { max-width: 52ch; font-weight: 600; }
.chapters { display: grid; gap: var(--gap); grid-column: 1 / -1; }
.chap { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3.5rem); }
.chap__in { max-width: 44rem; margin: 0 auto; font-size: 1.15rem; line-height: 1.75; }
.chap__in p + p { margin-top: 1.1rem; }
.chap__in h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.chap:nth-child(3n+1) { background: var(--c2); color: #fff; }
.chap:nth-child(3n+2) { background: var(--c5); }
.chap:nth-child(3n) { background: #fff; }
.chap:nth-child(3n+1) .pull { color: var(--ink); }
.verdict--yellow { background: var(--c1); color: var(--ink); --star-on: var(--ink); --star-off: rgba(17, 17, 17, 0.2); }

/* ======================================================= BE · scorecard */
.rh--score { background: #fff; display: grid; grid-template-columns: minmax(0, 7fr) minmax(19rem, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.scorecard { position: relative; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem 1.2rem; align-items: center; background: var(--c1); border: 4px solid var(--ink); border-radius: var(--r); padding: 1.4rem; box-shadow: 8px 8px 0 var(--ink); }
.sc__badge { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 0.6rem; }
.sc__badge strong { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 5rem; line-height: 0.8; letter-spacing: -0.05em; }
.sc__badge span { font-family: var(--type); font-size: 0.9rem; }
.poster--score { aspect-ratio: 2 / 3; border-radius: 16px; border-width: 3px; }
.sc__bars { display: flex; flex-direction: column; gap: 0.6rem; }
.sc__bars li { display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 0.15rem 0.6rem; align-items: center; }
.sc__k { grid-column: 1 / -1; font-family: var(--type); font-size: 0.72rem; text-transform: uppercase; }
.sc__bar { height: 12px; background: rgba(17, 17, 17, 0.15); border-radius: 999px; overflow: hidden; border: 2px solid var(--ink); }
.sc__bar span { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--c3); border-radius: 999px; }
.sc__v { font-family: "Archivo Black", sans-serif; font-size: 0.9rem; text-align: right; }
.sc__stamp { position: absolute; top: -1.1rem; right: -0.8rem; transform: rotate(8deg); background: var(--c3); color: #fff; font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: 1.05rem; padding: 0.4rem 1rem; border: 3px solid var(--ink); border-radius: 999px; }
.verdict--score { background: var(--c2); }

/* ======================================================= BF · margin notes */
.rh--mag { background: #fff; text-align: center; padding-block: clamp(2rem, 5vw, 4rem); }
.rh--mag .crumbs ol { justify-content: center; }
.rh__kick { font-family: var(--type); font-size: 0.8rem; margin-top: 1.2rem; display: flex; justify-content: center; gap: 0.6rem; align-items: center; }
.rh--mag .film-title { font-size: clamp(3.2rem, 11vw, 9rem); }
.rh--mag .rh__head { max-width: 28ch; margin: 0 auto; }
.rh--mag .rmeta { justify-content: center; }
.magimg { background: var(--ink); color: var(--c5); padding: var(--gap) var(--gap) 1rem; }
.poster--wide { aspect-ratio: 21 / 9; border-color: var(--ink); }
.poster--wide img { object-position: 50% 30% !important; }
.cap { font-family: var(--type); font-size: 0.8rem; margin-top: 0.7rem; padding-inline: 0.6rem; }
.read--notes { background: #fff; }
.read--notes .read__col { max-width: 40rem; margin-left: max(18rem, calc(50% - 14rem)); margin-right: auto; }
.note { float: left; clear: left; width: 13rem; margin: 0.3rem 0 1rem -16rem; font-family: var(--type); font-size: 0.8rem; line-height: 1.45; padding: 0.7rem 0.8rem; background: var(--c5); border: 2px solid var(--ink); border-radius: 16px; transform: rotate(-1.5deg); }
.note span { display: block; font-weight: 700; color: var(--c3); margin-bottom: 0.2rem; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.06em; }
.read--notes .pull { margin-left: -6rem; margin-right: -6rem; text-align: center; }
.factstrip .share { margin-top: 1.4rem; }

/* ---------- responsive */
@media (max-width: 64em) {
  .withcard { grid-template-columns: minmax(0, 1fr); }
  .factcard { order: -1; }
  .factcard__in { position: static; display: grid; grid-template-columns: 8rem minmax(0, 1fr); align-items: start; }
  .factcard__in > .poster { grid-row: span 3; }
  .factstrip .facts { grid-template-columns: repeat(2, max-content minmax(0, 1fr)); }
  .read--notes .read__col { margin: 0 auto; }
  .note { float: none; width: auto; margin: 0 0 1rem; transform: none; }
  .read--notes .pull { margin-left: 0; margin-right: 0; }
}
@media (max-width: 52em) {
  .rh--poster, .rh--band, .rh--score { grid-template-columns: minmax(0, 1fr); }
  .rh--poster .poster { max-width: 14rem; }
  .rh--band .rh__text { order: 0; }
  .prevnext { grid-template-columns: 1fr 1fr; }
  .pn--all { grid-column: 1 / -1; order: 3; }
  .factstrip .facts { grid-template-columns: max-content minmax(0, 1fr); }
}
@media (max-width: 44em) {
  .read__col, .chap__in { font-size: 1.05rem; line-height: 1.7; }
  .film-title { font-size: clamp(2.4rem, 13vw, 3.6rem); }
  .rh--mag .film-title { font-size: clamp(2.8rem, 15vw, 4rem); }
  .pull { padding: 1rem 1.1rem; box-shadow: 4px 4px 0 var(--ink); }
  .factcard__in { grid-template-columns: 6rem minmax(0, 1fr); }
  .scorecard { grid-template-columns: 5.5rem minmax(0, 1fr); padding: 1.1rem; }
  .sc__badge strong { font-size: 3.8rem; }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .pn--next { text-align: left; }
}

/* BG: BF's centred top section on BB's off-white reading colour */
.rh--offwhite { background: var(--c5); }
.rh--mag .share { margin-top: 1.2rem; }

/* BG: a shorter top section */
.rh--offwhite { padding-block: clamp(1.2rem, 2.6vw, 2rem); }
.rh--offwhite .rh__kick { margin-top: 0.6rem; }
.rh--offwhite .film-title { font-size: clamp(2.8rem, 8vw, 6.6rem); margin: 0.3rem 0 0.4rem; }
.rh--offwhite .rh__head { font-size: clamp(1.15rem, 2vw, 1.6rem); max-width: 46ch; }
.rh--offwhite .rmeta { margin-top: 0.6rem; align-items: center; }
.rh--offwhite .share { margin-top: 0.7rem; padding: 0.3rem 0.9rem; font-size: 0.85rem; border-width: 2px; }

/* BG: title section + picture together fill exactly one screen below the sticky top bar; the picture takes what's left */
.fold { display: flex; flex-direction: column; gap: var(--gap); height: calc(100vh - var(--bar, 88px) - var(--gap)); height: calc(100svh - var(--bar, 88px) - var(--gap)); min-height: 30rem; }
.fold .rh { flex: none; }
.fold .magimg { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.fold .poster--wide { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.fold .poster--wide img { height: 100%; }
.fold .cap { flex: none; }

/* BG: plain subheadings (no dash) */
.fold ~ .read .read__col > h2:first-child { margin-top: 0; }

/* BG: the blurb has its own blue section and heading */
.blurb { background: var(--c2); color: #fff; padding-block: clamp(2rem, 4.5vw, 3.2rem); }
.blurb__in { max-width: 40rem; margin: 0 auto; }
.blurb h2 { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 0.9rem; }
.blurb p { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; font-weight: 600; }

/* BG: breadcrumbs as pill buttons, matching "Copy link" */
.rh--offwhite .crumbs ol { gap: 0.4rem 0.35rem; align-items: center; justify-content: center; }
.rh--offwhite .crumbs li { display: flex; align-items: center; gap: 0.35rem; }
.rh--offwhite .crumbs li + li::before { margin: 0; opacity: 0.5; font-family: var(--type); }
.rh--offwhite .crumbs a, .rh--offwhite .crumbs li[aria-current] { display: inline-block; padding: 0.3rem 0.9rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.85rem; text-decoration: none; line-height: 1.2; transition: background 0.15s; }
.rh--offwhite .crumbs li + li::before { content: "›"; }
.rh--offwhite .crumbs li[aria-current] { display: flex; align-items: center; gap: 0.35rem; padding: 0; border: 0; background: none; }
.rh--offwhite .crumbs li[aria-current] i { display: inline-block; padding: 0.3rem 0.9rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--c1); }
.rh--offwhite .crumbs a:hover { background: var(--c1); color: var(--ink); }


/* previous / next: an empty slot when there's no older or newer post */
.pn--none { visibility: hidden; }
@media (max-width: 52em) { .pn--none { display: none; } }
