/* ══════════════════════════════════════════════════════════════
   골드피치 v2 — 2026-12 개편 디자인 시스템 (시안)
   레퍼런스 패턴(베끼지 않고 방식만): 가로로 흐르는 섹션(Locomotive) · 숫자 로더와 줄 단위 등장 · 줌업 전환(Obys)
   · 키네틱 타이포 · 커서 반응(Cuberto)
   원칙: 글은 전부 HTML(검색 · AI가 읽음), 움직임은 v2.js가 얹는다.
   숨겼다가 보여 주는 상태는 html.anim 일 때만 건다 — anim 은 GSAP 가 있고 '동작 줄이기'가 꺼져 있을 때만 붙는다.
   그래서 스크립트를 못 받거나 동작 줄이기면 모든 글이 처음부터 보인다.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #07070A;
  --bg2: #0E0E12;
  --bg3: #17171D;
  --ink: #F3F1ED;
  --ink2: rgba(243, 241, 237, .76);
  --mute: rgba(243, 241, 237, .58);
  --line: rgba(243, 241, 237, .12);
  --line2: rgba(243, 241, 237, .24);
  --gold: #C8912F;
  --gold2: #E3B65E;
  --goldtx: #DCA748;
  --onGold: #0B0A08;
  --glass: rgba(7, 7, 10, .64);
  --grain: .05;
  --sans: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --disp: 'Archivo', 'Pretendard', 'Pretendard Variable', sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1680px;
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease2: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F4F1EA;
  --bg2: #ECE7DC;
  --bg3: #E1DACB;
  --ink: #0C0C0F;
  --ink2: rgba(12, 12, 15, .78);
  --mute: rgba(12, 12, 15, .62);
  --line: rgba(12, 12, 15, .13);
  --line2: rgba(12, 12, 15, .27);
  --gold: #A8761F;
  --gold2: #C8912F;
  --goldtx: #8A6318;
  --onGold: #FFFFFF;
  --glass: rgba(244, 241, 234, .74);
  --grain: .035;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
/* 필름 그레인 — 화면 전체에 아주 옅게 */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 950;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--onGold); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1100; padding: 12px 18px; border-radius: 10px; background: var(--gold); color: var(--onGold); font-weight: 700; transition: top .3s; }
.skip:focus { top: 16px; }
.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.ar { font-family: var(--disp); }
.tag {
  margin: 0 0 18px;
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--goldtx);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tag::before { content: ''; width: 22px; height: 1px; background: currentColor; }

