@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ============================================================
   PDAKorea — Design tokens (see DESIGN.md)
   ============================================================ */
:root {
  --brand-teal: #3d9b8c;
  --brand-teal-deep: #2e7d71;
  --brand-teal-soft: #e8f4f2;
  /* 작은 텍스트용 — 흰 배경/흰 글자 모두 4.5:1 이상 */
  --brand-teal-text: #2a7268;
  --brand-cyan: #17a2b8;
  --brand-cyan-soft: #e3f4f7;
  --brand-purple: #7b7fc4;
  --brand-purple-soft: #edeef8;

  --background: #ffffff;
  --surface: #f8fafa;
  --surface-subtle: #f1f5f5;
  --border: #e4e9e9;
  --border-strong: #cdd6d6;

  --text: #16302c;
  --text-body: #3f5450;
  --text-muted: #5d736f;
  --text-inverse: #ffffff;

  --radius-btn: 8px;
  --radius-card: 14px;
  --shadow-card: 0 1px 2px rgba(22, 48, 44, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(22, 48, 44, 0.08);
  --ease: 160ms ease;

  --wrap: 1140px;
  --gutter: 20px;
  --nav-h: 84px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  /* 한글 본문 자간 — careple/channel.io 실측 기준 음수 보정 */
  letter-spacing: -0.01em;
  color: var(--text-body);
  background: var(--background);
  /* 한글 조판: 단어 중간 줄바꿈 방지 */
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
  /* 크기가 클수록 더 조인다 — 개별 규칙에서 재지정 */
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-teal-deep);
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand-teal);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 96px;
}
.section--tight {
  padding-block: 64px;
}
.section--surface {
  background: var(--surface);
}

.section-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-teal-text);
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.section-head {
  margin-bottom: 48px;
  max-width: 720px;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-body);
  max-width: 68ch;
}

.prose p {
  max-width: 68ch;
}
.prose p + p {
  margin-top: 20px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform var(--ease), box-shadow var(--ease);
}

.btn--primary {
  background: var(--brand-teal-text);
  color: var(--text-inverse);
}
.btn--primary:hover {
  background: #205c53;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(61, 155, 140, 0.28);
}

.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text-body);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal-deep);
  transform: translateY(-1px);
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.site-header .wrap {
  /* 헤더는 콘텐츠 폭에 가두지 않는다 — 로고를 화면 가장자리에 붙인다 */
  max-width: none;
  padding-inline: 64px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site-header .nav { justify-self: center; }
.site-header .nav-toggle { justify-self: end; grid-column: 3; }

/* ---- 히어로 위에 얹히는 투명 헤더 ----
   메인 최상단에서는 배경 없이 그라데이션이 화면 끝까지 이어진다.
   스크롤을 내리거나(.is-scrolled) 모바일 메뉴를 열면(.is-open)
   그때만 흰 배경이 나타난다. */
.site-header--over {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--over .brand { color: #fff; }
.site-header--over .brand__en,
.site-header--over .brand__pre { color: rgba(255, 255, 255, 0.75); }
.site-header--over .nav > a { color: rgba(255, 255, 255, 0.9); }
.site-header--over .nav > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-header--over .nav > a[aria-current="page"] { color: #fff; }
.site-header--over .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}
.site-header--over .nav-toggle span,
.site-header--over .nav-toggle span::before,
.site-header--over .nav-toggle span::after { background: #fff; }

/* 흰 배경으로 되돌아가는 조건 */
.site-header--over.is-scrolled,
.site-header--over.is-open {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header--over.is-scrolled .brand,
.site-header--over.is-open .brand { color: var(--text); }
.site-header--over.is-scrolled .brand__en,
.site-header--over.is-open .brand__en,
.site-header--over.is-scrolled .brand__pre,
.site-header--over.is-open .brand__pre { color: var(--text-muted); }
.site-header--over.is-scrolled .nav > a,
.site-header--over.is-open .nav > a { color: var(--text-body); }
.site-header--over.is-scrolled .nav > a:hover,
.site-header--over.is-open .nav > a:hover {
  color: var(--brand-teal-deep);
  background: var(--brand-teal-soft);
}
.site-header--over.is-scrolled .nav > a[aria-current="page"],
.site-header--over.is-open .nav > a[aria-current="page"] { color: var(--brand-teal-deep); }
.site-header--over.is-scrolled .nav-toggle,
.site-header--over.is-open .nav-toggle {
  background: #fff;
  border-color: var(--border);
}
.site-header--over.is-scrolled .nav-toggle span,
.site-header--over.is-scrolled .nav-toggle span::before,
.site-header--over.is-scrolled .nav-toggle span::after,
.site-header--over.is-open .nav-toggle span,
.site-header--over.is-open .nav-toggle span::before,
.site-header--over.is-open .nav-toggle span::after { background: var(--text); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  flex-shrink: 0;
}
.brand__mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}
/* 현판과 같은 3단: 법인격 / 국문 정식명칭 / 영문 */
.brand__pre {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.brand__ko {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-top: 1px;
}
.brand__pre,
.brand__ko,
.brand__en { white-space: nowrap; }
.brand__en {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.055em;
  text-transform: none;
  margin-top: 2px;
}

/* 흰 배경으로 되돌아가는 조건 */
.site-header--over.is-scrolled,
.site-header--over.is-open {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header--over.is-scrolled .brand,
.site-header--over.is-open .brand { color: var(--text); }
.site-header--over.is-scrolled .brand__en,
.site-header--over.is-open .brand__en,
.site-header--over.is-scrolled .brand__pre,
.site-header--over.is-open .brand__pre { color: var(--text-muted); }
.site-header--over.is-scrolled .nav > a,
.site-header--over.is-open .nav > a { color: var(--text-body); }
.site-header--over.is-scrolled .nav > a:hover,
.site-header--over.is-open .nav > a:hover {
  color: var(--brand-teal-deep);
  background: var(--brand-teal-soft);
}
.site-header--over.is-scrolled .nav > a[aria-current="page"],
.site-header--over.is-open .nav > a[aria-current="page"] { color: var(--brand-teal-deep); }
.site-header--over.is-scrolled .nav-toggle,
.site-header--over.is-open .nav-toggle {
  background: #fff;
  border-color: var(--border);
}
.site-header--over.is-scrolled .nav-toggle span,
.site-header--over.is-scrolled .nav-toggle span::before,
.site-header--over.is-scrolled .nav-toggle span::after,
.site-header--over.is-open .nav-toggle span,
.site-header--over.is-open .nav-toggle span::before,
.site-header--over.is-open .nav-toggle span::after { background: var(--text); }


.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav a {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--ease), background var(--ease);
}
.nav a:hover {
  color: var(--brand-teal-deep);
  background: var(--brand-teal-soft);
}
.nav a[aria-current="page"] {
  color: var(--brand-teal-deep);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* ============================================================
   Cards & grids
   ============================================================ */
.grid {
  display: grid;
  gap: 20px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--ease), transform var(--ease);
}
.card--hover:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  color: var(--text-muted);
}

.card__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--brand-teal-soft);
  color: var(--brand-teal-text);
  font-size: 14px;
  font-weight: 700;
}

/* stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border);
}
.stat dt {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.stat dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ============================================================
   Page header (sub pages)
   ============================================================ */
.page-head {
  padding-block: 60px 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.page-head p {
  margin-top: 14px;
  color: var(--text-muted);
  max-width: 60ch;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-strong);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #14181A;
  color: rgba(255, 255, 255, 0.62);
  padding-block: 64px 40px;
  font-size: 14px;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.66);
}
.site-footer a:hover {
  color: #fff;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand .brand__ko {
  color: #fff;
  font-size: 16px;
}
.footer__brand .brand__en {
  color: rgba(255, 255, 255, 0.5);
}
.footer__nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer__info {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  line-height: 1.7;
}
.footer__copy {
  margin-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.42);
}

