/* 가지런 세무회계 — site.css
   흰 바탕 · 먹색 글 · 짙은 감색 · 가는 선 · 명조 제목 · 표와 숫자 정렬 */
:root {
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --ink: #16181d;
  --ink-2: #3a3e48;
  --mute: #646a78;
  --mute-2: #8b909c;
  --navy: #1c2a4c;
  --navy-2: #2d3d68;
  --navy-ink: #e9ecf3;
  --rule: #d6d9e0;
  --rule-2: #e9ebef;
  --seal: #a3372a;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", system-ui, sans-serif;
  --head: 68px;
  --bar: var(--karis-bar-h, 0px);
  --karis-site-header-h: var(--head);
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.75; letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: break-word;
  font-feature-settings: "tnum" 1;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main { overflow-x: clip; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.serif { font-family: var(--serif); }
.mute { color: var(--mute); }
.small { font-size: 14px; color: var(--mute); line-height: 1.65; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }

/* ── 머리줄 ── */
.site-header {
  position: sticky; top: var(--bar); z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule); height: var(--head);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand .b-ko { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.02em; color: var(--navy); }
.brand .b-sub { font-size: 13px; color: var(--mute); letter-spacing: 0.08em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 11px; font-size: 15px; color: var(--ink-2); position: relative; }
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -14px; height: 2px; background: var(--navy); }
.nav .nav-cta { margin-left: 12px; background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 2px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav .nav-cta[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); border-radius: 2px; height: 40px; padding: 0 12px; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.nav-toggle i { position: relative; width: 16px; height: 10px; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.nav-toggle i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1.5px solid var(--ink); }
.nav-tel { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--bar) + var(--head)); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    padding: 12px var(--gut) 32px; overflow-y: auto; display: none; border-top: 1px solid var(--rule);
  }
  body.nav-open .nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .nav a { padding: 15px 2px; font-size: 17px; border-bottom: 1px solid var(--rule-2); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .nav-cta { margin: 20px 0 0; text-align: center; padding: 14px; }
  .nav-tel { display: block; margin-top: 18px; font-size: 15px; color: var(--mute); text-align: center; }
  .brand .b-sub { display: none; }
}

