/* ============================================================
   DEVBEAR STUDIO — 포트폴리오 디자인 시스템
   컨셉: Editorial Dark Studio · 정밀 그로테스크 + 애시드 액센트
   (view-transition-name 은 여기서 쓰지 않는다 — transitions.css 전담.
    단, work.html 카드 morph 는 app.js 가 동적 부여)
   ============================================================ */

/* ---------- 토큰 ---------- */
:root {
  --ink:      #0C0D10;
  --ink-2:    #141519;
  --ink-3:    #1C1E24;
  --ink-4:    #24262e;
  --paper:    #F4F1EA;
  --paper-2:  #E9E4D8;
  --fog:      #9A9CA6;
  --fog-2:    #6C6E78;
  --line:     rgba(244,241,234,.10);
  --line-2:   rgba(244,241,234,.16);
  --volt:     #DDF247;
  --volt-deep:#B6CC1F;
  --on-volt:  #14160A;
  --white:    #FBFAF7;

  --font-display: "Clash Display", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --font-body: "Pretendard Variable", Pretendard, "General Sans", -apple-system, "Malgun Gothic", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1280px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22,1,.36,1);

  /* transit-site 튜닝 (다크 무드) */
  --vt-duration: .5s;
  --vt-distance: 48px;
  --vt-share-duration: .6s;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--volt); color: var(--on-volt); }

svg.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex: none; }

/* 배경 텍스처: 미세 그레인/그리드 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(221,242,71,.055), transparent 60%),
    radial-gradient(900px 700px at -6% 12%, rgba(120,130,255,.045), transparent 55%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 72%);
}

/* ---------- 레이아웃 ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
main { display: block; min-height: 60vh; }
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.hr { height: 1px; background: var(--line); border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--volt); color: var(--on-volt); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 타이포 유틸 ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--volt-deep); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--volt-deep); }
.display { font-family: var(--font-display); font-weight: 600; line-height: .98; letter-spacing: -.02em; }
h1.display { font-size: clamp(2.6rem, 7.5vw, 6.4rem); }
h2.display { font-size: clamp(1.9rem, 4vw, 3.3rem); }
h3.display { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
.volt-text { color: var(--volt); }
.muted { color: var(--fog); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--fog); max-width: 60ch; line-height: 1.7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__no { font-family: var(--font-mono); color: var(--fog-2); font-size: .8rem; letter-spacing: .1em; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 100px; font-weight: 600; font-size: .95rem; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; border: 1px solid transparent; white-space: nowrap; }
.btn .ic { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn--primary { background: var(--volt); color: var(--on-volt); }
.btn--primary:hover { transform: translateY(-2px); background: #e6ff5c; }
.btn--primary:hover .ic { transform: translate(3px, -3px); }
.btn--ghost { border-color: var(--line-2); color: var(--white); }
.btn--ghost:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* ---------- 태그/칩 ---------- */
.tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--fog); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pa, var(--volt)); flex: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--ink) 78%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.brand__mark { width: 26px; height: 26px; display: grid; place-items: center; background: var(--volt); color: var(--on-volt); border-radius: 7px; }
.brand__mark .ic { font-size: 1rem; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a { padding: 8px 15px; border-radius: 100px; font-size: .95rem; color: var(--fog); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--white); }
.nav__links a[aria-current="page"] { color: var(--white); background: var(--ink-2); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); place-items: center; font-size: 1.3rem; }
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: var(--ink-2); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__toggle { display: grid; }
  .nav__cta .btn--primary { display: none; }
}

/* ============================================================
   HERO (홈)
   ============================================================ */
