/* =========================================================
   리걸그로우 — 로고 컬러 기반 디자인 토큰
   ========================================================= */
:root {
  --navy-900: #0A1730;
  --navy-800: #0F2142;
  --navy-700: #14294B;
  --navy-600: #1E3A66;
  --gold-600: #A07E3C;
  --gold-500: #B8914A;
  --gold-400: #C9A45C;
  --gold-300: #E2C488;
  --ivory: #F7F4EE;
  --line: #E6E1D8;
  --ink: #1A2233;
  --muted: #5E6778;
  --white: #FFFFFF;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-brand: "Cinzel", "Times New Roman", serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 33, 66, .08);
  --shadow-lg: 0 24px 60px rgba(10, 23, 48, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: .02em;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-300); }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy-700);
}
.section-title.light { color: var(--white); }
.section-desc { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); max-width: 720px; }
.section-desc strong { color: var(--navy-700); }
.sub-title { font-size: 1.375rem; font-weight: 700; color: var(--navy-700); letter-spacing: -.01em; }

.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-ivory { background: var(--ivory); }
.section-head { margin-bottom: 48px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-500); color: var(--white); box-shadow: 0 8px 20px rgba(184, 145, 74, .3); }
.btn-gold:hover { background: var(--gold-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn-navy { background: var(--navy-700); color: var(--white); height: 58px; font-size: 1.0625rem; }
.btn-navy:hover { background: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* =========================================================
   헤더
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 33, 66, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-img { height: 52px; width: auto; display: none; }
.brand.has-img .brand-img { display: block; }
.brand.has-img .brand-fallback { display: none; }
.brand-fallback { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: 42px; overflow: visible; }
.mark-l, .mark-g { font-family: var(--font-serif); font-weight: 600; }
.mark-l { font-size: 58px; fill: var(--navy-700); }
.mark-g { font-size: 46px; fill: var(--gold-500); }
.mark-swoosh { fill: none; stroke: var(--navy-700); stroke-width: 3.2; stroke-linecap: round; }
.mark-arrow { fill: var(--navy-700); }
.brand-word {
  font-family: var(--font-brand); font-weight: 600;
  font-size: 1.3125rem; letter-spacing: .08em; color: var(--navy-700);
}
.brand-word em { font-style: normal; color: var(--gold-500); }
.brand-word.light { color: var(--white); }
.brand-word.light em { color: var(--gold-300); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) {
  position: relative; font-size: .9875rem; font-weight: 500; color: var(--ink);
  padding: 6px 0; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--navy-700); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: 4px; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy-700);
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   히어로
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-800);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 0;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(201, 164, 92, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 58, 102, .9), transparent 70%),
    linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px;
}
.hero-title {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.22; font-weight: 700; letter-spacing: -.03em;
}
.rotator {
  display: inline-block;
  color: var(--gold-300);
  position: relative;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.rotator::after {
  content: ""; position: absolute; left: 0; right: .1em; bottom: .06em; height: .09em;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}
.rotator.is-out { opacity: 0; transform: translateY(-.35em); }
.rotator.is-in { opacity: 0; transform: translateY(.35em); transition: none; }

.hero-desc { margin-top: 28px; font-size: clamp(1rem, 1.4vw, 1.1875rem); color: rgba(255, 255, 255, .78); line-height: 1.8; }
.hero-desc strong { color: var(--white); font-weight: 600; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 리포트 카드 */
.hero-visual { position: relative; }
.report {
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px; padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
  animation: floatY 7s ease-in-out infinite;
}
.report-head { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; color: rgba(255, 255, 255, .7); }
.chip {
  font-family: var(--font-serif); font-style: italic; font-size: .9375rem;
  padding: 2px 12px; border-radius: 999px; border: 1px solid rgba(226, 196, 136, .5); color: var(--gold-300);
}
.report-metric { margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; }
.report-label { font-size: .875rem; color: rgba(255, 255, 255, .6); }
.report-value { font-size: 3rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.report-value small { font-size: 1.125rem; font-weight: 500; margin-left: 4px; color: rgba(255, 255, 255, .7); }
.report-delta { font-weight: 700; color: var(--gold-300); background: rgba(201, 164, 92, .15); padding: 4px 12px; border-radius: 8px; font-size: .9375rem; }
.report-chart { width: 100%; height: 120px; margin-top: 18px; overflow: visible; }
.chart-line {
  fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: draw 2s .4s var(--ease) forwards;
}
.report-months { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255, 255, 255, .45); margin-top: 8px; }
.report-rows { margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.report-rows li { display: flex; justify-content: space-between; padding: 12px 0; font-size: .9375rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.report-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.report-rows span { color: rgba(255, 255, 255, .7); }
.report-rows b { color: var(--white); }
.badge-float {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy-700);
  font-size: .9375rem; font-weight: 600;
  padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-lg);
  animation: floatY 7s 1.2s ease-in-out infinite reverse;
}
.badge-float svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--gold-500); fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 숫자 스트립 */
.stats {
  position: relative;
  margin-top: clamp(64px, 9vw, 110px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.stats li { padding: 36px 24px 44px; text-align: center; }
.stats li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-num { font-size: clamp(1.875rem, 3.4vw, 2.625rem); font-weight: 700; color: var(--white); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 4px; font-size: .9375rem; color: rgba(255, 255, 255, .6); }

/* =========================================================
   여긴 어디?
   ========================================================= */
.section-about { padding-top: 0; }

/* 첫 화면 — 골드 직각사다리꼴 */
.about-hero {
  /* 영상 위에 덮는 밝은 막의 불투명도 — 높을수록 영상이 옅어집니다 (0 ~ 1) */
  --video-veil: .74;
  position: relative; overflow: hidden;
  min-height: min(780px, calc(100vh - var(--header-h)));
  display: flex; align-items: center;
  padding: 100px 0;
  /* 골드 배경 진하기 — 숫자가 낮을수록 연해집니다 (0 ~ 1) */
  --about-gold: .42;
  background:
    radial-gradient(700px 480px at 12% 18%, rgba(255, 255, 255, .35), transparent 60%),
    linear-gradient(150deg,
      rgba(212, 176, 108, calc(var(--about-gold) - .06)) 0%,
      rgba(184, 145, 74, var(--about-gold)) 55%,
      rgba(160, 126, 60, calc(var(--about-gold) + .06)) 100%),
    #FBF8F2;
}
.about-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 22px);
}
.about-trapezoid, .about-trapezoid-line {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%;
  pointer-events: none;
}
.about-trapezoid {
  overflow: hidden;
  background: #F4EFE6;
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
  animation: trapIn 1.1s .05s var(--ease) both;
}
.about-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.55) contrast(.95);
}
.about-trapezoid::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(251, 248, 242, calc(var(--video-veil) + .1)) 0%, rgba(251, 248, 242, var(--video-veil)) 45%, rgba(251, 248, 242, calc(var(--video-veil) - .08)) 100%);
}
.about-trapezoid-line {
  right: 44px;
  background: var(--navy-700);
  clip-path: polygon(26% 0, 27% 0, 1% 100%, 0 100%);
  animation: trapIn 1.1s .25s var(--ease) both;
}
@keyframes trapIn { from { opacity: 0; transform: translateX(10%); } to { opacity: 1; transform: none; } }

