/* ==========================================================================
   주권손해사정 — 메인
   로즈골드는 로고·핵심 단어·가는 선에만 쓰고, 바탕은 흰색과 옅은 블러시로 둔다.
   ========================================================================== */

:root {
  --wall: #f0e5dd;      /* 첫 화면 벽 (보정한 로고 이미지의 배경색과 같은 값) */
  --ivory: #faf6f2;
  --tint: #f6f1ed;
  --rose: #b07e68;
  --rose-deep: #8e5f4d;
  --rose-soft: #e7d4c9;
  --rose-tint: #f6ece6;

  --ink: #1d1b1a;
  --g70: #474240;
  --g50: #7b736e;
  --g30: #b8b0aa;
  --line: #e9e1da;

  --hd: 80px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; }
img { max-width: 100%; }
em, i { font-style: normal; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; transition: top 0.2s; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sec { padding: clamp(88px, 10vw, 164px) 0; }

/* ── 공통 요소 ───────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--rose-deep); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--gray { background: #f3eeea; }
.btn--gray:hover { background: var(--rose-soft); }
.btn--block { display: flex; width: 100%; height: 60px; border-radius: 16px; }

.more { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.more::after { content: ""; width: 22px; height: 1px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: width 0.35s var(--ease); }
.more:hover::after { width: 36px; }

.label { font-size: 17px; font-weight: 700; color: var(--rose-deep); letter-spacing: 0; }
.badge { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--rose-tint); color: var(--rose-deep); font-size: 13.5px; font-weight: 600; }

.head { text-align: center; }
.head h2, .ct h2, .faq__head h2, .why__head h2 { font-size: clamp(26px, 3.1vw, 44px); font-weight: 700; line-height: 1.36; letter-spacing: -0.04em; }
.head h2 { margin-top: 14px; }
.head h2 em, .faq__head h2 em { color: var(--rose); }
.head--left { text-align: left; }
.head--left h2 { margin-top: 22px; }
.head__desc { margin-top: 12px; font-size: clamp(15px, 1.25vw, 18px); color: var(--g70); }

.js .anim { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .anim.on { opacity: 1; transform: none; }

/* 단색 심볼: 마스크에 색만 입힌다 */
.mark { display: block; width: 58px; aspect-ratio: 1100 / 724; background: var(--rose); -webkit-mask: url("../assets/logo-mark.png") center / contain no-repeat; mask: url("../assets/logo-mark.png") center / contain no-repeat; }

/* ── 헤더 ─────────────────────────────────────────── */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hd); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding: 0 clamp(20px, 3vw, 44px); transition: background-color 0.3s, box-shadow 0.3s, transform 0.5s var(--ease); }
.hd.is-solid { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(29, 27, 26, 0.06); }
.hd.is-hidden { transform: translateY(-101%); }
.hd__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.hd__logo b { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.hd__nav { display: flex; gap: clamp(16px, 1.8vw, 28px); }
.hd__nav a { position: relative; padding: 6px 0; font-size: 16px; font-weight: 600; }
.hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease); }
.hd__nav a:hover::after, .hd__nav a.is-cur::after { transform: scaleX(1); }
.hd__cta { height: 42px; padding: 0 20px; font-size: 15px; }
.hd__burger { display: none; position: relative; width: 42px; height: 42px; }
.hd__burger i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.hd__burger i:nth-child(1) { top: 16px; }
.hd__burger i:nth-child(2) { top: 25px; }
.menu-open .hd__burger i:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-open .hd__burger i:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

.sheet { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: var(--hd) 28px 40px; background: var(--ivory); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity 0.35s, visibility 0s; }
.sheet a { padding: 12px 0; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; border-bottom: 1px solid var(--line); }
.menu-open, .menu-open body { overflow: hidden; }

/* ── 첫 화면 ──────────────────────────────────────── */
/* 큰 'Jukwon' 글자 위에 심볼을 올린 구성. 심볼 너비(--logo) 하나가 기준이고, 글자 크기·무대 높이·문구 폭이 모두 여기서 나온다.
   --logo는 화면 너비와 '헤더·문구를 빼고 남는 높이' 가운데 작은 쪽에 맞춘다. 그래서 화면 비율이 달라져도 한 화면 안에 들어온다.
   --copy-h는 문구 덩어리(라벨·제목·설명 한 줄·버튼)의 높이를 같은 수치로 미리 더해 둔 값이다. */
.hero {
  --pt: clamp(14px, 3.2vh, 40px);
  --gap: clamp(14px, 3vh, 36px);
  --pb: clamp(18px, 4vh, 46px);
  --h1: clamp(30px, 3.4vw, 50px);
  --cta-gap: clamp(20px, 3vh, 30px);
  --cta-h: 62px;
  --copy-h: calc(27px + 10px + var(--h1) * 1.28 + 10px + 31px + var(--cta-gap) + var(--cta-h));
  --room: calc(100vh - var(--hd) - var(--pt) - var(--copy-h) - var(--gap) - var(--pb));
  --logo: max(300px, min(48vw, 660px, var(--room) / 0.74));
  position: relative; display: flex; min-height: 100vh; padding: calc(var(--hd) + var(--pt)) 0 var(--pb); background: var(--wall); overflow: hidden;
}
@supports (height: 100svh) {
  .hero { --room: calc(100svh - var(--hd) - var(--pt) - var(--copy-h) - var(--gap) - var(--pb)); min-height: 100svh; }
}
/* 문구 폭 = 큰 글자의 폭(글자 크기의 3.052배). 그래서 문구의 왼쪽 끝이 J의 왼쪽 끝과 한 줄에 선다. */
.hero__in { display: flex; flex-direction: column; width: min(100% - 48px, calc(var(--logo) * 1.923)); margin: 0 auto; }
.hero__copy .label { font-size: 16px; }
.hero h1 { margin-top: 10px; font-size: var(--h1); font-weight: 700; line-height: 1.28; letter-spacing: -0.045em; }
.hero h1 em { color: var(--rose); }
.hero h1 .ln { display: block; overflow: hidden; }
.hero h1 .ln > span { display: block; }
.hero__desc { margin-top: 10px; font-size: clamp(15px, 1.25vw, 18px); color: var(--g70); }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: var(--cta-gap); }
/* 첫 화면의 상담 신청은 한눈에 들어와야 한다: 크기·굵기·그림자를 키우고 화살표를 붙인다 */
.hero__cta .btn { height: var(--cta-h); gap: 14px; padding: 0 34px 0 40px; font-size: 18.5px; font-weight: 700; box-shadow: 0 18px 34px -14px rgba(29, 27, 26, 0.5); }
.hero__cta .btn::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.35s var(--ease); }
.hero__cta .btn:hover::after { transform: translateX(4px) rotate(45deg); }
.hero__cta .more { font-size: 17px; }