/* ============================================================
   Entrance animation
   ============================================================ */
/* JS가 .js-reveal 을 붙였을 때만 숨긴다.
   스크립트가 실패하거나 차단되어도 콘텐츠는 항상 보이도록 하는 안전장치. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .wrap { padding-inline: 20px; }
  /* 좁은 폭에서 영문 정식명칭은 헤더 밖으로 넘친다 — 국문만 남긴다 */
  .brand__en { display: none; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__ko { font-size: 16px; }
  .section {
    padding-block: 64px;
  }

  .nav-toggle {
    display: grid;
  }
  .nav {
    /* 헤더(.site-header) 기준으로 화면 전체 폭에 펼친다.
       grid 칸에 갇히면 좁은 박스로 뜨는 버그가 생긴다. */
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(22, 48, 44, 0.07);
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 13px 12px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .stats {
    grid-template-columns: 1fr;
  }
  .footer__top {
    flex-direction: column;
    gap: 28px;
  }
}

/* 3열 그리드에서 마지막 카드가 남는 칸을 채우도록 (모바일에서는 해제) */
@media (min-width: 601px) {
  .grid--3 > .card--wide {
    grid-column: span 2;
  }
}


/* ============================================================
   메인 히어로 — 사진이 아니라 "무엇을 하는 곳인가"가 먼저 읽히게.
   레퍼런스(kaot.org) 실측: 첫 화면에 사진 없음 / 57px 대형 타이포 3줄 / 24px 정의문
   ============================================================ */
.hero-img {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d2b27 0%, #16453d 52%, #1d5c4f 100%);
  overflow: hidden;
}
/* 사진은 우측에 은은하게만 — 주인공이 아니다 */
.hero-img__bg {
  position: absolute;
  right: 0; top: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, #0d2b27 30%, rgba(13,43,39,.72) 55%, rgba(13,43,39,.42) 100%);
}
.hero-img .wrap { position: relative; z-index: 2; padding-block: 116px 104px; }

.hero-img__eyebrow {
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 26px;
  color: #7fdac9;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(127,218,201,.42);
}

/* 대형 타이포 — 이 사이트가 뭘 하는 곳인지 한눈에 */
.hero-img h1 {
  color: #fff;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.hero-img h1 em { font-style: normal; color: #7fdac9; }

/* 정의문 — 무슨 일을 하는 단체인지 */
.hero-img__desc {
  margin-top: 30px;
  max-width: 46ch;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
}
.hero-img__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 28px; }

/* ============================================================
   교차 배치 (이미지 + 텍스트)
   ============================================================ */
.split--flip .split__media { order:2; }
.split__media {
  position:relative; border-radius:18px; overflow:hidden;
  aspect-ratio: 4/3; background: var(--surface-subtle);
}
.split__media img { width:100%; height:100%; object-fit:cover; }
.split__media::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(160deg, rgba(42,114,104,.14), transparent 55%);
}

/* ============================================================
   사업 리스트 (카드 나열 대체)
   ============================================================ */
