/* 노무법인 현장 — 메인 페이지 스타일 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0c1a13;          /* 딥 파인 블랙그린 */
  --bg-2: #102619;        /* 보조 다크 */
  --bg-3: #16331f;        /* 카드 다크 */
  --gold: #c9a24b;        /* 앤틱 골드 */
  --gold-light: #e3c578;  /* 라이트 골드 */
  --gold-deep: #a8842f;   /* 딥 골드 */
  --cream: #f5efe2;       /* 크림 화이트 */
  --paper: #f7f4ec;       /* 페이퍼 (라이트 섹션) */
  --ink: #15201a;         /* 다크 텍스트 */
  --muted-d: rgba(245,239,226,0.62);  /* 다크 위 보조텍스트 */
  --muted-l: #6b746c;     /* 라이트 위 보조텍스트 */
  --line-d: rgba(245,239,226,0.14);   /* 다크 구분선 */
  --line-l: #e2ddd0;      /* 라이트 구분선 */
  --serif: 'Cormorant Garamond', 'Pretendard Variable', serif;
  --head: 'Noto Serif KR', 'Cormorant Garamond', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
  cursor: none;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--bg); }

/* ── Custom Cursor ── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold-light); transition: opacity 0.3s; }
.cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(227,197,120,0.6);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(227,197,120,0.08); border-color: var(--gold-light); }
@media (hover: none) { body { cursor: auto; } .cursor-dot, .cursor-ring { display: none; } }

/* ── Loader ── */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.intro-seen .loader,
.loader.hidden { opacity: 0; visibility: hidden; }
.loader svg { width: 70px; height: 70px; }
.loader svg path {
  stroke: var(--gold); stroke-width: 1.5; fill: none;
  stroke-dasharray: 240; stroke-dashoffset: 240;
  animation: draw 1.3s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader-text {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.45em;
  color: var(--gold-light); text-transform: uppercase; opacity: 0;
  animation: fadeIn 0.8s ease 0.7s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 92px; display: flex; align-items: center;
  transition: background 0.4s ease, height 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.header.solid {
  height: 72px; background: rgba(12,26,19,0.82);
  backdrop-filter: blur(16px); border-bottom-color: var(--line-d);
}
.header-inner {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark { width: 38px; height: 38px; }
.brand-mark path { stroke: var(--gold); stroke-width: 1.4; fill: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--cream); }
.brand-text span {
  font-family: var(--serif); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-top: 2px;
}
.gnb { display: flex; align-items: center; gap: 40px; list-style: none; }
.gnb a {
  position: relative; font-size: 15px; font-weight: 500; color: rgba(245,239,226,0.82);
  padding: 6px 0; transition: color 0.3s;
}
.gnb a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.gnb a:hover,
.gnb a.active { color: var(--gold-light); }
.gnb a:hover::after,
.gnb a.active::after { width: 100%; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px;
  border: 1px solid var(--gold); color: var(--gold-light); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em; transition: all 0.3s ease; overflow: hidden; position: relative;
}
.header-cta span { position: relative; z-index: 1; transition: color 0.3s; }
.header-cta::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.header-cta:hover::before { transform: scaleX(1); }
.header-cta:hover span { color: var(--bg); }

.hamburger { display: none; width: 44px; height: 44px; padding: 0; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 1px; margin: 7px auto; background: var(--cream); transition: all 0.3s; }
.hamburger span:last-child { width: 17px; margin-right: 9px; }
.hamburger:hover span { background: var(--gold-light); }

/* ── Mobile menu ── */
.m-overlay {
  position: fixed; inset: 0; z-index: 9400;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.m-overlay.open { opacity: 1; pointer-events: auto; }

.m-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(300px, 82vw);
  z-index: 9500; background: var(--bg-2);
  display: flex; flex-direction: column; padding: 80px 36px 48px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.76,0,0.24,1);
}
.m-menu.open { transform: translateX(0); }
.m-menu a {
  font-family: var(--head); font-size: 17px; font-weight: 500; line-height: 1.2; color: var(--cream);
  padding: 15px 0; border-bottom: 1px solid var(--line-d); transition: color 0.3s; letter-spacing: -0.01em;
}
.m-menu a:hover,
.m-menu a.active { color: var(--gold-light); }
.m-close { position: absolute; top: 22px; right: 20px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--cream); background: none; border: none; cursor: pointer; transition: color 0.3s; }
.m-close:hover { color: var(--gold-light); }