/* ── 버튼 ─────────────────────────────────────── */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--onGold);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold2);
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); transition: color .4s; }
.btn.line::before { background: var(--ink); }
.btn.line:hover { color: var(--bg); }
.btn.sm { --h: 46px; padding: 0 20px; font-size: 15px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1px solid var(--line2); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.tlink:hover { border-color: var(--gold); color: var(--goldtx); }

/* ── 로더 (숫자가 오르고 글자가 열린다 — 같은 탭에서 다시 들어오면 건너뜀) ─────── */
#load {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #07070A;
  color: #F3F1ED;
  display: grid;
  place-items: center;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.05s var(--ease2), visibility 0s 1.05s;
  /* 스크립트를 못 받아도 5초 뒤에는 열린다 */
  animation: lfail .9s var(--ease2) 5s forwards;
}
#load.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes lfail { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
#load .lwrap { text-align: center; padding: 0 20px; }
#load .lm { font-family: var(--disp); font-weight: 800; font-size: clamp(46px, 9vw, 136px); letter-spacing: -.05em; line-height: .95; overflow: hidden; padding-bottom: .04em; }
#load .lm span { display: inline-block; transform: translateY(105%); animation: lup 1s var(--ease) .08s forwards; }
#load .lm b { color: #C8912F; }
#load .lsub { margin: 18px 0 0; font-family: var(--disp); font-size: 12.5px; letter-spacing: .32em; text-transform: uppercase; color: rgba(243, 241, 237, .62); overflow: hidden; }
#load .lsub span { display: inline-block; transform: translateY(105%); animation: lup .9s var(--ease) .28s forwards; }
#load .lcnt { position: absolute; right: var(--pad); bottom: calc(var(--pad) * .7); margin: 0; font-family: var(--disp); font-weight: 800; font-size: clamp(64px, 11vw, 180px); line-height: .8; letter-spacing: -.06em; color: #F3F1ED; font-variant-numeric: tabular-nums; }
#load .lcnt small { font-size: .26em; letter-spacing: 0; color: #C8912F; margin-left: .08em; vertical-align: top; }
#load .lmeta { position: absolute; left: var(--pad); bottom: calc(var(--pad) * .8); margin: 0; font-family: var(--disp); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(243, 241, 237, .5); }
#load .lbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(243, 241, 237, .08); }
#load .lbar i { display: block; height: 100%; width: 100%; background: #C8912F; transform: scaleX(0); transform-origin: left; }
@keyframes lup { to { transform: none; } }
@media (max-width: 560px) { #load .lmeta { display: none; } }

/* ── 커서 점 (마우스가 있는 화면에서만) ──────────────── */
#cur {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 900;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  opacity: 0;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, box-shadow .3s, opacity .3s;
  display: grid;
  place-items: center;
}
#cur span { font-family: var(--disp); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--onGold); opacity: 0; transition: opacity .2s; }
#cur.on { opacity: 1; }
#cur.big { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
#cur.big span { opacity: 1; }
#cur.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--gold); }
#cur.off { opacity: 0; }
@media (hover: none), (pointer: coarse) { #cur { display: none; } }

/* ── 머리 · 메뉴 ──────────────────────────────── */
.gh {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 500;
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.gh.up { transform: translateY(-110%); }
.gh.solid { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.menu-open .gh { transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gh .shell { display: flex; align-items: center; gap: 28px; height: 76px; }
.gh .mk { font-family: var(--disp); font-weight: 800; font-size: 25px; letter-spacing: -.045em; line-height: 1; padding: 10px 0; }
.gh .mk b { color: var(--gold); }
.gh .nl { display: flex; gap: 2px; margin-left: auto; }
.gh .nl a {
  position: relative;
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
  transition: color .3s;
}
.gh .nl a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.gh .nl a:hover, .gh .nl a[aria-current] { color: var(--ink); }
.gh .nl a:hover::after, .gh .nl a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.gh .nl a em { font-style: normal; font-family: var(--disp); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--goldtx); vertical-align: super; }
.gh .bright { display: flex; align-items: center; gap: 10px; }
.tgl { height: 40px; min-width: 64px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); transition: color .3s, box-shadow .3s; }
.tgl:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hcta { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; transition: background .3s, color .3s; }
.hcta:hover { background: var(--gold); color: var(--onGold); }
.mnu { display: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); position: relative; flex: none; }
.mnu i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.mnu i:first-child { top: 17px; }
.mnu i:last-child { top: 25px; }
.mnu[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.mnu[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.mnav {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--bg);
  padding: 96px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mnav.on { opacity: 1; pointer-events: auto; }
.mnav[hidden] { display: none; }
.mnav-in { display: flex; flex-direction: column; }
.mnav-in a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mnav.on .mnav-in a { opacity: 1; transform: none; }
.mnav.on .mnav-in a:nth-child(2) { transition-delay: .04s; }
.mnav.on .mnav-in a:nth-child(3) { transition-delay: .08s; }
.mnav.on .mnav-in a:nth-child(4) { transition-delay: .12s; }
.mnav.on .mnav-in a:nth-child(5) { transition-delay: .16s; }
.mnav.on .mnav-in a:nth-child(6) { transition-delay: .2s; }
.mnav.on .mnav-in a:nth-child(7) { transition-delay: .24s; }
.mnav.on .mnav-in a:nth-child(8) { transition-delay: .28s; }
.mnav-in a b { font-family: var(--disp); font-size: clamp(30px, 8vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.mnav-in a span { font-size: 14px; color: var(--mute); }
.mnav-ft { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
@media (max-height: 700px) { .mnav-in a { padding: 10px 0; } }
@media (max-width: 1180px) {
  .gh .nl { display: none; }
  .mnu { display: block; order: 3; }
  .gh .bright { margin-left: auto; }
}
@media (max-width: 560px) {
  .gh .shell { height: 64px; gap: 10px; }
  .gh .mk { font-size: 22px; }
  .tgl { min-width: 0; padding: 0 12px; }
  .hcta { display: none; }
}

/* ── 히어로 ─────────────────────────────────────── */
.hx { position: relative; overflow-x: clip; min-height: 100vh; min-height: 100svh; padding-top: 128px; padding-bottom: 52px; display: flex; flex-direction: column; }
.hx-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hx-top .tag { margin: 0; }
.hx-meta { margin: 0; text-align: right; font-family: var(--disp); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); line-height: 1.9; }
.hx h1 {
  margin: auto 0 0;
  padding-top: 40px;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(52px, 11vw, 210px);
  line-height: .98;
  letter-spacing: -.058em;
}
.hx h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hx h1 .ln:nth-child(2) { padding-left: 11%; }
.hx h1 .ln > span { display: inline-block; }
.hx h1 em { font-style: normal; color: var(--goldtx); }
.hx h1 .ai { font-family: var(--disp); letter-spacing: -.05em; }
.hx-bot { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, .85fr); gap: 40px; align-items: end; }
.hx .lead { margin: 0; max-width: 660px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.62; color: var(--ink2); font-weight: 500; }
.hx .lead b { color: var(--ink); font-weight: 700; }
.hx-act { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.badge { position: relative; width: 132px; height: 132px; flex: none; }
.badge svg { width: 100%; height: 100%; }
.badge text { font-family: var(--disp); font-size: 11.2px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; fill: var(--ink2); }
.badge b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--disp); font-size: 34px; font-weight: 800; color: var(--gold); }
.badge .spin { transform-origin: 50% 50%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro .hx h1 .ln > span { transform: translateY(110%); }
.intro .hx [data-hx] { opacity: 0; }
.intro .hx h1 .ln > span, .intro .hx [data-hx] { animation: hxfail .01s linear 5.4s forwards; }
@keyframes hxfail { to { transform: none; opacity: 1; } }
@media (max-width: 1180px) {
  .hx-bot { grid-template-columns: 1fr auto; }
  .hx-act { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hx { padding-top: 104px; padding-bottom: 36px; }
  .hx-meta { display: none; }
  .hx h1 .ln:nth-child(2) { padding-left: 0; }
  .hx-bot { grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
  .badge { display: none; }
  .hx-act .btn { flex: 1 1 160px; }
}

/* ── 줌업 무대 (가운데 작은 창이 화면 가득 커지며 작업이 열린다) ──────────── */
.zm { position: relative; }
.zm-stage { position: relative; height: 82vh; overflow: hidden; }
.anim .zm { height: 270vh; }
.anim .zm-stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.zm-win { position: absolute; inset: 0; overflow: hidden; background: var(--bg3); }
.anim .zm-win { clip-path: inset(27% 31% 27% 31% round 22px); will-change: clip-path; }
.zm-grid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vw;
  height: 150vh;
  display: flex;
  gap: 14px;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.zm-col { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.zm-col figure { margin: 0; flex: 1; position: relative; overflow: hidden; border-radius: 10px; background: var(--bg3); }
.zm-col img { width: 100%; height: 100%; object-fit: cover; }
.zm-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 10, .2), rgba(7, 7, 10, .5) 55%, rgba(7, 7, 10, .9)); pointer-events: none; }
.anim .zm-shade { opacity: 0; }
.zm-words { position: absolute; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; gap: 44vw; pointer-events: none; }
.anim .zm-words { display: flex; }
.zm-words span { font-family: var(--disp); font-weight: 800; font-size: clamp(34px, 6.4vw, 120px); letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: var(--ink); }
.zm-words span:last-child em { font-style: normal; color: var(--goldtx); }
.zm-cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 7vh; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; color: #F3F1ED; }
.anim .zm-cap { opacity: 0; }
.zm-cap h2 { margin: 0; font-size: clamp(36px, 5.8vw, 104px); line-height: 1.02; letter-spacing: -.055em; font-weight: 800; }
.zm-cap h2 em { font-style: normal; color: var(--gold2); }
.zm-cap .zm-side { max-width: 430px; display: grid; gap: 18px; justify-items: start; }
.zm-cap p { margin: 0; font-size: 17px; color: rgba(243, 241, 237, .84); }
.zm-cap .tlink { color: #F3F1ED; border-color: rgba(243, 241, 237, .4); }
@media (max-width: 900px) {
  .anim .zm { height: 200vh; }
  .anim .zm-win { clip-path: inset(30% 14% 30% 14% round 18px); }
  .zm-grid { width: 260vw; height: 120vh; gap: 10px; }
  .zm-col { gap: 10px; }
  .zm-words { flex-direction: column; gap: 44vh; }
  .zm-words span { font-size: clamp(28px, 8vw, 44px); }
  .zm-cap { flex-direction: column; align-items: flex-start; bottom: 6vh; gap: 18px; }
}

/* ── 마키 (서비스 이름이 흐른다 — 스크롤 속도에 따라 빨라지고 기운다) ─────────── */
.mq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; white-space: nowrap; }
.mq-track { display: inline-flex; will-change: transform; }
.mq-set { display: inline-flex; }
.mq-set span { display: inline-flex; align-items: center; gap: 38px; padding-right: 38px; font-size: clamp(30px, 4.4vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.mq-set span::after { content: ''; width: .26em; height: .26em; border-radius: 50%; background: var(--gold); }
.mq-set span:nth-child(even) { -webkit-text-stroke: 1.2px var(--ink2); color: transparent; }

/* ── 섹션 공통 ─────────────────────────────────── */
.sec { padding: clamp(96px, 12vw, 200px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head h2 { margin: 0; font-size: clamp(40px, 6.2vw, 112px); font-weight: 800; letter-spacing: -.058em; line-height: 1.02; }
.sec-head h2 em { font-style: normal; color: var(--goldtx); }
.sec-head p { margin: 0; max-width: 520px; color: var(--ink2); font-size: 18px; }
.sec-head .act { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 22px; } }
.anim .rv { opacity: 0; transform: translateY(40px); }

/* ── 가로로 흐르는 대표 레퍼런스 (넓은 화면: 세로 스크롤 → 가로 이동, 휴대폰: 손가락으로 넘김) ─── */
.hw { position: relative; }
.hw-pin { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hw-head { padding-top: clamp(80px, 9vw, 140px); }
.hw-head .sec-head { margin-bottom: clamp(36px, 4vw, 60px); }
.hw-track { display: flex; align-items: flex-start; gap: clamp(18px, 2.2vw, 36px); padding: 0 var(--pad) clamp(70px, 8vw, 110px); will-change: transform; width: max-content; }
.hw-card { position: relative; width: clamp(280px, min(38vw, 66vh), 700px); flex: none; }
.hw-card:nth-child(even) { margin-top: clamp(30px, 6vh, 90px); }
.hw-card a { display: block; }
.hw-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 1200 / 753; background: var(--bg3); transition: transform .8s var(--ease), border-radius .8s var(--ease); }
.hw-card a:hover .hw-media { transform: scale(.97); border-radius: 28px; }
.hw-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hw-idx { position: absolute; left: 18px; top: 16px; z-index: 2; font-family: var(--disp); font-weight: 800; font-size: 14px; letter-spacing: .1em; color: #F3F1ED; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hw-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-top: 18px; }
.hw-meta b { display: block; font-size: clamp(20px, 1.6vw, 27px); letter-spacing: -.035em; line-height: 1.25; }
.hw-meta span { display: block; margin-top: 4px; color: var(--mute); font-size: 15px; }
.hw-meta em { flex: none; font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink2); white-space: nowrap; }
.hw-end { flex: none; align-self: center; width: clamp(260px, 28vw, 440px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-left: 10px; }
.hw-end p { margin: 0; font-size: clamp(30px, 3.2vw, 54px); font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
.hw-end p em { font-style: normal; color: var(--goldtx); }
.hw-end .btn { align-self: flex-start; }
.hw-bar { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(30px, 3.6vw, 52px); height: 2px; background: var(--line); }
.hw-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .hw-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 56px; scroll-padding-left: var(--pad); }
  .hw-track::-webkit-scrollbar { display: none; }
  .hw-card { width: 80vw; scroll-snap-align: start; }
  .hw-card:nth-child(even) { margin-top: 0; }
  .hw-end { width: 70vw; scroll-snap-align: start; }
  .hw-bar { display: none; }
}

/* ── 서비스 (줄 위에서 커서를 따라 작업 이미지가 뜬다) ────────── */
.sv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sv-list li { border-bottom: 1px solid var(--line); }
.sv-row {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1.25fr) minmax(0, 1fr) 64px;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 2.8vw, 42px) 0;
  isolation: isolate;
}
.sv-row::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--bg2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.sv-row:hover::before, .sv-row:focus-visible::before { transform: scaleY(1); }
.sv-n { font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--goldtx); }
.sv-t b { display: block; font-size: clamp(30px, 4vw, 70px); font-weight: 800; letter-spacing: -.055em; line-height: 1.06; transition: transform .6s var(--ease); }
.sv-t small { display: block; margin-top: 8px; font-family: var(--disp); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sv-row:hover .sv-t b { transform: translateX(14px); }
.sv-d { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.65; }
.sv-d .pill { display: inline-block; margin: 10px 6px 0 0; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(200, 145, 47, .15); color: var(--goldtx); }
.sv-go { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; font-size: 22px; transition: background .4s, color .4s, transform .6s var(--ease), box-shadow .4s; }
.sv-row:hover .sv-go { background: var(--gold); color: var(--onGold); box-shadow: none; transform: rotate(-45deg); }
.sv-more { margin: 26px 0 0; color: var(--mute); font-size: 15px; }
.sv-float { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; }
.sv-float-in {
  position: relative;
  width: clamp(220px, 18vw, 320px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.55) rotate(-7deg);
  transition: opacity .35s, transform .7s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  background: var(--bg3);
}
.sv-float.on .sv-float-in { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.sv-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.sv-float img.on { opacity: 1; }
@media (max-width: 900px), (hover: none) { .sv-float { display: none; } }
@media (max-width: 900px) {
  .sv-row { grid-template-columns: 1fr 48px; gap: 10px 16px; }
  .sv-n { grid-column: 1 / -1; }
  .sv-d { grid-column: 1 / 2; }
  .sv-go { width: 48px; height: 48px; grid-row: 2; grid-column: 2; }
}

/* ── 숫자 ─────────────────────────────────────── */
.nb-sec, .sec.pt0 { padding-top: 0; }
.nb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.nb-it { padding: 34px 28px 40px 0; border-right: 1px solid var(--line); }
.nb-it + .nb-it { padding-left: 28px; }
.nb-it:last-child { border-right: 0; }
.nb-it .nb-n { margin: 0; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-family: var(--disp); font-weight: 800; font-size: clamp(54px, 6.2vw, 118px); line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.nb-it .nb-n small { font-family: var(--sans); font-size: .25em; letter-spacing: -.02em; color: var(--goldtx); font-weight: 700; }
.nb-it p { margin: 18px 0 0; color: var(--ink2); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) {
  .nb { grid-template-columns: 1fr 1fr; }
  .nb-it { padding: 26px 16px 30px 0; }
  .nb-it + .nb-it { padding-left: 16px; }
  .nb-it:nth-child(2) { border-right: 0; }
  .nb-it:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .nb-it:nth-child(4) { border-top: 1px solid var(--line); }
}

/* ── GEO 증거 (측정 기록 카드가 기울어진 채 다가오며 한 줄씩 열린다) ─────────── */
.gp { background: var(--bg2); overflow: hidden; }
.gp-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.gp h2 { margin: 0; font-size: clamp(40px, 5.4vw, 96px); font-weight: 800; letter-spacing: -.058em; line-height: 1.04; }
.gp h2 em { font-style: normal; color: var(--goldtx); }
.gp-lead { margin: 28px 0 0; color: var(--ink2); font-size: 18px; max-width: 560px; }
.gp-facts { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.gp-facts li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.gp-facts li b { font-weight: 800; font-size: 15px; color: var(--goldtx); }
.gp-facts li span { color: var(--ink2); }
.gp-act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.gp-note { margin: 22px 0 0; font-size: 14px; color: var(--mute); }
.gp-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ai-stage { perspective: 1400px; }
.ai-card {
  margin: 0;
  position: relative;
  border-radius: 26px;
  background: #0B0B0F;
  color: #ECEAE5;
  box-shadow: 0 0 0 1px rgba(243, 241, 237, .1), 0 50px 120px rgba(0, 0, 0, .5);
  padding: clamp(22px, 2.4vw, 36px);
  transform-origin: 50% 70%;
}
:root[data-theme="light"] .ai-card { box-shadow: 0 0 0 1px rgba(12, 12, 15, .12), 0 40px 90px rgba(12, 12, 15, .2); }
.ai-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: rgba(236, 234, 229, .62); }
.ai-eng { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #ECEAE5; }
.ai-eng i { width: 9px; height: 9px; border-radius: 50%; background: #7FD4A0; box-shadow: 0 0 0 4px rgba(127, 212, 160, .15); }
.ai-q { margin-top: 18px; display: flex; justify-content: flex-end; }
.ai-q p { margin: 0; max-width: 88%; padding: 14px 18px; border-radius: 18px 18px 4px 18px; background: #24242C; font-size: 15.5px; line-height: 1.55; }
.ai-q small { display: block; margin-bottom: 4px; font-size: 12px; color: rgba(236, 234, 229, .55); }
.ai-a { margin-top: 20px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.6; }
.anim .ai-l { opacity: 0; transform: translateY(14px); }
.ai-a p { margin: 0; }
.ai-a .ai-rank { color: rgba(236, 234, 229, .78); }
.ai-a .ai-rank b { color: #ECEAE5; }
.ai-a h3 { margin: 0; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.04em; line-height: 1.1; }
.ai-a h3 mark { background: none; color: #E3B65E; }
.ai-a ul { margin: 0; padding-left: 18px; color: rgba(236, 234, 229, .84); }
.ai-a li + li { margin-top: 3px; }
.ai-src { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; padding: 7px 13px; border-radius: 999px; background: #1B1B22; font-size: 13px; color: rgba(236, 234, 229, .8); overflow-wrap: anywhere; }
.ai-src i { width: 8px; height: 8px; border-radius: 50%; background: #C8912F; flex: none; }
.ai-week { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(243, 241, 237, .1); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ai-week li { padding: 10px 10px 11px; border-radius: 12px; background: #15151B; display: grid; gap: 2px; }
.ai-week b { font-family: var(--disp); font-size: 15px; letter-spacing: -.01em; }
.ai-week span { font-size: 12.5px; color: rgba(236, 234, 229, .7); }
.ai-week li.no span { color: rgba(236, 234, 229, .45); }
.ai-week li.on { background: rgba(200, 145, 47, .16); box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .5); }
.ai-week li.on b { color: #E3B65E; }
.ai-meta { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: rgba(236, 234, 229, .55); }
@media (max-width: 900px) { .gp-grid { grid-template-columns: 1fr; } .gp-facts li { grid-template-columns: 76px 1fr; } }
@media (max-width: 480px) { .ai-week { grid-template-columns: 1fr 1fr; } }

/* ── 진행 (선이 그어지며 단계가 열린다) ─────────────────── */
.pr-wrap { position: relative; }
.pr-line { position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line); }
.pr-line i { display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: left; }
.anim .pr-line i { transform: scaleX(0); }
.pr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; position: relative; }
.pr-list li { padding-top: 64px; position: relative; }
.pr-list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold); }
.pr-list b { display: block; font-family: var(--disp); font-size: 13px; letter-spacing: .14em; color: var(--goldtx); }
.pr-list h3 { margin: 10px 0 8px; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -.035em; line-height: 1.3; }
.pr-list p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 1080px) {
  .pr-line { display: none; }
  .pr-list { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .pr-list li { padding-top: 26px; border-top: 1px solid var(--line); padding-bottom: 26px; }
  .pr-list li::before { display: none; }
}
@media (max-width: 560px) { .pr-list { grid-template-columns: 1fr; } }

/* ── 인사이트 (최신 글 — posts.json 에서 읽는다) ───────────────── */
.in-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 26vw, 400px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.in-rail:empty { display: none; }
.in-card { scroll-snap-align: start; min-height: 340px; padding: 26px; border-radius: 20px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; transition: box-shadow .4s, transform .6s var(--ease); }
.in-card:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-6px); }
.in-card em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--goldtx); }
.in-card b { font-size: 22px; line-height: 1.36; letter-spacing: -.035em; }
.in-card span { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.in-card i { margin-top: auto; font-style: normal; font-family: var(--disp); font-size: 13px; letter-spacing: .04em; color: var(--mute); }

/* ── FAQ ──────────────────────────────────────── */
.fq { border-top: 1px solid var(--line); max-width: 1180px; }
.fq details { border-bottom: 1px solid var(--line); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.025em; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: '+'; flex: none; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; font-family: var(--disp); font-weight: 500; font-size: 22px; transition: transform .5s var(--ease), background .3s, color .3s; }
.fq details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--onGold); box-shadow: none; }
.fq details p { margin: 0 0 28px; max-width: 920px; color: var(--ink2); font-size: 16.5px; }

/* ── 문의 ─────────────────────────────────────── */
.ct h2 { margin: 0; font-size: clamp(50px, 9vw, 170px); font-weight: 800; letter-spacing: -.062em; line-height: .98; }
.ct h2 em { font-style: normal; color: var(--goldtx); }
.ct .endlead { margin: 30px 0 0; max-width: 640px; color: var(--ink2); font-size: 18px; }
.cwrap { margin-top: clamp(48px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.cform, .qform { display: grid; gap: 18px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fl { display: grid; gap: 8px; }
.fl > span { font-size: 14px; font-weight: 700; color: var(--ink2); }
.fl > span i { font-style: normal; color: var(--goldtx); }
.fl input, .fl select, .fl textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line2);
  border-radius: 0;
  padding: 12px 0;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.fl select { background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.fl select option { background: var(--bg); color: var(--ink); }
.fl textarea { resize: vertical; min-height: 120px; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: 0; border-bottom-color: var(--gold); }
.fl input::placeholder, .fl textarea::placeholder { color: var(--mute); }
.fl .err, .qform .err { border-bottom-color: #FF7A6A; }
.fchk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink2); line-height: 1.6; }
.fchk input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.fchk a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .fbtn, .qform .fbtn { justify-self: start; height: 60px; padding: 0 34px; border-radius: 999px; background: var(--gold); color: var(--onGold); font-weight: 800; font-size: 17px; transition: background .3s; }
.cform .fbtn:hover, .qform .fbtn:hover { background: var(--gold2); }
.cform .fbtn:disabled, .qform .fbtn:disabled { opacity: .6; cursor: wait; }
.fmsg { margin: 0; font-size: 15px; min-height: 1.5em; }
.fmsg.ok { color: #7FD4A0; }
.fmsg.no, .fmsg.err { color: #FF8A7A; }
:root[data-theme="light"] .fmsg.ok { color: #1E7A45; }
:root[data-theme="light"] .fmsg.no, :root[data-theme="light"] .fmsg.err { color: #B3261E; }
.cside { display: grid; border-top: 1px solid var(--line); }
.cblk { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.cblk span { font-family: var(--disp); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); font-weight: 700; }
.cblk p, .cblk a { margin: 0; font-size: 16px; color: var(--ink2); }
.cblk a:hover { color: var(--ink); }
@media (max-width: 900px) { .cwrap { grid-template-columns: 1fr; } .frow { grid-template-columns: 1fr; } .cform .fbtn, .qform .fbtn { width: 100%; } }

/* 빠른 문의 상자 — ui.js 가 .pcta.big 안에 짧은 폼을 붙인다(서비스 페이지) */
.pcta { padding: clamp(26px, 3.4vw, 52px); border-radius: 26px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 90px; }
.pcta.big { box-shadow: inset 0 0 0 1px var(--line2); }
.pcta-h { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.pcta > p { margin: 0; color: var(--ink2); }
.qform { margin: 26px 0 4px; }
.qsend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.qnote { font-size: 13px; color: var(--mute); }
.qsvc { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.qsvc a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ctarow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.lbtn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); font-weight: 700; font-size: 15px; transition: box-shadow .3s, color .3s; }
.lbtn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pcta-note { margin: 16px 0 0 !important; font-size: 13px; color: var(--mute); }
/* 상자 안 '문의하기' — 스크립트가 없으면 이 버튼이 주 버튼, 빠른 문의 폼이 붙으면 보조 버튼 */
.ctarow .fbtn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--gold); color: var(--onGold); font-weight: 700; font-size: 15px; transition: background .3s; }
.ctarow .fbtn:hover { background: var(--gold2); }
.qform ~ .ctarow .fbtn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); transition: box-shadow .3s; }
.qform ~ .ctarow .fbtn:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* ── 바닥 (큰 워드마크가 올라온다) ──────────────────── */
.ft2 { border-top: 1px solid var(--line); padding: 72px 0 28px; overflow: hidden; }
.ft2-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ft2-top h3 { margin: 0 0 14px; font-family: var(--disp); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.ft2-top p { margin: 0; color: var(--ink2); font-size: 15px; }
.ft2-brand .fmk { display: block; margin-bottom: 12px; font-family: var(--disp); font-weight: 800; font-size: 28px; letter-spacing: -.045em; }
.ft2-brand .fmk b { color: var(--gold); }
.ft2-top nav { display: grid; gap: 7px; }
.ft2-top nav a { font-size: 15px; color: var(--ink2); width: max-content; max-width: 100%; transition: color .3s; }
.ft2-top nav a:hover { color: var(--ink); }
.ft2-biz { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.ft2-biz dl { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--mute); }
.ft2-biz dl div { display: flex; gap: 6px; }
.ft2-biz dt { color: var(--ink2); }
.ft2-biz dd { margin: 0; }
.ft2-biz dd a { text-decoration: underline; text-underline-offset: 3px; }
.ft2-biz .fnote { margin: 14px 0 0; font-size: 13px; color: var(--mute); }
.ft2-pol { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13px; color: var(--ink2); }
.ft2-word { margin: 56px 0 0; font-family: var(--disp); font-weight: 800; font-size: clamp(64px, 17.4vw, 330px); line-height: .8; letter-spacing: -.075em; white-space: nowrap; overflow: hidden; padding-bottom: .04em; color: var(--ink); }
.ft2-word span { display: inline-block; }
.ft2-word span.dot { color: var(--gold); }
.ft2-bot { margin-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.ft2-bot b { color: var(--gold); }
@media (max-width: 900px) { .ft2-top { grid-template-columns: 1fr 1fr; } .ft2-brand { grid-column: 1 / -1; } }

/* ── 맨 위로 · 모바일 문의 바 · 복사 안내 ─────────────────── */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), bottom .4s var(--ease); }
.totop svg { width: 20px; height: 20px; }
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.qbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 310; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 999px; background: var(--gold); color: var(--onGold); font-size: 15px; transform: translateY(140%); transition: transform .5s var(--ease); }
.qbar b { font-weight: 800; }
.qbar.on { transform: none; }
@media (min-width: 901px) { .qbar { display: none; } }
body.qbar-on .totop { bottom: 88px; }
.guard-toast { position: fixed; left: 50%; bottom: 26px; z-index: 960; transform: translate(-50%, 14px); opacity: 0; pointer-events: none; max-width: min(92vw, 460px); padding: 13px 18px; text-align: center; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; line-height: 1.5; transition: opacity .3s, transform .3s var(--ease); }
.guard-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .guard-toast { bottom: 84px; } }

/* ── 동작 줄이기 ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .badge .spin { animation: none; }
  .hw-media img { transform: none; }
}

/* ══ 웹 상품 페이지 (/web/) ═════════════════════════ */
.wx-hero { overflow-x: clip; padding-top: 160px; padding-bottom: clamp(56px, 7vw, 110px); }
.wx-hero h1 { margin: 0; font-size: clamp(46px, 8vw, 150px); font-weight: 800; letter-spacing: -.06em; line-height: 1.02; }
.wx-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.wx-hero h1 .ln > span { display: inline-block; }
.wx-hero h1 em { font-style: normal; color: var(--goldtx); }
.wx-hero .lead { margin: 34px 0 0; max-width: 780px; font-size: clamp(18px, 1.5vw, 22px); color: var(--ink2); line-height: 1.65; }
.wx-act { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.wx-bot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: end; }
.wx-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.wx-facts div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.wx-facts div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.wx-facts div:nth-child(even) { padding-left: 22px; }
.wx-facts dt { font-family: var(--disp); font-weight: 800; font-size: clamp(30px, 2.8vw, 48px); letter-spacing: -.05em; line-height: 1.05; color: var(--ink); }
.wx-facts dd { margin: 6px 0 0; font-size: 14.5px; color: var(--ink2); }
@media (max-width: 1080px) { .wx-bot { grid-template-columns: 1fr; } }
.crumb { display: flex; gap: 10px; font-size: 14px; color: var(--mute); margin: 0 0 30px; }
.crumb a:hover { color: var(--ink); }
.crumb b { color: var(--ink2); font-weight: 600; }
.intro .wx-hero h1 .ln > span { transform: translateY(110%); animation: hxfail .01s linear 2.4s forwards; }
.wx-shot { position: relative; }
.wx-shot-stage { position: relative; display: grid; place-items: center; padding: 40px 0 80px; }
.anim .wx-shot { height: 230vh; }
.anim .wx-shot-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.wx-device { position: relative; width: min(1100px, 86vw); aspect-ratio: 1200 / 787; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(243, 241, 237, .14), 0 60px 140px rgba(0, 0, 0, .55); transform-origin: 50% 100%; }
.anim .wx-device { transform: perspective(1400px) rotateX(26deg) scale(.76); will-change: transform; }
.wx-device .bar3 { height: 34px; background: #1B1B21; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.wx-device .bar3 i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A44; }
.wx-device .bar3 span { margin-left: 12px; font-size: 12px; color: rgba(243, 241, 237, .6); font-family: var(--disp); letter-spacing: .02em; }
.wx-device .scr { position: absolute; left: 0; right: 0; top: 34px; bottom: 0; overflow: hidden; }
.wx-device .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.anim .wx-device .scr img + img { opacity: 0; }
.wx-cap { margin: 22px 0 0; font-size: 15px; color: var(--ink2); text-align: center; }
.wx-cap b { color: var(--ink); }
.anim .wx-cap { position: absolute; left: 0; right: 0; bottom: 4.5vh; z-index: 2; margin: 0; }
.wx-cap span { display: block; }
.anim .wx-cap span + span { display: none; }
.wx-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wx-proof > div { padding: 28px 26px 30px; border-radius: 20px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.wx-proof b { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(42px, 4vw, 70px); letter-spacing: -.055em; line-height: 1; color: var(--ink); }
.wx-proof h3 { margin: 14px 0 8px; font-size: 19px; letter-spacing: -.03em; }
.wx-proof p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.6; }
.wx-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.wx-tier { position: relative; padding: 34px 30px 30px; border-radius: 24px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; transition: transform .6s var(--ease), box-shadow .4s; }
.wx-tier:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold); }
.wx-tier.pick { background: linear-gradient(180deg, rgba(200, 145, 47, .17), var(--bg2) 42%); box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .6); }
.wx-tier .nm { display: flex; justify-content: space-between; align-items: center; font-family: var(--disp); font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--goldtx); }
.wx-tier .nm em { font-style: normal; font-family: var(--sans); letter-spacing: 0; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--onGold); }
.wx-tier h3 { margin: 0; font-size: 26px; letter-spacing: -.04em; line-height: 1.25; }
.wx-tier .pr { margin: 0; font-family: var(--disp); font-size: clamp(38px, 3.4vw, 56px); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.wx-tier .pr small { font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--mute); margin-left: 6px; }
.wx-tier ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--ink2); font-size: 15.5px; }
.wx-tier li { padding-left: 22px; position: relative; }
.wx-tier li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--gold); }
.wx-tier .meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--mute); }
.wx-tier .meta b { color: var(--ink); }
.wx-note { margin: 22px 0 0; font-size: 14px; color: var(--mute); }
.wx-two { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wx-box { padding: 28px 28px 30px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.wx-box h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.03em; }
.wx-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink2); }
.wx-box li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.wx-box li:last-child { border-bottom: 0; padding-bottom: 0; }
.wx-box li b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.wx-gal { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 32vw, 520px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.wx-gal a { scroll-snap-align: start; display: grid; gap: 12px; }
.wx-gal .im { overflow: hidden; border-radius: 16px; aspect-ratio: 1200 / 753; background: var(--bg3); }
.wx-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wx-gal a:hover img { transform: scale(1.05); }
.wx-gal b { font-size: 18px; letter-spacing: -.025em; }
.wx-gal span { font-size: 14px; color: var(--mute); }
@media (max-width: 1080px) { .wx-proof { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .wx-hero { padding-top: 112px; }
  .wx-tiers { grid-template-columns: 1fr; }
  .wx-two { grid-template-columns: 1fr; }
  .anim .wx-shot { height: auto; }
  .anim .wx-shot-stage { position: relative; height: auto; padding: 24px 0 64px; overflow: visible; }
  .anim .wx-cap { position: static; margin-top: 18px; }
  .anim .wx-device { transform: perspective(900px) rotateX(18deg) scale(.9); }
  .wx-device { width: 92vw; }
  .wx-device .bar3 { height: 26px; }
  .wx-device .scr { top: 26px; }
}
@media (max-width: 560px) { .wx-proof { grid-template-columns: 1fr; } }

/* ══ 서비스 페이지 (/popup/ · /event/ · /film/ · /influencer/ · /brand/ · /popup/budget/) ═════════
   본문 글과 마크업은 예전 그대로 — 이 묶음이 그 클래스를 v2 모양으로 그린다(글 틀로 넘길 때도 쓴다). */
.svc-hero h1 { font-size: clamp(40px, 6.6vw, 124px); }
.wx-hero .lead b { color: var(--ink); font-weight: 700; }
.wx-bot.one { grid-template-columns: minmax(0, 1fr); }
.wx-bot.one .lead { max-width: 920px; }
.svc-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.svc-facts > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.svc-facts > div:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.svc-facts > div:nth-child(even) { padding-left: 22px; }
.svc-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
.svc-facts dt { font-size: 14px; color: var(--mute); }
.svc-facts dd { margin: 6px 0 0; font-size: clamp(20px, 1.75vw, 28px); font-weight: 800; letter-spacing: -.04em; line-height: 1.25; color: var(--ink); }
.svc .sec-head h2 { font-size: clamp(34px, 4.9vw, 88px); }
.mq + .sec.pt0 { padding-top: clamp(72px, 9vw, 150px); }
.sec-head p b { color: var(--ink); font-weight: 700; }
.sec-head p a, .ptable figcaption a, .pcallout a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* 맡는 범위 — 번호가 외곽선으로 서 있다가 마우스가 오면 금색으로 찬다 */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-grid article { position: relative; padding: 30px 28px 32px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .6s var(--ease); }
.svc-grid article:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-6px); }
.svc-grid .snum { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(56px, 5vw, 92px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--mute); transition: color .5s, -webkit-text-stroke-color .5s; }
.svc-grid article:hover .snum { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.svc-grid h3 { margin: 24px 0 10px; font-size: clamp(20px, 1.6vw, 25px); letter-spacing: -.035em; line-height: 1.3; }
.svc-grid p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.68; }

