/* One continuous photographic set. Only the business record changes from shot to shot. */
#ap-secretariat .lv-player:has(.ap-case-film) {
  --night:#0b1020; --ice:#a4d9ff; --glow:#38bdff;
  container-type:inline-size; border-radius:20px; overflow:hidden; background:var(--night);
  border:1px solid #28465e; box-shadow:0 12px 32px -17px #0f2a4d88;
}
#ap-secretariat .ap-case-film {
  position:relative; isolation:isolate; height:clamp(355px,46cqw,510px); min-height:0;
  color:#fff; background:var(--night); overflow:hidden;
}
#ap-secretariat .ap-case-photo {
  position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0;
  object-fit:cover; object-position:70% 37%; border:0; border-radius:0;
}
.ap-case-film::before {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg,#0b1020fa 0%,#0b172bec 25%,#0e2037ce 44%,#0f2a4d50 61%,transparent 77%),
             linear-gradient(0deg,#0b102076,transparent 28%);
}
#ap-secretariat .ap-case-shot {
  position:absolute; inset:0; z-index:2; display:flex; align-items:center;
  isolation:auto; overflow:visible; text-align:left; color:#fff;
}
#ap-secretariat .ap-case-shot[hidden],#ap-secretariat .ap-case-shot::after { display:none!important; }
#ap-secretariat .ap-case-copy {
  box-sizing:border-box; width:57%; padding:0 clamp(20px,4cqw,56px);
  display:flex; flex-direction:column; align-items:flex-start; gap:clamp(12px,1.8cqw,23px);
}
.ap-case-cue {
  color:var(--ice); display:flex; align-items:center; gap:9px;
  font:700 clamp(11px,1.3cqw,14px)/1.3 Inter,system-ui,sans-serif; letter-spacing:.075em; text-transform:uppercase;
}
.ap-case-cue::before { content:""; width:21px; height:2px; background:var(--glow); }
.ap-case-shot[data-scene="0"] .ap-case-cue::before { display:none; }
.ap-case-light { width:8px; height:8px; border-radius:50%; background:var(--ice); box-shadow:0 0 0 4px #a4d9ff1a; }
#ap-secretariat .ap-case-title {
  color:white; display:block; font:670 clamp(26px,4.3cqw,54px)/1.06 Inter,system-ui,sans-serif;
  letter-spacing:-.043em; text-wrap:balance; overflow-wrap:break-word;
}
#ap-secretariat .ap-case-shot[data-scene="0"] .ap-case-title { font-size:clamp(30px,4.9cqw,61px); }
.ap-case-wave { display:flex; gap:4px; align-items:center; height:28px; margin-top:4px; }
.ap-case-wave i { display:block; width:3px; height:var(--h); border-radius:4px; background:var(--ice); }
.ap-case-wave i:nth-child(3n) { background:var(--glow); }
#ap-secretariat .ap-case-sheet,#ap-secretariat .ap-case-slot,#ap-secretariat .ap-case-draft {
  box-sizing:border-box; margin:0; width:min(100%,390px); border:1px solid #c1e3ff52;
  border-radius:13px; background:linear-gradient(125deg,#102c48f0,#0c2036ee); color:#f5fbff;
  box-shadow:inset 0 1px 0 #ffffff17,0 6px 24px #020c1a38;
}
#ap-secretariat .ap-case-sheet { padding:0 15px; }
#ap-secretariat .ap-case-sheet>div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:11px 0; }
#ap-secretariat .ap-case-sheet>div + div { border-top:1px solid #92b8d139; }
#ap-secretariat .ap-case-sheet dt,#ap-secretariat .ap-case-sheet dd { margin:0; font-size:clamp(12px,1.48cqw,16px); line-height:1.28; }
#ap-secretariat .ap-case-sheet dt { color:#c1d6e8; }
#ap-secretariat .ap-case-sheet dd { font-weight:680; color:white; text-align:right; }
#ap-secretariat .ap-case-slot { display:flex; align-items:center; padding:12px 15px; gap:15px; background:linear-gradient(115deg,#ddf0ff,#b9ddf6); border-color:#e5f5ff; color:var(--night); }
.ap-case-slot>div { display:grid; border-right:1px solid #6c94b2; padding-right:15px; }
.ap-case-slot span { font-size:clamp(12px,1.5cqw,16px); font-weight:650; }
.ap-case-slot b { font-size:clamp(22px,3.8cqw,43px); letter-spacing:-.045em; line-height:1.1; white-space:nowrap; }
.ap-case-slot small { font-size:clamp(12px,1.45cqw,15px); line-height:1.3; font-weight:630; }
#ap-secretariat .ap-case-draft { display:grid; gap:7px; padding:13px 15px; box-shadow:inset 3px 0 #a4d9ff,0 6px 24px #020c1a38; }
.ap-case-draft b { color:var(--ice); font-size:clamp(12px,1.42cqw,15px); line-height:1.25; }
.ap-case-draft span { font-size:clamp(13px,1.6cqw,17px); line-height:1.42; }
#ap-secretariat .ap-case-credit { position:absolute; z-index:2; bottom:11px; right:14px; padding:2px 6px; border-radius:5px; background:#0b1020a8; font:500 10px/1.5 system-ui,sans-serif; color:#edf6ff; pointer-events:none; }
#ap-secretariat .ap-case-film + .lv-controls { border-top:1px solid #6da0bd59; gap:9px; padding:9px; background:linear-gradient(110deg,#102940,#0b1425); }
#ap-secretariat .ap-case-film + .lv-controls .lv-play { border:1px solid #a4d9ff5e; background:#183753; color:#d5eeff; border-radius:10px; }
#ap-secretariat .ap-case-film + .lv-controls .lv-play[data-icon] { font-size:0; display:grid; place-items:center; }
.lv-play[data-icon]::before { content:""; display:block; width:16px; height:16px; background:currentColor; }
.lv-play[data-icon="play"]::before { clip-path:polygon(15% 0,95% 50%,15% 100%); }
.lv-play[data-icon="pause"]::before { background:linear-gradient(90deg,currentColor 0 30%,transparent 30% 65%,currentColor 65%); }
.lv-play[data-icon="replay"]::before { background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10a8 8 0 1 1 1 8M4 4v6h6'/%3E%3C/svg%3E") center/contain; }
#ap-secretariat .ap-case-film + .lv-controls .lv-step { min-height:44px; padding:4px 3px 8px; color:#bbcee0; line-height:1.2; }
#ap-secretariat .ap-case-film + .lv-controls .lv-step::after { background:#49637c; height:2px; }
#ap-secretariat .ap-case-film + .lv-controls .lv-step[aria-pressed=true] { background:#1b3853; color:white; }
#ap-secretariat .ap-case-film + .lv-controls .lv-step[aria-pressed=true]::after { background:var(--ice); }
@media(prefers-reduced-motion:no-preference) {
  #ap-secretariat .ap-case-photo { transform-origin:75% 34%; transition:transform 1.4s cubic-bezier(.2,.7,.25,1); }
  #ap-secretariat .ap-case-film:has([data-scene="1"]:not([hidden])) > .ap-case-photo { transform:scale(1.035); }
  #ap-secretariat .ap-case-film:has([data-scene="2"]:not([hidden])) > .ap-case-photo { transform:scale(1.065); }
  #ap-secretariat .ap-case-film:has([data-scene="3"]:not([hidden])) > .ap-case-photo { transform:scale(1.02); }
  .lv-player[data-playing=true] .ap-case-sheet > div + div,
  .lv-player[data-playing=true] .ap-case-slot,
  .lv-player[data-playing=true] .ap-case-draft { animation:ap-case-develop .45s .14s ease-out both; }
  .lv-player[data-playing=true] .ap-case-wave i { animation:ap-case-signal 1.15s var(--delay) ease-in-out infinite alternate; }
  .lv-player[data-playing=true] .ap-case-shot:not([hidden]) .ap-case-copy { animation:ap-case-develop .38s ease-out both; }
}
@keyframes ap-case-signal { from { transform:scaleY(.5); opacity:.65; } to { transform:scaleY(1); opacity:1; } }
@keyframes ap-case-develop { from { opacity:.35; transform:translateY(7px); } to { opacity:1; transform:none; } }
@container (max-width:620px) {
  #ap-secretariat .ap-case-film { --photo-h:clamp(138px,41cqw,220px); height:auto; display:grid; grid-template-rows:var(--photo-h) auto; }
  #ap-secretariat .ap-case-photo { height:var(--photo-h); object-position:70% 29%; }
  .ap-case-film::before { background:linear-gradient(to bottom,transparent 0,transparent calc(var(--photo-h) - 48px),#0b1425 var(--photo-h),#0b1020 100%); }
  /* Overlay the scenes in one intrinsic grid row so even long translations fit at large text sizes. */
  #ap-secretariat .ap-case-shot,#ap-secretariat .ap-case-shot[hidden] { position:relative; inset:auto; grid-area:2/1/3/2; min-height:221px; align-items:center; display:flex!important; }
  #ap-secretariat .ap-case-shot[hidden] { visibility:hidden; pointer-events:none; }
  #ap-secretariat .ap-case-copy { width:100%; padding:10px clamp(13px,4.5cqw,24px) 18px; gap:10px; }
  #ap-secretariat .ap-case-title,#ap-secretariat .ap-case-shot[data-scene="0"] .ap-case-title { font-size:clamp(22px,6.3cqw,35px); }
  #ap-secretariat .ap-case-credit { top:calc(var(--photo-h) - 25px); right:9px; bottom:auto; font-size:9px; }
  .ap-case-wave { margin:0; }
  #ap-secretariat .ap-case-film + .lv-controls { padding:5px; gap:3px; }
  #ap-secretariat .ap-case-film + .lv-controls .lv-step { font-size:clamp(10px,2.7cqw,13px); overflow-wrap:anywhere; }
  #ap-secretariat .ap-case-film + .lv-controls .lv-play { min-width:36px; }
}
