/* "Cinematic world" family (designs 09–14). Every design sets these tokens; components below only read them. */
:root {
  --bg: #0b0c1c; --bg-2: #101126; --card: #15162e; --card-2: #1c1d3a; --line: rgba(255,255,255,.09);
  --fg: #f4f3f8; --muted: rgba(244,243,248,.62); --dim: rgba(244,243,248,.4);
  --accent: #ffa62b; --accent-2: #ff7a1a; --accent-fg: #160d02; --glow: rgba(255,166,43,.35);
  --display: "Archivo", system-ui, sans-serif; --display-stretch: 125%; --display-weight: 800; --display-case: uppercase; --display-track: -.01em;
  --body: "Inter", system-ui, sans-serif;
  --r: 22px; --r-sm: 12px; --wrap: 1240px; --shade: 5,6,16;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
section { position: relative; }
.sec { padding: 130px 0; }
.sec--tight { padding: 90px 0; }

/* Type */
.c-h { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); line-height: .98; margin: 0; }
.c-h--xl { font-size: clamp(44px, 7.4vw, 112px); }
.c-h--lg { font-size: clamp(36px, 5.2vw, 76px); }
.c-h--md { font-size: clamp(30px, 4.2vw, 60px); }
.c-h em, .hl { font-style: normal; color: var(--accent); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow--dim { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 0; }
.head { display: grid; gap: 18px; margin-bottom: 56px; }
.head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.head--center { text-align: center; justify-items: center; }
.head--center .lead { max-width: 60ch; }

/* Buttons */
.c-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--accent-fg); box-shadow: 0 10px 40px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s, box-shadow .25s, filter .25s; white-space: nowrap; }
.c-btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 50px var(--glow), inset 0 1px 0 rgba(255,255,255,.35); }
.c-btn svg { width: 16px; height: 16px; }
.c-btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.c-btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--fg); filter: none; }
.c-btn--sm { height: 40px; padding: 0 18px; font-size: 13px; }
.tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; background: rgba(var(--shade),.6); color: #fff; backdrop-filter: blur(8px); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(var(--shade),.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 17px; }
.logo__mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 24px var(--glow); position: relative; }
.logo__mark::after { content: ""; position: absolute; inset: 7px 6px 7px 9px; background: var(--accent-fg); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: .85; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 34px 20px; text-align: center; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1; color: var(--accent); }
.stats span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Pinned stories ---------- */
[data-cine="stories-pinned"] { height: calc(var(--n) * 85vh + 100vh); }
.sp__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sp__bg { position: absolute; inset: -40px; background: center/cover; filter: blur(34px) saturate(1.3) brightness(.62); transform: scale(1.12); opacity: 0; transition: opacity 1s ease, transform 6s ease; }
.sp__bg.on { opacity: 1; transform: scale(1.02); }
.sp__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade),.92) 0%, rgba(var(--shade),.55) 55%, rgba(var(--shade),.25) 100%), linear-gradient(0deg, rgba(var(--shade),.9), transparent 30%); }
.sp__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: 110px 0 36px; gap: 0 60px; }
.sp__head { grid-column: 1 / -1; display: grid; gap: 10px; }
.sp__text { position: relative; align-self: center; min-height: 300px; }
.sp__item { position: absolute; inset: 0 0 auto; display: grid; gap: 14px; justify-items: start; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.sp__item.on { opacity: 1; transform: none; pointer-events: auto; }
.sp__item p { margin: 0 0 8px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.sp__item .c-h { max-width: 12ch; }
.sp__count { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 14px; color: var(--accent); }
.sp__count i { font-style: normal; color: var(--dim); }
.sp__phone { grid-row: 2; grid-column: 2; align-self: center; width: min(300px, 26vw); aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; position: relative; cursor: pointer; box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.14); transform: rotate(2deg); }
.sp__phone video { width: 100%; height: 100%; object-fit: cover; }
.sp__phone.swap { animation: swap .7s cubic-bezier(.2,.7,.2,1); }
@keyframes swap { from { transform: rotate(2deg) translateY(40px) scale(.94); opacity: .2; } }
.sp__cap { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); display: grid; font-size: 13px; color: #fff; }
.sp__cap small { color: rgba(255,255,255,.65); }
.sp__tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 14px; }
.sp__tabs button { display: grid; gap: 10px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); transition: color .3s; }
.sp__tabs button i { height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.sp__tabs button i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.sp__tabs .on, .sp__tabs .past { color: var(--fg); }
.sp__tabs .on i::after, .sp__tabs .past i::after { transform: scaleX(1); }
.sp__tabs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Story rail ---------- */
.sr__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.sr__track::-webkit-scrollbar { display: none; }
.sr__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; min-height: 640px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 60px 70px; }
.sr__bg { position: absolute; inset: -40px; background: center/cover; filter: blur(30px) saturate(1.3) brightness(.55); }
.sr__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--shade),.85), rgba(var(--shade),.2)); }
.sr__copy, .sr__phone { position: relative; z-index: 1; }
.sr__copy { display: grid; gap: 14px; justify-items: start; }
.sr__copy p { margin: 0 0 8px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.sr__copy .c-h { max-width: 12ch; }
.sr__phone { width: 290px; aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; cursor: pointer; box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.15); }
.sr__phone video { width: 100%; height: 100%; object-fit: cover; }
.sr__ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.sr__arrow { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; transition: background .2s; }
.sr__arrow:hover { background: var(--card-2); }
.sr__dots { display: flex; gap: 8px; }
.sr__dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .3s, background .3s; }
.sr__dots .on { width: 30px; background: var(--accent); }