/* 무대: 남는 높이를 차지하고, 글자와 심볼은 그 한가운데에 놓인다 */
.hero__stage { position: relative; flex: 1 0 auto; min-height: calc(var(--logo) * 0.74); margin-top: var(--gap); will-change: transform; }
/* 심볼 바로 뒤의 글자(k, w)를 옅게 가리는 막. 벽과 같은 색이라 글자만 흐려진 것처럼 보인다. */
.hero__stage::before { content: ""; position: absolute; left: 50%; top: calc(50% - var(--logo) * 0.47); z-index: 1; width: calc(var(--logo) * 1.12); height: calc(var(--logo) * 0.86); margin-left: calc(var(--logo) * -0.56); background: radial-gradient(closest-side, var(--wall) 0%, rgba(240, 229, 221, 0.95) 52%, rgba(240, 229, 221, 0) 100%); pointer-events: none; }
/* --lx·--ly: 빛의 위치(글자 상자 기준 px), --li: 빛의 세기, --ax·--ay: 그림자가 떨어지는 방향(-1~1). 모두 스크립트가 넣는다. */
.hero__word { --lx: 0px; --ly: 0px; --li: 0.55; --ax: 0.3; --ay: 0.6; position: absolute; left: 50%; top: calc(50% - var(--logo) * 0.03); z-index: 0; transform: translate(calc(-50% + var(--drift, 0px)), -50%); font-family: var(--en); font-weight: 500; font-size: calc(var(--logo) * 0.63); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; color: #b88772; opacity: 0.8; user-select: none; } /* opacity: 글자가 심볼보다 한 걸음 뒤로 물러나 보이게 20% 비운다 */
/* 글자 뒤에 같은 글자를 두 벌 더 깐다. 둘 다 빛의 방향에 따라 조금씩 밀려서, 글자가 벽에서 도드라진 금속처럼 보인다.
   ::before = 벽에 떨어지는 흐린 그림자, ::after = 모서리(빛을 받는 쪽은 밝은 선, 반대쪽은 짙은 선) */
.hero__word::before, .hero__word::after { content: attr(data-word); position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; }
.hero__word::before { color: rgba(112, 74, 58, 0.24); filter: blur(calc(var(--logo) * 0.013)); transform: translate(calc(var(--ax) * var(--logo) * 0.014), calc(var(--ay) * var(--logo) * 0.016)); }
.hero__word::after { color: transparent; text-shadow: calc(var(--ax) * var(--logo) * 0.0034) calc(var(--ay) * var(--logo) * 0.0036) 0 rgba(126, 80, 62, 0.62), calc(var(--ax) * var(--logo) * -0.0028) calc(var(--ay) * var(--logo) * -0.003) 0 rgba(255, 248, 242, 0.95); }
/* 글자 하나하나가 같은 빛을 자기 좌표(--sx·--sy만큼 뺀 자리)로 받는다.
   위에서부터: 빛이 맺힌 자리 → 그 둘레로 번진 밝은 면 → 빛에서 먼 쪽의 그늘 → 바탕 로즈골드.
   밝은 면은 흰색이 아니라 심볼 렌더의 하이라이트와 같은 살구빛이다. 벽이 밝아서 흰빛을 쓰면 글자가 벽에 묻힌다. */
.hero__word .sc {
  --sx: 0px; --sy: 0px; --at: calc(var(--lx) - var(--sx)) calc(var(--ly) - var(--sy));
  display: inline-block; padding: 0.1em 0.04em 0.3em; margin: -0.1em -0.04em -0.3em;
  background:
    radial-gradient(circle calc(var(--logo) * 0.2) at var(--at), rgba(250, 221, 207, calc(0.9 * var(--li))) 0%, rgba(250, 221, 207, 0) 100%),
    radial-gradient(circle calc(var(--logo) * 0.7) at var(--at), rgba(235, 189, 167, calc(0.92 * var(--li))) 0%, rgba(235, 189, 167, 0) 100%),
    radial-gradient(circle calc(var(--logo) * 1.6) at var(--at), rgba(126, 80, 62, 0) 28%, rgba(126, 80, 62, calc(0.42 * var(--li))) 100%),
    linear-gradient(180deg, #d8b5a3 0%, #a8745f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__emblem { position: absolute; left: 50%; top: calc(50% - var(--logo) * 0.37); z-index: 2; width: var(--logo); aspect-ratio: 1400 / 930; margin-left: calc(var(--logo) * -0.5); }
.hero__emblem img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 calc(var(--logo) * 0.036) calc(var(--logo) * 0.043) rgba(112, 74, 58, 0.2)); }

/* 등장: 문구가 먼저 올라오고, 글자가 흩어졌다 모이는 사이 심볼이 떠오른다 */
.js .hero .label, .js .hero__desc, .js .hero__cta { opacity: 0; animation: fadeUp 1s var(--ease) 0.15s forwards; }
.js .hero h1 .ln > span { transform: translateY(105%); animation: lnUp 1.1s var(--ease) 0.25s forwards; }
.js .hero__desc { animation-delay: 0.5s; }
.js .hero__cta { animation-delay: 0.64s; }
.js .hero__word .sc { animation: gather 1.5s var(--ease) calc(0.4s + var(--i) * 90ms) both; }
.js .hero__word::before, .js .hero__word::after { animation: fadeIn 1.4s ease 1.7s both; }
.js .hero__emblem { animation: emblemIn 1.6s var(--ease) 0.55s both; }
@keyframes lnUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gather { from { opacity: 0; filter: blur(14px); transform: translate(calc(var(--x) * 34px), calc(var(--y) * 40px)) rotate(calc(var(--r) * 12deg)) scale(1.1); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes emblemIn { from { opacity: 0; transform: translateY(22px) scale(0.965); } to { opacity: 1; transform: none; } }

/* ── 선언 ─────────────────────────────────────────── */
/* 문장이 한 줄씩 켜지고, 그때마다 오른쪽 액자 안의 사진이 아래에서 위로 한 장씩 올라온다.
   구간 높이 = 화면 한 장 + 다섯 문장이 차례로 지나갈 스크롤 거리. */
.say { position: relative; height: 480vh; background: #fff; }
.say__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.say__in { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(24px, 5vw, 80px); }
.say__line { font-size: clamp(25px, min(4.2vw, 6.4vh), 62px); font-weight: 700; line-height: 1.3; letter-spacing: -0.05em; color: #e2dad3; transition: color 0.6s var(--ease); }
.say__line + .say__line { margin-top: 0.14em; }
.say__line.on { color: var(--ink); }
.say__line.on em { color: var(--rose); }
.say__meter { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 5vh, 60px); font-size: 14px; font-weight: 600; color: var(--g50); font-variant-numeric: tabular-nums; }
.say__meter b { color: var(--ink); font-weight: 700; }
.say__meter span { position: relative; width: 132px; height: 1px; background: var(--line); }
.say__meter i { position: absolute; inset: 0; background: var(--rose); transform: scaleX(var(--p, 0.2)); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }

/* 사진 액자. 액자(.reel__frame)는 제자리에 있고, 안의 사진 묶음(.reel__track)이 한 장 높이씩 위로 올라간다.
   폭은 화면 너비와 높이 가운데 작은 쪽에 맞춘다. 사진마다 --d(액자 한가운데에서 떨어진 정도, -1~1)를 main.js가 넣는다. */
.reel { justify-self: end; width: min(34vw, 440px, 52vh); }
.reel__frame { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--rose-tint); transform: translateZ(0); } /* translateZ: 사파리에서 움직이는 내용이 둥근 모서리 밖으로 비치지 않게 */
.reel__track { height: 100%; will-change: transform; }
.reel__img { --d: 1; height: 100%; overflow: hidden; }
.reel__img:first-child { --d: 0; }
/* 사진을 칸보다 조금 길게 두고 --d만큼 밀어, 올라오는 동안 사진 속이 칸보다 느리게 따라오는 깊이감을 준다 */
.reel__img img { width: 100%; max-width: none; height: 116%; object-fit: cover; transform: translate3d(0, calc(-6.9% + var(--d) * 5.5%), 0); }
/* 설명 한 줄도 같은 박자로 올라간다 */
.reel__caps { height: 1.7em; margin-top: 16px; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.7; color: var(--g70); }
.reel__caps-track { will-change: transform; }
.reel__caps p { display: flex; align-items: baseline; gap: 10px; height: 1.7em; white-space: nowrap; }
.reel__caps b { font-size: 13px; font-weight: 700; color: var(--rose-deep); font-variant-numeric: tabular-nums; }

/* ── 이런 통보를 받았다면 ─────────────────────────── */
.chk { background: var(--tint); }
.chk__panel { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 4vw, 56px); padding: clamp(30px, 3.4vw, 52px) clamp(10px, 1.4vw, 22px); border-radius: 32px; background: #fff; }
.chk__panel li { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 0 clamp(16px, 1.8vw, 28px); }
.chk__panel li + li::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.chk__no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; }
.chk__panel h3 { margin-top: 22px; font-size: clamp(18px, 1.55vw, 22px); font-weight: 700; line-height: 1.4; letter-spacing: -0.035em; }
.chk__panel p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--g50); }
.chk__panel .tag { margin-top: auto; }
.chk__panel p + .tag { margin-top: 22px; }