/* ── Hero ── */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,26,19,0.94) 0%, rgba(12,26,19,0.74) 42%, rgba(12,26,19,0.34) 100%),
    linear-gradient(0deg, rgba(12,26,19,0.85) 0%, rgba(12,26,19,0.1) 45%);
}
.hero-slide-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: kenburns 9s ease forwards; }
.hero-slide.active .hero-slide-img { animation: kenburns 9s ease forwards; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.1); } }

.hero-inner {
  position: relative; z-index: 3; height: 100%;
  max-width: 1440px; margin: 0 auto; padding: 0 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 16px; margin-bottom: 28px;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.3em; color: var(--gold-light);
  text-transform: uppercase; opacity: 0; transform: translateY(20px);
}
.hero-eyebrow::before { content: ''; width: 48px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--head);
  font-size: clamp(40px, 6.2vw, 84px); font-weight: 700; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--cream); margin-bottom: 26px; max-width: 14ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px; line-height: 1.85; color: var(--muted-d); max-width: 520px;
  margin-bottom: 44px; opacity: 0; transform: translateY(20px);
}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 38px;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: var(--bg);
  font-size: 16px; font-weight: 700; letter-spacing: 0.01em; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(201,162,75,0.35); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; height: 60px; font-size: 16px; font-weight: 600;
  color: var(--cream); border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s;
}
.btn-ghost svg { width: 17px; height: 17px; stroke: var(--gold-light); }
.btn-ghost:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.hero-pager {
  position: absolute; left: 48px; bottom: 44px; z-index: 3;
  display: flex; align-items: center; gap: 20px; font-family: var(--serif); font-size: 15px; color: var(--muted-d);
}
.hero-pager .pager-idx { letter-spacing: 0.12em; white-space: nowrap; }
.hero-pager .pager-idx b { color: var(--gold-light); font-weight: 600; }
.hero-pager .dots { display: inline-flex; align-items: center; gap: 9px; }
.hero-pager .dots i { position: relative; width: 22px; height: 2px; background: var(--line-d); transition: background 0.5s ease; }
.hero-pager .dots i::before { content: ''; position: absolute; inset: -10px 0; }
.hero-pager .dots i.active { background: var(--gold); }

