/* 유니온필름 홈페이지 — B1 쇼릴 풀스크린 (다크 시네마). 색은 :root 변수에서 바꿈 */
/* 유니온필름 리뉴얼 시안 B1 — 다크 시네마 · 쇼릴 풀스크린 */
@import url("https://fonts.googleapis.com/css2?family=Questrial&family=La+Belle+Aurore&display=swap");
@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUITE@2/fonts/static/woff2/SUITE.css");
@import url("https://cdn.jsdelivr.net/gh/fonts-archive/KoPubDotum/KoPubDotum.css");

:root {
  --bg: #0b0b0b;
  --bg2: #141414;
  --line: rgba(255,255,255,.12);
  --text: #f2f2f2;
  --mute: #9a9a9a;
  --y: #edae20;
  --gut: clamp(20px, 4.4vw, 64px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "KoPubDotum", "Apple SD Gothic Neo", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.en { font-family: "Questrial", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.ko-h { font-family: "SUITE", sans-serif; letter-spacing: -.02em; }

/* ---------- 헤더 ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--gut); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.hd.solid { background: rgba(11,11,11,.92); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.logo { font-family: "Questrial", sans-serif; font-size: 22px; letter-spacing: .04em; }
.logo b { font-weight: 700; -webkit-text-stroke: .5px currentColor; }
.nav { display: flex; gap: 44px; }
.nav a { font-family: "Questrial", sans-serif; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #cfcfcf; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.menu-btn { display: none; width: 30px; height: 30px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; }

/* ---------- 메인 히어로 ---------- */
.hero { position: relative; height: min(100vh, 1000px); min-height: 640px; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(11,11,11,.96) 100%); }
.hero-in { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero .eyebrow { color: var(--y); font-size: 12px; margin-bottom: 22px; }
.hero h1 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(38px, 5.6vw, 84px); line-height: 1.12; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--y); }
.hero p { margin-top: 22px; color: #cfcfcf; font-size: 16px; line-height: 1.75; max-width: 560px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: 40px; font-family: "SUITE", sans-serif; font-weight: 700; font-size: 15px; transition: transform .2s, background .2s, color .2s; }
.btn.y { background: var(--y); color: #111; }
.btn.y:hover { transform: translateY(-2px); background: #f6bd38; }
.btn.line { border: 1px solid rgba(255,255,255,.4); }
.btn.line:hover { border-color: var(--y); color: var(--y); }
.btn i { font-style: normal; }
.hero .cta-row { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.scroll { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #bdbdbd; font-size: 11px; }
.scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--y), transparent); animation: drip 2s infinite; }
@keyframes drip { 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; } }

/* ---------- 섹션 공통 ---------- */
.sec { padding: 120px var(--gut); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.sec-hd .en { color: var(--y); font-size: 12px; display: block; margin-bottom: 16px; }
.sec-hd h2 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.03em; line-height: 1.2; }
.sec-hd p { color: var(--mute); font-size: 15px; line-height: 1.7; max-width: 440px; }

/* ---------- 소개 ---------- */
.intro { padding: 140px var(--gut) 100px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; border-bottom: 1px solid var(--line); }
.intro h2 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.3; letter-spacing: -.03em; }
.intro h2 em { font-style: normal; color: var(--y); }
.intro p { color: #c9c9c9; font-size: 17px; line-height: 1.95; }
.intro .facts { margin-top: 36px; display: flex; gap: 48px; }
.intro .facts b { display: block; font-family: "SUITE", sans-serif; font-size: 48px; color: #fff; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.intro .facts span { color: var(--mute); font-size: 13px; }

/* ---------- 필름스트립 ---------- */
.reel { padding: 110px 0 120px; }
.reel .sec-hd { padding: 0 var(--gut); }
.arrows { display: flex; gap: 10px; flex: none; }
.arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); font-size: 20px; transition: .2s; }
.arrows button:hover { border-color: var(--y); color: var(--y); }
.strip { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); padding: 0 var(--gut) 24px; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip .card { flex: 0 0 min(62vw, 880px); scroll-snap-align: start; }
.reel-foot { padding: 30px var(--gut) 0; display: flex; justify-content: space-between; align-items: center; color: var(--mute); font-size: 13px; }
.reel-foot .bar { flex: 1; height: 2px; background: var(--line); margin: 0 24px; position: relative; overflow: hidden; }
.reel-foot .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--y); }