/* ── 업무분야 ─────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 4vw, 60px) clamp(16px, 2.2vw, 30px); margin-top: clamp(40px, 5vw, 68px); }
.tile a { display: block; text-align: center; }
.tile figure { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--tint); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile h3 { margin-top: 24px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; letter-spacing: -0.035em; transition: color 0.3s; }
.tile p { max-width: 19.5em; margin: 8px auto 0; font-size: 15.5px; line-height: 1.7; color: var(--g50); }
.tile a:hover img { transform: scale(1.06); }
.tile a:hover h3 { color: var(--rose-deep); }

/* ── 왜 주권인가 ──────────────────────────────────── */
.why { padding: 0 clamp(12px, 2vw, 28px); }
.why__panel { position: relative; isolation: isolate; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; color: #fff; }
.why__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(32, 25, 22, 0.95) 0%, rgba(32, 25, 22, 0.88) 48%, rgba(40, 30, 26, 0.76) 100%), url("../assets/img/why-bg.jpg") right center / cover no-repeat; }
.why__in { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: start; width: min(100%, 1360px); margin: 0 auto; padding: clamp(60px, 8vw, 124px) clamp(24px, 6vw, 100px); }
.why .label { color: #e3c4b4; }
.why__head h2 { margin-top: 14px; }
.why__list li { display: grid; grid-template-columns: 156px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.why__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.why__list b { font-size: 20px; font-weight: 700; color: #e9cfc1; }
.why__list p { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.84); }

/* ── 진행절차 ─────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(44px, 5vw, 72px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 1px; background: var(--line); }
.steps::after { background: var(--rose); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease) 0.3s; }
.steps.on::after { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; padding: 0 12px; text-align: center; }
.steps__no { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border: 1px solid var(--rose); border-radius: 50%; background: #fff; color: var(--rose-deep); font-size: 15px; font-weight: 700; line-height: 1; }
.steps h3 { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.035em; }
.steps p { max-width: 12.5em; margin: 8px auto 0; font-size: 15px; line-height: 1.65; color: var(--g50); }

/* ── 구성원 ───────────────────────────────────────── */
.team { background: var(--rose-tint); }
/* 손해사정사 두 명의 카드를 가운데에 나란히 둔다. 카드 한 장이 너무 넓어지지 않게 전체 폭을 묶는다. */
.mem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 800px; margin: clamp(40px, 4.6vw, 64px) auto 0; }
.mem__card { display: flex; flex-direction: column; border-radius: 28px; background: #fff; overflow: hidden; }
.mem__card:nth-child(2) { transition-delay: 0.08s; }
.mem__photo { aspect-ratio: 880 / 950; background: #e6dcd4; overflow: hidden; }
.mem__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.mem__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.4vw, 32px) clamp(26px, 2.6vw, 34px); }
.mem__role { font-size: 14px; font-weight: 700; color: var(--rose-deep); }
.mem__name { margin-top: 2px; font-size: clamp(25px, 2.3vw, 31px); font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.mem__lead { min-height: 3.1em; margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.55; letter-spacing: -0.02em; color: var(--g70); } /* 두 줄 높이를 잡아 세 카드의 구분선이 같은 높이에서 시작하게 */
.mem__facts { margin-top: clamp(16px, 1.8vw, 22px); }
.mem__facts > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.mem__facts > div:last-child { padding-bottom: 0; }
.mem__facts dt { grid-row: span 4; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.mem__facts dd { grid-column: 2; margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--g50); }

/* ── 인사이트 ─────────────────────────────────────── */
.news { max-width: 780px; margin: clamp(32px, 4vw, 52px) auto 0; }
.news a { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 22px; padding: 16px 0; }
.news img { width: 132px; height: 88px; border-radius: 14px; object-fit: cover; }
.news span { font-size: 14px; color: var(--g50); }
.news p { margin-top: 3px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; line-height: 1.5; letter-spacing: -0.03em; transition: color 0.3s; }
.news a:hover p { color: var(--rose-deep); }
.ins .btn--block { max-width: 780px; margin: 22px auto 0; }

/* ── FAQ ──────────────────────────────────────────── */
.faq { background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%); }
.faq__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__head h2 { margin-top: 22px; }
.faq__list li { border-bottom: 1px solid var(--rose-soft); }
.faq__list li:first-child button { padding-top: 0; }
.faq__list button { position: relative; display: block; width: 100%; padding: 26px 48px 24px 0; text-align: left; }
.faq__list .q { display: block; font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--rose); letter-spacing: 0; }
.faq__list .t { display: block; margin-top: 2px; font-size: clamp(18px, 1.75vw, 25px); font-weight: 700; line-height: 1.45; letter-spacing: -0.035em; }
.faq__list button::after { content: ""; position: absolute; right: 8px; bottom: 34px; width: 11px; height: 11px; border-right: 1.5px solid var(--rose-deep); border-bottom: 1.5px solid var(--rose-deep); transform: rotate(45deg); transition: transform 0.45s var(--ease); }
.faq__list .is-open button::after { transform: translateY(5px) rotate(-135deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__list .is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { min-height: 0; overflow: hidden; }
.faq__a p { padding: 0 48px 28px 0; font-size: 17px; line-height: 1.8; color: var(--g70); }

/* ── 상담·푸터 ────────────────────────────────────── */
.ft { position: relative; background: var(--ivory); overflow: hidden; }
.ct { display: grid; grid-template-columns: 1fr minmax(280px, 460px); align-items: center; gap: clamp(32px, 4.4vw, 72px); padding: clamp(72px, 9vw, 140px) 0 clamp(56px, 7vw, 104px); }
.ct h2 { margin-top: 14px; }
.ct__tel { margin-top: clamp(22px, 3vw, 36px); font-size: clamp(30px, 3.7vw, 54px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ct__meta { margin-top: 8px; font-size: 15px; color: var(--g50); }
.ct__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
/* 상담 영역의 두 손해사정사: 이름표는 사진 속 각자의 가슴 아래(가로 36%, 69.5% 지점)에 맞춘다 */
.ct__people { position: relative; aspect-ratio: 1240 / 920; border-radius: 28px; background: #e6dcd4; overflow: hidden; box-shadow: 0 28px 64px rgba(120, 84, 66, 0.16); }
.ct__people img { width: 100%; height: 100%; object-fit: cover; }
.ct__people::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(to top, rgba(22, 19, 18, 0.62), rgba(22, 19, 18, 0)); pointer-events: none; }
.ct__who { position: absolute; bottom: clamp(14px, 1.8vw, 24px); z-index: 1; transform: translateX(-50%); white-space: nowrap; font-size: clamp(12.5px, 1.05vw, 14.5px); font-weight: 500; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.82); }
.ct__who b { margin-right: 4px; font-size: clamp(15px, 1.35vw, 19px); font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.ct__who--a { left: 36%; }
.ct__who--b { left: 69.5%; }
.ft__btm { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 24px; padding-top: 36px; border-top: 1px solid var(--line); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 17px; font-weight: 700; }
.ft__nav a:hover, .ft__links a:hover { color: var(--rose-deep); }
.totop { justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; transition: background-color 0.3s, color 0.3s; }
.totop svg { width: 16px; height: 16px; }
.totop:hover { background: var(--ink); color: #fff; }
.ft__info { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.9; color: var(--g50); }
.ft__info i { display: inline-block; width: 1px; height: 10px; margin: 0 10px; background: var(--g30); }
.ft__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; font-weight: 600; color: var(--g70); }
.ft__links .is-key { font-weight: 800; color: var(--ink); } /* 개인정보처리방침은 다른 링크보다 눈에 띄게 */
.ft__copy { justify-self: end; font-size: 13px; color: var(--g50); }
.ft__notice { grid-column: 1 / -1; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.ft__notice b { display: block; font-size: 13.5px; font-weight: 700; color: var(--g70); }
.ft__notice p { max-width: 1000px; margin-top: 8px; font-size: 12.5px; line-height: 1.8; color: var(--g50); }
/* 맨 아래 큰 글자: 평소에는 바탕 그라데이션 그대로이고(--li 0), 커서가 푸터에 들어오면 첫 화면과 같은 빛이 따라다닌다 */
.ft__word { --lx: 50%; --ly: 50%; --li: 0; margin: clamp(20px, 3.4vw, 48px) 0 -0.035em; font-family: var(--en); font-weight: 500; font-size: clamp(110px, 27vw, 430px); line-height: 0.86; letter-spacing: -0.02em; text-align: center; white-space: nowrap; background: radial-gradient(circle 0.3em at var(--lx) var(--ly), rgba(255, 249, 243, calc(0.9 * var(--li))) 0%, rgba(255, 249, 243, 0) 100%), radial-gradient(circle 0.95em at var(--lx) var(--ly), rgba(246, 222, 208, calc(0.95 * var(--li))) 0%, rgba(246, 222, 208, 0) 100%), radial-gradient(circle 2.3em at var(--lx) var(--ly), rgba(134, 88, 70, 0) 30%, rgba(134, 88, 70, calc(0.3 * var(--li))) 100%), linear-gradient(100deg, #a8745f 0%, #cba38e 30%, #b48370 52%, #dbbba9 76%, #a36e5a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }

/* ── 반응형 ───────────────────────────────────────── */
@media (max-width: 980px) {
  .chk__panel { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .chk__panel li:nth-child(3)::before { display: none; }
  .why__in { grid-template-columns: 1fr; }
  .faq__in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --hd: 68px; }
  .hd__nav, .hd__cta { display: none; }
  .hd__burger { display: block; }
  .mark { width: 50px; }
  /* 위쪽에 고정된 헤더 높이만큼 비워 두고 그 아래에서 가운데를 잡는다(사진 윗부분이 헤더에 가리지 않게) */
  .say__pin { padding-top: var(--hd); }
  .say__in { grid-template-columns: 1fr; gap: 0; }
  /* 사진 액자가 위, 문장이 아래. 좁은 화면에서는 액자를 가로로 눕혀 폭을 다 쓴다(원본 사진이 가로형이라 덜 잘린다). */
  .reel { grid-row: 1; justify-self: start; width: min(100%, 46vh); margin-bottom: clamp(22px, 3.8vh, 40px); }
  /* 휴대폰은 주소창만큼 화면이 짧아지므로, 그 짧은 높이(svh) 기준으로 크기를 잡아 문장까지 한 화면에 들어오게 한다 */
  @supports (height: 100svh) { .reel { width: min(100%, 46svh); } }
  .reel__frame { aspect-ratio: 4 / 3; border-radius: 22px; }
  .reel__caps { margin-top: 12px; font-size: 13.5px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 420px; margin-inline: auto; }
  .steps::before, .steps::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: 50% 0; }
  .steps.on::after { transform: scaleY(1); }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0; text-align: left; }
  .steps__no { grid-row: span 2; margin: 0; }
  .steps h3 { margin-top: 8px; }
  .steps p { max-width: none; margin: 4px 0 0; }
  .ct { grid-template-columns: 1fr; }
  .ct__people { max-width: 560px; }
  /* 구성원: 한 줄에 한 명, 사진은 왼쪽 */
  .mem { grid-template-columns: 1fr; max-width: 640px; }
  .mem__card { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; }
  .mem__photo { aspect-ratio: auto; height: 100%; min-height: 240px; }
  .mem__lead { min-height: 0; }
}
/* 화면이 짧은 휴대폰: 문장이 일곱 줄이라, 사진 액자를 조금 줄여 문장과 진행 표시까지 한 화면에 넣는다 */
@media (max-width: 860px) and (max-height: 700px) {
  .reel { width: min(100%, 38vh); }
  @supports (height: 100svh) { .reel { width: min(100%, 38svh); } }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 40px, var(--wrap)); }
  /* 첫 화면: 문구 → 큰 글자·심볼 → 맨 아래 상담 버튼(엄지가 닿는 자리, 화면 폭 가득) 순으로 쌓는다.
     글자가 화면 밖으로 잘리지 않도록 심볼 대비 글자 비율을 조금 줄인다. */
  .hero { --h1: clamp(27px, 8vw, 34px); --cta-h: 58px; --copy-h: calc(26px + 10px + var(--h1) * 1.28 + 10px + 52px + var(--gap) + var(--cta-h)); --logo: max(170px, min(56vw, var(--room) / 0.74)); }
  .hero__in { width: calc(100% - 40px); }
  .hero__copy .label { font-size: 14.5px; }
  .hero__word { font-size: calc(var(--logo) * 0.554); }
  .hero__cta { order: 3; gap: 20px; margin-top: var(--gap); }
  .hero__cta .btn { flex: 1; padding: 0 24px; font-size: 17.5px; }
  .hero__cta .more { font-size: 15.5px; }
  .head h2 br, .head--left h2 br, .ct h2 br, .why__head h2 br { display: none; }
  .chk__panel { grid-template-columns: 1fr; row-gap: 0; padding: 8px 22px; border-radius: 24px; }
  .chk__panel li { padding: 26px 0; }
  .chk__panel li + li::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; display: block; }
  .tiles { grid-template-columns: 1fr; gap: 40px; }
  .why__list li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  /* 구성원: 좁은 화면에서는 사진을 위로 올리고 얼굴~가슴만 보이게 자른다 */
  .mem__card { display: flex; }
  .mem__photo { aspect-ratio: 1 / 0.8; height: auto; min-height: 0; }
  .mem__photo img { object-position: 50% 6%; }
  .news a { grid-template-columns: 96px 1fr; gap: 16px; }
  .news img { width: 96px; height: 72px; }
  .faq__list button, .faq__a p { padding-right: 36px; }
  .ft__btm { grid-template-columns: 1fr auto; }
  /* 좁은 화면에서는 구분선 자리에서 줄을 바꿔 항목을 한 줄에 하나씩 둔다(사업자등록번호와 주소 사이는 br이 줄을 바꾼다) */
  .ft__info i { display: block; width: 0; height: 0; margin: 0; }
  .ft__copy { justify-self: start; grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .js .anim, .js .hero .label, .js .hero h1 .ln > span, .js .hero__desc, .js .hero__cta, .js .hero__word .sc, .js .hero__emblem { opacity: 1; filter: none; transform: none; animation: none; transition: none; }
  .js .hero__word::before, .js .hero__word::after { animation: none; }
  .reel__img img { transform: translate3d(0, -6.9%, 0); }
}

/* ── 약관·정책 문서 페이지 (terms.html · privacy.html · email.html) ──────────
   메인과 같은 헤더·글꼴·색을 쓰되, 스크립트 없이 읽기만 하는 문서 화면이다.
   헤더는 처음부터 흰 바탕(.is-solid)이고 메뉴 대신 '상담 신청' 하나만 둔다. */
.hd--doc .hd__cta { display: inline-flex; }
.doc { padding: calc(var(--hd) + clamp(36px, 5.4vw, 76px)) 0 clamp(72px, 9vw, 128px); }
.doc__in { width: min(100% - 48px, 820px); margin-inline: auto; }
.doc__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.doc__tabs a { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: #f3eeea; font-size: 14.5px; font-weight: 600; color: var(--g70); transition: background-color 0.3s, color 0.3s; }
.doc__tabs a:hover { background: var(--rose-soft); }
.doc__tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.doc h1 { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.3; letter-spacing: -0.04em; }
.doc__date { margin-top: 10px; font-size: 15px; color: var(--g50); }
.doc__lead { margin-top: clamp(22px, 2.8vw, 34px); font-size: 16.5px; line-height: 1.85; color: var(--g70); }
.doc section { margin-top: clamp(28px, 3.2vw, 44px); padding-top: clamp(24px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.doc h2 { font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.5; letter-spacing: -0.03em; }
.doc h3 { margin: 18px 0 0; font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.doc section p, .doc section li, .doc td, .doc th { font-size: 16px; line-height: 1.85; color: var(--g70); }
.doc section p, .doc section ul, .doc section ol { margin-top: 10px; }
/* 호(1. 2. 3.)와 점 목록: 둘째 줄부터 글머리 뒤에 맞춰 들여 쓴다 */
.doc__nums li { padding-left: 1.5em; text-indent: -1.5em; }
.doc__dots li { position: relative; padding-left: 1em; }
.doc__dots li::before { content: ""; position: absolute; left: 0.2em; top: 0.82em; width: 4px; height: 4px; border-radius: 50%; background: var(--g30); }
.doc__nums li + li, .doc__dots li + li { margin-top: 2px; }
.doc table { width: 100%; margin-top: 14px; border-collapse: collapse; border-top: 1px solid var(--ink); }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { width: 26%; font-weight: 700; color: var(--ink); background: var(--ivory); }
.doc thead th { width: auto; }
.doc__law { margin-top: 14px; padding: clamp(18px, 2.2vw, 26px); border-radius: 18px; background: var(--ivory); }
.doc__law p:first-child { margin-top: 0; font-weight: 700; color: var(--ink); }
/* 게재 전에 회사가 정해 줘야 하는 값 표시. 값이 정해지면 이 표시를 지운다 */
.todo { display: inline-block; margin: 0 2px 0 6px; padding: 0 8px; border-radius: 6px; background: var(--rose-tint); color: var(--rose-deep); font-size: 12.5px; font-weight: 700; line-height: 1.7; text-indent: 0; white-space: nowrap; vertical-align: 1px; }
.docft { padding: 34px 0 44px; border-top: 1px solid var(--line); background: var(--ivory); }
.docft__in { display: grid; gap: 12px; width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.docft .ft__copy { justify-self: start; }
@media (max-width: 600px) {
  .doc__in, .docft__in { width: calc(100% - 40px); }
  .doc section p, .doc section li, .doc td, .doc th { font-size: 15.5px; }
  .doc th, .doc td { padding: 10px 10px; }
  .doc th { width: 30%; }
}

[hidden] { display: none !important; }

/* ── 칼럼 목록 (/columns) ─────────────────────────────
   서버(api/_lib/render.js)가 만든 HTML 에 입히는 모양이다. 메인과 같은 글꼴·색·둥근 모서리를 쓴다. */
.col { padding: calc(var(--hd) + clamp(40px, 6vw, 88px)) 0 clamp(72px, 9vw, 128px); }
.col__in { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.col__head h1 { margin-top: 12px; font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -0.045em; }
.col__desc { margin-top: 12px; font-size: clamp(15.5px, 1.3vw, 18px); color: var(--g70); }
.col__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3.6vw, 44px); padding-bottom: clamp(22px, 2.6vw, 30px); border-bottom: 1px solid var(--line); }
.col__tabs a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: #f3eeea; font-size: 15px; font-weight: 600; color: var(--g70); transition: background-color 0.3s, color 0.3s; }
.col__tabs a:hover { background: var(--rose-soft); }
.col__tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.col__tabs b { margin-left: 7px; font-weight: 600; opacity: 0.6; font-variant-numeric: tabular-nums; }
.col__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.6vw, 52px) clamp(18px, 2.2vw, 32px); margin-top: clamp(28px, 3.4vw, 44px); }
.colcard { display: block; }
.colcard figure { aspect-ratio: 16 / 10; border-radius: 20px; background: var(--rose-tint); overflow: hidden; }
.colcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.colcard:hover img { transform: scale(1.04); }
/* 대표 사진이 없는 글: 옅은 바탕에 심볼만 둔다 */
.colcard__blank { display: grid; place-items: center; width: 100%; height: 100%; }
.colcard__blank .mark { width: 76px; opacity: 0.5; }
.colcard__txt { padding-top: 16px; }
.colcard__meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--g50); font-variant-numeric: tabular-nums; }
.colcard__meta span { color: var(--rose-deep); }
.colcard h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 8px; font-size: clamp(18px, 1.55vw, 21px); font-weight: 700; line-height: 1.45; letter-spacing: -0.035em; overflow: hidden; transition: color 0.3s; }
.colcard:hover h2 { color: var(--rose-deep); }
.colcard__sum { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--g70); overflow: hidden; }
.col__empty { margin-top: clamp(32px, 4vw, 56px); padding: clamp(48px, 7vw, 88px) 24px; border-radius: 24px; background: var(--ivory); text-align: center; color: var(--g50); }
.col__pager { display: flex; justify-content: center; gap: 6px; margin-top: clamp(40px, 5vw, 64px); }
.col__pager a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 999px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.col__pager a:hover { background: #f3eeea; }
.col__pager a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ── 칼럼 글 (/columns/<주소>) ──────────────────────── */
.post { padding-top: calc(var(--hd) + clamp(32px, 5vw, 72px)); }
.post__in { width: min(100% - 48px, 760px); margin-inline: auto; padding-bottom: clamp(64px, 8vw, 112px); }
.post__preview { margin-bottom: 22px; padding: 12px 18px; border-radius: 12px; background: var(--rose-tint); font-size: 14.5px; font-weight: 600; color: var(--rose-deep); }
.post__crumb { display: flex; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: var(--g50); }
.post__crumb a + a::before { content: "/"; margin: 0 10px; color: var(--g30); }
.post__crumb a:last-child { color: var(--rose-deep); }
.post__head h1 { margin-top: 18px; font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.34; letter-spacing: -0.045em; }
.post__meta { display: flex; gap: 12px; margin-top: 16px; font-size: 14.5px; color: var(--g50); font-variant-numeric: tabular-nums; }
.post__meta span { font-weight: 700; color: var(--g70); }
/* 글 맨 위 요약: 검색·AI 답변에 인용되기 쉬운 자리라 본문보다 먼저 보여 준다 */
.post__summary { margin-top: clamp(24px, 3vw, 36px); padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px); border-radius: 18px; background: var(--rose-tint); font-size: 16.5px; font-weight: 500; line-height: 1.8; color: var(--g70); }
.post__cover { margin-top: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--rose-tint); overflow: hidden; }
.post__cover img { width: 100%; }
.post__toc { margin-top: clamp(24px, 3vw, 36px); padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 18px; }
.post__toc b { font-size: 14px; font-weight: 700; color: var(--rose-deep); }
.post__toc ol { margin-top: 8px; counter-reset: toc; }
.post__toc li { counter-increment: toc; display: flex; gap: 10px; font-size: 15.5px; line-height: 1.9; }
.post__toc li::before { content: counter(toc, decimal-leading-zero); font-size: 13px; font-weight: 700; color: var(--g30); font-variant-numeric: tabular-nums; }
.post__toc a { color: var(--g70); }
.post__toc a:hover { color: var(--rose-deep); }
.post__body { margin-top: clamp(28px, 3.4vw, 44px); font-size: 17px; line-height: 1.9; color: #2f2b29; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2 { margin-top: 2.2em; font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.45; letter-spacing: -0.04em; color: var(--ink); scroll-margin-top: calc(var(--hd) + 20px); }
.post__body h3 { margin-top: 1.8em; font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.5; letter-spacing: -0.03em; color: var(--ink); scroll-margin-top: calc(var(--hd) + 20px); }
.post__body > :first-child { margin-top: 0; }
.post__body ul { padding-left: 1.25em; list-style: disc; }
.post__body ol { padding-left: 1.35em; list-style: decimal; }
.post__body li + li { margin-top: 0.35em; }
.post__body li::marker { color: var(--rose); }
.post__body a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.post__body strong { font-weight: 700; color: var(--ink); }
.post__body blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--rose-soft); color: var(--g70); }
.post__body figure img { width: 100%; border-radius: 18px; }
.post__body figcaption { margin-top: 8px; font-size: 13.5px; text-align: center; color: var(--g50); }
.post__body p > img { border-radius: 14px; }
.post__body hr { margin: 2.2em 0; border: 0; border-top: 1px solid var(--line); }
.post__body .table-wrap { overflow-x: auto; }
.post__body table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15.5px; }
.post__body th, .post__body td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post__body th { background: var(--ivory); font-weight: 700; white-space: nowrap; }
.post__body code { padding: 1px 6px; border-radius: 6px; background: var(--tint); font-size: 0.92em; }
.post__faq { margin-top: clamp(44px, 5vw, 64px); }
.post__faq h2 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -0.04em; }
.post__faq dl { margin: 16px 0 0; border-bottom: 1px solid var(--line); }
.post__faq dl > div { padding: 20px 0; border-top: 1px solid var(--line); }
.post__faq dt { font-size: 17px; font-weight: 700; line-height: 1.6; }
.post__faq dt::before { content: "Q."; margin-right: 8px; color: var(--rose); }
.post__faq dd { margin: 8px 0 0; font-size: 16px; line-height: 1.8; color: var(--g70); }
.post__note { margin-top: clamp(36px, 4.4vw, 52px); padding: 18px 22px; border-radius: 16px; background: var(--ivory); }
.post__note p { font-size: 13.5px; line-height: 1.8; color: var(--g50); }
.post__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: clamp(22px, 2.6vw, 32px); border-radius: 22px; background: var(--ink); color: #fff; }
.post__cta b { display: block; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.5; letter-spacing: -0.03em; }
.post__cta p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.72); font-variant-numeric: tabular-nums; }
.post__cta .btn { flex: none; background: #fff; color: var(--ink); }
.post__cta .btn:hover { background: var(--rose-soft); }
.post__more { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); background: var(--ivory); }
.post__more h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.04em; }
@media (max-width: 980px) {
  .col__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .col__in, .post__in { width: calc(100% - 40px); }
  .col__grid { grid-template-columns: 1fr; }
  .col__tabs a { height: 40px; padding: 0 15px; font-size: 14.5px; }
  .post__body { font-size: 16.5px; }
  .post__cta { flex-direction: column; align-items: flex-start; }
  .post__cta .btn { width: 100%; }
}