/* ── Section base ── */
.section { padding: 150px 48px; position: relative; scroll-margin-top: 92px; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.headline {
  font-family: var(--head);
  font-size: clamp(32px, 4.4vw, 58px); font-weight: 700; line-height: 1.22;
  letter-spacing: -0.02em; color: var(--cream); font-style: italic;
}
.headline .serif { font-family: var(--head); font-weight: 600; font-style: italic; color: var(--gold-light); }

/* watermark big text behind */
.watermark {
  font-family: var(--serif); font-size: clamp(90px, 17vw, 260px); font-weight: 500;
  line-height: 0.9; color: rgba(245,239,226,0.035); white-space: nowrap;
  position: absolute; left: 0; top: 40px; z-index: 0; pointer-events: none; letter-spacing: 0.02em;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s cubic-bezier(0.2,0.7,0.2,1), transform 1s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.from-left { transform: translateX(-56px); }
.reveal.from-right { transform: translateX(56px); }
.reveal.in { opacity: 1; transform: none; }

/* ── About (sticky text + image) ── */
.about { background: var(--bg-2); }
.about-top { margin-bottom: 90px; position: relative; z-index: 1; }
.about-top-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-quote {
  font-family: var(--head); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; font-style: italic;
  line-height: 1.4; color: var(--cream);
}
.about-quote b { color: var(--gold-light); font-weight: 600; font-style: normal; }
.about-lead { color: var(--muted-d); font-size: 17px; line-height: 1.95; }
.about-lead p + p { margin-top: 18px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; position: relative; z-index: 1; }
.about-list { display: flex; flex-direction: column; justify-content: space-between; }
.about-item {
  position: relative; display: flex; gap: 26px; padding: 30px 0 30px 0; border-top: 1px solid var(--line-d); cursor: none;
  transition: padding-left 0.6s cubic-bezier(0.22,1,0.36,1);
}
.about-item:last-child { border-bottom: 1px solid var(--line-d); }
.about-item::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  transform: translateY(-50%); transition: height 0.6s cubic-bezier(0.22,1,0.36,1);
}
.about-item.active { padding-left: 24px; }
.about-item.active::before { height: 64%; }
.about-item .num { font-family: var(--serif); font-size: 18px; color: var(--gold); flex-shrink: 0; padding-top: 6px; opacity: 0.55; transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1); }
.about-item.active .num { opacity: 1; }
.about-item h3 { font-size: 24px; font-weight: 700; color: rgba(245,239,226,0.58); transition: color 0.6s cubic-bezier(0.22,1,0.36,1), letter-spacing 0.6s cubic-bezier(0.22,1,0.36,1); margin-bottom: 8px; }
.about-item.active h3 { color: var(--gold-light); letter-spacing: 0.01em; }
.about-item p { font-size: 15px; color: var(--muted-d); line-height: 1.7; transition: color 0.6s cubic-bezier(0.22,1,0.36,1); }
.about-item.active p { color: rgba(216,209,196,0.95); }
.about-visual { position: sticky; top: 120px; }
.about-visual-frame { position: relative; height: 100%; min-height: 480px; overflow: hidden; }
.about-visual-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.9s ease, transform 1.1s cubic-bezier(0.22,1,0.36,1); }
.about-visual-frame img.show { opacity: 1; transform: scale(1); }
.about-visual-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 0 0 1px rgba(227,197,120,0.18), inset 0 0 28px rgba(8,18,12,0.55);
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; border: 1px solid var(--line-d); position: relative; z-index: 1; }
.stat { padding: 44px 36px; border-right: 1px solid var(--line-d); }
.stat:last-child { border-right: none; }
.stat .v { font-family: var(--serif); font-size: 56px; font-weight: 500; color: var(--gold-light); line-height: 1; }
.stat .v small { font-size: 28px; }
.stat .l { margin-top: 14px; font-size: 14px; letter-spacing: 0.04em; color: var(--muted-d); }

/* ── Practice (paper / light) ── */
.practice { background: var(--paper); color: var(--ink); }
.practice .eyebrow { color: var(--gold-deep); }
.practice .eyebrow::before { background: var(--gold-deep); }
.practice .headline { color: var(--ink); }
.practice .watermark { color: rgba(21,32,26,0.04); }
.practice-head { margin-bottom: 70px; position: relative; z-index: 1; }
.practice-head-row { display: flex; align-items: baseline; gap: 22px; }
.practice-head p { color: var(--muted-l); font-size: 16px; white-space: nowrap; }
.practice-list { position: relative; z-index: 1; border-top: 1px solid var(--line-l); }
.practice-row {
  display: grid; grid-template-columns: 80px 1.5fr 1.1fr auto; gap: 40px; align-items: center;
  padding: 44px 16px; border-bottom: 1px solid var(--line-l); position: relative; cursor: none;
  transition: background 0.4s ease, padding 0.4s ease, color 0.4s ease;
}
.practice-row::before {
  content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s cubic-bezier(0.7,0,0.2,1); z-index: -1;
}
.practice-row:hover::before { transform: scaleY(1); }
.practice-row:hover { color: var(--cream); padding-left: 30px; padding-right: 30px; }
.practice-row:hover .p-num { color: var(--gold-light); }
.practice-row:hover .p-tags span { border-color: var(--line-d); color: var(--muted-d); }
.practice-row:hover .p-go { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.p-num { font-family: var(--serif); font-size: 22px; color: var(--gold-deep); transition: color 0.4s; }
.p-title { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.p-title em { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; font-weight: 400; color: var(--muted-l); margin-top: 4px; letter-spacing: 0.04em; }
.practice-row:hover .p-title em { color: var(--gold-light); }
.p-desc { font-size: 14px; line-height: 1.65; color: var(--muted-l); margin-top: 14px; max-width: 340px; transition: color 0.4s; }
.practice-row:hover .p-desc { color: rgba(216,209,196,0.85); }
.p-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.p-tags span { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line-l); border-radius: 40px; color: var(--muted-l); transition: all 0.4s; }
.p-go { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-l); display: grid; place-items: center; transition: all 0.4s; flex-shrink: 0; }
.p-go svg { width: 20px; height: 20px; transition: transform 0.4s; }
.practice-row:hover .p-go svg { transform: rotate(-45deg); }