/* 표 — 넓으면 표만 옆으로 밀린다(캡션은 제자리) */
.ptable { margin: clamp(28px, 3vw, 44px) 0 0; }
.ptable table { width: 100%; border-radius: 20px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.6; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.ptable thead th:first-child { border-top-left-radius: 20px; }
.ptable thead th:last-child { border-top-right-radius: 20px; }
.ptable th, .ptable td { min-width: 9em; padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ptable th:first-child, .ptable td:first-child { min-width: 6.5em; }
.ptable thead th { font-size: 13.5px; font-weight: 700; color: var(--goldtx); background: var(--bg3); white-space: nowrap; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td { color: var(--ink2); }
.ptable td b { color: var(--ink); }
.ptable tbody tr { transition: background .3s; }
.ptable tbody tr:hover { background: rgba(200, 145, 47, .06); }
.ptable figcaption { margin: 14px 4px 0; font-size: 14px; color: var(--mute); line-height: 1.65; }
.pcallout { margin: clamp(24px, 3vw, 40px) 0 0; padding: 24px 30px; border-radius: 20px; background: linear-gradient(90deg, rgba(200, 145, 47, .14), rgba(200, 145, 47, 0) 72%); box-shadow: inset 3px 0 0 var(--gold); }
.pcallout p { margin: 0; color: var(--ink2); font-size: 16.5px; line-height: 1.7; }
.pcallout p + p { margin-top: 10px; }
.pcallout b { color: var(--ink); }

/* 진행 순서 — 선이 스크롤을 따라 그어진다(--p, v2.js) */
.svc-steps { --p: 1; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px; counter-reset: st; }
.anim .svc-steps { --p: 0; }
.svc-steps::before, .svc-steps::after { content: ''; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: var(--line); }
.svc-steps::after { background: var(--gold); transform: scaleX(var(--p)); transform-origin: left; }
.svc-steps li { counter-increment: st; position: relative; padding-top: 64px; }
.svc-steps li::before { content: ''; position: absolute; left: 0; top: 22px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold); }
.svc-steps li::after { content: counter(st, decimal-leading-zero); position: absolute; left: 30px; top: 18px; font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--goldtx); }
.svc-steps b { display: block; font-size: clamp(18px, 1.45vw, 23px); letter-spacing: -.035em; line-height: 1.32; }
.svc-steps span { display: inline-block; margin: 10px 0 8px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--goldtx); box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .45); }
.svc-steps p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.62; }

