@import url("https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.3/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css");

:root {
  --ink: #0e1f33;
  --navy: #0a1726;
  --paper: #f3f5f8;
  --white: #ffffff;
  --line: #d7dde5;
  --muted: #56616f;
  --accent: #1d4cc9;
  --accent-deep: #163a9c;
  --accent-soft: #e6ebf9;
  --on-navy: #f3f5f8;
  --on-navy-muted: #b6c0cd;
  --navy-line: rgba(243, 245, 248, 0.18);
  --sans: "Wanted Sans Variable", "Wanted Sans", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-color: var(--ink) var(--paper); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); word-break: keep-all; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.28; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.4; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 64px); margin-inline: auto; }
.lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 38em; }
.dark .lead { color: var(--on-navy-muted); }
.sample-tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: 0; vertical-align: middle; opacity: 0.85; }

/* 상단 */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 20; color: #fff; }
.nav.light { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); background: var(--paper); }
.nav .wrap { display: flex; align-items: center; height: 84px; gap: 40px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; white-space: nowrap; min-height: 44px; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo span { font-weight: 500; }
.menu { display: flex; gap: clamp(22px, 3vw, 44px); margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 16px; font-weight: 500; }
.menu a { display: block; padding: 10px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { font-size: 15px; font-weight: 600; padding: 11px 22px; border-radius: 6px; background: #fff; color: var(--ink); transition: background 0.25s, color 0.25s; white-space: nowrap; }
.nav.light .nav-cta { background: var(--ink); color: #fff; }
.nav-cta:hover { background: var(--accent); color: #fff; }
.nav.light .nav-cta:hover { background: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 6px; font-size: 16px; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-deep); }
.btn-line { border-color: currentColor; background: none; color: inherit; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dark .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.text-link svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* 메인 첫 화면 */
.hero { position: relative; min-height: clamp(600px, 92svh, 860px); overflow: hidden; color: #fff; background: var(--navy); display: flex; align-items: flex-end; }
.hero-photo { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; animation: drift 30s ease-in-out -15s infinite alternate; will-change: transform; }
@keyframes drift { from { transform: scale(1) translate3d(-1%, 0.6%, 0); } to { transform: scale(1.06) translate3d(1%, -0.6%, 0); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 32, 0.9) 0%, rgba(8, 18, 32, 0.66) 48%, rgba(8, 18, 32, 0.3) 100%), linear-gradient(0deg, rgba(8, 18, 32, 0.72), rgba(8, 18, 32, 0) 45%); }
.hero .wrap { position: relative; z-index: 2; padding: 170px 0 96px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.2; max-width: 14em; }
.hero h1 span { display: block; animation: rise 1.2s var(--ease) both; }
.hero h1 span + span { animation-delay: 0.14s; }
.hero-sub { margin-top: 26px; max-width: 32em; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--on-navy-muted); animation: rise 1.2s 0.28s var(--ease) both; }
.hero .btn-row { animation: rise 1.2s 0.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* 빠른 상담 */
.quick { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--navy-line); }
.quick form { display: grid; grid-template-columns: auto 1fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 22px 0; }
.quick strong { font-size: 1.02rem; margin-right: 12px; white-space: nowrap; }
.quick input, .quick select { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--navy-line); border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; caret-color: #fff; }
.quick input::placeholder { color: #a9b4c2; }
.quick input:focus, .quick select:focus { outline: none; border-color: #fff; }
.quick select option { color: var(--ink); }
.quick .btn { min-height: 52px; }
.quick-msg { display: none; padding: 0 0 20px; color: var(--on-navy); }
.quick-msg.show { display: block; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 섹션 */
.section { padding: clamp(84px, 10vw, 140px) 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--on-navy); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* 고민 */
.worries { display: grid; grid-template-columns: 1fr 1fr; margin: 64px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.worries li { padding: 36px 40px 38px 0; border-bottom: 1px solid var(--line); }
.worries li:nth-child(odd) { border-right: 1px solid var(--line); }
.worries li:nth-child(even) { padding-left: 40px; padding-right: 0; }
.worries q { display: block; quotes: none; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.45; }
.worries p { margin-top: 12px; color: var(--muted); }

/* 숫자 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.stats li { padding: 48px 36px 46px 0; }
.stats li + li { border-left: 1px solid var(--navy-line); padding-left: 36px; }
.stats .num { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats .num small { font-size: 0.42em; font-weight: 600; margin-left: 4px; letter-spacing: -0.02em; }
.stats .label { display: block; margin-top: 18px; font-weight: 600; }
.stats .note { display: block; margin-top: 2px; font-size: 0.93rem; color: var(--on-navy-muted); }

/* 업무분야 목록 */
.services { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); margin: 56px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.services li { border-bottom: 1px solid var(--line); }
.services .row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px 0; }
.services p { margin-top: 6px; color: var(--muted); font-size: 0.98rem; }
.services a.row:hover h3 { color: var(--accent); }
.services svg { width: 22px; height: 22px; color: var(--accent); transition: transform 0.4s var(--ease); }
.services a.row:hover svg { transform: translateX(5px); }

/* 세 가지 */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 64px; }
.three > div { border-top: 2px solid var(--ink); padding-top: 28px; }
.dark .three > div { border-color: var(--on-navy); }
.three p { margin-top: 12px; color: var(--muted); }
.dark .three p { color: var(--on-navy-muted); }

/* 구성원 */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); margin-top: 56px; }
.person .ph { aspect-ratio: 4 / 5; background: #e2e7ed; overflow: hidden; border-radius: 4px; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover .ph img { transform: scale(1.04); }
.person h3 { margin-top: 18px; }
.person h3 small { font-size: 0.72em; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.person ul { margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.person li { padding: 2px 0; }
.member { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.member:first-of-type { padding-top: 0; }
.member .ph { aspect-ratio: 4 / 5; background: #e2e7ed; overflow: hidden; border-radius: 4px; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; }
.member h2 small { font-size: 0.42em; font-weight: 500; color: var(--muted); margin-left: 12px; letter-spacing: 0; }
.member .field { margin-top: 10px; color: var(--accent); font-weight: 600; }
.member .say { margin-top: 24px; max-width: 36em; }
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 32px; border-top: 2px solid var(--ink); }
.cv h3 { font-size: 0.95rem; padding: 20px 0 6px; letter-spacing: 0; }
.cv ul { margin: 0; padding: 0 0 8px; list-style: none; color: var(--muted); font-size: 0.97rem; }
.cv li { padding: 4px 0; }

/* 후기 */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: 56px; }
.quotes figure { margin: 0; border-top: 2px solid var(--ink); padding-top: 28px; }
.quotes blockquote { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.6; }
.quotes figcaption { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* 질문 */
.faq { margin-top: 48px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 52px 26px 0; position: relative; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transform: translateY(-50%); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 52px 28px 0; color: var(--muted); }

/* 하위 페이지 머리 */
.page-head { padding: 56px 0 clamp(56px, 7vw, 96px); }
.crumbs { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.2; }
.page-head .lead { font-size: 1.15rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 13px; background: var(--accent-soft); color: var(--accent-deep); border-radius: 999px; font-size: 14px; font-weight: 600; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split.top { align-items: start; }
.photo { overflow: hidden; border-radius: 4px; background: #e2e7ed; aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.prose p + p { margin-top: 18px; }
.check { margin: 40px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.check li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.check svg { width: 22px; height: 22px; color: var(--accent); margin-top: 4px; }

/* 표 */
.table-scroll { overflow-x: auto; margin-top: 48px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { padding: 20px 18px 20px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { border-bottom: 2px solid var(--ink); font-size: 0.95rem; }
tbody th { width: 22%; font-weight: 700; white-space: nowrap; }
td { color: var(--muted); }
.fine { margin-top: 20px; font-size: 0.93rem; color: var(--muted); }

/* 세무 달력 */
.calendar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--navy-line); border-left: 1px solid var(--navy-line); }
.calendar li { padding: 26px 24px 28px; border-right: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.calendar time { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calendar strong { display: block; margin-top: 10px; font-weight: 600; }
.calendar span { display: block; margin-top: 4px; font-size: 0.92rem; color: var(--on-navy-muted); }

/* 순서 */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin: 56px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.steps li { counter-increment: s; padding: 28px 0 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 1.05rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.98rem; }

/* 요금 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 2px solid var(--ink); }
.plans > div { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.plans > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.plans .price { margin-top: 10px; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plans .price small { font-size: 0.55em; font-weight: 500; color: var(--muted); }
.plans ul { margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.97rem; }
.plans li { padding: 5px 0 5px 18px; position: relative; }
.plans li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 8px; height: 2px; background: var(--accent); }

/* 상담 */
.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; caret-color: var(--accent); transition: border-color 0.2s; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form input::placeholder, .form textarea::placeholder { color: #6b7684; }
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.agree input { width: 20px; min-height: 20px; height: 20px; margin: 4px 0 0; flex: none; accent-color: var(--accent); }
.agree label { margin: 0; font-weight: 400; }
.form-msg { grid-column: 1 / -1; display: none; padding: 18px 22px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent-soft); }
.form-msg.show { display: block; }
.info-list { margin: 0; border-top: 2px solid var(--ink); }
.info-list div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 600; }
.info-list dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; border-radius: 4px; background: #e6eaf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cpath d='M0 46h140M0 104h140M40 0v140M108 0v140' stroke='%23d3d9e2' stroke-width='7' fill='none'/%3E%3C/svg%3E"); display: grid; place-items: center; text-align: center; padding: 24px; font-size: 0.95rem; color: var(--muted); }
.map span { background: var(--white); padding: 12px 20px; border: 1px solid var(--line); border-radius: 4px; }

/* 마무리 띠 */
.cta { background: var(--navy); color: var(--on-navy); padding: clamp(80px, 9vw, 124px) 0; }
.cta .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: 48px; align-items: end; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.cta dl { margin: 0; border-top: 1px solid var(--navy-line); }
.cta dl div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.cta dt { color: var(--on-navy-muted); }
.cta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 하단 */
.footer { background: #07111d; color: #c3ccd8; padding: 72px 0 96px; font-size: 0.94rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer .logo { color: #fff; }
.footer h2 { font-size: 0.92rem; letter-spacing: 0; color: #fff; }
.footer ul { margin: 14px 0 0; padding: 0; list-style: none; }
.footer li { padding: 4px 0; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .biz { margin-top: 20px; line-height: 1.8; }
.footer .sample-line { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #fff; }
.sample { position: fixed; left: 16px; bottom: 16px; z-index: 40; background: rgba(7, 17, 29, 0.94); color: #fff; font-size: 12.5px; padding: 8px 14px; border-radius: 4px; }

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

@media (max-width: 1000px) {
  .menu, .nav-cta { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { position: absolute; }
  .nav.light { position: relative; }
  .menu.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 20px; right: 20px; margin: 0; background: #fff; color: var(--ink); padding: 8px 24px; border: 1px solid var(--line); border-radius: 8px; z-index: 30; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.45); }
  .menu.open li + li { border-top: 1px solid var(--line); }
  .menu.open a { padding: 15px 0; }
  .menu.open a::after { display: none; }
  .quick form { grid-template-columns: 1fr 1fr; }
  .quick strong { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .calendar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 40px); }
  .nav .wrap { height: 68px; }
  .hero { min-height: 560px; }
  .hero .wrap { padding: 130px 0 64px; }
  .hero .btn { flex: 1 1 auto; }
  .quick form { grid-template-columns: 1fr; }
  .worries, .services, .three, .quotes, .split, .member, .cv, .plans, .contact-grid, .form, .cta .wrap { grid-template-columns: 1fr; }
  .worries li, .worries li:nth-child(even) { padding: 28px 0; border-right: 0; }
  .stats { grid-template-columns: 1fr; }
  .stats li, .stats li + li { padding: 32px 0; border-left: 0; }
  .stats li + li { border-top: 1px solid var(--navy-line); }
  .three { gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans > div, .plans > div + div { padding: 28px 0; border-left: 0; }
  .member .ph { max-width: 320px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .sample { left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; padding: 6px 12px; }
  .page-head { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* 점검 후 보완 */
.section.first { padding-top: clamp(56px, 6vw, 88px); }
.text-link { min-height: 44px; }
.m-only { display: none; }
@media (max-width: 1000px) { .menu.open .m-only { display: block; } }

/* 업무분야 탭, 5칸 절차 */
.svc-tabs { background: var(--white); border-bottom: 1px solid var(--line); }
.svc-tabs ul { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0; padding: 0; list-style: none; overflow-x: auto; }
.svc-tabs a { display: block; padding: 20px 0 18px; white-space: nowrap; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s; }
.svc-tabs a:hover { color: var(--ink); }
.svc-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); font-weight: 700; }
.calendar.five { grid-template-columns: repeat(5, 1fr); }
.calendar.five time { font-size: 1.25rem; color: var(--on-navy-muted); }
.calendar.five strong { font-size: 1.08rem; }
@media (max-width: 1000px) { .calendar.five { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 블로그 ---------- */
.post-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.post-filters button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--muted); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.post-filters button:hover { border-color: var(--ink); color: var(--ink); }
.post-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.post-card[hidden] { display: none; }
a.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.45); }
.post-card.is-static { cursor: default; }
.post-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); display: grid; place-items: end center; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(-13%); transition: transform 1.2s var(--ease); }
a.post-card:hover .post-thumb img { transform: translateY(-13%) scale(1.05); }
.post-thumb-title { position: relative; width: 100%; background: var(--ink); color: #fff; padding: 12px 14px; text-align: center; font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: -0.02em; line-height: 1.45; }
.post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.post-cat { font-size: 14px; font-weight: 700; color: var(--accent); }
.post-card h2 { font-size: 1.2rem; line-height: 1.5; letter-spacing: -0.025em; }
.post-meta { font-size: 14px; color: var(--muted); }
.post-excerpt { color: var(--muted); font-size: 0.98rem; }
.blog-note { margin-top: 36px; font-size: 0.93rem; color: var(--muted); text-align: center; }

.post { background: var(--white); padding-bottom: clamp(72px, 8vw, 110px); }
.post-head { padding-top: clamp(40px, 5vw, 72px); }
.post-chip { display: inline-block; padding: 5px 13px; background: var(--accent-soft); color: var(--accent-deep); border-radius: 999px; font-size: 14px; font-weight: 600; }
.post-head h1 { margin-top: 18px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.36; }
.post-by { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }
.toc { margin-top: 32px; padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.toc strong { font-size: 0.95rem; }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; font-size: 0.97rem; }
.toc li { padding: 3px 0; }
.toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.post-cover { margin: 36px auto 0; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.post-content { margin-top: 40px; font-size: 1.06rem; line-height: 1.9; }
.post-content > p { margin-top: 14px; }
.post-content h2 { margin-top: 72px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.45; scroll-margin-top: 24px; }
.post-content h3 { margin-top: 32px; font-size: 1.14rem; }
.post-content h3 + p { margin-top: 8px; }
.post-content figure { margin: 26px 0 0; }
.post-content figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.post-content .table-scroll { margin-top: 30px; }
.post-content table { min-width: 520px; font-size: 0.97rem; }
.post-content tbody th { white-space: nowrap; }
.memo, .caution, .first-visit { margin-top: 36px; padding: 26px 28px; font-size: 1rem; line-height: 1.8; border-radius: 6px; }
.memo { background: var(--accent-soft); border-left: 0; border-top: 2px solid var(--accent); }
.caution { border: 1px solid var(--line); color: var(--muted); }
.caution strong { color: var(--ink); }
.first-visit { background: var(--paper); border: 1px solid var(--line); }
.memo p, .caution p { margin-top: 8px; }
.first-visit ol { margin: 10px 0 0; padding-left: 1.3em; }
.first-visit li { padding: 3px 0; }
.mid-cta { margin-top: 44px; padding: 30px 32px; background: var(--ink); color: #fff; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.mid-cta p { margin-top: 6px; font-size: 0.98rem; color: var(--on-navy-muted); }
.mid-cta .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.post-links { margin-top: 44px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.97rem; }
.post-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.author { margin-top: 28px; display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 6px; }
.author img { width: 96px; height: 96px; object-fit: cover; object-position: 50% 12%; border-radius: 50%; }
.author p { margin-top: 4px; font-size: 0.97rem; color: var(--muted); }
.inquiry { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.inquiry .form { margin-top: 44px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .post-grid { grid-template-columns: 1fr; }
  .toc { padding: 20px 22px; }
  .mid-cta { padding: 26px 22px; }
  .author { grid-template-columns: 72px 1fr; padding: 20px; }
  .author img { width: 72px; height: 72px; }
}
