/* [SITE-HOME-VIDEO] One responsive stage for the homepage motion reel; every size is a multiple of --unit, which follows the stage width. */
.motion-reel { --reel-text: #eee; --reel-muted: #a3a3a3; --reel-accent: #ff5449; --reel-surface: #171717; --reel-border: #2e2e2e; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #0c0c0c; box-shadow: 0 20px 40px #0e0e0e99; }
.motion-reel__stage { --unit: 1cqi; position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; color: var(--reel-text); background: radial-gradient(ellipse at 50% 115%, #3d1a17, #0c0c0c 70%); }
.motion-reel__scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(3.5 * var(--unit)); padding: calc(5 * var(--unit)); text-align: center; }
.motion-reel__scene[aria-hidden="true"] { visibility: hidden; }
.motion-reel__scene p, .motion-reel__scene ul, .motion-reel__scene ol { margin: 0; padding: 0; color: inherit; list-style: none; }
.motion-reel__scene .motion-reel__headline { max-width: 15em; font: 700 calc(6 * var(--unit)) / 1.1 var(--font-head); letter-spacing: -0.035em; text-wrap: balance; }
.motion-reel__panes { display: flex; gap: calc(3 * var(--unit)); width: min(100%, calc(70 * var(--unit))); }
.motion-reel__pane { flex: 1; display: grid; gap: calc(1.4 * var(--unit)); padding: calc(2.6 * var(--unit)); border: 1px solid var(--reel-border); border-radius: calc(0.8 * var(--unit)); background: var(--reel-surface); }
.motion-reel__line { display: flex; gap: calc(var(--unit)); height: calc(1.3 * var(--unit)); padding-left: calc(var(--indent) * 3 * var(--unit)); }
.motion-reel__line i { width: var(--width); border-radius: calc(var(--unit)); background: #4d4d4d; }
.motion-reel__line i:nth-child(2) { background: #737373; }
.motion-reel__line i:nth-child(3) { background: #949494; }
.motion-reel__copy { position: relative; isolation: isolate; display: grid; gap: inherit; }
.motion-reel__copy b { position: absolute; inset: calc(-0.7 * var(--unit)) calc(-1.3 * var(--unit)); z-index: -1; border-left: 2px solid var(--reel-accent); border-radius: 2px; background: #ff544929; }
.motion-reel__languages { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(1.2 * var(--unit)); }
.motion-reel__languages li { padding: calc(0.9 * var(--unit)) calc(2 * var(--unit)); text-align: center; border: 1px solid var(--reel-border); border-radius: calc(3 * var(--unit)); background: var(--reel-surface); font: 500 calc(2.3 * var(--unit)) / 1.2 var(--font-mono); }
.motion-reel__ranks { display: grid; gap: calc(1.4 * var(--unit)); width: min(100%, calc(56 * var(--unit))); }
.motion-reel__ranks li { display: flex; align-items: center; gap: calc(1.6 * var(--unit)); color: var(--reel-muted); font: 500 calc(2 * var(--unit)) / 1 var(--font-mono); }
.motion-reel__ranks li > span:last-child { flex: 1; display: flex; }
.motion-reel__ranks i { width: var(--width); height: calc(2.6 * var(--unit)); border-radius: calc(0.5 * var(--unit)); background: var(--reel-accent); transform-origin: left; }
.motion-reel__ranks li:nth-child(2) i { background: #c9443b; }
.motion-reel__ranks li:nth-child(3) i { background: #8f3a33; }
.motion-reel__ranks li:nth-child(4) i { background: #5c2f2a; }
.motion-reel__chat { display: grid; gap: calc(1.2 * var(--unit)); width: min(100%, calc(64 * var(--unit))); text-align: left; }
.motion-reel__scene .motion-reel__chat p { display: flex; align-items: baseline; gap: calc(2 * var(--unit)); padding: calc(1.5 * var(--unit)) calc(2.2 * var(--unit)); border: 1px solid var(--reel-border); border-radius: calc(0.8 * var(--unit)); background: var(--reel-surface); font-size: calc(2.4 * var(--unit)); line-height: 1.3; }
.motion-reel__chat span { flex: none; min-width: 4.6em; color: var(--reel-muted); font: 600 calc(1.6 * var(--unit)) / 1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.motion-reel__scene .motion-reel__chat p:nth-child(2) { border-color: #ff544973; }
.motion-reel__chat p:nth-child(2) span { color: var(--reel-accent); }
.motion-reel__scene .motion-reel__wordmark { display: flex; align-items: center; gap: calc(2.4 * var(--unit)); font: 700 calc(8 * var(--unit)) / 1 var(--font-head); letter-spacing: -0.04em; }
.motion-reel__wordmark img { width: calc(11 * var(--unit)); height: auto; border-radius: calc(2 * var(--unit)); }
.motion-reel__scene[data-scene="brand"] .motion-reel__headline { color: var(--reel-muted); font-size: calc(3.2 * var(--unit)); font-weight: 500; letter-spacing: 0; }
.motion-reel__controls { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 0.5rem; }
.motion-reel__controls[hidden] { display: none; }
.motion-reel__toggle { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; opacity: 0.4; cursor: pointer; transition: opacity var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.motion-reel__toggle:hover, .motion-reel__toggle:focus-visible { opacity: 1; background: #ffffff1f; }
.motion-reel__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.motion-reel__toggle svg { width: 0.875rem; height: 0.875rem; fill: currentColor; }
.motion-reel[data-playing="true"] .motion-reel__play, .motion-reel:not([data-playing="true"]) .motion-reel__pause { display: none; }
@media (max-width: 767.98px) {
  .motion-reel { max-width: 24rem; margin-inline: auto; }
  .motion-reel__stage { --unit: 1.6cqi; aspect-ratio: 1; }
  .motion-reel__panes, .motion-reel__ranks, .motion-reel__chat { width: 100%; }
}
