/* HiAds Cinema visual language, applied without changing page structure. */
:root{--bg:#0b0c0c;--panel:#151717;--ink:#f0f0ea;--muted:#92958f;--line:#ffffff16;--accent:#ffd34a;--ease:cubic-bezier(.22,1,.36,1)}
body{background:var(--bg);color:var(--ink);font-family:'Helvetica Neue','PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
h1,h2,h3{font-weight:600;letter-spacing:-.045em;line-height:1.15}h1{font-size:clamp(42px,5.1vw,72px)}h2{font-size:clamp(28px,3.1vw,44px)}.muted{color:var(--muted);line-height:1.8}.eyebrow{font-size:12px;letter-spacing:.17em;color:#aeb3a8;margin-bottom:22px}
nav{height:76px;border-bottom:1px solid var(--line);padding:0 4%;background:linear-gradient(#0b0c0cf2,#0b0c0c96);backdrop-filter:blur(12px)}.logo{font-size:29px;font-weight:750;letter-spacing:-1.7px}.logo span{color:var(--accent)}.links{font-size:13px;gap:28px;color:#a8aea3}.links a:hover{color:var(--ink)}.navcta{background:var(--accent);color:#15160e;border:1px solid var(--accent);border-radius:4px;padding:10px 19px;font-size:13px;font-weight:600}
.hero{background:#0b0c0c}.hero:after{background:linear-gradient(90deg,#0b0c0c 0%,#0b0c0cb0 30%,transparent 80%),linear-gradient(0deg,#0b0c0c,transparent 35%)}.hero-content{padding-left:5%;padding-right:5%}.hero h1 em{color:var(--accent)}.hero p{color:#b3b8ae;font-size:16px}.hero-caption{color:#9da493}.hero-caption strong{font-weight:500;font-size:22px}.btn{border-radius:4px;font-size:14px;padding:13px 22px;background:var(--accent);color:#15160e}.btn.dark{background:#ffffff0b;color:var(--ink);border:1px solid #ffffff2b}.btn:hover,.navcta:hover{filter:brightness(1.06)}
.section{padding:76px 5%}.heading{margin-bottom:28px}.chip{font-size:13px;padding:8px 17px;border-color:var(--line);color:#a4aa9f}.chip.active{background:#242824;border-color:#ffffff30;color:var(--ink)}.chip:hover{border-color:#ffd34a80;color:var(--ink)}
.production-strip{background:#121515f2;border-color:#ffffff25;border-radius:8px;padding:20px 24px;box-shadow:0 18px 45px #0003}.asset-tile{background:#151918;border-color:#ffffff20;border-radius:5px;opacity:.65}.asset-tile.picked{border-color:var(--accent);box-shadow:none}.asset-tile img{border-radius:3px}.asset-tile b{color:#c0c6b8}.ai-core{border-radius:6px;color:var(--accent);border-color:var(--accent);background:#ffd34a08;box-shadow:0 0 20px #ffd34a12}.output-card{background:#121512;border-color:#ffffff20;border-radius:5px}.output-card.active{border-color:var(--accent);box-shadow:none}.output-card b{font-size:12px;font-weight:500;padding:10px}.output-card:hover{border-color:#afbc94}.flying-asset{border-color:var(--accent);box-shadow:0 8px 24px #0008}
.hybrid{background:var(--bg)}.shared-brand{border-color:var(--line);color:#a1a79a}.shared-brand b{color:var(--ink)}.library{border-color:var(--line)}.library>span{color:#acb4a1}.library img{border-radius:3px}.library img.chosen{outline-color:var(--accent)}.recipe-row{background:#121515;border:1px solid #ffffff1c;border-radius:8px}.recipe-row.current{background:#191d18;border-color:#ffd34a55}.recipe-row.complete{border-color:#ffffff24}.recipe-piece img{border-radius:4px}.recipe-piece small{color:#89917f}.recipe-piece figcaption{color:#d8ded0}.recipe-link{color:#969f8a}.recipe-row.complete .recipe-link{color:var(--accent)}.recipe-row.complete .recipe-link i{background:#ffd34a60}.recipe-film{border:1px solid #ffffff18;border-radius:6px;background:#070909}.recipe-caption{font-weight:500;color:#e1e5db}.recipe-wait{color:#98a28b}.inline-start{background:var(--accent);border-radius:4px}.hybrid-note{color:#7e8774}
.gallery{gap:18px}.card{border:1px solid #ffffff18;border-radius:6px;background:#121512;transition:transform .35s var(--ease),border-color .35s}.card:hover{transform:translateY(-4px);border-color:#afbc94}.card-info{bottom:20px;left:20px}.card-info h3{font-size:23px;line-height:1.25;font-weight:500;letter-spacing:-.025em}.card-info small{letter-spacing:.08em;color:#bbc4b0}.badge{background:#0b110bc9;border:1px solid #ffffff25;border-radius:3px;font-size:10px;letter-spacing:.08em}.play-icon{border:1px solid #ffffff55;background:#0004;backdrop-filter:blur(5px)}
.team{border-top:1px solid var(--line)}.role{color:#92998a;border-bottom:1px solid var(--line);font-size:18px;transition:color .25s,background .25s}.role span{color:#707a67;font-size:11px;letter-spacing:.12em}.role.active{color:var(--accent)}.role.active span{color:var(--accent)}.role:hover{color:var(--ink)}.team-screen{background:#121615;border:1px solid #ffffff24;border-radius:8px;box-shadow:0 18px 45px #0002}.screen-top{color:#9ca592;border-color:var(--line)}.task{color:#d1d8c8}.message{background:#ffd34a04;border:1px solid #ffd34a35;border-radius:6px;padding:24px}.message strong{color:var(--accent);font-weight:500;letter-spacing:.02em}.message h3{font-size:24px}.message p{color:#a4ae99}.handoff{color:#8f9b82}.handoff .line{background:#ffd34a45}
.workspace{background:#111514;border:1px solid #ffffff25;border-radius:8px;box-shadow:0 20px 60px #0004}.workspacebar{background:#0d1110;border-color:var(--line);color:#a6b29a;font-size:12px}.workspacebody{padding:28px}.product img{border-radius:5px}.product h3{font-weight:500}.variant{border:1px solid #ffffff20;border-radius:6px;background:#080b08;transition:border-color .25s,transform .25s}.variant:hover{border-color:#ffd34a90;transform:translateY(-3px)}.variant span{font-weight:500}.variant small{color:#99a58c}.steps{color:#929e86;font-size:13px}.closing{background:#101312;border-top:1px solid var(--line)}.closing p{color:var(--muted)}footer{border-color:var(--line);color:#8b9580}dialog{background:#151914;border:1px solid #ffffff25;border-radius:8px;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#000c;backdrop-filter:blur(12px)}dialog img{border-radius:5px}dialog p{color:#a5b097}input{border-radius:4px}
@media(max-width:760px){nav{height:65px;padding:0 5%}.logo{font-size:26px}.navcta{font-size:12px;padding:9px 14px}.hero h1{font-size:43px;letter-spacing:-.045em}.hero p{font-size:15px}.hero-caption strong{font-size:18px}.section{padding:48px 5%}.production-strip{padding:15px;border-radius:6px}.gallery{gap:10px}.card-info{left:13px;bottom:16px}.card-info h3{font-size:19px}.card-info small{font-size:10px}.role{font-size:14px;line-height:1.6}.team-screen{padding:18px}.message{padding:18px}.message h3{font-size:22px}.workspacebody{padding:18px}.workspacebar{font-size:11px}.recipe-row{border-radius:7px}.recipe-film{border-radius:5px}.closing{padding:70px 5%}}
@media(prefers-reduced-motion:reduce){.card,.role,.variant{transition:none}.card:hover,.variant:hover{transform:none}}
/* Brand and transport controls: one consistent icon system. */
.logo{display:inline-flex;align-items:center;gap:10px;line-height:1;white-space:nowrap}.logo .brand-mark{width:25px;height:25px;flex:none;color:var(--accent)}.logo .wordmark{color:var(--ink);letter-spacing:-1.4px}.ui-icon{display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle;pointer-events:none}.btn{gap:9px;min-height:44px}.play-icon,.small-play{display:grid;place-items:center;padding:0;color:#fff;border:1px solid #ffffff65;background:#090b0bb3;border-radius:50%;backdrop-filter:blur(8px);pointer-events:none}.play-icon{width:44px;height:44px}.small-play{width:32px;height:32px}.small-play .ui-icon{width:17px;height:17px}.play-icon .ui-icon{width:22px;height:22px}.card.previewing .play-icon{opacity:0}.variant.previewing .ui-icon{opacity:0}.variant>span>.ui-icon{margin-right:5px}.close{position:absolute;right:12px;top:12px;z-index:5;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff30;border-radius:50%;background:#0b0c0ce8;color:#fff;line-height:1}.close:hover{background:#303333}.close .ui-icon{width:22px;height:22px}dialog{position:fixed;padding:64px 24px 24px;max-height:92dvh;overflow:auto}#detail video{display:block;border-radius:4px}#detail h2{font-size:24px;margin-top:20px}.inline-start{display:flex;align-items:center;gap:6px;min-height:44px;z-index:3;white-space:nowrap}.inline-start[hidden]{display:none}.recipe-caption{pointer-events:none;top:0;left:0;width:100%;padding:10px 12px 24px;background:linear-gradient(#000a,transparent);font-size:12px}.recipe-film:has(.inline-start:not([hidden])) .recipe-caption{opacity:.7}.recipe-film video{object-fit:contain}.card-info{right:16px}.chip{border-radius:4px;min-height:40px}#stripMotion{min-height:40px;border:1px solid #ffffff25;border-radius:4px;padding:7px 12px;color:var(--ink);background:#ffffff08;white-space:nowrap}.library>span,.recipe-piece small,.handoff,.steps,footer{color:#a1a69f}.team-screen,.workspace,.recipe-row{background:#131616}.role{color:#a1a69f}.role.active{color:var(--accent)}
@media(max-width:760px){.logo .brand-mark{width:22px;height:22px}.logo{gap:8px}.play-icon{width:40px;height:40px}.small-play{width:28px;height:28px}dialog{width:94vw;padding:62px 15px 20px}#detail h2{font-size:20px}.recipe-caption{font-size:10px;padding:8px 8px 20px}.buttons{flex-wrap:wrap}.filters{gap:6px}.chip{padding:8px 12px}}
/* Chapter transitions preserve native scrolling and video interaction. */
.snap-running{scroll-behavior:auto!important}.hero-video{transform-origin:50% 65%}.scroll-story .library-grid{position:sticky;top:12px;z-index:4;background:#0b0c0cf5;backdrop-filter:blur(12px);padding:14px 0;border-bottom:1px solid var(--line)}.scroll-story .recipe-row{margin-bottom:38px}.scroll-story .team-layout{background:var(--bg);padding-bottom:20px}.scroll-story .recipe-piece{transition:opacity .25s,filter .25s}.scroll-story .recipe-row.current{border-color:#ffd34a70}#hybrid,#team,#studio,#work{scroll-margin-top:32px}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-video,.hero-content{transform:none!important;opacity:1!important}}
