/* ---------- intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease) .1s; clip-path: inset(0 0 0 0);
}
.intro.done { clip-path: inset(0 0 100% 0); }
.intro-count {
  position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center; font-size: 64px; color: rgba(255, 255, 255, .85);
}
.intro-count::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); animation: spin .6s linear infinite; }
.intro-count::after { content: ''; position: absolute; left: 50%; top: -40px; bottom: -40px; width: 1px; background: rgba(255, 255, 255, .15); box-shadow: -90px 0 0 rgba(255,255,255,.0); }
.intro-title { position: absolute; bottom: 12vh; font-size: 14px; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 6, 9, .72); backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .28em; font-size: 14px; }
.brand-sub { font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 18px; color: var(--accent); margin-left: -4px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 24px -6px var(--accent); }
.brand-mark [data-lucide] { color: #fff; animation: spin 8s linear infinite; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { font-size: 13.5px; color: var(--ink-2); position: relative; transition: color .3s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1080px) { .links { display: none; } .nav-in .chip { margin-left: auto; } }
@media (max-width: 640px) { .hide-sm { display: none !important; } .nav-in .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 680px; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: heroPush 22s var(--ease) forwards; filter: saturate(1.1) contrast(1.05); }
@keyframes heroPush { to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 70% 40%, transparent 0%, rgba(6,6,9,.55) 60%, rgba(6,6,9,.95) 100%),
  linear-gradient(90deg, rgba(6,6,9,.92) 0%, rgba(6,6,9,.55) 45%, transparent 75%),
  linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.letterbox { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 3; transition: transform 1.6s var(--ease) 1.2s; }
.letterbox.top { top: 0; transform: translateY(0); }
.letterbox.bottom { bottom: 0; }
body.ready .letterbox.top { transform: translateY(-100%); }
body.ready .letterbox.bottom { transform: translateY(100%); }

.hud { position: absolute; inset: 96px 28px 28px; z-index: 2; pointer-events: none; color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .12em; }
.hud .c { position: absolute; width: 26px; height: 26px; border-color: rgba(255,255,255,.55); border-style: solid; border-width: 0; }
.hud .ctl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud .ctr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud .cbl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud .cbr { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-row { position: absolute; left: 40px; right: 40px; display: flex; justify-content: space-between; gap: 20px; }
.hud-row.top { top: 6px; } .hud-row.bottom { bottom: 6px; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 10px var(--accent); animation: blink 1s infinite; }
.bars { display: inline-flex; gap: 3px; align-items: flex-end; height: 12px; }
.bars i { width: 3px; background: var(--green); animation: eq 1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s } .bars i:nth-child(3) { animation-delay: .3s } .bars i:nth-child(4) { animation-delay: .45s } .bars i:nth-child(5) { animation-delay: .6s }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

.hero-copy { position: relative; z-index: 4; padding-top: 40px; }
.hero-title { font-size: clamp(52px, 8.6vw, 132px); font-weight: 600; letter-spacing: -0.045em; line-height: .92; margin: 26px 0 28px; }
.hero-title .serif { font-weight: 400; letter-spacing: -0.02em; background: linear-gradient(100deg, #fff 10%, var(--accent) 55%, var(--gold) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.3s var(--ease); }
body.ready .hero-title .line > span { transform: none; }
body.ready .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
body.ready .hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.lede { max-width: 560px; font-size: 18px; color: var(--ink-2); font-weight: 300; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.scroll-cue { position: absolute; z-index: 4; bottom: 13vh; right: 48px; font-size: 10px; letter-spacing: .3em; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 60px; background: linear-gradient(var(--accent), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px) { .hud { inset: 84px 12px 12px; } .hud-row { left: 16px; right: 16px; font-size: 9px; } .scroll-cue { display: none; } .lede { font-size: 16px; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee .track { display: flex; gap: 34px; width: max-content; animation: marquee 42s linear infinite; font-size: 30px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.marquee .track span { color: var(--ink); opacity: .85; }
.marquee .track .serif { color: var(--gold); }
.marquee .track i { font-style: normal; color: var(--accent); font-size: 16px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- generic blocks ---------- */
.block { position: relative; padding: 140px 0; }
.block h2 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.04em; margin-top: 18px; max-width: 900px; }
.block h2 .serif { font-weight: 400; color: var(--ink-2); }
.sub { color: var(--ink-2); font-size: 17px; font-weight: 300; max-width: 620px; margin-top: 22px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.head-row .sub { max-width: 420px; margin: 0; }
@media (max-width: 900px) { .head-row { flex-direction: column; align-items: flex-start; } .block { padding: 96px 0; } }

/* ---------- 3D carousel ---------- */
.reel { overflow: hidden; background: radial-gradient(60% 50% at 50% 60%, rgba(255, 59, 92, .10), transparent 70%); }
.carousel-stage { position: relative; height: 520px; perspective: 1400px; perspective-origin: 50% 40%; cursor: grab; user-select: none; touch-action: pan-y; }
.carousel-stage:active { cursor: grabbing; }
.carousel { position: absolute; left: 50%; top: 40px; width: 300px; height: 420px; margin-left: -150px; transform-style: preserve-3d; }
.card3d { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); transition: filter .5s, box-shadow .5s; -webkit-box-reflect: below 14px linear-gradient(transparent 70%, rgba(255,255,255,.12)); }
.card3d video, .card3d img { width: 100%; height: 100%; object-fit: cover; }
.card3d .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.card3d .meta span { font: 500 10px var(--mono); letter-spacing: .2em; color: var(--gold); }
.card3d .meta b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.card3d.front { box-shadow: 0 30px 90px -10px rgba(255, 59, 92, .45); border-color: rgba(255, 59, 92, .55); }
.card3d:not(.front) { filter: brightness(.55) saturate(.8); }
.floor { position: absolute; left: 10%; right: 10%; bottom: 0; height: 120px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,59,92,.18), transparent 70%); filter: blur(20px); }
.reel-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; font-size: 13px; letter-spacing: .2em; color: var(--ink-2); }
.reel-ctrl { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.icon-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
@media (max-width: 640px) { .carousel-stage { height: 400px; } .carousel { width: 210px; height: 300px; margin-left: -105px; } }

/* ---------- pipeline ---------- */
.pipeline { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
#waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.pipeline .wrap { position: relative; }
.pipe-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; margin-top: 70px; align-items: start; }
.pipe-steps { display: flex; flex-direction: column; gap: 6px; }
.pstep { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: start; padding: 22px 22px; border-radius: var(--radius); border: 1px solid transparent; position: relative; overflow: hidden; transition: background .4s, border-color .4s; }
.pstep .n { font-size: 12px; color: var(--muted); padding-top: 5px; }
.pstep h3 { font-size: 21px; font-weight: 500; }
.pstep p { color: var(--muted); font-size: 14.5px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.pstep [data-lucide] { color: var(--muted); margin-top: 4px; }
.pstep:hover { background: rgba(255,255,255,.025); }
.pstep.active { background: rgba(255,255,255,.04); border-color: var(--line-2); }
.pstep.active p { max-height: 120px; opacity: 1; margin-top: 8px; color: var(--ink-2); }
.pstep.active .n, .pstep.active [data-lucide] { color: var(--accent); }
.pstep::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.pstep.active::before { animation: fillY 6s linear forwards; }
@keyframes fillY { to { transform: scaleY(1); } }
.pipe-screen { position: sticky; top: 110px; }
.screen-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.02); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.pipe-screen:hover .screen-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }
.screen-frame video { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s var(--ease); }
.screen-frame video.swap { opacity: 0; transform: scale(1.08); }
.screen-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 16px; font-size: 11px; letter-spacing: .16em; padding: 10px 14px; border-radius: 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); }
.screen-ui .prog { flex: 1; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.screen-ui .prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.node-strip { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 11px; color: var(--muted); letter-spacing: .1em; flex-wrap: wrap; }
.node-strip span { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px; }
.node-strip b { flex: 1; min-width: 14px; height: 1px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); background-size: 24px 1px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 24px 0; } }
@media (max-width: 960px) { .pipe-grid { grid-template-columns: 1fr; } .pipe-screen { position: relative; top: 0; order: -1; } }