/* ── News ── */
.news { background: var(--bg); }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 64px; position: relative; z-index: 1; }
.news-head-row { display: flex; align-items: baseline; gap: 22px; }
.news-sub { color: var(--muted-d); font-size: 16px; white-space: nowrap; }
.news-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; color: var(--gold-light); transition: gap 0.3s; }
.news-more:hover { gap: 18px; }
.news-more svg { width: 18px; height: 18px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; z-index: 1; }
.news-card { display: block; cursor: none; }
.news-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; margin-bottom: 24px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,26,19,0.4), transparent 50%); }
.news-source { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 6px 14px; background: rgba(12,26,19,0.78); backdrop-filter: blur(6px); border: 1px solid var(--gold-deep); font-size: 12px; letter-spacing: 0.06em; color: var(--gold-light); }
.news-date { font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: 0.06em; }
.news-title { font-size: 20px; font-weight: 600; line-height: 1.5; margin-top: 12px; color: var(--cream); transition: color 0.3s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card:hover .news-title { color: var(--gold-light); }
.news-line { margin-top: 20px; height: 1px; background: var(--line-d); position: relative; overflow: hidden; }
.news-line::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.news-card:hover .news-line::after { transform: scaleX(1); }

/* ── Cases (업무사례) ── */
.cases { background: var(--bg-2); }
.case-head { margin-bottom: 64px; position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; }
.case-head-row { display: flex; align-items: baseline; gap: 22px; }
.case-sub { color: var(--muted-d); font-size: 16px; white-space: nowrap; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 1; }
.case-card {
  display: flex; flex-direction: column; padding: 40px 34px; border: 1px solid var(--line-d);
  background: rgba(245,239,226,0.015); cursor: none; position: relative; overflow: hidden;
  transition: border-color 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1), background 0.5s ease;
}
.case-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.case-card:hover { border-color: var(--gold-deep); transform: translateY(-6px); background: rgba(245,239,226,0.03); }
.case-card:hover::before { transform: scaleX(1); }
.case-tag { align-self: flex-start; padding: 5px 13px; border: 1px solid var(--gold-deep); border-radius: 40px; font-size: 12px; letter-spacing: 0.06em; color: var(--gold-light); margin-bottom: 26px; }
.case-title { font-size: 21px; font-weight: 600; line-height: 1.5; color: var(--cream); transition: color 0.4s; }
.case-card:hover .case-title { color: var(--gold-light); }
.case-summary { font-size: 14.5px; line-height: 1.75; color: var(--muted-d); margin-top: 14px; }
.case-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-d); }
.case-date { font-family: var(--serif); font-size: 14px; color: var(--gold); letter-spacing: 0.06em; }
.case-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: all 0.4s; }
.case-go svg { width: 17px; height: 17px; transition: transform 0.4s; }
.case-card:hover .case-go { background: var(--gold); border-color: var(--gold); }
.case-card:hover .case-go svg { color: var(--ink); transform: rotate(-45deg); }

/* ── Contact ── */
.contact { background: var(--bg-2); position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.contact-left .headline { margin-bottom: 30px; }
.contact-left > p { color: var(--muted-d); font-size: 17px; line-height: 1.9; max-width: 380px; margin-bottom: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 4px; }
.contact-info a, .contact-info div { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-d); color: var(--cream); transition: color 0.3s; }
.contact-info a:last-child, .contact-info div:last-child { border-bottom: 1px solid var(--line-d); }
.contact-info a:hover { color: var(--gold-light); }
.contact-info svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; }
.contact-info .lbl { font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); width: 70px; }

