/* Lucide SVGs: same geometry on iOS, Android and desktop; no emoji font fallback. */
.icon-library{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{display:inline-block;width:20px;height:20px;flex:0 0 auto;vertical-align:middle;pointer-events:none}
.round .icon{width:20px;height:20px}
.pill .icon,.text-link .icon,.soft-link .icon{width:18px;height:18px}
.text-link{max-width:100%;gap:12px;min-height:44px;line-height:1.4;text-align:left;text-decoration:none}
.text-link>span{text-decoration:underline;text-decoration-color:#f9eee74d;text-underline-offset:6px}
.text-link>span,.soft-link>span{min-width:0}
.work-shortcut{width:fit-content;max-width:100%}
.soft-link .icon,.text-link .icon{transition:transform .25s ease}
@media(hover:hover){.soft-link:hover>.icon,.text-link:hover>.icon{transform:translate(2px,-2px)}}
.card-play .icon,.shot-play .icon{width:20px;height:20px}
.print-label .icon{width:16px;height:16px}
.motion-control b .icon{width:15px;height:15px}
.scroll-cue>.icon{animation:arrow 2.2s ease-in-out infinite}
.assembly-hint{display:flex;align-items:center;justify-content:center;gap:12px}
.assembly-hint .icon{width:15px;height:15px}
.contact-link>.icon{width:1em;height:1em;transition:transform .25s}
.contact-link:hover>.icon{transform:translate(5px,-5px)}
.closing footer>a:last-child{display:inline-flex;align-items:center;gap:10px;min-height:44px}
.closing footer .icon{width:16px;height:16px}
.dialog-top .round{flex-shrink:0;min-width:44px;min-height:44px}
.menu-layout nav>a b{display:flex;align-self:center}
.noir-controls .icon{width:15px;height:15px}
.compare-divider .icon{width:20px;height:20px}
[aria-busy=true] .icon{animation:icon-spin 1s linear infinite}
@keyframes icon-spin{to{transform:rotate(360deg)}}

/* Width/height HTML attributes reserve space; CSS owns the rendered aspect ratio. */
.film-card>img,.project-choice>img{height:auto}
.film-caption,.shot-caption{min-width:0}
.film-caption b,.shot-caption strong{min-width:0;overflow-wrap:anywhere}
.player-dialog .dialog-top h2{min-width:0;line-height:1.3;overflow-wrap:anywhere}
.player-tools .text-link{white-space:normal}
.video-quality{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;color:var(--muted);white-space:nowrap}
.video-quality select{min-height:44px;padding:8px 28px 8px 12px;border:1px solid #f9eee742;border-radius:4px;background:#19151f;color:#f9eee7;font:inherit;cursor:pointer;max-width:100%}
.video-quality select:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.video-quality select:disabled{opacity:.6;cursor:default}
#player-quality{font-variant-numeric:tabular-nums;min-width:180px}
.player-tools{flex-wrap:wrap}

@media(max-width:600px){
  .header .pill,.language{min-height:44px}
  .language{min-width:44px}
  .hero-routes{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .hero-routes .soft-link{justify-content:space-between;min-height:44px;font-size:12px;gap:8px}
  .hero-routes .soft-link .icon{width:16px;height:16px}
  .motion-control{min-width:44px;min-height:44px;justify-content:flex-end}
  .work-shortcut{font-size:13px;gap:10px;line-height:1.35;min-height:44px}
  .work-intro .tiny-index{display:none}
  .campaign-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .campaign-feature{grid-column:auto}
  .campaign .film-card>img,.campaign-feature .film-card>img,.process-grid .film-card>img{aspect-ratio:16/9;height:auto}
  .campaign .film-caption{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
  .campaign .film-caption b,.campaign-feature .film-caption b{font-size:26px}
  .campaign .film-caption>span{margin:0}
  .campaign-feature>.text-link{margin-top:6px}
  .card-play{width:40px;height:40px}
  .work-picture,.epic-card .work-picture,.epic-card:first-child .work-picture{aspect-ratio:16/9}
  .work-grid{gap:30px}
  .shot-caption{flex-wrap:wrap;gap:4px 12px;align-items:baseline}
  .shot-caption strong{font-size:25px;line-height:1.15}
  .shot-caption small{margin-top:0;white-space:nowrap}
  .shot-role{font-size:13px;line-height:1.45}
  .gallery-filters{justify-content:flex-start;gap:4px}
  .gallery-filters button{min-height:44px;padding-inline:10px}
  .gallery-foot .text-link{font-size:13px}
  .process-grid .film-caption{flex-wrap:wrap;gap:6px 12px}
  .process-grid .film-caption b{font-size:25px}
  .noir-controls button{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 6px;align-content:start;min-height:72px}
  .noir-controls small{grid-column:1/-1;margin:0}
  .noir-controls .icon{width:14px;height:14px;align-self:center}
  .restore-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .restore-controls .pill{min-width:0;min-height:46px;font-size:12px;padding-inline:12px}
  .restore-controls>button[data-project]{grid-column:1/-1}
  .restore-controls output{grid-column:1/-1;margin:0;justify-self:end}
  .player-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:14px;margin:auto}
  .player-dialog .dialog-top{gap:12px;margin-bottom:12px}
  .player-dialog h2{font-size:17px}
  .player-dialog video{aspect-ratio:16/9;height:auto;max-height:calc(100dvh - 220px)}
  .player-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px}
  .player-tools>span{grid-column:1/-1;width:auto;line-height:1.4}
  .video-quality{grid-column:1/-1;justify-content:space-between}
  .video-quality select{flex:1;max-width:180px}
  .player-tools .text-link{font-size:12px;gap:8px;justify-content:space-between}
  .player-dialog p{margin-top:10px;font-size:12px}
  .player-dialog p:empty{display:none}
  .back-top{width:44px;height:44px;right:14px;bottom:max(14px,env(safe-area-inset-bottom))}
  .brief-actions{gap:16px}
}
@media(min-width:601px) and (max-height:500px){
  .player-dialog[open]:not(.expanded){display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:12px;padding:14px;max-height:calc(100dvh - 24px)}
  .player-dialog:not(.expanded) .dialog-top{grid-column:1/-1;margin:0}
  .player-dialog:not(.expanded) h2{font-size:18px}
  .player-dialog:not(.expanded) video{grid-column:1;grid-row:2/span 3;height:calc(100dvh - 110px);max-height:none;aspect-ratio:auto}
  .player-dialog:not(.expanded) .player-tools{grid-column:2;display:flex;flex-direction:column;align-items:stretch;gap:2px;margin:0}
  .player-dialog:not(.expanded) .player-tools>span{width:auto;margin:0;font-size:11px}
  .player-dialog:not(.expanded) .video-quality{gap:6px;font-size:11px}
  .player-dialog:not(.expanded) .video-quality select{min-height:36px;min-width:0;max-width:125px;padding:5px}
  .player-dialog:not(.expanded) .player-tools .text-link{justify-content:space-between;font-size:12px}
  .player-dialog:not(.expanded) p{grid-column:2;margin:0;font-size:12px}
  .player-dialog p:empty{display:none}
}
