/* wslaw.kr — 시안 v1 "Heritage Editorial"
   깊은 네이비 + 절제된 금색, 신문·연차보고서 그리드, 祐信 먹선 히어로 */

:root {
  --navy: #0f1f36;
  --navy-2: #142a49;
  --navy-deep: #0a1628;
  --ink: #16233a;
  --paper: #f5f1e8;
  --paper-2: #ebe4d4;
  --white: #fffdf8;
  --gold: #b98a34;
  --gold-soft: #d5b26c;
  --gold-ink: #7a5719;
  --text: #1b2536;
  --muted: #4a5466;
  --muted-light: #b3bccb;
  --line: rgba(15, 31, 54, .16);
  --line-light: rgba(213, 178, 108, .28);
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 112px;
  --header-h-compact: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 2px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-compact) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
strong { font-weight: 700; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.print-only { display: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.paper :focus-visible, .services :focus-visible { outline-color: var(--gold-ink); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hanja { font-family: var(--serif); font-weight: 700; }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 18px; background: var(--gold-soft); color: var(--navy-deep);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ───────── 괘선(스크롤에 따라 그어짐) ───────── */
.rule {
  display: block; height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--gold) 0 60%, rgba(185, 138, 52, .35));
  transform-origin: 0 50%;
}
.rule-light { background: linear-gradient(90deg, var(--gold-soft) 0 55%, rgba(213, 178, 108, .25)); }
.js .rule { transform: scaleX(var(--draw, 0)); }
.js .rule.rule-auto { transition: transform 1.4s var(--ease) .2s; }

/* ───────── 헤더 ───────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(10, 22, 40, .94);
  color: var(--white);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(213, 178, 108, .18);
}
.masthead-strip {
  border-bottom: 1px solid rgba(213, 178, 108, .16);
  font-size: 12.5px; letter-spacing: .02em; color: var(--muted-light);
  max-height: 36px; overflow: hidden;
  transition: max-height .35s var(--ease), opacity .25s;
}
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 35px; }
.strip-inner p { line-height: 1.4; }
.strip-mid { font-family: var(--serif); color: var(--gold-soft); letter-spacing: .08em; }
.strip-right a { text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.strip-right a:hover { color: var(--gold-soft); }

.header-main {
  display: flex; align-items: center; gap: 24px;
  height: 76px; transition: height .35s var(--ease);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-height: 44px; }
.brand-mark { width: 46px; height: auto; transition: width .35s var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-en { font-size: 10.5px; letter-spacing: .42em; color: var(--gold-soft); margin-top: 4px; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 2px; }
.gnav a {
  position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 14.5px; font-weight: 500; text-decoration: none; color: #dfe4ec; white-space: nowrap;
  transition: color .2s;
}
.gnav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 1px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.gnav a:hover { color: #fff; }
.gnav a:hover::after { transform: scaleX(.4); }
.gnav a[aria-current="true"] { color: var(--gold-soft); }
.gnav a[aria-current="true"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 14px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hbtn-line { border: 1px solid rgba(213, 178, 108, .55); color: var(--gold-soft); }
.hbtn-line:hover { background: rgba(213, 178, 108, .12); }
.hbtn-gold { background: var(--gold-soft); color: var(--navy-deep); border: 1px solid var(--gold-soft); }
.hbtn-gold:hover { background: #e2c487; }
.hbtn-search {
  min-width: 44px; padding: 0 12px; background: transparent; color: #e6eaf0;
  border: 1px solid rgba(255, 255, 255, .24);
}
.hbtn-search:hover { border-color: var(--gold-soft); color: #fff; }
.hbtn-search .hbtn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hbtn-search .kbd { display: none; }
@media (min-width: 1400px) {
  .hbtn-search .kbd { display: inline-block; }
}
.kbd {
  display: inline-block; min-width: 22px; padding: 1px 6px; text-align: center;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; line-height: 1.5; letter-spacing: .02em;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 3px; color: var(--muted-light); background: rgba(255, 255, 255, .04);
}

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 10px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); color: #fff;
}
.menu-toggle-bars { display: grid; gap: 6px; width: 20px; }
.menu-toggle-bars span { display: block; height: 1.5px; background: currentColor; }
.menu-toggle-bars span:last-child { width: 70%; margin-left: auto; }
.menu-toggle-label { font-size: 14px; font-weight: 600; }

.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.read-progress span {
  display: block; height: 100%; background: var(--gold);
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

.site-header.is-compact .masthead-strip { max-height: 0; opacity: 0; border-bottom-color: transparent; }
.site-header.is-compact .header-main { height: 64px; }
.site-header.is-compact .brand-mark { width: 38px; }

/* 전체화면 메뉴 */
.menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--navy-deep); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 16px var(--gutter) 32px; max-width: 720px; margin-inline: auto; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line-light); }
.menu-title { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: var(--gold-soft); }
.menu-close {
  width: 48px; height: 48px; display: grid; place-items: center; font-size: 30px; line-height: 1;
  background: transparent; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); color: #fff;
}
.menu-search {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 16px; padding: 0 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(213, 178, 108, .4); border-radius: var(--radius);
  color: #e6eaf0; font-size: 16px; font-weight: 600; text-align: left;
}
.menu-search .ico { color: var(--gold-soft); width: 20px; height: 20px; }
.menu-search:hover { border-color: var(--gold-soft); }
.menu-list { margin-top: 12px; }
.menu-list a {
  display: flex; align-items: baseline; gap: 18px; padding: 13px 0; min-height: 52px;
  font-family: var(--serif); font-size: clamp(22px, 6vw, 30px); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.menu-list a:hover, .menu-list a[aria-current="true"] { color: var(--gold-soft); }
.menu-no { font-family: var(--sans); font-size: 13px; color: var(--gold-soft); letter-spacing: .08em; min-width: 22px; }
.menu-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.mbtn {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px;
  border: 1px solid rgba(213, 178, 108, .5); color: var(--gold-soft); text-decoration: none; font-weight: 600; border-radius: var(--radius);
}
.mbtn-gold { background: var(--gold-soft); color: var(--navy-deep); }
.menu-addr { font-size: 14px; color: var(--muted-light); margin-top: 8px; }
.js .menu:not([hidden]) .menu-list li { animation: menuIn .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 35ms); }
@keyframes menuIn { from { opacity: 0; transform: translateY(12px); } }