/* 자주 받는 요청 */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-cards > div { padding: 28px 26px 30px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, box-shadow .4s; }
.svc-cards > div:hover { background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.svc-cards h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.03em; line-height: 1.38; }
.svc-cards h3::before { content: ''; display: block; width: 26px; height: 2px; margin-bottom: 18px; background: var(--gold); transition: width .6s var(--ease); }
.svc-cards > div:hover h3::before { width: 54px; }
.svc-cards p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.65; }

/* 읽어 볼 자료 — 줄 위로 바탕이 차오르고 화살표가 돈다 */
.svc-links { border-top: 1px solid var(--line); }
.svc-links a { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.svc-links a::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--bg2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.svc-links a:hover::before, .svc-links a:focus-visible::before { transform: scaleY(1); }
.svc-links a::after { content: '→'; content: '→' / ''; width: 50px; height: 50px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; font-family: var(--disp); font-size: 18px; transition: transform .6s var(--ease), background .3s, color .3s, box-shadow .3s; }
.svc-links a:hover::after { background: var(--gold); color: var(--onGold); box-shadow: none; transform: rotate(-45deg); }
.svc-links b { font-size: clamp(19px, 1.75vw, 27px); letter-spacing: -.035em; line-height: 1.32; transition: transform .6s var(--ease); }
.svc-links a:hover b { transform: translateX(14px); }
.svc-links span { color: var(--ink2); font-size: 15px; line-height: 1.55; }

/* 사례 영상 — 누르기 전엔 썸네일만(유튜브는 누른 뒤 nocookie 로) */
.svc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 50px 120px rgba(0, 0, 0, .4); }
.svc-play { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.svc-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); transition: transform 1.2s var(--ease), filter .6s; }
.svc-play:hover img, .svc-play:focus-visible img { transform: scale(1.04); filter: none; }
.svc-playicon { position: absolute; left: 50%; top: 50%; width: clamp(78px, 8.4vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); transform: translate(-50%, -50%); transition: transform .6s var(--ease), background .3s; }
.svc-playicon::before { content: ''; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .17em 0 .17em .28em; border-color: transparent transparent transparent var(--onGold); font-size: clamp(78px, 8.4vw, 128px); }
.svc-play:hover .svc-playicon { transform: translate(-50%, -50%) scale(1.1); background: var(--gold2); }
.svc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.svc-casemeta { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc-casemeta li { padding: 16px 18px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.svc-casemeta span { font-size: 13.5px; color: var(--mute); }
.svc-casemeta b { font-size: 16.5px; letter-spacing: -.02em; }

/* 팝업 예산 계산기 */
.calc { border-radius: 26px; overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.calc-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calc-f { padding: 22px 24px 20px; display: grid; gap: 8px; align-content: start; border-right: 1px solid var(--line); }
.calc-f:last-child { border-right: 0; }
.calc-f label { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.calc-f .hint { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.calc-f select, .calc-f input[type=number] { width: 100%; font: inherit; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; padding: 8px 0; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.calc-f select { padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.calc-f select option { background: var(--bg); color: var(--ink); }
.calc-f select:focus, .calc-f input:focus { outline: 0; border-bottom-color: var(--gold); }
.calc-opt { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--line); }
.calc-opt label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); font-size: 14.5px; color: var(--ink2); cursor: pointer; transition: box-shadow .3s, background .3s, color .3s; }
.calc-opt label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(200, 145, 47, .12); color: var(--ink); }
.calc-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.calc-out { padding: clamp(24px, 3vw, 44px) 24px; border-top: 1px solid var(--line); }
.calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; }
.calc-total b { font-family: var(--disp); font-size: clamp(46px, 6.4vw, 110px); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: var(--ink); }
.calc-total span { font-size: 14.5px; color: var(--ink2); }
.calc-note { margin: 10px 0 28px; font-size: 13.5px; color: var(--mute); }
.calc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.calc-rows li { display: grid; grid-template-columns: minmax(90px, 150px) 1fr minmax(110px, auto); gap: 16px; align-items: center; font-size: 15px; }
.calc-rows i { font-style: normal; color: var(--ink2); }
.calc-bar { position: relative; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.calc-bar u { position: absolute; inset: 0 auto 0 0; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width .8s var(--ease); }
.calc-rows b { text-align: right; font-family: var(--disp); font-size: 16px; font-weight: 700; color: var(--ink); }
.calc-case { margin: 26px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--bg3); font-size: 14.5px; color: var(--ink2); line-height: 1.65; }
.calc-case b { color: var(--goldtx); }
.calc-case a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .svc-grid, .svc-cards { grid-template-columns: 1fr 1fr; }
  .svc-steps { grid-auto-flow: row; grid-template-columns: 1fr; gap: 0; padding-left: 36px; }
  .svc-steps::before, .svc-steps::after { left: 8px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .svc-steps::after { transform: scaleY(var(--p)); transform-origin: top; }
  .svc-steps li { display: flex; flex-direction: column; align-items: flex-start; padding: 0 0 30px; }
  .svc-steps li:last-child { padding-bottom: 0; }
  .svc-steps li::before { left: -36px; top: 3px; }
  .svc-steps li::after { position: static; order: -1; margin-bottom: 6px; }
  .svc-steps span { margin: 8px 0 6px; }
  .calc-in { grid-template-columns: 1fr 1fr; }
  .calc-f:nth-child(2n) { border-right: 0; }
  .calc-f:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .svc-links a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; padding: 20px 0; }
  .svc-links span { grid-column: 1; grid-row: 2; font-size: 14px; }
  .svc-links a::after { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; }
  .svc-links a:hover b { transform: none; }
  .svc-casemeta { grid-template-columns: 1fr; }
  .ptable table { display: block; overflow-x: auto; font-size: 14.5px; }
  .ptable th, .ptable td { padding: 13px 14px; }
  .pcallout { padding: 20px 20px; }
}
@media (max-width: 640px) {
  .svc-grid, .svc-cards { grid-template-columns: 1fr; }
  .svc-facts > div:nth-child(n) { grid-column: 1 / -1; border-right: 0; padding: 14px 0 15px; }
  .svc-facts { grid-template-columns: 1fr; }
  .calc-in { grid-template-columns: 1fr; }
  .calc-f { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-f:last-child { border-bottom: 0; }
  .calc-rows li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .calc-rows .calc-bar { grid-column: 1 / -1; grid-row: 2; }
  .calc-out, .calc-opt, .calc-f { padding-left: 20px; padding-right: 20px; }
}

/* ══ 회사소개 (/about/) ══════════════════════════════ */
.ab-hero h1 { font-size: clamp(54px, 10.6vw, 204px); letter-spacing: -.065em; }
.ab-hero h1 em, .band .sec-head h2 em, .ct h2 em { font-style: normal; color: var(--goldtx); }
.ab-sub, .wk-sub { margin: 0; max-width: 560px; color: var(--ink2); font-size: 16.5px; line-height: 1.75; }
.wk-sub { margin-top: 20px; }
.vsdiag { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.vs { padding: 26px 28px 24px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; color: var(--ink); }
.vs:last-child { background: linear-gradient(180deg, rgba(200, 145, 47, .13), var(--bg2) 55%); box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .55); }
.vs-h { font-size: 14px; font-weight: 700; color: var(--goldtx); }
.vs svg { width: 100%; height: auto; max-height: 320px; }
.vs-c { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; }
.probs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.prob { padding: 28px 24px 30px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, box-shadow .4s; }
.prob:hover { background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.prob .n, .craft .cn { font-family: var(--disp); font-weight: 800; letter-spacing: -.06em; }
.prob .n { display: block; font-size: clamp(46px, 4vw, 72px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--mute); transition: color .5s, -webkit-text-stroke-color .5s; }
.prob:hover .n { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.prob h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -.03em; line-height: 1.38; }
.prob p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.66; }
.rows { border-top: 1px solid var(--line); }
.row { position: relative; isolation: isolate; display: grid; grid-template-columns: 130px minmax(0, .9fr) minmax(0, 1.3fr); gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); }
.row::before { content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--bg2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.row:hover::before { transform: scaleY(1); }
.row .n { font-family: var(--disp); font-weight: 800; font-size: clamp(42px, 4.2vw, 76px); line-height: 1; letter-spacing: -.06em; color: var(--goldtx); }
.row h3 { margin: 0; font-size: clamp(22px, 2.3vw, 36px); letter-spacing: -.045em; line-height: 1.22; transition: transform .6s var(--ease); }
.row:hover h3 { transform: translateX(12px); }
.row p { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.72; }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fg { padding: 30px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.fg + .fg { padding-left: 26px; border-left: 1px solid var(--line); }
.fg b { font-family: var(--disp); font-weight: 800; font-size: clamp(64px, 8.4vw, 160px); line-height: .86; letter-spacing: -.065em; }
.fg span { color: var(--ink2); font-size: 15.5px; }
.band .note, .wk-end + .note { margin: 26px 0 0; font-size: 15px; color: var(--mute); }
.band .note b { color: var(--ink); }
.band .note a { display: inline-flex; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line2); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.band .note a:hover { border-color: var(--gold); color: var(--goldtx); }
.bio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.bio-txt p { margin: 0 0 20px; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink2); line-height: 1.85; }
.bio-txt p:last-child { margin-bottom: 0; }
.bio-meta { margin: 0; border-top: 1px solid var(--line); }
.bio-meta > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 5px; }
.bio-meta dt { font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.bio-meta dd { margin: 0; font-size: 16px; line-height: 1.6; }
.chain { margin: 0 0 clamp(28px, 4vw, 60px); color: var(--ink); overflow-x: auto; scrollbar-width: none; }
.chain svg { width: 100%; min-width: 720px; height: auto; }
.crafts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.craft { padding: 28px 26px 30px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .6s var(--ease); }
.craft:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-6px); }
.craft.hi { background: linear-gradient(180deg, rgba(200, 145, 47, .14), var(--bg2) 55%); box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .5); }
.craft .cn { display: block; font-size: 13px; letter-spacing: .14em; color: var(--goldtx); }
.craft h3 { margin: 16px 0 6px; font-family: var(--disp); font-size: clamp(23px, 2vw, 31px); letter-spacing: -.045em; line-height: 1.12; }
.craft .ck { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--goldtx); }
.craft p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.66; }
.rules { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 72px); border-top: 1px solid var(--line); }
.rule { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.rule b { display: flex; gap: 14px; align-items: baseline; font-size: clamp(19px, 1.75vw, 26px); letter-spacing: -.035em; line-height: 1.35; }
.rule b::before { content: '✕'; content: '✕' / ''; flex: none; font-size: .7em; color: var(--gold); }
.rule p { margin: 0; padding-left: 30px; color: var(--ink2); font-size: 15.5px; line-height: 1.68; }
.entity { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.entity-dl { margin: 0; border-top: 1px solid var(--line); }
.entity-dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.entity-dl dt { color: var(--mute); font-size: 14.5px; }
.entity-dl dd { margin: 0; font-size: 15.5px; }
.ecode { margin-left: 6px; font-family: var(--disp); font-size: 12.5px; letter-spacing: .04em; color: var(--goldtx); }
.entity-note p { margin: 0 0 16px; color: var(--ink2); font-size: 16px; line-height: 1.75; }
.entity-note b { color: var(--ink); }
.entity-verify a { display: inline-flex; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line2); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.entity-verify a:hover { border-color: var(--gold); color: var(--goldtx); }

/* ══ 레퍼런스 (/work/) — gen_work.py 가 만든 카드 ═════════════ */
.wk-hero h1 { font-size: clamp(64px, 12vw, 230px); letter-spacing: -.07em; }
.wk-count { margin: 0; justify-self: end; display: flex; align-items: flex-end; gap: 14px; font-family: var(--disp); font-weight: 800; line-height: .8; }
.wk-count span { font-size: clamp(96px, 15vw, 290px); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--goldtx); }
.wk-count small { margin-bottom: .6em; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.chips[hidden] { display: none; }
.chip { height: 42px; padding: 0 17px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); font-size: 14.5px; font-weight: 600; color: var(--ink2); transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--onGold); box-shadow: none; }
.wfeat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(18px, 2vw, 30px); }
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.wcard { margin: 0; min-width: 0; }
.wcard[hidden] { display: none; }
.wcard .wlink { display: block; }
.wimg { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1200 / 753; background: var(--bg3); }
.wcard.big .wimg { border-radius: 22px; }
.wimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wcard:hover .wimg img, .wlink:focus-visible .wimg img { transform: scale(1.05); }
.wcard figcaption { display: grid; gap: 3px; padding: 14px 2px 0; }
.wcard figcaption em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--goldtx); }
.wcard figcaption b { font-size: 16.5px; letter-spacing: -.03em; line-height: 1.35; }
.wcard.big figcaption b { font-size: clamp(20px, 1.7vw, 27px); }
.wcard figcaption span { font-size: 14px; color: var(--ink2); line-height: 1.5; }
.wcard figcaption i { margin-top: 6px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.wcard .wlink:hover figcaption i { color: var(--goldtx); }

@media (max-width: 1080px) {
  .probs { grid-template-columns: 1fr 1fr; }
  .crafts { grid-template-columns: 1fr 1fr; }
  .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bio, .entity { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .row { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 18px; padding: 24px 0; }
  .row p { grid-column: 2; }
  .row:hover h3 { transform: none; }
  .figs { grid-template-columns: 1fr 1fr; }
  .fg:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fg:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .rules { grid-template-columns: 1fr; }
  .wk-count { justify-self: start; }
  .vsdiag { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .probs, .crafts { grid-template-columns: 1fr; }
  .wfeat { grid-template-columns: 1fr; }
  .wgrid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .wcard figcaption b { font-size: 15px; }
  .wcard figcaption span { font-size: 13px; }
  .entity-dl > div { grid-template-columns: 110px minmax(0, 1fr); }
  .rule p { padding-left: 0; }
}

/* ══ 인사이트 글 (/insight/<글>/) — 글 본문 마크업 · 글자는 그대로, 모양만 v2 ═══════════
   본문 스타일은 .pbodywrap .pbody 로만 건다(목록 카드도 .pbody 를 쓰므로). */
.wx-hero.phero { padding-bottom: clamp(36px, 4vw, 64px); }
.phero h1 { font-size: clamp(36px, 5.3vw, 92px); letter-spacing: -.055em; line-height: 1.08; max-width: 1240px; }
.phero h1 em { font-style: normal; color: var(--goldtx); }
.phero .psub { margin: 30px 0 0; max-width: 860px; font-size: clamp(17px, 1.45vw, 21px); color: var(--ink2); line-height: 1.7; }
.pinfo { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14.5px; color: var(--ink2); }
.pinfo b { margin-right: 8px; font-family: var(--disp); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.pcover { margin: 0 auto clamp(48px, 6vw, 96px); }
.pcover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; background: var(--bg3); }
.pcover figcaption, .pfig figcaption, .pdiag figcaption { margin: 14px 4px 0; font-size: 14px; color: var(--mute); line-height: 1.65; }
.pbodywrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; padding-bottom: clamp(80px, 9vw, 150px); }
.pbodywrap > * { min-width: 0; }
.ptoc { position: sticky; top: 100px; align-self: start; padding-top: 6px; }
.ptoc-h { margin: 0 0 14px; font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.ptoc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.ptoc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.45; color: var(--mute); transition: color .3s, border-color .3s; }
.ptoc a:hover { color: var(--ink); }
.ptoc a.on { color: var(--ink); border-left-color: var(--gold); font-weight: 700; }
.ptoc-cta { margin-top: 22px; width: 100%; display: grid; gap: 4px; text-align: left; padding: 16px 18px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); transition: box-shadow .3s; }
.ptoc-cta:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.ptoc-cta b { font-size: 14.5px; color: var(--ink); }
.ptoc-cta span { font-size: 12.5px; color: var(--mute); }
.pbodywrap .pbody { max-width: 780px; font-size: 17.5px; line-height: 1.86; letter-spacing: -.015em; color: var(--ink2); }
.pbodywrap .pbody b { color: var(--ink); font-weight: 700; }
.pbodywrap .pbody h2 { margin: clamp(64px, 7vw, 110px) 0 22px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(27px, 2.5vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.24; color: var(--ink); scroll-margin-top: 96px; }
.pbodywrap .pbody h3 { margin: 42px 0 12px; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.03em; line-height: 1.42; color: var(--ink); scroll-margin-top: 96px; }
.pbodywrap .pbody p { margin: 0 0 20px; }
.pbodywrap .pbody ul, .pbodywrap .pbody ol { margin: 0 0 24px; padding-left: 22px; display: grid; gap: 10px; }
.pbodywrap .pbody li { line-height: 1.8; }
.pbodywrap .pbody li::marker { color: var(--goldtx); }
.pbodywrap .pbody a:not(.fbtn):not(.lbtn) { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(200, 145, 47, .7); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .3s; }
.pbodywrap .pbody a:not(.fbtn):not(.lbtn):hover { text-decoration-color: var(--ink); }
.pbodywrap .pbody code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--bg3); color: var(--ink); }
.pbodywrap .pbody .ptable, .pbodywrap .pbody .pcallout { margin: clamp(28px, 3.4vw, 44px) 0; }
.pbodywrap .pbody .ptable table { font-size: 15px; }
.ptable td.nw { white-space: nowrap; }
.pbodywrap .pbody .pcta { margin: clamp(40px, 5vw, 64px) 0; }
.pbodywrap .pbody .pcta .pcta-h { margin-bottom: 10px; font-size: clamp(22px, 2vw, 30px); color: var(--ink); }
.pbodywrap .pbody .pcta > p { margin-bottom: 0; font-size: 16px; }
.pbodywrap .pbody .pcta > p + p { margin-top: 10px; }
.pbodywrap .pbody .fq details p { margin: 0 0 26px; }
.psummary { margin: 0 0 clamp(40px, 5vw, 64px); padding: 26px 28px 24px; border-radius: 20px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--gold); }
.pbodywrap .pbody .psummary-h, .pbodywrap .pbody .psource-h { margin: 0 0 14px; font-family: var(--disp); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--goldtx); }
.pbodywrap .pbody .psummary ul { margin: 0; gap: 12px; }
.psummary li { font-size: 16px; line-height: 1.72; }
.pbodywrap .pbody .pcheck { list-style: none; padding-left: 0; counter-reset: pc; }
.pcheck li { position: relative; padding-left: 44px; counter-increment: pc; }
.pcheck li::before { content: counter(pc, decimal-leading-zero); position: absolute; left: 0; top: .18em; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(200, 145, 47, .6); display: grid; place-items: center; font-family: var(--disp); font-size: 11.5px; font-weight: 700; line-height: 1; color: var(--goldtx); }
.pfig, .pdiag { margin: clamp(30px, 4vw, 52px) 0; }
.pfig img, .pdiag img { width: 100%; height: auto; border-radius: 18px; background: var(--bg3); }
.pfig img { aspect-ratio: 16 / 9; object-fit: cover; }
.pdiag .d-light { display: none; }
:root[data-theme="light"] .pdiag .d-dark { display: none; }
:root[data-theme="light"] .pdiag .d-light { display: block; }
.pcode { margin: 28px 0; }
.pcode pre { margin: 0; padding: 22px 24px; overflow-x: auto; border-radius: 16px; background: var(--bg3); box-shadow: inset 0 0 0 1px var(--line); }
.pbodywrap .pbody .pcode pre code { padding: 0; background: none; font-size: 13.5px; line-height: 1.7; }
.pcode figcaption { margin-top: 12px; font-size: 13.5px; color: var(--mute); }
.pquote { margin: 34px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; letter-spacing: -.025em; color: var(--ink); }
.pquote p { margin: 0 !important; }
.pquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--mute); }
.pterms { margin: 26px 0 0; border-top: 1px solid var(--line); }
.pterms dt { margin-top: 20px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.pterms dd { margin: 7px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.psource { margin-top: clamp(56px, 6vw, 88px); padding-top: 26px; border-top: 1px solid var(--line); }
.pbodywrap .pbody .psource ul { margin: 0; gap: 8px; }
.psource li { font-size: 13.5px; color: var(--mute); line-height: 1.7; }
.pbodywrap .pbody .psource-note { margin: 16px 0 0; font-size: 13px; color: var(--mute); line-height: 1.7; }
.band.related { padding: clamp(80px, 9vw, 150px) 0; border-top: 1px solid var(--line); }

/* 글 카드 — 인사이트 목록 · 글 끝 관련 글(post.js) */
.plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 40px) 18px; }
.pcard { margin: 0; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard > a { display: grid; height: 100%; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .6s var(--ease); }
.pcard > a:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-6px); }
.pthumb { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg3); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard > a:hover .pthumb img { transform: scale(1.05); }
.pcard .pbody { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.pmeta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--mute); }
.pmeta b { color: var(--goldtx); font-weight: 700; }
.pcard h2, .pcard h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.035em; line-height: 1.4; color: var(--ink); }
.pex { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink2); }
.pmore { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pcard.soon > a, .pcard.soon > div { opacity: .7; }
.loaderr { color: var(--mute); }
.in-list .chips { margin-bottom: 34px; }
.in-list .note, .in-list .note b { color: var(--mute); }
.in-list .note { margin: 30px 0 0; font-size: 14.5px; }

@media (max-width: 1080px) { .plist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1040px) {
  .pbodywrap { grid-template-columns: 1fr; gap: 30px; }
  .ptoc { position: static; padding: 22px 24px; border-radius: 18px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
}
@media (max-width: 640px) {
  .plist { grid-template-columns: 1fr; }
  .pbodywrap .pbody { font-size: 16.5px; }
  .pcover img { border-radius: 16px; }
  .psummary { padding: 22px 20px 20px; }
}

/* ══════════════════════════════════════════
   GEO 페이지(진단 · 구축 · 요금제 · 주문 상태 · 로그인) — 12/3 묶음 3
   히어로 · 섹션 머리 · 표 · 단계 · FAQ 는 서비스 페이지와 같은 부품을 쓴다. 여기는 GEO 에만 있는 것.
   ══════════════════════════════════════════ */
/* 본문 속 글자 링크 — 밑줄로 링크임을 보인다(FAQ 답 · 히어로 설명 · 보조 문단) */
.fq details p a, .wx-hero .lead a, .svc-sub a, .geo-sub a, .geo-sub2 a, .geo-next a, .geo-issues a, .entity-dl dd a, .entity-verify a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .3s; }
.fq details p a:hover, .wx-hero .lead a:hover, .svc-sub a:hover, .geo-sub a:hover, .geo-sub2 a:hover, .geo-next a:hover, .geo-issues a:hover, .entity-dl dd a:hover, .entity-verify a:hover { text-decoration-color: var(--ink); }

/* 히어로 — 사실 목록이 버튼보다 먼저인 페이지는 버튼 줄이 히어로 맨 아래 */
.wx-hero > .wx-act-row { margin-top: clamp(30px, 3.4vw, 48px); }

/* 섹션 안 보조 문단 */
.svc-sub, .geo-sub, .geo-sub2 { max-width: 66ch; margin: 28px 0 0; color: var(--ink2); font-size: 16px; line-height: 1.8; }
.svc-sub b, .geo-sub b, .geo-sub2 b { color: var(--ink); font-weight: 700; }
.sec-head + .geo-sub2 { margin-top: calc(-1 * clamp(16px, 3vw, 48px)); }

/* 리포트 예시 그림 — SVG 가 예전 이름의 색 변수를 쓴다(--fg · --dim · --face · --face-2 · --tile) */
.geo-fig { --fg: var(--ink); --dim: var(--mute); --face: var(--bg3); --face-2: var(--bg2); --tile: rgba(243, 241, 237, .06);
  margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg2); }
