/* 회계법인 라온 — 자체 관리 홈페이지 공통 스타일
   기존 clickn 사이트의 흑백 브랜드(검정 헤더, 흰 로고, Montserrat + Noto Sans KR)를 유지한다. */

/* 글꼴: 사이트에서 직접 제공(외부 글꼴 서버 호출 없음, 개인정보 처리방침 초안 제9조제2항의 전제).
   SIL Open Font License 1.1 — 라이선스 전문은 /assets/fonts/OFL-*.txt.
   Noto Sans KR은 KS X 1001 한글 2,350자·기호와 사이트에 쓰인 글자만 남긴 부분 글꼴이며,
   그 밖의 글자는 맑은 고딕 등 기기 글꼴로 표시된다(새 글자를 넣으면 tools/make_fonts.py로 다시 생성). */
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-kr-400.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-kr-500.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans KR"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-kr-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --black: #000;
  --ink: #1c1c1c;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #dcdcd8;
  --paper: #fff;
  --stone: #f2f2ef;
  --link: #24527d;
  --wrap: 1180px;
  --gutter: 24px;
  --font-ko: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --font-en: "Montserrat", "Noto Sans KR", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-ko); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--paper); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #4a90d9; outline-offset: 3px; }
h1, h2, h3 { line-height: 1.3; color: var(--ink); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 36px; width: auto; }
.gnb > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: block; padding: 26px 16px; color: #fff; text-decoration: none; font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.gnb .sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: 0; top: 100%; min-width: 190px; background: #fff; border-top: 2px solid #000; box-shadow: 0 8px 20px rgba(0,0,0,.12); display: none; }
.gnb li:hover > .sub, .gnb li:focus-within > .sub { display: block; }
.gnb .sub a { display: block; padding: 8px 20px; color: var(--ink); text-decoration: none; font-size: 14px; }
.gnb .sub a:hover, .gnb .sub a[aria-current="page"] { background: var(--stone); }
.gnb > ul > li > a[aria-current="true"] { box-shadow: inset 0 -3px 0 #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 28px; height: 2px; background: #fff; margin: 6px 0; }
@media (max-width: 900px) {
  .site-header .wrap { height: 64px; }
  .brand img { height: 30px; }
  .menu-toggle { display: block; }
  .gnb { position: fixed; inset: 64px 0 0 0; background: #000; overflow-y: auto; display: none; }
  .gnb.open { display: block; }
  .gnb > ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 40px; }
  .gnb > ul > li > a { padding: 16px 0 8px; font-size: 16px; border-bottom: 1px solid #333; }
  .gnb .sub { position: static; display: block; background: none; border: 0; box-shadow: none; padding: 6px 0 10px; }
  .gnb .sub a { color: #ccc; padding: 7px 0 7px 12px; font-size: 15px; }
  .gnb .sub a:hover, .gnb .sub a[aria-current="page"] { background: none; color: #fff; }
  body.menu-open { overflow: hidden; }
}

/* Sub-page title band */
.page-head { background: var(--ink) url("../img/hero/hero-2.jpg") center/cover; position: relative; color: #fff; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.page-head .wrap { position: relative; padding-top: 72px; padding-bottom: 64px; }
.page-head .page-title { color: #fff; line-height: 1.3; font-family: var(--font-en); font-size: clamp(30px, 5vw, 48px); font-weight: 700; margin: 0 0 8px; }
.page-head p { margin: 0; color: #ddd; }
.subnav { border-bottom: 1px solid var(--line); background: #fff; }
.subnav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: 4px; overflow-x: auto; }
.subnav a { display: block; padding: 16px 14px; white-space: nowrap; color: var(--muted); text-decoration: none; font-size: 15px; }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }

.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.stone { background: var(--stone); }
.section.dark { background: var(--ink); color: #eee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.h-en { font-family: var(--font-en); font-weight: 700; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 46em; }
.prose { max-width: 46em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 32px; } .section { padding: 56px 0; } }

/* Home */
.hero { position: relative; height: min(78vh, 720px); min-height: 440px; background: #000; overflow: hidden; color: #fff; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero .slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.hero .slide.on { opacity: 1; }
.hero .copy { position: relative; padding: 0 var(--gutter); }
.hero h1, .hero h2 { color: #fff; font-size: clamp(26px, 4.4vw, 48px); font-weight: 700; margin: 0 0 14px; }
.hero p { font-family: var(--font-en); font-size: clamp(14px, 1.6vw, 18px); margin: 0; color: #eee; }
.hero .dots { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero .dots button { width: 12px; height: 12px; border-radius: 6px; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; transition: width .3s; }
.hero .dots button[aria-current="true"] { width: 30px; background: #fff; }
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 56px 0 8px; }
.ticker .track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font-family: var(--font-en); font-weight: 700; font-size: clamp(36px, 6vw, 72px); white-space: nowrap; padding-right: 1em; }
@keyframes tick { to { transform: translateX(-50%); } }
.values { background: var(--ink); color: #fff; padding: 40px 0 88px; }
.values ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.values img { width: 84px; margin: 0 auto 22px; }
.values li { font-weight: 500; font-size: 17px; line-height: 1.6; }
@media (max-width: 800px) { .values ul { grid-template-columns: 1fr 1fr; gap: 40px 16px; } .values li { font-size: 15px; } .values img { width: 64px; } }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc img { aspect-ratio: 512/490; object-fit: cover; width: 100%; }
.svc .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.svc h3 { font-family: var(--font-en); font-size: 19px; }
.svc ul { margin: 0 0 18px; padding-left: 1.1em; font-size: 14px; color: var(--muted); line-height: 1.65; }
.svc .more { margin-top: auto; font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.svc:hover h3 { text-decoration: underline; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* About */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.focus article { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding: 28px; background: #fff; border: 1px solid var(--line); }
.focus img { width: 96px; }
.focus h3 { font-size: 20px; }
.focus p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .focus { grid-template-columns: 1fr; } .focus article { grid-template-columns: 64px 1fr; padding: 20px; } .focus img { width: 64px; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.timeline time { display: block; font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--ink); }

/* Services */
.service-block { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); align-items: start; }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block img { width: 100%; }
.service-block h2 { font-family: var(--font-en); font-size: 26px; }
.service-block ul { margin: 0; padding-left: 1.1em; }
.service-block li { margin-bottom: 6px; }
@media (max-width: 800px) { .service-block { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; } }

/* Members */
.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.member .photo { width: 150px; aspect-ratio: 3/4; background: var(--stone); overflow: hidden; display: flex; align-items: center; justify-content: center; color: #aaa; font-family: var(--font-en); font-size: 13px; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.member .role { font-size: 14px; color: var(--muted); margin: 0 0 2px; }
.member h3 { font-size: 22px; margin-bottom: 12px; }
.member ul { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.75; color: var(--text); }
@media (max-width: 900px) { .members { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .member { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; } .member .photo { width: 96px; } }

/* Clients */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.clients a, .clients div { display: block; border: 1px solid var(--line); background: #fff; }
.clients a:hover { border-color: var(--ink); }
.clients img { aspect-ratio: 1; object-fit: contain; width: 100%; }
@media (max-width: 900px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* Laon heritage */
.laon-banner { width: 100%; margin-bottom: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts article { padding: 28px; border: 1px solid var(--line); background: #fff; }
.facts img { width: 64px; margin-bottom: 16px; }
.facts h3 { font-size: 19px; }
.facts p, .facts li { color: var(--muted); font-size: 15px; }
.facts ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }
.quote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--ink); margin: 0 0 12px; }

/* Location */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.office h2 { font-size: 22px; }
.office dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin: 0 0 20px; font-size: 15px; }
.office dt { font-family: var(--font-en); font-weight: 600; color: var(--muted); }
.office dd { margin: 0; }
.map { aspect-ratio: 4/3; width: 100%; border: 0; background: var(--stone); }
@media (max-width: 800px) { .offices { grid-template-columns: 1fr; } }

/* Notice / Contact */
.notice-box { border: 1px solid var(--line); background: var(--stone); padding: 28px; max-width: 46em; }
.notice-box h2 { font-size: 20px; }

/* 개인정보 처리방침 (build.py md_policy) */
.policy { max-width: 52em; }
.policy h2 { font-size: 20px; margin: 2em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.policy p, .policy li { line-height: 1.8; }
.policy ol, .policy ul { padding-left: 1.4em; }
.table-scroll { overflow-x: auto; margin: 1em 0 1.4em; }
.policy table { border-collapse: collapse; width: 100%; font-size: 14px; }
.policy table.cols-4, .policy table.cols-5 { min-width: 36em; }
.policy table.cols-6 { min-width: 48em; }
.policy th, .policy td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.policy th { background: var(--stone); font-weight: 700; white-space: nowrap; }
.policy mark.todo { background: #fff1a8; color: inherit; padding: 0 2px; }
.policy td { overflow-wrap: break-word; }
.draft-note { border: 1px solid #e3c96a; border-left: 5px solid #c9a227; background: #fff8db; padding: 14px 18px; font-size: 15px; line-height: 1.7; margin-bottom: 1.6em; }
.scroll-hint { display: none; margin: 1em 0 -.4em; font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .scroll-hint { display: block; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.btn { display: inline-block; padding: 12px 22px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; border: 0; }
.btn:hover { background: #000; }

/* Boards */
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 15px; }
.board th, .board td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.board th { font-weight: 500; color: var(--muted); font-size: 14px; }
.board td.num, .board td.date, .board th.num, .board th.date { white-space: nowrap; color: var(--muted); width: 1%; }
.board td.cat { white-space: nowrap; width: 1%; }
.board a { color: var(--ink); text-decoration: none; }
.board a:hover { text-decoration: underline; }
@media (max-width: 640px) { .board th.num, .board td.num, .board th.cat, .board td.cat { display: none; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-head { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 20px 0; margin-bottom: 28px; }
.post-head h1 { font-size: clamp(20px, 3vw, 28px); margin: 0 0 8px; }
.post-head .meta { color: var(--muted); font-size: 14px; }
.post-body { max-width: 46em; }
.post-body img { margin: 16px 0; }
.attach { list-style: none; margin: 28px 0; padding: 16px 20px; background: var(--stone); }
.attach li { padding: 4px 0; }
.attach a::before { content: "첨부 "; color: var(--muted); }
.press { border-top: 2px solid var(--ink); }
.press details { border-bottom: 1px solid var(--line); }
.press summary { padding: 18px 0; cursor: pointer; list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: baseline; }
.press summary::-webkit-details-marker { display: none; }
.press .cat { font-size: 13px; color: var(--muted); white-space: nowrap; }
.press .t { font-weight: 500; color: var(--ink); }
.press .content { padding: 0 0 28px; max-width: 46em; white-space: pre-line; }
.back { display: inline-block; margin-top: 32px; }

/* Footer */
.site-footer { background: #111; color: #aaa; font-size: 14px; padding: 48px 0 32px; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.site-footer img.logo { height: 32px; width: auto; margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer address span { display: inline-block; margin-right: 14px; }
.site-footer a { color: #ddd; }
.site-footer .partner img { height: 36px; width: auto; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid #2a2a2a; padding-top: 20px; font-family: var(--font-en); font-size: 12px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.hero .slide-1 { background-image: url("../img/hero/hero-1.jpg"); }
.hero .slide-2 { background-image: url("../img/hero/hero-2.jpg"); }
.gap-top { margin-top: 56px; }
.gap-top-sm { margin-top: 28px; }
.gap-bottom { margin-bottom: 24px; }
.source { margin-top: 28px; padding: 14px 18px; background: var(--stone); font-size: 15px; max-width: 46em; }

/* 검수 2회차 보완 */
[id] { scroll-margin-top: 92px; }
@media (max-width: 900px) { [id] { scroll-margin-top: 76px; } }
.member .name { font-size: 22px; margin-bottom: 12px; }
.h3 { font-size: 19px; }
h2.quote { line-height: 1.4; }
.hero .pause { position: absolute; right: 20px; bottom: 20px; z-index: 2; background: rgba(0,0,0,.45); color: #fff; border: 1px solid rgba(255,255,255,.6); padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.paused .ticker .track, .ticker.paused .track { animation-play-state: paused; }
.ticker:hover .track { animation-play-state: paused; }
.empty { padding: 28px 0; color: var(--muted); }
.site-footer .partner { background: #fff; padding: 8px 12px; border-radius: 4px; display: inline-block; }
@media (max-width: 900px) {
  .subnav { position: relative; }
  .subnav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 40px; background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none; }
  .hero .pause { bottom: 56px; right: 12px; }
}

/* 지도: 누를 때만 Google 지도를 불러온다(개인정보 처리방침 초안 제9조제2항) */
.map-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 24px; text-align: center; border: 1px solid var(--line); }
.map-box .map-note { margin: 0 0 12px; max-width: 26em; font-size: 14px; color: var(--muted); }
.map-box .map-load { cursor: pointer; font: inherit; font-weight: 500; }
.map-apps { margin: 12px 0 0; font-size: 14px; }
.map-box .map-js { display: flex; flex-direction: column; align-items: center; }
.map-box .map-js[hidden] { display: none; }
.map-box.loaded { display: block; padding: 0; border: 0; }
.map-box.loaded iframe { display: block; width: 100%; height: 100%; border: 0; }
.site-footer .footer-links { margin: 6px 0 0; }
.site-footer .footer-links a { color: #fff; }

/* NEWS 본문 소제목·목록·출처 목록 (콘텐츠팀 주간 세무·회계 이슈 초안, 2026-11-27 — 형식 확정 2026-11-29) */
.post-body h2 { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.4; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-body ul { padding-left: 1.2em; margin: 0 0 16px; }
.post-body li { margin: 6px 0; }
.sources p { margin: 0 0 6px; font-weight: 700; }
.sources ul { margin: 0; padding-left: 1.2em; }
.sources li { margin: 4px 0; overflow-wrap: anywhere; }
