/* Conversation films extend film-sequence with the existing Sable title lockup and Place closing artwork. */
.conversation-page .film-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; }
.conversation-page .film-viewer__room { width:100%; height:100%; }
.conversation-page .film-viewer video { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.conversation-film-lettering {
  --film-title-yellow:#E8B82C;
  position:absolute; z-index:2; left:50%; top:50%;
  width:var(--conversation-picture-width,100%); height:var(--conversation-picture-height,100%);
  transform:translate(-50%,-50%); pointer-events:none; container-type:inline-size;
}
.conversation-film-opening {
  position:absolute; inset:0; display:flex; justify-content:center; align-items:center;
  gap:1.05cqw; color:var(--film-title-yellow); opacity:var(--conversation-opening-opacity,0);
  transform:scale(.75); /* Camille: reduce the opening title; proportions and timing stay shared. */
}
.conversation-film-opening__sable {
  display:block; width:21cqw; aspect-ratio:3730/992; background:currentColor;
  mask:url('/assets/logos/sable-film-wordmark.png') center/contain no-repeat;
}
.conversation-film-opening__design {
  position:relative; top:.12cqw; white-space:nowrap;
  font:350 5.58cqw/1 var(--serif); letter-spacing:-.035em;
}
/* Part card after the opening (Camille 24 Oct 2026; layout approved in review/film-part-card.html, title 1.5x on request).
   Centred on the picture in the title yellow, no shade or blur: the Conversation page's own chapter heading (eyebrow over the
   serif title) arriving inside the film. Desktop: eyebrow 600 .14em caps at .9cqw (13px at 1440), 1.5cqw above a 6.28cqw
   serif title (90px at 1440). Phone below. Timing in conversation-film.js. */
.conversation-film-part {
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:1.5cqw;
  color:var(--film-title-yellow); text-align:center; opacity:var(--conversation-part-opacity,0);
}
.conversation-film-part__eyebrow { opacity:var(--conversation-part-eyebrow-opacity,0); font:600 .9cqw/1.4 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.conversation-film-part__title { opacity:var(--conversation-part-title-opacity,0); max-width:calc(100% - 2 * var(--page,20px)); font:350 6.28cqw/1 var(--serif); letter-spacing:-.035em; text-wrap:balance; }
.conversation-film-closing {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  display:flex; flex-direction:column; align-items:center;
  color:var(--film-title-yellow); opacity:var(--conversation-closing-opacity,0);
}
.conversation-film-closing__sable {
  width:100%; aspect-ratio:3730/992; background:currentColor;
  mask:url('/assets/logos/sable-film-wordmark.png') center/contain no-repeat;
  opacity:var(--conversation-wordmark-opacity,0);
}
.conversation-film-closing__credit {
  display:flex; flex-direction:column; align-items:center;
  opacity:var(--conversation-credit-opacity,0);
}
.conversation-film-closing__by { font-family:var(--sans); font-weight:400; line-height:1.2; }
.conversation-film-closing__partner {
  width:100%; aspect-ratio:1642/394; background:currentColor;
  mask:url('/assets/logos/oke-tempo-film-mark.png') center/contain no-repeat;
}
.conversation-page .film-viewer__subtitle {
  z-index:3; top:auto; bottom:calc(50% - var(--conversation-picture-height,100vh) * .43);
  width:min(calc(var(--conversation-picture-width,100vw) * .84),960px);
  color:#FFFFFF; /* All captions white, Camille 24 Nov 2026. */
  font-family:var(--sans); font-size:clamp(16px,1.65vw,30px);
  font-weight:400; line-height:1.12; letter-spacing:0; text-shadow:none;
  opacity:var(--conversation-caption-opacity,1); text-wrap:balance;
}
@media(max-width:720px) {
  .conversation-page .film-viewer button.fbtn-x--fullscreen { right:var(--page); }
  .conversation-page [data-film-position] > span { display:block; }
  .conversation-page [data-film-position] > span + span { margin-top:4px; }
  /* Phone title has its own readable scale; larger on phone (Camille 24 Oct 2026: "PHONE too small", then "phone uses the
     larger size for both the SABLE, by design card and the part card"): scale 1.25 to 1.7, the group about 337px at 390. */
  /* 29 Oct: phone opening Sable matches the unchanged 160px closing wordmark; original lockup proportions retained. */
  .conversation-film-opening { gap:7.04px; transform:none; }
  .conversation-film-part { gap:4.4cqw; }
  .conversation-film-part__eyebrow { font-size:11px; }
  .conversation-film-part__title { font-size:16cqw; }
  .conversation-film-opening__sable { width:160px; }
  .conversation-film-opening__design { font-size:42.56px; top:.768px; }
  .conversation-page .film-viewer__subtitle {
    color:#FFFFFF;
    /* Reserve the two-row phone controls (148px) plus 16px clear space. */
    bottom:164px;
    width:calc(var(--conversation-picture-width,100vw) * .90); font-size:16px; line-height:1.12;
  }
}

/* Phone film controls match View from above on Place (Camille 23 Oct 2026: "the video playback control should MATCH the others
   - this applies across this page - match PLACE video"). One row: Play, the time, Sound and CC, spread across the page
   margins, each a 44px tap in Place's control type (Syne Sable 10.5px, 500, .16em caps; time 10px, 500, .06em); the
   progress line runs full width beneath, 24px tall. The captions button reads CC as on Place; its words (Captions on / off)
   stay its accessible name. Phone only. */
@media (max-width:720px) {
 .conversation-page .film-viewer__controls { justify-content:flex-start; align-items:center; gap:8px 16px; }
 .conversation-page .film-viewer__controls :is([data-film-play],[data-film-sound],[data-film-captions]) { order:0; flex:0 1 auto; display:flex; align-items:center; min-height:44px; padding:10px 0; font:500 10.5px/14.7px var(--sans); letter-spacing:1.68px; text-transform:uppercase; }
 .conversation-page .film-viewer__controls .film-viewer__time { order:0; flex:0 1 auto; margin-left:auto; white-space:nowrap; font:500 10px/14px var(--sans); letter-spacing:.6px; text-transform:none; }
 .conversation-page .film-viewer__controls .film-viewer__progress { order:5; flex:1 1 100%; min-height:24px; }
 .conversation-page .film-viewer__controls .film-viewer__progress input { height:24px; }
 .conversation-page .film-viewer__controls :is([data-film-play],[data-film-sound],[data-film-captions]) { min-width:44px; }
 .conversation-page .film-viewer__controls [data-film-captions] { font-size:0; letter-spacing:0; justify-content:center; }
 .conversation-page .film-viewer__controls [data-film-captions]::before { content:"CC"; font:500 10.5px/14.7px var(--sans); letter-spacing:1.68px; }
}

/* Phone film viewer: the emblem kept and CLOSE X on the header line, as Place and Oke & Tempo during playback (Camille 23 Oct
   2026: "build the video playback top-right CLOSE X (keep the emblem) across Place, Oke & Tempo and Conversation on phone").
   The white emblem sits where the page's emblem sits (34px, centred on the bar's 44px line, on the page margin), CLOSE X is
   centred on the same line at the right margin, and the film's title moves under the emblem. Phone only. */
@media (max-width:720px) {
 .conversation-page .film-viewer__room::before { content:""; position:absolute; z-index:4; top:27px; left:var(--page,20px); width:34px; height:34px; background:url('/assets/logos/Sable_Emblem_OnMedia.svg') center/contain no-repeat; pointer-events:none; }
 .conversation-page .film-viewer button.fbtn-x--fullscreen { top:22px !important; right:var(--page,20px) !important; }
 .conversation-page .film-viewer__top { top:88px !important; }
}

/* 27 Oct2026: one smaller desktop opening title across all four Conversation films.
   Screen-based dimensions keep the title consistent across clips; accepted phone scale is retained. */
@media(min-width:721px) {
 .conversation-film-opening { --sable-opening-wordmark:clamp(150px,12.5vw,180px); gap:9px; transform:none; }
 .conversation-film-opening__sable { width:var(--sable-opening-wordmark); }
 .conversation-film-opening__design { font-size:calc(var(--sable-opening-wordmark) * .2657143); top:calc(var(--sable-opening-wordmark) * .0057143); }
}
