.hero-intro { max-width: 34em; color: #f4faf9; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; }
.hero .sub { font-size: 14px; opacity: .8; }
#stage { z-index: 0; background: #203e43 url('./assets/stills/territory.jpg') center / cover no-repeat; }
#stage canvas { opacity: 0; transition: opacity 800ms ease; }
#stage[data-ready] canvas { opacity: 1; }
.hero-loop-cover { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }
.overview-examples-link { color: var(--text); text-decoration: none; font-size: 14px; padding: 12px 8px; }
#pauseBtn { display: block; min-width: 64px; min-height: 44px; }
#pauseBtn:disabled { opacity: .55; }
.hero-film-note { position: absolute; bottom: 64px; right: 24px; color: white; font-size: 13px; }
.demo-heading { display: flex; gap: 48px; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.demo-heading h2 { margin: 0; }
.demo-heading .lede { max-width: 29em; margin: 0; }
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.demo-card { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: left; background: var(--ink-1); color: var(--text); cursor: pointer; font: inherit; transition: border-color 160ms ease, transform 160ms ease; }
.demo-card:hover { border-color: var(--brand-lift); transform: translateY(-3px); }
.demo-card:focus-visible, .demo-close:focus-visible { outline: 3px solid var(--brand-lift); outline-offset: 5px; }
.demo-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #203e43; }
.demo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-open { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #142d32; color: white; font-size: 19px; }
.demo-card-copy { display: grid; gap: 10px; padding: 22px; }
.demo-audience { color: var(--muted); font-size: 12px; line-height: 1.5; }
.demo-card strong { font: 600 22px/1.2 var(--sans); }
.demo-summary { font-size: 15px; line-height: 1.5; }
.demo-note { margin-top: 24px; color: var(--muted); font-size: 13px; }
.demo-preview { position: fixed; z-index: 300; width: min(560px, calc(100vw - 24px)); border-radius: 14px; overflow: hidden; border: 1px solid var(--brand-lift); background: var(--ink-1); color: var(--text); box-shadow: 0 18px 60px #0008; }
.demo-preview[hidden] { display: none; }
.demo-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.demo-preview > div { padding: 20px 24px; }
.demo-preview strong { font: 600 22px var(--sans); }
.demo-preview p { font: 15px/1.55 var(--body); margin: 10px 0 0; }
.demo-dialog { width: min(1440px, calc(100vw - 48px)); max-width: none; height: min(940px, calc(100dvh - 48px)); max-height: none; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-1); color: var(--text); overflow: hidden; }
.demo-dialog[open] { display: flex; flex-direction: column; }
.demo-dialog::backdrop { background: #051014cf; }
.demo-dialog-head { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 18px 24px 12px; }
.demo-dialog-head p { color: var(--muted); font-size: 12px; margin: 0 0 6px; }
.demo-dialog h2 { font-size: 24px; margin: 0; }
.demo-dialog-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.demo-dialog-actions .btn { font-size: 13px; min-height: 44px; }
.demo-close { border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; color: inherit; background: transparent; font-size: 26px; cursor: pointer; }
.demo-dialog-copy { padding: 0 24px 16px; margin: 0; font-size: 14px; line-height: 1.5; }
.demo-viewer { position: relative; flex: 1; min-height: 0; background: #203e43; }
.demo-poster, .demo-viewer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.demo-loading { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 12px 18px; width: max-content; max-width: 90%; border-radius: 8px; background: #10282ff2; color: white; font-size: 14px; }
.event-cta { padding: 28px 0 0; }
.event-cta strong { display: block; margin-bottom: 6px; }
#live[data-city="hongkong"] .live-bg { transform: none; object-position: center; }
#live .cities { flex-wrap: wrap; }
#liveOpen { display: none; }
.entry-panel[data-panel="plugins"] .shot img { object-fit: contain; background: white; }
@media (max-width: 900px) { #liveOpen { display: inline-flex; } }
@media (max-width: 1100px) {
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-heading { align-items: start; gap: 28px; }
}
@media (max-width: 820px) {
  .trust-strip .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .trust-strip span { display: block; white-space: normal; line-height: 1.5; }
  .trust-strip b { display: block; }
}
@media (max-width: 650px) {
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .demo-heading { display: block; }
  .demo-heading .lede { margin-top: 20px; }
  .demo-preview { display: none; }
  .demo-dialog { width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .demo-dialog-head { padding: max(12px, env(safe-area-inset-top)) 12px 12px; gap: 10px; }
  .demo-dialog h2 { font-size: 19px; }
  .demo-dialog-head p { display: none; }
  .demo-dialog-actions { gap: 8px; }
  .demo-dialog-actions .btn { padding: 8px; font-size: 11px; }
  .demo-dialog-copy { padding: 0 12px 12px; font-size: 12px; }
  .hero-intro { max-width: 27em; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-card, #stage canvas { transition: none; }
  .demo-card:hover { transform: none; }
}