.about-hero .eyebrow { color: var(--navy-800); }
.about-hero-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.about-copy { max-width: 520px; animation: pageIn .9s var(--ease) both; }
.about-title {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.25; font-weight: 700; letter-spacing: -.03em; color: var(--navy-900);
}
.about-lead { margin-top: 28px; font-size: clamp(1.1875rem, 1.8vw, 1.5rem); font-weight: 500; color: var(--navy-900); letter-spacing: -.01em; }
.about-lead strong {
  color: var(--navy-900); font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(255, 255, 255, .75) 60%);
}
.about-desc { margin-top: 14px; font-size: 1.0625rem; color: rgba(10, 23, 48, .78); }
.about-scroll {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy-900);
  padding-bottom: 4px; border-bottom: 1px solid var(--navy-900);
}
.about-scroll span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.about-panel { width: 400px; flex-shrink: 0; color: var(--navy-900); animation: pageIn .9s .35s var(--ease) both; }
.about-panel-eyebrow { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.profession-list { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.about-panel-eyebrow { color: var(--gold-600); }
.profession-list li {
  padding: 14px 0; border-top: 1px solid rgba(10, 23, 48, .18);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap;
}
.about-panel-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(10, 23, 48, .22); font-size: .9375rem; font-weight: 500; color: rgba(10, 23, 48, .75); }

/* 왜 리걸그로우일까요? */
.why { padding-top: clamp(80px, 10vw, 128px); scroll-margin-top: var(--header-h); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  position: relative; padding: 40px 36px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 600; line-height: .9; color: var(--gold-500); }
.why-card h4 { font-size: 1.375rem; line-height: 1.4; color: var(--navy-700); letter-spacing: -.02em; }
.why-card p { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.why-card blockquote {
  margin: 22px 0 0; padding: 14px 18px;
  background: var(--ivory); border-left: 3px solid var(--gold-500); border-radius: 0 8px 8px 0;
  font-size: .9875rem; font-weight: 600; color: var(--navy-700); letter-spacing: -.01em;
}
.why-card blockquote::before { content: "“"; }
.why-card blockquote::after { content: "”"; }

/* =========================================================
   서비스 소개
   ========================================================= */
.target-pills { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.target-pills li {
  padding: 7px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: .9375rem; font-weight: 500; color: var(--navy-700);
}
/* 메인 서비스 2개는 한 줄에 크게, 나머지 4개는 한 줄에 작게 */
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.service-card { grid-column: span 3; }
.service-card.is-main { grid-column: span 6; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-700);
  transition: background-color .3s;
}
.service-card:hover .service-icon { background: var(--gold-500); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 24px; font-size: 1.25rem; color: var(--navy-700); display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.service-card p { margin-top: 10px; color: var(--muted); font-size: .9688rem; }
.tag {
  font-family: var(--font-serif); font-style: italic; font-size: .875rem; font-weight: 600;
  padding: 0 10px; border-radius: 999px; background: rgba(184, 145, 74, .14); color: var(--gold-600);
}

.service-card.is-main {
  position: relative; overflow: hidden; padding: 44px 40px;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-800));
  box-shadow: var(--shadow);
}
.service-card.is-main::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, .3); box-shadow: 0 0 0 36px rgba(201, 164, 92, .05);
  pointer-events: none;
}
.service-card.is-main .service-icon { width: 64px; height: 64px; background: var(--gold-500); }
.service-card.is-main:hover .service-icon { background: var(--gold-400); }
.service-card.is-main .service-icon svg { width: 32px; height: 32px; }
.service-card.is-main h3 { font-size: 1.625rem; color: var(--white); }
.service-card.is-main p { font-size: 1.0625rem; color: rgba(255, 255, 255, .75); max-width: 440px; }
.service-card.is-main .tag { background: rgba(226, 196, 136, .18); color: var(--gold-300); }
.service-points { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; }
.service-points li { position: relative; padding-left: 22px; font-size: .9688rem; color: rgba(255, 255, 255, .88); }
.service-points li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--gold-300); border-bottom: 2px solid var(--gold-300); transform: rotate(-45deg);
}