.hero { padding-top: clamp(52px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 15ch; }
.hero__lead { margin-top: 28px; }
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { margin-top: 54px; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.hero__meta div { display: flex; flex-direction: column; gap: 3px; }
.hero__meta b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; }
.hero__meta span { font-family: var(--font-mono); font-size: .72rem; color: var(--fog); letter-spacing: .04em; }

/* 히어로 스크린샷 콜라주 */
.hero__gallery { margin-top: clamp(48px, 6vw, 90px); position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; align-items: end; }
.hero__gallery .shot-card { grid-column: span 4; }
.hero__gallery .shot-card:nth-child(1) { transform: rotate(-1.4deg); }
.hero__gallery .shot-card:nth-child(2) { transform: translateY(-24px) rotate(.8deg); grid-column: span 4; }
.hero__gallery .shot-card:nth-child(3) { transform: rotate(1.6deg); }
@media (max-width: 860px) { .hero__gallery { grid-template-columns: 1fr; } .hero__gallery .shot-card, .hero__gallery .shot-card:nth-child(2) { grid-column: 1; transform: none; } }

/* ============================================================
   스크린샷 프레임 (브라우저 / 폰)
   ============================================================ */
.frame-web { border-radius: 13px; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.75), 0 8px 22px -12px rgba(0,0,0,.6); }
.frame-web__bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 13px; background: linear-gradient(#1a1c22, #141519); border-bottom: 1px solid var(--line); }
.frame-web__bar .d { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.frame-web__bar .d:nth-child(1) { background: #ff5f57; }
.frame-web__bar .d:nth-child(2) { background: #febc2e; }
.frame-web__bar .d:nth-child(3) { background: #28c840; }
.frame-web__url { flex: 1; margin-left: 8px; height: 22px; border-radius: 6px; background: var(--ink-3); display: flex; align-items: center; gap: 7px; padding: 0 10px; font-family: var(--font-mono); font-size: .68rem; color: var(--fog); overflow: hidden; white-space: nowrap; }
.frame-web__url .ic { font-size: .8rem; color: var(--fog-2); }
.frame-web img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top center; background: var(--ink-3); }

.frame-phone { position: relative; width: 100%; max-width: 258px; margin-inline: auto; padding: 9px; border-radius: 40px; background: linear-gradient(150deg, #2a2c33, #16171b); border: 1px solid var(--line-2); box-shadow: 0 34px 70px -30px rgba(0,0,0,.8), inset 0 0 0 1.5px rgba(255,255,255,.04); }
.frame-phone::after { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 92px; height: 6px; border-radius: 100px; background: rgba(0,0,0,.5); z-index: 3; }
.frame-phone img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top center; border-radius: 32px; background: var(--ink-3); }

/* ============================================================
   서비스
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--ink); padding: 34px 30px; transition: background .3s; }
.service:hover { background: var(--ink-2); }
.service__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink-3); display: grid; place-items: center; font-size: 1.5rem; color: var(--volt); margin-bottom: 20px; }
.service h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 9px; }
.service p { color: var(--fog); font-size: .95rem; line-height: 1.65; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   카테고리 그리드 (홈)
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); transition: transform .35s var(--ease), border-color .3s, background .3s; position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--volt); transition: width .4s var(--ease); }
.cat-card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--ink-3); }
.cat-card:hover::after { width: 100%; }
.cat-card__top { display: flex; align-items: center; justify-content: space-between; }
.cat-card__icon { font-size: 2rem; color: var(--volt); }
.cat-card__no { font-family: var(--font-mono); font-size: .78rem; color: var(--fog-2); }
.cat-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.cat-card p { color: var(--fog); font-size: .92rem; }
.cat-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: .74rem; color: var(--fog); padding-top: 8px; }
.cat-card__foot .ic { color: var(--volt); font-size: 1.1rem; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WORK — 필터 + 프로젝트 그리드
   ============================================================ */
.work-head { padding-top: clamp(48px, 6vw, 92px); }
.filter-bar { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 40px; position: sticky; top: 68px; z-index: 40; padding-block: 16px; background: color-mix(in oklab, var(--ink) 82%, transparent); backdrop-filter: blur(10px); }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--fog); font-weight: 500; transition: all .25s; }
.filter-chip .ic { font-size: 1.05rem; }
.filter-chip .n { font-family: var(--font-mono); font-size: .72rem; opacity: .7; }
.filter-chip:hover { color: var(--white); border-color: var(--fog-2); }
.filter-chip[aria-pressed="true"] { background: var(--volt); color: var(--on-volt); border-color: var(--volt); }
.filter-chip[aria-pressed="true"] .n { opacity: .85; }

.cat-section { margin-bottom: clamp(40px, 5vw, 72px); }
.cat-section__title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cat-section__title .ic { font-size: 1.5rem; color: var(--volt); }
.cat-section__title h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.cat-section__title .count { font-family: var(--font-mono); font-size: .78rem; color: var(--fog); margin-left: auto; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1040px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .work-grid { grid-template-columns: 1fr; } }

/* pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.pager__btn { min-width: 42px; height: 42px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 100px; background: transparent; color: var(--fog); font-family: var(--font-mono); font-size: .82rem; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.pager__btn:hover:not(:disabled) { color: var(--white); border-color: var(--fog-2); }
.pager__btn.is-active { background: var(--volt); color: var(--on-volt); border-color: var(--volt); }
.pager__nav { color: var(--fog); }
.pager__btn:disabled { opacity: .3; cursor: default; }

.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; height: 100%; }
.pcard:hover { transform: translateY(-5px); border-color: var(--line-2); }
.pcard__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background:
    radial-gradient(120% 130% at 50% 0%, color-mix(in oklab, var(--pa, #444) 34%, #101115) 0%, #0d0e12 70%); display: grid; place-items: center; padding: 22px; }
.pcard__thumb--web { padding: 0; }
.pcard__thumb--web .frame-web { width: 118%; margin-top: 20px; border-radius: 11px 11px 0 0; box-shadow: 0 24px 44px -26px rgba(0,0,0,.8); transition: transform .5s var(--ease); }
.pcard:hover .pcard__thumb--web .frame-web { transform: translateY(-6px); }
.pcard__thumb--mobile .frame-phone { max-width: 150px; transition: transform .5s var(--ease); }
.pcard:hover .pcard__thumb--mobile .frame-phone { transform: translateY(-6px) rotate(-1deg); }
.pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pa, var(--volt)); display: inline-flex; align-items: center; gap: 7px; }
.pcard__cat .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pa, var(--volt)); }
.pcard__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard__title h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.pcard__title .ic { color: var(--fog-2); font-size: 1.2rem; transition: transform .3s var(--ease), color .3s; }
.pcard:hover .pcard__title .ic { color: var(--volt); transform: translate(3px,-3px); }
.pcard__desc { color: var(--fog); font-size: .92rem; line-height: 1.6; }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pcard__foot .mini { font-family: var(--font-mono); font-size: .68rem; color: var(--fog-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }

/* ============================================================
   프로젝트 상세
   ============================================================ */
.detail-hero { padding-top: clamp(36px, 5vw, 72px); }
.crumb { font-family: var(--font-mono); font-size: .76rem; color: var(--fog); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.crumb a:hover { color: var(--volt); }
.detail-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 940px) { .detail-hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.detail-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; line-height: 1; margin: 14px 0 20px; }
.detail-hero__tagline { font-size: 1.15rem; color: var(--fog); line-height: 1.6; max-width: 42ch; }
.detail-hero__stat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--pa, var(--volt)); }

.detail-shot { position: relative; }
.detail-shot--mobile { display: grid; place-items: center; padding: 30px; border-radius: var(--radius); background: radial-gradient(120% 120% at 50% 0%, color-mix(in oklab, var(--pa,#444) 30%, #101115), #0c0d11 72%); }

.spec-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
.spec-bar div { background: var(--ink); padding: 22px 24px; }
.spec-bar dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); margin-bottom: 8px; }
.spec-bar dd { font-size: 1rem; color: var(--white); }
@media (max-width: 780px) { .spec-bar { grid-template-columns: repeat(2, 1fr); } }

.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .detail-body { grid-template-columns: 1fr; gap: 28px; } }
.block h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.block h2 .ic { color: var(--volt); }
.block p { color: var(--fog); line-height: 1.75; }
.sol-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.sol-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--fog); line-height: 1.6; }
.sol-list .ic { color: var(--volt); font-size: 1.2rem; margin-top: 3px; flex: none; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 680px) { .results-grid { grid-template-columns: 1fr; } }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; background: var(--ink-2); position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--pa, var(--volt)); opacity: .8; }
.result b { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; display: block; line-height: 1; margin-bottom: 8px; }
.result span { font-size: .9rem; color: var(--fog); }