.biz__item {
  display:grid; grid-template-columns:88px 1fr; gap:28px;
  padding:30px 8px; border-bottom:1px solid var(--border);
  transition: background var(--ease), padding-left var(--ease);
}
.biz__item:hover { background: var(--brand-teal-soft); padding-left:20px; }
.biz__no { font-size:15px; font-weight:700; color:var(--brand-teal-text); letter-spacing:.06em; padding-top:3px; }
.biz__body h3 { font-size:19px; margin-bottom:8px; }
.biz__body p { font-size:15.5px; color:var(--text-muted); max-width:62ch; }

/* ============================================================
   서브페이지 탭 네비
   ============================================================ */
.subnav__list { display:flex; gap:4px; list-style:none; overflow-x:auto; scrollbar-width:none; }
.subnav__list::-webkit-scrollbar { display:none; }

@media (max-width: 900px) {
  .split--flip .split__media { order:0; }
  .hero-stats__inner { grid-template-columns: repeat(2,1fr); }
  .hero-stats__item:nth-child(2) { border-right:none; }
  .hero-stats__item:nth-child(-n+2) { border-bottom:1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero-img { min-height:480px; }
  .hero-img .wrap { padding-block:72px; }
  .hero-stats__inner { grid-template-columns:1fr; }
  .hero-stats__item { border-right:none; border-bottom:1px solid var(--border); padding:18px 22px; }
  .hero-stats__item:last-child { border-bottom:none; }
  .biz__item { grid-template-columns:1fr; gap:8px; padding:24px 4px; }
  .biz__item:hover { padding-left:10px; }
}


/* ============================================================
   홈 — 게시판/바로가기 중심 구조 (협회 사이트 실측 공통 패턴)
   KAOT "최신 정보 안내", 특수교육학회 5개 탭, 소아재활 3분할 목록
   ============================================================ */

/* 빠른 진입 3분할 (히어로 바로 아래) */
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick__item {
  display: block; padding: 34px 30px;
  border-right: 1px solid var(--border);
  transition: background var(--ease);
}
.quick__item:last-child { border-right: none; }
.quick__item:hover { background: #fff; }
.quick__item .en {
  display:block; font-size:11.5px; font-weight:700; letter-spacing:.12em;
  color: var(--brand-teal-text); margin-bottom:10px;
}
.quick__item h3 { font-size:19px; margin-bottom:7px; }
.quick__item p { font-size:14.5px; color: var(--text-muted); }

/* 게시판 영역 */
.board__head {
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:20px; margin-bottom:26px; flex-wrap:wrap;
}
.board__tabs { display:flex; gap:26px; list-style:none; }
.board__tabs button {
  background:none; border:none; padding:0 0 8px; cursor:pointer;
  font-family:inherit; font-size:19px; font-weight:700; letter-spacing:-.02em;
  color: var(--text-muted); border-bottom:2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.board__tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--brand-teal-text); }

.board__list { border-top:2px solid var(--text); list-style:none; }
.board__list li { border-bottom:1px solid var(--border); }
.board__list a {
  display:grid; grid-template-columns: 92px 1fr 108px;
  gap:20px; align-items:center; padding:19px 6px;
  transition: background var(--ease);
}
.board__list a:hover { background: var(--brand-teal-soft); }
.board__cat {
  font-size:12.5px; font-weight:600; color:var(--brand-teal-text);
  border:1px solid var(--border-strong); border-radius:2px;
  padding:3px 0; text-align:center;
}
.board__ttl {
  font-size:15.5px; color:var(--text); font-weight:500;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.board__date { font-size:13.5px; color:var(--text-muted); text-align:right; }
.board__empty { padding:52px 6px; text-align:center; color:var(--text-muted); font-size:15px; }

@media (max-width: 900px) {
  .quick__grid { grid-template-columns:1fr; }
  .quick__item { border-right:none; border-bottom:1px solid var(--border); }
  .quick__item:last-child { border-bottom:none; }
}
@media (max-width: 600px) {
  .board__list a { grid-template-columns: 1fr; gap:7px; padding:16px 4px; }
  .board__cat { width:74px; }
  .board__date { text-align:left; }
  .board__tabs { gap:18px; }
  .board__tabs button { font-size:16px; }
}


/* 본문 내 연락처 목록 */


/* ============================================================
   히어로 — 배경 위에 "분리된" 기하 도형
   레퍼런스(kaot.org): 배경 그라데이션과 별개로, 경계가 뚜렷한 색면이
   대각선으로 얹혀 층이 나뉜다. 흐릿한 라디얼·점 패턴은 쓰지 않는다.
   ============================================================ */

/* 얹히는 색면 — clip-path 로 경계를 자른다 */
.stage__shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* 1) 우상단에서 내려오는 큰 사선 면 */
.stage__shape--a {
  background: linear-gradient(140deg, #2a7268 0%, #3d9b8c 100%);
  clip-path: polygon(46% 0, 100% 0, 100% 74%, 72% 100%, 30% 100%);
  opacity: .92;
}
/* 2) 그 위를 가로지르는 밝은 띠 — 층을 하나 더 만든다 */
.stage__shape--b {
  background: linear-gradient(120deg, #3d9b8c 0%, #17a2b8 100%);
  clip-path: polygon(64% 0, 100% 0, 100% 34%, 76% 62%);
  opacity: .78;
}
/* 3) 좌하단 어두운 면 — 텍스트 쪽을 눌러 대비를 만든다 */
.stage__shape--c {
  background: linear-gradient(30deg, #071f1c 0%, rgba(7,31,28,0) 72%);
  clip-path: polygon(0 42%, 52% 100%, 0 100%);
}
/* 4) 가는 윤곽선 — 면이 겹치는 경계를 또렷하게 */
.stage__shape--line {
  border: 0;
  background: linear-gradient(140deg, rgba(127,218,201,.5), rgba(127,218,201,0) 62%);
  clip-path: polygon(46% 0, 46.25% 0, 30.25% 100%, 30% 100%);
}


/* ---- 히어로 본문 ----
   헤더가 위에 투명하게 얹히므로 상단 패딩에 헤더 높이를 더한다 */
.stage--hero .wrap { padding-block: calc(var(--nav-h) + 116px) 112px; }

.stage__eyebrow {
  display: inline-block;
  padding-bottom: 13px; margin-bottom: 26px;
  color: #7fdac9; font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(127,218,201,.4);
}
.gtext {
  background: linear-gradient(96deg, #7fdac9 0%, #4fc3e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.stage__desc {
  margin-top: 28px; max-width: 47ch;
  font-size: clamp(16px, 1.7vw, 18.5px);
  font-weight: 500; line-height: 1.78;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 16px rgba(4,20,18,.4);
}
.stage__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px; }

.scrollcue {
  position: absolute; left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 3; text-align: center;
  color: rgba(255,255,255,.62); font-size: 11.5px;
  font-weight: 600; letter-spacing: .14em;
}
.scrollcue i {
  display: block; width: 20px; height: 32px; margin: 0 auto 9px;
  border: 1.5px solid rgba(255,255,255,.44); border-radius: 11px;
  position: relative;
}
.scrollcue i::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px;
  background: rgba(255,255,255,.75);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%,100% { transform: translateY(0); opacity: 1; }
  55%     { transform: translateY(9px); opacity: .25; }
}

@media (max-width: 860px) {
  /* 좁은 화면에서는 면을 단순화 — 사선이 텍스트를 덮지 않게 */
  .stage__shape--a { clip-path: polygon(58% 0, 100% 0, 100% 62%, 78% 100%, 52% 100%); }
  .stage__shape--b { display: none; }
}

/* ============================================================
   스크롤에 따라 채워지는 문장 (레퍼런스: 단어별 색 채움)
   ============================================================ */
.fillline__t {
  font-size: clamp(24px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin-inline: auto;
}
/* 각 어절 — 기본은 흐리게, 활성화되면 흰색 */
.fillline__w {
  color: rgba(255,255,255,.19);
  transition: color .5s ease;
}
.fillline__w.on { color: #fff; }
.fillline__w.on-accent { color: #7fdac9; }

.fillline__en {
  display: block; margin-top: 20px;
  font-size: clamp(14px, 1.9vw, 20px); font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .stage--hero .wrap { padding-block: 96px 84px; }
  .scrollcue { display: none; }
}

/* 모션 최소화 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  .scrollcue i::after { animation: none; }
  .fillline__w { color: #fff; }
}


/* ============================================================
   히어로 — 단색 딥그린 + 발달 곡선(SVG)
   근거: 정관 제3조 "소아·청소년의 건강한 발달".
   선 하나 = 한 아이의 궤적. 서로 다른 기울기 = "저마다의 속도".
   ============================================================ */
.hero__curves {
  position: absolute;
  right: 0; top: 0;
  width: 62%; height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
  mask-image: linear-gradient(90deg, transparent, #000 34%);
}
.hero__curves svg { width: 100%; height: 100%; display: block; }
.hero__curves path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero__curves .c-base { stroke: rgba(255,255,255,.22); stroke-width: 1.2; }
.hero__curves .c-mid  { stroke: rgba(255,255,255,.34); stroke-width: 1.5; }
.hero__curves .c-lead { stroke: #b8ffe4; stroke-width: 2.4; }
.hero__curves .c-dot  { fill: #b8ffe4; stroke: none; }

/* 진입 시 좌→우로 그려진다 (1회) */
.js-anim .hero__curves path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.5s cubic-bezier(.22,.61,.36,1) forwards;
}
.js-anim .hero__curves .c-mid  { animation-delay: .12s; }
.js-anim .hero__curves .c-lead { animation-delay: .26s; }
.js-anim .hero__curves .c-dot {
  opacity: 0;
  animation: dot .5s ease forwards 1.5s;
  stroke-dasharray: none; stroke-dashoffset: 0;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot  { to { opacity: 1; } }


/* 좌우 2단 — 레퍼런스 패턴 */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 56px;
  align-items: end;
}
.hero__eyebrow {
  display: inline-block;
  padding-bottom: 13px; margin-bottom: 24px;
  color: #b8ffe4; font-size: 13.5px; font-weight: 600;
  letter-spacing: -0.005em;
  border-bottom: 1px solid rgba(184,255,228,.45);
}

.hero__desc {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,.9);
  max-width: 40ch;
}
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 24px; }

.hero__cue {
  position: absolute; left: 50%; bottom: 26px;
  transform: translateX(-50%); z-index: 3; text-align: center;
  color: rgba(255,255,255,.5); font-size: 11px;
  font-weight: 600; letter-spacing: .16em;
}
.hero__cue i {
  display: block; width: 19px; height: 30px; margin: 0 auto 8px;
  border: 1.5px solid rgba(255,255,255,.38); border-radius: 10px;
  position: relative;
}
.hero__cue i::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px;
  background: rgba(255,255,255,.7);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%,100% { transform: translateY(0); opacity: 1; }
  55%     { transform: translateY(8px); opacity: .25; }
}

/* ============================================================
   사업 구간 — 히어로에서 색이 이어지는 sticky 씬
   좌측 고정 + 우측 카드 5개 통과 (레퍼런스 sec2 패턴)
   ============================================================ */
.work__inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  padding-block: 104px 128px;
}

/* 좌측 — 고정 */
.work__aside {
  position: sticky;
  top: calc(var(--nav-h) + 120px);
  /* 좌측이 짧아도 sticky 가 일찍 풀리지 않도록 */
  align-self: start;
}
.work__label {
  display: inline-block;
  padding-bottom: 12px; margin-bottom: 20px;
  color: #d9fff1; font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(217,255,241,.45);
}
.work__aside h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.34;
  letter-spacing: -0.032em;
}
.work__aside p {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 15.5px; line-height: 1.75;
  letter-spacing: -0.01em;
  max-width: 34ch;
}
/* 진행 인디케이터 */
.work__dots { display: flex; gap: 9px; margin-top: 34px; list-style: none; }
.work__dots li {
  width: 26px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.18);
  transition: background .35s ease;
}
.work__dots li.on { background: #b8ffe4; }

/* 우측 — 통과 */
/* 카드 사이를 크게 벌려 한 화면에 한 장만 보이게 한다.
   레퍼런스 실측: 우측 목록 3,560px(뷰포트의 약 4배)이라야 sticky 가 성립한다. */
.work__list { display: flex; flex-direction: column; gap: 300px; padding-block: 120px 200px; }
.work__card {
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 46px 46px 50px;
  max-width: 500px;
  transition: opacity .5s ease, transform .5s ease, border-color .35s ease;
}
/* 지그재그 — 홀수는 왼쪽, 짝수는 오른쪽으로 */
.work__card:nth-child(even) { align-self: flex-end; }
.work__card.on { border-color: rgba(184,255,228,.62); background: rgba(255,255,255,.09); }

.work__no {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; color: #b8ffe4; margin-bottom: 15px;
}
.work__card h3 {
  color: #fff; font-size: 21px; line-height: 1.4;
  letter-spacing: -0.028em; margin-bottom: 11px;
}
.work__card p {
  color: rgba(255,255,255,.76);
  font-size: 15.5px; line-height: 1.75; letter-spacing: -0.01em;
}

/* 등장 */
.js-anim .work__card { opacity: 0; transform: translateY(22px); }
.js-anim .work__card.seen { opacity: 1; transform: none; }

/* ============================================================
   슬로건 — 흰 배경, 글자색만 채운다 (배경 칠하지 않는다)
   ============================================================ */
.creed__t {
  font-size: clamp(23px, 3.4vw, 40px);
  font-weight: 700; line-height: 1.44;
  letter-spacing: -0.036em;
  max-width: 21ch; margin-inline: auto;
}
.creed__w { color: #d5dcda; transition: color .5s ease; }
.creed__w.on { color: #16302c; }
.creed__w.on-accent { color: #12857a; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .hero__desc { max-width: 52ch; }
  .hero__curves { width: 100%; opacity: .5; }
  .work__inner { grid-template-columns: 1fr; gap: 44px; padding-block: 76px 88px; }
  /* 모바일은 sticky 해제 — 일반 스크롤 */
  .work__aside { position: static; }
  .work__list { gap: 20px; padding-block: 0; }
  .work__card, .work__card:nth-child(even) { align-self: stretch; max-width: none; }
}
@media (max-width: 700px) {
  .hero__cue { display: none; }
  .work__card { padding: 30px 26px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue i::after { animation: none; }
  .creed__w { color: #16302c; }
}


/* ============================================================
   본문 링크 — 밑줄만. 화살표·알약 버튼 쓰지 않는다.
   ============================================================ */
.tlink {
  display: inline-block;
  padding: 8px 0;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text);
  border-bottom: 1.5px solid var(--text);
  border-radius: 0;
  background: none;
  transition: color var(--ease), border-color var(--ease), opacity var(--ease);
}
.tlink:hover {
  color: var(--brand-teal-text);
  border-bottom-color: var(--brand-teal-text);
}

/* 어두운 배경 위 */
.tlink--w {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.tlink--w:hover {
  color: #b8ffe4;
  border-bottom-color: #b8ffe4;
}

/* 목록 우측 더보기 */
.more {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  border-radius: 0;
  background: none;
  padding: 0;
  border-bottom: 1px solid var(--border-strong);
  transition: color var(--ease), border-color var(--ease);
}
.more:hover {
  color: var(--brand-teal-text);
  border-bottom-color: var(--brand-teal-text);
}


/* ============================================================================
   메인 — 문서형 레이아웃
   흰 바탕 · 활자와 여백 · 포인트 1색(--ink-accent) · 모션 최소
   색면과 애니메이션으로 승부하지 않는다. 읽히는 문서로 만든다.
   ============================================================================ */

:root {
  --ink:         #14181A;   /* 본문 잉크 (거의 검정, 살짝 따뜻) */
  --ink-2:       #4A5358;   /* 보조 */
  --ink-3:       #7C868C;   /* 캡션 */
  --ink-accent:  #00794D;   /* 텍스트용 (흰배경 5.47:1) */
  --brand:       #00A86B;   /* 면색 — 밝은 제이드 그린 */
  --brand-soft:  #E6F7F0;   /* 포인트 단 1색 — 딥 그린. 면적 최소 */
  --rule:        #E3E7E8;   /* 구분선 */
  --rule-strong: #14181A;   /* 굵은 구분선 */
  --paper:       #F7F8F8;   /* 아주 옅은 회색 */
}

/* ---------- 표제부 (문서의 제호) ---------- */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding-block: 108px 68px;
}
.masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  margin-bottom: 42px;
}
.masthead__meta span { position: relative; }
.masthead__meta span + span { padding-left: 19px; }
.masthead__meta span + span::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 1px; height: 11px; margin-top: -5.5px;
  background: var(--rule);
}

.masthead h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
  max-width: 18ch;
}
.masthead h1 em {
  font-style: normal;
  color: var(--ink-accent);
}

.masthead__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: end;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}
.masthead__lead {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 44ch;
}
.masthead__links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-self: end;
}

/* ---------- 조문 목록 (사업) ---------- */
.articles { padding-block: 96px; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-strong);
}
.sec-head__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-accent);
  padding-top: 7px;
}
.sec-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.34;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.sec-head p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.75;
  letter-spacing: -0.012em;
  color: var(--ink-3);
  max-width: 46ch;
}