/* ---------- Accordion stories ---------- */
[data-cine="stories-accordion"] { display: flex; gap: 12px; height: 620px; }
.sa__panel { flex: 1; position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer; transition: flex .7s cubic-bezier(.2,.7,.2,1); min-width: 0; outline: none; }
.sa__panel.open { flex: 4.2; }
.sa__panel img, .sa__panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sa__panel video { opacity: 0; transition: opacity .4s; }
.sa__panel.open video { opacity: 1; }
.sa__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade),.92), rgba(var(--shade),.1) 60%); transition: background .5s; }
.sa__panel:not(.open) .sa__shade { background: rgba(var(--shade),.6); }
.sa__num { position: absolute; top: 18px; left: 20px; font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; color: var(--accent); }
.sa__copy { position: absolute; left: 28px; right: 28px; bottom: 28px; display: grid; gap: 10px; justify-items: start; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s; }
.sa__panel.open .sa__copy { opacity: 1; transform: none; transition-delay: .25s; }
.sa__copy .c-h { font-size: clamp(26px, 2.6vw, 40px); max-width: 14ch; }
.sa__copy p { margin: 0; color: rgba(255,255,255,.75); max-width: 38ch; }
.sa__vert { position: absolute; left: 50%; bottom: 30px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.sa__panel.open .sa__vert { opacity: 0; }

/* ---------- Stacking stories ---------- */
.ss__card { position: sticky; top: calc(100px + var(--i) * 18px); display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: center; padding: 36px; margin-bottom: 60px; border-radius: calc(var(--r) + 8px); background: var(--card); box-shadow: 0 -1px 0 var(--line) inset, 0 30px 80px rgba(0,0,0,.35); border: 1px solid var(--line); transform: scale(calc(1 - var(--k, 0) * .06)); filter: brightness(calc(1 - var(--k, 0) * .35)); transform-origin: top center; }
.ss__media { aspect-ratio: 9/16; border-radius: var(--r); overflow: hidden; cursor: pointer; }
.ss__media video { width: 100%; height: 100%; object-fit: cover; }
.ss__copy { display: grid; gap: 14px; justify-items: start; }
.ss__copy p { margin: 0; color: var(--muted); font-size: 18px; max-width: 44ch; }
.ss__frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; margin: 10px 0; }
.ss__frames img { aspect-ratio: 9/12; object-fit: cover; border-radius: var(--r-sm); width: 100%; }