.stack-row { display: flex; gap: 10px; flex-wrap: wrap; }
.stack-chip { font-family: var(--font-mono); font-size: .82rem; color: var(--white); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 14px; background: var(--ink-2); }

.gallery-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }

.next-project { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.next-project span { font-family: var(--font-mono); font-size: .76rem; color: var(--fog); }
.next-project a { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; display: inline-flex; align-items: center; gap: 14px; transition: color .3s; }
.next-project a:hover { color: var(--volt); }
.next-project a .ic { transition: transform .3s var(--ease); }
.next-project a:hover .ic { transform: translateX(6px); }

/* ============================================================
   지표 / 프로세스 / 클라이언트 / About
   ============================================================ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--ink); padding: 40px 26px; text-align: left; }
.stat b { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; line-height: 1; display: inline-flex; align-items: baseline; }
.stat b .suf { color: var(--volt); font-size: .6em; margin-left: 2px; }
.stat span { display: block; margin-top: 12px; color: var(--fog); font-size: .9rem; }
@media (max-width: 780px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step { border-top: 2px solid var(--line-2); padding-top: 22px; }
.process-step__no { font-family: var(--font-mono); font-size: .8rem; color: var(--volt); }
.process-step h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 14px 0 10px; }
.process-step p { color: var(--fog); font-size: .92rem; line-height: 1.6; }
@media (max-width: 860px) { .process-list { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .process-list { grid-template-columns: 1fr; } }

.clients { display: flex; flex-wrap: wrap; gap: 14px; }
.client-logo { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--fog); border: 1px solid var(--line); border-radius: 10px; padding: 14px 22px; transition: color .3s, border-color .3s; }
.client-logo:hover { color: var(--white); border-color: var(--line-2); }

.about-lead { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; letter-spacing: -.01em; max-width: 22ch; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; gap: 28px; } }
.about-split p { color: var(--fog); line-height: 1.8; margin-bottom: 18px; }

/* ============================================================
   CTA / 문의
   ============================================================ */
.cta { position: relative; border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(40px, 6vw, 80px); background: linear-gradient(135deg, var(--ink-2), var(--ink)); overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(221,242,71,.12), transparent 70%); pointer-events: none; }
.cta h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.02; margin-bottom: 20px; }
.cta p { color: var(--fog); max-width: 46ch; margin: 0 auto 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item__icon { width: 44px; height: 44px; border-radius: 11px; background: var(--ink-2); display: grid; place-items: center; color: var(--volt); font-size: 1.3rem; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item a, .contact-item p { color: var(--fog); font-family: var(--font-mono); font-size: .9rem; }
.contact-item a:hover { color: var(--volt); }
.contact-item__icon--kakao { background: #FEE500; color: #181600; }
.contact-channel { text-decoration: none; align-items: center; transition: border-color .3s var(--ease); }
.contact-channel .contact-channel__arrow { margin-left: auto; color: var(--fog); display: inline-flex; transition: transform .3s var(--ease), color .3s; }
.contact-channel:hover .contact-channel__arrow { color: var(--volt); transform: translate(3px, -3px); }

.form { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fog); }
.field input, .field textarea, .field select { background: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 15px; color: var(--white); font-family: var(--font-body); font-size: .95rem; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--volt); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .78rem; color: var(--fog-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 56px 34px; margin-top: clamp(56px, 8vw, 120px); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.footer__brand .brand__mark { width: 30px; height: 30px; }
.footer p.muted { max-width: 40ch; font-size: .92rem; }
.footer__col h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fog-2); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--fog); padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--volt); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom p { font-family: var(--font-mono); font-size: .74rem; color: var(--fog-2); }
.footer__disclaimer { font-family: var(--font-mono); font-size: .72rem; color: var(--fog-2); line-height: 1.6; margin-top: 14px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: 10px; }

/* ============================================================
   스크롤 리빌 (모션 허용 시에만)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; }
  .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }

  /* 히어로 로드 스태거 */
  .hero .stg { opacity: 0; animation: heroUp .9s var(--ease) forwards; }
  .hero .stg1 { animation-delay: .05s; } .hero .stg2 { animation-delay: .16s; }
  .hero .stg3 { animation-delay: .27s; } .hero .stg4 { animation-delay: .38s; }
  .hero .stg5 { animation-delay: .5s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}