.artlist { list-style: none; }
.artlist > li { border-bottom: 1px solid var(--rule); }
.artlist__row {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 40px;
  padding: 34px 0;
  align-items: baseline;
}
.artlist__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.artlist h3 {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin-bottom: 9px;
}
.artlist p {
  font-size: 15.5px;
  line-height: 1.8;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- 정의문 (설립 목적 인용) ---------- */
.statement {
  padding-block: 112px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.statement blockquote {
  margin: 0;
  max-width: 46ch;
}
.statement__q {
  font-size: clamp(21px, 2.7vw, 31px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.036em;
  color: var(--ink);
}
.statement__q b {
  font-weight: 700;
  color: var(--ink-accent);
}
.statement cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
}

/* ---------- 항목 2단 (개요 · 회원) ---------- */
.section-cols { padding-block: 96px; }
.cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  align-items: start;
}
.cols__block + .cols__block { }
.defs { list-style: none; margin-top: 26px; }
.defs > div {
  display: grid;
  grid-template-columns: minmax(0, 108px) minmax(0, 1fr);
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  letter-spacing: -0.012em;
}
.defs dt, .defs .k { color: var(--ink-3); }
.defs dd, .defs .v { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- 공지 ---------- */
.notice { padding-block: 96px; border-top: 1px solid var(--rule); }
.notice__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-strong);
}
.notice__head h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.notice__list { list-style: none; }
.notice__list li { border-bottom: 1px solid var(--rule); }
.notice__list a {
  display: grid;
  grid-template-columns: minmax(0, 100px) minmax(0, 1fr) minmax(0, 104px);
  gap: 24px;
  padding: 20px 0;
  align-items: baseline;
  color: var(--ink);
  transition: color 140ms ease;
}
.notice__list a:hover { color: var(--ink-accent); }
.notice__cat {
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--ink-accent);
}
.notice__ttl {
  font-size: 16px;
  letter-spacing: -0.018em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice__date {
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ---------- 링크 (밑줄만) ---------- */
.ulink {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color 140ms ease, border-color 140ms ease;
}
.ulink:hover { color: var(--ink-accent); border-bottom-color: var(--ink-accent); }
.ulink--sm { font-size: 14px; color: var(--ink-3); border-bottom-color: var(--rule); }
.ulink--sm:hover { color: var(--ink-accent); border-bottom-color: var(--ink-accent); }

/* ---------- 진입 시 살짝만 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .fade { opacity: 0; transform: translateY(10px); }
  .js-anim .fade.in {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s ease;
  }
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .masthead { padding-block: 76px 52px; }
  .masthead__foot { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .masthead__links { justify-self: start; }
  .sec-head,
  .artlist__row { grid-template-columns: 1fr; gap: 10px; }
  .sec-head { gap: 16px; }
  .section-cols { padding-block: 72px; }
  .cols { grid-template-columns: 1fr; gap: 56px; }
  .articles, .notice { padding-block: 72px; }
  .statement { padding-block: 76px; }
}
@media (max-width: 600px) {
  .notice__list a { grid-template-columns: 1fr; gap: 6px; }
  .notice__date { text-align: left; }
  .notice__ttl { white-space: normal; }
  .defs > div { grid-template-columns: 92px 1fr; gap: 14px; }
}


/* ============================================================================
   메인 전용 — 진입 동선
   메인은 읽는 문서가 아니라 사이트 전체로 뻗는 관문이다.
   실측: KAOT 첫 화면 링크 11개(전체 96) / 특수교육학회 20개(전체 212)
   ============================================================================ */

/* ---------- 표제부 안의 바로가기 ---------- */
.masthead__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-strong);
  margin-top: 46px;
}
.masthead__nav a {
  display: block;
  padding: 26px 24px 30px 0;
  border-right: 1px solid var(--rule);
  color: var(--ink);
  transition: background 140ms ease;
}
.masthead__nav a:last-child { border-right: none; }
.masthead__nav a:hover { background: var(--paper); }
.masthead__nav .n {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.masthead__nav .t {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin-bottom: 6px;
}
.masthead__nav .d {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink-3);
}
.masthead__nav a:hover .t { color: var(--ink-accent); }

