/* 멀리필름 하위 페이지 공통 스타일. index.html의 머리와 하단 값과 같게 유지한다. */
:root{--ink:#000000;--ink-2:#141414;--ink-3:#1C1C1C;--bone:#FFFFFF;--line:rgba(255,255,255,0.14);
  --font-base:'Noto Sans KR','Arial',sans-serif;--font-mono:'Noto Sans KR','Arial',monospace;--font-latin:'Arial','Noto Sans KR',sans-serif;}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--ink);color:var(--bone);font-family:var(--font-base);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
::selection{background:var(--bone);color:var(--ink);}
a{color:inherit;text-decoration:none;}
ul,ol{list-style:none;}
button{font-family:inherit;cursor:pointer;background:none;border:none;color:inherit;}
img,video{display:block;max-width:100%;}
.wrap{max-width:1400px;margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem);}

/* 머리 */
nav.site{position:fixed;top:0;left:0;right:0;z-index:60;background:rgba(0,0,0,0.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);}
.navwrap{padding:1.2rem clamp(1.25rem,4vw,2.5rem);display:flex;align-items:center;justify-content:space-between;}
.logo img{width:184px;height:auto;display:block;}
.navlinks{display:flex;gap:2.2rem;}
.navlinks a{position:relative;font-family:var(--font-mono);font-size:13px;letter-spacing:.02em;opacity:.65;transition:opacity .25s;padding-bottom:.3rem;}
.navlinks a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--bone);transition:width .3s ease;}
.navlinks a:hover,.navlinks a[aria-current="page"]{opacity:1;}
.navlinks a:hover::after,.navlinks a[aria-current="page"]::after{width:100%;}
.hamburger{display:none;flex-direction:column;justify-content:center;gap:5px;width:26px;height:22px;}
.hamburger span{display:block;width:100%;height:2px;background:var(--bone);border-radius:2px;transition:transform .3s ease,opacity .3s ease;}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media(max-width:820px){.navlinks{display:none;}.hamburger{display:flex;}}
.mobile-menu-full{position:fixed;inset:0;z-index:300;background:var(--ink);display:flex;flex-direction:column;transform:translateY(-100%);transition:transform .4s cubic-bezier(.2,.7,.2,1);}
.mobile-menu-full.open{transform:translateY(0);}
.mmf-top{display:flex;align-items:center;justify-content:space-between;padding:1.2rem clamp(1.25rem,4vw,2.5rem);border-bottom:1px solid rgba(255,255,255,.15);}
.mmf-close{width:28px;height:28px;color:#fff;font-size:1.5rem;line-height:1;display:flex;align-items:center;justify-content:center;}
.mmf-list{flex:1;display:flex;flex-direction:column;justify-content:center;padding:0 clamp(1.25rem,4vw,2.5rem);overflow-y:auto;}
.mmf-list li{border-bottom:1px solid rgba(255,255,255,.15);}
.mmf-list li:last-child{border-bottom:none;}
.mmf-list a{display:flex;align-items:baseline;gap:1.1rem;padding:1.5rem 0;font-weight:800;letter-spacing:-0.02em;font-size:clamp(2.1rem,10vw,3rem);color:#fff;}
.mmf-num{font-family:var(--font-mono);font-size:13px;font-weight:400;color:rgba(255,255,255,.45);}

/* 본문 */
main.page{padding:calc(84px + clamp(2rem,5vw,3.5rem)) 0 clamp(3.5rem,8vw,6rem);}
.crumbs{font-size:.8rem;color:rgba(255,255,255,.5);margin-bottom:1.6rem;}
.crumbs a:hover{color:#fff;}
.crumbs span[aria-hidden]{margin:0 .5em;opacity:.5;}
.eyebrow{font-family:var(--font-latin);font-size:11px;letter-spacing:.3em;text-transform:uppercase;opacity:.55;margin-bottom:1rem;display:block;font-weight:500;}
.page-head{max-width:52rem;margin-bottom:clamp(2.5rem,6vw,4rem);}
.page-head h1{font-weight:800;letter-spacing:-.02em;font-size:clamp(2rem,5.2vw,3.4rem);line-height:1.2;word-break:keep-all;}
.page-head .lead{margin-top:1.4rem;font-size:clamp(1.05rem,1.6vw,1.2rem);line-height:1.75;color:rgba(255,255,255,.86);word-break:keep-all;}
.block{display:grid;grid-template-columns:minmax(0,18rem) minmax(0,1fr);gap:clamp(1.2rem,4vw,4rem);padding:clamp(2rem,4.5vw,3.2rem) 0;border-top:1px solid var(--line);}
@media(max-width:820px){.block{grid-template-columns:1fr;gap:1rem;}}
.block[id]{scroll-margin-top:6rem;}  /* 고정 머리 메뉴에 가리지 않게(메뉴에서 바로 가는 구역) */
.block h2{font-weight:700;font-size:clamp(1.25rem,2.2vw,1.55rem);line-height:1.35;letter-spacing:-.01em;word-break:keep-all;}
.block-body{max-width:46rem;}
.block-body>*+*{margin-top:1.1rem;}
.block-body p{color:rgba(255,255,255,.86);word-break:keep-all;}
.block-body a.text-link{border-bottom:1px solid rgba(255,255,255,.5);}
.block-body a.text-link:hover{border-color:#fff;}
ul.items li{position:relative;padding:.85rem 0 .85rem 1.3rem;border-bottom:1px solid var(--line);word-break:keep-all;}
ul.items li:first-child{border-top:1px solid var(--line);}
ul.items li::before{content:"";position:absolute;left:0;top:1.55rem;width:.45rem;height:1px;background:rgba(255,255,255,.6);}
ul.items b{font-weight:700;}
ul.items span{display:block;color:rgba(255,255,255,.7);font-size:.94rem;margin-top:.15rem;}
ol.steps{counter-reset:step;}
ol.steps li{counter-increment:step;position:relative;padding:.95rem 0 .95rem 3rem;border-bottom:1px solid var(--line);word-break:keep-all;}
ol.steps li:first-child{border-top:1px solid var(--line);}
ol.steps li::before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:1.05rem;font-family:var(--font-latin);font-size:.85rem;color:rgba(255,255,255,.45);}
ol.steps b{font-weight:700;}
ol.steps span{display:block;color:rgba(255,255,255,.7);font-size:.94rem;margin-top:.15rem;}
dl.faq div{padding:1.1rem 0;border-bottom:1px solid var(--line);}
dl.faq div:first-child{border-top:1px solid var(--line);}
dl.faq dt{font-weight:700;word-break:keep-all;}
dl.faq dd{margin-top:.45rem;color:rgba(255,255,255,.8);word-break:keep-all;}
table.info{width:100%;border-collapse:collapse;font-size:.95rem;}
table.info th,table.info td{text-align:left;padding:.8rem 0;border-bottom:1px solid var(--line);vertical-align:top;}
table.info tr:first-child th,table.info tr:first-child td{border-top:1px solid var(--line);}
table.info th{width:9.5rem;font-weight:500;color:rgba(255,255,255,.55);}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem;}
.card{display:block;border:1px solid var(--line);border-radius:6px;padding:1.1rem 1.2rem;transition:border-color .2s;}
a.card:hover{border-color:rgba(255,255,255,.5);}
.card b{display:block;font-weight:700;word-break:keep-all;}
.card span{display:block;margin-top:.3rem;font-size:.88rem;color:rgba(255,255,255,.6);}
.card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:4px;margin-bottom:.8rem;background:#101010;}
.card .tag{display:inline-block;margin-top:.6rem;font-size:.75rem;color:rgba(255,255,255,.55);border:1px solid var(--line);border-radius:999px;padding:.1rem .6rem;}
.cta{margin-top:clamp(2.5rem,6vw,4rem);border:1px solid var(--line);border-radius:8px;padding:clamp(1.6rem,4vw,2.6rem);display:flex;flex-wrap:wrap;gap:1.4rem;align-items:center;justify-content:space-between;}
.cta h2{font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:700;word-break:keep-all;}
.cta p{margin-top:.4rem;color:rgba(255,255,255,.7);}
.btn{display:inline-flex;align-items:center;gap:.4rem;background:var(--bone);color:var(--ink);font-weight:600;font-size:.92rem;padding:.85rem 1.6rem;border-radius:999px;transition:opacity .2s;white-space:nowrap;}
.btn:hover{opacity:.8;}
/* 확인 대기 표시(미리보기 전용. 공개용 빌드에서는 남아 있으면 빌드가 멈춘다) */
mark.todo{background:rgba(255,214,10,.16);color:#ffe27a;outline:1px dashed rgba(255,214,10,.6);padding:0 .2em;border-radius:2px;}
mark.todo::after{content:" ⓘ " attr(data-note);font-size:.75em;opacity:.8;}

/* 하단 */
footer.site{background:var(--ink);color:#fff;padding:3.5rem 0 2rem;border-top:1px solid var(--line);}
.footer-top{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.15);}
.footer-logo img{width:290px;max-width:100%;height:auto;display:block;margin-bottom:.9rem;}
.footer-desc{font-size:1.2rem;color:rgba(255,255,255,.55);line-height:1.6;margin-bottom:1.2rem;max-width:22rem;}
.footer-legal{display:flex;flex-direction:column;gap:.6rem;align-items:flex-start;}
.footer-row{display:flex;gap:.9rem;font-size:.82rem;color:rgba(255,255,255,.7);line-height:1.5;}
.footer-nav{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin-top:.8rem;font-size:.82rem;color:rgba(255,255,255,.7);}
.footer-nav a:hover{color:#fff;}
.footer-bottom{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding-top:1.8rem;font-family:var(--font-mono);font-size:11px;letter-spacing:.05em;}
.footer-links{display:flex;align-items:center;gap:.8rem;color:rgba(255,255,255,.6);}
.footer-links a:hover{color:#fff;}
.footer-divider{opacity:.3;}
.footer-copyright{color:rgba(255,255,255,.4);position:absolute;left:50%;transform:translateX(-50%);}
@media(max-width:720px){.footer-top{grid-template-columns:1fr;}.footer-bottom{flex-direction:column;align-items:center;text-align:center;gap:.6rem;}.footer-copyright{position:static;transform:none;}}

/* 문단 다듬기
   - 넓은 화면: 양쪽 정렬. 한 줄이 길어 단어 사이가 거의 벌어지지 않는다
   - 좁은 화면: 단어 단위 줄바꿈(keep-all)과 양쪽 정렬을 함께 쓰면 단어 사이가 크게 벌어져 왼쪽 정렬을 유지한다
   - 제목은 줄 길이를 고르게, 문단은 마지막 줄에 한 단어만 남지 않게(지원하지 않는 브라우저는 그대로) */
.page-head h1,.block h2,.card b{text-wrap:balance;}
.page-head .lead,.block-body p,dl.faq dd,ul.items span,ol.steps span{text-wrap:pretty;}
@media(min-width:821px){.page-head .lead,.block-body p,dl.faq dd,ul.items span,ol.steps span{text-align:justify;}}
[lang="en"] .page-head .lead,[lang="en"] .block-body p,[lang="en"] ul.items span{hyphens:auto;}
/* 유튜브 작업 영상: 대표 이미지와 재생 단추, 누르면 iframe */
.yt{position:relative;display:block;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#101010;}
.yt img{width:100%;height:100%;object-fit:cover;transition:opacity .2s;}
.yt:hover img{opacity:.85;}
.yt-btn{position:absolute;left:50%;top:50%;width:68px;height:48px;margin:-24px 0 0 -34px;border-radius:12px;background:rgba(10,10,10,.75);transition:background .2s;}
.yt-btn::after{content:"";position:absolute;left:28px;top:14px;border-style:solid;border-width:10px 0 10px 16px;border-color:transparent transparent transparent #fff;}
.yt:hover .yt-btn,.yt:focus-visible .yt-btn{background:red;}  /* 첫 화면 빨간 점과 같은 색 */
.yt:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.yt-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:6px;background:#101010;}
ul.vlinks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;}
ul.vlinks li{word-break:keep-all;}