.contact-form { background: var(--bg-3); padding: 52px; border: 1px solid var(--line-d); }
.cf-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.cf-type-toggle label {
  min-height: 52px;
  border: 1px solid var(--line-d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-d);
  font-size: 15px;
  font-weight: 600;
  cursor: none;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.cf-type-toggle label.active {
  border-color: var(--gold);
  background: rgba(201,162,75,0.12);
  color: var(--gold-light);
}
.cf-type-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.cf-field { position: relative; margin-bottom: 22px; }
.cf-row .cf-field { margin-bottom: 0; min-width: 0; }
.cf-field.full { grid-column: 1 / -1; }
.cf-row-pw { align-items: center; margin-bottom: 0; }
.cf-pw-hint {
  align-self: center; font-size: 12.5px; line-height: 1.65;
  color: var(--muted-d);
}
.cf-field label { display: block; font-size: 13px; letter-spacing: 0.04em; color: var(--gold); margin-bottom: 10px; }
.cf-field input, .cf-field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-d);
  color: var(--cream); font-family: var(--sans); font-size: 16px; padding: 12px 0; transition: border-color 0.3s;
}
.contact-select {
  position: relative;
  z-index: 4;
}
.contact-select-open {
  z-index: 20;
}
.contact-select-trigger {
  width: 100%;
  height: 46px;
  padding: 0 13px 0 14px;
  border: 1px solid rgba(201,162,75,0.24);
  background: rgba(12,26,19,0.24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.contact-select-trigger:hover,
.contact-select-open .contact-select-trigger {
  border-color: var(--gold);
  background: rgba(12,26,19,0.38);
  box-shadow: inset 0 0 0 1px rgba(227,197,120,0.14);
}
.contact-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-select-trigger .placeholder {
  color: rgba(245,239,226,0.5);
}
.contact-select-trigger svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--gold);
  transition: transform 0.25s;
}
.contact-select-open .contact-select-trigger svg {
  transform: rotate(180deg);
}
.contact-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 270px;
  padding: 6px;
  border: 1px solid rgba(201,162,75,0.42);
  background: #102619;
  box-shadow: 0 18px 45px rgba(0,0,0,0.28);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(227,197,120,0.72) rgba(245,239,226,0.08);
}
.contact-select-menu::-webkit-scrollbar {
  width: 6px;
}
.contact-select-menu::-webkit-scrollbar-track {
  background: rgba(245,239,226,0.08);
}
.contact-select-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
}
.contact-select-menu::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}
.contact-select-option {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}
.contact-select-option:hover,
.contact-select-option.active {
  background: rgba(201,162,75,0.14);
  color: var(--gold-light);
}
.contact-select-option-placeholder {
  color: rgba(245,239,226,0.46);
}
.cf-field textarea { resize: vertical; min-height: 124px; line-height: 1.7; padding-top: 14px; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: rgba(245,239,226,0.3); }
.cf-field-error {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  font-size: 12px;
  color: var(--muted-d);
  line-height: 1.3;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.cf-field-error:empty { display: none; }
.cf-check { display: flex; align-items: center; gap: 12px; margin: 30px 0 8px; font-size: 14px; color: var(--muted-d); cursor: none; }
.cf-check input { display: none; }
.cf-box { width: 22px; height: 22px; border: 1px solid var(--line-d); display: grid; place-items: center; flex-shrink: 0; transition: all 0.25s; }
.cf-check input:checked + .cf-box { background: var(--gold); border-color: var(--gold); }
.cf-box svg { width: 13px; height: 13px; stroke: var(--bg); stroke-width: 3; opacity: 0; transform: scale(0.4); transition: all 0.25s; }
.cf-check input:checked + .cf-box svg { opacity: 1; transform: scale(1); }
.cf-check a { color: var(--gold-light); text-decoration: underline; }
.privacy-link {
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(227,197,120,0.55);
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  line-height: 1.2;
}
.privacy-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}
.cf-check-error {
  margin: 0 0 24px 34px;
  min-height: 16px;
  font-size: 12px;
  color: #d97575;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.cf-submit {
  width: 100%; height: 62px; border: none; background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  color: var(--bg); font-size: 16px; font-weight: 700; font-family: var(--sans); cursor: none;
  letter-spacing: 0.02em; position: relative; overflow: hidden; transition: box-shadow 0.3s;
}
.cf-submit:hover { box-shadow: 0 14px 36px rgba(201,162,75,0.32); }
.privacy-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 9500;
  padding: 24px;
  background: rgba(5,12,8,0.72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
}

