:root {
  --navy: #0b1e3f;
  --navy-2: #163463;
  --teal: #0b7468;
  --teal-2: #14a394;
  --ink: #1c2638;
  --slate: #4b5a6e;
  --paper: #f4f6f9;
  --sky: #e8f0f8;
  --rule: #d7dee8;
  --focus: #1d4ed8;
  --sans: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.75;
  color: var(--ink); background: #fff; word-break: keep-all; overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* 상단 띠 */
.topbar { background: var(--navy); color: #d3dce8; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar a { padding: 6px 0; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar :focus-visible { outline-color: #9ee6dc; }

/* 머리글과 주 메뉴 */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 48px; }
.gnb > ul { display: flex; margin: 0; padding: 0; list-style: none; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: block; padding: 28px 18px; color: var(--navy); font-size: 17.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gnb > ul > li:hover > a, .gnb > ul > li:focus-within > a, .gnb > ul > li > a[aria-current] { color: var(--teal); }
.gnb > ul > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--teal-2); }
.gnb .sub {
  display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  min-width: 190px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--teal-2); box-shadow: 0 14px 30px rgba(11, 30, 63, .12);
}
.gnb li:hover > .sub, .gnb li:focus-within > .sub { display: block; }
.gnb > ul > li:last-child > .sub { left: auto; right: 0; transform: none; }
.gnb .sub a { display: block; padding: 9px 12px; color: var(--ink); font-size: 15.5px; text-decoration: none; white-space: nowrap; }
.gnb .sub a:hover { background: var(--paper); color: var(--teal); }
.menu-btn { display: none; align-items: center; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--rule); border-radius: 4px; color: var(--navy); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--paper); }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--paper); }
.more { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 18px; color: var(--navy); font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { border-color: var(--navy); }

/* 첫 화면 */
.hero { padding: 28px 0 0; background: var(--paper); }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding: 52px 56px; border-radius: 14px; background: var(--navy) linear-gradient(120deg, #0b1e3f 40%, #17386c); color: #fff; }
.hero-main h1 { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.3; }
.hero-text p { max-width: 30em; margin: 0 0 30px; color: #d6dfeb; font-size: 17.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero :focus-visible { outline-color: #9ee6dc; }

/* 뉴스 영상 */
.clip { margin: 0; }
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(11, 30, 63, .84) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 34px no-repeat; box-shadow: 0 0 0 3px rgba(255, 255, 255, .88); }
.yt:hover::after, .yt:focus-visible::after { background-color: var(--teal); }
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #000; }
.clip figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-top: 12px; font-size: 14.5px; }
.clip figcaption strong { flex: 0 0 100%; font-size: 16.5px; line-height: 1.5; }
.clip-lead figcaption { color: #c5d2e3; }
.clip-lead figcaption strong { color: #fff; }

/* 협회가 모인 이유 */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.why-text h2 { margin: 0 0 20px; color: var(--navy); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.4; }
.why-text p { margin: 0 0 16px; color: var(--slate); font-size: 17.5px; }
.why-text .why-mission { margin: 24px 0 0; padding-left: 18px; border-left: 4px solid var(--teal-2); color: var(--navy); font-size: 19px; font-weight: 700; line-height: 1.6; }
.pledge { margin: 0; border-top: 2px solid var(--navy); }
.pledge > div { padding: 20px 4px; border-bottom: 1px solid var(--rule); }
.pledge dt { margin-bottom: 6px; color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.4; }
.pledge dd { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.7; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 44px 0 0; padding: 0; list-style: none; }
.clips .clip { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.clips .clip.playing { grid-template-columns: 1fr; }
.clips .yt { border-radius: 8px; }
.clips .yt::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; background-size: 22px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .88); }
.clips figcaption { margin-top: 0; color: var(--slate); }
.clips figcaption strong { color: var(--ink); font-size: 16px; }

/* 양성과정 띠 */
.course { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; margin-top: 24px; padding: 26px 30px; border: 1px solid var(--rule); border-left: 5px solid var(--teal-2); border-radius: 10px; background: #fff; }
.course h3 { margin: 0 0 6px; color: var(--navy); font-size: 22px; }
.course p { margin: 0; color: var(--slate); font-size: 16px; }
.course .hours { margin: 0; }
.course .hours > div:first-child { border-top: 0; }
.hours { display: grid; gap: 0; margin: 0 0 22px; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.hours dt { color: var(--ink); }
.hours dd { margin: 0; color: var(--navy); font-weight: 700; }

.quick { background: var(--paper); padding: 24px 0 40px; }
.quick ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.quick a { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; color: var(--navy); font-weight: 700; line-height: 1.35; text-decoration: none; }
.quick a:hover { border-color: var(--teal-2); color: var(--teal); }
.quick svg { flex: none; width: 38px; height: 38px; color: var(--teal); }
.ico { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.home-sec { padding: 64px 0; }
.home-sec.alt { background: var(--paper); }
.home-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-head h2 { margin: 0; color: var(--navy); font-size: 28px; }
.home-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.cards > div { padding: 26px 24px; border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 0 0 10px 10px; background: #fff; }
.cards dt { margin-bottom: 10px; color: var(--navy); font-size: 19px; font-weight: 700; line-height: 1.4; }
.cards dd { margin: 0; color: var(--slate); font-size: 16px; line-height: 1.7; }

/* 알림 목록 */
.feed { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.feed li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 2px 16px; padding: 15px 4px; border-bottom: 1px solid var(--rule); }
.feed time { color: var(--slate); font-size: 15px; font-variant-numeric: tabular-nums; }
.feed .src { grid-column: 2; margin: 0; color: var(--teal); font-size: 14px; font-weight: 600; }
.feed a { grid-column: 2; color: var(--ink); font-weight: 600; text-decoration: none; }
.feed a:hover { color: var(--teal); text-decoration: underline; }
.feed .sum { grid-column: 2; margin: 4px 0 0; color: var(--slate); font-size: 15.5px; line-height: 1.65; }

/* 현장 대응 절차 */
.sop { margin: 0; padding: 0; list-style: none; counter-reset: sop; border-top: 2px solid var(--navy); }
.sop li { counter-increment: sop; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 13px 4px; border-bottom: 1px solid var(--rule); }
.sop li::before { content: counter(sop); color: var(--teal); font-size: 19px; font-weight: 800; }
.note { margin: 14px 0 0; color: var(--slate); font-size: 15px; line-height: 1.7; }

/* 관련 기관 */
.agencies { padding: 52px 0 60px; border-top: 1px solid var(--rule); background: var(--paper); }
.agencies h2 { margin: 0 0 6px; color: var(--navy); font-size: 24px; }
.agencies h3 { margin: 26px 0 10px; color: var(--slate); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.agencies ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.agencies a { display: flex; align-items: center; justify-content: center; height: 76px; padding: 12px 18px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; }
.agencies a:hover { border-color: var(--navy); }
.agencies img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.agencies .crop { display: block; width: min(100%, 190px); aspect-ratio: 210 / 26; overflow: hidden; }
.agencies .crop img { width: 100%; max-width: none; max-height: none; height: auto; }
.agencies .txt { color: var(--navy); font-size: 18px; font-weight: 700; text-decoration: none; }

/* 하위 화면 머리 */
.page-head { padding: 44px 0 46px; background: var(--navy) linear-gradient(120deg, #0b1e3f 45%, #17386c); color: #fff; }
.crumb { display: flex; gap: 8px; margin-bottom: 12px; color: #b9c6d8; font-size: 14.5px; }
.crumb a { color: #b9c6d8; text-decoration: none; }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb a::after { content: "›"; margin-left: 8px; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.3; }
.page-head p { max-width: 44em; margin: 0; color: #d6dfeb; }
.page-head :focus-visible { outline-color: #9ee6dc; }
.lnb { background: #fff; border-bottom: 1px solid var(--rule); }
.lnb ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.lnb a { display: block; padding: 15px 20px; color: var(--slate); font-size: 16px; font-weight: 600; text-decoration: none; }
.lnb a:hover { color: var(--teal); box-shadow: inset 0 -3px 0 var(--teal-2); }

/* 본문 구역 */
.sec { padding: 64px 0; border-bottom: 1px solid var(--rule); }
.sec.alt { background: var(--paper); }
.sec h2 { margin: 0 0 26px; padding-bottom: 14px; color: var(--navy); font-size: 30px; line-height: 1.35; border-bottom: 2px solid var(--navy); }
.sec h3 { margin: 44px 0 14px; color: var(--navy); font-size: 21px; line-height: 1.45; }
.sec h2 + h3 { margin-top: 0; }
.sec p { margin: 0 0 16px; }
.lead { max-width: 46em; font-size: 18.5px; line-height: 1.85; }
.defs { margin: 0; border-top: 1px solid var(--rule); }
.defs > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--rule); }
.defs dt { color: var(--navy); font-weight: 700; }
.defs dd { margin: 0; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.timeline time { color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }

.greeting { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 52px; align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; border: 1px solid var(--rule); }
.portrait figcaption { margin-top: 10px; color: var(--slate); font-size: 15px; text-align: center; }
.message-title { color: var(--navy); font-size: 25px; font-weight: 700; line-height: 1.45; }
.message ul { margin: 0 0 16px; padding-left: 22px; }
.signature { margin-top: 28px !important; text-align: right; }
.signature strong { margin-left: 6px; color: var(--navy); font-size: 22px; }

.roster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.roster > li { padding: 22px 4px; border-bottom: 1px solid var(--rule); }
.roster p { margin: 0; }
.role { color: var(--teal); font-size: 15px; font-weight: 700; }
.role span { color: var(--slate); font-weight: 500; }
.name { margin: 2px 0 8px !important; color: var(--navy); font-size: 22px; font-weight: 700; }
.career { margin: 0; padding-left: 20px; list-style: disc; color: var(--slate); font-size: 15.5px; line-height: 1.7; }

.partner { max-width: 820px; }
.partner > p:not(.name) { margin-bottom: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
.contact-card { margin: 0; border-top: 2px solid var(--navy); }
.contact-card > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.contact-card dt { color: var(--slate); }
.contact-card dd { margin: 0; color: var(--navy); font-weight: 600; }
.contact-card dd a { color: var(--navy); }
.contact-prep { padding: 24px 26px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; }
.contact-prep h3 { margin: 0 0 10px; font-size: 18px; }
.contact-prep ul { margin: 0; padding-left: 20px; color: var(--slate); }

/* 표 */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 16px; }
caption { caption-side: top; padding-bottom: 8px; color: var(--slate); font-size: 14.5px; text-align: left; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; line-height: 1.65; }
thead th { background: var(--paper); color: var(--navy); font-weight: 700; white-space: nowrap; }
tbody th { color: var(--navy); font-weight: 700; }
.sec.alt thead th { background: #e9eef4; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th span { display: block; color: var(--slate); font-size: 14px; font-weight: 500; }
.no { display: inline-block; min-width: 26px; color: var(--teal); font-weight: 700; }
tfoot th, tfoot td { background: var(--paper); color: var(--navy); font-weight: 700; }

/* 유형·흐름·기기 */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.types li { padding: 24px; border: 1px solid var(--rule); border-top: 4px solid var(--navy); border-radius: 0 0 10px 10px; background: #fff; }
.types h3 { margin: 0 0 10px; font-size: 20px; }
.types p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; }
.types .point { margin: 0; padding-top: 10px; border-top: 1px dashed var(--rule); color: var(--teal); font-size: 15px; font-weight: 600; }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; padding: 18px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 600; line-height: 1.5; }
.flow li::before { content: counter(flow); display: block; margin-bottom: 6px; color: #9ee6dc; font-size: 15px; font-weight: 800; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.routes > div { padding: 22px 24px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.routes h4 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.routes .path { margin: 0 0 10px; color: var(--teal); font-size: 15px; font-weight: 600; line-height: 1.6; }
.routes p { margin: 0; color: var(--slate); font-size: 15.5px; line-height: 1.7; }
.checks { margin: 0 0 16px; padding-left: 24px; }
.checks li { margin-bottom: 6px; }
.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.devices > li { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: start; padding: 24px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; }
.dev-ico { width: 132px; height: 99px; padding: 14px; border-radius: 10px; background: var(--sky); color: var(--navy); }
.dev-ico .a { stroke: var(--teal-2); }
.devices h3 { margin: 0 0 8px; font-size: 20px; }
.devices p { margin: 0 0 8px; font-size: 16px; line-height: 1.7; }
.devices dl { margin: 0; font-size: 15.5px; line-height: 1.7; }
.devices dt { float: left; clear: left; margin-right: 8px; color: var(--teal); font-weight: 700; }
.devices dd { margin: 0 0 4px; color: var(--slate); overflow: hidden; }
.figure { margin: 28px 0 0; padding: 26px; border-radius: 12px; background: var(--navy); }
.figure img { width: min(100%, 720px); margin: 0 auto; }
.figure figcaption { margin-top: 10px; color: #c9d5e4; font-size: 14.5px; text-align: center; }
.principles { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.principles li { padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.principles strong { color: var(--navy); }
.notice { margin: 28px 0 0; padding: 20px 24px; border-left: 4px solid var(--teal-2); background: var(--sky); }
.notice p { margin: 0; font-size: 16px; }
.notice strong { margin-right: 8px; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0 !important; }

/* 바닥글 */
.site-footer { padding: 38px 0 44px; background: var(--paper); border-top: 3px solid var(--navy); font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; align-items: start; }
.footer-logo { width: 210px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 14px; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 4px 0; color: var(--navy); font-weight: 700; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink); line-height: 1.8; }
.site-footer address span { display: inline-block; margin-right: 18px; }
.site-footer address a { color: var(--ink); text-decoration: none; }
.site-footer address a:hover { text-decoration: underline; }
.copyright { margin: 6px 0 0; color: var(--slate); font-size: 13.5px; }

/* 화면 폭별 조정 */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1fr; gap: 32px; padding: 44px 44px 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .course { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; }
  .course .btn { grid-column: 1 / -1; justify-self: start; }
  .quick ul { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .home-cols { grid-template-columns: 1fr; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  html { scroll-padding-top: 84px; }
  .header-inner { min-height: 68px; }
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; padding: 6px 20px 18px; background: #fff; border-top: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(11, 30, 63, .16); }
  .gnb.open { display: block; }
  .gnb > ul { display: block; }
  .gnb > ul > li { border-bottom: 1px solid var(--rule); }
  .gnb > ul > li > a { padding: 13px 4px 4px; }
  .gnb > ul > li > a[aria-current] { box-shadow: none; }
  .gnb .sub { display: flex; flex-wrap: wrap; gap: 0 4px; position: static; transform: none; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; }
  .gnb .sub a { padding: 9px 12px 9px 4px; color: var(--slate); }
  .devices { grid-template-columns: 1fr; }
  .roster { grid-template-columns: 1fr; }
  .clips { grid-template-columns: 1fr; gap: 14px; }
  .agencies ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar { font-size: 12.5px; line-height: 1.5; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding-top: 7px; padding-bottom: 5px; }
  .topbar a { padding: 3px 0; font-size: 13.5px; }
  .brand img { height: 34px; }
  .hero { padding-top: 16px; }
  .hero-main { gap: 26px; padding: 34px 24px 28px; }
  .hero-text p { margin-bottom: 24px; font-size: 16.5px; }
  .yt::after { width: 56px; height: 56px; margin: -28px 0 0 -28px; background-size: 28px; }
  .why-text p { font-size: 16.5px; }
  .why-text .why-mission { font-size: 17.5px; }
  .pledge dt { font-size: 18.5px; }
  .clips { margin-top: 32px; }
  .clips .clip { grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .clips figcaption strong { font-size: 15px; }
  .course { grid-template-columns: 1fr; padding: 22px 20px; }
  .quick { padding: 16px 0 32px; }
  .quick ul { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quick a { min-height: 68px; padding: 12px 14px; gap: 10px; font-size: 15.5px; }
  .quick svg { width: 30px; height: 30px; }
  .home-sec, .sec { padding: 44px 0; }
  .home-head h2 { font-size: 24px; }
  .cards, .types, .routes, .contact-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed li { grid-template-columns: 1fr; }
  .feed .src, .feed a, .feed .sum { grid-column: 1; }
  .agencies ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .agencies a { height: 66px; padding: 10px 12px; }
  .agencies img { max-height: 34px; }
  .agencies .txt { font-size: 16.5px; }
  .page-head { padding: 30px 0 32px; }
  .lnb a { padding: 12px 14px 12px 0; font-size: 15px; }
  .sec h2 { font-size: 25px; }
  .sec h3 { font-size: 19px; }
  .lead { font-size: 17px; }
  .defs > div, .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .greeting { grid-template-columns: 1fr; gap: 28px; }
  .portrait { max-width: 220px; }
  .message-title { font-size: 21px; }
  .devices > li { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .contact-card > div { grid-template-columns: 84px minmax(0, 1fr); }
  th, td { padding: 11px 8px; font-size: 15px; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stack tr { display: block; padding: 12px 4px; border-bottom: 1px solid var(--rule); }
  .stack th, .stack td { display: block; padding: 2px 0; border: 0; }
  .stack tbody th { font-size: 16.5px; }
  .stack td[data-l]::before { content: attr(data-l); display: block; margin-top: 6px; color: var(--teal); font-size: 13.5px; font-weight: 700; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-logo { width: 180px; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .header-inner { gap: 10px; }
  .brand img { height: 26px; }
  .menu-btn { padding: 0 11px; font-size: 15px; }
  .quick ul { grid-template-columns: 1fr; }
  .hero-main { padding: 28px 18px 24px; }
  .clips .clip { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 인쇄 */
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body { font-size: 10pt; line-height: 1.5; }
  .topbar, .gnb, .menu-btn, .skip-link, .lnb, .crumb, .actions, .agencies, .footer-links, .quick, .hero-actions, .clip-lead, .clips { display: none !important; }
  .site-header { position: static; border-bottom: 1.5pt solid var(--navy); }
  .header-inner { min-height: 0; padding: 0 0 6pt; }
  .brand img { height: 26pt; }
  .wrap { max-width: none; padding: 0; }
  .page-head { padding: 8pt 0 2pt; background: none; color: var(--ink); }
  .page-head h1 { font-size: 17pt; margin: 0 0 3pt; }
  .page-head p { color: var(--ink); }
  .sec, .home-sec { padding: 8pt 0 0; border: 0; background: none !important; }
  .sec h2 { margin: 0 0 4pt; padding-bottom: 2pt; font-size: 12.5pt; }
  .sec h3 { margin: 9pt 0 3pt; font-size: 11pt; }
  .sec p { margin: 0 0 5pt; }
  .lead { font-size: 10pt; line-height: 1.5; }
  .defs > div, .timeline li { grid-template-columns: 90pt 1fr; gap: 10pt; padding: 2.5pt 0; }
  th, td { padding: 2.2pt 6pt; font-size: 9.5pt; line-height: 1.35; }
  .principles li { padding: 2.5pt 0; }
  .notice { margin-top: 6pt; padding: 5pt 10pt; }
  .notice p { font-size: 9.5pt; }
  table, .notice, .defs > div, .roster > li, .types li, .devices > li { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .site-footer { padding: 5pt 0 0; margin-top: 8pt; background: none; border-top: 1pt solid var(--navy); font-size: 8.5pt; }
  .site-footer address { line-height: 1.5; }
  .note { margin-top: 0 !important; font-size: 9.5pt; }
  .footer-inner { grid-template-columns: 1fr; gap: 4pt; }
  .footer-logo, .footer-note, .copyright { display: none; }
  a { color: inherit; text-decoration: none; }
}
