@font-face{font-family:Bricolage;src:url('/assets/fonts/display.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Bricolage;src:url('/assets/fonts/display-extended.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0100-024F,U+1E00-1EFF}
@font-face{font-family:DM Sans;src:url('/assets/fonts/body.woff2') format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:DM Sans;src:url('/assets/fonts/body-extended.woff2') format('woff2');font-weight:400 700;font-display:swap;unicode-range:U+0100-024F,U+1E00-1EFF}
@font-face{font-family:IBM Plex Mono;src:url('/assets/fonts/mono.woff2') format('woff2');font-weight:400;font-display:swap}
:root{
  color-scheme:light;
  --paper:#fff;--surface:#fff;--ink:#0c0c0c;--muted:#404040;--quiet:#595959;--line:#e4e5e6;
  --accent:#2b22fa;--night:#0c0c0c;--white:#fff;--button-dark:#262626;--soft:#f7f7f7;--tint:#eef1f5;
  --sans:"DM Sans",var(--locale-sans,system-ui),system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,monospace;
  --type-meta:.8125rem;
  --type-small:.875rem;
  --type-reading:1.0625rem;
  --type-card:clamp(1.25rem,calc(1.1rem + .6vw),1.625rem);
  --type-section:clamp(1.875rem,calc(1.3rem + 2.1vw),3.625rem);
  --type-title:clamp(2.125rem,calc(1.32rem + 2.5vw),3.75rem);
  --type-display:clamp(2.125rem,calc(1.63rem + 2.64vw),4.125rem);
  --leading-copy:1.65;
  --leading-heading:1.14;
  --tracking-heading:-.022em;
  --width:1560px;--gutter:20px;--radius:12px;
}
:root:lang(zh-Hans){--locale-sans:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC"}
:root:lang(zh-Hant){--locale-sans:"PingFang TC","Microsoft JhengHei","Noto Sans CJK TC"}
:root:lang(ja){--locale-sans:"Hiragino Sans","Yu Gothic",Meiryo,"Noto Sans CJK JP"}
:root:lang(ko){--locale-sans:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR"}
:root:is(:lang(zh),:lang(ja),:lang(ko)){
  --leading-copy:1.76;
  --leading-heading:1.2;
  --tracking-heading:normal;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:95px}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/var(--leading-copy) var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,select,input,textarea{font:inherit;color:inherit}
button,summary{cursor:pointer}
a,button,select,input,textarea,summary{outline-offset:5px}
:focus-visible{outline:2px solid var(--accent)}
img,video{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:500;line-height:var(--leading-heading);letter-spacing:var(--tracking-heading)}
.wrap{width:min(var(--width),calc(100% - 2 * var(--gutter)));margin-inline:auto}
.skip{position:fixed;top:8px;left:8px;z-index:20;background:var(--surface);padding:.7rem 1rem;transform:translateY(-150%)}
.skip:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}
.icon{width:1.1em;height:1.1em;display:inline-block;flex:none;vertical-align:middle}
.brand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font:760 24px/1 Bricolage,var(--sans);letter-spacing:-.052em;width:max-content}
.brand .domain{color:var(--quiet);font-weight:560}
.mark{width:30px;height:30px;background:var(--night);border-radius:6px;display:grid;place-items:center;color:var(--white)}
.mark .icon{width:20px;height:20px}
.topbar{background:var(--paper);position:relative;z-index:3}
.header{min-height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(14px,3.2vw,48px)}
.header nav{display:flex;gap:clamp(16px,2.5vw,36px);margin-inline:auto;align-items:center}
.header nav a{font-size:var(--type-small);font-weight:500;color:var(--ink);padding:12px 0;white-space:nowrap;position:relative}
.header nav a:hover,.header nav a[aria-current]{color:var(--accent)}
.header nav a[aria-current]::after{content:"";height:1px;background:currentColor;position:absolute;inset:auto 0 5px}
.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.languages{position:relative}
.languages summary{display:flex;align-items:center;gap:6px;list-style:none;font:600 var(--type-meta)/1.25rem var(--sans);padding:6px 9px;white-space:nowrap;border-radius:6px;background:var(--tint)}
.languages summary::-webkit-details-marker{display:none}
.languages summary .icon{width:16px;height:16px}
.language-list{list-style:none;padding:6px;margin:8px 0 0;min-width:146px;background:var(--surface);box-shadow:0 12px 30px #0002;border:1px solid var(--line);border-radius:8px;position:absolute;right:0;z-index:5}
.language-list a{display:block;padding:.55rem .65rem;border-radius:6px;font-size:14px;white-space:nowrap}
.language-list a:hover,.language-list a[aria-current]{background:var(--tint);color:var(--accent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;min-height:40px;padding:7px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font-size:var(--type-small);font-weight:600;text-align:center;line-height:1.3;transition:background .16s,color .16s,border-color .16s}
.btn:hover{background:var(--soft)}
.btn.primary{background:var(--button-dark);color:var(--white);border-color:var(--button-dark)}
.btn.primary:hover{background:var(--ink);border-color:var(--ink)}
.btn.outline{background:var(--tint)}
.btn.outline:hover{border-color:var(--line)}
.btn.small{min-height:32px;padding:5px 10px;border-radius:6px}
.btn:disabled{opacity:.45;cursor:default}
.link{display:inline-flex;align-items:center;gap:.55rem;font-weight:600;font-size:var(--type-small)}
.link:hover{color:var(--accent)}
.link .icon{width:16px;height:16px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:25px}
.kicker{color:var(--muted);font-size:var(--type-small);font-weight:500;line-height:1.45}
.meta{font-size:var(--type-meta);line-height:1.5;font-variant-numeric:tabular-nums}
.hero{
  position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  min-height:clamp(470px,calc((100vw - 40px)*9/21),669px);padding:48px clamp(24px,3.1vw,52px);
  border-radius:var(--radius);overflow:hidden;background:var(--night);color:var(--white);
}
.hero-image,.hero-image::after{position:absolute;inset:0}
.hero-image{z-index:-1;pointer-events:none}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 57%}
.hero-image::after{
  content:"";background:linear-gradient(90deg,#000e 0%,#000b 24%,#0005 54%,transparent 81%),
  linear-gradient(0deg,#000c 0%,#0001 52%,transparent 80%);
}
.hero-copy{min-width:0}
.hero .kicker{color:var(--soft)}
.hero h1{font-size:var(--type-display);font-weight:450;margin:12px 0 16px}
.hero h1 span{display:block;text-wrap:balance}
:is(:lang(zh),:lang(ja),:lang(ko)) .hero h1{font-weight:500}
.hero-description{max-width:54ch;color:var(--white);font-size:var(--type-reading);text-wrap:pretty}
:is(:lang(zh),:lang(ja),:lang(ko)) .hero-description{max-width:31ic;text-wrap:balance}
.hero .actions{margin-top:24px;gap:9px}
.hero .btn{font-size:1rem}
.hero .btn.primary,.template-band .btn.primary{background:var(--soft);border-color:var(--soft);color:var(--ink)}
.hero .btn.primary:hover,.template-band .btn.primary:hover{background:var(--white);border-color:var(--white)}
.hero .btn.outline{color:var(--white);border-color:#fff9;background:transparent}
.hero .btn.outline:hover{background:#0008;border-color:var(--white)}
.hero :focus-visible,.template-band :focus-visible,.footer :focus-visible,.player-dialog :focus-visible{outline-color:var(--white)}
.hero-reel{flex:none;max-width:37%;align-self:flex-end}
.hero-reel-panel{display:flex;align-items:center;gap:10px;padding:7px 12px 7px 7px;border-radius:8px;border:1px solid #fff5;background:#0009}
.reel-play{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--soft);color:var(--night);transition:background .16s}
.reel-play:hover{background:var(--white)}
.reel-play .icon{margin-left:2px}
.reel-label{display:block;color:#e4e5e6;font-size:var(--type-meta);line-height:1.35;margin-bottom:3px}
.hero-reel strong{display:block;font-size:14px;font-weight:600;line-height:1.25}
.hero-reel strong a:hover{text-decoration:underline;text-underline-offset:3px}
.hero-reel .meta{margin-left:auto;color:#e4e5e6;white-space:nowrap}
.hero-reel p{margin-top:6px;color:#e4e5e6;font-size:12px;text-align:right}
.screen{position:relative;display:block;isolation:isolate;overflow:hidden;background:var(--night)}
.screen img{width:100%;height:100%;object-fit:cover;transition:transform .32s ease}
.screen:hover img{transform:scale(1.025)}
.play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:61px;height:61px;background:#000b;border:1px solid #fffa;border-radius:50%;color:var(--white);backdrop-filter:blur(7px);z-index:1;transition:background .16s,scale .16s}
.play .icon{width:21px;height:21px;margin-left:3px}
.screen:hover .play{background:var(--night);scale:1.09}
.spec-rail{display:flex;justify-content:center;flex-wrap:wrap;gap:22px clamp(25px,5vw,72px);margin:0 0 clamp(64px,9vw,128px);padding-top:clamp(27px,3.6vw,49px)}
.spec-rail>div{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.spec-rail dt{font-size:14px;color:var(--quiet)}
.spec-rail dd{margin:0;font-size:14px;font-weight:600}
.spec-rail a:hover{color:var(--accent)}
.spec-rail>div:last-child a{display:inline-flex;align-items:center;gap:4px}
.tool-links{display:flex;justify-content:center;flex-wrap:wrap;gap:5px}
.tool-links a{display:block;padding:4px 9px;background:var(--tint);border-radius:6px;white-space:nowrap}
.tool-links a:hover{background:var(--soft)}
.section{padding-bottom:clamp(62px,8vw,116px)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:clamp(20px,3vw,38px)}
.section-head h2{font-size:var(--type-section);text-wrap:balance}
.section-head .kicker+h2{margin-top:10px}
.section-head p:not(.kicker){color:var(--muted);margin-top:11px;max-width:60ch;text-wrap:pretty}
.section-head>.link,.section-head>.btn{flex:none;margin-bottom:3px}
.featured-films .section-head{flex-direction:column;align-items:center;text-align:center;margin-bottom:clamp(28px,4vw,56px)}
.featured-films .section-head p:not(.kicker){margin-inline:auto}
.film-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
@media(min-width:901px){.originals-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.film-card{min-width:0}
.film-card .screen{aspect-ratio:16/9;border-radius:8px}
.film-card .play{width:46px;height:46px}
.film-card .play .icon{width:17px;height:17px}
.card-body{padding-top:18px}
.card-meta{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--quiet);margin-bottom:9px}
.card-meta span:last-child{white-space:nowrap}
.card-body h2,.card-body h3{font-size:var(--type-card)}
.card-body p{color:var(--muted);margin-top:9px;max-width:51ch}
.card-body .link{margin-top:13px}
.workflow{margin-bottom:clamp(58px,8vw,112px)}
.path-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:clamp(24px,5vw,64px);padding:clamp(20px,4.4vw,62px);background:var(--soft);border:1px solid var(--line);border-radius:var(--radius)}
.path-section .section-head{margin-bottom:0}
.path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:25px;border-block:1px solid var(--line)}
.path-card{padding:24px 20px;display:block}
.path-card:first-child{padding-left:0}
.path-card+.path-card{border-left:1px solid var(--line)}
.path-section .path-grid{grid-template-columns:minmax(0,1fr);margin-top:0;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.path-section .path-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(12px,2vw,25px);padding:clamp(16px,2vw,25px);border-radius:8px;transition:background .16s}
.path-section .path-card+.path-card{border-left:0;position:relative}
.path-section .path-card+.path-card::before{content:"";position:absolute;inset:0 clamp(16px,2vw,25px) auto;height:1px;background:var(--line)}
.path-section .path-card:hover{background:var(--soft)}
.path-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:var(--soft);color:var(--ink)}
.path-icon .icon{width:23px;height:23px}
.path-card>.icon{width:18px;height:18px;color:var(--ink)}
.path-card h3{font-size:var(--type-card)}
.path-card p{color:var(--muted);margin-top:9px;max-width:38ch}
.path-section .path-card p{margin-top:5px;max-width:58ch}
.template-band{background:var(--night);color:var(--white);border-radius:var(--radius);display:grid;grid-template-columns:1fr 1fr;align-items:stretch;overflow:hidden}
.template-band>div{padding:clamp(25px,4.6vw,60px)}
.template-band .kicker{color:var(--soft)}
.template-band h2{font-size:var(--type-section);margin:11px 0}
.template-band p:not(.kicker){color:#e4e5e6;max-width:44ch}
.template-band .btn{margin-top:19px}
.template-band .screen:focus-visible{outline-offset:-5px}
.template-band+.faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(20px,5vw,65px);margin-top:clamp(54px,8vw,108px)}
.faq h2{font-size:var(--type-section)}
.prose .faq h2{font-size:clamp(24px,3vw,33px);margin-bottom:19px}
.faq-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.faq-list details+details{border-top:1px solid var(--line)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:16px clamp(14px,2.4vw,26px);font-weight:600;line-height:1.55;outline-offset:-3px;border-radius:6px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:8px;height:8px;margin:0 4px 4px 0;border:solid var(--quiet);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.faq-list details[open] summary::after{margin-bottom:0;transform:rotate(225deg)}
.faq-list summary:hover,.faq-list details[open] summary{color:var(--accent)}
.faq-answer{padding:0 clamp(14px,2.4vw,26px) 20px;color:var(--muted);overflow-wrap:anywhere}
.faq-answer p{max-width:72ch}
.faq-links{display:flex;flex-wrap:wrap;gap:6px 20px;margin-top:11px}
.faq-links .link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.footer{background:var(--night);color:var(--white);padding-block:clamp(36px,5vw,70px);margin-top:clamp(52px,8vw,112px)}
.footer-inner{display:flex;justify-content:space-between;gap:clamp(24px,4vw,64px);align-items:start}
.footer .domain,.footer p{color:#a3a3a3}
.footer .mark{background:var(--button-dark)}
.footer p{font-size:14px;margin-top:15px;max-width:33ch}
.footer-links{display:grid;grid-template-columns:auto auto;justify-items:start;gap:12px clamp(20px,4vw,56px);font-size:14px}
.footer-links a:hover{text-decoration:underline;text-underline-offset:3px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:.45rem .65rem;list-style:none;padding:0;margin:23px 0 0;font-size:13px;color:var(--quiet)}
.breadcrumb li+li::before{content:"/";margin-right:.65rem;color:var(--quiet)}
.breadcrumb a:hover{color:var(--accent)}
.page-head{padding-block:clamp(34px,5vw,73px) clamp(32px,4.5vw,61px);max-width:960px}
.page-head h1{font-size:var(--type-title);margin:0 0 16px;overflow-wrap:break-word;text-wrap:balance}
.page-head .kicker+h1{margin-top:11px}
.page-head .lead{max-width:60ch;font-size:clamp(1.0625rem,1.5vw,1.25rem);color:var(--muted);text-wrap:pretty}
.page-head .meta{color:var(--quiet);margin-top:16px}
.page-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(23px,5vw,72px);align-items:start}
.page-grid h2,.prose h2{font-size:clamp(26px,3.4vw,42px);margin-bottom:17px}
.page-grid p,.prose p{color:var(--muted);max-width:69ch}
.film-video{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--night);border-radius:var(--radius)}
.pelican-hero{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);align-items:center;gap:clamp(24px,4vw,56px);padding-top:clamp(20px,4vw,54px)}
.pelican-hero .page-head{padding:0}
.pelican-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 20px;margin-top:10px;color:var(--muted);font-size:13px}
.pelican-demo summary{font-size:var(--type-card);font-weight:500;margin-bottom:16px}
.pelican-sample{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.pelican-sample video,.pelican-sample img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--night)}
.pelican-sample figcaption{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;padding:11px 14px}
.pelican-sample .meta{color:var(--muted)}
.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.5vw,24px)}
.reference-card{display:flex;flex-direction:column;gap:10px;min-width:0;padding:clamp(17px,2vw,27px);border:1px solid var(--line);border-radius:8px}
.reference-card h3{font-size:var(--type-card)}
.reference-card p{color:var(--muted)}
.reference-card .meta,.reference-card .reference-credit{font-size:13px;color:var(--quiet)}
.reference-credit{overflow-wrap:anywhere}
.reference-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;margin-top:auto;padding-top:7px}
.reference-actions .collection-source{margin:0;padding:5px 0;color:var(--quiet)}
@media(max-width:720px){.pelican-hero{grid-template-columns:1fr}}
.film-detail{padding-top:clamp(30px,5vw,65px)}
.shot-list{list-style:none;margin:0;padding:0}
.shot-list li{display:grid;grid-template-columns:105px minmax(0,1fr);gap:15px;padding:18px 0;border-top:1px solid var(--line)}
.shot-list .meta{color:var(--accent);margin-top:3px}
.shot-list h3{font-size:20px;letter-spacing:-.025em}
.shot-list p{margin-top:6px;font-size:15px}
.note{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:clamp(21px,3vw,36px)}
.note h2{font-size:26px}
.note p+p{margin-top:.7rem}
.note .btn{margin-top:17px}
.production{border-top:1px solid var(--line);margin-top:36px;padding-top:24px}
.production h2{font-size:26px;margin:0 0 10px}
.production p{color:var(--muted);max-width:72ch}
.production a:not(.btn),.prose a:not(.btn){color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,24px);list-style:none;padding:0;margin:0}
.guide-list li a{display:grid;height:100%;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:8px 20px;padding:clamp(19px,2.7vw,36px);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
.guide-list li a:hover{background:var(--soft)}
.guide-list h2{font-size:var(--type-card)}
.guide-list p{color:var(--muted)}
.guide-list .icon{grid-column:2;grid-row:1/3;align-self:center;color:var(--accent)}
.guide-list a:hover h2{color:var(--accent)}
.article-layout{display:grid;grid-template-columns:minmax(154px,215px) minmax(0,760px);gap:clamp(25px,5vw,75px)}
.toc{align-self:start;border:1px solid var(--line);border-radius:12px;background:var(--surface);position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;padding:16px;font-size:14px}
.toc p{color:var(--quiet)}
.toc ul{list-style:none;padding:0;margin:.65rem 0}
.toc a{display:block;padding:5px 2px;line-height:1.35}
.toc a:hover{color:var(--accent)}
.prose{min-width:0;overflow-wrap:anywhere;font-size:var(--type-reading)}
.prose section{padding:22px 0 27px;border-top:1px solid var(--line)}
.prose p+p{margin-top:.85rem}
.prose ul{padding-left:1.2rem;margin-bottom:0}
.prose li+li{margin-top:.4rem}
pre{background:var(--night);color:var(--soft);padding:1rem;border-radius:8px;overflow:auto;font:13px/1.65 var(--mono);margin:14px 0 0}
.inline-code{position:relative}
.inline-code button{position:absolute;top:6px;right:6px;border:1px solid #595959;border-radius:5px;background:var(--button-dark);color:var(--white);font-size:12px;padding:3px 7px}
.inline-code pre{padding-right:80px}
.tool-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(17px,4vw,55px);align-items:start}
.tool-form,.brief-output{background:var(--surface);padding:clamp(18px,3vw,29px);border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.tool-form{display:grid;gap:16px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{display:flex;min-width:0;flex-direction:column;gap:6px;font-size:14px;font-weight:650}
.field input,.field select,.field textarea{min-width:0;width:100%;padding:9px 11px;background:var(--paper);border:1px solid var(--line);border-radius:7px;font-size:1rem;font-weight:400}
.field textarea{resize:vertical;min-height:72px}
.brief-output h2{font-size:29px}
.brief-output textarea{display:block;width:100%;min-height:248px;resize:vertical;margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--tint);font:1rem/var(--leading-copy) var(--sans)}
.brief-output .actions{margin-top:16px}
.status{font-size:13px;color:var(--accent);min-height:1.25rem;margin-top:7px}
@media(max-width:900px){
  .header{gap:17px}.header nav{gap:16px}.header-actions{gap:8px}.header .brand{font-size:21px}.header .btn{padding-inline:9px}
}
@media(max-width:720px){
  .header{min-height:66px;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;padding-top:9px}.header nav{grid-column:1/-1;grid-row:2;width:100%;gap:clamp(17px,6vw,34px);margin:0}.header nav a{padding:10px 0 12px}
  .header-actions{min-width:0;max-width:100%;justify-content:flex-end}
  .hero{align-items:flex-start;flex-direction:column;gap:24px;padding:clamp(157px,44vw,270px) clamp(19px,7.7vw,43px) 24px;min-height:0}
  .hero h1{margin:10px 0 15px}
  .hero-image img{height:78%;object-position:66% 45%}
  .hero-image::after{background:linear-gradient(0deg,#000 19%,#000f 28%,#000b 57%,#0008 74%,#0002 91%,#0001 100%)}
  .hero-reel{align-self:stretch;max-width:440px}
  .hero-reel p{text-align:left;margin-left:4px}
  .section-head{align-items:start;flex-direction:column;gap:12px}.section-head>.link,.section-head>.btn{margin:0}
  .template-band+.faq{grid-template-columns:minmax(0,1fr)}
  .page-grid,.tool-grid,.template-band,.path-section{grid-template-columns:minmax(0,1fr)}.article-layout{grid-template-columns:minmax(0,1fr);gap:24px}.toc{position:static}
  .reference-grid{grid-template-columns:1fr}
  .toc ul{display:flex;gap:4px 15px;flex-wrap:wrap}
  .template-band .screen{aspect-ratio:16/9}
  .footer-inner{flex-direction:column}
}
@media(max-width:560px){
  .spec-rail{gap:14px 25px}
  .spec-rail>div:first-child{flex-basis:100%}
  .tool-links a{padding:3px 8px}
  .path-grid,.guide-list{grid-template-columns:1fr}
  .production .path-card{padding:14px 0}
  .production .path-card+.path-card{border-left:0;border-top:1px solid var(--line)}
  .path-icon{width:36px;height:36px}.path-icon .icon{width:19px;height:19px}
}
@media(max-width:460px){
  .brand .mark{width:26px;height:26px}.brand .mark .icon{width:18px;height:18px}.header .brand{font-size:19px;gap:7px}.header-actions{gap:5px}
  .header .btn{font-size:var(--type-meta);padding:4px 7px;min-width:0;min-height:36px;overflow-wrap:anywhere}.header .btn .icon{display:none}
  .hero .actions{gap:8px;margin-top:20px}.hero .btn{padding-inline:.7rem;font-size:.9375rem}
  .film-grid{grid-template-columns:1fr}
  .spec-rail dd{font-size:13px}
  .shot-list li{grid-template-columns:1fr;gap:4px}
}
@media(max-width:360px){
  .header{column-gap:8px}
  .header .brand{font-size:17px;gap:6px}
  .header .mark{width:23px;height:23px;border-radius:6px}
  .languages summary{gap:4px;padding-inline:2px}
  .hero .actions>.btn{flex:1 0 auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
.collection{padding-top:0}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,1.4vw,24px)}
.collection-card{display:flex;min-width:0;flex-direction:column}
.collection-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding-top:clamp(15px,1.7vw,22px)}
.collection-screen{aspect-ratio:16/9;background:var(--night);border-radius:8px}
.collection-screen:not([data-play]):hover img{transform:none}
.collection-screen:focus-visible{outline-offset:-4px}
.collection-screen .play{width:52px;height:52px}
.excerpt-label{position:absolute;left:12px;bottom:12px;z-index:1;padding:4px 7px;border-radius:5px;background:#000c;color:var(--white);font-size:11px;font-weight:600}
.collection-card .meta{color:var(--quiet)}
.collection-card h3{font-size:var(--type-card);margin-top:7px}
.collection-card p:not(.meta){color:var(--muted);margin-top:8px}
.collection-card .credit{font-size:var(--type-small);font-weight:600}
.collection-source{display:inline-flex;align-items:center;gap:4px;padding-top:13px;margin-top:auto;color:var(--quiet);font-size:var(--type-meta)}
.collection-source:hover,.player-source:hover{text-decoration:underline;text-underline-offset:3px}
.template-preview{aspect-ratio:16/9;border-radius:var(--radius)}
.note .btn+.btn{margin-left:6px}
.player-dialog{width:min(980px,calc(100% - 32px));max-height:calc(100dvh - 30px);padding:0;border:1px solid #595959;border-radius:var(--radius);background:var(--night);color:var(--white);box-shadow:0 20px 100px #000b}
.player-dialog::backdrop{background:#000c;backdrop-filter:blur(5px)}
.player-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px 8px 17px}
.player-bar h2{font-size:22px}
.player-close{display:grid;place-items:center;background:transparent;border:1px solid #595959;color:inherit;width:38px;height:38px;border-radius:7px}
.player-close:hover{background:var(--button-dark)}
.player-media{background:#000}
.player-media video,.player-media iframe{display:block;width:100%;max-height:calc(100dvh - 130px);border:0;aspect-ratio:16/9;object-fit:contain}
.player-media iframe{min-height:200px}
.player-media.portrait video,.player-media.portrait iframe{width:min(100%,max(200px,calc((100dvh - 130px) * 9 / 16)));margin-inline:auto;aspect-ratio:9/16}
.player-dialog.post{width:min(552px,calc(100% - 24px))}
.player-dialog.post iframe{height:min(650px,calc(100dvh - 125px));aspect-ratio:auto;background:var(--white)}
.player-source{display:inline-flex;align-items:center;gap:4px;margin:9px 17px;color:#e4e5e6;font-size:12px}
@media(max-width:800px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.collection-grid{grid-template-columns:1fr}}

.sources-note{color:var(--muted);font-size:13px;margin-top:14px}
.sources-note a{text-decoration:underline;text-underline-offset:2px}
.language-notice{display:flex;align-items:center;gap:12px;margin-block:0 12px;padding:9px 12px;background:var(--tint);border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--muted)}
.language-notice[hidden]{display:none}
.language-notice a{margin-left:auto;color:var(--accent);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.language-notice button{width:34px;min-width:34px;height:34px;border:0;background:transparent;border-radius:4px}
.language-notice button:hover{background:var(--soft)}
.shot-list{display:grid;gap:12px}
.shot-list li{grid-template-columns:128px minmax(0,1fr);align-items:start;padding:13px 0 0;margin:0}
.shot-list figure{margin:0}
.shot-list figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;background:var(--night)}
.shot-list figcaption{margin-top:5px}
.guide-visual{margin:0 0 18px}
.guide-visual .screen{aspect-ratio:2.55;border-radius:var(--radius)}
.guide-visual figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:5px 14px;padding-top:8px;color:var(--quiet);font-size:13px}
.template-steps{margin-top:34px}
.template-steps ol{color:var(--muted);padding-left:1.2rem}
.template-steps .note h2{font-size:26px}
.production p+p{margin-top:8px}
@media(max-width:460px){.shot-list li{grid-template-columns:94px minmax(0,1fr);gap:10px}.shot-list h3{font-size:18px}.language-notice{gap:8px}.language-notice a{white-space:nowrap}}