/* ───────── 공통 버튼 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-soft); color: var(--navy-deep); border: 1px solid var(--gold-soft); }
.btn-gold:hover { background: #e2c487; }
.btn-line { border: 1px solid rgba(213, 178, 108, .6); color: var(--white); background: transparent; }
.btn-line:hover { background: rgba(213, 178, 108, .12); }
.btn-sub { font-size: 12.5px; font-weight: 500; color: var(--gold-soft); padding-left: 8px; border-left: 1px solid rgba(213, 178, 108, .4); }
.btn-text { color: var(--gold-soft); padding-inline: 6px; }
.btn-text:hover { color: #fff; }
.btn-navy { background: var(--navy); color: var(--white); border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-quiet { background: transparent; color: var(--navy); border: 1px solid rgba(15, 31, 54, .35); }
.btn-quiet:hover { background: var(--paper-2); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.link-btn {
  display: inline; padding: 0; margin: 0; background: none; border: 0; font: inherit; color: var(--gold-ink);
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: var(--navy); }

.tbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--navy); background: transparent; color: var(--navy);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.tbtn:hover { background: var(--navy); color: var(--white); }
.tbtn-quiet { border-color: var(--line); color: var(--muted); }
.tbtn-quiet:hover { background: var(--paper-2); color: var(--navy); }
.tbtn-light { border-color: rgba(213, 178, 108, .55); color: var(--white); }
.tbtn-light:hover { background: rgba(213, 178, 108, .14); color: #fff; }
.tbtn-sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; }

/* ───────── 히어로 ───────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 72px));
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .13; mix-blend-mode: luminosity; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 80% 40%, rgba(185, 138, 52, .12), transparent 70%),
    linear-gradient(180deg, rgba(15, 31, 54, .55), rgba(15, 31, 54, .92) 70%, var(--navy));
}
/* 신문 단 나눔처럼 은은한 세로 괘선 */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(213, 178, 108, .07) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--wrap) + var(--gutter) * 2) - var(--gutter) * 2) / 6) 100%;
  background-position: center;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 70%, transparent);
}

