@font-face { font-family: "SUIT Variable"; src: url("../fonts/SUIT-Variable.woff2") format("woff2-variations"), url("../fonts/SUIT-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Layout: 이노션 홈 흐름(카피+워드마크 → Full Frame 작업 → 소개 → 솔루션 → 고객사 → 문의) 위에
   MQM 브랜드 규칙(블랙 #111 + 화이트, 레드는 "+"와 문의 버튼에만, 로고의 둥근 획). 섹션은 얇은 가로선 + 좌측 라벨 / 우측 본문. */
:root {
  --bg: #111111;
  --fg: #f5f5f3;
  --dim: #8c8c8a;
  --line: #2b2b2b;
  --ph: #1c1c1c;
  --red: #FD4A5C;
  --on-red: #111111;
  --font: "Urbanist", "SUIT Variable", system-ui, "Malgun Gothic", "Apple SD Gothic Neo", "PingFang SC", "Microsoft YaHei", sans-serif;
  --stroke: 2px;
  color-scheme: dark;
}

html { background: #111111; }
* { box-sizing: border-box; }
/* 페이지 전체 필름 그레인: 평평한 블랙에 깊이를 주고 영상과 UI를 한 재질로 묶음 */
.page-grain { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: .45; background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E"); }
/* 스크롤 등장: JS가 돌 때만 숨김 → 스크립트가 실패해도 내용은 항상 보임 */
.js [data-reveal] { opacity: 0; transform: translate3d(0, var(--y, 16px), 0); transition: opacity .5s cubic-bezier(.22,1,.36,1) var(--d, 0s), transform .5s cubic-bezier(.22,1,.36,1) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 메뉴로 건너뛰었거나 이미 지나간 요소는 애니메이션 없이 바로 */
.js [data-reveal].instant { transition: none; }
/* 마스크 라인: 슬롯 안에서 글자가 솟아오름 */
.ml { display: block; overflow: hidden; padding: .06em .15em .14em; margin: -.06em -.15em -.14em; }
.ml > span { display: block; }
.js .hero .ml > span { transform: translateY(110%); }
.js .hero.is-in .ml > span { transform: none; transition: transform 1s cubic-bezier(.22,1,.36,1) calc(.1s + var(--i) * .14s); }
.js .hero .hero-slogan { opacity: 0; transform: translateY(14px); }
.js .hero.is-in .hero-slogan { opacity: 1; transform: none; transition: opacity .9s ease .7s, transform .9s cubic-bezier(.22,1,.36,1) .7s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero .ml > span, .js .hero .hero-slogan { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* 공통 요소 */
/* 섹션 라벨은 화면에서 숨기고 스크린리더용 제목으로만 남김. 본문이 왼쪽 빈 칸까지 넓게 씀 */
.eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#services .body, #clients .body { grid-column: 1 / -1; }
/* Clients 한 줄: 숫자는 영문 서체로 크게, 문장은 About 리드와 같은 무게 */
.cl-lede { grid-column: 1 / -1; margin: 0; font-size: clamp(28px, 3.2vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
/* 문의 직전 안심 문구 */
.form-note { margin: 0; font-size: 15px; line-height: 1.7; color: var(--dim); }
.form-note .ln:first-child { color: var(--fg); }
.cl-lede .ln + .ln { color: var(--dim); }
/* 헤더 문의 버튼: 데스크톱 메뉴 끝의 유일한 레드 */
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: var(--on-red); border-radius: 999px; padding: 10px 18px 10px 14px; font-size: 15px; font-weight: 800; line-height: 1; white-space: nowrap; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.nav-cta svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(253,74,92,.7); }
.nav-cta:hover svg { transform: rotate(90deg); }
.nav-cta:active { transform: translateY(1px); box-shadow: inset 0 2px 0 rgba(17,17,17,.22); }
.nav-cta:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 760px) { .nav-cta { display: none; } }
.msg { font-size: clamp(26px, 2.7vw, 38px); font-weight: 700; line-height: 1.42; letter-spacing: -0.01em; text-wrap: balance; }
.sub { font-size: clamp(15px, 1.15vw, 17px); color: var(--dim); max-width: 46ch; }
.arrow { width: 18px; height: 18px; flex: none; stroke: currentColor; stroke-width: var(--stroke); fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding-block: 6px; }
.link:hover .arrow { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; gap: 10px; border: var(--stroke) solid var(--fg); border-radius: 999px; padding: 11px 20px 11px 22px; font-weight: 600; font-size: 15px; transition: background .2s ease, color .2s ease; }
.pill:hover { background: var(--fg); color: var(--bg); }
.pill:hover .arrow { transform: translateX(4px); }

/* 사진 자리: 실제 현장 사진이 들어갈 곳 */
.photo { background: var(--ph); position: relative; overflow: hidden; }
.photo::after { content: attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; letter-spacing: 0.06em; color: #4a4a48; text-align: center; width: 80%; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 10; background: var(--bg); padding-top: env(safe-area-inset-top, 0px); transition: transform .5s cubic-bezier(.16,1,.3,1); }
header.hide { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { header { transition: none; } }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; padding-block: 26px; flex-wrap: wrap; }
/* [Award] 떠 있는 유리 알약 내비 */
header { background: transparent; padding: calc(14px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 0 max(14px, env(safe-area-inset-left, 0px)); }
header.hide { transform: translateY(calc(-100% - 20px)); }
header .wrap { max-width: 1412px; padding: 10px 10px 10px 26px; border-radius: 999px; background: rgba(17,17,17,.58); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(245,245,243,.09); box-shadow: 0 10px 30px -14px rgba(0,0,0,.6); }
header .nav a { font-size: 15px; position: relative; }
header .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }
header .nav a:hover { color: var(--fg); }
header .nav a:hover::after { transform: scaleX(1); }

/* [Award] 시그니처: 스크롤에 맞춰 반대로 흐르는 두 줄의 작업 벽 */
.scroll-rows { overflow: hidden; display: grid; gap: 14px; padding-block: clamp(40px, 6vw, 96px) 0; }
.sr-row { display: flex; gap: 14px; width: max-content; will-change: transform; transform: translate3d(-33.333%, 0, 0); }
.sr-row .tile { width: clamp(340px, 40vw, 640px); flex: none; border-radius: 22px; border: 1px solid rgba(245,245,243,.07); }
.sr-row .tile .cap { border-radius: 0 0 22px 22px; }
@media (max-width: 640px) { .sr-row .tile { width: 300px; } .sr-row .tile .ghost { font-size: 64px; } }
@media (prefers-reduced-motion: reduce) { .scroll-rows { overflow-x: auto; } .sr-row { transform: none !important; } }

/* [Award] 솔루션 문장: 스크롤 속도에 맞춰 단어가 켜짐 */
.scroll-reveal .sp { opacity: .16; transition: opacity .12s linear; }

/* [Award] 인트로: 영상 대신 키워드가 액체처럼 녹아 바뀌는 모션 (blur + 알파 임계 필터) */
.intro--morph { display: grid; place-items: center; background: #0d0d0d; }
.intro--morph::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 55%, rgba(245,245,243,.05), rgba(245,245,243,0) 70%); }
/* 모든 키워드를 같은 서체·굵기·자간으로 고정. 녹는 효과(임계 필터)는 바뀌는 동안에만 켜서, 멈춘 글자는 사이트의 다른 Urbanist와 똑같이 또렷함 */
.morph { position: relative; width: 100%; height: 1.15em; font-family: "Urbanist", system-ui, sans-serif; font-size: min(11vw, 200px); font-weight: 900; font-style: normal; font-synthesis: none; font-kerning: normal; line-height: 1; letter-spacing: -.045em; color: var(--fg); text-align: center; }
.morph.morphing { filter: url(#threshold); }
.morph-t { position: absolute; inset: 0 0 auto 0; margin: auto; display: block; width: 100%; white-space: nowrap; font: inherit; letter-spacing: inherit; }
.morph-t .r { font: inherit; }
.intro-tag { font-family: "Urbanist", system-ui, sans-serif; }
.morph-t .r { color: var(--red); }
/* [Award] 점 대신 "+"로 짠 격자 배경: 가운데는 또렷하고 가장자리로 갈수록 사라짐. 커서 주변의 +는 레드로 켜짐 */
.plus-grid { position: absolute; inset: 0; pointer-events: none; background-size: 28px 28px; background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 10.5v7M10.5 14h7' stroke='%23f5f5f3' stroke-opacity='.2' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 28%, transparent 100%); mask-image: radial-gradient(ellipse 72% 68% at 50% 52%, #000 28%, transparent 100%); }
.plus-grid--hot { --mx: -999px; --my: -999px; opacity: 0; transition: opacity .4s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 10.5v7M10.5 14h7' stroke='%23FD4A5C' stroke-opacity='.95' stroke-width='1.7' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(170px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%); mask-image: radial-gradient(170px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,.35) 45%, transparent 75%); }
.hero.ptr .plus-grid--hot { opacity: 1; }
/* Hero(우리가 누구인지)에 + 격자: 카피·로고가 그 위에 */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
/* 레퍼런스 수준: 가운데만 보이고 바깥은 딤 처리 */
.hero .plus-grid:not(.plus-grid--hot) { -webkit-mask-image: radial-gradient(ellipse 46% 52% at 50% 50%, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.12) 78%, transparent 100%); mask-image: radial-gradient(ellipse 46% 52% at 50% 50%, #000 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.12) 78%, transparent 100%); }
/* 패턴이 가운데로 모이니 Hero 텍스트도 중앙 정렬 */
.hero > .wrap { justify-content: center; align-items: center; text-align: center; gap: clamp(36px, 4.5vw, 64px); }
.hero .blur-text .bt-line { text-align: center; }
.hero .hero-mark { align-items: center; }
.hero .wordmark { margin-left: 0; }
.hero .wordmark .mqm-logo { margin: 0 auto; }

/* [Award] 3초 아이캐칭: 초점은 하나(핵심 문장). 로고는 작게 위에서 "누구"만 알리고, 슬로건은 가장 약하게.
   읽는 순서 = 로고(색으로 0.5초) → 핵심 문장(크기로 2초) → 슬로건(마무리) */
.hero > .wrap { gap: 0; }
.hero .hero-mark { display: contents; }
.hero .hero-mark > .ml { order: -1; margin-bottom: clamp(12px, 1.6vw, 24px); }
.hero .msg { order: 0; font-size: clamp(36px, 5.4vw, 88px); line-height: 1.12; letter-spacing: -.04em; max-width: none; }
@media (min-width: 761px) { .hero .blur-text .bt-line { white-space: nowrap; } }
.hero .hero-slogan { order: 1; margin-top: clamp(24px, 2.6vw, 36px); font-size: clamp(14px, 1.15vw, 17px); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.hero .wordmark { font-size: clamp(56px, 5.4vw, 84px); }
/* 등장 순서도 읽는 순서대로: 로고 → 단어 → 슬로건 */
.js .hero.is-in .wordmark { transition-delay: .05s !important; }
.js .hero.is-in .bt-word { animation-delay: calc(.4s + var(--i) * .1s); }
.js .hero.is-in .hero-slogan { transition-delay: 1.25s, 1.25s; }
.morph-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro-tag { position: absolute; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(245,245,243,.62); }
.intro-tag--tl { left: max(28px, env(safe-area-inset-left, 0px)); top: 26px; }
.intro-tag--tr { right: max(28px, env(safe-area-inset-right, 0px)); top: 26px; }
.intro-tag--bl { left: max(28px, env(safe-area-inset-left, 0px)); bottom: 34px; text-transform: none; letter-spacing: .04em; }
@media (max-width: 760px) { .intro--morph { aspect-ratio: auto; height: 78svh; } }

/* [Award] Our Approach 페이지: 4단계(실제 순서라 번호를 씀) → 역량 → 전문 분야 → 사례를 단계에 대응 */
.ap-head { border-bottom: 1px solid var(--line); padding-block: clamp(40px, 5vw, 72px); }
.ap-lede { margin-top: 24px; font-size: clamp(24px, 2.8vw, 40px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.ap-sec { border-bottom: 1px solid var(--line); }
.ap-sec > .wrap { padding-block: clamp(56px, 7vw, 104px); }
.ap-h { font-size: 15px; font-weight: 700; color: var(--dim); margin-bottom: 32px; }
.ap-split { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 24px 48px; }
.ap-split .ap-h { margin-bottom: 0; }
@media (max-width: 860px) { .ap-split { grid-template-columns: 1fr; } }
.ap-no { font-size: 13px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ap-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ap-steps li { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.ap-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.ap-steps h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.ap-steps p { color: var(--dim); font-size: 15.5px; line-height: 1.7; max-width: 30ch; }
@media (max-width: 960px) { .ap-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-steps li:nth-child(3) { padding-left: 0; border-left: 0; } .ap-steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .ap-steps { grid-template-columns: 1fr; } .ap-steps li, .ap-steps li + li { padding-left: 0; border-left: 0; } .ap-steps li + li { border-top: 1px solid var(--line); } }
.ap-caps { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.ap-caps > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ap-caps dt { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.ap-caps dd { margin: 8px 0 0; color: var(--dim); }
@media (max-width: 760px) { .ap-caps { grid-template-columns: 1fr; } }
.ap-big { font-size: clamp(32px, 4vw, 56px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 18px; }
.ap-ip { margin-top: 24px; }
.ap-case-meta { color: var(--dim); font-size: 14px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.ap-case { margin: 8px 0 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ap-case > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ap-case dt { font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.ap-case dd { margin: 0; }
@media (max-width: 560px) { .ap-case > div { grid-template-columns: 1fr; gap: 6px; } }

/* [Award] 서비스 항목은 클릭 요소 없이 읽기만 하는 목록 */
.svc .svc-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 480px) { .svc .svc-row { grid-template-columns: 1fr; gap: 4px; } }
/* [Award] Play + 아래 문장은 한 줄로 */
#services .body > .sub { max-width: none; }
@media (min-width: 761px) { #services .body > .sub { white-space: nowrap; } }

/* [Award] Hero 카피를 더 크고 단단하게 */
.hero .msg { font-size: clamp(34px, 3.9vw, 60px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
/* [Award] Hero 제목: 단어가 하나씩 아래에서 떠오르며 초점이 맞춰짐 (blur 10px → 0, 단어당 .1s 간격) */
.blur-text .bt-line { display: block; }
.blur-text .bt-word { display: inline-block; }
.js .hero .bt-word { opacity: 0; filter: blur(10px); transform: translateY(50px); will-change: transform, filter, opacity; }
.js .hero.is-in .bt-word { animation: bt-in .8s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.15s + var(--i) * .1s); }
@keyframes bt-in {
  0%   { filter: blur(10px); opacity: 0; transform: translateY(50px); }
  50%  { filter: blur(5px);  opacity: .5; transform: translateY(-5px); }
  100% { filter: blur(0);    opacity: 1; transform: translateY(0); }
}
/* 제목이 다 선 뒤 MQM이 솟고, 슬로건이 마지막 */
.js .hero.is-in .wordmark { transition-delay: .95s !important; }
.js .hero.is-in .hero-slogan { transition-delay: 1.45s, 1.45s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero .bt-word { opacity: 1; filter: none; transform: none; }
  .js .hero.is-in .bt-word { animation: none; }
}
/* [Award] 고객사 띠는 화면 폭 전체로 */
#clients > .wrap { grid-template-columns: 1fr; }
#clients .body { margin-inline: calc(-1 * max(24px, env(safe-area-inset-left, 0px))); }
/* [Award] 고객사: 끝없이 흐르는 로고 띠 */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 30s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; gap: 16px; padding-right: 16px; margin: 0; padding-left: 0; list-style: none; }
.marquee__group li { flex: none; height: 92px; padding: 0 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; color: var(--dim); transition: color .25s, border-color .25s, background .25s; }
.marquee__group li:hover { color: var(--fg); border-color: rgba(245,245,243,.35); background: #181818; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none; } }

/* [Award] "+" 커서: 배경에 따라 반전 (데스크톱 정밀 포인터만) */
.logo { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
/* 공식 로고(레드). 가로:세로 = 77.6:28.5 */
.mqm-logo { display: block; height: 1em; width: auto; aspect-ratio: 77.6 / 28.5; color: var(--red); overflow: visible; }
.logo { display: inline-flex; font-size: 24px; }
.intro-tag--tl { font-size: 18px; top: 22px; }
.wordmark .mqm-logo { height: .74em; margin-left: .04em; }
footer .slogan { font-size: 22px; display: inline-flex; }
.morph-t .morph-logo { display: inline-block; height: .82em; vertical-align: -.02em; }
.head-right { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); margin-left: auto; }
.nav { display: flex; align-items: center; gap: 8px clamp(24px, 4vw, 64px); flex-wrap: wrap; }
.nav a { font-size: 17px; font-weight: 500; }
.nav a:hover { color: var(--dim); }
.lang { position: relative; }
.lang[hidden] { display: none !important; }
.lang-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: #222; }
.lang-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 132px; background: #1c1c1c; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.lang-menu button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--dim); text-align: left; }
.lang-menu button:hover { background: #262626; color: var(--fg); }
.lang-menu button[aria-checked="true"] { color: var(--fg); font-weight: 700; }
.lang-menu button[aria-checked="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg); }
/* 모바일 메뉴: 버거 → X, 블러 오버레이에 링크가 차례로 올라옴 */
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 9; display: flex; flex-direction: column; justify-content: center; padding: max(104px, calc(env(safe-area-inset-top, 0px) + 96px)) 24px max(32px, env(safe-area-inset-bottom, 0px)); background: rgba(10,10,10,.82); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
.menu-open .mmenu { opacity: 1; visibility: visible; transition: opacity .28s ease; }
.mmenu a { display: block; padding: 10px 0; font-size: clamp(30px, 9vw, 42px); font-weight: 700; letter-spacing: -.02em; opacity: 0; transform: translateY(20px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.menu-open .mmenu a { opacity: 1; transform: none; transition-delay: calc(100ms + var(--i) * 70ms); }
.mmenu a.cta { margin-top: 24px; font-size: 18px; color: var(--red); }
body.menu-open { overflow: hidden; }
@media (max-width: 760px) { .nav { display: none; } .burger { display: grid; } .head-right { gap: 4px; } }
@media (min-width: 761px) { .mmenu { display: none; } }
@media (prefers-reduced-motion: reduce) { .burger span, .mmenu, .mmenu a { transition-duration: .001s !important; transition-delay: 0s !important; } }

/* 1. Hero */
/* 0. Intro: 헤더 아래 첫 화면 전체를 영상에 내줌 → 스크롤하면 Hero */
.intro { position: relative; height: 100vh; height: 100svh; min-height: 360px; overflow: hidden; background: #0b0b0b; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 8px 14px 8px 18px; border-radius: 999px; background: rgba(17,17,17,.72); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.scroll-cue { gap: 10px; padding: 8px 18px 8px 10px; }
.scroll-cue .dpad { width: 26px; height: 26px; }
@media (max-width: 760px) { .intro { height: auto; min-height: 0; aspect-ratio: 16 / 9; } .scroll-cue { display: none; } }
/* 1. Hero: 좌상단 카피 / 좌하단 MQM + 슬로건, 한 화면 */
.hero { display: flex; min-height: 100vh; min-height: 100svh; padding-top: calc(92px + clamp(48px, 6vw, 96px)); padding-bottom: clamp(48px, 6vw, 88px); }
.hero > .wrap { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 72px; }
.hero-mark { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 22px); }
.hero-slogan { font-size: clamp(16px, 1.45vw, 21px); font-weight: 500; color: var(--dim); letter-spacing: 0.01em; }
.video-ctrl { position: absolute; z-index: 2; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 28px; width: 40px; height: 40px; border-radius: 50%; border: var(--stroke) solid rgba(245,245,243,.45); display: grid; place-items: center; background: rgba(17,17,17,.72); transition: border-color .2s; }
.video-ctrl:hover { border-color: var(--fg); }
.video-ctrl svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.wordmark { display: block; font-weight: 900; line-height: 0.8; letter-spacing: -0.045em; white-space: nowrap; font-size: clamp(104px, 15vw, 232px); margin-left: -0.04em; }
@media (max-width: 760px) { .hero { min-height: 0; padding-top: 168px; } }

/* 2. Campaigns: 퍼틸레인식 2열 타일을 스크롤로 훑고, 끝에서 All Projects로 */
.campaigns { margin-top: clamp(40px, 6vw, 96px); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.tile .photo { position: absolute; inset: 0; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.tile:nth-child(4n+1) .photo { background: #1b1b1b; }
.tile:nth-child(4n+2) .photo { background: #222221; }
.tile:nth-child(4n+3) .photo { background: #1f1f1e; }
.tile:nth-child(4n+4) .photo { background: #181818; }
/* 사진이 오기 전까지 타일은 타입 중심: 고스트 게임명 + 아래에서 번지는 빛. 사진은 .photo 배경으로 교체 */
.tile .photo { background-image: radial-gradient(110% 90% at 82% 112%, rgba(245,245,243,.07), rgba(245,245,243,0) 62%); }
.tile .photo::after { left: clamp(20px, 2.4vw, 36px); top: clamp(18px, 2vw, 28px); transform: none; width: auto; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: #5c5c5a; }
.tile .ghost { position: absolute; left: clamp(16px, 2vw, 30px); top: clamp(40px, 4.4vw, 64px); font-weight: 900; font-size: clamp(64px, 8.4vw, 140px); line-height: .9; letter-spacing: -.05em; color: rgba(245,245,243,.06); white-space: nowrap; pointer-events: none; transition: color .5s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.tile:hover .ghost { color: rgba(245,245,243,.1); transform: translateX(-1.5%); }
.tile .go { position: absolute; z-index: 2; top: clamp(16px, 1.8vw, 24px); right: clamp(16px, 1.8vw, 24px); height: 40px; width: 40px; border-radius: 999px; background: var(--fg); color: #111; display: flex; align-items: center; justify-content: flex-end; overflow: hidden; white-space: nowrap; transition: width .32s cubic-bezier(.4,0,.2,1); }
.tile .go-label { position: absolute; left: 16px; top: 50%; translate: 0 -50%; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .2s ease; }
.tile .go svg { flex: none; width: 40px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform .32s cubic-bezier(.4,0,.2,1); }
.tile:hover .go, .tile:focus-visible .go { width: 132px; }
.tile:hover .go-label, .tile:focus-visible .go-label { opacity: 1; transition-delay: .1s; }
.tile:hover .go svg, .tile:focus-visible .go svg { transform: none; }
@media (hover: none) { .tile .go svg { transform: none; } }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px clamp(20px, 2.4vw, 36px) clamp(20px, 2.2vw, 32px); background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,0)); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile .g { display: block; font-size: 14px; font-weight: 500; color: rgba(245,245,243,.75); margin-bottom: 4px; }
.tile .c { display: block; font-size: clamp(18px, 1.7vw, 26px); font-weight: 800; line-height: 1.28; letter-spacing: -0.015em; }
.tile .tag { flex: none; font-size: 13px; font-weight: 600; border: 1.5px solid rgba(245,245,243,.5); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.tile:hover .photo { transform: scale(1.045); }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tile:hover .photo { transform: none; } }
.allwork { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.allwork .t { display: block; font-size: clamp(44px, 7vw, 112px); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.allwork .s { display: block; color: var(--dim); font-size: 15px; margin-top: 16px; }
.long { width: clamp(64px, 10vw, 160px); height: 40px; flex: none; stroke: currentColor; stroke-width: var(--stroke); fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.allwork:hover .long { transform: translateX(12px); }

.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: var(--stroke) solid rgba(245,245,243,.4); display: grid; place-items: center; transition: border-color .2s, opacity .2s; }
.icon-btn:hover { border-color: var(--fg); }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: var(--stroke); fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* [Award] All Projects 폴더: 유리 없이 단단한 그래파이트 앞판, 아래 경첩으로 기울고 파일이 솟아 부채꼴로 펼쳐짐 */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(306px, 1fr)); justify-items: center; gap: clamp(40px, 4vw, 64px) 28px; padding-top: 24px; }
.fd { --k: .9; --px: 0; --py: 0; --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.36,.5,1);
  --hinge: 0deg; --lift: 42px; --spread: 0px; --fan: 0deg; --stack: 15px;
  position: relative; width: calc(340px * var(--k)); height: calc(326px * var(--k)); isolation: isolate;
  animation: fd-in .9s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes fd-in { from { opacity: 0; transform: translateY(28px); } }
.fd:hover, .fd:focus-within { --hinge: -11deg; --lift: -34px; --spread: 8px; --fan: 1.4deg; --stack: 10px; }
.fd[data-open] { --hinge: -24deg; --lift: -96px; --spread: var(--open-spread, 64px); --fan: 6deg; --stack: var(--open-stack, 42px); z-index: 5; }
.fd-stage { position: absolute; left: 0; top: 0; width: 340px; height: 272px; transform-origin: 0 0; transform: translateY(calc(54px * var(--k))) scale(var(--k)); }
.fd-tilt { position: absolute; inset: 0; transform: perspective(1400px) rotateX(calc(var(--py) * -3deg)) rotateY(calc(var(--px) * 4deg)); transition: transform .9s var(--ease); }
.fd-shadow { position: absolute; left: 18px; right: 18px; bottom: -8px; height: 60px; border-radius: 40px; background: rgba(0,0,0,.7); filter: blur(22px); transform: translateX(calc(var(--px) * -8px)); transition: transform .9s var(--ease); }
.fd-back { position: absolute; inset: 0; overflow: hidden; clip-path: path("M0 56A22 22 0 0 1 22 34L146 34C170 34 172 0 198 0L318 0A22 22 0 0 1 340 22L340 250A22 22 0 0 1 318 272L22 272A22 22 0 0 1 0 250Z"); background: linear-gradient(180deg, #202020 0%, #121212 100%); }
.fd-back-ghost { position: absolute; right: 18px; top: 6px; font-weight: 900; font-size: 64px; letter-spacing: -.05em; color: rgba(245,245,243,.05); white-space: nowrap; transform: translate(calc(var(--px) * -6px), calc(var(--py) * -5px)); transition: transform 1.1s var(--ease); }
.fd-rim { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; fill: none; }
.fd-back-rim { width: 340px; height: 272px; }
.fd-back-rim path { stroke: rgba(245,245,243,.1); stroke-width: 1; }

.fd-files { position: absolute; inset: 0; z-index: 5; pointer-events: none; clip-path: inset(-400px -400px 10px -400px); }
.fd-sheet { box-sizing: border-box; position: absolute; left: 34px; top: 96px; width: 272px; height: 184px; border-radius: 16px; overflow: hidden; pointer-events: auto;
  background: linear-gradient(180deg, #f7f7f5 0%, #e9e9e6 100%); color: #111;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 .5px rgba(0,0,0,.2), 0 12px 28px -8px rgba(0,0,0,.6);
  transform-origin: 50% 100%;
  transform: translate(calc(var(--jx) + var(--slot) * var(--spread)), calc(var(--lift) + var(--depth) * var(--stack) * -1)) rotate(calc(var(--jr) + var(--slot) * var(--fan)));
  transition: transform .75s var(--spring) calc(var(--depth) * 40ms), box-shadow .4s var(--ease); }
.fd-sheet-ghost { position: absolute; right: -6px; bottom: -16px; font-weight: 900; font-size: 92px; line-height: 1; letter-spacing: -.05em; color: rgba(17,17,17,.07); white-space: nowrap; pointer-events: none; }
.fd-sheet-head { position: absolute; left: 16px; right: 12px; top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fd-sheet-name { font-size: 15px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.fd-sheet-go { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #111; color: #f5f5f3; transition: background .2s, transform .3s var(--spring); }
.fd-sheet-go svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.fd-sheet-meta { position: absolute; left: 16px; top: 44px; font-size: 12px; font-weight: 600; color: rgba(17,17,17,.55); }
.fd-sheet--paper .fd-sheet-name { position: absolute; left: 16px; top: 14px; font-size: 13px; font-weight: 700; color: rgba(17,17,17,.6); }
.fd-lines { position: absolute; left: 16px; right: 16px; top: 46px; display: flex; flex-direction: column; gap: 9px; }
.fd-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(17,17,17,.1); }
.fd[data-open] .fd-sheet:hover, .fd[data-open] .fd-sheet:focus-visible {
  transform: translate(calc(var(--jx) + var(--slot) * var(--spread)), calc(var(--lift) + var(--depth) * var(--stack) * -1 - 18px)) rotate(calc(var(--slot) * var(--fan) * .6));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 .5px rgba(0,0,0,.2), 0 24px 44px -12px rgba(0,0,0,.75); transition-delay: 0s; }
.fd[data-open] .fd-sheet:hover .fd-sheet-go, .fd[data-open] .fd-sheet:focus-visible .fd-sheet-go { background: var(--red); color: #111; transform: rotate(90deg); }
.fd-sheet:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.fd-front { position: absolute; left: 0; top: 74px; width: 340px; height: 198px; z-index: 10;
  clip-path: path("M0 22A22 22 0 0 1 22 0L118 0C144 0 146 32 172 32L318 32A22 22 0 0 1 340 54L340 176A22 22 0 0 1 318 198L22 198A22 22 0 0 1 0 176Z");
  background: radial-gradient(260px 180px at calc(50% + var(--px) * 40%) calc(10% + var(--py) * 30%), rgba(255,255,255,.07), rgba(255,255,255,0) 70%), linear-gradient(180deg, #2b2b2b 0%, #1d1d1d 55%, #171717 100%);
  transform-origin: 50% 100%; transform: perspective(760px) rotateX(var(--hinge)); transition: transform .8s var(--spring); }
.fd-front-rim { width: 340px; height: 198px; }
.fd-front-rim path { stroke: rgba(245,245,243,.16); stroke-width: 1.6; }
.fd-emboss { position: absolute; right: -26px; bottom: -40px; width: 210px; height: 210px; color: rgba(245,245,243,.035); pointer-events: none; transition: color .5s var(--ease), transform .9s var(--spring); }
.fd-emboss svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 4.2; stroke-linecap: round; fill: none; }
.fd:hover .fd-emboss { color: rgba(245,245,243,.06); }
.fd[data-open] .fd-emboss { color: rgba(253,74,92,.14); transform: rotate(45deg) scale(.92); }
.fd-hit { position: absolute; inset: 0; z-index: 1; border-radius: 0; }
.fd-hit:focus-visible { outline: none; }
.fd-front:has(.fd-hit:focus-visible) .fd-front-rim path { stroke: var(--fg); stroke-width: 3; }
.fd-label { position: absolute; left: 26px; bottom: 28px; z-index: 2; display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: 210px; }
.fd-title { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--fg); }
.fd-meta { font-size: 13px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }

/* "+" 키: 평소엔 그래파이트, 마우스를 올리면 +가 레드, 열리면 키가 레드로 채워지고 +가 ×로 돌아감 */
.fd-key { position: absolute; right: 22px; bottom: 22px; z-index: 12; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--fg);
  background: radial-gradient(120% 90% at 50% 0%, #3a3a3a 0%, #161616 60%, #0b0b0b 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -3px 8px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.8), 0 14px 22px -8px rgba(0,0,0,.6);
  transition: transform .35s var(--spring), background .3s var(--ease), color .2s, box-shadow .3s var(--ease); }
.fd-key svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; fill: none; transition: transform .5s var(--spring); }
.fd-key:hover { transform: translateY(-2px); color: var(--red); }
.fd-key:active { transform: scale(.93); transition-duration: .12s; }
.fd[data-open] .fd-key { background: radial-gradient(120% 90% at 50% 0%, #ff7d8b 0%, var(--red) 55%, #d5384a 100%); color: #111; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 8px rgba(120,0,20,.35), 0 0 0 1px rgba(0,0,0,.5), 0 14px 26px -8px rgba(253,74,92,.5); }
.fd[data-open] .fd-key svg { transform: rotate(45deg); }
@media (max-width: 400px) { .fd { --k: .86; } }
@media (prefers-reduced-motion: reduce) {
  .fd, .fd *, .fd *::before { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
  .fd-tilt { transform: none; }
}

/* All Projects: 고객사 캐러셀 → 고객사별 게임 아이콘 */
.view-pad { padding-top: 108px; }
.pj-band { background: #0b0b0b; border-block: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 36px; }
.pj-title { font-size: clamp(44px, 6.4vw, 96px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.pj-sub { color: var(--dim); margin-top: 16px; }
.carousel { display: flex; align-items: center; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex: 1; min-width: 0; padding: 12px 10px; scroll-padding-inline: 10px; scroll-behavior: smooth; }
.track::-webkit-scrollbar { display: none; }
.client { flex: none; width: clamp(124px, 12.5vw, 184px); aspect-ratio: 1; border-radius: 28px; background: var(--fg); color: #111; display: grid; place-items: center; text-align: center; padding: 16px; font-weight: 800; font-size: clamp(15px, 1.35vw, 20px); line-height: 1.2; letter-spacing: -0.01em; scroll-snap-align: start; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .2s; }
.client:hover { transform: translateY(-3px); }
.client[aria-pressed="true"] { box-shadow: 0 0 0 4px #0b0b0b, 0 0 0 7px var(--fg); }
.client.pending { background: #262626; color: var(--fg); font-size: 15px; font-weight: 700; }
.scrollbar { height: 3px; background: var(--line); border-radius: 3px; margin: 24px 60px 0; position: relative; }
.scrollbar i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--fg); border-radius: 3px; }
@media (max-width: 640px) { .carousel .icon-btn { display: none; } .scrollbar { margin-inline: 0; } }
.pj-body { padding-block: clamp(56px, 7vw, 96px) clamp(80px, 9vw, 140px); }
.pj-client { font-size: clamp(34px, 4.2vw, 60px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.pj-label { font-size: 16px; font-weight: 600; color: var(--dim); margin-top: 32px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 36px 24px; margin-top: 20px; }
.game-card { display: flex; flex-direction: column; gap: 14px; }
.gicon { aspect-ratio: 1; border-radius: 28px; background: #1e1e1e; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 12px; font-weight: 900; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .2s; }
.game-card:hover .gicon { transform: translateY(-4px); border-color: #555; }
.gname { font-weight: 700; font-size: 16px; line-height: 1.35; }
.gtags { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }
.empty { margin-top: 20px; border: 1px dashed #3a3a3a; border-radius: 20px; padding: 28px 32px; color: var(--dim); max-width: 560px; }

/* Game: 키비주얼 → 아이콘·이름·태그 → 캠페인 목록 → 목록/문의 */
.kv { height: clamp(220px, 30vw, 440px); }
.kv::after { font-size: 13px; }
.g-head { display: flex; flex-wrap: wrap; gap: 20px clamp(20px, 3vw, 40px); align-items: flex-end; margin-top: calc(-1 * clamp(44px, 5vw, 76px)); position: relative; }
.g-head .gicon { width: clamp(112px, 12vw, 168px); flex: none; border: 4px solid var(--bg); background: #262626; }
.gicon.has-img { padding: 0; overflow: hidden; }
.gicon .gimg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 게임사 로고는 흰색 실루엣으로 통일 */
.logo-img { display: block; width: auto; filter: brightness(0) invert(1); }
.marquee__group li.has-logo .logo-img { height: 30px; max-width: 190px; object-fit: contain; opacity: .55; transition: opacity .25s; }
.marquee__group li.has-logo:hover .logo-img { opacity: 1; }
.fd-title.has-logo .logo-img { height: 26px; max-width: 180px; object-fit: contain; object-position: left center; }
.fd-sheet-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px rgba(17,17,17,.08); }
.fd-sheet-head .fd-sheet-name { flex: 1; min-width: 0; }
.tile .g-ico { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; vertical-align: -6px; margin-right: 8px; display: inline-block; }
.g-head > div { min-width: 0; padding-bottom: 6px; }
.g-title { font-size: clamp(36px, 5vw, 76px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.g-meta { color: var(--dim); margin-top: 10px; font-variant-numeric: tabular-nums; }
.g-dl { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px 16px; margin: 36px 0 0; align-items: center; }
.g-dl dt { font-family: Urbanist, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.g-dl dd { margin: 0; }
.cases { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 104px); padding-block: clamp(56px, 7vw, 104px); }
.case { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px clamp(32px, 4vw, 64px); border-top: 1px solid var(--line); padding-top: 28px; }
.case .meta { color: var(--dim); font-size: 14px; font-variant-numeric: tabular-nums; display: flex; gap: 8px 14px; flex-wrap: wrap; }
.case h3 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin-top: 10px; text-wrap: balance; }
.case .desc { color: var(--dim); margin-top: 14px; max-width: 42ch; }
.case .photo { aspect-ratio: 16 / 9; border-radius: 6px; }
.case dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px 16px; margin: 24px 0 0; font-size: 15px; }
.case dt { color: var(--dim); font-weight: 600; }
.case dd { margin: 0; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* ── [Depth] 실제 사진 + 빛 + 겹침 ───────────────────────────── */
/* 필름 그레인: 평평한 #111 면에 질감을 준다 */
/* 사진 공통 */
.photo.has-img { background: #0c0c0c; }
.photo.has-img::after { content: none; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 작업 타일: 카드처럼 떠 있고, 포인터 쪽으로 기울며 빛이 따라온다 */
.tiles { gap: clamp(10px, 1.2vw, 18px); padding: clamp(10px, 1.2vw, 18px); perspective: 1400px; }
.tile { border-radius: clamp(14px, 1.4vw, 22px); transform: rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform .6s cubic-bezier(.16,1,.3,1), box-shadow .6s; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -30px rgba(0,0,0,.9); isolation: isolate; }
.tile .photo.has-img .ph-img { filter: saturate(.92) brightness(.78); transition: filter .6s; }
.tile:hover .photo.has-img .ph-img { filter: saturate(1.05) brightness(.92); }
.tile .photo.has-img ~ .ghost { display: none; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--lx, 50%) var(--ly, 50%), rgba(255,255,255,.16), rgba(255,255,255,0) 60%); mix-blend-mode: soft-light; }
.tile:hover::before { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.12); }
.tile:hover { box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 50px 80px -30px rgba(0,0,0,.95); }
.tile .cap { z-index: 2; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35) 55%, rgba(0,0,0,0)); }
.tile .go { z-index: 4; }
#services { position: relative; }
#services > .wrap { position: relative; z-index: 1; }
/* 게임 페이지: 키비주얼이 아래로 녹아들고, 케이스 사진은 떠 있는 판 */
.kv.has-img { height: clamp(280px, 42vw, 620px); }
.kv.has-img .ph-img { filter: brightness(.75) saturate(.95); }
.kv.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(17,17,17,.15) 0%, rgba(17,17,17,0) 30%, rgba(17,17,17,.55) 70%, var(--bg) 100%); }
.g-head { z-index: 2; }
/* 사진이 없을 때: 아이콘을 흐린 빛으로, 그것도 없으면 레드 광원만 */
.kv::after { content: none; }
.kv.kv-icon, .kv.kv-none { height: clamp(220px, 26vw, 380px); background: #0d0d0d; }
.kv.kv-icon .ph-img { filter: blur(60px) saturate(1.3) brightness(.55); transform: scale(1.6); }
.kv.kv-icon::before, .kv.kv-none::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(17,17,17,0) 30%, var(--bg) 100%); }
.kv.kv-none { background: radial-gradient(60% 90% at 30% 0%, rgba(245,245,243,.07), rgba(245,245,243,0) 70%), #0d0d0d; }
/* 사진 없는 케이스: 글만, 다음 케이스와 촘촘하게 */
.case--text { grid-template-columns: minmax(0, 1fr); }
.case--text > div { max-width: 62ch; }
.cases:has(.case--text) { gap: clamp(40px, 5vw, 72px); }
.case .photo.has-img { border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 40px 70px -35px rgba(0,0,0,.95); transform: perspective(1200px) rotateY(-2.5deg); transition: transform .8s cubic-bezier(.16,1,.3,1); }
.case:hover .photo.has-img { transform: perspective(1200px) rotateY(0deg) translateY(-4px); }
/* "+" 3D: 두께(압출)와 반사광을 가진 실제 버튼처럼. 포인터 위치로 기운다 */
.play .dpad { perspective: 700px; }
.play .dpad svg { transform: rotateX(var(--prx, 8deg)) rotateY(var(--pry, -14deg)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(var(--ex1x, 1px) 1px 0 #c32a3d) drop-shadow(var(--ex1x, 1px) 1px 0 #ab2033) drop-shadow(var(--ex1x, 1px) 1px 0 #93192a) drop-shadow(var(--ex1x, 1px) 2px 0 #7c1322) drop-shadow(0 24px 30px rgba(253,74,92,.35)) drop-shadow(0 8px 10px rgba(0,0,0,.6)); }
@media (prefers-reduced-motion: reduce) { .tile, .case .photo.has-img, .play .dpad svg { transform: none !important; } }
@media (hover: none) { .tile { transform: none; } }
.g-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-block: 48px clamp(80px, 9vw, 140px); }
.g-foot .ask { font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.g-foot .acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.back { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--dim); margin-bottom: 24px; }
.back:hover { color: var(--fg); }
.back svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: var(--stroke); fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* 섹션 틀: 얇은 가로선 + 좌측 라벨 / 우측 본문 */
.sec { border-top: 1px solid var(--line); }
.sec > .wrap { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 32px 48px; padding-block: clamp(72px, 9vw, 140px); }
.sec .body { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 860px) { .sec > .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* 3. Business Solution: 우상단 국문 문장 → 좌하단 대형 영문 정체성 */
.solution > .wrap { padding-block: clamp(80px, 10vw, 160px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(64px, 9vw, 140px) 48px; }
.solution .copy { grid-column: 2; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.solution .copy .sub { max-width: 52ch; }
.solution .caps li { color: var(--fg); }
.identity { grid-column: 1 / -1; font-size: clamp(64px, 10.5vw, 196px); font-weight: 500; line-height: 0.98; letter-spacing: -0.035em; }
.identity span { display: block; }
.identity .plus { width: 0.5em; height: 0.5em; stroke-width: 9; vertical-align: 0.02em; margin-right: 0.12em; display: inline-block; }
@media (max-width: 860px) { .solution > .wrap { grid-template-columns: 1fr; } .solution .copy { grid-column: 1; } }

/* 4. Services: Play + */
.play { display: flex; align-items: center; gap: 0.12em; font-size: clamp(64px, 9vw, 136px); font-weight: 900; line-height: 0.9; letter-spacing: -0.035em; }
.plus { width: 0.62em; height: 0.62em; flex: none; stroke: var(--red); stroke-width: 15; stroke-linecap: round; fill: none; }
.caps { display: flex; flex-wrap: wrap; gap: 8px; }
.caps li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--dim); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc .f { font-weight: 800; font-size: 17px; }
.svc .d { color: var(--dim); font-size: 15.5px; transition: color .2s; }
.svc .arrow { opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s; }
.svc a:hover .d { color: var(--fg); }
.svc a:hover .arrow, .svc a:focus-visible .arrow { opacity: 1; transform: none; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
/* [Award] Services 격자: 1px 선으로 나눈 4열 칸. 올리면 아래에서 빛이 차오르고 왼쪽 막대가 빨갛게 */
.svc-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); margin: clamp(24px, 3vw, 48px) 0 0; padding: 0; list-style: none; }
.svc-cell { --pad: clamp(24px, 2.6vw, 44px); position: relative; display: flex; flex-direction: column; min-height: clamp(260px, 22vw, 340px); padding: clamp(36px, 3.6vw, 60px) var(--pad) clamp(40px, 4vw, 64px); background: linear-gradient(to bottom, rgba(245,245,243,0), rgba(245,245,243,0)) , var(--bg); transition: background .5s var(--ease, ease); }
.svc-ico { width: 30px; height: 30px; fill: none; stroke: var(--dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: clamp(36px, 3.6vw, 56px); transition: stroke .3s, transform .5s cubic-bezier(.16,1,.3,1); }
.svc-t { position: relative; margin: 0 0 14px; font-size: clamp(21px, 1.7vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.svc-t::before { content: ""; position: absolute; left: calc(-1 * var(--pad)); bottom: .12em; width: 3px; height: 1.15em; border-radius: 0 3px 3px 0; background: #3a3a39; transition: background .3s, height .35s cubic-bezier(.16,1,.3,1); }
.svc-d { margin: 0; font-size: 15px; line-height: 1.65; color: var(--dim); max-width: 30ch; word-break: keep-all; transition: color .3s; }
.svc-cell:hover { background: linear-gradient(to bottom, rgba(245,245,243,0), rgba(245,245,243,.075)), var(--bg); }
.svc-cell:hover .svc-t { transform: translateX(10px); }
.svc-cell:hover .svc-t::before { background: var(--red); height: 1.4em; }
.svc-cell:hover .svc-ico { stroke: var(--fg); transform: translateY(-3px); }
.svc-cell:hover .svc-d { color: #c9c9c6; }
.svc-cell--next .svc-ico { stroke: var(--red); stroke-width: 2.2; }
.svc-cell--next .svc-t::before { background: var(--red); }
.svc-next { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--fg); }
.svc-next .arrow { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.svc-next:hover .arrow, .svc-next:focus-visible .arrow { transform: translateX(4px); }
.svc-next::after { content: ""; position: absolute; inset: 0; }
.svc-next:focus-visible { outline: none; }
.svc-cell--next:has(.svc-next:focus-visible) { outline: 2px solid var(--fg); outline-offset: -2px; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc-cell { min-height: 0; } .svc-ico { margin-bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .svc-cell:hover .svc-t, .svc-cell:hover .svc-ico { transform: none; } }
@media (max-width: 480px) { .svc a { grid-template-columns: 1fr 18px; } .svc .f { grid-column: 1 / -1; } .svc .arrow { opacity: 1; transform: none; } }

/* D-pad "+": Play + 의 "+" = 게임 컨트롤러 십자키. 누른 방향의 팔이 들어가고 패드 전체가 그쪽으로 기운다 */
.dpad { display: inline-block; flex: none; --pad: var(--red); --pad-press: #c9283b; --pad-mark: rgba(17,17,17,.3); transform: perspective(520px); transition: transform .26s cubic-bezier(.16,1,.3,1); }
.dpad svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dpad .arm { transition: transform .12s cubic-bezier(.16,1,.3,1); }
.dpad .arm rect, .dpad .core { fill: var(--pad); transition: fill .12s ease-out; }
.dpad .mark { fill: var(--pad-mark); }
.dpad .dimple { fill: var(--pad-mark); opacity: .55; }
.dpad[data-press="up"] .up rect, .dpad[data-press="down"] .down rect, .dpad[data-press="left"] .left rect, .dpad[data-press="right"] .right rect { fill: var(--pad-press); }
.dpad[data-press="up"] .up { transform: translateY(4px); }
.dpad[data-press="down"] .down { transform: translateY(-4px); }
.dpad[data-press="left"] .left { transform: translateX(4px); }
.dpad[data-press="right"] .right { transform: translateX(-4px); }
.dpad[data-press="up"] { transform: perspective(520px) rotateX(12deg); }
.dpad[data-press="down"] { transform: perspective(520px) rotateX(-12deg); }
.dpad[data-press="left"] { transform: perspective(520px) rotateY(-12deg); }
.dpad[data-press="right"] { transform: perspective(520px) rotateY(12deg); }
.dpad.light { --pad: var(--fg); --pad-press: #b9b9b6; --pad-mark: rgba(17,17,17,.38); }
.play .dpad { width: 0.74em; height: 0.74em; margin-left: 0.06em; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .dpad, .dpad .arm { transition: fill .12s ease-out; }
  .dpad[data-press], .dpad[data-press] .arm { transform: none !important; }
}

/* 5. Clients */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { aspect-ratio: 2 / 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: clamp(14px, 1.4vw, 19px); color: var(--dim); letter-spacing: 0.01em; text-align: center; padding: 8px; }
@media (max-width: 640px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 6. Contact: 좌측 문장·연락처(+ 흐린 슬로건) / 우측 문의 폼 */
::selection { background: var(--red); color: var(--on-red); }
input, textarea { caret-color: var(--red); }
.contact { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.contact > .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px clamp(48px, 7vw, 120px); padding-block: clamp(96px, 11vw, 168px) clamp(80px, 9vw, 140px); }
.contact-left { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); min-width: 0; position: relative; z-index: 1; }
.cta { font-size: clamp(32px, 3.3vw, 52px); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; text-wrap: balance; }
.cta .en { display: block; font-weight: 500; color: var(--dim); font-size: 0.62em; letter-spacing: -0.02em; margin-top: 0.4em; }
.info { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px 16px; font-size: 18px; align-items: baseline; }
.info dt { font-weight: 600; color: var(--dim); font-size: 15px; }
.info dd { margin: 0; font-weight: 500; }
.info a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.info a:hover { text-decoration-color: var(--fg); }
.backdrop { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); bottom: clamp(24px, 4vw, 56px); font-weight: 900; font-size: clamp(64px, 9.4vw, 168px); line-height: 0.92; letter-spacing: -0.04em; color: #1c1c1c; white-space: nowrap; pointer-events: none; user-select: none; margin-left: -0.05em; }
@media (max-width: 960px) { .contact > .wrap { grid-template-columns: 1fr; } .backdrop { display: none; } }

.form { display: flex; flex-direction: column; gap: 40px; min-width: 0; position: relative; z-index: 1; }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.flabel { display: block; font-size: 19px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.flabel .opt { font-size: 14px; font-weight: 500; color: var(--dim); margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; border: 1.5px solid #3a3a3a; border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s, color .15s; user-select: none; }
.chip span:hover { border-color: var(--fg); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; min-width: 0; }
.field input { font: inherit; font-size: 17px; color: var(--fg); background: transparent; border: 0; border-bottom: 1.5px solid #3a3a3a; padding: 8px 0 12px; border-radius: 0; transition: border-color .2s; }
.field textarea { font: inherit; font-size: 16px; line-height: 1.7; color: var(--fg); background: #161616; border: 1.5px solid #2e2e2e; border-radius: 16px; padding: 18px 20px; min-height: 180px; resize: vertical; transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:hover, .field textarea:hover { border-color: #5a5a5a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { font-size: 14px; color: var(--red); margin-top: 8px; min-height: 0; }
.err:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 24px; }
.consent { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1.5px solid #5a5a5a; border-radius: 7px; margin: 0; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .15s, border-color .15s; }
.consent input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.consent input:checked { background: var(--fg); border-color: var(--fg); }
.consent input:checked::after { opacity: 1; }
.consent input[aria-invalid="true"] { border-color: var(--red); }
.consent a { color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }
/* 개인정보 수집·이용 팝업 */
.pv { width: min(640px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 48px)); padding: 0; border: 1px solid #333; border-radius: 24px; background: #161616; color: var(--fg); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.pv[open] { display: flex; flex-direction: column; animation: pv-in .45s cubic-bezier(.16,1,.3,1); }
.pv::backdrop { background: rgba(8,8,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pv-fade .3s ease; }
@keyframes pv-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes pv-fade { from { opacity: 0; } }
.pv-head { position: relative; padding: 28px 72px 22px 32px; border-bottom: 1px solid var(--line); }
.pv-title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.pv-x { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; background: transparent; color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .3s cubic-bezier(.16,1,.3,1); }
.pv-x:hover { border-color: var(--fg); transform: rotate(90deg); }
.pv-x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.pv-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 32px 30px; font-size: 15px; line-height: 1.7; color: #c9c9c6; word-break: keep-all; }
.pv-body:focus-visible { outline: 2px solid var(--fg); outline-offset: -4px; }
.pv-lead { margin: 0 0 22px; }
.pv-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 28px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pv-sum > div { background: #1c1c1c; padding: 16px 16px 18px; }
.pv-sum dt { font-size: 12px; font-weight: 700; color: var(--dim); margin-bottom: 6px; }
.pv-sum dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--fg); line-height: 1.5; }
.pv-sec + .pv-sec { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.pv-sec h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--fg); letter-spacing: -.01em; }
.pv-sec h3 span { font-family: Urbanist, sans-serif; font-size: 12px; font-weight: 800; color: var(--dim); letter-spacing: .06em; }
.pv-sec p { margin: 0 0 10px; }
.pv-sec ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pv-sec li { position: relative; padding-left: 16px; }
.pv-sec li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 1.5px; background: var(--dim); }
.pv-more { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.pv-more a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.pv-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--line); background: #141414; }
.pv-btn { border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pv-btn--ghost { background: transparent; color: var(--fg); border: 1.5px solid #444; }
.pv-btn--ghost:hover { border-color: var(--fg); }
.pv-btn--solid { background: var(--fg); color: #111; border: 1.5px solid var(--fg); }
.pv-btn--solid:hover { background: #fff; }
.pv-btn:focus-visible, .pv-x:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
html.pv-lock { overflow: hidden; }
@media (max-width: 560px) {
  .pv { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; }
  .pv-head { padding: 24px 64px 18px 20px; } .pv-x { top: 18px; right: 16px; }
  .pv-body { padding: 22px 20px 26px; } .pv-sum { grid-template-columns: 1fr; }
  .pv-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); } .pv-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .pv[open], .pv::backdrop { animation: none; } }
.btn-red { display: inline-flex; align-items: center; gap: 12px; background: var(--red); color: var(--on-red); border: 0; border-radius: 999px; padding: 18px 30px 18px 24px; font-weight: 800; font-size: 18px; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(253,74,92,.6); }
.btn-red svg { transition: transform .12s cubic-bezier(.16,1,.3,1); }
.btn-red:active { transform: translateY(2px); box-shadow: inset 0 3px 0 rgba(17,17,17,.22); transition-duration: .08s; }
.btn-red:active svg { transform: scale(.78); }
.btn-red svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; }
.btn-red[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn-red:hover { transform: none; } }
.status { font-size: 15px; color: var(--fg); border-top: 1px solid var(--line); padding-top: 20px; }
.status:empty { display: none; }
.status.is-ok { color: var(--fg); }
.status.is-ok strong { display: block; font-size: 18px; margin-bottom: 4px; }
.status.is-err { color: #ff8a97; }
.status a { text-decoration: underline; text-underline-offset: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-red[aria-busy="true"] svg { animation: send-spin .9s linear infinite; }
@keyframes send-spin { to { transform: rotate(360deg); } }
.status:empty { display: none; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 40px; font-size: 14px; color: var(--dim); }
footer .slogan { font-weight: 800; font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
/* 푸터 사업자 정보 */
footer .biz { flex-basis: 100%; display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: #9a9a97; }
footer .biz p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
footer .biz p span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: #3a3a3a; margin: 0 12px; vertical-align: -1px; }
footer .biz a { color: inherit; }
footer .biz a:hover { color: var(--fg); }
footer .biz .biz-policy { color: var(--fg); font-weight: 700; }
/* 개인정보처리방침 페이지 */
.pol-meta { margin-top: 16px; color: var(--dim); font-size: 15px; }
.pol { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 40px clamp(32px, 5vw, 80px); padding-block: clamp(48px, 6vw, 88px) clamp(80px, 9vw, 140px); }
.pol-toc { position: sticky; top: 112px; align-self: start; }
.pol-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 4px; }
.pol-toc li { counter-increment: t; }
.pol-toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--dim); transition: color .2s; }
.pol-toc a::before { content: counter(t, decimal-leading-zero); font-family: Urbanist, sans-serif; font-weight: 800; font-size: 12px; color: #555; padding-top: 2px; }
.pol-toc a:hover { color: var(--fg); }
.pol-body { min-width: 0; max-width: 760px; font-size: 16px; line-height: 1.8; color: #c9c9c6; word-break: keep-all; }
.pol-lead { margin: 0 0 40px; font-size: 17px; color: var(--fg); }
.pol-body section { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.pol-body h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; color: var(--fg); letter-spacing: -.015em; }
.pol-body h2 span { font-family: Urbanist, sans-serif; font-size: 13px; color: var(--dim); letter-spacing: .06em; }
.pol-body p { margin: 0 0 12px; }
.pol-body ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.pol-body li { position: relative; padding-left: 18px; }
.pol-body li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 1.5px; background: var(--dim); }
.pol-body a { text-decoration: underline; text-underline-offset: 4px; }
.pol-table { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pol-table > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line); }
.pol-table > div:first-child { border-top: 0; }
.pol-table span { padding: 12px 16px; font-size: 15px; }
.pol-table [role="rowheader"] { background: #171717; color: var(--dim); font-weight: 600; }
@media (max-width: 860px) { .pol { grid-template-columns: 1fr; } .pol-toc { position: static; } .pol-toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pol-table > div { grid-template-columns: 1fr; } .pol-table [role="rowheader"] { padding-bottom: 4px; } .pol-table [role="cell"] { padding-top: 4px; } }

/* ── [Semi bar] 첫 화면(인트로)의 세로 메뉴: 상단 바가 숨어 있는 동안 GNB 역할 ── */
.semi { position: absolute; z-index: 3; top: 24px; right: max(28px, env(safe-area-inset-right, 0px)); display: flex; align-items: flex-start; gap: clamp(28px, 4vw, 72px); }
.semi ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.semi ul a { display: block; height: 1.3em; overflow: hidden; font-family: Urbanist, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; line-height: 1.3; color: rgba(245,245,243,.82); }
.semi .roll { display: block; text-shadow: 0 1.3em 0 var(--fg); transition: transform .45s cubic-bezier(.16,1,.3,1); }
.semi ul a:hover .roll, .semi ul a:focus-visible .roll { transform: translateY(-1.3em); }
.semi ul a:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; overflow: visible; }
.semi-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border: 1.5px solid var(--red); color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .02em; transition: background .2s, color .2s; }
.semi-cta svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; fill: none; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.semi-cta:hover, .semi-cta:focus-visible { background: var(--red); color: #111; }
.semi-cta:hover svg { transform: rotate(90deg); }
@media (max-width: 760px) {
  .semi { top: 20px; right: 20px; gap: 16px; }
  .semi ul { gap: 4px; }
  .semi ul a { font-size: 11px; letter-spacing: .14em; }
  .semi-cta { padding: 8px 11px 8px 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .semi .roll { transition: none; } }

/* ── [Company] 회사 소개 페이지 (퍼틸레인 company 구성 참고) ── */
.co-hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.co-title { margin: 28px 0 0; font-size: clamp(64px, 10.5vw, 196px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.co-title span { display: block; }
.co-title .plus { width: .5em; height: .5em; stroke-width: 9; vertical-align: .02em; margin-right: .12em; display: inline-block; }
.co-lede { margin: clamp(28px, 3vw, 44px) 0 0; font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.co-lede .ln + .ln { color: var(--dim); }
.co-band { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 34vw); gap: 14px; overflow-x: auto; padding: 0 max(24px, 4vw) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.co-band::-webkit-scrollbar { display: none; }
.co-band img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; scroll-snap-align: start; filter: brightness(.86) saturate(.95); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.co-pillars { padding-block: clamp(80px, 9vw, 140px) 0; }
.co-pillars .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(32px, 5vw, 96px); }
.co-pillar h2 { margin: 0 0 20px; font-family: Urbanist, sans-serif; font-size: clamp(44px, 5.4vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.co-pillar p { margin: 0; max-width: 46ch; color: #c9c9c6; font-size: 17px; line-height: 1.75; }
.co-note { grid-column: 1 / -1; margin: 16px 0 0; padding-top: 40px; border-top: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.6; color: var(--dim); }
.co-note .ln:first-child { color: var(--fg); font-family: Urbanist, sans-serif; }
.co-sec { padding-block: clamp(110px, 12vw, 190px) 0; scroll-margin-top: 80px; }
.co-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.co-big { margin: 0; font-family: Urbanist, sans-serif; font-size: clamp(64px, 9.5vw, 168px); font-weight: 500; line-height: .9; letter-spacing: -.045em; }
.co-sub { margin: 0; max-width: 32ch; color: var(--dim); font-size: 17px; line-height: 1.6; text-align: right; }
.co-sub .ln:first-child { color: var(--fg); }
.co-list { list-style: none; margin: 0; padding: 0; }
.co-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 34%); align-items: center; gap: 12px 32px; padding: clamp(22px, 2.4vw, 34px) 0; border-top: 1px solid var(--line); }
.co-list li:last-child { border-bottom: 1px solid var(--line); }
.co-no { font-family: Urbanist, sans-serif; font-size: 14px; font-weight: 800; color: var(--dim); }
.co-list h3 { margin: 0; font-family: Urbanist, sans-serif; font-size: clamp(36px, 5.4vw, 92px); font-weight: 500; letter-spacing: -.035em; line-height: 1; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.co-list p { margin: 0; color: var(--dim); font-size: 16px; line-height: 1.7; transition: color .3s; }
.co-list li:hover h3 { transform: translateX(10px); }
.co-list li:hover p { color: #c9c9c6; }
.co-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; border-top: 1px solid var(--line); padding-top: 32px; }
.co-addr { margin: 0 0 18px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.45; }
.co-mail { margin: 0; display: grid; gap: 14px; }
.co-mail > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.co-mail dt { font-family: Urbanist, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-top: 3px; }
.co-mail dd { margin: 0; font-size: 17px; }
.co-mail a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) {
  .co-pillars .wrap, .co-contact { grid-template-columns: 1fr; }
  .co-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .co-list p { grid-column: 2; }
  .co-sub { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .co-list li:hover h3 { transform: none; } }

/* ── [Mobile] 휴대폰 화면 보정 ── */
/* 예전 영상 인트로용 16:9 높이가 남아 있어 인트로가 잘려 보이던 것: 화면의 72%로 */
@media (max-width: 760px) {
  .intro.intro--morph { height: 72svh; min-height: 420px; aspect-ratio: auto; }
  .intro--morph .scroll-cue { display: flex; bottom: 22px; }
  .morph { font-size: 14vw; }
}
/* 하위 페이지 머리말: 따로 칠한 상자 대신 페이지 배경 그대로 */
.pj-band { background: transparent; border-block: 0; }
.ap-head { border-bottom: 0; }
/* 폴더를 펼쳤을 때 좁은 화면에서는 옆으로 덜 벌리고 위아래로 더 띄워 제목이 모두 보이게 */
@media (max-width: 600px) {
  .fd[data-open] { --spread: 22px; --fan: 2.5deg; --stack: 40px; --lift: -150px; }
}

/* ── [Polish 2026-11-10] ── */
/* 휴대폰: 서비스 12칸을 2칸씩, 설명은 첫 문장만 */
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cell { --pad: 16px; min-height: 0; padding: 22px 16px 24px; }
  .svc-ico { width: 24px; height: 24px; margin-bottom: 18px; }
  .svc-t { font-size: 18px; margin-bottom: 8px; }
  .svc-d { font-size: 13px; line-height: 1.55; max-width: none; }
  .svc-d .ln + .ln { display: none; }
  .svc-next { font-size: 13px; padding-top: 16px; }
}
/* 터치 화면: "프로젝트 보기"를 처음부터 */
@media (hover: none) {
  .tile .go { width: 132px; }
  .tile .go-label { opacity: 1; }
}
/* 고객사 띠: 마우스·터치·키보드 포커스로 멈춤 */
.marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; border-radius: 999px; }
/* View All Projects: 히어로와 크기 경쟁하지 않게 약 20% 작게 */
.allwork .t { font-size: clamp(36px, 5.6vw, 90px); }
/* 히어로 + 격자: 기본 상태에서 조금 더 밝게 */
.hero .plus-grid:not(.plus-grid--hot) { filter: brightness(1.6); }

/* ── [A11y] 본문 바로가기, 폴더 키보드 포커스, 404 ── */
.skip { position: fixed; left: 16px; top: 12px; z-index: 10000; padding: 10px 16px; border-radius: 999px; background: var(--fg); color: #111; font-weight: 700; font-size: 14px; transform: translateY(-150%); transition: transform .2s; }
.skip:focus-visible { transform: none; outline: 2px solid var(--red); outline-offset: 2px; }
.fd:has(.fd-hit:focus-visible) .fd-key { outline: 2px solid var(--fg); outline-offset: 4px; }
.nf .ap-lede { color: var(--dim); }
.nf-acts { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

/* ── [Flow] 섹션 경계 없이 한 장으로 이어지는 배경 ─────────────────
   섹션마다 따로 칠하던 배경과 1px 경계선을 걷어내고, 화면 뒤에 고정된 빛(ambient) 하나가
   스크롤을 따라 천천히 자리를 옮기며 페이지 전체를 한 흐름으로 묶는다. */
.intro, .intro--morph { background: transparent; }
/* 바탕색은 html 한 곳에만. body가 칠하면 뒤쪽 빛을 덮어버림 */
body { background: transparent; }
/* 서비스 격자도 빛이 비치도록 반투명 */
/* ── [Type] 서브 텍스트 줄바꿈: 문장 단위로 줄을 나누고, 긴 문장은 줄 길이를 고르게 ── */
.ln { display: block; text-wrap: balance; }
.nw { white-space: nowrap; }
p, .desc, .case h3 { text-wrap: pretty; }
.svc-d { max-width: 32ch; }
.solution .copy .sub { max-width: 46ch; }
@media (max-width: 600px) { .svc-d { max-width: none; } }
/* 칸 사이 선은 칸 자체의 테두리로: 칸이 나타나기 전 빈 격자가 밝게 비치지 않도록. 바깥쪽 첫 선은 잘라냄 */
.svc-grid { background: none; gap: 0; clip-path: inset(1px 0 0 1px); }
.svc-grid .svc-cell { border-left: 1px solid rgba(255,255,255,.07); border-top: 1px solid rgba(255,255,255,.07); }
.svc-cell { background: linear-gradient(to bottom, rgba(245,245,243,0), rgba(245,245,243,0)), rgba(14,14,14,.8); }
.svc-cell:hover { background: linear-gradient(to bottom, rgba(245,245,243,0), rgba(245,245,243,.075)), rgba(14,14,14,.8); }
.sec, .contact, footer { border-top: 0; }
.allwork { border-bottom: 0; }
#services { overflow: visible; }
#services::before { content: none; }
main#top { overflow-x: clip; }
/* 섹션 사이는 선 대신 여백과 빛으로 구분 */
.sec > .wrap { padding-block: clamp(96px, 11vw, 176px); }
footer { background: linear-gradient(90deg, rgba(43,43,43,0), #2b2b2b 20%, #2b2b2b 80%, rgba(43,43,43,0)) top / 100% 1px no-repeat; }
/* 화면 뒤에 고정된 빛 */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
/* 무채색 빛만: 레드는 누를 수 있는 "+"에만 남긴다 */
.ambient .a1 { width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; background: radial-gradient(closest-side, rgba(245,245,243,.07), rgba(245,245,243,.025) 45%, rgba(245,245,243,0)); }
.ambient .a2 { width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax; background: radial-gradient(closest-side, rgba(245,245,243,.045), rgba(245,245,243,0)); }
.ambient .a3 { width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; background: radial-gradient(closest-side, rgba(0,0,0,.35), rgba(0,0,0,0)); }
/* 가장자리는 살짝 어둡게: 빛이 화면 가운데로 모이도록 */
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
@media (prefers-reduced-motion: reduce) { .ambient i { transition: none; } }