/* ── 공통 글 꼴 ── */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.12em; color: var(--mute); text-transform: uppercase; }
.kicker .no { color: var(--navy); font-weight: 600; letter-spacing: 0.04em; }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--rule); transform: scaleX(var(--k, 1)); transform-origin: left; }
.kicker.short::after { flex: 0 0 48px; }
.h-display { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5.1vw, 60px); line-height: 1.28; letter-spacing: -0.025em; color: var(--ink); }
.h-xl { font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 3.3vw, 40px); line-height: 1.36; letter-spacing: -0.02em; }
.h-l { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.42; letter-spacing: -0.015em; }
.h-m { font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.8; color: var(--ink-2); }
.measure { max-width: 36em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 2px; font-weight: 600; font-size: 15.5px; border: 1px solid var(--navy); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--paper-2); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--navy-ink); }
.btn--ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-w:hover { border-color: #fff; }
.arr { font-family: var(--sans); transition: transform .2s; }
a:hover > .arr { transform: translateX(3px); }
.link { color: var(--navy); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; display: inline-flex; gap: 8px; align-items: baseline; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section + .section.ruled { border-top: 1px solid var(--rule); }
.section--soft { background: var(--paper-2); }
.section--navy { background: var(--navy); color: var(--navy-ink); }
.section--navy .kicker { color: #a9b2c8; }
.section--navy .kicker .no { color: #fff; }
.section--navy .kicker::after { background: rgba(255,255,255,.22); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: 28px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .aside { font-size: 15px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ── 첫 화면 ── */
.hero { padding: clamp(40px, 5vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.hero-text { display: flex; flex-direction: column; padding-bottom: 8px; }
.hero-tag { font-size: 14px; color: var(--mute); letter-spacing: 0.02em; display: flex; gap: 10px; align-items: center; }
.hero-tag b { color: var(--navy); font-weight: 600; }
.hero h1 { margin-top: 28px; }
.hero-sub { margin-top: 26px; max-width: 30em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts { margin-top: auto; padding-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.hero-facts div { padding: 16px 16px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--rule); }
.hero-facts dt { font-size: 13px; color: var(--mute); }
.hero-facts dd { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; line-height: 1.35; }
.hero-photo { position: relative; margin: 0; }
.hero-photo .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo .ph { aspect-ratio: 3 / 2; }
  .hero h1 { margin-top: 20px; }
  .hero-facts { padding-top: 36px; margin-top: 36px; }
}
@media (max-width: 520px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--rule-2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .hero-facts dd { margin: 0; font-size: 17px; text-align: right; }
  .hero-actions .btn { flex: 1 1 100%; }
}

.notice { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.notice .wrap { display: flex; gap: 14px; align-items: baseline; padding-top: 14px; padding-bottom: 14px; font-size: 15px; }
.notice .tag { flex: none; font-size: 12.5px; font-weight: 700; color: var(--seal); border: 1px solid var(--seal); padding: 1px 7px; border-radius: 2px; letter-spacing: 0.04em; }

/* ── 이번 달 일정(작은 판) ── */
.due { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.due-intro p.lead { margin-top: 18px; }
.due-list { border-top: 1px solid var(--ink); }
.due-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.due-row .d { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; color: var(--navy); }
.due-row .d small { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.due-row .t { font-weight: 700; font-size: 17px; }
.due-row .w { display: block; font-size: 14px; color: var(--mute); font-weight: 400; margin-top: 2px; }
.due-row .cat { font-size: 12.5px; font-weight: 700; color: var(--navy); border: 1px solid var(--rule); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.due-row .cat.c-vat { color: #1c2a4c; } .due-row .cat.c-inc { color: var(--seal); border-color: #e7c9c4; }
.due-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: baseline; }
@media (max-width: 900px) { .due { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .due-row { grid-template-columns: 82px minmax(0,1fr); } .due-row .d { white-space: nowrap; font-size: 24px !important; } .due-row .cat { grid-column: 2; justify-self: start; } .due-row .d { font-size: 26px; } }

/* ── 사무소 소개 짧은 판 ── */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.intro-photo figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; }
.intro-text .h-xl { margin-top: 4px; }
.intro-text .lead { margin-top: 24px; }
.sign { margin-top: 32px; display: flex; align-items: baseline; gap: 14px; font-size: 15px; color: var(--mute); }
.sign b { font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 600; letter-spacing: 0.08em; }
.figs { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.figs div { padding: 18px 18px 0 0; }
.figs div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.figs .n { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; color: var(--navy); line-height: 1.1; }
.figs .n small { font-size: 16px; margin-left: 2px; }
.figs p { font-size: 14px; color: var(--mute); margin-top: 8px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .figs { grid-template-columns: 1fr; } .figs div, .figs div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule-2); } }

/* ── 업무·수수료 표 ── */
.fee { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.fee th, .fee td { text-align: left; vertical-align: top; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--rule); }
.fee thead th { font-size: 13px; color: var(--mute); font-weight: 500; padding-top: 12px; padding-bottom: 12px; letter-spacing: 0.04em; }
.fee .no { width: 56px; font-family: var(--serif); color: var(--mute-2); font-size: 15px; font-weight: 600; }
.fee .svc { width: 34%; }
.fee th.svc { font-weight: 400; }
.fee .won span b { display: inline; font-size: inherit; font-weight: 700; color: var(--ink-2); }
.fee .svc h3 { font-size: 18px; font-weight: 700; line-height: 1.45; }
.fee .svc p { font-size: 14.5px; color: var(--mute); margin-top: 6px; line-height: 1.65; }
.fee .who { font-size: 15px; color: var(--ink-2); }
.fee .won { text-align: right; white-space: nowrap; padding-right: 0; }
.fee .won b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; display: block; }
.fee .won span { font-size: 13.5px; color: var(--mute); display: block; margin-top: 2px; }
.fee-note { margin-top: 18px; font-size: 14px; color: var(--mute); }
@media (max-width: 820px) {
  .fee thead { display: none; }
  .fee, .fee tbody, .fee tr, .fee td, .fee th { display: block; width: auto; }
  .fee tr { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 40px minmax(0,1fr); }
  .fee td, .fee th { border: 0; padding: 0; }
  .fee .no { grid-row: span 3; width: auto; }
  .fee .svc { width: auto; }
  .fee .who { margin-top: 10px; font-size: 14.5px; }
  .fee .who::before { content: "대상 · "; color: var(--mute); }
  .fee .won { text-align: left; margin-top: 12px; white-space: normal; }
}

/* ── 이런 분께 ── */
.fit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
.fit ul li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); font-size: 16.5px; }
.fit ul li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 7px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.fit ul { border-top: 1px solid var(--ink); }
.fit .not { background: var(--paper-2); padding: 28px 28px 30px; border-top: 3px solid var(--rule); }
.fit .not h3 { font-size: 16px; font-weight: 700; }
.fit .not ul { border: 0; margin-top: 10px; }
.fit .not li { border: 0; padding: 7px 0 7px 22px; font-size: 15px; color: var(--ink-2); }
.fit .not li::before { width: 10px; height: 0; border-left: 0; border-bottom: 1.5px solid var(--mute-2); transform: none; top: 20px; left: 2px; }
.section--navy .fit ul { border-top-color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }

/* ── 상담 사례 목록(색인형) ── */
.case-index { border-top: 1px solid var(--ink); }
.case-row { display: grid; grid-template-columns: 64px minmax(0, 2.2fr) minmax(0, 3fr) 168px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; position: relative; }
.case-row .no { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--mute-2); padding-top: 3px; }
.case-row .biz { font-size: 13.5px; color: var(--navy); font-weight: 600; letter-spacing: 0.02em; }
.case-row h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.45; margin-top: 6px; letter-spacing: -0.01em; }
.case-row .sum { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.case-row .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.case-row .tags span { font-size: 12.5px; color: var(--mute); border: 1px solid var(--rule); padding: 1px 8px; border-radius: 2px; }
.case-row .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.case-row .thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: filter .3s; }
.case-row .more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--navy); font-weight: 600; }
a.case-row:hover h3 { color: var(--navy); }
a.case-row:hover .thumb img { filter: none; }
.case-row.karis-link-off .more, .karis-tier-link-off .more { display: none; }
@media (max-width: 900px) {
  .case-row { grid-template-columns: 44px minmax(0, 1fr) 120px; }
  .case-row .sum-col { grid-column: 2 / 4; }
  .case-row .thumb { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) {
  .case-row { grid-template-columns: 32px minmax(0, 1fr); gap: 12px 14px; }
  .case-row .thumb { grid-column: 2; grid-row: auto; aspect-ratio: 16 / 9; order: -1; }
  .case-row .no { grid-row: 1 / 3; }
  .case-row .sum-col { grid-column: 2; }
  .case-row h3 { font-size: 19px; }
}

/* ── 사진 띠 ── */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.strip img { width: 100%; height: clamp(200px, 26vw, 380px); object-fit: cover; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; } .strip img:first-child { grid-column: 1 / 3; } .strip img { height: 200px; } }

/* ── 사람 ── */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.person { padding: 24px 24px 8px 0; }
.person + .person { padding-left: 24px; border-left: 1px solid var(--rule); }
.person .role { font-size: 13px; color: var(--mute); }
.person h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 4px; letter-spacing: 0.04em; }
.person p { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.7; }
.person dl { margin-top: 14px; font-size: 13.5px; color: var(--mute); line-height: 1.7; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; } .person:nth-child(3) { padding-left: 0; border-left: 0; } .person { border-bottom: 1px solid var(--rule-2); padding-bottom: 20px; } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } .person, .person + .person { padding-left: 0; border-left: 0; } }

/* ── 대표 인사 ── */
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.letter figure { margin: 0; }
.letter figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.letter figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; }
.letter .body p + p { margin-top: 1.1em; }
.letter .body p { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.letter blockquote { margin: 0 0 32px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
@media (max-width: 900px) { .letter { grid-template-columns: 1fr; } .letter figure img { aspect-ratio: 3 / 2; } }

/* ── 연혁 ── */
.history { border-top: 1px solid var(--ink); }
.history li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.history time { font-family: var(--serif); font-weight: 600; color: var(--navy); }

/* ── 원칙(번호 목록) ── */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.rules li { padding: 24px 28px 8px 0; }
.rules li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.rules .n { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: 15px; }
.rules h3 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.rules p { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.75; }
.section--navy .rules { border-top-color: rgba(255,255,255,.6); }
.section--navy .rules li + li { border-left-color: rgba(255,255,255,.18); }
.section--navy .rules .n { color: #c6cde0; }
.section--navy .rules p { color: #c9cfdd; }
@media (max-width: 820px) { .rules { grid-template-columns: 1fr; } .rules li, .rules li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); } .section--navy .rules li { border-bottom-color: rgba(255,255,255,.18); } }

/* ── 진행 순서 ── */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps li { padding: 22px 22px 6px 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.steps .n { font-family: var(--serif); color: var(--navy); font-weight: 600; }
.steps h3 { font-size: 17px; font-weight: 700; margin-top: 6px; }
.steps p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li { border-bottom: 1px solid var(--rule-2); padding-bottom: 18px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li, .steps li + li { padding-left: 0; border-left: 0; } }

/* ── 소식 목록 ── */
.posts { border-top: 1px solid var(--ink); }
.post-row { display: grid; grid-template-columns: 120px 84px minmax(0, 1fr) 24px; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.post-row time { font-size: 14px; color: var(--mute); }
.post-row .cat { font-size: 13px; font-weight: 700; color: var(--navy); }
.post-row .cat.notice-cat { color: var(--seal); }
.post-row h3 { font-size: 18px; font-weight: 700; line-height: 1.5; }
.post-row p { font-size: 14.5px; color: var(--mute); margin-top: 6px; line-height: 1.7; }
.post-row .arr { color: var(--mute-2); }
a.post-row:hover h3 { color: var(--navy); }
@media (max-width: 700px) { .post-row { grid-template-columns: auto 1fr; gap: 4px 12px; } .post-row .body { grid-column: 1 / 3; } .post-row .arr { display: none; } }

/* ── 위치 ── */
.loc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.info { border-top: 1px solid var(--ink); }
.info div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.info dt { color: var(--mute); font-size: 14px; padding-top: 1px; }
.info dd a { border-bottom: 1px solid var(--rule); }
.map { border: 1px solid var(--rule); background: #fafbfc; }
.map svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .loc { grid-template-columns: 1fr; } }

/* ── 상담 신청 ── */
.consult { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.consult .tel { display: inline-block; margin-top: 28px; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 600; color: var(--navy); letter-spacing: 0.01em; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.form .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.field label b { color: var(--seal); font-weight: 600; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select {
  width: 100%; height: 48px; border: 1px solid var(--rule); border-radius: 2px; padding: 0 14px; font: inherit; font-size: 15.5px; background: #fff; color: var(--ink);
}
.field textarea { height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.65; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28,42,76,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1px solid var(--rule); padding: 9px 14px; border-radius: 2px; font-size: 14.5px; background: #fff; }
.chips input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--navy-2); outline-offset: 2px; }
.agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--mute) !important; line-height: 1.6; }
.agree input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); }
.form-done { display: none; padding: 28px 0; border-top: 1px solid var(--ink); }
.form.is-done { display: none; }
.form.is-done + .form-done { display: block; }
.form-done p { color: var(--ink-2); }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* ── 끝 띠 ── */
.closing { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.closing .h-xl { color: #fff; }
.closing p { color: #c6cde0; margin-top: 16px; }
.closing .act { text-align: right; }
.closing .tel { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; display: inline-block; color: #fff; }
.closing .act .small { color: #a9b2c8; margin: 6px 0 18px; }
@media (max-width: 820px) { .closing .wrap { grid-template-columns: 1fr; } .closing .act { text-align: left; } }

/* ── 바닥 ── */
.site-footer { background: #111319; color: #b7bcc8; padding: 56px 0 36px; font-size: 14px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer .b-ko { font-family: var(--serif); font-size: 21px; color: #fff; font-weight: 600; letter-spacing: 0.02em; }
.site-footer .f-brand p { margin-top: 12px; line-height: 1.7; max-width: 22em; }
.site-footer h4 { font-size: 12.5px; color: #7d8496; font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.site-footer li { padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #2a2e38; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #7d8496; }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ── 하위 페이지 머리 ── */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.page-head .crumb { font-size: 13.5px; color: var(--mute); display: flex; gap: 8px; flex-wrap: wrap; }
.page-head .crumb a:hover { color: var(--navy); }
.page-head h1 { margin-top: 22px; }
.page-head .lead { margin-top: 20px; max-width: 38em; }
.page-head.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-head.has-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 900px) { .page-head.has-photo .wrap { grid-template-columns: 1fr; } }

/* ── 2단 본문 ── */
.cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.cols + .cols { margin-top: clamp(48px, 6vw, 80px); }
.cols .side .h-l { position: sticky; top: calc(var(--bar) + var(--head) + 24px); }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols .side .h-l { position: static; } }

/* 표(일반) */
.tbl { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl thead th { font-size: 13px; color: var(--mute); font-weight: 500; }
.tbl td.r, .tbl th.r { text-align: right; padding-right: 0; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) { .tbl { font-size: 14px; } .tbl td.r, .tbl th.r { white-space: normal; } }

/* ── 상담 사례 상세 ── */
.case-head .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: 22px; }
.case-meta { border-top: 1px solid var(--ink); }
.case-meta div { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.case-meta dt { color: var(--mute); font-size: 14px; }
.case-photo { margin: 0; }
.case-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.case-photo figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; }
.case-body h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.case-body .cols .main p + p { margin-top: 1em; }
.case-body .main p { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.case-body ol.did { counter-reset: d; border-top: 1px solid var(--ink); }
.case-body ol.did li { counter-increment: d; display: grid; grid-template-columns: 44px minmax(0,1fr); padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.75; }
.case-body ol.did li::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); color: var(--navy); font-weight: 600; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.case-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.case-note { margin-top: 32px; padding: 18px 20px; background: var(--paper-2); font-size: 14px; color: var(--mute); border-left: 2px solid var(--navy); }
.case-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 56px; font-size: 15px; }
.case-nav a { color: var(--navy); font-weight: 600; }
@media (max-width: 900px) { .case-head .grid { grid-template-columns: 1fr; } .case-photo img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .case-pair { grid-template-columns: 1fr; } }

/* ── 글 보기 ── */
.article { max-width: 720px; margin: 0 auto; }
.article .meta { font-size: 14px; color: var(--mute); display: flex; gap: 12px; }
.article h1 { margin-top: 16px; }
.article .body { margin-top: 36px; border-top: 1px solid var(--ink); padding-top: 32px; }
.article .body p { font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.article .body p + p { margin-top: 1.1em; }
.article .body h2 { font-size: 19px; font-weight: 700; margin: 40px 0 12px; }
.article .body ul { margin: 12px 0; }
.article .body ul li { position: relative; padding: 6px 0 6px 20px; font-size: 16.5px; line-height: 1.8; color: var(--ink-2); }
.article .body ul li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 1.5px; background: var(--navy); }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.article figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.article .box { margin-top: 32px; padding: 18px 20px; background: var(--paper-2); font-size: 14.5px; color: var(--mute); }
.article-foot { max-width: 720px; margin: 48px auto 0; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); padding-top: 20px; font-size: 15px; }
.article-foot a { color: var(--navy); font-weight: 600; }

/* ── 자주 묻는 질문 ── */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary .q { white-space: nowrap; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; padding: 20px 0; font-size: 17px; font-weight: 700; line-height: 1.55; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--serif); color: var(--navy); }
.faq summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; color: var(--mute); justify-self: end; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 36px 24px 52px; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.faq .a p + p { margin-top: .8em; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 15px; color: var(--mute); font-weight: 600; margin-bottom: 14px; letter-spacing: 0.04em; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 38px minmax(0,1fr) 20px; font-size: 16px; } .faq .a { padding: 0 0 22px 40px; } }

/* ── 업종별 안내 ── */
.ind-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ind-nav a { font-size: 14.5px; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 2px; }
.ind-nav a:hover { border-color: var(--navy); color: var(--navy); }
.ind { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--bar) + var(--head) + 16px); }
.ind:last-child { border-bottom: 0; }
.ind figure { margin: 0; }
.ind figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ind figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.ind .k { font-size: 13px; color: var(--navy); font-weight: 700; letter-spacing: 0.06em; }
.ind h2 { margin-top: 8px; }
.ind .lead { margin-top: 14px; font-size: 16.5px; }
.ind dl { margin-top: 24px; border-top: 1px solid var(--ink); }
.ind dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.75; }
.ind dt { color: var(--mute); font-size: 14px; }
.ind .go { margin-top: 18px; font-size: 15px; }
@media (max-width: 900px) { .ind { grid-template-columns: 1fr; } .ind figure img { aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .ind dl div { grid-template-columns: 1fr; gap: 2px; } }

/* ── 세무 일정 달력 ── */
.cal-bar { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.cal-who { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-who button { border: 1px solid var(--rule); background: #fff; padding: 8px 13px; border-radius: 2px; font-size: 14px; cursor: pointer; }
.cal-who button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-who-label { font-size: 13px; color: var(--mute); margin-bottom: 8px; display: block; }
.cal-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid var(--rule); border-right: 0; margin-top: 28px; }
.cal-months button { border: 0; border-right: 1px solid var(--rule); background: #fff; padding: 12px 0 10px; cursor: pointer; font-size: 15px; position: relative; font-variant-numeric: tabular-nums; }
.cal-months button small { display: block; font-size: 11.5px; color: var(--mute-2); margin-top: 2px; }
.cal-months button[aria-selected="true"] { background: var(--navy); color: #fff; }
.cal-months button[aria-selected="true"] small { color: #c6cde0; }
.cal-months button.is-now::before { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--seal); }
.cal-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); margin-top: 36px; }
.cal-grid-head { display: flex; justify-content: space-between; align-items: baseline; }
.cal-grid-head h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.cal-grid-head span { font-size: 13px; color: var(--mute); }
.cal-grid { width: 100%; border-collapse: collapse; margin-top: 14px; table-layout: fixed; }
.cal-grid th { font-size: 12.5px; color: var(--mute); font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--ink); }
.cal-grid th:first-child { color: var(--seal); }
.cal-grid td { height: 52px; vertical-align: top; text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--rule-2); font-size: 14px; position: relative; color: var(--ink-2); }
.cal-grid td.sun { color: var(--seal); }
.cal-grid td.out { color: transparent; }
.cal-grid td.has { font-weight: 700; color: var(--navy); }
.cal-grid td.has::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px; background: var(--navy); }
.cal-grid td.has.inc::after { background: var(--seal); }
.cal-grid td.today { background: var(--paper-2); }
.cal-grid td.dim { opacity: .35; }
.cal-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--mute); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 14px; height: 3px; background: var(--navy); vertical-align: middle; margin-right: 6px; }
.cal-legend i.inc { background: var(--seal); }
.cal-list { border-top: 1px solid var(--ink); }
.cal-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.cal-item .d { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1; }
.cal-item.inc .d { color: var(--seal); }
.cal-item .d small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--mute); font-weight: 500; margin-top: 6px; }
.cal-item h3 { font-size: 17.5px; font-weight: 700; line-height: 1.5; }
.cal-item .who { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }
.cal-item .who span { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--rule); padding: 0 7px; border-radius: 2px; }
.cal-item p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.7; }
.cal-item p.ask { color: var(--mute); }
.cal-item p.ask b { color: var(--navy); font-weight: 600; }
.cal-empty { padding: 28px 0; color: var(--mute); border-bottom: 1px solid var(--rule); }
.cal-caution { margin-top: 40px; padding: 20px 22px; border: 1px solid var(--rule); border-left: 3px solid var(--seal); font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.cal-caution b { color: var(--ink); }
@media (max-width: 960px) { .cal-body { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .cal-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cal-months button:nth-child(-n+6) { border-bottom: 1px solid var(--rule); }
  .cal-grid td { height: 44px; font-size: 13px; padding: 4px; }
}

/* ── 스크롤 등장 ── */
html:not(.no-js) [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
html:not(.no-js) [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.no-js) [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
.karis-link-off { cursor: default; }

/* ═════════ v2 추가: 구조 ═════════ */
.h1-src { display: block; }
.is-split > .h1-src { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.h1-vis { display: block; }
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln-in { display: inline-block; will-change: transform; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w-in { display: inline-block; will-change: transform; }

/* 숫자 굴림(오도미터) */
.roll { display: inline-flex; vertical-align: baseline; }
.roll .dg { display: inline-block; height: 1.2em; line-height: 1.2em; overflow: hidden; position: relative; vertical-align: bottom; }
.roll .dg > span { display: flex; flex-direction: column; will-change: transform; }
.roll .dg > span > i { font-style: normal; height: 1.2em; display: block; text-align: center; }

/* 첫 화면: 장부 줄 */
.hero { position: relative; }
.hero-rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.hero-photo .ph { position: relative; }
.hero-photo .ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(22,24,29,.06); pointer-events: none; }

/* 다가오는 일정 줄 */
.due-row { position: relative; }
.due-row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.due-row:hover::after { transform: scaleX(1); }

/* 장부 정렬(대표 연출) */
.ledger { overflow: hidden; background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ledger-pin { min-height: 100vh; display: flex; align-items: center; padding: clamp(56px, 7vw, 96px) 0; }
.ledger-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.ledger-steps { margin-top: 32px; border-top: 1px solid var(--ink); }
.ledger-steps li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--rule); opacity: .38; transition: opacity .4s; }
.ledger-steps li.is-on, html:not(.gj-motion) .ledger-steps li { opacity: 1; }
.ledger-steps .n { font-family: var(--serif); color: var(--navy); font-weight: 600; font-size: 15px; }
.ledger-steps h3 { font-size: 17px; font-weight: 700; }
.ledger-steps p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.7; }
.ledger-stage { position: relative; }
.ledger-sheet { background: #fff; border: 1px solid var(--rule); padding: 22px 26px 18px; position: relative; }
.ledger-sheet::before { content: ""; position: absolute; left: 92px; top: 0; bottom: 0; width: 1px; background: #efd9d5; }
.lg-head, .lg-row, .lg-total { display: grid; grid-template-columns: 64px minmax(0, 1.6fr) minmax(0, 1fr) 112px; gap: 14px; align-items: baseline; }
.lg-head { font-size: 12.5px; color: var(--mute); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.lg-row { font-size: 14.5px; padding: 9px 10px; margin: 0 -10px; border-bottom: 1px solid var(--rule-2); background: #fff; position: relative; will-change: transform; }
.lg-row .cat { font-size: 12.5px; color: var(--mute); }
.lg-row .amt, .lg-head .amt, .lg-total .amt { text-align: right; }
.lg-total { padding-top: 12px; margin-top: 2px; font-weight: 700; font-size: 15.5px; position: relative; }
.lg-total::before, .lg-total::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--ink); transform-origin: right; transform: scaleX(var(--uline, 1)); }
.lg-total::before { top: 0; } .lg-total::after { top: 4px; }
.lg-total .amt { font-family: var(--serif); font-size: 19px; color: var(--navy); }
.ledger-cap { margin-top: 10px; text-align: right; }
@media (max-width: 960px) {
  .ledger-pin { min-height: 0; }
  .ledger-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ledger-sheet { padding: 16px 14px 14px; }
  .ledger-sheet::before { left: 62px; }
  .lg-head, .lg-row, .lg-total { grid-template-columns: 42px minmax(0, 1fr) 96px; gap: 8px; }
  .lg-total .amt { font-size: 17px; white-space: nowrap; }
  .lg-head .cat, .lg-row .cat, .lg-total .cat { display: none; }
  .lg-row { font-size: 13.5px; padding: 8px 6px; margin: 0 -6px; }
  .ledger-steps li { padding: 10px 0; }
  .ledger-steps p { display: none; }
  .ledger-steps li.is-on p, html:not(.gj-motion) .ledger-steps p { display: block; }
}

/* 흐르는 업종 띠 */
.band-flow { padding: 40px 0 44px; border-bottom: 1px solid var(--rule); overflow: hidden; }
.band-label { margin-bottom: 14px; }
.band-track { overflow: hidden; }
.band-row { display: inline-flex; white-space: nowrap; gap: 28px; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 58px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; will-change: transform; }
.band-row i { font-style: normal; color: var(--rule); }
.band-row span:nth-of-type(2n) { color: #b9bec9; }

/* 사진 틀 */
.ph-frame { margin: 0; overflow: hidden; position: relative; }
.ph-frame img { width: 100%; will-change: transform; }
.ph-frame figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; }
.strip-wrap { padding: 0 0 clamp(56px, 7vw, 96px); }
.strip figure { height: clamp(220px, 28vw, 420px); }
.strip img { height: 116%; object-fit: cover; margin-top: -8%; }
.pair { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: start; }
.pair img { aspect-ratio: 3 / 2; object-fit: cover; }
.pair figure:last-child img { aspect-ratio: 4 / 5; }
.trio { display: grid; grid-template-columns: 4fr 3fr 3fr; gap: 16px; }
.trio img { aspect-ratio: 4 / 5; object-fit: cover; }
.trio figure:first-child img { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .pair, .trio { grid-template-columns: 1fr; } .pair figure:last-child img, .trio img { aspect-ratio: 3 / 2; } }

/* 사례 번호 */
.case-index { counter-reset: cs; }
.case-row { counter-increment: cs; }
.case-row .no::before { content: counter(cs, decimal-leading-zero); }
.case-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
a.case-row:hover::before { transform: scaleX(1); }
a.case-row:hover .no { color: var(--navy); }
.case-row .thumb img { transform: scale(1.02); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; }
a.case-row:hover .thumb img { transform: scale(1.07); }
.case-row .tags span[data-karis-empty] { display: none; }

/* 사례 상세 */
.case-body .cols { padding-top: 8px; }
.case-body .side h2 { position: sticky; top: calc(var(--bar) + var(--head) + 24px); }
.rich p + p { margin-top: 1em; }
.did { counter-reset: d; border-top: 1px solid var(--ink); }
.did p { counter-increment: d; display: grid; grid-template-columns: 44px minmax(0,1fr); padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16px !important; line-height: 1.8; margin: 0 !important; }
.did p::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); color: var(--navy); font-weight: 600; }
.case-detail .page-head { border-bottom: 0; }
.case-detail .h-xl { max-width: 20em; }

/* 소식 첫 글 */
.feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.feat .ph-frame img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.feat:hover .ph-frame img { transform: scale(1.04); }
.feat .meta { display: flex; gap: 12px; font-size: 14px; color: var(--mute); }
.feat .meta .cat { color: var(--navy); font-weight: 700; }
.feat h2 { margin-top: 12px; }
.feat p:not(.meta) { margin-top: 14px; color: var(--ink-2); }
.feat .link { margin-top: 20px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } }
.article .meta .cat { color: var(--navy); font-weight: 700; }
.article .crumb a { color: var(--navy); }
.more-posts { margin-top: 24px; }
.post-row { position: relative; transition: padding .35s cubic-bezier(.2,.7,.2,1); }
a.post-row:hover { padding-left: 10px; }
a.post-row:hover .arr { color: var(--navy); transform: translateX(4px); }
.post-row [data-karis-empty] { display: none; }

/* 업종 안내 맛보기 */
.guide-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 860px) { .guide-teaser { grid-template-columns: 1fr; } }
.ind-nav a { transition: background .25s, color .25s, border-color .25s; }
.ind-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 달력 넘김 */
.cal-page { perspective: 1200px; }
.cal-grid-wrap { transform-origin: 50% 0; background: #fff; }
.cal-tip-box { margin-top: 20px; padding: 16px 18px; background: var(--paper-2); font-size: 14.5px; line-height: 1.75; color: var(--ink-2); display: grid; gap: 4px; }
.cal-tip-box b { font-size: 12.5px; color: var(--navy); letter-spacing: .04em; }
.cal-months { position: relative; }
.cal-months .cal-mark { position: absolute; bottom: -1px; left: 0; height: 3px; background: var(--seal); pointer-events: none; }

/* ═════════ 작은 반응 ═════════ */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid::before { background: var(--navy-2); }
.btn--solid:hover { background: var(--navy); }
.btn--line::before { background: var(--navy); }
.btn--line:hover { color: #fff; background: transparent; }
.btn--white::before { background: var(--navy-ink); }
.btn:active { transform: translateY(1px); }
.link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .45s cubic-bezier(.7,0,.2,1); }
.link:hover { animation: relink .8s cubic-bezier(.7,0,.2,1); }
@keyframes relink { 0% { background-size: 100% 1px; background-position: right bottom; } 45% { background-size: 0 1px; background-position: right bottom; } 46% { background-size: 0 1px; background-position: left bottom; } 100% { background-size: 100% 1px; background-position: left bottom; } }
.nav a:not(.nav-cta)::before { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 1px; background: var(--navy); transform: scaleX(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav a:not(.nav-cta):hover::before { transform: scaleX(1); }
.site-header { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(22,24,29,.05); }
.site-header.is-hidden { transform: translateY(calc(-100% - 1px)); }
.nav-toggle i, .nav-toggle i::after { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .2s; }
body.nav-open .nav-toggle i { border-bottom-color: transparent; transform: translateY(2px) rotate(45deg); }
body.nav-open .nav-toggle i::after { transform: translateY(-1.5px) rotate(-90deg); }
@media (max-width: 1080px) {
  .nav { display: flex; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.7,0,.2,1), visibility 0s .55s; }
  body.nav-open .nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(.7,0,.2,1), visibility 0s; }
  .nav a, .nav-tel { opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s; }
  body.nav-open .nav a, body.nav-open .nav-tel { opacity: 1; transform: none; transition: opacity .5s calc(.18s + var(--i, 0) * .05s), transform .6s calc(.18s + var(--i, 0) * .05s) cubic-bezier(.2,.7,.2,1); }
  .nav a::before { display: none; }
}
.field { position: relative; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea, .field select { transition: border-color .25s, box-shadow .25s, background .25s; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.field:has(input:not([type=radio]):not([type=checkbox]):focus, textarea:focus, select:focus)::after { transform: scaleX(1); }
.field:has(.chips)::after, .field:has(.agree)::after { display: none; }
.field:focus-within > label { color: var(--navy); }
.chips span { transition: background .25s, color .25s, border-color .25s, transform .15s; }
.chips label:active span { transform: scale(.97); }
.chips input:checked + span::before { content: ""; display: inline-block; width: 8px; height: 4px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(1px, -2px); margin-right: 8px; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--navy); }
.faq summary::after { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq .a { overflow: hidden; }
.fee tbody tr { transition: background .25s; }
.fee tbody tr:hover { background: #fafbfc; }
.person:hover h3 { color: var(--navy); }

/* ═════════ 페이지 전환 막 ═════════ */
.pt { position: fixed; inset: 0; z-index: 2147481000; pointer-events: none; visibility: hidden; }
.pt.is-on { visibility: visible; pointer-events: auto; }
.pt-sheet { position: absolute; inset: 0; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.pt-label { color: #fff; font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.01em; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 0 24px; }
.pt-label small { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; color: #a9b2c8; font-weight: 500; }
.pt-line { width: 120px; height: 1px; background: rgba(255,255,255,.5); transform-origin: left; }
.pt-rows { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 47px, rgba(255,255,255,.06) 47px 48px); }

/* 움직임을 줄이는 설정 */
@media (prefers-reduced-motion: reduce) {
  .btn::before, .link, .nav, .nav a { transition: none !important; animation: none !important; }
  .pt { display: none !important; }
}

/* 표가 많은 페이지(업무와 수수료): 줄 간격과 여백을 넉넉하게 */
.fee th, .fee td { padding-top: 28px; padding-bottom: 28px; }
.fee .svc p { line-height: 1.8; margin-top: 8px; }
.fee .won span { margin-top: 6px; line-height: 1.6; }
.tbl th, .tbl td { padding-top: 17px; padding-bottom: 17px; line-height: 1.65; }
.fee-note { margin-top: 22px; line-height: 1.75; }
.cols + .cols { margin-top: clamp(64px, 8vw, 112px); }
.cols .lead + .mt-m { margin-top: 40px; }
.steps p { line-height: 1.8; }
@media (max-width: 820px) { .fee tr { padding: 26px 0; } }
.article .body h2:first-child { margin-top: 0; }