.privacy-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 42px;
  border: 1px solid rgba(201,162,75,0.44);
  background:
    linear-gradient(145deg, rgba(22,51,31,0.98), rgba(12,26,19,0.98)),
    var(--bg-3);
  box-shadow: 0 28px 90px rgba(0,0,0,0.42);
  overflow-y: auto;
  color: var(--cream);
}

.privacy-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245,239,226,0.16);
  background: rgba(245,239,226,0.04);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
}

.privacy-modal-close:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.privacy-modal-kicker {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-modal h3 {
  margin-top: 12px;
  color: var(--cream);
  font-family: var(--head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
}

.privacy-modal-lead {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted-d);
  font-size: 16px;
  line-height: 1.75;
}

.privacy-modal-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(201,162,75,0.28);
  border-bottom: 1px solid rgba(201,162,75,0.28);
}

.privacy-modal-grid article {
  min-height: 190px;
  padding: 22px 20px;
  border-right: 1px solid rgba(201,162,75,0.22);
}

.privacy-modal-grid article:last-child {
  border-right: 0;
}

.privacy-modal-grid span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
}

.privacy-modal-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--cream);
  font-size: 17px;
  font-weight: 700;
}

.privacy-modal-grid p {
  margin-top: 10px;
  color: var(--muted-d);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-modal-note {
  margin-top: 22px;
  color: rgba(245,239,226,0.72);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-modal-confirm {
  width: 100%;
  height: 54px;
  margin-top: 24px;
  border: 0;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 800;
}

.privacy-modal-confirm:hover {
  background: var(--gold-light);
}

.privacy-modal-layer {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.privacy-modal-layer.open {
  opacity: 1;
  visibility: visible;
}

.privacy-modal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.2,0.7,0.2,1);
}

.privacy-modal-layer.open .privacy-modal {
  opacity: 1;
  transform: none;
}

/* ── Footer ── */
.footer { background: var(--bg); padding: 90px 48px 40px; border-top: 1px solid var(--line-d); }
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { color: var(--muted-d); font-size: 15px; line-height: 1.85; max-width: 320px; }
.footer h4 { font-family: var(--serif); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer ul a { color: var(--muted-d); font-size: 15px; transition: color 0.3s; }
.footer ul a:hover { color: var(--gold-light); }
.footer-info { color: var(--muted-d); font-size: 15px; line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 13px; color: var(--muted-d); }
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal-links { display: flex; align-items: center; gap: 10px; }


/* ── Responsive ── */
@media (max-width: 1080px) {
  .section { padding: 110px 32px; }
  .header-inner { padding: 0 32px; }
  .gnb, .header-cta { display: none; }
  .hamburger { display: block; }
  .about-top-cols, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { position: relative; top: 0; max-width: 460px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-d); }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .section { padding: 90px 22px; }
  .header-inner { padding: 0 22px; }
  .hero-inner { padding: 0 22px; }
  .hero-pager { left: 22px; }
  .practice-row { grid-template-columns: 1fr; gap: 18px; padding: 30px 12px; }
  .practice-row:hover { padding-left: 18px; padding-right: 18px; }
  .p-go { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .practice-head-row, .news-head-row, .case-head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .practice-head p, .news-sub, .case-sub { white-space: normal; padding-bottom: 0; }
  .contact-form { padding: 32px 24px; }
  .cf-row { grid-template-columns: 1fr; }
  .privacy-modal {
    padding: 34px 22px 24px;
  }
  .privacy-modal h3 {
    font-size: 24px;
  }
  .privacy-modal-grid {
    grid-template-columns: 1fr;
  }
  .privacy-modal-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(201,162,75,0.22);
  }
  .privacy-modal-grid article:last-child {
    border-bottom: 0;
  }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .hero h1 .line > span { transform: none; }
}