/* ---------- 2단: 공지 + 사무국 ---------- */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0 72px;
  padding-block: 92px;
  border-top: 1px solid var(--rule);
  align-items: start;
}

/* 사무국 카드 */
.office__head {
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule-strong);
}
.office__map {
  display: block;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color 140ms ease, background 140ms ease;
}
.office__map:hover { border-color: var(--ink-accent); background: var(--paper); }
.office__map b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.office__map span {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--ink-3);
}

/* ---------- 조직 요약 (조직도 진입) ---------- */
.orgbrief { padding-block: 92px; border-top: 1px solid var(--rule); }
.orgbrief__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.orgbrief__cell {
  background: #fff;
  padding: 26px 24px 30px;
}
.orgbrief__cell dt {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin-bottom: 9px;
}
.orgbrief__cell dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .masthead__nav { grid-template-columns: repeat(2, 1fr); }
  .masthead__nav a {
    padding: 22px 18px 24px 0;
    border-bottom: 1px solid var(--rule);
  }
  .masthead__nav a:nth-child(2n) { border-right: none; }
  .duo { grid-template-columns: 1fr; gap: 56px; padding-block: 72px; }
  .orgbrief { padding-block: 72px; }
  .orgbrief__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .masthead__nav { grid-template-columns: 1fr; }
  .masthead__nav a { border-right: none; padding-right: 0; }
  .orgbrief__grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   정관 페이지
   레퍼런스 실측(kaot.org/intro/articles.jsp):
     개정이력 = 연회색 박스(#F7F9FC, radius 15px, pad 20px)
     장 제목 H4 24px/700 · 조문 제목 H5 16px/700 · 본문 그대로 노출
   아코디언·스크롤박스 쓰지 않는다. 문서는 문서로 보여준다.
   ============================================================================ */
.law { padding-block: 72px 108px; }

/* 제정·구성 정보 */
.law__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 64px;
}
.law__meta > div { background: var(--paper); padding: 22px 24px 24px; }
.law__meta dt {
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.law__meta dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--ink);
}

