/* DIGITHRONEX · home page. Spec: design/04-home-page.md (revision 3: our footage behind the glass,
   the focus rise on every headline, our Instagram reels). Load after the foundation files. */

html { scroll-padding-top: 56px; }

/* Missing facts are shown, never invented: DIGITHRONEX supplies each one before launch */
.fact { font-family: var(--font-mono); font-stretch: 87.5%; font-size: .78em; font-weight: 450; letter-spacing: .01em; color: var(--text3); white-space: nowrap; border-bottom: 1px dashed currentColor; }
.fact::before { content: "["; } .fact::after { content: "]"; }

/* Ambient spill: the footage's own light in the room, so glass always has something to bend */
@property --amb { syntax: "<color>"; inherits: true; initial-value: #3B4A58; }
.amb { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: --amb calc(10 * var(--f)) linear, opacity calc(12 * var(--f)) var(--ease-focus); }
/* A footage layer behind an act's glass */
.bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.act > *:not(.amb):not(.bg) { position: relative; z-index: 1; }

/* A wall of our reels, graded down two stops, for glass to sit on */
.reel-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #050607; }
.reel-wall video { width: 100%; height: 100%; object-fit: cover; }
.wall-nd { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .66), rgba(11, 12, 14, .36) 36%, rgba(11, 12, 14, .44) 68%, rgba(11, 12, 14, .76)); }
@media (max-width: 900px) { .reel-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); } }
/* Behind glass cards the reel walls are out of focus too (the same 14px as behind the captions), so the cards'
   words are what's sharp; pulled out past the edges so the soft rim stays out of sight */
.job-band .reel-wall, .reel-wall--credits { inset: -5%; filter: blur(14px) saturate(1.2) brightness(.92); }
@media (max-width: 900px) { .job-band .reel-wall, .reel-wall--credits { filter: blur(10px) saturate(1.15) brightness(.9); } }

