/* The TV commercial: cinema player on the homepage and /commercial/ (assets/js/commercial.js) */
.cine { position: relative; padding: clamp(80px, 13vh, 160px) 0 clamp(70px, 11vh, 140px); border-top: 1px solid var(--line); overflow: clip;
  background: radial-gradient(70% 50% at 50% 58%, rgba(255, 74, 28, .13), transparent 70%), radial-gradient(40% 30% at 12% 8%, rgba(123, 92, 255, .10), transparent 70%); }
.cine--page { border-top: 0; padding-top: clamp(28px, 5vh, 64px); }
.cine__head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 6vh, 72px); }
.cine__head .display { margin: 0; max-width: 12ch; font-size: clamp(40px, 6vw, 96px); }
.cine__lede { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 44ch; }
.cine__stage { position: relative; width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; perspective: 1800px; --s: 1; --rx: 0deg; }
.cine__amb { position: absolute; inset: -7% -6% -12%; width: 112%; height: 119%; filter: blur(60px) saturate(1.5); opacity: .55; pointer-events: none; border-radius: 40px; transition: opacity .8s var(--ease); }
.cine.is-on .cine__amb { opacity: .85; }
.cine__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(14px, 1.6vw, 26px); overflow: hidden; background: #000; isolation: isolate; transform: rotateX(var(--rx)) scale(var(--s)); transform-origin: 50% 100%; will-change: transform;
  box-shadow: 0 0 0 1px rgba(242, 238, 230, .16), 0 0 0 7px rgba(10, 9, 13, .9), 0 0 0 8px rgba(255, 74, 28, .55), 0 0 60px rgba(255, 74, 28, .22), 0 60px 120px -30px rgba(0, 0, 0, .9); }