/* ---------- 카드 ---------- */
.card { position: relative; cursor: pointer; }
.card .th { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 4px; }
.card .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; filter: brightness(.88); }
.card:hover .th img { transform: scale(1.05); filter: brightness(.55); }
.card .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--y); opacity: 0; transform: scale(.7); transition: .3s; }
.card .play::before { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid #111; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.card:hover .play { opacity: 1; transform: scale(1); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 2px 0; }
.card h3 { font-family: "SUITE", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.card .cat { flex: none; color: var(--mute); font-size: 12px; }
.card .num { position: absolute; left: 16px; top: 14px; z-index: 1; font-family: "Questrial", sans-serif; font-size: 13px; color: #fff; letter-spacing: .12em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* ---------- 서비스 3분할 ---------- */
.make-hd { position: relative; overflow: hidden; padding: 130px var(--gut) 80px; }
.make-hd .en { position: relative; color: var(--y); font-size: 12px; display: block; margin-bottom: 22px; }
.make-hd h2 { position: relative; font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(46px, 7vw, 108px); line-height: 1.08; letter-spacing: -.04em; }
.make-hd h2 em { font-style: normal; display: inline-block; color: var(--y); }
/* 화면에 들어오면 두 줄이 차례로 떠오르고, '만드는 영상' 위로 빛이 쓸고 지나감 */
.js-make .make-hd .en, .js-make .make-hd h2 { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.js-make .make-hd h2 em { opacity: 0; transform: translateY(28px); transition: opacity .8s .25s, transform .9s cubic-bezier(.2,.8,.2,1) .25s; }
.js-make .make-hd.in .en, .js-make .make-hd.in h2, .js-make .make-hd.in h2 em { opacity: 1; transform: none; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .make-hd h2 em { color: transparent; background: linear-gradient(105deg, var(--y) 0%, var(--y) 42%, #fff4cf 50%, var(--y) 58%, var(--y) 100%); background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; }
  .make-hd.in h2 em { animation: makeShine 5.5s ease-in-out 1s infinite; }
}
@keyframes makeShine { 0% { background-position: 100% 0; } 30%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .make-hd.in h2 em { animation: none; } }
/* 뒤에 깔리는 큰 외곽선 글자 */
.make-bg { position: absolute; right: -1vw; top: 50%; transform: translateY(-50%); font-family: "Questrial", sans-serif; font-size: clamp(90px, 15vw, 240px); letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); pointer-events: none; user-select: none; }
@media (max-width: 760px) { .make-hd { padding: 96px 20px 60px; } .make-bg { top: auto; bottom: 18px; transform: none; right: -30px; } }
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc { position: relative; padding: 64px var(--gut) 72px; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); overflow: hidden; }
.svc:last-child { border-right: 0; }
@media (max-width: 1180px) and (min-width: 761px) { .services { grid-template-columns: repeat(2, 1fr); } .svc:nth-child(2n) { border-right: 0; } .svc:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.svc:hover::before { transform: scaleX(1); }
.svc:hover { background: var(--bg2); }
.svc .no { font-family: "Questrial", sans-serif; color: var(--y); font-size: 14px; letter-spacing: .2em; }
.svc h3 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; margin: 26px 0 18px; }
.svc p { color: #bdbdbd; font-size: 15px; line-height: 1.8; }
.svc ul { list-style: none; margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; color: #ddd; }

/* ---------- 로고 흐름 ---------- */
.clients { padding: 110px 0; overflow: hidden; }
.clients .sec-hd { padding: 0 var(--gut); }
.marquee { display: flex; width: max-content; animation: flow 46s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee + .marquee { margin-top: 28px; animation-duration: 52s; }
/* 화면에 들어오기 전엔 멈춰 있다가 보이면 흐르기 시작 (app.js가 .run 붙임) */
.js-marquee .marquee { animation-play-state: paused; }
.js-marquee .run .marquee { animation-play-state: running; }
.js-marquee .run .marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; }
.marquee li { width: 220px; height: 84px; margin-right: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; }
.marquee img { max-width: 150px; max-height: 46px; object-fit: contain; filter: brightness(0) invert(1); opacity: .78; transition: opacity .3s; }
.marquee li:hover img { opacity: 1; }
@keyframes flow { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: "SUITE", sans-serif; font-weight: 600; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; font-family: "Questrial", sans-serif; font-size: 20px; transition: .3s; }
.faq-list details[open] summary::after { content: "−"; background: var(--y); border-color: var(--y); color: #111; }
.faq-list details[open] summary { color: var(--y); }
.faq-list .ans { padding: 0 60px 28px 0; color: #c4c4c4; font-size: 15px; line-height: 1.85; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 150px var(--gut); text-align: center; overflow: hidden; background: url("/assets/img/cta_bg.jpg?v=1005b") center/cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,8,.78); }
.cta > * { position: relative; }
.cta .en { color: var(--y); font-size: 12px; }
.cta h2 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.25; letter-spacing: -.035em; margin: 22px 0 40px; }
.cta h2 em { font-style: normal; color: var(--y); }
.cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- 푸터 ---------- */
.ft { padding: 70px var(--gut) 50px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; color: #a8a8a8; font-size: 13px; line-height: 1.9; }
.ft .logo { color: #fff; display: inline-block; margin-bottom: 18px; }
.ft h4 { font-family: "Questrial", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-size: 12px; font-weight: 400; margin-bottom: 16px; }
.ft a:hover { color: var(--y); }
.ft .copy { grid-column: 1 / -1; padding-top: 30px; margin-top: 10px; border-top: 1px solid var(--line); color: #6d6d6d; font-size: 12px; }

/* 카카오 플로팅 */
.float { position: fixed; right: 28px; bottom: 28px; z-index: 60; height: 56px; padding: 0 22px 0 18px; border-radius: 30px; background: var(--y); color: #111; display: flex; align-items: center; gap: 10px; font-family: "SUITE", sans-serif; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s; }
.float:hover { transform: translateY(-3px); }
.float svg { width: 24px; height: 24px; }

/* ---------- 서브 페이지 상단 ---------- */
.sub-hero { position: relative; padding: 220px var(--gut) 90px; overflow: hidden; }
.sub-hero.bg { background: url("/assets/img/collage.jpg") center/cover; }
.sub-hero.bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.72), rgba(11,11,11,.9) 70%, var(--bg)); }
.sub-hero > * { position: relative; }
.sub-hero .en { color: var(--y); font-size: 12px; }
.sub-hero h1 { font-family: "Questrial", sans-serif; font-weight: 400; font-size: clamp(72px, 12vw, 180px); line-height: .95; letter-spacing: -.02em; margin-top: 18px; }
.sub-hero h1 small { display: block; font-family: "SUITE", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: #cfcfcf; margin-top: 22px; }
.sub-hero .lead { margin-top: 30px; max-width: 640px; color: #c4c4c4; font-size: 17px; line-height: 1.85; }

/* ---------- 포트폴리오 페이지 ---------- */
.tabs { position: sticky; top: 70px; z-index: 10; display: flex; gap: 8px; flex-wrap: wrap; padding: 18px var(--gut); background: rgba(11,11,11,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.tabs button { height: 42px; padding: 0 20px; border-radius: 30px; border: 1px solid rgba(255,255,255,.22); font-size: 14px; color: #ccc; transition: .2s; }
.tabs button sup { font-family: "Questrial", sans-serif; font-size: 11px; color: var(--mute); margin-left: 6px; vertical-align: 0; }
.tabs button:hover { border-color: #fff; color: #fff; }
.tabs button.on { background: var(--y); border-color: var(--y); color: #111; font-weight: 700; }
.tabs button.on sup { color: #111; }
.works { padding: 56px var(--gut) 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px 32px; }
.works .card.featured { grid-column: 1 / -1; }
.works .card.featured .th { aspect-ratio: 21 / 9; }
.works .card.featured h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; }
.works .card[hidden] { display: none; }
.more-wrap { text-align: center; padding: 20px 0 120px; }
.more-wrap .count { display: block; color: var(--mute); font-size: 13px; margin-bottom: 18px; font-family: "Questrial", sans-serif; letter-spacing: .1em; }

/* ---------- 회사소개 ---------- */
.about-band { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: 200px var(--gut) 110px; background: url("/assets/img/collage.jpg") center/cover; }
.about-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55), rgba(11,11,11,.82) 55%, var(--bg)); }
.about-band > * { position: relative; }
.about-band .en { color: var(--y); font-size: 12px; }
.about-band h1 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -.04em; line-height: 1.12; margin: 20px 0 0; }
.about-band h1 em { font-style: normal; color: var(--y); }
.about-text { padding: 120px var(--gut); display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; }
.about-text .wordmark { font-family: "Questrial", sans-serif; font-size: clamp(40px, 5vw, 76px); letter-spacing: .02em; line-height: 1; }
.about-text .wordmark b { -webkit-text-stroke: 1px currentColor; }
.about-text .wordmark span { display: block; margin-top: 18px; color: var(--y); font-size: 14px; letter-spacing: .2em; }
.about-text p { color: #cfcfcf; font-size: 18px; line-height: 1.95; }
.about-text p + p { margin-top: 26px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid div { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px; transition: background .3s; }
.logo-grid div:hover { background: var(--bg2); }
.logo-grid img { max-width: 76%; max-height: 52%; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }

/* ---------- 문의 ---------- */
.contact-hero { position: relative; min-height: min(100vh, 960px); display: flex; flex-direction: column; justify-content: flex-end; padding: 200px var(--gut) 90px; background: url("/assets/img/collage.jpg") center/cover; }
.contact-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,.7), rgba(8,8,8,.88) 50%, var(--bg)); }
.contact-hero > * { position: relative; }
.contact-hero .en { color: var(--y); font-size: 12px; }
.contact-hero h1 { font-family: "SUITE", sans-serif; font-weight: 800; font-size: clamp(54px, 8vw, 120px); letter-spacing: -.045em; line-height: 1.02; margin-top: 18px; }
.contact-hero h1 span { display: block; font-family: "La Belle Aurore", cursive; font-weight: 400; color: var(--y); font-size: .5em; letter-spacing: 0; margin-top: -.1em; transform: rotate(-4deg); transform-origin: left; }
.contact-hero .lead { margin-top: 26px; color: #c8c8c8; font-size: 17px; line-height: 1.8; }
.big-btns { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.big-btn { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 44px; border-radius: 6px; border: 1px solid rgba(255,255,255,.28); background: rgba(20,20,20,.6); backdrop-filter: blur(6px); transition: .25s; }
.big-btn .en { display: block; color: var(--mute); font-size: 11px; margin-bottom: 12px; }
.big-btn b { display: block; font-family: "SUITE", sans-serif; font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.big-btn small { display: block; margin-top: 8px; color: #b9b9b9; font-size: 14px; }
.big-btn .arr { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: .25s; }
.big-btn.kakao { background: var(--y); border-color: var(--y); color: #111; }
.big-btn.kakao .en, .big-btn.kakao small { color: #4b3a10; }
.big-btn:hover { transform: translateY(-4px); }
.big-btn:hover .arr { transform: rotate(-45deg); }
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.info-row div { padding: 34px var(--gut) 40px; border-right: 1px solid var(--line); }
.info-row div:last-child { border-right: 0; }
.info-row .en { color: var(--mute); font-size: 11px; display: block; margin-bottom: 12px; }
.info-row p { font-size: 15px; line-height: 1.7; }

/* ---------- 영상 팝업 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 60px var(--gut); }
.modal.open { display: flex; }
.modal .box { width: min(1280px, 100%); }
.modal .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal h3 { margin-top: 18px; font-family: "SUITE", sans-serif; font-weight: 700; font-size: 20px; }
.modal .close { position: absolute; top: 22px; right: 28px; font-size: 44px; line-height: 1; color: #fff; }
.modal .close:hover { color: var(--y); }

/* ---------- 모바일 ---------- */
@media (max-width: 900px) {
  .hd { padding: 18px 20px; }
  .menu-btn { display: block; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: 78%; flex-direction: column; gap: 0; padding: 100px 30px; background: #111; transform: translateX(100%); transition: transform .3s; }
  .nav.open { transform: none; }
  /* 헤더 흐림 효과가 있으면 메뉴판이 헤더 높이에 갇힌다 → 모바일은 흐림 대신 진한 배경 */
  .hd.solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11,11,11,.97); }
  .nav { z-index: 2; box-shadow: -24px 0 60px rgba(0,0,0,.6); }
  .menu-btn { position: relative; z-index: 3; }
  .menu-btn span { transition: transform .25s, opacity .2s; }
  body.menu-open { overflow: hidden; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6); }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav a { font-size: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 560px; height: min(92vh, 760px); }
  .hero-in { bottom: 40px; }
  .hero p { font-size: 14px; }
  .scroll { display: none; }
  .intro, .faq, .about-text { grid-template-columns: 1fr; gap: 36px; }
  .intro { padding: 90px 20px 70px; }
  .intro p, .about-text p { font-size: 15px; }
  .sec, .about-text { padding: 80px 20px; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .strip .card { flex-basis: 84vw; }
  .services { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding: 48px 20px; }
  .works { grid-template-columns: 1fr; gap: 44px; padding: 36px 20px; }
  .works .card.featured .th { aspect-ratio: 16 / 9; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .big-btns { grid-template-columns: 1fr; }
  .big-btn { padding: 28px 24px; }
  .info-row { grid-template-columns: 1fr 1fr; }
  .info-row div { padding: 24px 20px; }
  .ft { grid-template-columns: 1fr; padding: 56px 20px 100px; }
  .faq-list summary { font-size: 16px; }
  .faq-list .ans { padding-right: 0; }
  .tabs { top: 64px; padding: 12px 20px; overflow-x: auto; flex-wrap: nowrap; }
  .tabs button { flex: none; }
  .float span { display: none; }
  .float { padding: 0 16px; }
  .sub-hero { padding: 150px 20px 60px; }
  .about-band, .contact-hero { padding: 150px 20px 70px; }
}

/* 숫자 카운트업 끝에서 한 번 강조 */
.intro .facts b { display: block; width: fit-content; transform-origin: left bottom; font-variant-numeric: tabular-nums; }
/* 올라가는 동안 위로 잔상 (--v = 속도 0~1, app.js가 넣음) */
.intro .facts b.rolling { --v: 0; filter: blur(calc(.5px * var(--v))); text-shadow: 0 calc(-.18em * var(--v)) 0 rgba(255,255,255,calc(.4 * var(--v))), 0 calc(-.36em * var(--v)) 1px rgba(255,255,255,calc(.22 * var(--v))), 0 calc(-.54em * var(--v)) 2px rgba(255,255,255,calc(.1 * var(--v))); }
.intro .facts b.pop { animation: factPop .7s cubic-bezier(.2,.9,.3,1.4); }
@keyframes factPop { 0% { transform: scale(1); color: #fff; } 35% { transform: scale(1.18); color: var(--y); text-shadow: 0 0 24px rgba(237,174,32,.45); } 100% { transform: scale(1); color: #fff; text-shadow: none; } }