/* Stand-in footage for the programme lines still waiting for work: graded plates with a slate */
.standin {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 50%, rgba(0, 0, 0, .42)),
    radial-gradient(80% 70% at 32% 26%, color-mix(in oklab, var(--c, #3B4A58), #fff 16%), var(--c, #3B4A58) 48%, color-mix(in oklab, var(--c, #3B4A58), #000 50%));
}
.standin::after { content: ""; position: absolute; inset: 0; background: var(--glass-etch); background-size: 160px 160px; opacity: .5; mix-blend-mode: overlay; }
.slot-slate { position: absolute; top: clamp(8px, 2.4%, 16px); left: clamp(10px, 3%, 18px); right: clamp(10px, 3%, 18px); z-index: 1; display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 10.5px; line-height: 1.4; color: rgba(241, 242, 244, .72); pointer-events: none; white-space: nowrap; overflow: hidden; }

/* Clear lens controls on footage (everyday glass; press is a 4f snap, not liquid) */
.lens-play, .lens-ctl {
  appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; white-space: nowrap;
  font-family: var(--font-sans); font-stretch: 112.5%; font-weight: 620; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
  transition: transform calc(4 * var(--f)) var(--ease-snap);
}
.lens-play:active, .lens-ctl:active { transform: scale(.97); }
.lens-play .data, .lens-ctl .data { text-transform: none; letter-spacing: .02em; font-weight: 450; opacity: .85; }
/* On a glass card a control can't be glass too: it's a hairline instead */
.lens-play--line { color: #fff; background: rgba(255, 255, 255, .02); border-radius: var(--radius-control); box-shadow: inset 0 0 0 1px rgba(241, 242, 244, .32); padding: 15px 18px; font-size: 12px;
  transition: transform calc(4 * var(--f)) var(--ease-snap), background-color calc(4 * var(--f)) var(--ease-snap), box-shadow calc(4 * var(--f)) var(--ease-snap); }
.lens-play--line:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(241, 242, 244, .6); }
.glass .fact { color: rgba(241, 242, 244, .7); }
.glass--frost .fact { color: var(--s-text3); }
.lp-icon { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.lens-ctl[aria-pressed="true"] { box-shadow: var(--glass-rim), var(--glass-disp), var(--glass-body), inset 0 -2px 0 var(--brand-azure); }
.lens-ctl.is-solid, .lens-play.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; --glass-fill: var(--d-surface); }

/* ---------- 01 Opening: our film behind the glass, the statement on it, our reels beside it ---------- */
.hero { container: page / inline-size; --vh: 100svh; }
.hero-bg { background: #050607; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-nd { position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(11, 12, 14, .84) 0%, rgba(11, 12, 14, .4) 34%, rgba(11, 12, 14, .12) 58%, rgba(11, 12, 14, .5) 100%),
  radial-gradient(130% 100% at 62% 40%, transparent 52%, rgba(0, 0, 0, .5)); }
.hero-stage {
  max-width: var(--maxw); margin-inline: auto; min-height: var(--vh); padding: 104px var(--margin) 44px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end;
}
.hero-card { grid-column: 1 / span 7; container-type: inline-size; padding: clamp(26px, 2.5vw, 40px) clamp(26px, 2.8vw, 44px) clamp(28px, 2.8vw, 44px); }
.hero-kicker { color: rgba(241, 242, 244, .74); }
.hero-statement { margin-top: clamp(14px, 1.4vw, 22px); margin-left: -.035em; font-size: clamp(56px, min(22cqi, (var(--vh) - 500px) / 2.64), 176px); color: #F1F2F4; }
.hero-lead { margin-top: clamp(18px, 1.6vw, 26px); font-size: clamp(16px, 1.25vw, 19px); color: rgba(241, 242, 244, .84); max-width: 32em; }
.hero-actions { margin-top: clamp(22px, 2vw, 30px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }

.hero-side { grid-column: 8 / span 5; display: grid; gap: 14px; justify-items: end; align-content: end; min-width: 0; }
.hero-now { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 10px; color: rgba(241, 242, 244, .88); white-space: nowrap; }
.hero-now i { flex: none; width: 8px; height: 8px; background: var(--brand-azure); clip-path: polygon(0 0, 55% 0, 100% 45%, 100% 100%, 0 100%); }
.hero-reels { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reel-card { appearance: none; border: 0; width: 100%; padding: 7px 7px 11px; display: grid; gap: 10px; text-align: left; cursor: pointer; font: inherit; color: #fff; }
.rc-frame { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #050607; }
.rc-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform calc(18 * var(--f)) var(--ease-focus); }
.reel-card:hover .rc-frame video, .reel-card:focus-visible .rc-frame video { transform: scale(1.045); }
.rc-cap { display: grid; gap: 2px; padding-inline: 4px; }
.rc-cap b { font-size: 13.5px; font-weight: 560; line-height: 1.25; letter-spacing: -.005em; }
.rc-cap .data { font-size: 10.5px; color: rgba(241, 242, 244, .62); }

/* One primary per view: over the opening the card carries "Start a project", so the bar's copy waits */
.topbar-cta .primary { transition: opacity calc(6 * var(--f)) var(--ease-focus), visibility 0s linear 0s; }
.topbar[data-state="open"] .topbar-cta .primary { opacity: 0; visibility: hidden; transition: opacity calc(6 * var(--f)) var(--ease-focus), visibility 0s linear calc(6 * var(--f)); }

/* The entrance: picture first, then the glass is set down on it. Hidden only until the script runs it;
   if the script never arrives, the glass shows after 2.5 s anyway. */
@keyframes dx-failsafe { to { opacity: 1; } }
.cold-run .hero:not(.is-in) .hero-card, .cold-run .hero:not(.is-in) .reel-card, .cold-run .hero:not(.is-in) .hero-now { opacity: 0; animation: dx-failsafe 1ms linear 2.5s forwards; }

@container page (max-width: 900px) {
  .hero-stage { grid-template-columns: minmax(0, 1fr); padding: 72px 16px 24px; row-gap: 14px; align-content: end; }
  .hero-card, .hero-side { grid-column: 1; }
  .hero-card { padding: 22px 20px 24px; }
  .hero-statement { font-size: clamp(56px, 19.5cqi, 104px); margin-left: 0; }
  .hero-lead { font-size: 16px; }
  .hero-side { display: contents; }
  .hero-now { order: -1; justify-self: start; white-space: normal; font-size: 11px; }
  .hero-reels { gap: 10px; }
  .rc-cap b { font-size: 12.5px; }
}

/* ---------- Title cards (02, 05) ---------- */
.title-card .tc-wrap { min-height: 100vh; display: grid; align-content: center; justify-items: center; text-align: center; padding-block: 192px; }
.title-card--short .tc-wrap { min-height: 80vh; }
.tc-statement { font-size: clamp(72px, 12vw, 232px); }
.tc-statement .line { white-space: nowrap; }
.tc-lead { margin: 48px auto 0; font-size: 21px; max-width: 34em; }
.seed { display: block; width: 68px; height: 68px; margin-top: 40px; background: linear-gradient(to bottom right, transparent calc(50% - .5px), var(--brand-cobalt) calc(50% - .5px), var(--brand-cobalt) calc(50% + .5px), transparent calc(50% + .5px)); }

/* 02: the three pillars on glass, over a wall of our reels */
.job .tc-wrap { min-height: 0; padding-block: 176px 136px; }
.job-band { overflow: hidden; background: #050607; }
.band-wrap { position: relative; z-index: 1; padding-block: clamp(96px, 10vw, 152px); }
.band-note { color: rgba(241, 242, 244, .76); margin-bottom: 18px; }
.pillars-glass { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.pillar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: clamp(260px, 22vw, 320px); padding: clamp(22px, 2vw, 30px) clamp(22px, 2vw, 30px) clamp(24px, 2.2vw, 32px); }
.pillar-tag { color: rgba(241, 242, 244, .74); text-decoration: none; }
.pillar-tag:hover { color: #fff; }
.pillar-title { color: #F1F2F4; margin-top: 4px; }
.pillar-line { font-size: 16px; line-height: 1.5; color: rgba(241, 242, 244, .84); max-width: 30em; }
.pillar-jump { margin-top: auto; padding-top: 8px; font-size: 15px; color: #fff; }
@media (max-width: 900px) {
  .title-card .tc-wrap { padding-block: 128px; min-height: 0; }
  .job .tc-wrap { padding-block: 128px 96px; }
  .tc-statement { font-size: 72px; }
  #own .tc-statement { font-size: 88px; }
  .tc-lead { font-size: 17px; margin-top: 32px; }
  .band-wrap { padding-block: 72px; }
  .pillars-glass { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pillar { min-height: 0; }
}
@media (max-width: 420px) { #own .tc-statement { font-size: 72px; } }

/* ---------- 03 The edit: our reel, and the footage lights the room ---------- */
.edit-amb { --amb: #5C5347; opacity: .62; background: radial-gradient(30% 46% at 13% 36%, color-mix(in oklab, var(--amb) 62%, transparent), transparent 72%), radial-gradient(44% 40% at 62% 44%, color-mix(in oklab, var(--amb) 28%, transparent), transparent 74%), radial-gradient(60% 30% at 50% 88%, color-mix(in oklab, var(--amb) 22%, transparent), transparent 70%); }
.edit-wrap { padding-top: clamp(96px, 12vw, 176px); }
.edit-a { align-items: start; }
.edit-frame { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #050607; cursor: pointer; clip-path: polygon(0 0, calc(100% - var(--cut-m)) 0, 100% calc(var(--cut-m) * var(--angle-tan)), 100% 100%, 0 100%); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.edit-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.edit-ctl { position: absolute; left: 8%; right: 8%; bottom: 6%; display: flex; gap: 8px; z-index: 2; }
.edit-ctl .lens-ctl { padding: 11px 13px; font-size: 10.5px; }
.edit-title { max-width: 9em; font-size: clamp(32px, 4.2vw, 60px); }
.edit-text .lead { margin-top: 22px; }
.reel-name { font-style: normal; color: var(--text); }
.notes-panel { margin-top: 32px; padding: 16px 20px 14px; --line: rgba(241, 242, 244, .12); --text3: rgba(241, 242, 244, .56); }
.notes { width: 100%; border-collapse: collapse; }
.notes th { text-align: left; padding: 0 16px 10px 0; font-stretch: 125%; font-weight: 620; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--text3); border-bottom: 1px solid var(--line); }
.notes td { padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; color: var(--text3); cursor: pointer; transition: color calc(4 * var(--f)) linear; }
.notes tbody tr:last-child td { border-bottom: 0; }
.notes td:first-child { padding-left: 12px; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 12px; box-shadow: inset 2px 0 0 transparent; transition: box-shadow calc(4 * var(--f)) var(--ease-focus); }
.notes .tcell { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.notes .shot { font-size: 15px; line-height: 1.35; }
.notes .why .fact { font-size: 11px; }
.notes tr.is-current td { color: var(--d-text); }
.notes tr.is-current td:first-child { box-shadow: inset 2px 0 0 var(--d-signal); }
.notes-nav { display: none; }
.notes-flag { margin-top: 10px; color: var(--text3); }
.edit-b { margin-top: 56px; position: relative; }
.strip-head { position: relative; height: 20px; }
.strip-tc { position: absolute; bottom: 4px; transform: translateX(-50%); color: var(--text); white-space: nowrap; }
.strip-tray { padding: 10px; }
.strip { position: relative; height: 148px; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: 4px; }
.strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.strip-lens { position: absolute; top: 14px; width: 88px; height: 120px; margin-left: -44px; border-radius: 10px; pointer-events: none; }
.edit-c { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; margin-top: 16px; align-items: baseline; }
.edit-summary, .edit-hint { color: var(--text3); text-align: right; }
.edit-hint { grid-column: 2; }
@media (max-width: 900px) {
  .edit-a > .edit-framecol { order: 2; }
  .edit-frame { width: 64%; }
  .notes thead, .notes tbody tr:not(.is-current) { display: none; }
  .notes tbody tr.is-current { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 12px; padding: 4px 0 8px; }
  .notes tbody tr.is-current td { border: 0; padding: 0; }
  .notes tbody tr.is-current td.shot, .notes tbody tr.is-current td.why { grid-column: 1 / -1; }
  .notes-nav { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
  .notes-nav .data { color: var(--text3); }
  .edit-c { grid-template-columns: 1fr; }
  .edit-summary { text-align: left; }
  .edit-hint { display: none; }
}

/* ---------- 04 Reel ---------- */
.reel-headwrap { padding-top: 192px; padding-bottom: 48px; }
.reel-head { align-items: end; }
.reel-title { font-size: clamp(32px, 4.2vw, 60px); }
.reel-title .line { display: block; }
.reel-rule { display: grid; gap: 10px; justify-items: start; color: var(--text3); }
.reel-stage { position: relative; }
.reel-full { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #050607; max-height: 100svh; width: 100%; cursor: pointer; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-full::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11, 12, 14, .5), transparent 42%), linear-gradient(180deg, rgba(11, 12, 14, .35), transparent 24%); }
.reel-tab { position: absolute; left: var(--margin); top: 9%; z-index: 2; padding: 9px 12px; color: #fff; margin: 0; }
.reel-play { position: absolute; right: var(--margin); bottom: 8%; z-index: 2; }
.prog-panel { position: absolute; left: var(--margin); bottom: 8%; width: min(580px, 44%); padding: 16px 20px 8px; z-index: 3; --line: rgba(241, 242, 244, .14); }
.prog-label { color: rgba(241, 242, 244, .62); margin-bottom: 6px; }
.prog-list { list-style: none; margin: 0; padding: 0; }
.prog-list li { display: grid; grid-template-columns: 34px 1fr auto; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 0 10px; border-top: 1px solid var(--line); cursor: pointer; background: linear-gradient(var(--d-signal), var(--d-signal)) 0 100% / 0 2px no-repeat; transition: background-size calc(8 * var(--f)) var(--ease-focus); }
.prog-list li[aria-selected="true"] { background-size: 100% 2px; }
.prog-list li .data:first-child { color: rgba(241, 242, 244, .55); }
.prog-genre { font-size: 20px; line-height: 1.15; font-weight: 560; letter-spacing: -.01em; }
.prog-meta { text-align: right; }
.prog-list li:focus-visible { outline-offset: 2px; }
.reel-bodywrap { padding-top: 72px; }
.shorts { align-items: start; }
.shorts-data { display: grid; gap: 12px; justify-items: start; color: var(--text3); }
.shorts-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.work-frame.short { width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; cursor: pointer; }
.work-frame.short video { transition: transform calc(18 * var(--f)) var(--ease-focus); }
.work-frame.short:hover video, .work-frame.short:focus-visible video { transform: scale(1.03); }
.work-frame .nd { transition: opacity calc(8 * var(--f)) var(--ease-focus); }
.short-tab { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 10px; font-size: 11.5px; text-align: left; }
.short-tab b { font-weight: 600; }
.short-tab span { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 10.5px; opacity: .85; }
@media (max-width: 900px) {
  .reel-headwrap { padding-top: 128px; }
  .prog-panel { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 16px 0; }
  .prog-list li { grid-template-columns: 30px 1fr; min-height: 44px; }
  .prog-meta { grid-column: 2; text-align: left; }
  .prog-genre { font-size: 18px; }
  .shorts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .work-frame .nd { display: none; }
  .reel-tab { left: 4%; top: 12%; font-size: 10px; padding: 6px 8px; }
  .reel-play { right: 4%; bottom: auto; top: 12%; padding: 9px 11px; font-size: 10px; }
}

/* ---------- 06 Case 00 ---------- */
.case-amb { --amb: #5C5347; opacity: .42; background: radial-gradient(40% 36% at 78% 22%, color-mix(in oklab, var(--amb) 40%, transparent), transparent 72%), radial-gradient(50% 40% at 30% 70%, color-mix(in oklab, #0180FF 10%, transparent), transparent 70%); }
.case-wrap { padding-top: clamp(96px, 12vw, 176px); padding-bottom: 120px; }
.case-head { align-items: end; margin-bottom: 56px; }
.case-title { font-size: clamp(32px, 4.2vw, 60px); }
.case-title .line { display: block; }
.case-brief { padding: 18px 22px 20px; }
.case-brief ul { margin-top: 10px; display: grid; gap: 6px; }
.case-brief li { font-size: 16px; line-height: 1.45; color: rgba(241, 242, 244, .86); padding-left: 18px; position: relative; }
.case-brief li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--d-signal); transform: rotate(calc(-1 * var(--angle))); }
.case-brief .label { color: rgba(241, 242, 244, .6); }

.cutcomp { position: relative; display: grid; grid-template-columns: 887fr 399fr; column-gap: var(--gutter); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.cc-item { display: grid; gap: 10px; min-width: 0; align-content: start; }
.cc-frame { position: relative; overflow: hidden; background: #050607; box-shadow: 0 40px 80px -44px rgba(0, 0, 0, .9); }
.cc-web-frame { aspect-ratio: 16 / 9; }
.cc-post-frame { aspect-ratio: 4 / 5; }
.cc-live, .cc-planclip, .post-draftclip { position: absolute; inset: 0; }
.cc-planclip { background: var(--s-ground); }
.rp-box { position: absolute; top: 0; left: 50%; transform-origin: 0 0; }
.cc-cap { color: var(--text3); }
.cc-tag { position: absolute; top: 10px; z-index: 5; padding: 6px 9px; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 10.5px; line-height: 1; pointer-events: none; }
.cc-tag--l { left: 10px; }
.cc-tag--r { right: 10px; }
.cc-chips { position: absolute; right: 10px; bottom: 10px; z-index: 5; display: flex; gap: 4px; padding: 5px; }
.cc-chips .chip { color: rgba(241, 242, 244, .82); border-color: rgba(241, 242, 244, .2); padding: 6px 10px; font-size: 11.5px; }
.cc-chips .chip[aria-checked="true"] { color: #fff; border-color: var(--d-signal); box-shadow: inset 0 -2px 0 var(--d-signal); }
.cc-line { position: absolute; left: 0; top: 0; width: 100%; overflow: visible; pointer-events: none; z-index: 6; }
.cc-line line { stroke: var(--brand-azure); stroke-width: 1.25; }
.cc-handle { position: absolute; z-index: 7; width: 48px; height: 48px; margin: -24px 0 0 -24px; display: grid; place-items: center; cursor: grab; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  box-shadow: var(--glass-rim), var(--glass-disp), var(--glass-body), 0 10px 22px -10px rgba(0, 0, 0, .7); }
.cc-handle i { display: block; width: 2px; height: 20px; background: #fff; transform: rotate(var(--angle)); box-shadow: 5px 0 0 -0.5px rgba(255, 255, 255, .5), -5px 0 0 -0.5px rgba(255, 255, 255, .5); }
.cc-handle.is-pressed { transform: scale(1.12, .9); }
.cc-explain { margin-top: 28px; max-width: 40em; font-size: 17px; line-height: 1.5; color: var(--text2); }

/* the live render: this page's own opening, re-laid out at the chosen width, with a still for the film */
.rp { position: relative; width: 1440px; height: 810px; background: var(--d-ground); color: var(--d-text); overflow: hidden; container: page / inline-size; --vh: 810px; --margin: max(20px, min(4.5cqw, 80px)); }
.rp-bg { position: absolute; inset: 0; }
.rp-bg img { width: 100%; height: 100%; object-fit: cover; }
.rp-bar { position: absolute; left: var(--margin); right: var(--margin); top: 0; height: 56px; z-index: 2; display: flex; align-items: center; gap: 24px; }
.rp-bar svg { height: 26px; width: auto; }
.rp-bar .rp-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; font-stretch: 125%; font-weight: 620; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.rp-bar .primary { --c: 10px; padding: 12px 20px 12px 16px; font-size: 11.5px; --ground: var(--d-ground); --text: var(--d-text); --signal: var(--d-signal); pointer-events: none; }
.rp .hero-stage { position: relative; z-index: 1; }
.rp .lens-play { pointer-events: auto; }
@container page (max-width: 900px) { .rp-bar .rp-nav span { display: none; } }

/* the plan: studio white, cobalt guides, labels computed from the live side */
.plan { position: absolute; inset: 0; width: 1440px; height: 810px; background: var(--s-ground); color: var(--brand-cobalt); }
.plan-col { position: absolute; top: 0; bottom: 0; border-left: 1px solid rgba(1, 88, 207, .35); border-right: 1px solid rgba(1, 88, 207, .35); background: rgba(1, 88, 207, .035); }
.plan-box { position: absolute; border: 2px solid var(--brand-cobalt); }
.plan-box span { position: absolute; left: -2px; top: -2px; transform: translateY(-100%); padding: 3px 7px 4px; background: var(--brand-cobalt); color: #fff; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 17px; white-space: nowrap; }
.plan-box.is-inside span { transform: none; }

/* the post: our line over our own footage, and the draft it replaced */
.post-pub { position: absolute; inset: 0; container-type: inline-size; isolation: isolate; }
.post-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-pub::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(11, 12, 14, .82), rgba(11, 12, 14, .18) 62%, rgba(11, 12, 14, .3)); }
.post-line { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 17%; margin: 0; font-stretch: 75%; font-weight: 680; font-size: 15.5cqw; line-height: .88; letter-spacing: -.012em; color: #F1F2F4; }
.post-line .line { display: block; }
.post-mark { position: absolute; z-index: 2; left: 8%; bottom: 6%; height: 7%; }
.post-mark svg { height: 100%; width: auto; }
.post-draft { position: absolute; inset: 0; background: #fff; color: var(--s-text); padding: 8% 8%; container-type: inline-size; display: grid; align-content: start; gap: 4cqw; }
.post-draft .label { color: var(--s-text3); font-size: max(8px, 2.6cqw); padding-top: 6cqw; }
.draft-quote { font-size: 6.2cqw; line-height: 1.22; font-weight: 500; letter-spacing: -.01em; }
.mk { background: linear-gradient(to bottom right, transparent calc(50% - .6px), var(--brand-cobalt) calc(50% - .6px), var(--brand-cobalt) calc(50% + .6px), transparent calc(50% + .6px)); }
.mk-keep { background: none; box-shadow: inset 0 -2px 0 var(--brand-cobalt); }
.draft-notes { display: grid; gap: 1.6cqw; font-size: max(8px, 2.7cqw); color: var(--brand-cobalt); list-style: none; padding: 0; }
.draft-notes b { font-weight: 450; color: var(--s-text2); margin-right: .6em; }
.draft-insert { font-stretch: 75%; font-weight: 680; font-size: 7.4cqw; line-height: .95; letter-spacing: -.012em; color: var(--s-text); padding-left: 3cqw; border-left: 2px solid var(--brand-cobalt); }
.draft-insert .data { display: block; font-size: max(8px, 2.4cqw); color: var(--brand-cobalt); margin-bottom: 1.5cqw; letter-spacing: .04em; font-weight: 450; font-stretch: 87.5%; }
@media (max-width: 900px) {
  .case-head { margin-bottom: 32px; }
  .cutcomp { grid-template-columns: 1fr; row-gap: 40px; }
  .cc-chips .chip { padding: 5px 8px; font-size: 10.5px; }
}

/* ---------- 07 The campaign: one message over our footage, recut for every placement ---------- */
.campaign-amb { --amb: #5C5347; opacity: .58; background: radial-gradient(36% 52% at 34% 58%, color-mix(in oklab, var(--amb) 52%, transparent), transparent 72%), radial-gradient(30% 50% at 84% 56%, color-mix(in oklab, var(--amb) 22%, transparent), transparent 72%); }
.campaign-wrap { padding-top: clamp(96px, 12vw, 176px); }
.campaign-head { align-items: end; margin-bottom: 48px; }
.campaign-title { font-size: clamp(32px, 4.2vw, 60px); }
.campaign-title .line { display: block; }
.campaign-lead { font-size: 18px; }
.campaign-body { align-items: start; }
.mk-stage { position: relative; height: clamp(420px, 64vh, 600px); display: grid; place-items: center; }
.mk-frame { position: relative; overflow: hidden; isolation: isolate; background: #050607; width: 320px; height: 560px; container-type: size; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .85); }
.mk-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(11, 12, 14, .74), rgba(11, 12, 14, .12) 56%, rgba(11, 12, 14, .4)); }
.mk-copy { position: absolute; left: 8cqw; right: 8cqw; bottom: 12cqh; z-index: 2; }
.mk-head { font-stretch: 75%; font-weight: 680; font-size: min(15cqw, 11cqh); line-height: .9; letter-spacing: -.012em; color: #F1F2F4; text-wrap: balance; }
.mk-sub { margin-top: 1.4cqh; font-size: max(11px, min(4cqw, 3cqh)); line-height: 1.35; color: rgba(241, 242, 244, .86); max-width: 30em; }
.mk-mark { position: absolute; left: 8cqw; top: 7cqh; height: max(18px, 6cqh); z-index: 2; }
.mk-mark svg { height: 100%; width: auto; }
.mk-tag { position: absolute; top: 10px; z-index: 5; padding: 6px 9px; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 10.5px; line-height: 1; pointer-events: none; }
.mk-tag--l { left: 10px; } .mk-tag--r { right: 10px; }
.mk-frame[data-ch="search"] .mk-tag { display: none; }
.mk-frame[data-ch="story"] .mk-copy { bottom: 18cqh; }
.mk-frame[data-ch="story"] .mk-mark { top: 16cqh; }
.mk-frame[data-ch="square"] .mk-head { font-size: 13cqw; }
.mk-frame[data-ch="linkedin"] .mk-mark, .mk-frame[data-ch="preroll"] .mk-mark { top: 13cqh; }
.mk-frame[data-ch="linkedin"] .mk-copy { right: 42cqw; bottom: 14cqh; }
.mk-frame[data-ch="linkedin"] .mk-head { font-size: 7.4cqw; }
.mk-frame[data-ch="preroll"] .mk-copy { right: 44cqw; bottom: 22cqh; }
.mk-frame[data-ch="preroll"] .mk-head { font-size: 7cqw; }
.mk-safe { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.mk-safe i { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(calc(180deg - var(--angle)), rgba(1, 128, 255, .16) 0 6px, transparent 6px 12px); border: 0 dashed rgba(61, 150, 255, .9); }
.mk-safe-a { top: 0; height: var(--safe-a, 13%); border-bottom-width: 1px !important; }
.mk-safe-b { bottom: 0; height: var(--safe-b, 13%); border-top-width: 1px !important; }
.mk-safe em { position: absolute; left: 10px; bottom: calc(var(--safe-b, 13%) + 8px); font-style: normal; color: #9CC8FF; font-size: 10.5px; max-width: 80%; }
.mk-frame[data-ch="preroll"] .mk-safe i, .mk-frame[data-ch="feed"] .mk-safe i, .mk-frame[data-ch="square"] .mk-safe i, .mk-frame[data-ch="linkedin"] .mk-safe i { display: none; }
.mk-frame[data-ch="preroll"] .mk-safe::before, .mk-frame[data-ch="feed"] .mk-safe::before, .mk-frame[data-ch="square"] .mk-safe::before, .mk-frame[data-ch="linkedin"] .mk-safe::before { content: ""; position: absolute; inset: var(--safe-inset, 6%); border: 1px dashed rgba(61, 150, 255, .9); background: none; }
.mk-frame[data-ch="preroll"] .mk-safe em, .mk-frame[data-ch="feed"] .mk-safe em, .mk-frame[data-ch="square"] .mk-safe em, .mk-frame[data-ch="linkedin"] .mk-safe em { top: auto; bottom: calc(var(--safe-inset, 6%) + 6px); left: auto; right: calc(var(--safe-inset, 6%) + 8px); text-align: right; }
.mk-timeline { position: absolute; left: 5cqw; right: 5cqw; bottom: 5cqh; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 9px 12px; }
.mk-timeline i { position: relative; flex: 1; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.mk-timeline i::after { content: ""; position: absolute; inset: 0; background: var(--brand-azure); transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
.mk-timeline .data { font-size: 10.5px; min-width: 9ch; text-align: right; }
.mk-search { position: absolute; inset: 0; z-index: 3; background: var(--s-ground); color: var(--s-text); padding: 8% 7%; display: grid; align-content: start; gap: 8px; container-type: inline-size; }
.mk-search-url { color: var(--s-text2); font-size: 12px; }
.mk-search-title { font-size: clamp(18px, 3.3cqw, 26px); line-height: 1.25; color: var(--s-signal); font-weight: 500; }
.mk-search-desc { font-size: clamp(14px, 2.1cqw, 17px); line-height: 1.5; color: var(--s-text2); max-width: 36em; }
.mk-ads { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--s-line); }
.mk-ads .label { color: var(--s-text3); margin-bottom: 10px; }
.mk-ads ol { list-style: none; padding: 0; display: grid; gap: 8px; }
.mk-ads li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: clamp(15px, 2.4cqw, 20px); font-weight: 560; letter-spacing: -.01em; padding-bottom: 8px; border-bottom: 1px solid var(--s-line); }
.mk-ads li span { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 12px; font-weight: 450; color: var(--s-text3); letter-spacing: 0; white-space: nowrap; }
.mk-cap { margin-top: 14px; }
.mk-side { display: grid; gap: 12px; align-content: start; }
.mk-channels { padding: 8px; display: grid; gap: 2px; }
.mk-ch { appearance: none; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 12px 11px 14px; border-radius: 2px; box-shadow: inset 2px 0 0 transparent; transition: background-color calc(6 * var(--f)) var(--ease-focus), box-shadow calc(6 * var(--f)) var(--ease-focus); }
.mk-ch:hover { background: rgba(255, 255, 255, .05); }
.mk-ch[aria-checked="true"] { background: rgba(255, 255, 255, .08); box-shadow: inset 2px 0 0 var(--d-signal); }
.mk-ch b { font-size: 17px; font-weight: 560; letter-spacing: -.01em; }
.mk-ch .fmt { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11.5px; color: rgba(241, 242, 244, .7); align-self: center; }
.mk-ch .spec { grid-column: 1 / -1; font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11px; color: rgba(241, 242, 244, .55); }
.mk-info { padding: 16px 18px 18px; display: grid; gap: 10px; justify-items: start; }
.mk-info .label { color: rgba(241, 242, 244, .6); }
.mk-dl { display: grid; gap: 10px; width: 100%; }
.mk-dl div { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid rgba(241, 242, 244, .12); }
.mk-dl dt { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 11px; color: rgba(241, 242, 244, .55); }
.mk-dl dd { margin: 0; font-size: 15px; line-height: 1.4; }
.mk-safebtn { color: #fff; border-color: rgba(241, 242, 244, .22); }
.mk-safebtn[aria-pressed="true"] { border-color: var(--d-signal); box-shadow: inset 0 -2px 0 var(--d-signal); }
@media (max-width: 900px) {
  .campaign-head { margin-bottom: 32px; }
  .mk-stage { height: 460px; }
  .mk-channels { grid-template-columns: 1fr 1fr; }
  .mk-ch .spec { display: none; }
}

/* ---------- 08 Studio ---------- */
.studio-act .wrap { padding-top: 192px; padding-bottom: 176px; }
.studio-grid { align-items: start; row-gap: 0; }
.studio-photo .frame { width: 100%; }
.studio-text { padding-top: 24px; }
.studio-title { font-size: clamp(32px, 3.2vw, 48px); }
.studio-title .line { display: block; }
.nobr { white-space: nowrap; }
.studio-copy { margin-top: 22px; font-size: 17px; line-height: 1.6; max-width: 68ch; color: var(--text2); }
.studio-us { margin-top: 20px; font-size: 15px; color: var(--text2); }
.studio-text .tlink { display: inline-block; margin-top: 16px; }
.sheet-panel { margin-top: -180px; padding: 24px 28px 18px; }
/* no studio photograph (11 November 2026): the sheet sits beside the text instead of over a picture */
.sheet-panel--beside { margin-top: 0; }
.sheet-title { color: var(--s-text3); }
.sheet { width: 100%; border-collapse: collapse; margin-top: 12px; }
.sheet th, .sheet td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(11, 12, 14, .1); vertical-align: baseline; }
.sheet tbody tr:last-child th, .sheet tbody tr:last-child td { border-bottom: 0; }
.sheet thead th { font-family: var(--font-mono); font-stretch: 87.5%; font-weight: 450; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--s-text3); padding-top: 0; }
.sheet tbody th { font-weight: 560; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.sheet tbody th a { color: inherit; text-decoration: none; }
.sheet tbody th a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--signal); }
.sheet td { font-family: var(--font-mono); font-stretch: 87.5%; font-size: 12.5px; color: var(--s-text2); }
@media (max-width: 900px) {
  .studio-act .wrap { padding-top: 128px; padding-bottom: 112px; }
  .studio-text { order: -1; padding: 0 0 32px; }
  .sheet-panel { margin-top: -48px; margin-inline: 12px; padding: 18px 18px 10px; }
  .sheet-panel--beside { margin-top: 0; margin-inline: 0; }
  .sheet thead { display: none; }
  .sheet tbody tr { display: grid; padding: 10px 0; border-bottom: 1px solid rgba(11, 12, 14, .1); }
  .sheet tbody th, .sheet tbody td { border: 0; padding: 2px 0; }
}

/* ---------- 09 Credits: over our reels, then the roll on graphite ---------- */
.credits-wall { inset: 0 0 auto 0; height: min(100%, 1040px); }
.wall-nd--credits { background: linear-gradient(180deg, rgba(11, 12, 14, .58) 0%, rgba(11, 12, 14, .5) 20%, rgba(11, 12, 14, .9) 46%, #0B0C0E 64%); }
.credits-wrap { padding-block: 176px 64px; min-height: 100vh; }
.credits-top { align-items: start; }
.credits-card { padding: clamp(26px, 2.6vw, 40px); }
.credits-title { font-size: clamp(36px, 4.6vw, 68px); color: #F1F2F4; }
.credits-lead { margin-top: 22px; max-width: 30em; color: rgba(241, 242, 244, .84); }
.credits-slot { margin-top: 32px; min-height: 58px; }
.credits-action { --c: 16px; padding: 20px 34px 20px 24px; font-size: 14px; }
.credits-action, .credits .primary { --ground: var(--d-ground); --text: var(--d-text); --signal: var(--d-signal); }
.credits-slot.is-empty .credits-action { visibility: hidden; }
.credits-direct { display: grid; gap: 8px; align-content: start; padding: 22px 24px; }
.credits-direct .label { color: rgba(241, 242, 244, .6); margin-bottom: 6px; }
.credits-hours { margin-top: 6px; color: rgba(241, 242, 244, .7); }
/* Follow the cut (12 November 2026): the studio's channels as three cut-corner cards, the campaign cards' shape;
   solid, never glass over the moving wall. Each under its official logo in its own colour, with its handle and the
   shape that platform plays in; on hover the card warms to that colour and its foot takes a line of it. */
.follow { margin-top: clamp(48px, 6vw, 88px); }
.follow-label { margin: 0; color: rgba(241, 242, 244, .6); }
.follow-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.follow-link {
  --c: var(--cut-m);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto;
  grid-template-areas: "mark shape" "name arrow" "handle arrow"; column-gap: 16px; row-gap: 6px;
  min-height: clamp(168px, 13vw, 210px); padding: clamp(20px, 1.8vw, 28px);
  color: var(--d-text); text-decoration: none;
  background:
    linear-gradient(to top right, transparent calc(50% - .75px), var(--d-line) calc(50% - .75px), var(--d-line) calc(50% + .75px), transparent calc(50% + .75px)) right top / var(--c) var(--c) no-repeat,
    var(--d-surface);
  box-shadow: inset 0 0 0 1px var(--d-line);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
}
.follow-link::before { content: ""; position: absolute; inset: 0; background: var(--brand); opacity: 0; pointer-events: none; transition: opacity calc(10 * var(--f)) linear; }
.follow-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; transition: transform calc(14 * var(--f)) var(--ease-focus); }
.follow-mark { grid-area: mark; position: relative; display: block; height: clamp(30px, 2.4vw, 40px); width: auto; max-width: none; fill: var(--brand); transform-origin: 0 50%; transition: transform calc(10 * var(--f)) var(--ease-focus); }
.follow-shape { grid-area: shape; position: relative; margin: 0; color: var(--d-text3); white-space: nowrap; }
.follow-name { grid-area: name; position: relative; align-self: end; margin-top: clamp(28px, 3vw, 48px); font-stretch: 112.5%; font-weight: 560; font-size: clamp(26px, 2.3vw, 38px); line-height: 1; letter-spacing: -.015em; }
.follow-handle { grid-area: handle; position: relative; margin: 0; color: var(--d-text2); }
.follow-arrow { grid-area: arrow; position: relative; align-self: end; font-size: clamp(20px, 1.6vw, 26px); line-height: 1; color: var(--d-text3); transition: transform calc(8 * var(--f)) var(--ease-focus), color calc(8 * var(--f)) linear; }
.follow-link:focus-visible { outline: 2px solid var(--d-signal); outline-offset: -4px; }
@media (hover: hover) {
  .follow-link:hover::before { opacity: .09; }
  .follow-link:hover::after { transform: scaleX(1); }
  .follow-link:hover .follow-mark { transform: scale(1.06); }
  .follow-link:hover .follow-arrow { color: #fff; transform: translate3d(3px, -3px, 0); }
}
@media (max-width: 900px) {
  .follow-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .follow-link {
    min-height: 0; padding: 16px 18px; align-items: center; column-gap: 14px; row-gap: 2px;
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto;
    grid-template-areas: "mark name arrow" "mark handle shape";
  }
  .follow-mark { height: 30px; }
  .follow-name { margin-top: 0; font-size: 22px; }
  .follow-shape { justify-self: end; }
  .follow-arrow { align-self: center; justify-self: end; }
}
.roll { margin-top: 120px; display: grid; }
.roll-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; min-height: 32px; }
.roll-group.roll-gap { margin-top: 16px; }
.roll dt { grid-column: 1 / span 4; text-align: right; color: var(--text3); }
.roll dd { grid-column: 5 / span 6; margin: 0; font-size: 17px; line-height: 1.6; }
.signoff { margin-top: 96px; font-size: clamp(88px, 9.7vw, 140px); color: #F1F2F4; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.signoff .accent-wrap { grid-column: 5 / -1; justify-self: start; white-space: nowrap; }
.prodcard { margin-top: 96px; display: grid; gap: 20px; }
.prod-mark { display: block; height: 34px; margin-left: calc((100% - 11 * var(--gutter)) / 12 * 4 + 4 * var(--gutter)); }
.prod-mark svg { height: 100%; width: auto; }
.prodcard .data { color: var(--text3); }
.prodcard .data a { color: inherit; }
/* the legal line, and beside it the way on: the next page waits to the right */
.prod-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.prodcard .credits-next { color: rgba(241, 242, 244, .78); text-decoration: none; white-space: nowrap; }
.credits-next-arrow { display: inline-block; transition: transform calc(8 * var(--f)) var(--ease-focus); }
.prodcard .credits-next:hover, .prodcard .credits-next:focus-visible { color: #fff; }
.credits-next:hover .credits-next-arrow, .credits-next:focus-visible .credits-next-arrow { transform: translateX(4px); }
.credits-next:focus-visible { outline: 2px solid var(--d-signal); outline-offset: 4px; }
@media (max-width: 900px) {
  .credits-wrap { padding-top: 128px; }
  .credits-title { font-size: 36px; }
  .credits-direct { margin-top: 14px; }
  .roll { margin-top: 72px; gap: 14px; }
  .roll-group { grid-template-columns: 1fr; }
  .roll dt, .roll dd { grid-column: 1; text-align: left; }
  .signoff { font-size: 88px; display: block; line-height: .95; }
  .signoff .so-1, .signoff .so-2 { display: block; }
  .prod-mark { margin-left: 0; }
}

/* ---------- The screening overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: 1fr auto; background: rgba(5, 6, 7, .78); color: var(--d-text);
  -webkit-backdrop-filter: blur(28px) brightness(.35) saturate(1.2); backdrop-filter: blur(28px) brightness(.35) saturate(1.2);
  --ground: var(--d-ground); --surface: var(--d-surface); --raised: var(--d-raised); --line: var(--d-line); --text: var(--d-text); --text2: var(--d-text2); --text3: var(--d-text3); --signal: var(--d-signal); }
.overlay[hidden] { display: none; }
.ov-stage { display: grid; place-items: center; padding: 72px var(--margin) 16px; min-height: 0; }
.ov-frame { position: relative; overflow: hidden; background: #000; max-width: 100%; max-height: 100%; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); }
.ov-frame.fmt-169 { aspect-ratio: 16 / 9; width: min(100%, (100svh - 220px) * 16 / 9); }
.ov-frame.fmt-916 { aspect-ratio: 9 / 16; height: calc(100svh - 220px); }
.ov-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ov-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px var(--margin) calc(22px + env(safe-area-inset-bottom, 0px)); }
.ov-title { color: var(--d-text2); max-width: 26ch; }
.ov-scrub { min-width: 0; }
.ov-ctl { display: flex; gap: 8px; }
@media (max-width: 900px) {
  .ov-bar { grid-template-columns: 1fr; gap: 16px; }
  .ov-frame.fmt-916 { height: calc(100svh - 300px); }
}

/* the reduced-motion state is designed, not stripped: everything present at rest, posters for footage */
@media (prefers-reduced-motion: reduce) {
  .amb { transition: none; }
  .rc-frame video, .work-frame.short video { transition: none; }
}
