/* Hyperdesk option H: the 40-second film, carried over from the home page and set in this page's type. */
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0B0B0D; color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; container-type: inline-size; }
.film-stage { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.film[data-state="playing"] .film-stage, .film[data-state="paused"] .film-stage { cursor: pointer; }
.film-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.88; transition: opacity 1.2s var(--ease), filter 1.2s var(--ease); }
.film[data-scene="s2"] .film-art { filter: grayscale(1) brightness(0.55); }
.film[data-scene="s3"] .film-art, .film[data-scene="s5"] .film-art { opacity: 0.55; }
.film[data-scene="s4"] .film-art { opacity: 0.42; }
.film[data-scene="s6"] .film-art { opacity: 0.28; }
.film-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 95% at 50% 45%, rgba(11, 11, 13, 0.18), rgba(11, 11, 13, 0.74)); pointer-events: none; }
.scene { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s 0.7s; }
.scene.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.f-title { margin: 0; max-width: 72cqw; font: 300 max(5.4cqw, 17px)/1.02 var(--serif); letter-spacing: -0.03em; text-align: center; text-wrap: balance; opacity: 0; transform: translateY(3cqh); filter: blur(1.2cqw); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
.scene.on .f-title { opacity: 1; transform: none; filter: blur(0); }
.f-title em { font-style: italic; color: rgba(255, 255, 255, 0.66); }
.f-title.side { max-width: 36cqw; font-size: max(4.4cqw, 15px); text-align: left; }
.s2, .s5 { grid-template-columns: auto auto; justify-content: center; align-content: center; gap: 6cqw; }
.f-old { position: relative; width: 30cqw; height: 46cqh; padding: 2cqw; display: flex; flex-direction: column; gap: 1.6cqh; border-radius: 0.6cqw; background: #EDEBE6; filter: grayscale(1) contrast(0.85); opacity: 0; transform: translateX(-3cqw) rotate(-2deg); transition: opacity 1s var(--ease) 0.2s, transform 1.2s var(--ease) 0.2s; }
.s2.on .f-old { opacity: 0.9; transform: rotate(-2deg); }
.f-old .os-bar { height: 3cqh; }
.f-old .os-h { padding: 0.6cqh 0; font-size: 1.3cqw; }
.f-old .os-l { height: 1.6cqh; }
.wire { position: relative; width: 60cqw; height: 64cqh; border: 1px dashed rgba(255, 255, 255, 0.3); border-radius: 1.6cqw; background: rgba(255, 255, 255, 0.03); overflow: hidden; transition: background 0.9s var(--ease), border-color 0.9s, box-shadow 0.9s; }
.wire i { position: absolute; border: 1px dashed rgba(255, 255, 255, 0.45); border-radius: 0.6cqw; opacity: 0; transform: scale(0.96); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), background 0.8s, border-color 0.8s; }
.s3.on .wire i { opacity: 1; transform: none; }
.s3.on .wire i:nth-child(2) { transition-delay: 0.25s; }
.s3.on .wire i:nth-child(3) { transition-delay: 0.5s; }
.s3.on .wire i:nth-child(4) { transition-delay: 0.75s; }
.s3.on .wire i:nth-child(5) { transition-delay: 1s; }
.s3.on .wire i:nth-child(6) { transition-delay: 1.25s; }
.s3.on .wire i:nth-child(7) { transition-delay: 1.5s; }
.wire .w1 { left: 4%; top: 5%; width: 92%; height: 8%; }
.wire .w2 { left: 6%; top: 24%; width: 50%; height: 11%; }
.wire .w3 { left: 6%; top: 38%; width: 38%; height: 11%; }
.wire .w4 { left: 6%; top: 56%; width: 44%; height: 3.5%; }
.wire .w5 { left: 6%; top: 62%; width: 36%; height: 3.5%; }
.wire .w6 { left: 6%; top: 74%; width: 18%; height: 9%; border-radius: 99px; }
.wire .w7 { left: 60%; top: 20%; width: 34%; height: 68%; }
.wire-h { position: absolute; left: 6%; top: 23%; width: 52%; font: 300 4.2cqw/1.02 var(--serif); letter-spacing: -0.03em; opacity: 0; transform: translateY(1cqh); transition: opacity 0.8s 0.3s, transform 0.9s var(--ease) 0.3s; }
.wire-b { position: absolute; left: 6%; top: 74%; height: 9%; padding: 0 2.2cqw; display: grid; place-items: center; border-radius: 99px; background: #fff; color: #111; font: 500 1.4cqw/1 var(--sans); opacity: 0; transition: opacity 0.6s 0.6s; }
.s3[data-phase="1"] .wire { background: linear-gradient(135deg, #141A3A 0%, #2C4EB8 52%, #76A0DE 78%, #FFC454 100%); border-color: transparent; box-shadow: 0 4cqh 8cqh -2cqh rgba(0, 0, 0, 0.6); }
.s3[data-phase="1"] .wire i { border-color: transparent; transition-delay: 0s; }
.s3[data-phase="1"] .wire .w1 { background: rgba(255, 255, 255, 0.12); }
.s3[data-phase="1"] .wire .w2, .s3[data-phase="1"] .wire .w3, .s3[data-phase="1"] .wire .w6 { opacity: 0; }
.s3[data-phase="1"] .wire .w4, .s3[data-phase="1"] .wire .w5 { background: rgba(255, 255, 255, 0.35); }
.s3[data-phase="1"] .wire .w7 { background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06)); }
.s3[data-phase="1"] .wire-h, .s3[data-phase="1"] .wire-b { opacity: 1; transform: none; }
.f-tag { position: absolute; top: 8cqh; left: 50%; translate: -50% 0; padding: 0.8cqw 1.4cqw; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 99px; background: rgba(255, 255, 255, 0.1); font: 500 max(1.2cqw, 9px)/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 0.5s, transform 0.5s var(--ease); }
.f-after { opacity: 0; transform: translateY(-1cqh); }
.s3[data-phase="1"] .f-before { opacity: 0; transform: translateY(1cqh); }
.s3[data-phase="1"] .f-after { opacity: 1; transform: none; }
.s4 { align-content: center; justify-items: center; gap: 3.4cqh; }
.f-kicker { margin: 0; font: 500 max(1.3cqw, 10px)/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.f-url { margin: 0; min-height: 1.2em; display: flex; align-items: center; font: 400 max(3.6cqw, 10px)/1.2 var(--mono); letter-spacing: -0.02em; }
.caret { display: inline-block; width: 0.08em; height: 1.05em; margin-left: 0.08em; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.f-card { display: flex; align-items: center; gap: 1.8cqw; padding: 1.2cqw 1.2cqw 1.2cqw 1.4cqw; border-radius: 99px; background: #fff; color: #111; font: 400 max(1.6cqw, 10px)/1 var(--sans); white-space: nowrap; box-shadow: 0 3cqh 6cqh -2cqh rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(3cqh) scale(0.96); transition: opacity 0.8s var(--ease) 2.8s, transform 1s var(--ease) 2.8s; }
.s4.on .f-card { opacity: 1; transform: none; }
.f-chip { padding: 0.7cqw 1cqw; border-radius: 99px; background: #F1F0EC; font: 500 max(1.05cqw, 8px)/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.f-pay { padding: 1cqw 1.6cqw; border-radius: 99px; background: #111; color: #fff; font-weight: 500; }
.f-phone { width: 22cqw; height: 76cqh; padding: 4cqh 1.8cqw 3cqh; display: flex; flex-direction: column; gap: 2cqh; border-radius: 3.2cqw; background: #fff; color: #111; box-shadow: 0 5cqh 10cqh -3cqh rgba(0, 0, 0, 0.7); opacity: 0; transform: translateY(6cqh) rotate(-4deg); transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }
.s5.on .f-phone { opacity: 1; transform: rotate(-4deg); }
.f-phone > * { opacity: 0; transform: translateY(1.2cqh); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
.s5.on .f-phone > * { opacity: 1; transform: none; }
.s5.on .f-phone > :nth-child(1) { transition-delay: 0.5s; }
.s5.on .f-phone > :nth-child(2) { transition-delay: 0.7s; }
.s5.on .f-phone > :nth-child(3) { transition-delay: 0.9s; }
.s5.on .f-phone > :nth-child(4) { transition-delay: 1.05s; }
.s5.on .f-phone > :nth-child(5) { transition-delay: 1.2s; }
.s5.on .f-phone > :nth-child(6) { transition-delay: 1.45s; }
.fp-nav { height: 2.4cqh; width: 40%; border-radius: 99px; background: #E7E5E0; }
.fp-h { margin-top: 2cqh; font: 300 2.6cqw/1.02 var(--serif); letter-spacing: -0.02em; }
.fp-l { height: 1.4cqh; border-radius: 99px; background: #E7E5E0; }
.fp-l.short { width: 70%; }
.fp-img { flex: 1; min-height: 0; border-radius: 1.6cqw; background: linear-gradient(160deg, #0B3550, #1C70A0 52%, #78C4DE); }
.fp-btn { height: 7cqh; display: grid; place-items: center; border-radius: 99px; background: #111; color: #fff; font: 500 1.3cqw/1 var(--sans); }
.s6 { grid-template-columns: auto auto; justify-content: center; align-content: center; }
.f-price { margin: 0; padding: 0 5cqw; display: flex; flex-direction: column; align-items: flex-start; gap: 1.6cqh; opacity: 0; transform: translateY(3cqh); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.f-price + .f-price { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.s6.on .f-price:first-child, .s6[data-phase="1"] .f-price + .f-price { opacity: 1; transform: none; }
.f-price span { font: 300 max(12cqw, 40px)/0.9 var(--serif); letter-spacing: -0.04em; }
.f-price small { max-width: 20cqw; font: 500 max(1.3cqw, 9px)/1.35 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.s7 { align-content: center; justify-items: center; gap: 3.6cqh; }
.s7 img { width: 22cqw; height: auto; filter: invert(1); opacity: 0; transform: translateY(2cqh); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.s7.on img { opacity: 1; transform: none; }
.s7 .f-title { font-size: max(4.6cqw, 16px); }
.f-meta { margin: 0; font: 500 max(1.3cqw, 9px)/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); opacity: 0; transition: opacity 1s 0.8s; }
.s7.on .f-meta { opacity: 1; }
.film-cover { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; gap: 14px; padding: clamp(16px, 3.4cqw, 36px); background: linear-gradient(0deg, rgba(11, 11, 13, 0.72), transparent 48%); transition: opacity 0.4s, visibility 0s 0.4s; }
.film[data-state="playing"] .film-cover, .film[data-state="paused"] .film-cover { opacity: 0; visibility: hidden; }
.film-play { flex: none; width: clamp(48px, 7cqw, 76px); height: clamp(48px, 7cqw, 76px); padding-left: 3px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #111; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.3s var(--ease); }
.film-play:hover { transform: scale(1.06); }
.film-runtime { padding-bottom: clamp(14px, 2.4cqw, 28px); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 14px; padding: clamp(10px, 2cqw, 22px) clamp(12px, 2.4cqw, 28px); background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s; }
.film[data-state="playing"] .film-bar, .film[data-state="paused"] .film-bar { opacity: 1; visibility: visible; transition-delay: 0s; }
.film[data-state="playing"].calm .film-bar { opacity: 0; }
.film-toggle { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film-toggle .i-play, .film[data-state="paused"] .film-toggle .i-pause { display: none; }
.film[data-state="paused"] .film-toggle .i-play { display: block; }
.film-progress { flex: 1; padding: 8px 0; cursor: pointer; }
.film-progress i { display: block; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff var(--p, 0%), rgba(255, 255, 255, 0.22) var(--p, 0%)); }
#film-time { font-size: 12px; color: rgba(255, 255, 255, 0.8); font-variant-numeric: tabular-nums; white-space: nowrap; }
.f-old .os-bar { flex: none; background: #8E8A85; }
.f-old .os-h { flex: none; font-family: 'Times New Roman', Times, serif; font-weight: 700; line-height: 1; letter-spacing: 0.1em; color: #4A4744; text-align: center; }
.f-old .os-img { flex: 1; background: repeating-linear-gradient(45deg, #C4C0BA 0 6px, #D3CFC9 6px 12px); }
.f-old .os-l { flex: none; background: #BDB8B1; }
.f-old .os-l.short { width: 60%; }
/* This page's type: a bold grotesque in place of the light serif. */
.film { border-radius: 20px; }
.f-title, .wire-h, .fp-h, .f-price span { font-weight: 640; letter-spacing: -0.035em; }
.f-title em { font-style: normal; color: #9DB7FF; }
.f-price span { font-weight: 700; }
.film-runtime, #film-time { font-family: var(--sans); font-weight: 600; }
/* Narrow films (small phones): the private-link card drops its chip so it fits. */
@container (max-width: 420px) { .f-chip { display: none; } }
