/* 별하세무회계 — 밤하늘과 금색 별
   명조 제목 · 고딕 본문 · 넓은 여백 · 가는 금색 선 · 4각 별 하나를 사이트 전체의 기호로 */
:root {
  --gold: #D5AF60;
  --gold-l: #E9D7AE;
  --gold-d: #8A6A2B;
  --ink: #24211D;        /* 차콜 */
  --night: #0E1320;      /* 밤하늘 */
  --sub: #655E53;
  --mute: #9A9183;
  --paper: #FFFDF9;
  --stone: #F5EFE4;      /* 크림 섹션 바탕 */
  --photo: #EEEEED;      /* 프로필 사진 바탕과 같은 색 */
  --line: #E7DFD1;
  --rust: #B4532A;
  --kakao: #FEE500;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --wrap: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 4각 별 — 머리글·목록·띠 구분 표시에 같은 모양을 쓴다 */
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.9 8.2 15.8 11.1 24 12 15.8 12.9 12.9 15.8 12 24 11.1 15.8 8.2 12.9 0 12 8.2 11.1 11.1 8.2 12 0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1rem; line-height: 1.75; color: var(--ink); background: var(--paper);
  word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.35; letter-spacing: -0.02em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; line-height: 1.32; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 96px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.num, .v, .amount, .dday { font-variant-numeric: tabular-nums; }

/* 작은 머리글: ✦ 원칙 */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--gold-d); letter-spacing: .04em; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 11px; height: 11px; flex: none; background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.lead { font-size: 1.05rem; color: var(--sub); }
.muted { color: var(--sub); }
.rust { color: var(--rust); }
.mark::before { content: ""; display: inline-block; width: .7em; height: .7em; margin-right: .4em; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: 0 30px; border-radius: 2px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .98rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-kakao { background: var(--kakao); color: #191600; }
.btn-kakao:hover { background: #F2D900; }
.btn-kakao::before { content: ""; width: 19px; height: 17px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 0C4.5 0 0 3.5 0 7.8c0 2.8 1.9 5.2 4.7 6.6l-1 3.6 4.1-2.7c.7.1 1.4.2 2.2.2 5.5 0 10-3.5 10-7.7S15.5 0 10 0z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18'%3E%3Cpath d='M10 0C4.5 0 0 3.5 0 7.8c0 2.8 1.9 5.2 4.7 6.6l-1 3.6 4.1-2.7c.7.1 1.4.2 2.2.2 5.5 0 10-3.5 10-7.7S15.5 0 10 0z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .2s; }
.text-link:hover { color: var(--gold-d); }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: rgba(138, 106, 43, .22); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { width: 172px; }
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink); padding: 6px 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { transform: scaleX(1); }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--gold-d); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; margin: auto; transition: transform .2s, background .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* 첫 화면 — 별이 뜬 밤하늘 위 가운데 정렬 (별하 = Stellar) */
.hero { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: url("/assets/img/night.svg") center/cover no-repeat,
              radial-gradient(ellipse 80% 60% at 50% 110%, rgba(213, 175, 96, .22), transparent 60%),
              linear-gradient(180deg, #0E1320 0%, #161C2B 55%, #231F1B 100%);
  min-height: 100vh; min-height: 100svh; display: grid; align-items: center; margin-top: -78px; }
/* 지평선처럼 떠오르는 금색 곡선 — 가운데가 가장 밝고 양 끝은 어둠에 묻힌다 */
.hero-arc { position: absolute; width: 1100px; height: 1100px; left: 50%; top: 67%; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(213, 175, 96, .55);
  box-shadow: 0 -40px 120px -60px rgba(213, 175, 96, .45), inset 0 40px 120px -80px rgba(213, 175, 96, .35);
  -webkit-mask: linear-gradient(180deg, #000 0%, #000 12%, transparent 46%); mask: linear-gradient(180deg, #000 0%, #000 12%, transparent 46%);
  animation: rise 2.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateX(-50%) translateY(60px); } }
/* 북두칠성 — 처음 열 때 한 번 선이 이어진다 (별하 = Stellar) */
.dipper { position: absolute; z-index: 1; width: clamp(300px, 30vw, 560px); right: 5%; top: 13%; overflow: visible; pointer-events: none; }
.dipper-line { fill: none; stroke: rgba(213, 175, 96, .72); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s .6s ease-in-out forwards; }
.dipper-stars circle { fill: #F3E4C0; filter: drop-shadow(0 0 4px rgba(243, 228, 192, .9)); animation: blink 5s ease-in-out infinite alternate; }
.dipper-stars circle:nth-child(2n) { animation-delay: -2.5s; }
.dipper-stars circle:nth-child(3n) { animation-delay: -1.2s; animation-duration: 6.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 0% { opacity: .55; } 100% { opacity: 1; } }
.hero-inner { position: relative; padding: 140px 0 120px; display: flex; flex-direction: column; align-items: center; }
.hero-en { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 1rem; font-weight: 400; letter-spacing: .14em; color: var(--gold); margin: 0 0 30px; }
.hero-en::before, .hero-en::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, rgba(213, 175, 96, .7)); }
.hero-en::after { transform: scaleX(-1); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 5.6rem); font-weight: 500; line-height: 1.26; letter-spacing: -0.04em; margin: 0 0 30px; text-shadow: 0 2px 40px rgba(0, 0, 0, .4); }
.hero h1 em { font-style: normal; color: inherit; }
.hero-sub { color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.25vw, 1.25rem); line-height: 1.9; margin: 0 0 44px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .btn { min-width: 210px; min-height: 58px; font-size: 1.02rem; }
.btn-white { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-white:hover { background: #fff; border-color: #fff; }
.hero .btn-line { border-color: rgba(255, 255, 255, .35); }
.hero .btn-line:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 업무 분야가 옆으로 흐르는 띠 */
.ticker { background: var(--ink); color: #E9E2D3; overflow: hidden; border-top: 1px solid rgba(213, 175, 96, .25); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { padding: 20px 28px; font-family: var(--serif); font-size: 1.02rem; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 9px; height: 9px; margin-left: 28px; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* 첫 화면에서는 메뉴가 투명하게 얹힌다 */
.brand .logo-light { display: none; }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .logo-dark { display: none; }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .logo-light { display: block; }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .site-nav ul a { color: rgba(255, 255, 255, .88); }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .site-nav ul a:hover { color: var(--gold); }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .site-nav .btn-primary { background: transparent; border-color: rgba(255, 255, 255, .6); }
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .menu-bars,
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .menu-bars::before,
:is(.page-home, .page-services) .site-header:not(.scrolled):not(.menu-open) .menu-bars::after { background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 30px; }
.chips li { font-size: .85rem; font-weight: 600; color: #4E483F; border: 1px solid rgba(35, 32, 28, .22); border-radius: 999px; padding: 4px 13px; }

/* 숫자 띠 */
.figures { border-bottom: 1px solid var(--line); }
.figures-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 44px 32px 40px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure .v { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
.figure .v small { font-family: inherit; font-size: .46em; margin-left: 5px; color: var(--gold-d); font-weight: 500; }
.figure .k { font-weight: 600; margin-top: 12px; font-size: 1.05rem; }
.figure p { margin: 4px 0 0; color: var(--sub); font-size: 1rem; line-height: 1.6; }

/* 섹션 */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.stone { background: var(--stone); }
.section.tight-top { padding-top: 0; }
.section.cream { background: var(--stone); } /* 이전 이름 호환 */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lead { margin: 0; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.split-head h2 { margin: 0; }
.split-head p { color: var(--sub); margin: 0 0 18px; font-size: 1.12rem; }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 80px); }
.page-head .lead { max-width: 42em; margin: 0; }
.page-head + .section { padding-top: 0; }

/* 원칙 4칸 — 가는 세로선 */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.pillar { padding: 28px 26px 8px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar::before { content: ""; display: block; width: 14px; height: 14px; color: var(--gold); margin-bottom: 22px; background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; }
.pillar p { color: var(--sub); font-size: 1.02rem; margin: 0; line-height: 1.7; }

/* 업무 분야 목록 */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.svc-list a { display: grid; grid-template-columns: 70px 1.1fr 1.6fr 40px; gap: 24px; align-items: center; padding: 30px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .2s; }
.svc-list a:hover { background: var(--paper); padding-left: 16px; padding-right: 16px; }
.section.stone .svc-list a:hover { background: var(--paper); }
.svc-list .no { font-family: var(--serif); color: var(--gold-d); font-size: 1.05rem; }
.svc-list strong { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
.svc-list span.desc { color: var(--sub); font-size: 1.05rem; }
.svc-list .arrow { justify-self: end; font-size: 1.2rem; color: var(--gold-d); }

/* 결과보고서 소개 */
.report-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.mini-report { background: #fff; border-radius: 4px; box-shadow: 0 50px 80px -40px rgba(36, 33, 29, .45), 0 0 0 1px var(--line); border-top: 2px solid var(--gold); padding: 30px 32px 26px; position: relative; }
.mini-report::after { content: "예시"; position: absolute; top: 18px; right: 20px; font-size: .72rem; font-weight: 700; color: var(--rust); border: 1px solid var(--rust); border-radius: 3px; padding: 0 6px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--gold-l); margin-bottom: 18px; }
.mini-top img { width: 112px; }
.mini-top span { font-size: .75rem; color: var(--sub); margin-right: 44px; }
.mini-report .t { font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }
.mini-report .s { font-size: .85rem; color: var(--sub); margin-bottom: 16px; }
.mini-result { background: #2A2722; color: #fff; border-radius: 8px; padding: 20px 22px; position: relative; overflow: hidden; }
.mini-result::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -110px; border: 1px solid var(--gold); border-radius: 50%; opacity: .5; }
.mini-result .k { color: var(--gold); font-size: .82rem; letter-spacing: .06em; }
.mini-result .amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.mini-result .tag { font-size: .8rem; background: var(--rust); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: .3em; font-weight: 700; }
.mini-result .d { font-size: .82rem; color: #E0D9CB; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mini-kpis > div { background: #FBF7EE; border-top: 2px solid var(--gold); border-radius: 6px; padding: 10px 12px; }
.mini-kpis .k { font-size: .74rem; color: var(--sub); }
.mini-kpis .v { font-weight: 800; font-size: 1rem; }

/* 신고 일정 D-day */
.dday-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.dday-card { background: url("/assets/img/night.svg") center/cover no-repeat, radial-gradient(ellipse 70% 80% at 85% 120%, rgba(213, 175, 96, .2), transparent 60%), linear-gradient(170deg, #0E1320 0%, #171C29 60%, #221E1A 100%); color: #fff; border-radius: 4px; padding: 40px 40px 36px; position: relative; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(14, 19, 32, .6); }
.dday-card::before { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -170px; border: 1px solid var(--gold); border-radius: 50%; opacity: .4; }
.dday-card .k { color: var(--gold); font-size: .9rem; letter-spacing: .06em; }
.dday { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; margin: 12px 0 18px; color: #F3E4C0; }
.dday-card .what { font-size: 1.15rem; font-weight: 700; margin: 0; }
.dday-card .when { color: #D9D2C3; margin: 2px 0 0; font-size: .95rem; }
.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sched li { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 19px 2px; border-bottom: 1px solid var(--line); align-items: baseline; }
.sched .date { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.sched .left { color: var(--gold-d); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.sched-note { font-size: .85rem; color: var(--mute); margin-top: 14px; }

/* 대표 소개 */
.profile { display: grid; grid-template-columns: 400px 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.profile .photo { position: relative; }
.profile .photo::before { content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 1px solid var(--gold); border-bottom: 0; border-radius: 240px 240px 0 0; pointer-events: none; }
.profile .photo picture { display: block; background: var(--photo); border-radius: 220px 220px 0 0; overflow: hidden; }
.profile .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 8%; }
.quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 400; line-height: 1.6; letter-spacing: -0.02em; margin: 0 0 26px; }
.signature { display: flex; align-items: baseline; gap: 12px; margin-bottom: 30px; }
.signature span { color: var(--sub); font-size: .95rem; }
.signature strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: .04em; }
.cred { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cred li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.cred li b { color: var(--gold-d); font-weight: 600; font-size: .88rem; }

/* 정보표 */
.info { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.info th, .info td { text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 150px; color: var(--sub); font-weight: 600; font-size: .94rem; white-space: nowrap; }
.info td a { text-decoration-color: var(--gold); }

/* 카드 (하위 페이지) */
.grid { display: grid; gap: 0; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid { border-top: 1px solid var(--ink); }
.card { padding: 30px 28px 10px; border-left: 1px solid var(--line); }
.grid > .card:first-child { border-left: 0; padding-left: 0; }
.card .no { display: block; font-family: var(--serif); color: var(--gold-d); margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--sub); font-size: .95rem; margin: 0; }
a.card { text-decoration: none; }
.tags { display: none; }

/* 업무 분야 상세 */
.service { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 72px); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.service:first-of-type { border-top: 1px solid var(--ink); }
.service-title .no { display: block; font-family: var(--serif); color: var(--gold-d); margin-bottom: 10px; }
.service-title h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.service-title p { color: var(--sub); }
.service-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 0; }
.service-body .card { border-left: 0; padding: 0 28px 0 0; }
.service-body h3 { font-size: .95rem; color: var(--gold-d); margin-bottom: 12px; }
.service-body ul { margin: 0; padding: 0; list-style: none; }
.service-body li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }

/* 표 */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; border-top: 1px solid var(--ink); }
table.data th, table.data td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; font-weight: 400; }
table.data thead th { font-weight: 600; color: var(--sub); font-size: .88rem; }
table.data tbody th { font-weight: 600; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr.sub td, table.data tr.sub th { background: var(--stone); font-weight: 700; }
table.data tr.total td, table.data tr.total th { font-weight: 800; border-top: 1.5px solid var(--gold); border-bottom: 0; background: #FBF7EE; }
table.data td.wrap-text { white-space: normal; min-width: 200px; }
.table-note { font-size: .88rem; color: var(--sub); margin-top: 12px; }
.callout { border-left: 2px solid var(--gold); background: var(--stone); padding: 18px 22px; margin: 28px 0 0; }

/* 아코디언 */
details.acc { border-bottom: 1px solid var(--line); }
details.acc:first-of-type { border-top: 1px solid var(--ink); }
details.acc summary { cursor: pointer; list-style: none; padding: 22px 4px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-d); font-weight: 300; line-height: 1; }
details.acc[open] summary::after { content: "−"; }
details.acc .acc-body { padding: 0 4px 24px; color: var(--sub); }
details.acc .acc-body ul { margin: 0; padding-left: 1.1em; }
details.acc .acc-body li { margin-bottom: 4px; }

/* 블로그 */
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card .thumb { aspect-ratio: 16 / 10; background: #EAE2D3; overflow: hidden; border-radius: 2px; margin-bottom: 20px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card a:hover .thumb img { transform: scale(1.04); }
.post-card .body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-meta { color: var(--gold-d); font-size: .82rem; font-weight: 600; }
.post-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.55; letter-spacing: -0.03em; }
.post-card a:hover strong { color: var(--gold-d); }
.post-sum { color: var(--sub); font-size: .92rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .more { color: var(--ink); font-weight: 700; font-size: .88rem; margin-top: auto; padding-top: 10px; }
.post-list.stack { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.post-list.stack .post-card a { flex-direction: row; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-list.stack .thumb { flex: 0 0 220px; margin: 0; }
.post-empty { color: var(--sub); }

/* 본문 */
.post { padding: 0 0 104px; }
.prose { font-size: 1.03rem; }
.prose h2 { font-family: inherit; font-weight: 700; font-size: 1.25rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose .table-wrap { margin: 1em 0 1.4em; }

/* 상담 */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); margin-bottom: 56px; }
.channel { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); text-decoration: none; transition: background .2s; }
.channel:first-child { border-left: 0; }
.channel:hover { background: var(--stone); }
.channel .k { font-size: .86rem; color: var(--sub); }
.channel strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.channel.kakao strong::after { content: " →"; color: var(--gold-d); }
.form-card { background: var(--stone); border-radius: 6px; padding: clamp(24px, 4vw, 48px); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .94rem; }
.field .req { color: var(--rust); margin-left: 2px; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-d); }
.field textarea { min-height: 150px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-input label, .form-card .chips label { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: .94rem; }
.form-card .chips { margin: 0; }
.form-card .chips input { accent-color: var(--gold-d); }
.form-card .chips label:has(input:checked) { border-color: var(--gold-d); color: var(--gold-d); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--sub); font-weight: 400 !important; }
.agree input { margin-top: 6px; accent-color: var(--gold-d); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #2F6B3A; }
.form-status.err { color: var(--rust); }

/* 결과보고서 페이지의 지면 */
.sheet { background: var(--paper); box-shadow: 0 30px 60px -36px rgba(35, 32, 28, .4), 0 0 0 1px var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 48px); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--gold-l); margin-bottom: 26px; }
.sheet-top img { width: 132px; }
.sheet-top .doc { text-align: right; font-size: .8rem; color: var(--sub); line-height: 1.5; }
.sheet .eyebrow::before { display: none; }
.sheet .eyebrow { letter-spacing: .2em; font-size: .78rem; text-transform: uppercase; }
.sheet h2 { font-family: inherit; font-weight: 700; font-size: 1.6rem; margin-bottom: .25em; }
.sheet h3 { font-size: 1.05rem; margin: 34px 0 14px; }
.sheet .info { border-top: 0; margin-top: 22px; }
.sheet .info th { background: #FBF7EE; padding-left: 14px; }
.sheet .info td { padding-left: 14px; }
.sheet table.data { border-top: 0; }
.sheet table.data thead th { background: #FBF7EE; }
.result-card { position: relative; overflow: hidden; background: #2A2722; color: #fff; border-radius: 10px; padding: clamp(24px, 4vw, 40px); margin-top: 22px; }
.result-card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -110px; top: -160px; border: 1.5px solid var(--gold); border-radius: 50%; opacity: .5; }
.result-card .label { color: var(--gold); letter-spacing: .08em; margin-bottom: 4px; }
.result-card .amount { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; margin: 0 0 8px; }
.result-card .timing { color: #E9E2D3; margin: 0; }
.kind { display: inline-block; vertical-align: .3em; font-size: 1rem; font-weight: 700; background: var(--rust); border-radius: 6px; padding: 2px 10px; margin-left: 8px; }
.sample { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--rust); border: 1px solid var(--rust); border-radius: 4px; padding: 0 6px; margin-left: 8px; vertical-align: .3em; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.kpi { background: #FBF7EE; border-radius: 8px; border-top: 2px solid var(--gold); padding: 16px 18px; }
.kpi .k { font-size: .85rem; color: var(--sub); }
.kpi .v { font-size: 1.3rem; font-weight: 800; white-space: nowrap; }
.kpi .v small { font-size: .7em; font-weight: 500; color: var(--sub); }
.kpi .v.rust { color: var(--rust); }
.summary { margin-top: 28px; }
.summary h3 { margin: 0 0 12px; }
.summary-box { border-left: 3px solid var(--gold); padding: 2px 0 2px 18px; }
.summary-box p { margin: 0 0 6px; }
.bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: 120px 1fr 160px; align-items: center; gap: 14px; font-size: .93rem; }
.bars .track { height: 14px; }
.bars .fill { display: block; height: 100%; background: var(--gold); border-radius: 2px; min-width: 3px; }
.bars .val { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.waterfall { width: 100%; height: auto; margin: 4px 0 18px; }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 12px; font-size: .8rem; color: var(--sub); }
.sheet-foot .pg { color: var(--gold-d); font-weight: 600; letter-spacing: .1em; }

/* 마무리 상담 띠 */
.cta { background: url("/assets/img/night.svg") center/cover no-repeat, radial-gradient(ellipse 70% 80% at 85% 120%, rgba(213, 175, 96, .2), transparent 60%), linear-gradient(170deg, #0E1320 0%, #171C29 60%, #221E1A 100%); color: #fff; border-bottom: 1px solid rgba(213, 175, 96, .18); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(72px, 9vw, 128px) 0; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { color: rgba(255, 255, 255, .72); margin: 0; }
.cta .btn-line:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.cta .eyebrow { color: var(--gold); }
.cta .eyebrow::before { background: var(--gold); }
.result-card.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--ink); border-radius: 8px; }
.result-card.cta-band h2 { color: #fff; }
.result-card.cta-band p { color: #CFC8BA; margin: 0; }

/* 푸터 */
.site-footer { background: #1A1815; color: #A69E8F; padding: 64px 0 40px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 64px; }
.footer-brand img { width: 168px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { margin: 16px 0 0; color: #CFC8BA; font-family: var(--serif); }
.footer-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin: 0; }
.footer-info div { display: flex; gap: 14px; }
.footer-info dt { color: #E9E2D3; min-width: 6.5em; font-weight: 600; }
.footer-info dd { margin: 0; }
.site-footer a { color: #E9E2D3; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #36322C; padding-top: 22px; font-size: .84rem; }
.footer-bottom .pg { color: var(--gold); letter-spacing: .14em; }

.quickbar { display: none; }

/* 업무 분야 — 짙은 바탕 위 4개 업무 카드 */
.services-dark { background: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(213, 175, 96, .08), transparent 70%), var(--ink); color: #fff; position: relative; overflow: hidden; }
.services-dark::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -320px; border: 1px solid rgba(213, 175, 96, .22); border-radius: 50%; pointer-events: none; }
.services-dark h2 { color: #fff; }
.services-dark .eyebrow { color: var(--gold); }
.services-dark .eyebrow::before { background: var(--gold); }
.services-dark .split-head p { color: #BDB5A6; }
.services-dark .text-link { color: #fff; }
.services-dark .text-link:hover { color: var(--gold); }
.practice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(213, 175, 96, .2); border: 1px solid rgba(213, 175, 96, .2); position: relative; }
.practice-card { background: var(--ink); padding: clamp(30px, 3.8vw, 56px); text-decoration: none; display: flex; flex-direction: column; transition: background .3s; position: relative; }
.practice-card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .4s ease; }
.practice-card:hover { background: #2B2823; }
.practice-card:hover::after { width: 100%; }
.pc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.practice-card .pc-top::before { content: ""; width: 13px; height: 13px; flex: none; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.pc-no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.pc-en { font-family: var(--serif); font-size: .95rem; letter-spacing: .06em; color: var(--gold); }
.practice-card h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.035em; font-size: clamp(1.6rem, 2.3vw, 2.15rem); color: #fff; margin-bottom: 16px; }
.practice-card p { color: #BDB5A6; font-size: 1rem; line-height: 1.8; margin: 0 0 24px; }
.practice-card ul { list-style: none; padding: 22px 0 0; margin: 0 0 32px; border-top: 1px solid rgba(213, 175, 96, .2); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.practice-card li { color: #E9E2D3; font-size: .96rem; padding-left: 18px; position: relative; }
.practice-card li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 8px; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.pc-more { margin-top: auto; color: var(--gold); font-weight: 600; font-size: .95rem; display: inline-flex; gap: 8px; }
.practice-card:hover .pc-more span { transform: translateX(4px); }
.pc-more span { transition: transform .2s; }

/* 업무 분야 페이지 */
.area { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 104px); padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.area:first-of-type { border-top: 0; padding-top: 0; }
.area-head { position: sticky; top: 110px; align-self: start; }
.area-head .pc-en { display: flex; align-items: center; gap: 10px; color: var(--gold-d); margin-bottom: 16px; }
.area-head .pc-en::before { content: ""; width: 12px; height: 12px; flex: none; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.area-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: .6em; }
.area-head p { color: var(--sub); line-height: 1.85; }
.for-whom { margin-top: 32px; padding: 26px 28px 24px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 30px 50px -40px rgba(36, 33, 29, .35); }
.for-whom h3 { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 14px; }
.for-whom ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.for-whom li { font-size: .96rem; padding: 9px 0 9px 20px; position: relative; border-top: 1px solid var(--line); }
.for-whom li::before { content: ""; position: absolute; left: 0; top: calc(9px + .62em); width: 8px; height: 8px; color: var(--gold); background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }
.tasks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.task { padding: 36px 36px 38px 0; border-bottom: 1px solid var(--line); }
.task:nth-child(even) { padding: 36px 0 38px 36px; border-left: 1px solid var(--line); }
.task h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; margin-bottom: 12px; }
.task p { color: var(--sub); font-size: 1rem; margin: 0; line-height: 1.85; }
.area-note { margin-top: 22px; font-size: .9rem; color: var(--mute); }

/* 하위 페이지 머리 — 밤하늘 (업무 분야) */
.page-head.night { position: relative; overflow: hidden; color: #fff; border-bottom: 0; margin: -78px 0 0; padding: calc(78px + clamp(72px, 9vw, 128px)) 0 0; background: url("/assets/img/night.svg") center/cover no-repeat, radial-gradient(ellipse 70% 60% at 50% 130%, rgba(213, 175, 96, .22), transparent 60%), linear-gradient(180deg, #0E1320 0%, #161C2B 60%, #221E1A 100%); }
.page-head.night::after { content: ""; position: absolute; width: 1400px; height: 1400px; left: 50%; top: 78%; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(213, 175, 96, .45); box-shadow: 0 -40px 120px -60px rgba(213, 175, 96, .4); -webkit-mask: linear-gradient(180deg, #000 0%, transparent 30%); mask: linear-gradient(180deg, #000 0%, transparent 30%); pointer-events: none; }
.page-head.night .wrap { position: relative; z-index: 1; }
.page-head.night h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.24; }
.page-head.night .eyebrow { color: var(--gold); }
.page-head.night .lead { color: rgba(255, 255, 255, .74); }
.page-head.night + .section { padding-top: clamp(80px, 9vw, 128px); }
.area-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(213, 175, 96, .3); }
.area-index a { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 34px; border-left: 1px solid rgba(213, 175, 96, .18); text-decoration: none; position: relative; transition: background .3s; }
.area-index a:nth-child(4n+1) { border-left: 0; padding-left: 0; }
.area-index a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.area-index a:hover::before, .area-index a:focus-visible::before { transform: scaleX(1); }
.area-index .pc-en { font-size: .85rem; }
.area-index strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -0.03em; color: #fff; transition: color .2s; }
.area-index a:hover strong { color: var(--gold); }

/* ── 첫 화면 슬라이드 ── */
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/night.svg") center/cover no-repeat; transform: scaleX(-1); opacity: 0; animation: twinkle 4s ease-in-out infinite alternate; pointer-events: none; }
@keyframes twinkle { to { opacity: .55; } }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; z-index: 1; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-center { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 40px; }
.slide-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; text-align: left; padding-top: 40px; }
.hero .h1 { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(2.1rem, 4.2vw, 4.6rem); line-height: 1.26; letter-spacing: -0.04em; margin: 0 0 30px; }
.hero .h1 em { font-style: normal; color: inherit; }
.dipper { transition: opacity 1.2s ease; }
.hero:has(.slide:not(:first-of-type).is-active) .dipper { opacity: .18; }
.hero-en.left { justify-content: flex-start; }
.hero-en.left::before { display: none; }
.hero-en.left::after { display: block; transform: none; background: linear-gradient(90deg, rgba(213, 175, 96, .7), transparent); }
.hero-btns.left { justify-content: flex-start; }
/* 글자가 차례로 떠오르는 효과 */
.slide .hero-en, .slide h1, .slide .h1, .slide .hero-sub, .slide .hero-btns, .slide .slide-visual { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.slide.is-active .hero-en { opacity: 1; transform: none; transition-delay: .25s; }
.slide.is-active h1, .slide.is-active .h1 { opacity: 1; transform: none; transition-delay: .45s; }
.slide.is-active .hero-sub { opacity: 1; transform: none; transition-delay: .65s; }
.slide.is-active .hero-btns { opacity: 1; transform: none; transition-delay: .85s; }
.slide.is-active .slide-visual { opacity: 1; transform: none; transition-delay: .55s; transition-duration: 1.2s; }
.slide-visual { justify-self: center; position: relative; }
.portrait-arch { width: min(100%, 380px); }
.portrait-arch::before { content: ""; position: absolute; inset: -14px -14px 0 -14px; border: 1px solid rgba(213, 175, 96, .55); border-radius: 220px 220px 0 0; }
.portrait-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 10%; border-radius: 200px 200px 0 0; background: #ECECEC; position: relative; }
.name-tag { position: absolute; left: -36px; bottom: 40px; background: #fff; color: var(--ink); padding: 14px 22px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.name-tag small { display: block; font-family: "Pretendard Variable", sans-serif; font-size: .75rem; color: var(--gold-d); font-weight: 700; letter-spacing: .06em; }
.slide-visual .mini-report { width: min(100%, 470px); text-align: left; color: var(--ink); }
.slide-visual .mini-result { color: #fff; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
/* 슬라이드 조작 */
.slider-ui { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 3; display: flex; align-items: center; gap: 28px; color: rgba(255, 255, 255, .7); }
.slide-count { font-family: var(--serif); font-size: .95rem; letter-spacing: .08em; min-width: 64px; }
.slide-count b { color: #fff; font-weight: 600; font-size: 1.15rem; }
.slide-bars { display: flex; gap: 10px; }
.slide-bars button { width: 64px; height: 18px; padding: 8px 0; background: none; border: 0; cursor: pointer; }
.slide-bars i { display: block; height: 2px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.slide-bars i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.slide-bars button[aria-selected="true"] i::after { animation: bar var(--slide-ms, 6500ms) linear forwards; }
.slide-bars button.done i::after { transform: scaleX(1); }
.hero.paused .slide-bars i::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.slide-arrows { margin-left: auto; display: flex; gap: 8px; }
.slide-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; font-size: 1rem; transition: background .2s, border-color .2s, color .2s; }
.slide-arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.slide-arrows .pause { font-size: .75rem; }

/* ── 스크롤하면 떠오르는 효과 ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── 블로그 가로 슬라이드 ── */
.post-slider { position: relative; }
.slider-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > li { flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start; }
.post-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 32px; }
.post-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(36, 33, 29, .4); background: transparent; cursor: pointer; font-size: 1.05rem; transition: background .2s, color .2s; }
.post-nav button:hover { background: var(--ink); color: #fff; }
.post-nav button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }

/* 업무 분야 펼침 목록 — 누르면 한 분야만 열린다 (details name="svc") */
:root { interpolate-size: allow-keywords; }
.svc-acc { border-top: 1px solid rgba(213, 175, 96, .3); }
.svc-row { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.svc-row summary { list-style: none; display: grid; grid-template-columns: 88px 1fr 48px; align-items: center; gap: 24px; padding: clamp(24px, 2.6vw, 34px) 0; cursor: pointer; }
.svc-row summary::-webkit-details-marker { display: none; }
.svc-row summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.svc-no { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; letter-spacing: .04em; }
.svc-title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.95rem); transition: color .25s; }
.svc-row summary:hover .svc-title { color: var(--gold-l); }
.svc-toggle { justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); position: relative; transition: background .35s, border-color .35s, transform .45s var(--ease); }
.svc-toggle::before, .svc-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: background .35s; }
.svc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-row summary:hover .svc-toggle { border-color: var(--gold); }
.svc-row[open] .svc-toggle { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.svc-row[open] .svc-toggle::before, .svc-row[open] .svc-toggle::after { background: var(--ink); }
.svc-row::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
.svc-row[open]::details-content { height: auto; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; padding: 0 0 clamp(28px, 3vw, 40px) 112px; }
.svc-row[open] .svc-body { animation: svc-in .55s var(--ease) both; }
@keyframes svc-in { from { opacity: 0; transform: translateY(-6px); } }
.svc-body p { color: #C9C1B2; margin: 0; max-width: 34em; line-height: 1.85; }
.svc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.svc-tags li { border: 1px solid rgba(213, 175, 96, .45); color: #EFE7D6; border-radius: 999px; padding: 5px 15px; font-size: .9rem; white-space: nowrap; }

.svc-more { grid-column: 2; justify-self: start; color: var(--gold); font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 1px solid rgba(213, 175, 96, .5); padding-bottom: 2px; }
.svc-more:hover { color: var(--gold-l); }

/* 오시는 길 */
.loc-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.loc-info h2 { margin-bottom: 28px; }
.loc-btns { margin-top: 28px; }
.loc-btns button { font: inherit; font-weight: 700; }
.loc-map { position: relative; min-height: 440px; border-radius: 4px; overflow: hidden; background: #E5E3DF; box-shadow: 0 0 0 1px var(--line); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc-chip { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px 18px 8px 8px; border-radius: 999px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); pointer-events: none; line-height: 1.35; }
.loc-chip img { width: 34px; height: 34px; border-radius: 50%; background: var(--night); padding: 5px; }
.loc-chip strong { display: block; font-size: .92rem; }
.loc-chip small { color: var(--sub); font-size: .78rem; }

/* 세금 계산기 */
.calc-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 44px; overflow-x: auto; }
.calc-tabs button { font: inherit; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); background: none; border: 0; padding: 16px 28px 18px; color: var(--mute); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.calc-tabs button:hover { color: var(--ink); }
.calc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.calc-panel[hidden] { display: none; }
.calc-panel > * { min-width: 0; }
.calc-form h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.calc-form > p { margin-bottom: 28px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.calc-field > span:first-child { font-weight: 700; }
.calc-field i { font-style: normal; font-weight: 400; color: var(--sub); font-size: .92em; }
.calc-field small { color: var(--gold-d); min-height: 1.4em; font-size: .9rem; }
.won-input { display: flex; align-items: center; border-bottom: 2px solid var(--ink); transition: border-color .2s; }
.won-input:focus-within { border-color: var(--gold); }
.won-input input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; font: inherit; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.65rem); padding: 4px 0; color: var(--ink); font-variant-numeric: tabular-nums; outline: none; }
.won-input em { font-style: normal; color: var(--sub); font-size: 1.05rem; }
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-presets button { font: inherit; font-size: .9rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.calc-presets button:hover { border-color: var(--gold-d); color: var(--gold-d); }
.calc-switch { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 24px; }
.calc-switch label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.calc-switch input { accent-color: var(--gold-d); width: 17px; height: 17px; }
.calc-result { background: var(--night); color: #fff; border-radius: 6px; padding: clamp(28px, 3.4vw, 44px); position: sticky; top: 110px; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border: 1px solid rgba(213, 175, 96, .4); border-radius: 50%; }
.calc-result .k { color: var(--gold); margin: 0 0 6px; }
.calc-big { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 600; line-height: 1.2; margin: 0 0 26px; font-variant-numeric: tabular-nums; word-break: break-all; }
.calc-big small { font-size: .45em; margin-left: 6px; color: #CFC8BA; font-weight: 500; }
.calc-lines { margin: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.calc-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.calc-lines dt { color: #BDB5A6; }
.calc-lines dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.calc-table { grid-column: 1 / -1; }
.calc-table h3 { font-size: 1.05rem; margin-bottom: 14px; }
#inc-brackets tr.on td { background: #FBF3DF; font-weight: 700; }
#inc-brackets tr.on td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.calc-cta { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.calc-cta p { margin: 0; font-family: var(--serif); font-size: 1.15rem; }

/* ── 사업용 계산기 (왼쪽 계산기 목록 + 단계별 입력) ── */
.calc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.calc-menu { position: sticky; top: 110px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.calc-menu button { font: inherit; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 13px 14px 13px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; position: relative; transition: background .2s; }
.calc-menu button::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .3s var(--ease); }
.calc-menu button strong { font-family: var(--serif); font-weight: 500; font-size: 1rem; color: var(--mute); transition: color .2s; }
.calc-menu button span { font-size: .8rem; color: var(--mute); }
.calc-menu button:hover strong { color: var(--ink); }
.calc-menu button[aria-selected="true"] { background: var(--stone); }
.calc-menu button[aria-selected="true"]::before { transform: scaleY(1); }
.calc-menu button[aria-selected="true"] strong { color: var(--ink); }
.calc-menu button[aria-selected="true"] span { color: var(--sub); }
.calc-pane[hidden] { display: none; }
.calc-pane > h2 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); margin-bottom: 8px; }
.calc-pane > .muted { margin-bottom: 36px; max-width: 40em; }
.step { padding: 20px 0; border-top: 1px solid var(--line); }
.step-head { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .98rem; margin-bottom: 10px; }
.step-head i { font-style: normal; font-weight: 400; color: var(--sub); font-size: .92em; }
.step-no { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: .9rem; font-weight: 600; }
.step-help { color: var(--sub); font-size: .94rem; margin: -4px 0 14px 40px; max-width: 42em; }
.step .won-input, .step .seg, .step .calc-select, .step .range-row, .step small, .step .rate-help { margin-left: 40px; }
.step small { display: block; color: var(--gold-d); min-height: 1.4em; font-size: .9rem; margin-top: 6px; }
.won-input.small { max-width: 220px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; min-width: 64px; text-align: center; padding: 8px 15px; font-size: .93rem; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.seg label:hover span { border-color: var(--gold-d); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rate-help { margin-top: 16px; }
.rate-help summary { cursor: pointer; color: var(--gold-d); font-weight: 600; font-size: .95rem; }
.rate-help .table-wrap { margin-top: 12px; }
.rate-notes { margin: 12px 0 0; padding-left: 1.1em; color: var(--sub); font-size: .9rem; }
.rate-notes li { margin-bottom: 4px; }
.calc-pane > .rate-help { margin: 24px 0 0; }
.calc-select { display: block; width: calc(100% - 40px); max-width: 520px; font: inherit; font-size: .95rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); }
.range-row { display: flex; align-items: center; gap: 18px; max-width: 520px; }
.range-row input { flex: 1; accent-color: var(--gold-d); }
.range-row output { font-family: var(--serif); font-size: 1.4rem; min-width: 64px; text-align: right; }
.calc-pane .calc-result { position: relative; top: auto; margin: 30px 0 0; }
.calc-save { color: var(--gold-l); margin: -14px 0 22px; font-size: .95rem; min-height: 0; }
.calc-save:empty { display: none; }
.calc-lines small { color: var(--mute); font-size: .82em; }
.calc-lines .minimum dd, .calc-lines .minimum dt { color: var(--gold-l); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.cmp-card { background: var(--night); color: #fff; border-radius: 6px; padding: 28px 26px; position: relative; border: 1px solid transparent; transition: border-color .3s; }
.cmp-card .k { color: var(--gold); margin: 0 0 4px; }
.cmp-card .calc-big { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 18px; }
.cmp-card.best { border-color: var(--gold); }
.cmp-card.best::after { content: "유리"; position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.cmp-note { color: var(--gold-l); font-size: .88rem; margin: 12px 0 0; }
.cmp-note:empty { display: none; }
.cmp-verdict { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 26px 0 0; }
.calc-panes .calc-cta { margin-top: 56px; }

.checks { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0 40px; }
.checks[hidden] { display: none; }
.checks label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--gold-d); }
.rate-pick { margin: 14px 0 0 40px; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-d); }
.rate-pick:empty { display: none; }
.hire-grid { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-left: 40px; }
.hire-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.hire-grid .won-input { margin-left: 0; width: 160px; }
.ins-table { width: 100%; border-collapse: collapse; color: #fff; font-variant-numeric: tabular-nums; }
.ins-table th, .ins-table td { padding: 11px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: left; font-weight: 400; }
.ins-table thead th { color: var(--gold); font-size: .88rem; }
.ins-table tbody th small { display: block; color: #9F978A; font-size: .78rem; }
.ins-table .num { text-align: right; white-space: nowrap; }
.ins-table tr.sum th, .ins-table tr.sum td { font-weight: 700; border-top: 1px solid rgba(213, 175, 96, .5); border-bottom: 0; }
.law-basis { font-size: .82rem; color: var(--mute); margin-top: 10px; }

.seg-sm span { min-width: 0; padding: 7px 14px; font-size: .9rem; }

.money-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; margin-left: 40px; }
.money-grid > label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.money-grid > label i { font-style: normal; font-weight: 400; color: var(--sub); font-size: .85em; }
.money-grid .won-input, .money-grid small { margin-left: 0; }
.money-grid .won-input input { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.calc-date { font: inherit; font-family: var(--serif); font-size: 1.2rem; padding: 8px 0; border: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); }
.calc-date:focus { outline: none; border-color: var(--gold); }
[data-house-only][hidden] { display: none !important; }

.car-ratio-row { margin: 14px 0 0 40px; }
.car-ratio-row[hidden], [data-car-how][hidden], [data-car-person][hidden], [data-car-corp][hidden], [data-car-limited][hidden] { display: none !important; }

[data-ih-spouse][hidden], [data-ih-cohouse][hidden], [data-gf-family][hidden], [data-gf-marry][hidden], .calc-lines > div[hidden] { display: none !important; }

/* 큰 모니터: 글자와 폭을 함께 키워 좌우가 비어 보이지 않게 */
.figure .v { font-size: clamp(2rem, 3.2vw, 3.2rem); }
@media (min-width: 1440px) { .brand img { width: 186px; } }
@media (min-width: 1800px) { html { font-size: 106.25%; } :root { --wrap: 1480px; } .brand img { width: 204px; } .header-inner { min-height: 88px; } .hero { margin-top: -88px; } .page-head.night { margin-top: -88px; padding-top: calc(88px + clamp(72px, 9vw, 128px)); } }

/* 메뉴가 6개라 1100px 아래에서는 한 줄에 다 들어가지 않으므로 ≡ 메뉴로 바꾼다 */
.site-nav ul a { white-space: nowrap; }
@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 48px 22px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .site-nav .btn { margin-top: 18px; align-self: flex-start; }
}

@media (max-width: 1000px) {
  .area { grid-template-columns: 1fr; }
  .area-head { position: static; }
  .figures-inner, .pillars, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3), .pillar:nth-child(3), .grid-4 > .card:nth-child(3) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-list a { grid-template-columns: 50px 1fr 30px; }
  .svc-list span.desc { grid-column: 2; grid-row: 2; }
  .svc-list .arrow { grid-row: 1 / 3; grid-column: 3; }
  .service, .profile { grid-template-columns: 1fr; }
  .profile .photo { max-width: 360px; }
  .post-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .calc-layout, .compare { grid-template-columns: 1fr; }
  .calc-menu { position: static; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .calc-menu button { flex: none; border-bottom: 2px solid transparent; padding: 12px 14px; margin-bottom: -1px; }
  .calc-menu button span, .calc-menu button::before { display: none; }
  .calc-menu button[aria-selected="true"] { background: none; border-bottom-color: var(--gold); }
  .calc-menu button strong { font-size: 1rem; white-space: nowrap; }
  .step-help, .step .won-input, .step .seg, .step .calc-select, .step .range-row, .step small, .step .rate-help { margin-left: 0; }
  .calc-select { width: 100%; }
  .checks, .rate-pick, .hire-grid, .money-grid { margin-left: 0; }
  .seg span { min-width: 0; padding: 10px 14px; }
  .loc-grid, .calc-panel { grid-template-columns: 1fr; }
  .loc-map { min-height: 320px; }
  .calc-result { position: relative; top: auto; }
  .calc-tabs button { padding: 14px 16px; }
  .svc-more { grid-column: 1; }
  .svc-row summary { grid-template-columns: 40px 1fr 40px; gap: 12px; }
  .svc-toggle { width: 40px; height: 40px; }
  .svc-body { grid-template-columns: 1fr; padding-left: 52px; }
  .slide-split { grid-template-columns: 1fr; text-align: center; padding-top: 20px; }
  .slide-split .slide-visual { display: none; }
  .hero-en.left { justify-content: center; }
  .hero-en.left::before { display: block; }
  .hero-en.left::after { transform: scaleX(-1); background: linear-gradient(90deg, transparent, rgba(213, 175, 96, .7)); }
  .dipper { width: 220px; right: -12px; top: 92px; opacity: .7; }
  .hero-btns.left { justify-content: center; }
  .hero .hero-sub br { display: none; }
  .slider-ui { bottom: 86px; gap: 14px; justify-content: center; } /* 하단 빠른 상담 줄 위로 */
  .slide-bars button { width: 40px; }
  .slide-arrows, .scroll-cue { display: none; }
  .hero-en { letter-spacing: .18em; font-size: .75rem; }
  .hero-en::before, .hero-en::after { width: 24px; }
  .slider-track > li { flex-basis: 82%; }
  .practice, .tasks { grid-template-columns: 1fr; }
  .practice-card ul { grid-template-columns: 1fr; }
  .task, .task:nth-child(even) { padding: 24px 0; border-left: 0; }
  body { font-size: 1rem; padding-bottom: 68px; }
  .wrap { width: min(100% - 40px, var(--wrap)); }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 20px 22px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 15px 2px; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 18px; }
  .brand img { width: 146px; }
  .header-inner { min-height: 62px; }
  .hero { margin-top: -62px; }
  .page-head.night { margin-top: -62px; padding-top: calc(62px + 64px); }
  .area-index { grid-template-columns: 1fr 1fr; }
  .area-index a, .area-index a:first-child { padding: 18px 14px 22px 0; border-left: 0; border-bottom: 1px solid rgba(213, 175, 96, .18); }
  .area-index a:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(213, 175, 96, .18); }
  .area-index .pc-en { font-size: .74rem; }
  .for-whom { padding: 22px 20px 18px; }
  .hero-arc { width: 640px; height: 640px; top: 66%; }
  .hero-inner { padding: 110px 0 100px; }
  .hero-sub br { display: none; }
  .hero .btn { flex: 1 1 100%; }
  .ticker span { padding: 16px 20px; font-size: .95rem; }
  .split-head, .report-split, .dday-wrap, .grid-3, .grid-2, .service-body, .form-grid, .footer-inner, .footer-info, .cta-inner, .result-card.cta-band { grid-template-columns: 1fr; }
  .grid-3 > .card, .grid-2 > .card { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .service-body .card { padding: 0 0 24px; border-bottom: 0; }
  .post-list { grid-template-columns: 1fr; }
  .post-list.stack .thumb { flex-basis: 110px; }
  .channel { border-left: 0; }
  .info th { width: 96px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .bars li { grid-template-columns: 1fr 130px; }
  .bars li .track { grid-column: 1 / -1; grid-row: 2; }
  .sheet-top .doc { display: none; }
  .quickbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .quickbar a { flex: 1; text-align: center; padding: 12px 6px; border-radius: 2px; font-weight: 700; text-decoration: none; font-size: .93rem; }
  .qb-call { border: 1px solid var(--ink); color: var(--ink); }
  .qb-kakao { background: var(--kakao); color: #191600; }
  .qb-form { background: var(--ink); color: #fff; }
}

@media (max-width: 560px) {
  .figures-inner, .pillars, .grid-4 { grid-template-columns: 1fr; }
  .figure, .pillar, .grid-4 > .card { border-left: 0 !important; padding-left: 0 !important; }
  .figure { border-top: 1px solid var(--line); padding: 22px 0; }
  .figure:first-child { border-top: 0; }
  .pillar { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .mini-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mini-kpis > div { padding: 9px 8px; }
  .mini-kpis .v { font-size: .9rem; }
  .dday-card { padding: 32px 26px 28px; }
  .profile .photo { margin-inline: auto; width: calc(100% - 28px); }
  .mini-report { padding: 22px 18px; }
  .sched li { grid-template-columns: 74px 1fr; }
  .sched .left { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .float, .hero::before { animation: none !important; }
  .ticker-track, .scroll-cue::after { animation: none !important; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* 장식(원호·별)이 화면 밖으로 삐져나와 휴대폰에서 페이지가 옆으로 넓어지지 않게 */
html, body { overflow-x: clip; }
.page-head.night { overflow: hidden; }
#location { scroll-margin-top: 80px; }

/* ── 세무 정보: 분야 버튼 + 정사각형 썸네일 카드 ── */
.page-head.night.blog-head { text-align: center; padding-bottom: clamp(56px, 7vw, 92px); }
.blog-head .hero-en { justify-content: center; margin-bottom: 14px; }
.page-head.night.blog-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 0; }
.page-head.night.blog-head + .section { padding-top: clamp(40px, 5vw, 64px); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.cat-chips button { font: inherit; font-size: .9rem; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.cat-chips button:hover { border-color: var(--ink); }
.cat-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.post-grid .post-card[hidden] { display: none; }
.post-grid .post-card a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.post-grid .thumb { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--stone); margin: 0; }
.post-grid .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-grid .post-card a:hover .thumb img { transform: scale(1.04); }
.thumb-empty { display: grid; place-items: center; background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(213, 175, 96, .25), transparent 60%), linear-gradient(160deg, #1B2336, #0E1320) !important; border: 0 !important; }
.thumb-empty em { font-style: normal; font-family: var(--serif); color: #fff; font-size: 1.2rem; }
.post-grid .body { padding: 0; gap: 4px; }
.post-grid .post-meta { font-size: .8rem; }
.post-grid strong { font-size: 1.04rem; line-height: 1.5; font-weight: 600; }
.post-grid .post-card a:hover strong { color: var(--gold-d); }
.post-grid .post-sum, .post-grid .more { display: none; }
.blog-more { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .post-grid strong { font-size: .95rem; }
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 0 20px; }
  .cat-chips button { flex: none; }
}