.process {
  margin-top: 64px; padding: clamp(36px, 5vw, 56px);
  background: var(--navy-700); border-radius: 20px; color: var(--white);
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start;
}
.process .eyebrow { color: var(--gold-300); }
.process .sub-title { color: var(--white); font-size: 1.625rem; }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-list li { position: relative; padding: 0 20px; }
.process-list li + li { border-left: 1px solid rgba(255, 255, 255, .14); }
.step { font-family: var(--font-serif); font-size: 1rem; letter-spacing: .08em; color: var(--gold-300); font-weight: 600; }
.process-list h4 { margin-top: 10px; font-size: 1.1875rem; }
.process-list p { margin-top: 8px; font-size: .9375rem; color: rgba(255, 255, 255, .68); }

/* =========================================================
   포트폴리오
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 42px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white);
  font-size: .9375rem; font-weight: 500; color: var(--muted); cursor: pointer;
  transition: all .25s;
}
.filter:hover { border-color: var(--navy-700); color: var(--navy-700); }
.filter.is-active { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-link { display: block; height: 100%; }
.case-cover.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.case:hover .case-cover.has-image img { transform: scale(1.04); }
.case-cover.has-image::after { background: linear-gradient(to bottom, rgba(10, 23, 48, .45), transparent 45%); }
.case-cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(201, 164, 92, .35), transparent 60%),
    linear-gradient(150deg, var(--navy-600), var(--navy-900));
}
.case-cover::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 16px);
}
.case-field {
  position: absolute; left: 20px; top: 20px; z-index: 1;
  font-size: .8125rem; font-weight: 600; color: var(--white);
  padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2);
}
.case-letter {
  position: absolute; right: 18px; bottom: -34px;
  font-family: var(--font-serif); font-weight: 600; font-size: 9rem; line-height: 1;
  color: rgba(226, 196, 136, .5);
  transition: transform .5s var(--ease);
}
.case:hover .case-letter { transform: translateY(-10px); }
.case-body { padding: 24px 24px 28px; }
.case-client { font-size: .9375rem; font-weight: 500; color: var(--muted); }
.case-result { margin-top: 6px; display: flex; flex-direction: column; }
.case-result b { font-size: 1.875rem; color: var(--navy-700); letter-spacing: -.02em; line-height: 1.3; }
.case-result span { font-size: .9375rem; color: var(--gold-600); font-weight: 600; }
.case-result em { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(184, 145, 74, .14); font-size: .8125rem; }
.case-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags li { font-size: .8125rem; padding: 3px 10px; border-radius: 6px; background: var(--ivory); color: var(--muted); }

/* =========================================================
   성과
   ========================================================= */
