/* GI DESIGN — 모노톤 */
:root {
  --ink: #0b0b0b;
  --ink-2: #161616;
  --paper: #f2f1ee;
  --white: #fff;
  --g1: #8a8a8a;
  --g2: #5c5c5c;
  --line: rgba(11, 11, 11, .14);
  --line-inv: rgba(255, 255, 255, .16);
  --pad: clamp(16px, 4.5vw, 72px);
  --en: 'Archivo', 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --ko: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ko); font-size: 16px; line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--white); }

/* ── 머리 ── */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--pad); color: var(--white); mix-blend-mode: difference; transition: padding .4s var(--ease); }
.hd.is-small { padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: baseline; gap: 8px; font-family: var(--en); }
.logo__gi { font-weight: 900; font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.logo__d { font-weight: 400; font-size: 11px; letter-spacing: .38em; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 40px); font-family: var(--en); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nav a { position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── 히어로 ── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--white); overflow: hidden; display: grid; grid-template-rows: 1fr auto; padding: 120px var(--pad) 48px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: grayscale(1) contrast(1.2) brightness(.5); transform: scale(1.12); animation: heroZoom 2.8s var(--ease) forwards; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.1) 40%, rgba(11,11,11,.85) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__grid { position: absolute; inset: 0 var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.hero__grid i { border-left: 1px solid var(--line-inv); transform: scaleY(0); transform-origin: top; animation: lineIn 1.6s var(--ease) forwards; }
.hero__grid i:nth-child(2) { animation-delay: .15s; } .hero__grid i:nth-child(3) { animation-delay: .3s; border-right: 1px solid var(--line-inv); }
.hero__grid i:nth-child(3) { grid-column: span 2; }
@keyframes lineIn { to { transform: scaleY(1); } }
.hero__meta { position: absolute; top: 96px; font-family: var(--en); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.6); line-height: 1.9; opacity: 0; animation: fade 1s .9s forwards; }
.hero__meta--tl { left: var(--pad); } .hero__meta--tr { right: var(--pad); text-align: right; }
.hero__title { position: relative; align-self: end; margin: 0; font-family: var(--en); font-weight: 900; display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 48px); flex-wrap: wrap; }
.hero__gi { font-size: clamp(150px, 31vw, 520px); line-height: .74; letter-spacing: -.065em; margin-left: -.04em; }
.hero__sub { font-weight: 300; font-size: clamp(18px, 2.4vw, 38px); line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; padding-bottom: .3em; }
.ln { display: block; overflow: hidden; }
.ln > span { display: block; transform: translateY(105%); animation: up 1.2s var(--ease) forwards; }
.hero__sub .ln:nth-child(1) > span { animation-delay: .35s; } .hero__sub .ln:nth-child(2) > span { animation-delay: .45s; }
@keyframes up { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
.hero__lead { position: relative; margin: 40px 0 0; display: flex; justify-content: space-between; align-items: flex-end; font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; color: rgba(255,255,255,.78); border-top: 1px solid var(--line-inv); padding-top: 22px; opacity: 0; animation: fade 1s 1.1s forwards; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 48px; display: flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fade 1s 1.3s forwards; }
.hero__scroll i { width: 1px; height: 46px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--white); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ── 띠 ── */
.band { background: var(--ink); color: var(--white); border-top: 1px solid var(--line-inv); overflow: hidden; padding: 22px 0; }
.band__in { display: flex; width: max-content; gap: 34px; font-family: var(--en); font-weight: 800; font-size: clamp(30px, 5vw, 72px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; animation: marquee 32s linear infinite; }
.band__in span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.band__in b { font-weight: 200; color: var(--g2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 공통 섹션 ── */
.sec { padding: clamp(96px, 13vw, 200px) var(--pad); }
.sec__label { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--g2); margin-bottom: clamp(40px, 6vw, 88px); }
.sec__label span { font-weight: 600; color: var(--ink); }
.sec__label span::after { content: ''; display: inline-block; vertical-align: middle; width: 40px; height: 1px; background: currentColor; margin-left: 14px; }
.sec__label--inv { color: var(--g1); } .sec__label--inv span { color: var(--white); }

/* ── ABOUT ── */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.about .sec__label { grid-column: 1 / -1; }
.about__h { grid-column: 1 / 9; margin: 0; font-size: clamp(34px, 5.2vw, 84px); line-height: 1.16; font-weight: 700; letter-spacing: -.045em; }
.about__h em { font-style: normal; font-weight: 300; color: var(--g1); }
.about__body { grid-column: 8 / 13; margin-top: clamp(40px, 6vw, 96px); color: var(--g2); font-size: clamp(15px, 1.15vw, 17px); }
.about__body p { margin: 0 0 1.2em; }
.stats { grid-column: 1 / -1; list-style: none; margin: clamp(64px, 9vw, 140px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.stats li { padding: 26px 20px 0 0; border-right: 1px solid var(--line); }
.stats li + li { padding-left: 20px; } .stats li:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--en); font-weight: 800; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.04em; line-height: 1.1; }
.stats li:nth-child(4) b { font-family: var(--ko); font-weight: 700; letter-spacing: -.05em; }
.stats span { font-size: 13px; color: var(--g1); letter-spacing: .02em; }

/* ── SERVICE ── */
.service { background: var(--white); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc li { position: relative; display: grid; grid-template-columns: 80px 1fr 1fr; gap: 24px; align-items: baseline; padding: clamp(26px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .5s var(--ease); }
.svc li::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.svc li:hover { color: var(--white); }
.svc li:hover::before { transform: scaleY(1); }
.svc__no { font-family: var(--en); font-size: 13px; letter-spacing: .18em; color: var(--g1); }
.svc h3 { margin: 0; font-family: var(--en); font-weight: 800; font-size: clamp(38px, 6vw, 96px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.svc h3 small { font-family: var(--ko); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--g1); }
.svc p { margin: 0; color: var(--g2); max-width: 30em; transition: color .5s var(--ease); }
.svc li:hover p { color: rgba(255,255,255,.7); }

/* ── WORKS ── */
.works__head { display: flex; justify-content: space-between; align-items: baseline; }
.works__note { margin: 0; font-size: 13px; color: var(--g1); }
.wk { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 80px) 24px; }
.wk__item--big { grid-column: 1 / -1; }
.wk__img { overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.wk__item--big .wk__img { aspect-ratio: 21 / 9; }
.wk__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.wk__item:hover .wk__img img { transform: scale(1); }
.wk__cap { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; padding-top: 20px; border-top: 1px solid var(--ink); margin-top: 18px; }
.wk__no { font-family: var(--en); font-size: 12px; letter-spacing: .18em; color: var(--g1); padding-top: 4px; }
.wk__cap h3 { margin: 0; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
.wk__cap dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 2px 14px; font-size: 13px; }
.wk__cap dt { font-family: var(--en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--g1); padding-top: 2px; }
.wk__cap dd { margin: 0; color: var(--g2); }

/* ── BRAND ── */
.brand { position: relative; background: var(--ink); color: var(--white); padding: clamp(110px, 14vw, 220px) var(--pad); overflow: hidden; }
.brand__img { position: absolute; inset: 0 0 0 42%; }
.brand__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55) contrast(1.1); }
.brand__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,11,11,.4) 45%, rgba(11,11,11,.15) 100%); }
.brand__in { position: relative; max-width: 620px; }
.brand__name { display: flex; align-items: center; gap: 24px; margin-bottom: 36px; }
.brand__mark { width: clamp(64px, 7vw, 96px); filter: grayscale(1) invert(1) brightness(1.4); }
.brand__name b { display: block; font-family: 'Noto Serif KR', serif; font-weight: 500; font-size: clamp(48px, 6.4vw, 104px); line-height: 1; letter-spacing: .04em; }
.brand__name span { display: block; margin-top: 12px; font-family: var(--en); font-size: 12px; letter-spacing: .5em; color: var(--g1); }
.brand__txt { margin: 0 0 44px; color: rgba(255,255,255,.72); font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 28px; padding: 18px 28px; border: 1px solid rgba(255,255,255,.6); font-size: 14px; letter-spacing: .02em; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s; }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--white); z-index: -1; transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--white); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn i { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover i { transform: translate(3px, -3px); }

/* ── CONTACT / 바닥 ── */
.ft { background: var(--ink); color: var(--white); padding: clamp(96px, 12vw, 180px) var(--pad) 36px; border-top: 1px solid var(--line-inv); }
.ft__ko { margin: 0 0 clamp(64px, 9vw, 140px); font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; color: rgba(255,255,255,.65); }
.ft__big { display: block; font-family: var(--en); font-weight: 900; font-size: clamp(60px, 13vw, 220px); line-height: .86; letter-spacing: -.06em; text-transform: uppercase; margin-bottom: 32px; transition: color .5s var(--ease); }
.ft__big em { font-style: normal; font-weight: 300; color: transparent; -webkit-text-stroke: 1.5px var(--white); transition: color .5s var(--ease); }
.ft__big:hover em { color: var(--white); }
.ft__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line-inv); padding-top: 32px; }
.ft h4 { margin: 0 0 12px; font-family: var(--en); font-weight: 400; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--g1); }
.ft__grid p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.ft__grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__map { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--g1); }
.ft__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(80px, 10vw, 140px); padding-top: 24px; border-top: 1px solid var(--line-inv); }
.ft__logo { font-family: var(--en); font-weight: 900; font-size: 34px; letter-spacing: -.05em; line-height: 1; }
.ft__logo small { font-weight: 400; font-size: 10px; letter-spacing: .38em; margin-left: 8px; }
.ft__bottom p { margin: 0; text-align: right; font-size: 12px; color: var(--g1); line-height: 1.8; }

