/* CREATIVE SETTWO — 색상, 글꼴, 폭 규칙은 편집 설명서 4번 항목 참고 */
:root {
  --black: #0a0a0a;
  --work-bg: #08090a;
  --white: #ffffff;
  --gray-bg: #f4f4f4;
  --text: #3a3a3a;
  --label: #6b6b6b;
  --muted: #8a8f98;
  --soft: #9a9a9a;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: 'Noto Sans KR', system-ui, sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .6; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; }
.sec { padding: clamp(100px, 12vw, 180px) var(--pad); }
.label { margin: 0 0 28px; font-family: Jost, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--label); }
.sub-title { margin: 0; font-size: clamp(28px, 3.2vw, 46px); font-weight: 500; line-height: 1.35; letter-spacing: -.03em; }

/* 스크롤 등장 효과 */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1080px; background: var(--black); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bar { position: relative; width: 100%; max-width: calc(var(--max) + 96px); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; mix-blend-mode: difference; color: #fff; }
.hero-top { align-items: center; gap: 16px 40px; padding-top: 30px; }
.hero-bottom { align-items: flex-end; gap: 24px 40px; padding-bottom: 44px; }
.logo img { display: block; height: 20px; width: auto; }
.hero-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(24px, 3.4vw, 56px); }
.nav { display: flex; flex-wrap: wrap; gap: 8px clamp(20px, 3vw, 48px); font-family: Jost, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .14em; }
.lang { display: flex; align-items: center; gap: 2px; font-family: Jost, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.lang span { opacity: .45; }
.lang button { min-height: 44px; min-width: 32px; padding: 0 4px; border: 0; background: none; color: #fff; opacity: .6; cursor: pointer; letter-spacing: inherit; }
.lang button[aria-pressed="true"] { opacity: 1; }
.hero-tag { margin: 0; font-family: Jost, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .22em; opacity: .85; }
.hero-actions { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.reel-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: Jost, sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.reel-icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; }
.scroll { font-family: Jost, sans-serif; font-size: 12px; letter-spacing: .2em; opacity: .75; }

/* ABOUT */
#about { padding-top: clamp(130px, 15vw, 230px); padding-bottom: clamp(130px, 15vw, 230px); }
.about { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 72px 64px; }
.about-text { flex: 1 1 720px; min-width: 0; max-width: 900px; }
.about-title { margin: 0 0 48px; font-size: clamp(34px, 4.4vw, 64px); font-weight: 500; line-height: 1.3; letter-spacing: -.035em; }
.about-body { font-size: 17px; line-height: 1.9; color: var(--text); }
.about-body span { display: block; }
.formula { flex: 0 1 380px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-family: Jost, sans-serif; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: .06em; line-height: 1.75; color: var(--soft); }
.formula .strong { color: var(--black); }
.formula-total { display: flex; align-items: center; justify-content: flex-end; gap: 16px; width: 100%; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--black); }
.formula-total img { height: clamp(22px, 2vw, 30px); width: auto; }

/* WORK */
.work { background: var(--work-bg); color: #f7f8f8; font-family: Inter, 'Noto Sans KR', sans-serif; }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.work-title { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.work-count { font-size: 15px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.filters button { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #b4b8bf; font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
.filters button[aria-pressed="true"] { background: #f7f8f8; color: var(--work-bg); border-color: #f7f8f8; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 20px; }
.card { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.card-frame { padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #0f1011; transition: border-color .3s; }
.card-img { aspect-ratio: 16 / 9; border-radius: 7px; overflow: hidden; background: #000; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-frame { border-color: rgba(255,255,255,.22); }
.card:hover .card-img img { transform: scale(1.03); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; }
.card-client { font-size: 15px; font-weight: 500; }
.card-cat { font-size: 13px; color: var(--muted); white-space: nowrap; }
.empty { padding: 110px 24px; border: 1px dashed rgba(255,255,255,.14); border-radius: 12px; text-align: center; color: var(--muted); }
.more-wrap { display: flex; justify-content: center; margin-top: 64px; }
.more { min-height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #f7f8f8; font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; }
.more[hidden] { display: none; }

/* WHAT WE DO */
.what-head { margin-bottom: 72px; }
.what-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.what-item { padding: 28px 32px 40px 0; border-top: 1px solid var(--black); }
.what-item h3 { margin: 0 0 14px; font-family: Jost, sans-serif; font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.what-item p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text); }

/* CLIENTS */
.clients { background: var(--gray-bg); }
.clients-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(48px, 5vw, 72px); }
.clients-head .label { margin-bottom: 20px; }
.client-list { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--black); border-bottom: 1px solid var(--black); padding: 20px 0; }
.client-list p { flex: 0 0 200px; max-width: 50%; min-height: 76px; margin: 0; padding: 12px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: Jost, 'Noto Sans KR', sans-serif; font-size: 16px; font-weight: 500; color: #2a2a2a; }

/* CONTACT */
.contact { background: var(--black); color: #fff; padding-bottom: 48px; }
.contact .label { color: #8f8f8f; margin-bottom: 32px; }
.talk { display: inline-block; margin-bottom: 96px; font-family: Jost, sans-serif; font-size: clamp(48px, 8vw, 132px); line-height: 1; letter-spacing: -.035em; }
.talk span { font-weight: 300; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; padding-top: 32px; border-top: 1px solid #2e2e2e; }
.contact-grid a { font-size: 17px; line-height: 1.6; }
.c-label { margin: 0 0 12px; font-family: Jost, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: #8f8f8f; }
.big-logo { display: block; width: 100%; height: auto; margin-top: clamp(100px, 12vw, 180px); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 12px; color: #8f8f8f; }
.foot span:first-child { font-family: Jost, sans-serif; letter-spacing: .16em; }

/* POPUP */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: Inter, 'Noto Sans KR', sans-serif; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(4,4,5,.86); cursor: pointer; }
.modal-box { position: relative; width: min(100%, 1040px); max-height: calc(100vh - 48px); overflow-y: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #0f1011; color: #f7f8f8; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 18px 24px; }
.modal-name { display: flex; align-items: baseline; gap: 14px; min-width: 0; font-size: 18px; font-weight: 600; }
.muted { font-size: 13px; font-weight: 400; color: var(--muted); }
.modal-x { width: 44px; height: 44px; flex: none; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: none; color: #f7f8f8; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.player { margin: 0 8px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.player.vertical { aspect-ratio: auto; height: min(70vh, 720px); display: flex; justify-content: center; }
.player.vertical iframe { width: auto; aspect-ratio: 9 / 16; height: 100%; }
.player iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 18px 24px 22px; }
.versions { display: flex; flex-wrap: wrap; gap: 6px; }
.versions button { min-height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #b4b8bf; font-family: Inter, sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; }
.versions button[aria-pressed="true"] { background: #f7f8f8; color: var(--work-bg); border-color: #f7f8f8; }
.yt-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-left: auto; border-radius: 8px; background: #f7f8f8; color: var(--work-bg); font-size: 14px; font-weight: 500; }
body.lock { overflow: hidden; }

/* 휴대폰 */
@media (max-width: 640px) {
  .hero-video { object-fit: contain; }
  .hero-top { padding-top: 18px; }
  .nav { display: none; }
  .hero-bottom { padding-bottom: 28px; }
  .scroll { display: none; }
  .what-item { padding-right: 0; }
  .client-list p { flex-basis: 50%; min-height: 60px; font-size: 15px; }
  .talk { margin-bottom: 64px; }
  .modal { padding: 12px; }
  .modal-head { padding: 14px 14px 14px 18px; }
  .modal-foot { padding: 14px 18px 18px; }
}