/* ── 관리자: 칼럼 쓰기 (/admin) ─────────────────────── */
.adm { min-height: 100vh; padding: calc(var(--hd) + clamp(28px, 4vw, 56px)) 0 clamp(64px, 8vw, 100px); background: var(--ivory); }
.adm__in { width: min(100% - 48px, 1240px); margin-inline: auto; }
.adm h1 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.04em; }
.adm__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.adm__bar .btn { height: 46px; padding: 0 22px; font-size: 15px; }
.adm__card { margin-top: 22px; padding: clamp(20px, 2.4vw, 32px); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(29, 27, 26, 0.05); }
.adm__login { max-width: 440px; margin: clamp(32px, 6vw, 72px) auto 0; }
.adm__msg { min-height: 1.6em; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--rose-deep); }
.adm__msg.is-ok { color: #2f6b4f; }
.adm label { display: block; font-size: 14px; font-weight: 700; color: var(--g70); }
.adm label small { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--g50); }
.adm input[type="text"], .adm input[type="password"], .adm input[type="date"], .adm select, .adm textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; letter-spacing: inherit; color: var(--ink); }
.adm textarea { line-height: 1.7; resize: vertical; }
.adm input:focus, .adm select:focus, .adm textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: transparent; }
.adm__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 22px; align-items: start; }
.adm__fields { display: grid; gap: 18px; }
.adm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adm__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adm__tools button, .adm__mini { height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; color: var(--g70); }
.adm__tools button:hover, .adm__mini:hover { border-color: var(--rose); color: var(--rose-deep); }
.adm__body { min-height: 420px; font-family: var(--sans); }
.adm__cover { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.adm__cover img { width: 132px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--rose-tint); }
.adm__faq { display: grid; gap: 10px; margin-top: 8px; }
.adm__faq > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.adm__faq input, .adm__faq textarea { margin-top: 0 !important; }
.adm__faq textarea { grid-column: 1; }
.adm__actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding: 14px 0 4px; background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0)); }
.adm__actions .btn { height: 48px; padding: 0 24px; font-size: 15.5px; }
.adm__preview { position: sticky; top: calc(var(--hd) + 16px); max-height: calc(100vh - var(--hd) - 40px); overflow: auto; }
.adm__preview > b { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--rose-deep); }
.adm__preview h2.pv-title { font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: -0.04em; }
.adm__preview .post__body { margin-top: 20px; font-size: 16px; }
.adm__note { padding: 14px 18px; border-radius: 14px; background: var(--rose-tint); font-size: 14px; line-height: 1.75; color: var(--g70); }
.adm__note b { color: var(--rose-deep); }
.adm table { width: 100%; border-collapse: collapse; }
.adm th, .adm td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; vertical-align: middle; }
.adm th { font-size: 13px; font-weight: 700; color: var(--g50); }
.adm td.t { font-weight: 600; }
.adm td .adm__mini + .adm__mini { margin-left: 6px; }
.adm__state { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #f3eeea; font-size: 12.5px; font-weight: 700; color: var(--g70); }
.adm__state.is-live { background: var(--ink); color: #fff; }
@media (max-width: 980px) {
  .adm__grid { grid-template-columns: 1fr; }
  .adm__preview { position: static; max-height: none; }
}
@media (max-width: 600px) {
  .adm__in { width: calc(100% - 32px); }
  .adm__row { grid-template-columns: 1fr; }
  .adm th:nth-child(2), .adm td:nth-child(2), .adm th:nth-child(4), .adm td:nth-child(4) { display: none; }
}