/* 장 */
.law__chapter { margin-bottom: 56px; }
.law__chap {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}

/* 조 */
.law__art {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.law__art:last-child { border-bottom: none; }
.law__no {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink-accent);
  margin-bottom: 10px;
}
.law__art p {
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  max-width: 74ch;
}
.law__art p + p { margin-top: 9px; }
/* 호(號) 들여쓰기 */
.law__art p.law__sub { padding-left: 18px; }

.law__foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  letter-spacing: -0.012em;
  color: var(--ink-3);
}

@media (max-width: 700px) {
  .law { padding-block: 52px 76px; }
  .law__meta { grid-template-columns: 1fr; margin-bottom: 44px; }
  .law__chapter { margin-bottom: 40px; }
  .law__chap { font-size: 19px; }
}


/* 서브페이지 탭 네비 */
.subnav {
  border-bottom: 1px solid var(--rule);
  background: #fff;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.subnav a {
  display: block;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.016em;
  color: var(--ink-3);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}
.subnav a:first-child { padding-left: 0; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="true"] {
  color: var(--ink-accent);
  font-weight: 700;
  border-bottom-color: var(--ink-accent);
}



/* ============================================================================
   메인 히어로 — 타일 그리드 (카피는 사진 안에)
   ============================================================================ */