.cine__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.cine__loop { transition: opacity .5s var(--ease); }
.cine__v { opacity: 0; transition: opacity .4s var(--ease); }
.cine.is-on .cine__v { opacity: 1; } .cine.is-on .cine__loop { opacity: 0; }
.cine__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 5, 8, .82), rgba(6, 5, 8, .25) 34%, rgba(6, 5, 8, .12) 60%, rgba(6, 5, 8, .35)); transition: opacity .45s var(--ease); pointer-events: none; }
.cine.is-on .cine__shade { opacity: 0; }
/* big play */
.cine__play { position: absolute; inset: 0; width: 100%; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; padding-bottom: clamp(26px, 5.2%, 60px); transition: opacity .35s var(--ease), visibility .35s; }
.cine.is-on .cine__play, .cine.is-end .cine__play { opacity: 0; visibility: hidden; pointer-events: none; }
.cine__disc { position: relative; display: grid; place-items: center; width: clamp(84px, 9.4vw, 136px); aspect-ratio: 1; border-radius: 50%; background: var(--signal); color: var(--signal-ink); transition: transform .5s var(--ease); box-shadow: 0 0 60px rgba(255, 74, 28, .65); }
.cine__disc svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }
.cine__disc::before, .cine__disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 107, 64, .75); animation: cine-ring 2.6s cubic-bezier(.2, .6, .2, 1) infinite; }
.cine__disc::after { animation-delay: 1.3s; }
@keyframes cine-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }
.cine__play:hover .cine__disc { transform: scale(1.08); }
.cine__playt { display: inline-flex; align-items: center; gap: .8em; color: #F2EEE6; background: rgba(10, 9, 13, .72); border: 1px solid rgba(242, 238, 230, .16); border-radius: 999px; padding: 9px 18px; }
.cine__playt b { font-weight: 400; color: #FF8A66; }
.cine__spin { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px; border-radius: 50%; border: 3px solid rgba(242, 238, 230, .2); border-top-color: var(--signal); opacity: 0; pointer-events: none; }
.cine.is-wait .cine__spin { opacity: 1; animation: cine-spin .8s linear infinite; }
@keyframes cine-spin { to { transform: rotate(360deg); } }
/* captions */
.cine__cap { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); max-width: 88%; padding: 6px 14px; border-radius: 8px; background: rgba(6, 5, 8, .84); color: #fff; font-size: clamp(14px, 1.5vw, 22px); line-height: 1.35; font-weight: 560; text-align: center; pointer-events: none; }
.cine__cap:empty { display: none; }
/* controls */
.cine__ctl { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); padding: 40px clamp(12px, 2vw, 26px) clamp(10px, 1.5vw, 20px); background: linear-gradient(0deg, rgba(6, 5, 8, .88), transparent); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; color: #F2EEE6; }
.cine.is-on .cine__ctl { opacity: 1; visibility: visible; }
.cine.is-on.is-idle .cine__ctl { opacity: 0; }
.cine.is-on.is-idle .cine__ctl:focus-within { opacity: 1; }
.cine__b { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(242, 238, 230, .10); color: inherit; transition: background-color .25s, color .25s; }
.cine__b svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cine__b:hover, .cine__b[aria-pressed="true"] { background: var(--signal); color: var(--signal-ink); }
.cine__b [data-i="pause"], .cine__b [data-i="mute"] { display: none; }
.cine:not(.is-paused) .cine__b [data-i="pause"] { display: block; } .cine:not(.is-paused) .cine__b [data-i="play"] { display: none; }
.cine.is-muted .cine__b [data-i="mute"] { display: block; } .cine.is-muted .cine__b [data-i="snd"] { display: none; }
.cine__time { flex: none; color: #F2EEE6; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.cine__seek { flex: 1; min-width: 0; height: 44px; margin: 0; background: none; -webkit-appearance: none; appearance: none; --p: 0%; }
.cine__seek::-webkit-slider-runnable-track { height: 5px; border-radius: 9px; background: linear-gradient(90deg, var(--signal) var(--p), rgba(242, 238, 230, .28) var(--p)); }
.cine__seek::-moz-range-track { height: 5px; border-radius: 9px; background: linear-gradient(90deg, var(--signal) var(--p), rgba(242, 238, 230, .28) var(--p)); }
.cine__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; margin-top: -6px; border-radius: 50%; background: #F2EEE6; box-shadow: 0 0 0 4px rgba(255, 74, 28, .5); }
.cine__seek::-moz-range-thumb { width: 17px; height: 17px; border: 0; border-radius: 50%; background: #F2EEE6; box-shadow: 0 0 0 4px rgba(255, 74, 28, .5); }
/* end card */
.cine__end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 26px); padding: 24px; text-align: center; background: radial-gradient(60% 70% at 50% 50%, rgba(40, 12, 4, .78), rgba(6, 5, 8, .94)); color: #F2EEE6; }
.cine__end[hidden] { display: none; }
.cine__end p { font-size: clamp(26px, 4vw, 62px); line-height: 1; letter-spacing: -.04em; font-weight: 600; max-width: 16ch; text-wrap: balance; }
.cine__end div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* chapters */
.cine__ch { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin-top: clamp(28px, 4.4vw, 56px); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); position: relative; }
.cine__ch button { width: 100%; height: 100%; min-height: 78px; text-align: left; border: 0; background: var(--bg); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; position: relative; transition: background-color .3s; }
.cine__ch button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--signal); transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
.cine__ch button:hover, .cine__ch .is-now button { background: var(--card); }
.cine__ch span { color: var(--mute); } .cine__ch .is-now span { color: var(--signal-text); }
.cine__ch b { font-weight: 560; font-size: 15.5px; line-height: 1.25; letter-spacing: -.01em; }
.cine__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: clamp(22px, 3vw, 36px); }
.cine__foot div { display: flex; flex-wrap: wrap; gap: 12px; }
.cine__note { color: var(--mute); font-size: 14px; line-height: 1.5; max-width: 62ch; }
/* everything inside the fullscreen frame needs a real cursor (the site draws its own) */
html.fine:not(.calm) .cine__frame:fullscreen, html.fine:not(.calm) .cine__frame:fullscreen * { cursor: auto; }
html.fine:not(.calm) .cine__frame:fullscreen button { cursor: pointer; }
.cine__frame:fullscreen { border-radius: 0; transform: none; aspect-ratio: auto; } .cine__frame:fullscreen video { object-fit: contain; }
html.calm .cine__disc::before, html.calm .cine__disc::after { animation: none; opacity: 0; }
/* page extras */
.cinew { padding: clamp(60px, 10vh, 120px) 0; border-top: 1px solid var(--line); }
.cinew__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(32px, 6vw, 100px); }
.cinew .display { font-size: clamp(34px, 4.6vw, 70px); margin: 0; }
.cinew__t { display: grid; border-top: 1px solid var(--line); }
.cinew__t li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cinew__t span { color: var(--mute); } .cinew__t p { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -.015em; } .cinew__t small { display: block; color: var(--mute); font-size: 15px; letter-spacing: 0; margin-top: 4px; }
@media (max-width: 1080px) { .cine__ch { grid-template-columns: repeat(4, 1fr); } .cine__ch li:last-child { grid-column: span 2; } }
@media (max-width: 760px) {
  .cine__head, .cinew__grid { grid-template-columns: 1fr; }
  .cine__stage { width: min(100% - 2 * var(--gutter), 430px); }
  .cine__frame { aspect-ratio: 9 / 16; max-height: calc(100svh - 96px); margin-inline: auto; }
  .cine__play { justify-content: flex-end; padding-bottom: 12%; }
  .cine__cap { bottom: 15%; width: 88%; }
  .cine__ch { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; }
  .cine__ch::-webkit-scrollbar { display: none; }
  .cine__ch li { flex: 0 0 148px; scroll-snap-align: start; }
  .cine__ctl { flex-wrap: wrap; justify-content: space-between; padding-bottom: 14px; }
  .cine__seek { order: -1; flex: 0 0 100%; height: 34px; }
  .cine__foot .btn { width: 100%; } .cine__foot div { width: 100%; }
}