.performance {
  position: relative; overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.performance::before {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, .25);
  box-shadow: 0 0 0 60px rgba(201, 164, 92, .04), 0 0 0 120px rgba(201, 164, 92, .03);
}
.perf-desc { position: relative; margin-top: 16px; color: rgba(255, 255, 255, .7); font-size: 1.0625rem; }
.perf-list { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perf-list li { padding-top: 28px; border-top: 1px solid rgba(226, 196, 136, .35); color: rgba(255, 255, 255, .7); }
.perf-num { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 8px; }

/* =========================================================
   칼럼
   ========================================================= */
.link-more { font-weight: 600; color: var(--navy-700); display: inline-flex; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--navy-700); }
.link-more span { transition: transform .25s var(--ease); }
.link-more:hover span { transform: translateX(4px); }

.column-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.column-card {
  display: flex; flex-direction: column;
  padding: 30px 26px; min-height: 320px;
  border-top: 2px solid var(--navy-700);
  background: var(--white);
  transition: background-color .3s, transform .35s var(--ease);
}
.column-card:hover { background: var(--ivory); transform: translateY(-4px); }
.column-cat { font-size: .8125rem; font-weight: 700; color: var(--gold-600); letter-spacing: .02em; }
.column-card h3 { margin-top: 14px; font-size: 1.1875rem; line-height: 1.5; color: var(--navy-700); letter-spacing: -.01em; }
.column-card p { margin-top: 12px; font-size: .9375rem; color: var(--muted); flex: 1; }
.column-card time { margin-top: 20px; font-size: .875rem; color: #98A0AE; font-variant-numeric: tabular-nums; }
.column-card.has-image { padding-top: 0; }
.column-thumb { margin: 0 -26px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.column-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.column-card:hover .column-thumb img { transform: scale(1.04); }

/* 목록 공통: 더 보기 · 빈 상태 */
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn-outline:hover { background: var(--navy-700); color: var(--white); }
.list-more { margin-top: 48px; text-align: center; }
.list-empty { grid-column: 1 / -1; padding: 64px 0; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* =========================================================
   글 상세 (포트폴리오 · 칼럼)
   ========================================================= */
.post-wrap { max-width: 800px; }
.post-back { display: inline-flex; gap: 8px; font-weight: 600; color: var(--muted); transition: color .2s; }
.post-back:hover { color: var(--navy-700); }
.post-article { margin-top: 32px; animation: pageIn .6s var(--ease) both; }
.post-head { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-type { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--gold-600); }
.post-title { margin-top: 8px; font-size: clamp(1.75rem, 3.6vw, 2.625rem); line-height: 1.35; letter-spacing: -.02em; color: var(--navy-700); }
.post-meta { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.post-meta i { font-style: normal; margin: 0 8px; opacity: .5; }
.post-summary { margin-top: 20px; font-size: 1.125rem; color: var(--ink); }
.post-result {
  margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--navy-700); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-result b { display: block; font-size: 2rem; line-height: 1.2; letter-spacing: -.02em; }
.post-result span { color: var(--gold-300); font-weight: 600; font-size: .9375rem; }
.post-result .case-tags { margin-top: 0; }
.post-result .case-tags li { background: rgba(255, 255, 255, .12); color: var(--white); }
.post-thumb { margin: 32px 0 0; border-radius: var(--radius); overflow: hidden; }
.post-thumb img { width: 100%; }
.post-body { margin-top: 40px; font-size: 1.0625rem; line-height: 1.9; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2, .post-body h3 { color: var(--navy-700); line-height: 1.4; letter-spacing: -.01em; margin-top: 2em; }
.post-body h2 { font-size: 1.5rem; }
.post-body h3 { font-size: 1.25rem; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .4em; }
.post-body a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: 10px; }
.post-body blockquote { margin: 1.4em 0; padding: 16px 20px; background: var(--ivory); border-left: 3px solid var(--gold-500); border-radius: 0 8px 8px 0; color: var(--navy-700); }
.post-body blockquote p { margin: 0; }
.post-body strong { color: var(--navy-700); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-cta {
  margin-top: 64px; padding: 32px; border-radius: var(--radius); background: var(--ivory);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-cta p { font-size: 1.125rem; font-weight: 700; color: var(--navy-700); }

/* =========================================================
   하위 페이지 (칼럼·포트폴리오 상세 / 목록) — scripts/build.js 가 생성
   ========================================================= */
.page-sub main { padding-top: var(--header-h); }
.page-sub .post { padding-top: 48px; }
.page-sub .reveal { opacity: 1; transform: none; }
.list-page { padding-top: 48px; }
.list-page .section-title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }

.breadcrumb { margin-bottom: 28px; font-size: .875rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; opacity: .5; }
.breadcrumb a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.post-answer {
  margin-top: 32px; padding: 24px 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212, 176, 108, .16), rgba(212, 176, 108, .06));
  border: 1px solid rgba(184, 145, 74, .35);
}
.post-answer-label { font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-600); }
.post-answer p { margin-top: 8px; font-size: 1.0625rem; line-height: 1.8; color: var(--navy-800); }

.post-toc { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--ivory); }
.post-toc-title { font-size: .9375rem; font-weight: 700; color: var(--navy-700); }
.post-toc ol { margin-top: 10px; padding-left: 1.3em; list-style: decimal; display: grid; gap: 6px; color: var(--muted); }
.post-toc a { color: var(--ink); }
.post-toc a:hover { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.post-body [id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.post-faq { margin-top: 56px; }
.post-faq h2 { font-size: 1.5rem; color: var(--navy-700); margin-bottom: 16px; }
.post-keywords { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-keywords li { font-size: .875rem; padding: 4px 12px; border-radius: 999px; background: var(--ivory); color: var(--muted); }
.post-author { margin-top: 40px; padding: 22px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.post-author-name { font-weight: 700; color: var(--navy-700); margin-bottom: 6px; }
.post-author-name span { font-weight: 500; color: var(--gold-600); margin-left: 6px; }
.post-back-wrap { margin-top: 40px; }
.related .section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 32px; }

.list-all { margin-top: 36px; text-align: right; }

/* 자주 묻는 질문 (홈페이지 · 글 상세 공용) */
.faq { margin-top: 64px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(184, 145, 74, .5); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-q { display: inline; font-size: 1.0625rem; font-weight: 700; color: var(--navy-700); letter-spacing: -.01em; }
.faq-q::before { content: "Q."; font-family: var(--font-serif); color: var(--gold-500); margin-right: 8px; font-size: 1.125rem; }
.faq-a { padding: 0 24px 22px; color: var(--muted); line-height: 1.8; }
.post-faq .faq-list, .post-faq { display: block; }
.post-faq .faq-item + .faq-item { margin-top: 12px; }
@media (max-width: 1080px) { .faq { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   문의하기
   ========================================================= */
.contact-wrap {
  display: grid; grid-template-columns: .9fr 1.1fr;
  border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg);
}
.contact-info {
  position: relative; padding: clamp(40px, 5vw, 64px);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: var(--white);
  overflow: hidden;
}
.contact-info::after {
  content: "LG"; position: absolute; right: -10px; bottom: -60px;
  font-family: var(--font-serif); font-weight: 600; font-size: 16rem; line-height: 1;
  color: rgba(226, 196, 136, .07); pointer-events: none;
}
.contact-info .section-title { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.contact-desc { margin-top: 20px; color: rgba(255, 255, 255, .72); }
.contact-list { position: relative; margin-top: 44px; }
.contact-list li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { width: 72px; flex-shrink: 0; font-size: .875rem; color: var(--gold-300); padding-top: 2px; }
.contact-list a:hover { color: var(--gold-300); }

.contact-form { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-label { font-size: .9375rem; font-weight: 600; color: var(--navy-700); padding: 0; }
.field-label i, .agree i { font-style: normal; color: var(--gold-600); }
.field-label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #FCFBF8;
  padding: 14px 16px; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314294B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #A3A9B4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: var(--white); box-shadow: 0 0 0 3px rgba(20, 41, 75, .1);
}
.field-error { display: none; font-size: .8125rem; color: #C0392B; }
.is-invalid .field-error { display: block; }
.is-invalid input, .is-invalid select { border-color: #C0392B; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .9375rem; color: var(--muted); background: #FCFBF8;
  transition: all .2s;
}
.chips label:hover span { border-color: var(--navy-700); }
.chips input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-400); outline-offset: 2px; }

.agree { padding: 16px 18px; border-radius: 10px; background: var(--ivory); }
.agree-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9375rem; font-weight: 500; }
.agree-check input { width: 20px; height: 20px; accent-color: var(--navy-700); flex-shrink: 0; }
.agree details { margin-top: 8px; margin-left: 30px; font-size: .875rem; color: var(--muted); }
.agree summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.agree details p { margin-top: 8px; line-height: 1.8; }
.agree .field-error { margin: 8px 0 0 30px; }

.form-success {
  display: flex; gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 12px; background: rgba(184, 145, 74, .12); color: var(--navy-700);
}
.form-success svg { width: 36px; height: 36px; padding: 7px; flex-shrink: 0; border-radius: 50%; background: var(--gold-500); fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success p { font-size: .9375rem; color: var(--muted); }

/* =========================================================
   푸터
   ========================================================= */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 64px 0 40px; font-size: .875rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-nav a { color: rgba(255, 255, 255, .85); font-size: .9375rem; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-bottom { padding-top: 28px; display: grid; gap: 14px; line-height: 1.9; }
.footer-bottom i { font-style: normal; margin: 0 8px; opacity: .35; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--white); }
.footer-links b { font-weight: 600; color: rgba(255, 255, 255, .85); }
.copyright { color: rgba(255, 255, 255, .4); }

/* =========================================================
   떠 있는 버튼
   ========================================================= */
.floating { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-kakao {
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 22px 0 18px; border-radius: 999px;
  background: #FEE500; color: #191600; font-weight: 700; font-size: .9375rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease);
}
.float-kakao:hover { transform: translateY(-3px); }
.float-kakao svg { width: 22px; height: 22px; fill: #191600; }
.float-top {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.float-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-top svg { width: 22px; height: 22px; fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   PC 페이지 모드 — 메뉴 하나당 한 페이지 (js에서 body.is-paged 부여)
   ========================================================= */
.is-paged [data-page] { display: none; }
.is-paged [data-page].is-current { display: block; animation: pageIn .6s var(--ease) both; }
.is-paged:not([data-route="home"]) main { padding-top: var(--header-h); }
.is-paged [data-page="home"].hero.is-current { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 0; }
.is-paged [data-page="home"].hero.is-current .stats { margin-top: 64px; }
.is-paged .section[data-page] { min-height: calc(100vh - var(--header-h)); padding-top: 96px; }
.is-paged .section-about[data-page] { padding-top: 0; }
.is-paged .about-hero { min-height: calc(100vh - var(--header-h)); }

/* 여긴 어디? 페이지: 처음엔 헤더가 배경과 같은 색(투명) → 스크롤하면 흰색 */
.is-paged[data-route="about"] main { padding-top: 0; }
.is-paged[data-route="about"] .about-hero {
  min-height: 0;
  padding: calc(var(--header-h) + 56px) 0 64px;
}
.is-paged[data-route="about"] .header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.footer-bottom a:hover { color: var(--white); }

/* =========================================================
   스크롤 등장 효과
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .badge-float { left: auto; right: -8px; bottom: -18px; }
  .why-grid { grid-template-columns: 1fr; }
  /* 태블릿·모바일: 글 아래에 영상 사다리꼴을 두고 그 위에 직군 목록을 겹침 */
  .about-hero { display: grid; grid-template-columns: 1fr; align-items: stretch; min-height: 0; padding: 80px 0 0; }
  .is-paged .about-hero { min-height: 0; }
  .about-hero-inner { display: contents; }
  .about-copy { grid-row: 1; max-width: none; padding: 0 24px; position: relative; z-index: 1; }
  .about-trapezoid-line { display: none; }
  .about-trapezoid {
    position: relative; inset: auto; width: auto;
    grid-row: 2; grid-column: 1; margin-top: 56px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
  .about-panel {
    grid-row: 2; grid-column: 1; margin-top: 56px;
    position: relative; z-index: 1; width: auto;
    padding: 48px 24px 48px 24%;
  }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 6; }
  .service-card.is-main { grid-column: span 12; }
  .column-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: .9375rem; }
  .brand-word { font-size: 1.125rem; }
  .brand-mark { width: 40px; height: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .process-list li:nth-child(3) { border-left: 0; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .brand-img { height: 42px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 33, 66, .1);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin: 20px 0 0; height: 52px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .hide-sm { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .report { padding: 22px; }
  .report-value { font-size: 2.5rem; }
  .stats li { padding: 26px 12px 30px; }
  .why-grid, .portfolio-grid, .column-grid, .perf-list { grid-template-columns: 1fr; }
  .service-card, .service-card.is-main { grid-column: 1 / -1; }
  .service-card.is-main { padding: 36px 26px; }
  .service-card.is-main h3 { font-size: 1.375rem; }
  .column-card { min-height: 0; }
  .about-hero { padding-top: 64px; }
  .about-copy { padding: 0 20px; }
  .about-trapezoid { clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
  .about-panel { padding: 36px 20px 36px 20%; }
  .about-panel-eyebrow { font-size: 1.25rem; }
  .profession-list { gap: 0 10px; }
  .profession-list li { font-size: 1rem; padding: 11px 0; }
  .about-panel-foot { font-size: .875rem; }
  .why-card { grid-template-columns: 1fr; gap: 16px; padding: 32px 24px; }
  .why-num { font-size: 2.5rem; }
  .why-card h4 { font-size: 1.25rem; }
  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list li { padding: 18px 0; }
  .process-list li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .form-row { grid-template-columns: 1fr; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filter { flex-shrink: 0; }
  .float-kakao span { display: none; }
  .float-kakao { width: 54px; padding: 0; justify-content: center; }
  .floating { right: 16px; bottom: 16px; }
  .footer-bottom i, .biz-info br { display: none; }
  .biz-info span { display: block; }
}

/* 스팸 걸러내기용 숨김 칸 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 문의 전송 실패 안내 */
.form-fail {
  padding: 16px 20px; border-radius: 12px;
  background: rgba(192, 57, 43, .08); border: 1px solid rgba(192, 57, 43, .3); color: #8E2B21;
}
.form-fail strong { display: block; margin-bottom: 4px; }
.form-fail p { font-size: .9375rem; }
