/* ─────────────────────────────────────────────
   A안 · Cinematic Monochrome
   두 톤(흑 / 오프화이트) + 액센트 1색. 카드·배지·아이콘 제거.
   ───────────────────────────────────────────── */
:root {
  /* 공통 */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* ── AURORA × AMBER — 잉크 네이비 + 바이올렛→마젠타 그라데이션 + 앰버 골드 숫자 ── */
body {
  --bg: #0a0b12; --bg-2: #0e1019;
  --fg: #f3f1ec; --fg-2: #b7b5bd; --muted: #767483;
  --line: rgba(243,241,236,.12); --line-2: rgba(243,241,236,.06);
  --accent: #b388ff; --accent-2: #ff6ad5; --gold: #f2b84b;
  --grad: linear-gradient(100deg, #7c5cff 0%, #c46bff 55%, #ff6ad5 100%);
  --glow-a: rgba(124,92,255,.62); --glow-b: rgba(255,106,213,.48); --glow-c: rgba(242,184,75,.22);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, sans-serif;
  background: var(--bg); color: var(--fg);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
section { position: relative; scroll-margin-top: 72px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* 글로우 — 섹션 뒤에 깔리는 색 안개. 화려함은 여기서만 낸다 */
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(90px); z-index: 0; }
.glow.a { background: var(--glow-a); } .glow.b { background: var(--glow-b); } .glow.c { background: var(--glow-c); }
.sec { overflow: hidden; }
.sec > *:not(.glow) { position: relative; z-index: 1; }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── 타이포 스케일 ── */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 1.4rem;
}
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: .8rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-weight: 700; letter-spacing: -.01em; }
.lede { color: var(--fg-2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 34rem; margin-top: 1.4rem; line-height: 1.75; }
strong { color: var(--fg); font-weight: 700; }

/* ── 스크롤 진입 ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ── 헤더 ── */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
header.scrolled { padding: .9rem var(--gutter); background: rgba(10,10,10,.82); backdrop-filter: blur(14px); border-color: var(--line-2); }
.logo { font-family: 'Outfit', 'Pretendard', sans-serif; font-weight: 900; letter-spacing: -1px; font-size: 1.9rem; color: #fff; line-height: 1; }
.logo em { font-style: normal; color: #00e5ff; }
header.scrolled .logo { font-size: 1.55rem; }
@media (max-width: 860px) { .logo { font-size: 1.6rem; } }
nav ul { display: flex; gap: 2.2rem; list-style: none; }
nav a { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); transition: color .2s; }
nav a:hover { color: var(--fg); }
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  padding: .85rem 1.5rem; border: 1px solid var(--fg); border-radius: 100px;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.solid { background: var(--grad); color: #0a0a0a; border-color: transparent; box-shadow: 0 10px 34px -10px var(--glow-a); }
.btn.solid:hover { background: var(--grad); color: #0a0a0a; filter: brightness(1.08); transform: translateY(-1px); }
.btn.sm { padding: .6rem 1.1rem; font-size: .78rem; }
/* 헤더 의뢰하기 — 히어로의 밝은 글로우 위에서도 읽히도록 불투명 흰 바탕 + 진한 글자 */
.btn.sm.desk { background: var(--fg); color: #0a0b12; border-color: var(--fg); font-weight: 800; font-size: 1.05rem; padding: .95rem 1.9rem; letter-spacing: .02em; box-shadow: 0 8px 26px rgba(0,0,0,.4); }
.btn.sm.desk:hover { background: var(--grad); border-color: transparent; color: #0a0b12; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
@media (max-width: 860px) { nav { display: none; } .btn.sm.desk { display: none; } #mobile-menu-btn { display: inline-flex; } }

/* ── HERO ── */
#hero-section { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; background: #0a0b12 url(assets/hero_studio.jpg?v=5) center/cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,18,.45) 0%, rgba(10,11,18,0) 30%, rgba(10,11,18,.35) 70%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,11,18,.35) 0%, rgba(10,11,18,0) 45%);
}
#hero-section .glow { z-index: 1; mix-blend-mode: screen; }
#hero-section .glow.a { width: 70vw; height: 70vw; left: -22vw; bottom: -32vw; opacity: .75; }
#hero-section .glow.b { width: 52vw; height: 52vw; right: -14vw; bottom: -22vw; opacity: .55; }
#hero-section .glow.c { width: 30vw; height: 30vw; right: 18vw; top: -10vw; opacity: .5;
}
.hero-inner { position: relative; z-index: 1; padding: 0 var(--gutter) 5.5rem; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.hero-meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 2rem; display: flex; gap: 1.6rem; }
.hero-meta span::before { content: '·'; margin-right: 1.6rem; color: var(--muted); }
.hero-meta span:first-child::before { content: none; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; max-width: 12ch; }
.hero-sub { margin-top: 1.8rem; color: var(--fg-2); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 30rem; line-height: 1.7; }
.hero-cta { margin-top: 2.4rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-note { font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.hero-side { text-align: right; color: var(--fg-2); font-size: .8rem; line-height: 1.9; }
.hero-side b { display: block; color: var(--gold); font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: .3rem; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; padding-bottom: 4rem; } .hero-side { display: none; } .hero-meta span:not(:first-child) { display: none; } }

/* 마키 — 얇은 한 줄 */
.marquee { position: relative; z-index: 1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee-track span { padding: .85rem 2.4rem; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.marquee-track span::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); margin-left: 2.4rem; vertical-align: middle; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── 섹션 공통 헤더 ── */
.sec { padding: clamp(6rem, 11vw, 10rem) var(--gutter); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-head .lede { margin-top: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ── PORTFOLIO — 원본 사이트 포맷 유지 (중앙 헤더 · 둥근 카드 · 글래스 테두리 · 태그 · 소리/확대 버튼) ── */
#portfolio-showcase { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 5rem; position: relative; z-index: 1; }
.section-subtitle { display: block; font-size: .85rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-header h2 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -1px; }
.section-note { margin-top: .9rem; font-size: .95rem; line-height: 1.6; color: var(--fg-2); max-width: 44rem; margin-left: auto; margin-right: auto; }
.work-head { text-align: center; margin: 0 0 2rem; }
.work-grid + .work-head { margin-top: 4.5rem; }
.work-head h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .6rem; letter-spacing: -.3px; }
.work-head p { color: var(--fg-2); font-size: 1rem; max-width: 40rem; margin: 0 auto; }
.work-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: flex-start; }
.work {
  position: relative; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
  aspect-ratio: 9 / 16; flex: 0 1 calc(25% - .75rem); cursor: zoom-in;
}
.work.wide { aspect-ratio: 16 / 9; flex: 0 1 calc(50% - .5rem); }
.work video { width: 100%; height: 100%; object-fit: cover; display: block; }
.work .tag {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  background: rgba(0,0,0,.68); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: #fff;
  font-size: .78rem; font-weight: 700; padding: .32rem .7rem; border-radius: 100px;
}
.work-btn {
  position: absolute; z-index: 3; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff; font-size: .8rem; display: flex; align-items: center; justify-content: center;
  opacity: .82; transition: opacity .15s, background .15s;
}
.work-btn:hover { opacity: 1; background: rgba(0,0,0,.85); }
.work-btn svg { width: 14px; height: 14px; fill: #fff; }
.work-sound { right: .6rem; bottom: .6rem; }
/* 카드 좌상단 구분 칩 — 클라이언트 / 공모전 / 컨셉 데모. 통합 그리드에서도 정체를 밝힌다 */
.work .kind { position: absolute; left: .7rem; top: .7rem; z-index: 2; font-size: .66rem; font-weight: 700; letter-spacing: .08em; padding: .26rem .6rem; border-radius: 100px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--fg-2); }
.work .kind.client { color: #0a0a0a; background: var(--gold); border-color: transparent; }
.work .kind.contest { color: var(--fg); background: rgba(179,136,255,.28); border-color: rgba(179,136,255,.5); }
.work-zoom { right: .6rem; top: .6rem; }
@media (max-width: 768px) { .work { flex: 0 1 calc(50% - .5rem); } .work.wide { flex: 0 1 100%; } }

/* ── PROCESS — 원본 포맷: 번호 원형 + 세로 그라데이션 라인 + 담당 칩 + 태그 ── */
#zero-effort-process { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.flow { width: min(980px, 92vw); margin: 0 auto; position: relative; }
.flow::before { content: ''; position: absolute; left: 27px; top: 18px; bottom: 18px; width: 2px; background: var(--grad); opacity: .35; }
.fstep { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding: 0 0 2.1rem; align-items: start; }
.fstep:last-child { padding-bottom: 0; }
.fnum { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.4rem; background: #10121c; color: var(--accent); border: 2px solid rgba(179,136,255,.5); position: relative; z-index: 2; }
.fstep.gate .fnum { color: var(--gold); border-color: rgba(242,184,75,.6); background: #17130c; }
.fstep.pick .fnum { color: var(--accent-2); border-color: rgba(255,106,213,.55); background: #1a0f18; }
.fbody { padding-top: .35rem; }
.fwho { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: .18rem .6rem; border-radius: 100px; margin-bottom: .55rem; }
.fwho.client { background: rgba(179,136,255,.12); color: var(--accent); border: 1px solid rgba(179,136,255,.32); }
.fwho.studio { background: rgba(255,106,213,.1); color: var(--accent-2); border: 1px solid rgba(255,106,213,.3); }
.fbody h4 { font-size: 1.18rem; font-weight: 800; margin: 0 0 .45rem; color: #fff; letter-spacing: -.01em; }
.fbody p { color: var(--fg-2); font-size: .97rem; line-height: 1.65; margin: 0; }
.ftag { display: inline-block; margin-top: .7rem; font-size: .82rem; font-weight: 700; padding: .3rem .8rem; border-radius: 6px; background: rgba(242,184,75,.1); color: var(--gold); border: 1px solid rgba(242,184,75,.3); }
.ftag.free { background: rgba(53,208,127,.1); color: #35d07f; border-color: rgba(53,208,127,.28); }
.ftag.info { background: rgba(179,136,255,.08); color: var(--accent); border-color: rgba(179,136,255,.25); }
.fnote { width: min(980px, 92vw); margin: 2.6rem auto 0; text-align: center; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .flow::before { left: 21px; } .fstep { grid-template-columns: 44px 1fr; gap: 1rem; } .fnum { width: 44px; height: 44px; font-size: 1.1rem; } .fbody h4 { font-size: 1.05rem; } }

/* ── PRICING — 원본 포맷: 글래스 카드 3장 · BEST 배지 · 아이콘 리스트 · 조건 박스 ── */
#pricing-section { background: var(--bg); }
.pricing-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; align-items: center; position: relative; z-index: 1; }
.pricing-card { background: rgba(18,20,30,.7); border: 1px solid var(--line-2); border-radius: 12px; padding: 3rem 2.5rem; position: relative; transition: transform .4s ease, box-shadow .4s ease, border-color .4s; display: flex; flex-direction: column; height: 100%; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,.4); border-color: var(--line); }
.pricing-card.popular { border-color: var(--accent); background: linear-gradient(180deg, rgba(179,136,255,.07) 0%, rgba(18,20,30,.7) 100%); transform: scale(1.05); box-shadow: 0 20px 50px rgba(0,0,0,.5); z-index: 2; }
.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 25px 60px rgba(179,136,255,.22); }
.pricing-card.premium { border-color: rgba(255,106,213,.55); }
.pricing-card.premium:hover { box-shadow: 0 15px 40px rgba(255,106,213,.2); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #0a0a0a; padding: .5rem 1.4rem; border-radius: 30px; font-weight: 900; font-size: .82rem; letter-spacing: .5px; white-space: nowrap; }
.pricing-header { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-2); }
.pricing-header h3 { font-size: 1.4rem; color: var(--fg-2); margin-bottom: 1rem; letter-spacing: 2px; }
.pricing-card.popular .pricing-header h3 { color: var(--accent); }
.pricing-card.premium .pricing-header h3 { color: var(--accent-2); }
.pricing-price { font-family: 'Outfit', 'Pretendard', sans-serif; font-size: clamp(2.1rem, 3.4vw, 2.7rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: .5rem; }
.pricing-card.popular .pricing-price { color: var(--gold); }
.pricing-price span { font-size: 1.2rem; font-weight: 500; color: var(--fg-2); font-family: 'Pretendard', sans-serif; margin-left: .3rem; }
.vat-info { font-size: .85rem; color: var(--muted); }
.pricing-desc { margin-bottom: 2.5rem; text-align: center; }
.pricing-desc h4 { font-size: 1.15rem; color: #fff; margin-bottom: .8rem; }
.pricing-desc p { font-size: .95rem; color: var(--fg-2); line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 2.4rem; flex-grow: 1; }
.pricing-features li { margin-bottom: 1rem; font-size: .95rem; color: #ddd; display: flex; align-items: flex-start; gap: .8rem; line-height: 1.5; }
.pricing-features li i { color: var(--accent); font-size: 1rem; width: 20px; text-align: center; flex: none; margin-top: .2rem; }
.pricing-card.premium .pricing-features li i { color: var(--accent-2); }
.pricing-features li strong { color: #fff; }
.pricing-case { margin: -.8rem 0 2rem; padding: .8rem 1rem; font-size: .82rem; line-height: 1.6; color: var(--fg-2); border-left: 2px solid var(--gold); background: rgba(242,184,75,.06); border-radius: 0 6px 6px 0; }
.pricing-btn { width: 100%; padding: 1.2rem; background: transparent; border: 1px solid var(--muted); color: #fff; border-radius: 4px; font-family: 'Outfit', 'Pretendard', sans-serif; font-weight: 800; font-size: 1.05rem; transition: all .3s ease; text-align: center; display: block; }
.pricing-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.pricing-btn.primary { background: var(--grad); border: none; color: #0a0a0a; box-shadow: 0 10px 34px -10px var(--glow-a); }
.pricing-btn.primary:hover { filter: brightness(1.08); }
.pricing-terms { max-width: 860px; margin: 3.5rem auto 0; padding: 1.6rem 1.8rem; list-style: none; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 10px; position: relative; z-index: 1; }
.pricing-terms li { position: relative; padding-left: 1.1rem; font-size: .92rem; line-height: 1.75; color: var(--fg-2); }
.pricing-terms li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.pricing-terms strong { color: #e8e8e8; }
.pricing-cta { margin-top: 2.4rem; display: flex; justify-content: center; position: relative; z-index: 1; }
.pricing-cta .pricing-btn { max-width: 320px; }
@media (max-width: 960px) { .pricing-card.popular { transform: none; } .pricing-card.popular:hover { transform: translateY(-10px); } }

/* ── ABOUT — 원본 이미지 3장 복원, 좌우 번갈아 배치 ── */
#about-section { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.why { border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.feat.rev .feat-text { order: 2; }
.feat .n { font-size: 2.4rem; font-weight: 300; letter-spacing: -.03em; color: var(--gold); line-height: 1; margin-bottom: 1.6rem; }
.feat h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; margin-bottom: 1.1rem; letter-spacing: -.02em; }
.feat p { color: var(--fg-2); font-size: 1rem; line-height: 1.8; max-width: 30rem; }
.feat-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); filter: saturate(.9); }
.feat:hover .feat-img img { transform: scale(1.04); }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,11,18,.55)); }
.feat-img::before { content: ''; position: absolute; inset: 0; border-radius: 6px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; z-index: 2; pointer-events: none; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; gap: 1.6rem; } .feat.rev .feat-text { order: 0; } .feat-img { aspect-ratio: 16/10; } }

/* ── FAQ — 라인 아코디언 ── */
#faq-section { background: var(--bg); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.faq { border-top: 1px solid var(--line); }
.q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.5rem 0; font-size: 1.08rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.q .pm { width: 1.4rem; height: 1.4rem; position: relative; flex: none; }
.q .pm::before, .q .pm::after { content: ''; position: absolute; background: var(--fg-2); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.q .pm::before { width: 14px; height: 1px; }
.q .pm::after { width: 1px; height: 14px; }
.faq-item.open .q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.a p { color: var(--fg-2); font-size: .95rem; line-height: 1.75; padding: .4rem 0 1.6rem; max-width: 44rem; }
.faq-item.open .a { max-height: 40rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 2rem; } }

/* ── 마지막 CTA + 푸터 ── */
.final { padding: clamp(6rem, 12vw, 11rem) var(--gutter); text-align: center; border-top: 1px solid var(--line-2); overflow: hidden; }
.final .bg { position: absolute; inset: 0; z-index: 0; }
.final .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; opacity: .8; transform: scale(1.15); transform-origin: 100% 50%; }
.final .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,11,18,.55) 35%, rgba(10,11,18,.6) 70%, var(--bg) 100%), linear-gradient(90deg, rgba(10,11,18,.85) 0%, rgba(10,11,18,.55) 45%, rgba(10,11,18,0) 75%); }
.final .glow { z-index: 0; mix-blend-mode: screen; }
.final .glow.a { width: 70vw; height: 40vw; left: 15vw; bottom: -22vw; opacity: .95; }
.final .glow.b { width: 34vw; height: 34vw; right: 4vw; bottom: -10vw; opacity: .8; }
.final { text-align: left; }
.final .rv { position: relative; z-index: 1; max-width: 38rem; }
.final h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.final p { color: var(--fg-2); margin: 1.4rem 0 2.4rem; max-width: 32rem; }
/* 푸터 — 원본 사이트 포맷 그대로 (중앙 정렬) */
#global-footer { text-align: center; padding: 5rem var(--gutter); background: #000; color: var(--fg-2); border-top: 1px solid var(--line-2); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 1rem; letter-spacing: -1px; }
.footer-logo span { color: #00e5ff; }
.footer-info { margin-bottom: 3rem; font-size: .95rem; color: var(--fg-2); line-height: 1.7; text-align: center; letter-spacing: -.3px; }
.footer-info p { margin-bottom: .4rem; }
.footer-info .info-label { font-family: 'Outfit', sans-serif; font-weight: 700; color: #ddd; margin-right: .6rem; text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
.footer-kakao-btn { display: inline-flex; align-items: center; gap: .6rem; margin-top: -1.2rem; background: #FEE500; color: #191600; font-weight: 800; font-size: .95rem; padding: .85rem 1.6rem; border-radius: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.footer-kakao-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(254,229,0,.28); }
.footer-kakao-btn svg { width: 16px; height: 16px; fill: #191600; }
.footer-reply { margin-top: .7rem; font-size: .85rem; opacity: .55; }
.footer-bottom { width: 100%; border-top: 1px solid var(--line-2); margin-top: 3rem; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom a { font-size: .8rem; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; text-align: center; } }

/* 모바일 하단 고정 CTA */
.sticky { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom)); background: rgba(10,10,10,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.sticky .btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .sticky { display: block; } body { padding-bottom: 4.6rem; } }

/* ══════════════════════════════════════════════════════════
   아래는 목업에 없던 실제 사이트 기능 — 모바일 메뉴 · 문의 모달 · 라이트박스 · 카드 버튼
   ══════════════════════════════════════════════════════════ */
/* ── 모바일 메뉴 ── */
#mobile-menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
#mobile-nav-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,11,18,.96); backdrop-filter: blur(14px); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
#mobile-nav-overlay.active { opacity: 1; pointer-events: all; }
#mobile-menu-close { position: absolute; top: 1.4rem; right: 1.25rem; width: 44px; height: 44px; color: #fff; font-size: 1.4rem; }
.mobile-nav-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-nav-links a { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; color: var(--fg); }
.mobile-nav-links .btn { margin-top: 1rem; font-size: 1rem; padding: 1rem 2.2rem; }

/* ── 문의 모달 (inquiries) ── */
.modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(5,6,12,.8); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
#lead-generation-modal { position: fixed; top: 0; right: 0; z-index: 310; width: 100%; max-width: 520px; height: 100dvh; overflow-y: auto; background: var(--bg-2); border-left: 1px solid var(--line); padding: 4.5rem 2.6rem 3rem; transform: translateX(100%); transition: transform .45s var(--ease); }
#lead-generation-modal.active { transform: none; }
#close-modal-button { position: absolute; top: 1.4rem; right: 1.4rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
#close-modal-button:hover { background: rgba(255,255,255,.08); }
#lead-form-title { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .6rem; }
.form-subtitle { color: var(--fg-2); font-size: .95rem; margin-bottom: 2.2rem; line-height: 1.6; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-control { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: #fff; padding: .8rem 0; font: inherit; font-size: 1rem; outline: none; transition: border-color .2s; }
.form-control::placeholder { color: var(--muted); }
.form-control:focus { border-bottom-color: var(--accent); }
#submit-lead-form { width: 100%; margin-top: .6rem; padding: 1.15rem; border-radius: 100px; background: var(--grad); color: #0a0a0a; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 34px -10px var(--glow-a); transition: filter .2s, transform .2s; }
#submit-lead-form:hover { filter: brightness(1.08); transform: translateY(-1px); }
#submit-lead-form:disabled { opacity: .6; filter: none; transform: none; cursor: default; }
.form-note { margin-top: 1rem; text-align: center; font-size: .8rem; color: var(--muted); }
#form-success-msg { text-align: center; padding: 2rem 0; }
#form-success-msg i { font-size: 3.2rem; color: var(--accent); margin-bottom: 1.4rem; display: block; }
#form-success-msg h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: .8rem; }
#form-success-msg p { color: var(--fg-2); line-height: 1.7; margin-bottom: 2.2rem; }
#form-success-msg .btn { width: 100%; justify-content: center; }
@media (max-width: 560px) { #lead-generation-modal { padding: 4.2rem 1.4rem 2.4rem; } }

/* ── 포트폴리오 카드 버튼 (렌더 후 JS가 붙임) · 라이트박스 ── */
.work.playable { cursor: zoom-in; }
#lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(5,6,12,.94); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
#lightbox video { max-width: min(1200px, 94vw); max-height: 86vh; width: auto; height: auto; border-radius: 8px; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
#lightbox-close { position: absolute; top: 1.2rem; right: 1.4rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.6); color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
#lightbox-close:hover { background: rgba(0,0,0,.9); }
#lightbox-title { position: absolute; left: 1.6rem; bottom: 1.2rem; font-size: .9rem; font-weight: 700; color: #fff; opacity: .85; }
@media (max-width: 768px) { #lightbox { padding: 1rem; } #lightbox video { max-width: 96vw; max-height: 78vh; } }
[hidden] { display: none !important; }
@media (max-width: 860px) { #mobile-menu-btn { display: inline-flex; } }