:root[data-theme="light"] .geo-fig { --face: var(--bg); --tile: rgba(12, 12, 15, .05); }
.geo-svg { display: block; width: 100%; height: auto; }
.geo-cap { margin: 14px 0 0; font-size: 14px; color: var(--mute); }

/* 무엇을 어떻게 재는가 — 네 칸(2 × 2) */
.geo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.geo-grid article { position: relative; padding: 30px 30px 34px; border-radius: 22px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .6s var(--ease); }
.geo-grid article:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-6px); }
.geo-grid .gnum { display: block; font-family: var(--disp); font-weight: 800; font-size: clamp(56px, 5vw, 92px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--mute); transition: color .5s, -webkit-text-stroke-color .5s; }
.geo-grid article:hover .gnum { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.geo-grid h3 { margin: 24px 0 10px; font-size: clamp(20px, 1.6vw, 25px); letter-spacing: -.035em; line-height: 1.3; }
.geo-grid p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.72; }
.geo-grid p b { color: var(--ink); font-weight: 700; }

/* 진단 신청 */
.sec-head + .cwrap { margin-top: 0; }
.cform .cf-turnstile { min-height: 65px; }

/* 즉시 결과(geo.js 가 채운다) */
.geo-result { --good: #7FD4A0; --bad: #FF8A7A; --warn: #F2C55C;
  margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3vw, 44px); border-radius: var(--r); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); scroll-margin-top: 100px; }