.hero-grid {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; letter-spacing: .14em; color: var(--gold-soft); font-weight: 500;
}
.kicker-rule { display: block; width: 44px; height: 1px; background: var(--gold-soft); }
.hero-title {
  margin-top: 26px;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.28; letter-spacing: -.025em;
}
.ht-line { display: block; }
.hero-lead { margin-top: 26px; max-width: 34em; font-size: clamp(16px, 1.25vw, 18px); color: #ccd4e0; line-height: 1.85; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-mark {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.5vw, 20px);
  align-self: center; justify-self: end; width: min(100%, 500px);
  position: relative;
}
.hero-mark::before { /* 낙관처럼 얇은 금색 틀 */
  content: ""; position: absolute; inset: -18px -14px; border: 1px solid rgba(213, 178, 108, .22); pointer-events: none;
}
.glyph-cell { position: relative; }
.glyph { width: 100%; height: auto; overflow: visible; }
.glyph path {
  fill: #f2e6cc; stroke: var(--gold-soft); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round;
  paint-order: stroke;
}
.glyph-gloss {
  display: flex; justify-content: center; gap: 10px; margin-top: 10px;
  font-family: var(--serif); font-size: 14px; color: var(--gold-soft); letter-spacing: .3em;
}
.glyph-gloss span:last-child { color: #fff; }

/* 먹선 드로잉: 윤곽선이 먼저 그어진 뒤 면이 번지듯 채워진다 */
.js .glyph path {
  stroke-dasharray: 1 1; stroke-dashoffset: 1; fill-opacity: 0;
  animation: ink-stroke 1.6s var(--ease) forwards, ink-fill 1.2s ease forwards;
  animation-delay: calc(.25s + var(--i) * .11s), calc(1.5s + var(--i) * .06s);
}
.js .glyph-cell:nth-child(2) .glyph path { animation-delay: calc(.85s + var(--i) * .11s), calc(2.05s + var(--i) * .06s); }
@keyframes ink-stroke { to { stroke-dashoffset: 0; } }
@keyframes ink-fill { to { fill-opacity: 1; } }

.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .2s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-foot { padding-top: clamp(36px, 6vh, 64px); padding-bottom: 28px; }
.dateline {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  padding-top: 16px;
}
.dateline > div { padding: 0 20px; border-left: 1px solid rgba(213, 178, 108, .22); }
.dateline > div:first-child { padding-left: 0; border-left: 0; }
.dateline dt { font-size: 12px; letter-spacing: .14em; color: var(--gold-soft); }
.dateline dd { font-family: var(--serif); font-size: 15.5px; color: #e9edf3; margin-top: 2px; }
.dateline a { text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.dateline a:hover { color: var(--gold-soft); }

/* ───────── 00 빠른 업무 안내 (히어로 아래 띠) ───────── */
.guide {
  position: relative; background: var(--white);
  padding-block: clamp(56px, 7vw, 100px) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.guide::before { /* 히어로와 맞닿는 금색 겹괘선 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid rgba(185, 138, 52, .45);
}
.guide-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 12px clamp(24px, 4vw, 64px);
  align-items: end; margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: 20px; border-bottom: 1px solid var(--navy);
}
.guide-head .sec-no { grid-column: 1 / -1; margin-bottom: 0; }
.guide-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(26px, 3vw, 40px); line-height: 1.3; letter-spacing: -.025em;
}
.guide-lead { color: var(--muted); font-size: 16px; line-height: 1.75; }
.guide-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.guide-picker { display: grid; gap: 22px; }
.g-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.g-legend {
  display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 0 0 10px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--navy);
}
.g-legend-no { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-ink); }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { position: relative; display: inline-flex; }
.g-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.g-chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(15, 31, 54, .24); border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.g-chip span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gold); flex: none;
  transition: background-color .2s, border-color .2s;
}
.g-chip:hover span { border-color: var(--gold); background: rgba(185, 138, 52, .07); }
.g-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-chip input:checked + span::before { background: var(--gold-soft); border-color: var(--gold-soft); }
.g-chip input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

.guide-card {
  position: relative; background: var(--navy); color: var(--white);
  border-top: 3px solid var(--gold); padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 28px 56px -36px rgba(15, 31, 54, .6);
}
.guide-card::after { /* 낙관 틀처럼 안쪽에 얇은 금색 테두리 */
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(213, 178, 108, .16); pointer-events: none;
}
.gc-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; letter-spacing: .12em; color: var(--gold-soft); font-weight: 600; }
.gc-pick { color: #e9edf3; letter-spacing: .02em; padding-left: 12px; border-left: 1px solid rgba(213, 178, 108, .45); font-weight: 500; }
.gc-title { margin-top: 10px; font-family: var(--serif); font-size: clamp(25px, 2.5vw, 34px); line-height: 1.3; color: #fff; }
.gc-rule { display: block; width: 56px; height: 1px; background: var(--gold-soft); margin: 18px 0; transform-origin: 0 50%; }
.gc-desc { color: #e6ebf2; font-size: 16.5px; line-height: 1.85; max-width: 40em; }
.gc-cols {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(213, 178, 108, .25);
}
.gc-h { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--gold-soft); margin-bottom: 10px; }
.gc-docnote { color: #dfe5ee; font-size: 15px; line-height: 1.75; }
.gc-doclist li {
  position: relative; padding: 6px 0 6px 18px; border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #e6ebf2; font-size: 15px; line-height: 1.55;
}
.gc-doclist li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 1px; background: var(--gold-soft); }
.gc-doclist li.more { color: #c9d1dc; font-size: 14px; }
.gc-doclist li.more::before { display: none; }
.gc-steps { counter-reset: gstep; }
.gc-steps li {
  counter-increment: gstep; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: baseline;
  padding: 4px 0; color: #e6ebf2; font-size: 15px; line-height: 1.55;
}
.gc-steps li::before {
  content: counter(gstep); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(213, 178, 108, .6); color: var(--gold-soft); font-family: var(--serif); font-size: 12px; font-weight: 700;
  transform: translateY(-1px);
}
.gc-flag { margin-top: 20px; padding: 12px 16px; border-left: 3px solid var(--gold-soft); background: rgba(213, 178, 108, .1); color: #f3ead6; font-size: 15px; }
.gc-flag strong { color: var(--gold-soft); margin-right: 6px; }
.gc-meta { margin-top: 18px; font-size: 14px; color: #c9d1dc; line-height: 1.7; }
.gc-team { color: #fff; font-weight: 600; }
.gc-actions { position: relative; z-index: 1; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gc-actions .btn-text { padding-inline: 4px; }
/* 업무를 바꿀 때: 글자는 처음부터 또렷하게 두고(투명도 변화 없음) 위치와 괘선만 움직인다 */
.guide-card.is-swap .gc-title, .guide-card.is-swap .gc-desc, .guide-card.is-swap .gc-cols { animation: slideIn .45s var(--ease); }
.guide-card.is-swap .gc-rule { animation: drawIn .7s var(--ease); }
@keyframes slideIn { from { transform: translateY(8px); } }
@keyframes drawIn { from { transform: scaleX(0); } }

.guide-fallback { display: none; }
html:not(.js) .guide-body, html:not(.js) .guide-kbd-hint { display: none; }
html:not(.js) .guide-fallback { display: block; }
.guide-fallback ul { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-fallback a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(15, 31, 54, .24);
  border-radius: 999px; color: var(--navy); font-weight: 600; text-decoration: none;
}
.guide-fallback a:hover { border-color: var(--gold); }

/* ───────── 섹션 공통 ───────── */
.section { padding-block: clamp(80px, 11vw, 148px); position: relative; }
.paper { background: var(--paper); }
.services { background: var(--white); }
.navy { background: var(--navy); color: var(--white); }
.ink { background: var(--ink); color: var(--white); }

.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-title, .sec-lead { max-width: 860px; }
.sec-no {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600;
  margin-bottom: 14px;
}
.sec-no span { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; }
.navy .sec-no, .ink .sec-no { color: var(--gold-soft); }
.sec-head .rule { margin-bottom: 26px; }
.sec-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.32; letter-spacing: -.025em; color: var(--navy);
}
.navy .sec-title, .ink .sec-title { color: #fff; }
.sec-lead { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 40em; }
.navy .sec-lead, .ink .sec-lead { color: var(--muted-light); }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────── 01 소개 ───────── */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.pull {
  border-top: 3px double var(--gold); padding-top: 22px;
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.7; color: var(--navy); font-weight: 500;
}
.pull .hanja { color: var(--gold-ink); }
.sign { margin-top: 28px; display: flex; align-items: baseline; gap: 12px; }
.sign-role { font-size: 14px; color: var(--muted); letter-spacing: .06em; }
.sign-name { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: .2em; }

.about-text { column-count: 2; column-gap: 44px; column-rule: 1px solid var(--line); font-size: 16.5px; line-height: 1.95; color: #283244; }
.about-text p + p { margin-top: 1.1em; }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-weight: 700; color: var(--gold-ink);
  font-size: 3.6em; line-height: .9; margin: .08em .12em 0 0;
}

.about-figures {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 40px); align-items: end;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-office picture { aspect-ratio: 16 / 8; overflow: hidden; background: var(--paper-2); }
.photo-sign picture { aspect-ratio: 1; overflow: hidden; background: #111; }
.photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 8px; }
.cap-no { font-family: var(--serif); color: var(--gold-ink); font-weight: 700; font-size: 12.5px; flex: none; }

.figures { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.figures-title {
  display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 17px; color: var(--navy);
}
.figures-title span { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.figures-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fig { padding: 26px 22px 28px; border-left: 1px solid var(--line); }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig-num { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(36px, 4vw, 58px); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig-unit { font-size: .38em; margin-left: 4px; color: var(--gold-ink); letter-spacing: 0; }
.fig-label { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--text); font-weight: 500; }
.fig-label small { font-size: 13px; color: var(--muted); font-weight: 400; }

/* ───────── 02 업무 분야 ───────── */
.svc-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line);
}
.svc-tab {
  position: relative; display: flex; align-items: baseline; gap: 12px; text-align: left;
  min-height: 72px; padding: 18px 20px; background: transparent; border: 0; border-left: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.svc-tab:first-child { border-left: 0; }
.svc-tab::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.svc-tab:hover { color: var(--navy); background: rgba(185, 138, 52, .05); }
.svc-tab[aria-selected="true"] { color: var(--navy); }
.svc-tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab-no { font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: var(--gold-ink); letter-spacing: .08em; }

.svc-panel { padding-top: clamp(32px, 4vw, 52px); }
.svc-panel:focus-visible { outline-offset: 8px; }
.js .svc-panel[hidden] { display: none; }
/* 탭 전환: 투명도는 건드리지 않고(전환 첫 프레임에도 글자 대비 유지) 위치만 살짝 움직인다 */
.js .svc-panel:not([hidden]) { animation: slideIn .45s var(--ease); }
@keyframes cardIn { from { transform: translateY(12px) scale(.985); } }
html:not(.js) .svc-tabs { display: none; }
html:not(.js) .svc-panel + .svc-panel { border-top: 1px solid var(--line); margin-top: 48px; }

.svc-intro { max-width: 760px; margin-bottom: 32px; }
.svc-name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--navy); line-height: 1.3; }
.svc-intro p { margin-top: 12px; color: var(--muted); }
.svc-note { margin-top: 16px !important; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--gold); color: var(--text) !important; font-size: 15.5px; }
.svc-note strong { color: var(--gold-ink); margin-right: 8px; }

.svc-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-entry { border-bottom: 1px solid var(--line); counter-increment: svc; }
.svc-term { font-size: inherit; font-weight: inherit; }
.svc-item {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 6px 10px 0; text-align: left;
  background: none; border: 0; font-size: 17px; font-weight: 600; color: var(--navy);
  transition: color .2s, padding-left .35s var(--ease);
}
.svc-item::before { content: counter(svc, decimal-leading-zero); font-family: var(--serif); font-size: 13px; color: var(--gold-ink); min-width: 22px; }
.svc-item::after { content: "→"; margin-left: auto; color: var(--gold); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.svc-item:hover { padding-left: 6px; }
.svc-item:hover::after, .svc-item[aria-pressed="true"]::after { opacity: 1; transform: none; }
.svc-item[aria-pressed="true"] { color: var(--gold-ink); }
.svc-desc { padding: 0 0 18px 36px; color: var(--muted); font-size: 15.5px; }
.js .svc-desc { display: none; }

.svc-detail {
  position: sticky; top: calc(var(--header-h-compact) + 24px);
  min-height: 280px; padding: clamp(28px, 3.5vw, 48px);
  background: var(--navy); color: var(--white);
  border-top: 3px solid var(--gold);
}
html:not(.js) .svc-detail { display: none; }
html:not(.js) .svc-body { grid-template-columns: 1fr; }
.svc-detail .d-kicker { font-size: 13px; letter-spacing: .16em; color: var(--gold-soft); font-weight: 600; }
.svc-detail .d-title { margin-top: 14px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; color: #fff; }
.svc-detail .d-rule { display: block; width: 56px; height: 1px; background: var(--gold-soft); margin: 22px 0; transform-origin: 0 50%; }
.svc-detail .d-body { color: #eef1f6; font-size: 17px; line-height: 1.9; max-width: 32em; }
.svc-detail .d-team { margin-top: 18px; font-size: 14.5px; color: #dfe5ee; }
.svc-detail .d-team strong { color: var(--gold-soft); font-weight: 600; margin-right: 8px; letter-spacing: .06em; }
.svc-detail .d-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-detail .d-foot { margin-top: 22px; font-size: 14.5px; color: #c9d1dc; }
.svc-detail .d-foot a { color: var(--gold-soft); }
/* 항목 전환: 투명도 0에서 시작하던 효과를 없애 첫 프레임부터 글자가 또렷하다 */
.svc-detail.is-swap .d-title, .svc-detail.is-swap .d-body { animation: slideIn .4s var(--ease); }
.svc-detail.is-swap .d-rule { animation: drawIn .6s var(--ease); }

.svc-link { margin-top: 28px; }
.svc-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.disclaimer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ───────── 03 진행 절차 ───────── */
.process-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.timeline { position: relative; padding-left: 0; }
.timeline-track { position: absolute; left: 31px; top: 12px; bottom: 12px; width: 1px; background: rgba(213, 178, 108, .2); }
.timeline-fill { position: absolute; inset: 0; background: var(--gold-soft); transform-origin: 50% 0; transform: scaleY(var(--fill, 1)); }
.js .timeline-fill { transform: scaleY(var(--fill, 0)); }
.steps { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step-no {
  position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid rgba(213, 178, 108, .5); border-radius: 50%; background: var(--navy);
  font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--gold-soft);
  transition: background-color .4s, color .4s, border-color .4s;
}
.step-body { padding-top: 12px; }
.step-body h3 { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: #fff; line-height: 1.4; }
.step-body p { margin-top: 8px; color: var(--muted-light); }
.step-tag { display: inline-block; margin-top: 12px !important; padding: 2px 10px; border: 1px solid rgba(213, 178, 108, .4); font-size: 12.5px; color: var(--gold-soft) !important; letter-spacing: .04em; }
/* 아직 지나지 않은 단계도 본문 대비(AA)를 유지한다: 투명도 대신 제목 색과 번호 원으로만 구분 */
.js .step .step-body h3 { color: #cfd6e0; transition: color .5s; }
.js .step.is-active .step-body h3 { color: #fff; }
.js .step.is-active .step-body p:not(.step-tag) { color: #d4dae4; }
.js .step.is-active .step-no { background: var(--gold-soft); color: var(--navy-deep); border-color: var(--gold-soft); }
.process-note { margin-top: 36px; padding: 14px 18px; border-left: 3px solid var(--gold-soft); background: rgba(255, 255, 255, .04); color: #dfe5ee; font-size: 15.5px; }
.cost-lead { margin-bottom: 4px; }

.process-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h-compact) + 32px); }
.note-card { padding: 28px; border: 1px solid rgba(213, 178, 108, .3); background: rgba(255, 255, 255, .03); }
.note-card h3 { font-family: var(--serif); font-size: 20px; color: var(--gold-soft); margin-bottom: 14px; }
.note-card p { color: #d4dae4; font-size: 15.5px; }
.cost > div { padding: 12px 0; border-top: 1px solid rgba(213, 178, 108, .2); }
.cost dt { font-weight: 700; color: #fff; }
.cost dd { color: var(--muted-light); font-size: 15px; margin-top: 2px; }
.note-card .small { margin-top: 10px; font-size: 14px; color: var(--muted-light); }
.note-links { margin-top: 12px; }
.note-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--gold-soft); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ───────── 04 준비서류 ───────── */
.docs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.doc-types { border: 0; padding: 0; margin: 0; min-width: 0; position: sticky; top: calc(var(--header-h-compact) + 24px); }
html:not(.js) .doc-types, html:not(.js) .doc-toolbar { display: none; }
html:not(.js) .docs { grid-template-columns: 1fr; }
.doc-legend { font-size: 12.5px; letter-spacing: .18em; color: var(--gold-ink); font-weight: 600; padding: 0; margin-bottom: 12px; }
.doc-type-list { display: grid; border-top: 1px solid var(--navy); }
.doc-type { position: relative; display: block; border-bottom: 1px solid var(--line); cursor: pointer; }
.doc-type input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.doc-type span {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 14px 0 0;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--muted);
  transition: color .2s, padding .3s var(--ease), background-color .2s;
}
.doc-type span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); transition: background-color .2s; }
.doc-type:hover span { color: var(--navy); padding-left: 6px; }
.doc-type input:checked + span { color: var(--navy); padding-left: 14px; background: var(--white); }
.doc-type input:checked + span::after { background: var(--gold); }
.doc-type input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: -2px; }

.doc-sheet {
  background: var(--white); border: 1px solid var(--line); padding: clamp(22px, 3.5vw, 44px);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(15, 31, 54, .35);
}
.doc-toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--navy); margin-bottom: 8px; }
.doc-progress { flex: 1 1 220px; }
.doc-count { font-size: 15px; color: var(--muted); }
.doc-count strong { font-family: var(--serif); font-size: 26px; color: var(--navy); }
.doc-bar { margin-top: 8px; height: 3px; background: var(--paper-2); overflow: hidden; }
.doc-bar span { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .45s var(--ease); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.js .checklist[hidden] { display: none; }
html:not(.js) .checklist + .checklist { margin-top: 36px; }
.cl-title { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); color: var(--navy); padding: 20px 0 4px; }
.cl-group { padding-top: 18px; }
.cl-group h4 { font-size: 13px; letter-spacing: .1em; color: var(--gold-ink); font-weight: 700; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.cl-group li { border-bottom: 1px dashed rgba(15, 31, 54, .12); }
.cl-group label { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; min-height: 48px; cursor: pointer; }
.cl-group input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; margin: 2px 0 0;
  width: 24px; height: 24px; border: 1.5px solid var(--navy); border-radius: 2px; background: var(--white);
  display: grid; place-items: center; transition: background-color .2s, border-color .2s; cursor: pointer;
}
.cl-group input[type="checkbox"]::after {
  content: ""; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease);
}
.cl-group input[type="checkbox"]:checked { background: var(--navy); }
.cl-group input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.cl-group input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.doc-notice { margin-top: 28px; padding: 14px 16px; background: var(--paper); font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--gold); }

/* ───────── 05 대표 실적 ───────── */
.projects { overflow: hidden; }
.proj-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.proj-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(213, 178, 108, .45); background: transparent; color: #e6eaf0; font-size: 15px; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--gold-soft); color: #fff; }
.chip[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
html:not(.js) .proj-filter, html:not(.js) .gallery-nav { display: none; }
.proj-sum { font-size: 15px; color: #d4dae4; text-align: right; }
.proj-sum strong { font-family: var(--serif); font-size: 28px; color: var(--gold-soft); margin: 0 2px; font-variant-numeric: tabular-nums; }
.proj-sum-label { font-size: 12.5px; letter-spacing: .12em; color: var(--gold-soft); margin-right: 6px; font-weight: 600; }
.proj-sum-note { font-size: 13.5px; color: var(--muted-light); margin-top: 2px; }

.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: clamp(14px, 2vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.card { flex: 0 0 clamp(264px, 31%, 400px); scroll-snap-align: start; }
.card[hidden] { display: none; }
.card-btn {
  display: block; width: 100%; padding: 0; text-align: left; background: transparent; border: 0; color: inherit;
}
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); position: relative; }
.card-img::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(213, 178, 108, .25); pointer-events: none; }
.card-img picture { height: 100%; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.card-btn:hover .card-img img, .card-btn:focus-visible .card-img img { transform: scale(1.04); filter: saturate(1); }
.card-meta { display: grid; gap: 2px; padding: 16px 2px 0; border-top: 1px solid var(--gold); margin-top: 14px; }
.card-type { font-size: 12.5px; letter-spacing: .12em; color: var(--gold-soft); }
.card-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.45; }
.card-units { font-size: 14.5px; color: var(--muted-light); font-variant-numeric: tabular-nums; }
.js .card.is-entering { animation: cardIn .5s var(--ease) both; }

.gallery-nav { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.gnav-btn {
  width: 48px; height: 48px; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(213, 178, 108, .5); background: transparent; color: var(--gold-soft); font-size: 18px; border-radius: 50%;
  transition: background-color .2s, color .2s, opacity .2s;
}
.gnav-btn:hover:not(:disabled) { background: var(--gold-soft); color: var(--navy-deep); }
.gnav-btn:disabled { opacity: .35; cursor: default; }
.gallery-meter { flex: 1; height: 1px; background: rgba(213, 178, 108, .22); position: relative; overflow: hidden; }
.gallery-meter span { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: var(--gold-soft); transform-origin: 0 50%; transform: translateX(var(--mx, 0%)) scaleX(var(--mw, 1)); }
.proj-note { margin-top: 24px; font-size: 13.5px; color: var(--muted-light); }

/* 라이트박스 */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(7, 15, 28, .97); color: var(--white);
}
.lightbox::backdrop { background: rgba(7, 15, 28, .8); }
.lightbox[open] { display: block; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-inner { position: relative; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 72px clamp(16px, 7vw, 120px) 24px; gap: 20px; }
.lb-stage { min-height: 0; display: grid; place-items: center; touch-action: pan-y; user-select: none; }
.lb-stage picture { max-width: 100%; max-height: 100%; display: contents; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 250px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .25s, transform .3s var(--ease); }
.lb-img.is-loading { opacity: .2; }
.lb-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; align-items: baseline; border-top: 1px solid rgba(213, 178, 108, .35); padding-top: 14px; max-width: 1100px; width: 100%; margin-inline: auto; }
.lb-count { grid-row: span 3; font-family: var(--serif); color: var(--gold-soft); font-size: 15px; font-variant-numeric: tabular-nums; }
.lb-title { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; }
.lb-info { color: #d4dae4; font-size: 15.5px; }
.lb-note { color: var(--muted-light); font-size: 13px; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid rgba(213, 178, 108, .5); background: rgba(10, 22, 40, .7); color: var(--gold-soft); border-radius: 50%; font-size: 20px;
  transition: background-color .2s, color .2s;
}
.lb-btn:hover { background: var(--gold-soft); color: var(--navy-deep); }
.lb-prev { left: clamp(8px, 2vw, 32px); top: 45%; }
.lb-next { right: clamp(8px, 2vw, 32px); top: 45%; }
.lb-close { right: clamp(8px, 2vw, 32px); top: 12px; font-size: 28px; }

/* ───────── 06 구성원 ───────── */
.people-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ceo { border-top: 3px double var(--gold); padding-top: 24px; }
.ceo-role { font-size: 14px; letter-spacing: .12em; color: var(--gold-ink); font-weight: 600; }
.ceo-name { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); color: var(--navy); letter-spacing: .14em; line-height: 1.2; margin-top: 6px; }
.ceo-cv { margin-top: 26px; border-top: 1px solid var(--line); }
.ceo-cv li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.cv-year { font-family: var(--serif); font-weight: 700; color: var(--gold-ink); font-size: 15px; }
.col-title { font-family: var(--serif); font-size: 21px; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid var(--navy); display: flex; align-items: baseline; gap: 12px; }
.col-sub { font-family: var(--sans); font-size: 13px; color: var(--gold-ink); font-weight: 600; letter-spacing: .08em; }
.partners { padding-top: 27px; }
.partner-list li { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.p-role { font-size: 14px; color: var(--muted); min-width: 48px; }
.p-name { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); letter-spacing: .14em; }

.teams { margin-top: clamp(56px, 7vw, 96px); }
.team-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line); margin-top: 0; }
.team { padding: 24px 22px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background-color .3s; }
.team:hover { background: var(--white); }
.team-no { font-family: var(--serif); color: var(--gold-ink); font-size: 14px; font-weight: 700; }
.team h4 { font-family: var(--serif); font-size: 20px; color: var(--navy); margin-top: 6px; }
.team-note { background: var(--navy); color: #dfe4ec; border-right-color: var(--navy); }
.team-note:hover { background: var(--navy-2); }
.team.team-note .team-no { color: var(--gold-soft); }
.team.team-note h4 { color: #fff; }
.team.team-note p:last-child { color: #dfe4ec; }
.team p:last-child { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ───────── 07 디지털 ───────── */
.digital-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.dcard { position: relative; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(213, 178, 108, .3); background: linear-gradient(160deg, rgba(255, 255, 255, .04), transparent 60%); display: flex; flex-direction: column; }
.dcard::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); }
.dcard-kicker { font-size: 13px; letter-spacing: .12em; color: var(--gold-soft); }
.dcard-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); margin-top: 8px; margin-bottom: 16px; }
.dcard > p { color: #d4dae4; }
.dcard-url { margin-top: 12px; font-family: var(--serif); color: var(--gold-soft) !important; letter-spacing: .04em; }
.dcard-list li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #d4dae4; }
.dcard-list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 1px; background: var(--gold-soft); }
.dcard-meta { margin-top: 14px; font-size: 14px; color: var(--muted-light) !important; }
.dcard-actions { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.digital-note { margin-top: 28px; font-size: 14.5px; color: #c9d1dc; display: grid; gap: 6px; }
.digital-note a { color: var(--gold-soft); }
.digital-site-note { display: flex; align-items: center; gap: 10px; color: #e6ebf2; }
.digital-site-note::before { content: ""; width: 18px; height: 1px; background: var(--gold-soft); flex: none; }

/* ───────── 08 FAQ ───────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sec-head-side { position: sticky; top: calc(var(--header-h-compact) + 32px); margin-bottom: 0; }
.faq-call { margin-top: 28px; }
.faq-list { border-top: 1px solid var(--navy); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 14px 4px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; color: var(--navy); line-height: 1.5;
}
.qa summary::-webkit-details-marker { display: none; }
.q-mark { font-size: 14px; color: var(--gold-ink); flex: none; width: 20px; }
.q-text { flex: 1; }
.q-icon { position: relative; width: 16px; height: 16px; flex: none; }
.q-icon::before, .q-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--gold); transition: transform .35s var(--ease); }
.q-icon::after { transform: rotate(90deg); }
.qa[open] .q-icon::after { transform: rotate(0); }
.qa summary:hover .q-text { color: var(--gold-ink); }
.qa-body { padding: 0 4px 26px 40px; color: #323c4e; font-size: 16px; line-height: 1.9; }
.qa-body a { color: var(--gold-ink); font-weight: 600; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* ───────── 09 연락처 ───────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.label { font-size: 12.5px; letter-spacing: .18em; color: var(--gold-soft); }
.addr-text { margin-top: 10px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.5; font-weight: 700; color: #fff; }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit-card {
  margin-top: 32px; padding: 24px 26px 22px; border: 1px solid rgba(213, 178, 108, .32);
  background: rgba(255, 255, 255, .03); position: relative;
}
.visit-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--gold); }
.visit-title { font-family: var(--serif); font-size: 20px; color: var(--gold-soft); margin-bottom: 10px; }
.visit-list { counter-reset: visit; }
.visit-list li {
  counter-increment: visit; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px;
  padding: 10px 0; border-top: 1px solid rgba(213, 178, 108, .16); color: #e1e6ee; font-size: 15.5px; line-height: 1.7;
}
.visit-list li::before { content: counter(visit, decimal-leading-zero); font-family: var(--serif); font-size: 13px; color: var(--gold-soft); padding-top: 2px; }
.visit-list a { color: var(--gold-soft); font-weight: 600; display: inline-block; min-height: 24px; }
.c-small { font-size: 15px; color: #d4dae4; }
.contact-list { border-top: 1px solid rgba(213, 178, 108, .45); }
.c-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(213, 178, 108, .2); }
.c-row dt { font-size: 14px; color: var(--gold-soft); letter-spacing: .06em; }
.c-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.c-big { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; text-decoration: none; letter-spacing: .02em; color: #fff; }
a.c-big:hover { color: var(--gold-soft); }
.c-mail { font-size: 18px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(213, 178, 108, .5); display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.c-mail:hover { color: var(--gold-soft); }

/* ───────── 푸터 ───────── */
.site-footer { background: var(--navy-deep); color: #c7cfdb; padding: 56px 0 40px; font-size: 14.5px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; }
.foot-brand { display: flex; align-items: baseline; gap: 12px; }
.foot-name { font-family: var(--serif); font-size: 20px; font-weight: 700; color: #fff; }
.foot-en { font-size: 11px; letter-spacing: .4em; color: var(--gold-soft); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: #dfe4ec; }
.foot-legal li:first-child a { padding-left: 0; }
.foot-legal a strong { color: var(--gold-soft); }
.foot-legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-members { padding-top: 22px; font-size: 15px; color: #e6ebf2; }
.foot-legal a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.foot-info { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 14px; }
.foot-info > div { display: flex; gap: 8px; }
.foot-info dt { color: #8e99ab; }
.foot-info a { text-decoration: none; }
.foot-info a:hover { color: var(--gold-soft); }
.copyright { margin-top: 26px; color: #8e99ab; font-size: 13.5px; }

/* ───────── 모바일 빠른 실행 바 ───────── */
.quickbar { display: none; }

/* ───────── 토스트 ───────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 150;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; background: var(--white); color: var(--navy-deep); font-weight: 600; font-size: 15px;
  border-left: 3px solid var(--gold); box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  transition: opacity .3s, transform .35s var(--ease); max-width: calc(100vw - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ───────── 사이트 검색 (⌘K / Ctrl+K) ───────── */
.search {
  width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(660px, calc(100dvh - 48px));
  margin: clamp(16px, 9vh, 96px) auto auto; padding: 0; border: 0; border-top: 3px solid var(--gold);
  background: var(--white); color: var(--text); box-shadow: 0 36px 90px rgba(7, 15, 28, .5);
  overflow: hidden;
}
.search::backdrop { background: rgba(7, 15, 28, .72); }
.search[open] { display: flex; flex-direction: column; animation: searchIn .3s var(--ease); }
@keyframes searchIn { from { transform: translateY(-10px); } }
.search-inner { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.search-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 0 24px; }
.search-title { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 16px; color: var(--navy); }
.search-kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.search-close {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); font-size: 26px; line-height: 1;
}
.search-close:hover { border-color: var(--gold); }
.search-field {
  display: flex; align-items: center; gap: 12px; margin: 8px 24px 0; padding: 0 2px;
  border-bottom: 1px solid var(--navy); transition: box-shadow .2s, border-color .2s;
}
.search-field:focus-within { border-bottom-color: var(--gold-ink); box-shadow: 0 1px 0 var(--gold-ink); }
.search-field .ico { width: 22px; height: 22px; color: var(--gold-ink); }
.search-field input {
  flex: 1; min-width: 0; min-height: 58px; border: 0; background: transparent; outline: none;
  font-size: 19px; font-weight: 500; color: var(--navy);
}
.search-field input::placeholder { color: #6b7385; }
.search-results { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 12px 12px; }
.search-group-label { padding: 14px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold-ink); }
.search-option {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 16px; align-items: center;
  min-height: 52px; padding: 9px 12px; border-left: 2px solid transparent; cursor: pointer;
}
.so-title { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.45; }
.so-sub { grid-column: 1; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-go { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-ink); font-size: 18px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease); }
.search-option[aria-selected="true"] { background: var(--paper); border-left-color: var(--gold); }
.search-option[aria-selected="true"] .so-go { opacity: 1; transform: none; }
.search-option mark { background: rgba(213, 178, 108, .38); color: inherit; padding: 0 1px; }
.search-empty { padding: 22px 12px; color: var(--muted); font-size: 15px; }
.search-help {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 24px 14px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.search-help .kbd { color: var(--navy); border-color: var(--line); background: var(--paper); margin-right: 3px; }
.kbd-row { white-space: nowrap; }
.search-lock { overflow: hidden; }

/* 검색·안내에서 찾아간 위치를 잠깐 표시 */
.is-flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { background-color: rgba(213, 178, 108, .32); } 100% { background-color: transparent; } }

/* ───────── 반응형 ───────── */
@media (max-width: 1260px) {
  .gnav a { padding: 0 8px; font-size: 14px; }
  .gnav a::after { left: 8px; right: 8px; }
}
@media (max-width: 1180px) {
  .js .gnav { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hbtn-search .hbtn-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .hbtn-search .kbd { display: inline-block; }
  html:not(.js) .header-main { flex-wrap: wrap; height: auto; padding-block: 8px; }
  html:not(.js) .gnav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
}
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; justify-self: start; width: min(64%, 360px); margin: 6px 0 12px 14px; }
  .about-grid, .process-grid, .docs, .people-grid, .faq-grid, .contact-grid, .guide-body, .guide-head { grid-template-columns: minmax(0, 1fr); }
  .guide-picker { grid-template-columns: minmax(0, 1fr); }
  .process-aside, .doc-types, .sec-head-side { position: static; }
  .doc-type-list { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 8px; }
  .doc-type { border: 1px solid var(--line); background: var(--white); }
  .doc-type span { justify-content: center; padding: 0 10px; font-size: 16px; text-align: center; }
  .doc-type span::after { display: none; }
  .doc-type:hover span { padding-left: 10px; }
  .doc-type input:checked + span { background: var(--navy); color: #fff; padding-left: 10px; }
  .figures-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fig:nth-child(4) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+4) { border-top: 1px solid var(--line); }
  .fig:nth-child(5) { grid-column: span 2; }
  .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-body { grid-template-columns: minmax(0, 1fr); }
  .js .svc-detail { display: none; }
  .js .svc-entry.is-active .svc-desc { display: block; animation: slideIn .35s var(--ease); }
  .svc-item::after { content: "+"; opacity: 1; transform: none; font-size: 20px; }
  .svc-item[aria-pressed="true"]::after { content: "−"; }
  .about-figures { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .masthead-strip { display: none; }
  .header-main { height: 64px; gap: 12px; }
  .site-header.is-compact .header-main { height: 58px; }
  .brand-mark { width: 36px; }
  .site-header.is-compact .brand-mark { width: 32px; }
  .brand-name { font-size: 16px; }
  .brand-en { font-size: 9.5px; }
  .hbtn-line { display: none; }
  .hbtn-gold, .hbtn-search { width: 44px; height: 44px; padding: 0; min-width: 0; }
  .hbtn-label, .hbtn-search .hbtn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hbtn-search .kbd { display: none; }
  .header-actions { gap: 6px; }
  .menu-toggle-label { display: none; }

  .guide { padding-block: 48px 56px; }
  .guide-head { padding-bottom: 16px; }
  .g-chip span { font-size: 14.5px; padding: 0 14px; }
  .guide-card { padding: 24px 20px 26px; margin-inline: calc(var(--gutter) * -0.4); }
  .guide-card::after { inset: 6px; }
  .gc-cols { grid-template-columns: minmax(0, 1fr); }
  .gc-actions .btn { flex: 1 1 auto; }

  .search { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-top-width: 3px; box-shadow: none; }
  .search-top { padding: 10px 10px 0 20px; }
  .search-field { margin: 6px 20px 0; }
  .search-field input { font-size: 18px; }
  .search-results { padding-inline: 8px; }
  .search-help .kbd-row { display: none; }
  .search-help { padding: 10px 20px calc(14px + env(safe-area-inset-bottom)); }
  .proj-sum { text-align: left; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); }
  .hero-mark { width: 62%; margin-left: 12px; }
  .hero-mark::before { inset: -10px -10px; }
  .glyph-gloss { font-size: 12px; margin-top: 4px; }
  .hero-title { font-size: clamp(30px, 8.4vw, 40px); margin-top: 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .btn-text { justify-content: flex-start; }
  .dateline { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dateline > div { padding: 0; border-left: 0; display: flex; gap: 14px; align-items: baseline; }
  .dateline dt { min-width: 64px; }

  .about-text { column-count: 1; }
  .about-figures { grid-template-columns: minmax(0, 1fr); }
  .photo-sign { width: 56%; }
  .figures-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig { padding: 20px 14px 22px; }
  .fig:nth-child(n) { border-left: 1px solid var(--line); padding-left: 14px; border-top: 1px solid var(--line); }
  .fig:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fig:first-child, .fig:nth-child(2) { border-top: 0; }
  .fig:last-child { grid-column: span 2; }

  .svc-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-tab { min-height: 56px; padding: 12px 14px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .svc-tab:nth-child(3) { border-left: 0; }
  .svc-tab::after { top: auto; bottom: -1px; }
  .svc-desc { padding-left: 36px; }

  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 32px; }
  .step-no { width: 48px; height: 48px; font-size: 16px; }
  .timeline-track { left: 23px; }
  .step-body { padding-top: 8px; }

  .doc-type-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-sheet { padding: 20px 16px; margin-inline: calc(var(--gutter) * -0.4); }
  .doc-actions { width: 100%; }
  .doc-actions .tbtn { flex: 1; padding: 0 10px; }

  .card { flex-basis: 80%; }
  .people-grid { gap: 40px; }
  .team-list { grid-template-columns: minmax(0, 1fr); }
  .digital-grid { grid-template-columns: minmax(0, 1fr); }
  .dcard-actions .btn { width: 100%; }
  .qa summary { gap: 12px; }
  .qa-body { padding-left: 32px; }
  .c-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lb-inner { padding: 64px 12px 20px; }
  .lb-img { max-height: calc(100dvh - 300px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; width: 48px; height: 48px; }
  .lb-meta { padding-right: 112px; grid-template-columns: minmax(0, 1fr); }
  .lb-count { grid-row: auto; }
  .lb-prev { right: 68px; left: auto; }
  .lb-next { right: 12px; }

  .quickbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(10, 22, 40, .97); border-top: 1px solid rgba(213, 178, 108, .35);
    padding-bottom: env(safe-area-inset-bottom);
    transition: transform .35s var(--ease);
  }
  .quickbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 58px; color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 600;
  }
  .quickbar a + a { border-left: 1px solid rgba(255, 255, 255, .08); }
  .quickbar .ico { width: 20px; height: 20px; color: var(--gold-soft); }
  .quickbar.is-hidden { transform: translateY(110%); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .brand-name { font-size: 14.5px; }
  .brand { gap: 9px; }
  .brand-mark, .site-header.is-compact .brand-mark { width: 30px; }
  .doc-type span { font-size: 15px; }
}
@media (max-width: 359px) {
  .brand-en { display: none; }
  .brand-name { font-size: 13.5px; }
}

/* ───────── 동작 줄이기 ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .rule { transform: none; }
  .js .glyph path { stroke-dashoffset: 0; fill-opacity: 1; }
  .js .timeline-fill { transform: scaleY(var(--fill, 0)); }
}

/* ───────── 인쇄 ───────── */
@media print {
  @page { margin: 16mm; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  body, .paper, .services, .doc-sheet { background: #fff !important; color: #000; font-size: 11pt; }
  .site-header, .quickbar, .menu, .toast, .lightbox, .search, .guide, .hero-bg, .gallery-nav, .proj-filter, .skip-link, .faq-call { display: none !important; }
  .navy, .ink, .hero { background: #fff !important; color: #000 !important; }
  .hero { min-height: 0; padding-top: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .rule { transform: none !important; }
  .js .glyph path { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; fill: #000 !important; }

  /* '인쇄' 버튼으로 인쇄할 때는 선택한 체크리스트만 */
  body.print-checklist > *:not(main) { display: none !important; }
  body.print-checklist main > section:not(#documents) { display: none !important; }
  body.print-checklist #documents { padding: 0 !important; }
  body.print-checklist #documents .sec-head .sec-no,
  body.print-checklist #documents .sec-head .rule,
  body.print-checklist #documents .sec-lead,
  body.print-checklist .doc-types,
  body.print-checklist .doc-actions,
  body.print-checklist .doc-bar { display: none !important; }
  body.print-checklist #documents .sec-head { margin-bottom: 8mm; }
  body.print-checklist #documents .sec-title { font-size: 18pt; color: #000; }
  body.print-checklist .docs { display: block; }
  body.print-checklist .doc-sheet { border: 0; box-shadow: none; padding: 0; }
  body.print-checklist .doc-toolbar { border-bottom: 1px solid #000; padding-bottom: 3mm; }
  body.print-checklist .cl-group input[type="checkbox"] { border-color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.print-checklist .cl-group input[type="checkbox"]:checked { background: #000; }
  body.print-checklist .cl-group li { break-inside: avoid; }
  body.print-checklist .print-only { display: block; margin-top: 8mm; font-size: 9.5pt; color: #333; }
}

/* 본문 속 링크도 누르기 쉬운 높이(24px 이상)를 확보한다 */
.qa-body a, .digital-note a, .foot-info a, .dateline a, .svc-detail .d-foot a { display: inline-block; min-height: 24px; line-height: 24px; }
.foot-info dd, .foot-info dt { line-height: 24px; }

.nowrap { white-space: nowrap; }