/* ---------- Channel TV ---------- */
.sc__tv { position: relative; overflow: hidden; border-radius: calc(var(--r) + 6px); min-height: 640px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 60px 70px; border: 1px solid var(--line); }
.sc__bg { position: absolute; inset: -40px; background: center/cover; filter: blur(28px) saturate(1.2) brightness(.5); }
.sc__tv::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px), linear-gradient(90deg, rgba(var(--shade),.85), rgba(var(--shade),.15)); pointer-events: none; }
.sc__noise { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sc__tv.zap .sc__noise { animation: zap .45s steps(5); }
.sc__tv.zap .sc__copy, .sc__tv.zap .sc__phone { animation: zapin .6s cubic-bezier(.2,.7,.2,1); }
@keyframes zap { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes zapin { 0% { opacity: 0; transform: scaleY(.02); } 40% { opacity: 1; transform: scaleY(1.04); } 100% { transform: none; } }
.sc__hud { position: absolute; z-index: 2; top: 22px; left: 26px; right: 26px; display: flex; justify-content: space-between; font-family: var(--mono, monospace); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.sc__ch { color: var(--accent); font-weight: 700; }
.sc__live { display: inline-flex; align-items: center; gap: 8px; }
.sc__live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sc__copy, .sc__phone { position: relative; z-index: 2; }
.sc__copy { display: grid; gap: 14px; justify-items: start; }
.sc__copy p { margin: 0 0 8px; color: var(--muted); font-size: 18px; max-width: 40ch; }
.sc__copy .c-h { max-width: 12ch; }
.sc__phone { width: 290px; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; cursor: pointer; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 40px 100px rgba(0,0,0,.6); }
.sc__phone video { width: 100%; height: 100%; object-fit: cover; }
.sc__remote { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.sc__remote button { position: relative; display: grid; gap: 4px; text-align: left; padding: 14px 16px 14px 74px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--card); transition: border-color .2s, background .2s; min-height: 76px; align-content: center; }
.sc__remote img { position: absolute; left: 10px; top: 10px; bottom: 10px; width: 52px; height: calc(100% - 20px); object-fit: cover; border-radius: 6px; filter: grayscale(1) brightness(.7); transition: filter .3s; }
.sc__remote b { font-family: var(--mono, monospace); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.sc__remote span { font-size: 13px; line-height: 1.25; }
.sc__remote .on { border-color: var(--accent); background: var(--card-2); }
.sc__remote .on img, .sc__remote button:hover img { filter: none; }

/* ---------- Fan / coverflow ---------- */
[data-cine="fan"] { position: relative; height: 560px; perspective: 1400px; }
.fan__card { position: absolute; left: 50%; top: 20px; width: 280px; aspect-ratio: 9/16; margin-left: -140px; border-radius: var(--r); overflow: hidden; cursor: pointer; background: #000;
  transform: translateX(calc(var(--o) * 205px)) translateZ(calc(var(--a) * -140px)) rotateY(calc(var(--o) * -14deg)) rotateZ(calc(var(--o) * 2deg));
  z-index: calc(10 - var(--a)); filter: brightness(calc(1 - var(--a) * .22)); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1); }
.fan__card.on { box-shadow: 0 30px 90px var(--glow), 0 0 0 1px rgba(255,255,255,.2); }
.fan__card img, .fan__card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan__cap { position: absolute; inset: auto 0 0; padding: 50px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: grid; grid-template-columns: 1fr auto; font-size: 13px; color: #fff; }
.fan__cap small { grid-column: 1; color: rgba(255,255,255,.6); }
.fan__cap span { grid-row: 1 / 3; grid-column: 2; align-self: end; font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.14); }
.fan-glow { position: absolute; left: 50%; top: 40%; width: 600px; height: 400px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; }

/* ---------- Story cards ---------- */
[data-cine="cards"] { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { position: relative; aspect-ratio: 9/14; border-radius: var(--r); overflow: hidden; cursor: pointer; background: #000; isolation: isolate; }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card video { opacity: 0; transition: opacity .4s; }
.card.is-playing video { opacity: 1; }
.card:hover img { transform: scale(1.05); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--shade),.95) 10%, transparent 60%); }
.card .tag { position: absolute; top: 14px; left: 14px; }
.card__copy { position: absolute; inset: auto 18px 18px; display: grid; gap: 8px; color: #fff; }
.card__copy .c-h { font-size: 21px; line-height: 1.02; }
.card__copy p { margin: 0; font-size: 13px; color: rgba(255,255,255,.66); line-height: 1.45; }
.card__play { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-fg); opacity: 0; transform: scale(.7); transition: .3s; }
.card__play svg { width: 14px; height: 14px; }
.card:hover .card__play { opacity: 1; transform: none; }

/* ---------- Breakdown ---------- */
[data-cine="breakdown"] { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.bd__stage { position: relative; aspect-ratio: 4/3.4; border-radius: calc(var(--r) + 4px); overflow: hidden; border: 1px solid var(--line); }
.bd__bg { position: absolute; inset: -40px; background: center/cover; filter: blur(26px) brightness(.5) saturate(1.2); }
.bd__screen { position: absolute; top: 7%; bottom: 7%; left: 50%; transform: translateX(-50%); aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.15); }
.bd__screen video { width: 100%; height: 100%; object-fit: cover; }
.bd__bar { position: absolute; inset: auto 0 0; height: 3px; background: rgba(255,255,255,.2); }
.bd__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--accent); }
.bd__chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: rgba(var(--shade),.82); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; color: #fff; display: inline-flex; gap: 8px; align-items: center; animation: chip .6s var(--d) cubic-bezier(.2,.7,.2,1) both; white-space: nowrap; }
.bd__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes chip { from { opacity: 0; transform: translateY(12px) scale(.9); } }
.bd__steps { display: grid; gap: 8px; }
.bd__step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; text-align: left; padding: 18px 18px; border-radius: var(--r-sm); border: 1px solid transparent; transition: background .3s, border-color .3s; }
.bd__step b { display: block; font-size: 17px; margin-bottom: 4px; }
.bd__step small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .4s; }
.bd__step.on { background: var(--card); border-color: var(--line); }
.bd__step.on small { max-height: 80px; opacity: 1; }
.bd__n { font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; color: var(--dim); font-size: 15px; padding-top: 2px; }
.bd__step.on .bd__n { color: var(--accent); }