/* ── 스크롤 등장 ── */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── 반응형 ── */
@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 0 var(--pad); background: var(--ink); color: var(--white); font-size: 40px; font-weight: 800; letter-spacing: -.02em; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .hd { mix-blend-mode: normal; }
  .hero__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid i:nth-child(3) { grid-column: auto; }
  .hero__meta--tr { display: none; }
  .hero__scroll { display: none; }
  .about__h, .about__body { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 22px 12px 22px 0 !important; border-bottom: 1px solid var(--line); }
  .stats li:nth-child(2n) { border-right: 0; padding-left: 16px !important; }
  .stats li:nth-child(3) { padding-left: 0 !important; }
  .svc li { grid-template-columns: 1fr; gap: 10px; }
  .wk { grid-template-columns: 1fr; }
  .wk__item--big .wk__img { aspect-ratio: 4 / 3; }
  .wk__cap { grid-template-columns: 40px 1fr; }
  .wk__cap dl { grid-column: 2; }
  .brand__img { inset: 0; }
  .brand__img::after { background: linear-gradient(180deg, rgba(11,11,11,.7), rgba(11,11,11,.92)); }
  .ft__grid { grid-template-columns: 1fr; }
  .ft__bottom { flex-direction: column; align-items: flex-start; }
  .ft__bottom p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