:root[data-theme="light"] .geo-result { --good: #1E7A45; --bad: #B3261E; --warn: #8A5A00; }
.geo-rhead h3 { margin: 12px 0 0; font-family: var(--disp); font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; word-break: break-all; }
.geo-kpis, .geo-checks { margin: clamp(20px, 2.4vw, 30px) 0 0; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.geo-kpis { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.geo-checks { margin-top: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.geo-kpi, .gc { background: var(--bg); padding: 18px 20px; display: grid; gap: 5px; align-content: start; }
.gk-en, .gc-n { font-family: var(--disp); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.gk-v { font-family: var(--disp); font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.gk-v i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--mute); margin-left: 3px; }
.gk-ko { font-size: 13px; color: var(--mute); }
.gc-v { font-size: 16px; font-weight: 700; }
.gc.good .gc-v, .geo-issues.good { color: var(--good); }
.gc.bad .gc-v { color: var(--bad); }
.gc.warn .gc-v, .geo-issues.warn, .geo-next.warn { color: var(--warn); }
.geo-issues { margin: 18px 0 0; font-size: 15px; line-height: 1.75; color: var(--ink2); }
.geo-next { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.75; color: var(--ink); }

/* 재방문 · 로그인 링크 받기 */
.gb-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 56px); align-items: center; padding: clamp(26px, 3.4vw, 52px); border-radius: 26px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.gb-in .tag { margin: 0; }
.gb-in h2 { margin: 14px 0 0; font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
.gb-in .geo-sub { margin-top: 14px; font-size: 15.5px; }
.gb-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.gb-form input { flex: 1; min-width: 200px; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; padding: 12px 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.gb-form input::placeholder { color: var(--mute); }
.gb-form input:focus { outline: 0; border-bottom-color: var(--gold); }
.gb-form button { height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--gold); color: var(--onGold); font: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .3s; }
.gb-form button:hover { background: var(--gold2); }
.gb-form button:disabled { opacity: .55; cursor: default; }
.gb-in + .fmsg { margin-top: 14px; }

/* 로그인 · 주문 상태 — 사실 목록 */
.svc-meta { list-style: none; margin: clamp(28px, 3.4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.svc-meta li { padding: 18px 24px 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.svc-meta span { font-size: 14px; color: var(--mute); }
.svc-meta b { font-size: clamp(17px, 1.4vw, 21px); font-weight: 800; letter-spacing: -.03em; line-height: 1.4; color: var(--ink); }
.svc-steps + .svc-meta { margin-top: clamp(40px, 5vw, 72px); }
.svc-end .shell > .ctarow { margin-top: 0; }

@media (max-width: 1080px) {
  .gb-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .geo-grid { grid-template-columns: 1fr; }
  .geo-grid article { padding: 26px 22px 28px; }
  .geo-fig { overflow-x: auto; }
  .geo-svg { min-width: 1000px; }
  .gb-form button { width: 100%; }
}