/* ---------- Studio ---------- */
.st__win { display: grid; grid-template-columns: 250px 1fr 270px; gap: 14px; padding: 14px; border-radius: calc(var(--r) + 6px); background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 50px 120px rgba(0,0,0,.4); }
.st__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 8px 10px 12px; }
.st__list, .st__side { background: var(--card); border-radius: var(--r-sm); padding: 8px; display: grid; align-content: start; gap: 4px; }
.st__l { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; text-align: left; font-size: 13px; padding: 8px 10px; border-radius: 9px; color: var(--muted); transition: background .2s, color .2s; }
.st__l:hover { background: var(--card-2); color: var(--fg); }
.st__ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
.st__ic svg { width: 13px; height: 13px; }
.st__l.done .st__ic { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); box-shadow: none; }
.st__l.on { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--fg); }
.st__l.on .st__ic { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.st__main { display: grid; gap: 12px; align-content: start; }
.st__player { aspect-ratio: 16/9; border-radius: var(--r-sm); overflow: hidden; background: #000; }
.st__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.st__chapters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.st__chapters button { flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 8px 12px; border-radius: 999px; background: var(--card); color: var(--muted); }
.st__chapters button i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.st__chapters .is-active { color: var(--fg); background: var(--card-2); }
.st__chapters .is-active i { background: var(--accent); }
.st__meta { padding: 4px 6px; }
.st__meta h4 { font-size: 22px; margin: 8px 0 6px; }
.st__meta p { margin: 0; font-size: 14px; color: var(--muted); }
.st__res { display: grid; grid-template-columns: 46px 1fr 18px; gap: 10px; align-items: center; text-align: left; padding: 10px; border-radius: 10px; background: var(--card-2); font-size: 13px; transition: transform .2s; }
.st__res:hover { transform: translateX(3px); }
.st__res small { display: block; color: var(--dim); font-size: 11px; }
.st__res svg { width: 16px; height: 16px; color: var(--muted); }
.st__type { font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 6px 0; text-align: center; border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.st__tip { margin-top: 6px; padding: 4px 6px; border-top: 1px solid var(--line); }
.st__tip p { margin: 0; font-size: 13px; color: var(--muted); padding: 0 4px 6px; }

/* ---------- Modules ---------- */
.md__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.md__filters button { padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: .2s; }
.md__filters button:hover { color: var(--fg); }
.md__filters .on { background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.md__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.md { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: opacity .4s, transform .4s, border-color .3s; }
.md:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.md.off { opacity: .16; transform: scale(.97); pointer-events: none; }
.md__img { position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: pointer; }
.md__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.md:hover .md__img img { transform: scale(1.06); }
.md__n { position: absolute; top: 12px; left: 12px; font-family: var(--display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 6px; background: rgba(var(--shade),.7); color: #fff; }
.md__img .tag { position: absolute; top: 12px; right: 12px; background: var(--accent); color: var(--accent-fg); }
.md__body { padding: 18px 18px 14px; }
.md__body h3 { margin: 0 0 6px; font-size: 17px; }
.md__body p { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.md__more { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.md__more i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; transition: transform .3s, background .3s; }
.md.open .md__more i { transform: rotate(45deg); background: var(--accent); color: var(--accent-fg); box-shadow: none; }
.md__lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.7,.2,1), margin .3s; counter-reset: l; }
.md.open .md__lessons { max-height: 300px; margin-top: 10px; }
.md__lessons li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.md__lessons small { color: var(--dim); }

/* ---------- Skills ---------- */
[data-cine="skills"] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sk { background: var(--bg); padding: 30px 26px 32px; position: relative; transition: background .3s; }
.sk:hover { background: var(--card); }
.sk__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 26px; }
.sk__ic svg { width: 22px; height: 22px; }
.sk__n { position: absolute; top: 30px; right: 26px; font-size: 12px; color: var(--dim); font-weight: 700; }
.sk h3 { margin: 0 0 8px; font-size: 18px; }
.sk p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- How it works ---------- */
[data-cine="steps"] { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.hw__line { position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.hw__line i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: line 3.5s linear infinite; background-size: 40% 100%; background-repeat: no-repeat; }
@keyframes line { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.hw { position: relative; display: grid; justify-items: center; gap: 10px; }
.hw__ic { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 10px var(--bg); color: var(--accent); margin-bottom: 10px; transition: box-shadow .3s; }
.hw:hover .hw__ic { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 10px var(--bg), 0 0 40px var(--glow); }
.hw__ic svg { width: 26px; height: 26px; }
.hw h3 { margin: 0; font-family: var(--display); font-stretch: var(--display-stretch); text-transform: var(--display-case); font-size: 18px; }
.hw p { margin: 0; color: var(--muted); font-size: 14px; max-width: 26ch; }

/* ---------- Toolkit ---------- */
[data-cine="toolkit"] { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.tk { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.tk .c-h { font-size: 24px; margin: 8px 0; }
.tk p { margin: 0; color: var(--muted); font-size: 14px; }
.tk--prompts { padding: 28px; }
.tk__rows { display: grid; gap: 8px; margin-top: 22px; }
.tk__row { display: grid; grid-template-columns: 1fr auto 18px; gap: 12px; align-items: center; text-align: left; padding: 13px 14px; border-radius: 10px; background: var(--card-2); font-size: 14px; transition: transform .2s; }
.tk__row:hover { transform: translateX(4px); }
.tk__row em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tk__row svg { width: 16px; height: 16px; color: var(--muted); }
.tk__row.is-copied svg { color: var(--accent); }
.tk--img { display: grid; grid-template-rows: 1fr auto; }
.tk--img img { width: 100%; height: 100%; min-height: 220px; max-height: 300px; object-fit: cover; object-position: center 30%; }
.tk--img > div { padding: 22px 24px 26px; }

/* ---------- Enroll ---------- */
.en { position: relative; overflow: hidden; border-radius: calc(var(--r) + 10px); padding: 70px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; background: var(--card); border: 1px solid var(--line); }
.en__bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, var(--glow), transparent 70%); pointer-events: none; }
.en > *:not(.en__bg) { position: relative; }
.en__list { list-style: none; margin: 0; padding: 26px; display: grid; gap: 14px; border-radius: var(--r); background: rgba(var(--shade),.35); border: 1px solid var(--line); }
.en__list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.en__list svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.en__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.en__note { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ---------- FAQ ---------- */
[data-cine="faq"] { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
[data-cine="faq"] details { border-bottom: 1px solid var(--line); }
[data-cine="faq"] summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; cursor: pointer; font-weight: 600; font-size: 17px; }
[data-cine="faq"] summary::-webkit-details-marker { display: none; }
[data-cine="faq"] summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform .3s, background .3s; }
[data-cine="faq"] summary i::before, [data-cine="faq"] summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
[data-cine="faq"] summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
[data-cine="faq"] details[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-fg); box-shadow: none; }
[data-cine="faq"] p { margin: 0; padding: 0 60px 26px 4px; color: var(--muted); }

/* ---------- Footer ---------- */
footer { padding: 60px 0 100px; border-top: 1px solid var(--line); }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.ft__top nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.ft__top nav a:hover { color: var(--fg); }
.ft__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

/* ---------- Video strip ---------- */
.strip { overflow: hidden; }
.strip__row { display: flex; gap: 14px; width: max-content; animation: strip 60s linear infinite; }
.strip:hover .strip__row { animation-play-state: paused; }
.strip__cell { position: relative; width: 220px; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; cursor: pointer; flex: none; }
.strip__cell img, .strip__cell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip__cell video { opacity: 0; transition: opacity .3s; }
.strip__cell.is-playing video { opacity: 1; }
@keyframes strip { to { transform: translateX(-50%); } }
.is-preview .strip__row, .is-preview .hw__line i { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  [data-cine="cards"] { grid-template-columns: repeat(3, 1fr); }
  .md__grid { grid-template-columns: repeat(2, 1fr); }
  [data-cine="skills"] { grid-template-columns: repeat(2, 1fr); }
  .st__win { grid-template-columns: 220px 1fr; }
  .st__side { display: none; }
  [data-cine="toolkit"] { grid-template-columns: 1fr 1fr; }
  .tk--prompts { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .sec { padding: 90px 0; }
  .wrap { width: calc(100% - 32px); }
  .nav__links { display: none; }
  .nav .c-btn--sm { height: 36px; padding: 0 14px; font-size: 12px; }
  .logo { font-size: 15px; }
  .head--split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  [data-cine="stories-pinned"] { height: calc(var(--n) * 70vh + 100vh); }
  .sp__inner { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding-top: 90px; gap: 14px; }
  .sp__phone { grid-row: 2; grid-column: 1; width: 42vw; justify-self: start; transform: none; }
  .sp__text { grid-row: 3; min-height: 230px; align-self: start; }
  .sp__item .c-h { font-size: 34px; }
  .sp__item p { font-size: 15px; }
  .sp__item .c-btn { display: none; }
  .sp__tabs span { display: none; }
  .sr__slide, .sc__tv { grid-template-columns: 1fr; padding: 34px 22px; min-height: 0; justify-items: start; }
  .sr__phone, .sc__phone { width: 60vw; grid-row: 1; }
  .sc__remote { grid-template-columns: repeat(5, 1fr); }
  .sc__remote button { padding: 8px; min-height: 0; }
  .sc__remote span, .sc__remote img { display: none; }
  [data-cine="stories-accordion"] { flex-direction: column; height: auto; }
  .sa__panel { flex: none; height: 90px; transition: height .6s; }
  .sa__panel.open { height: 520px; }
  .sa__vert { writing-mode: horizontal-tb; transform: none; left: 70px; bottom: auto; top: 36px; }
  .ss__card { grid-template-columns: 1fr; padding: 18px; gap: 20px; top: calc(70px + var(--i) * 10px); }
  .ss__media { max-height: 50vh; aspect-ratio: auto; height: 50vh; }
  .ss__frames { display: none; }
  [data-cine="fan"] { height: 460px; }
  .fan__card { width: 220px; margin-left: -110px; transform: translateX(calc(var(--o) * 120px)) translateZ(calc(var(--a) * -160px)) rotateY(calc(var(--o) * -14deg)); }
  [data-cine="cards"] { grid-template-columns: repeat(2, 1fr); }
  [data-cine="breakdown"] { grid-template-columns: 1fr; gap: 26px; }
  .bd__stage { aspect-ratio: 4/4.6; }
  .st__win { grid-template-columns: 1fr; padding: 10px; }
  .st__list { display: none; }
  .md__grid { grid-template-columns: 1fr; }
  [data-cine="skills"] { grid-template-columns: 1fr; }
  [data-cine="steps"] { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .hw__line { display: none; }
  [data-cine="toolkit"] { grid-template-columns: 1fr; }
  .en { grid-template-columns: 1fr; padding: 36px 22px; gap: 30px; }
  [data-cine="faq"] p { padding-right: 4px; }
}