/* ---------- character ---------- */
.cast-grid { display: grid; grid-template-columns: 420px 1fr; gap: 28px; }
.bible { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }
.bible-photo { position: relative; aspect-ratio: 4/3.2; overflow: hidden; }
.bible-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(82, 214, 200, .25), transparent); border-bottom: 1px solid var(--cyan); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { top: -30%; } 100% { top: 100%; } }
.face-box { position: absolute; left: 40%; top: 18%; width: 22%; height: 40%; border: 1px solid var(--cyan); box-shadow: 0 0 0 9999px rgba(0,0,0,.18); }
.face-box span { position: absolute; top: -22px; left: -1px; background: var(--cyan); color: #04201d; font-size: 10px; padding: 3px 6px; white-space: nowrap; font-weight: 600; }
.bible-info { padding: 26px; }
.bible-name { display: flex; justify-content: space-between; align-items: center; }
.bible-name h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 44px; }
.bible dl { margin: 18px 0 22px; display: grid; gap: 10px; font-size: 12px; }
.bible dl div { display: grid; grid-template-columns: 80px 1fr; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.bible dt { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
.bible dd { margin: 0; color: var(--ink-2); }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.meter b { color: var(--ink); font-weight: 600; }
.meter i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.meter i::after { content: ''; position: absolute; inset: 0; width: var(--v); background: linear-gradient(90deg, var(--cyan), var(--green)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.bible.in .meter i::after { transform: scaleX(1); }
.shots { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 14px; }
.shot { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot.tall { grid-row: span 2; }
.shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.shot:hover video { transform: scale(1.06); filter: saturate(1.15); }
.shot figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .14em; padding: 7px 10px; border-radius: 8px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); }
.shot figcaption b { color: var(--cyan); }
@media (max-width: 1080px) { .cast-grid { grid-template-columns: 1fr; } .bible { max-width: 520px; } }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* ---------- lip sync ---------- */
.lipsync { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.lip-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.feat { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.feat li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .3s, transform .4s var(--ease); }
.feat li:hover { border-color: var(--line-2); transform: translateX(6px); }
.feat li > [data-lucide] { color: var(--accent); flex: none; margin-top: 3px; }
.feat b { display: block; font-weight: 500; }
.feat span { color: var(--muted); font-size: 14px; }
.lip-player { border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; box-shadow: 0 40px 120px -40px rgba(255, 59, 92, .35); }
.lp-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.lp-frame video { width: 100%; height: 100%; object-fit: cover; }
.mouth-box { position: absolute; left: 33%; top: 84%; width: 22%; height: 12%; border: 1px dashed var(--gold); border-radius: 6px; animation: mouth .35s ease-in-out infinite alternate; }
.mouth-box::after { content: 'LIP-SYNC'; position: absolute; top: -18px; left: 0; font: 600 9px var(--mono); letter-spacing: .2em; color: var(--gold); }
@keyframes mouth { to { transform: scaleY(1.08); } }
.caption { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); max-width: 86%; text-align: center; font-size: 19px; font-weight: 500; padding: 6px 14px; background: rgba(0,0,0,.6); border-radius: 6px; min-height: 1.6em; }
.caption .w { opacity: .35; transition: opacity .15s, color .15s; } .caption .w.on { opacity: 1; color: #fff; } .caption .w.cur { color: var(--gold); }
.lp-track { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.lp-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
#wave { width: 100%; height: 70px; display: block; }
.phonemes { display: flex; gap: 6px; margin-top: 10px; overflow: hidden; font-size: 10.5px; }
.phonemes span { white-space: nowrap; flex: none; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.phonemes span.on { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
@media (max-width: 960px) { .lip-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- director ---------- */
.moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.move { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; cursor: pointer; transition: border-color .4s, transform .5s var(--ease); }
.move:hover { border-color: rgba(255, 59, 92, .5); transform: translateY(-6px); }
.mv { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.mv::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.3); pointer-events: none; opacity: 0; transition: opacity .4s; }
.move:hover .mv::after { opacity: 1; }
.mv video { width: 100%; height: 100%; object-fit: cover; transition: transform 5s cubic-bezier(.3,.1,.3,1); transform-origin: 50% 50%; }
.move[data-move="dolly"]:hover video { transform: scale(1.35); }
.move[data-move="orbit"]:hover video { transform: perspective(800px) rotateY(14deg) scale(1.25) translateX(-6%); }
.move[data-move="crane"]:hover video { transform: scale(1.3) translateY(10%); }
.move[data-move="pan"]:hover video { transform: scale(1.3) translateX(12%); }
.mv-info { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.mv-info b { font-weight: 500; }
.mv-info span { font-size: 11px; color: var(--muted); }
.finish-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; cursor: ew-resize; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .lo { filter: blur(3px) saturate(.6) contrast(.85) brightness(.85); transform: scale(1.02); }
.hi-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare .hi { filter: saturate(1.25) contrast(1.12); }
.handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); }
.handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.compare .tag { position: absolute; top: 14px; font-size: 10px; letter-spacing: .16em; padding: 6px 10px; border-radius: 6px; background: rgba(0,0,0,.6); }
.compare .tag.l { left: 14px; } .compare .tag.r { right: 14px; color: var(--gold); }
.finish-cards { display: grid; gap: 16px; }
.fcard { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(140deg, var(--panel), var(--bg-2)); display: grid; grid-template-columns: auto 1fr; gap: 2px 20px; align-items: center; }
.fcard .big { grid-row: span 2; font-family: var(--display); font-size: 46px; line-height: 1; color: var(--gold); min-width: 110px; }
.fcard .big em { font-style: normal; color: var(--accent); font-size: 30px; }
.fcard b { font-weight: 500; }
.fcard p { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .moves { grid-template-columns: repeat(2, 1fr); } .finish-grid { grid-template-columns: 1fr; } }

/* ---------- publishing ---------- */
.publish { overflow: hidden; background: radial-gradient(50% 40% at 50% 35%, rgba(154, 123, 255, .10), transparent 70%); }
.phones { position: relative; height: 600px; perspective: 1600px; display: flex; justify-content: center; align-items: center; }
.phone { position: absolute; width: 250px; aspect-ratio: 9/19; border-radius: 38px; padding: 9px; background: linear-gradient(145deg, #2a2a33, #0d0d12); box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.12); transition: transform 1.2s var(--ease); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.ph-screen video, .ph-screen > img { width: 100%; height: 100%; object-fit: cover; }
.ph-ui { position: absolute; inset: auto 0 0 0; padding: 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 12px; }
.ph-brand { display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 4px; }
.ph-brand [data-lucide] { width: 15px; height: 15px; }
.ph-cap { color: var(--ink-2); }
.ph-side { position: absolute; right: 10px; bottom: 80px; display: grid; gap: 14px; font-size: 10px; text-align: center; }
.ph-side span { display: grid; justify-items: center; gap: 2px; }
.ph-side [data-lucide] { width: 22px; height: 22px; }
.phone.p1 { transform: translateX(-420px) translateZ(-200px) rotateY(28deg); }
.phone.p2 { transform: translateX(-140px) translateZ(0) rotateY(8deg); z-index: 2; }
.phone.p3 { transform: translateX(140px) translateZ(0) rotateY(-8deg); z-index: 2; }
.phone.p4 { transform: translateX(420px) translateZ(-200px) rotateY(-28deg); }
.phones:not(.in) .phone { transform: translateY(160px) rotateX(30deg) scale(.8); }
.phone.p2 { transition-delay: .1s; } .phone.p3 { transition-delay: .2s; } .phone.p4 { transition-delay: .3s; }
.locked .ph-screen > img { filter: blur(14px) brightness(.55); transform: scale(1.15); }
.lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 20px; }
.lock [data-lucide] { width: 36px; height: 36px; color: var(--gold); }
.lock b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; }
.lock span { font-size: 9.5px; letter-spacing: .14em; color: var(--ink-2); text-transform: uppercase; }
@media (max-width: 1100px) {
  .phones { height: 520px; }
  .phone { width: 200px; }
  .phone.p1 { transform: translateX(-300px) translateZ(-200px) rotateY(28deg); }
  .phone.p2 { transform: translateX(-105px) rotateY(8deg); }
  .phone.p3 { transform: translateX(105px) rotateY(-8deg); }
  .phone.p4 { transform: translateX(300px) translateZ(-200px) rotateY(-28deg); }
}
@media (max-width: 700px) {
  .phones { height: 440px; }
  .phone { width: 170px; }
  .phone.p1, .phone.p4 { display: none; }
  .phone.p2 { transform: translateX(-90px) rotateY(10deg); }
  .phone.p3 { transform: translateX(90px) rotateY(-10deg); }
}
.sched { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.015); }
.sched-row { display: grid; grid-template-columns: 90px 1.2fr 1.4fr 180px; gap: 16px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14.5px; }
.sched-row.head { border-top: 0; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,.02); }
.sched-row span { display: flex; align-items: center; gap: 10px; }
.sched-row [data-lucide] { width: 16px; height: 16px; color: var(--ink-2); }
.st { justify-self: start; font: 500 11px var(--mono); letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--green); background: rgba(95, 211, 138, .12); }
.st.run { color: var(--cyan); background: var(--cyan-soft); }
.st.run::before { animation: blink 1s infinite; }
.st.wait { color: var(--ink-2); background: rgba(255,255,255,.06); }
.st.hold { color: var(--gold); background: var(--gold-soft); }
@media (max-width: 760px) { .sched-row { grid-template-columns: 60px 1fr; } .sched-row > :nth-child(3) { display: none; } .sched-row > :nth-child(4) { grid-column: 2; } .sched-row.head > :nth-child(4) { display: none; } }

/* ---------- server ---------- */
.server { background: var(--bg-2); border-block: 1px solid var(--line); }
.server-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.specs div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.specs b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.specs span { color: var(--muted); font-size: 13px; }
.gpu { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, #15151d, #0b0b10); box-shadow: 0 40px 120px -40px rgba(82, 214, 200, .25); }
.gpu-head { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; color: var(--muted); margin-bottom: 22px; }
.gpu-head span:last-child { color: var(--green); }
.vbar { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin-bottom: 18px; font-size: 14px; color: var(--ink-2); }
.vbar b { font: 500 12px var(--mono); color: var(--ink); }
.vbar i { grid-column: 1 / -1; height: 10px; border-radius: 6px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.vbar i::after { content: ''; position: absolute; inset: 0; width: var(--v); border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--violet)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.gpu.in .vbar i::after { transform: scaleX(1); }
.gpu.in .vbar:nth-of-type(3) i::after { transition-delay: .1s; } .gpu.in .vbar:nth-of-type(4) i::after { transition-delay: .2s; } .gpu.in .vbar:nth-of-type(5) i::after { transition-delay: .3s; } .gpu.in .vbar:nth-of-type(6) i::after { transition-delay: .4s; }
.gpu-foot { font-size: 10.5px; color: var(--muted); letter-spacing: .06em; margin-top: 8px; }
@media (max-width: 960px) { .server-grid { grid-template-columns: 1fr; } }

/* ---------- plan ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--cyan)); opacity: .5; }
.tl { position: relative; padding: 56px 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: transform .5s var(--ease), border-color .4s; }
.tl:hover { transform: translateY(-8px); border-color: var(--line-2); }
.tl span { position: absolute; top: 8px; left: 22px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--bg); border: 1px solid var(--accent); color: var(--accent); }
.tl h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.tl p { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- cta / footer ---------- */
.cta { position: relative; padding: 180px 0; overflow: hidden; text-align: center; }
.cta video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(6,6,9,.35), var(--bg) 85%); }
.cta-in { position: relative; display: grid; justify-items: center; }
.cta h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 600; letter-spacing: -0.04em; }
.cta h2 .serif { color: var(--gold); font-weight: 400; }
.cta .sub { margin: 22px auto 36px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox video { width: min(1100px, 92vw); max-height: 82vh; border-radius: 14px; transform: scale(.92); transition: transform .5s var(--ease); background: #000; }
.lightbox.open video { transform: none; }
.lb-close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (min-width: 641px) {
  .shots .shot:nth-child(1) { grid-area: 1 / 1; } .shots .shot:nth-child(2) { grid-area: 1 / 2 / 3 / 3; } .shots .shot:nth-child(3) { grid-area: 1 / 3; }
  .shots .shot:nth-child(4) { grid-area: 2 / 1 / 4 / 2; } .shots .shot:nth-child(5) { grid-area: 3 / 2; } .shots .shot:nth-child(6) { grid-area: 2 / 3 / 4 / 4; }
}