.top {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  padding-block: 26px 30px;
}
.top > .wrap {
  max-width: none;
  padding-inline: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.tiles {
  display: grid;
  grid-template-columns: 1.72fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 430px;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

/* ── 큰 사진 타일: 카피가 안에 들어간다 ── */
.tile--photo { grid-row: span 2; background: #0b1310; }
.tile--photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform 700ms cubic-bezier(.22,.61,.36,1);
}
.tile--photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6,14,12,.72) 0%, rgba(6,14,12,.34) 38%,
    rgba(6,14,12,.55) 72%, rgba(6,14,12,.92) 100%);
}
.tile--photo:hover img { transform: scale(1.035); }

.tile__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 clamp(30px, 3.4vw, 54px) clamp(32px, 3.6vw, 52px);
}
.tile__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #6FE0B4;
  margin-bottom: 16px;
}
.tile__copy h1 {
  font-size: clamp(30px, 3.3vw, 50px);
  line-height: 1.24;
  letter-spacing: -0.042em;
  font-weight: 700;
  color: #fff;
  max-width: 17ch;
}
.tile__copy h1 em { font-style: normal; color: #34D399; }
.tile__copy p {
  margin-top: 18px;
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.75;
  letter-spacing: -0.012em;
  color: rgba(255,255,255,.86);
  max-width: 46ch;
}
.tile__go {
  display: inline-block;
  margin-top: 24px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #fff;
  border-bottom: 1.5px solid rgba(255,255,255,.6);
  padding-bottom: 4px;
  transition: border-color 160ms ease, color 160ms ease;
}
.tile--photo:hover .tile__go { color: #6FE0B4; border-bottom-color: #6FE0B4; }

/* ── 공통: 배경 SVG ── */
.tile__art {
  position: absolute;
  right: 6%; top: 50%;
  transform: translateY(-58%);
  width: 46%;
  max-width: 186px;
  height: auto;
  pointer-events: none;
}
.tile__art rect,
.tile__art circle,
.tile__art path { fill: none; stroke-width: 5; }
.tile__art line { stroke-width: 5; stroke-linecap: round; }

/* ── 브랜드 타일 ── */
.tile--brand {
  background: var(--brand);
  padding: clamp(26px, 2.4vw, 38px) clamp(26px, 2.4vw, 38px) clamp(28px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 180ms ease;
}
.tile--brand:hover { background: #009860; }
.tile--brand .tile__art { opacity: .55; }
.tile--brand .tile__art rect,
.tile--brand .tile__art line,
.tile--brand .tile__art circle,
.tile--brand .tile__art path { stroke: #fff; }
.tile--brand .tile__art .fg { fill: rgba(255,255,255,.14); }

/* ── 회색 타일 ── */
.tile--plain {
  background: var(--paper);
  padding: clamp(24px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}
.tile--plain:hover { background: #fff; border-color: var(--brand); }
.tile--plain .tile__art { opacity: .3; }
.tile--plain .tile__art rect,
.tile--plain .tile__art line,
.tile--plain .tile__art circle,
.tile--plain .tile__art path { stroke: var(--ink); }
.tile--plain .tile__art .fg { fill: rgba(20,24,26,.1); }

/* ── 타일 텍스트 (키움) ── */
.tile__en {
  position: relative; z-index: 2;
  display: block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  margin-bottom: 10px;
}
.tile__t {
  position: relative; z-index: 2;
  display: block;
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 700; letter-spacing: -0.034em;
  line-height: 1.3;
}
.tile__d {
  position: relative; z-index: 2;
  display: block; margin-top: 9px;
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.6; letter-spacing: -0.012em;
}
.tile--brand .tile__en { color: rgba(255,255,255,.92); }
.tile--brand .tile__t  { color: #fff; }
.tile--brand .tile__d  { color: rgba(255,255,255,.92); }
.tile--plain .tile__en { color: var(--ink-3); }
.tile--plain .tile__t  { color: var(--ink); }
.tile--plain .tile__d  { color: var(--ink-3); }
.tile--plain:hover .tile__t { color: var(--ink-accent); }

.tiles__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 900px) {
  .top { min-height: 0; display: block; padding-block: 24px 48px; }
  .top > .wrap { padding-inline: 20px; display: block; }
  .tiles { grid-template-columns: 1fr; grid-template-rows: none; flex: none; min-height: 0; }
  .tile--photo { grid-row: auto; min-height: 440px; }
  .tile--brand, .tile--plain { min-height: 190px; }
}
@media (max-width: 560px) {
  .tiles__pair { grid-template-columns: 1fr; }
  .tile__art { width: 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .tile--photo img { transition: none; }
  .tile--photo:hover img { transform: none; }
}


/* ── 설립 목적: 좌 인용 / 우 일러스트(unDraw, 오픈소스·출처표기 불필요) ── */
.statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.statement__grid blockquote { max-width: none; }

.statement__fig {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stmt__svg {
  width: 100%;
  max-width: 430px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; gap: 44px; }
  .stmt__svg { max-width: 320px; }
}


/* ── 서브페이지 헤더 : 좌 제목 / 우 일러스트 ── */
.phead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 48px;
  align-items: center;
}
.phead__fig {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.phead__svg {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .phead__grid { grid-template-columns: 1fr; gap: 28px; }
  .phead__fig { justify-content: flex-start; }
  .phead__svg { max-width: 210px; }
}


/* ============================================================================
   파트너 — 로고 마퀴
   실측(clickup.com "TRUSTED BY THE BEST"): 흰 배경, 카드·테두리 없음,
   로고만 균일한 높이로 나열. 라벨은 작게.
   ============================================================================ */
.partners {
  padding-block: 76px;
  background: #fff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.partners__label {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin-bottom: 38px;
}
.partners__foot { margin-top: 40px; text-align: center; }

.mq {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  cursor: grab;
  user-select: none;
}
.mq.is-drag { cursor: grabbing; }

.mq__track {
  display: flex;
  align-items: center;
  gap: clamp(30px, 3.2vw, 48px);
  width: max-content;
  animation: mq-scroll 40s linear infinite;
  will-change: transform;
}
.mq:hover .mq__track,
.mq__track:focus-within,
.mq.is-drag .mq__track { animation-play-state: paused; }

@keyframes mq-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.mq__item {
  flex: 0 0 auto;
  display: block;
  -webkit-user-drag: none;
}
.mq__item img {
  display: block;
  width: auto;
  height: 66px;
  max-width: 210px;
  object-fit: contain;
  pointer-events: none;
  transition: transform 200ms ease;
}
.mq__item:hover img { transform: scale(1.07); }

@media (max-width: 700px) {
  .partners { padding-block: 54px; }
  .partners__label { margin-bottom: 30px; }
  .mq__track { gap: 26px; animation-duration: 32s; }
  .mq__item img { height: 48px; max-width: 156px; }
}

@media (prefers-reduced-motion: reduce) {
  .mq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mq__track { animation: none; }
  .mq__item:hover img { transform: none; }
}

/* ---- 파트너 페이지 목록의 로고 ---- */
.plist__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 48px;
}
.plist__logo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* 전용 페이지 목록 */
.plist { border-top: 2px solid var(--ink); }
.plist__head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 148px 132px;
  gap: 20px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--rule);
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  background: var(--paper);
}
.plist__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 148px 132px;
  gap: 20px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  color: var(--ink);
  transition: background 150ms ease;
}
.plist__row:hover { background: #F2F9F5; }
.plist__region {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-accent);
}
.plist__body b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 5px;
}
.plist__row:hover .plist__body b { color: var(--ink-accent); }
.plist__addr {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  color: var(--ink-3);
}
.plist__tel, .plist__hr {
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.plist__note {
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: -0.012em;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .plist__head { display: none; }
  .plist__row { grid-template-columns: 1fr; gap: 9px; padding: 18px 4px; justify-items: start; }
  .plist__tel, .plist__hr { font-size: 13px; color: var(--ink-3); }
}
