@charset "utf-8";
/*
 * 행복한은퇴자협회 · 행복한은퇴학교
 *
 * 보는 사람이 50~70대입니다. 그래서 다른 사이트보다
 *   - 본문 글자를 크게(17px) 두고
 *   - 줄 간격을 넉넉히(1.75) 잡고
 *   - 누르는 것은 44px 이상으로 만듭니다.
 * 이 셋은 취향이 아니라 이 사이트의 조건입니다. 줄이지 마세요.
 *
 * 색은 네이버 카페 대문(초록 나무)과 맞췄습니다 — 카페에서 넘어온 분이
 * 같은 곳이라고 느껴야 합니다.
 */

:root {
  --green-900: #163C24;
  --green-800: #1B4D2E;
  --green-700: #2E7D4F;
  --green-600: #3B8F5C;
  --green-500: #4CA36A;
  --green-200: #CBE4D2;
  --green-100: #E8F3E9;
  --green-50:  #F3F9F4;

  /* 액센트는 **초록 하나** 로 잠그니다. 금색 배지가 하나 섞여 있었는데,
     그러면 페이지가 «두 가지 색 중 아무거나» 로 보이고 대비도 2.62:1 로
     기준에 못 미쳤습니다(craft-floor · color consistency lock). */

  --ink:       #1E2A23;
  --body:      #36443B;
  /* 보조 글자. 흔히 쓰는 #6B7A71 은 흰 바탕에서 4.52:1 로 아슬아슬하고
     연녹색 칸에서는 4.3 으로 내려가 기준을 못 넘습니다. 보는 분들이
     50~70대라 여유를 두고 잡습니다(어느 바탕에서든 5.4:1 이상). */
  --muted:     #5C6960;
  --line:      #DFE7E1;
  --line-soft: #EDF2EE;
  --bg:        #FFFFFF;
  --bg-soft:   #F7FAF7;
  --sand:      #FAF8F2;

  /* 모서리는 한 벌로 고정합니다 — 누르는 것은 알약, 판은 12px, 입력칸은 8px.
     섞어 쓰면 «둥근 버튼 + 각진 카드» 같은 어긋남이 생깁니다. */
  /* 참고한 두 기관 사이트는 구조적 요소의 모서리가 전부 0 입니다. 곡률은
     두 종류만 씁니다 — 원형(50%)과 없음. 중간값을 두면 «AI 기본값» 입니다. */
  --radius:    0;
  --radius-sm: 0;

  /* 그림자는 반드시 아래로 내려앉습니다. 오프셋 0 짜리 색 후광은 장식일 뿐입니다. */
  /* **면을 가르는 데 그림자를 쓰지 않습니다.** 참고 사이트 다섯 화면에
     box-shadow 가 하나도 없었습니다. 경계는 1px 선으로 냅니다.
     이 토큰은 «위에 떠 있는 층» 에만 남깁니다 — 메뉴 펼침판, 사진 크게보기.
     테두리만으로는 어디까지가 그 층인지 안 보이는 곳들입니다. */
  --shadow:    0 1px 2px rgba(22, 60, 36, .05), 0 4px 12px rgba(22, 60, 36, .05);
  --shadow-up: 0 2px 6px rgba(22, 60, 36, .07), 0 16px 34px rgba(22, 60, 36, .11);

  /* 기본 이징은 약합니다. 들어오고 나가는 것은 이 곡선을 씁니다. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --wrap: 1180px;

  /* 세리프는 **인용 한 곳**에만 씁니다. 제목까지 명조로 덮으면
     «창작물이니 명조» 라는 가장 흔한 기본값이 됩니다. 브랜드(카페 대문)의
     글씨도 굵은 고딕입니다. */
  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* 우리가 그리지 않은 표면도 디자인의 일부입니다 — 선택 영역, 글자 커서,
   스크롤바, 포커스 테두리, 밑줄 간격. 손대지 않으면 어느 디자인에도
   속하지 않는 브라우저 기본값이 그대로 남습니다. */
::selection { background: var(--green-200); color: var(--green-900); }
html { scrollbar-color: var(--green-200) var(--bg-soft); scrollbar-width: thin; }
:focus-visible {
  outline: 2px solid var(--green-600); outline-offset: 3px; border-radius: 0;
}
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
input, textarea, select { caret-color: var(--green-700); }
::marker { color: var(--green-500); }

/* 글자 크기의 기준. 화면 위 «글자 크기» 단추가 이 값만 바꾸면
   rem 으로 적힌 곳(이 파일의 거의 전부)이 한꺼번에 따라옵니다.
   그래서 아래 body 의 크기도 px 가 아니라 rem 이어야 합니다. */
html { -webkit-text-size-adjust: 100%; font-size: 100%; }

/* 글자 크기 계단 — 김혜인 사이트(kimhyein.haruheal.com)와 같은 값입니다.
   같은 사람이 만든 사이트끼리 조작이 같아야 합니다. */
html[data-fs="l"]  { font-size: 18px; }
html[data-fs="xl"] { font-size: 20px; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, "Malgun Gothic", sans-serif;
  font-size: 1.125rem;   /* 18px */
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;

  /* 한글은 기본값(normal)이면 **음절 아무 데서나** 끊깁니다 —
     「행복한은퇴자협회 이/사장」. keep-all 이 h1~h4 와 p 에만 걸려 있어서
     span·li·dd 는 그대로 깨졌습니다. 여기서 한 번에 겁니다.
     대신 안 끊기는 긴 주소가 칸을 밀어내므로 overflow-wrap 을 같이 둡니다. */
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.035em;
  font-weight: 700;
  word-break: keep-all;
  text-wrap: balance;
}

p { margin: 0 0 1em; word-break: keep-all; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--green-800); color: #fff; padding: 12px 20px;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.number { font-variant-numeric: tabular-nums; }

/* ── 상단 얇은 띠 ─────────────────────────────────────────────────── */

.topbar {
  background: var(--green-900);
  color: #D9E7DD;
  font-size: .86rem;
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 38px;
}
.topbar__slogan { letter-spacing: .02em; }
.topbar__cafe { color: #fff; font-weight: 600; }
.topbar__cafe:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .topbar__slogan { display: none; }
  .topbar__in { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════
   글자 크기 조절
   ══════════════════════════════════════════════════════════════════
   크기가 다른 «가» 셋을 고르는 방식입니다(김혜인 사이트와 같습니다).
   단추 자체의 글씨가 달라서, 누르기 전에도 무엇이 커지는지 눈으로 압니다 —
   +/− 보다 어르신에게 낫습니다. 고른 값은 이 브라우저에 기억됩니다. */

.fs { display: flex; align-items: center; gap: 2px; }
.fs__lbl { font-size: .8rem; color: #C7DCCD; letter-spacing: .04em; margin-right: 7px; }
.fs button {
  width: 30px; height: 26px; padding: 0; cursor: pointer; line-height: 1;
  background: transparent; border: 1px solid transparent; border-radius: 0;
  color: #C7DCCD; font-family: inherit; font-weight: 700;
  transition: color 140ms var(--ease-out), background 140ms var(--ease-out),
              border-color 140ms var(--ease-out);
}
.fs button:nth-of-type(1) { font-size: .82rem; }
.fs button:nth-of-type(2) { font-size: 1rem; }
.fs button:nth-of-type(3) { font-size: 1.2rem; }
.fs button:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.fs button[aria-pressed="true"] {
  background: #fff; border-color: #fff; color: var(--green-900);
}

@media (max-width: 640px) {
  .fs__lbl { display: none; }
  /* 이 단추를 찾는 분들이 바로 손끝이 둔한 분들입니다. 40px 이하로 줄이지 마세요. */
  .fs button { width: 40px; height: 36px; }
}

/* ── 머리 · 메뉴 ─────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { flex: none; display: block; line-height: 0; }
.brand__mark img { width: 68px; height: 68px; object-fit: contain; }
/* 두 이름을 가로 한 줄로. 첫 화면에서 같은 이름을 한 번 더 크게 쓰던 것을
   뺐으므로 여기가 기관 이름이 서는 유일한 자리입니다. 좁은 화면에서는
   16자가 한 줄에 안 들어가 햄버거와 부딪히므로 두 줄로 되돌립니다. */
.brand__text { display: flex; align-items: baseline; gap: 8px; line-height: 1.2; }
.brand__dot { color: var(--green-500); font-size: 1rem; }
.brand__text strong {
  font-size: 1.28rem; font-weight: 800;
  color: var(--green-800); letter-spacing: -0.02em;
}
.brand__text em {
  font-style: normal; font-size: .96rem; color: var(--muted); letter-spacing: .02em;
}

.gnb__list { display: flex; gap: 6px; }
.gnb__item { position: relative; }
.gnb__top {
  display: block; padding: 24px 20px; font-size: 1.06rem; font-weight: 600;
  color: var(--ink);
}
.gnb__top:hover { color: var(--green-700); text-decoration: none; }
.gnb__item.is-on > .gnb__top { color: var(--green-700); }
.gnb__item.is-on > .gnb__top::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 16px;
  height: 2px; background: var(--green-600);
}

.gnb__sub {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  min-width: 170px; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-up);
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.gnb__item:hover .gnb__sub,
.gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; }

/* 맨 오른쪽 메뉴의 펼침판은 가운데 맞춤을 쓰면 화면 밖으로 20px 쯤 밀려
   나가면서 가로 스크롤바가 생깁니다. 숨어 있어도 자리는 차지하기 때문에
   눈에는 안 보이고 스크롤만 생깁니다 — 찾기 어려운 종류의 버그입니다. */
.gnb__item:last-child .gnb__sub { left: auto; right: 0; transform: none; }

/* 협회소개처럼 하위가 여섯 개를 넘으면 한 줄로는 화면 밑을 뚫고 내려갑니다. */
.gnb__sub--wide {
  display: grid; grid-template-columns: repeat(2, minmax(148px, 1fr)); gap: 2px;
  min-width: 330px;
}
.gnb__sub a {
  display: block; padding: 10px 14px; border-radius: 0;
  color: var(--body); font-size: .97rem;
}
.gnb__sub a:hover { background: var(--green-50); color: var(--green-800); text-decoration: none; }
.gnb__sub a[aria-current="page"] { background: var(--green-100); color: var(--green-800); font-weight: 600; }

.navbtn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 0; background: #fff; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.navbtn span[aria-hidden] { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .navbtn { display: flex; }
  .gnb {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-up); display: none; padding: 8px 16px 18px;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .gnb.is-open { display: block; }
  .gnb__list { flex-direction: column; gap: 0; }
  .gnb__top { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .gnb__item.is-on > .gnb__top::after { display: none; }
  .gnb__sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    border: 0; box-shadow: none; padding: 4px 0 12px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  }
  .gnb__sub a { padding: 12px 10px; background: var(--bg-soft); }
}

/* ── 버튼 ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  /* 알약은 SaaS 폼의 기본값입니다. 참고 두 곳의 버튼은 전부 각진 직사각형.
     납작해 보이지 않게 안쪽 여백을 키워 보상합니다. */
  min-height: 50px; padding: 13px 26px; border-radius: 0;
  font-size: 1rem; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  /* transition: all 은 쓰지 않습니다 — 바뀌는 것만 적습니다. */
  transition: transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out),
              background-color 140ms var(--ease-out), border-color 140ms var(--ease-out);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
/* 누르는 순간 살짝 눌려야 «반응했다» 고 느낍니다. */
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--ghost { background: #fff; color: var(--green-800); border-color: var(--green-200); }
.btn--ghost:hover { background: var(--green-50); color: var(--green-800); }
/* 네이버 초록(#03C75A)은 흰 글씨와 2.25:1 라 읽히지 않습니다.
   같은 계열에서 한 단계 어두워진 값으로 4.86:1 을 맞춥니다. */
.btn--cafe { background: #05833C; color: #fff; }
.btn--cafe:hover { background: #046F33; color: #fff; }
/* 당근 주황(#FF6F0F)은 흰 글씨 대비가 3:1 남짓이라 어르신 화면에서 흐립니다.
   한 단계 짙은 주황으로 — 흰 글씨 대비 5.2:1. */
.btn--daangn { background: #C2410C; color: #fff; }
.btn--daangn:hover { background: #9A3412; color: #fff; }
.site-foot__brand .btn--daangn { margin-top: 10px; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }

/* ── 첫 화면 히어로 ──────────────────────────────────────────────
   카페 대문(cafe.naver.com/koreahappyretire)의 생김새를 그대로 옮겼습니다.
   왼쪽 글 · 오른쪽 사진 · 사진 왼쪽 가장자리가 흰색으로 스며듦 · 아래 녹색 물결.
   카페에서 넘어온 분이 «같은 곳» 이라고 느끼는 것이 이 화면의 목적입니다. */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 78% -14%, rgba(76, 163, 106, .14), transparent 68%),
    linear-gradient(176deg, #FBFDFA 0%, #FFFFFF 52%);
  padding: clamp(36px, 5vw, 66px) 0 clamp(104px, 11vw, 158px);
}

/* 잎사귀 — **브로슈어 표지에 쓰인 수채화 원본**입니다(PDF 안에 들어 있던 것을
   꺼냈습니다). 직접 그린 도형보다 훨씬 낫고, 협회가 이미 쓰는 그림이라
   카페·브로슈어·홈페이지가 한 벌로 보입니다. 화면이 좁아지면 숨깁니다. */
.hero__leaf {
  position: absolute; left: -54px; top: -40px; width: clamp(170px, 19vw, 290px);
  opacity: .55; pointer-events: none; height: auto; transform: rotate(-8deg);
}
.hero__leaf--b {
  left: auto; right: -64px; top: auto; bottom: -46px;
  width: clamp(140px, 15vw, 230px); opacity: .4; transform: rotate(172deg);
}

/* 사진을 오른쪽 화면 끝까지 흘려보냅니다. 가운데 상자 안에 얌전히 담아 두면
   폭이 남아 답답해 보입니다 — 한쪽을 끊어 주면 화면이 넓어 보입니다. */
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: clamp(26px, 4vw, 60px); align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800;
  color: var(--green-900); line-height: 1.22; letter-spacing: -0.045em;
  margin: 0 0 22px;
}
.hero__title em { font-style: normal; color: var(--green-700); }
.hero__title .sprout { display: inline-block; width: .62em; height: .62em; margin-left: .12em; color: var(--green-500); vertical-align: baseline; }
.hero__title .sprout svg { width: 100%; height: 100%; display: block; }

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--body);
  margin: 0 0 26px; max-width: 30em; line-height: 1.8;
}

/* 여섯 분야 — 카페 대문처럼 히어로 안에 한 줄로 둡니다. */
.hero__fields {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px; margin: 0 0 28px; max-width: 460px;
}
.hero__fields li { text-align: center; }
.hero__fields .ic {
  display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 6px;
  color: var(--green-700);
}
.hero__fields .ic svg { width: 27px; height: 27px; }
.hero__fields span { font-size: .76rem; color: var(--muted); letter-spacing: -0.03em; white-space: nowrap; }

.hero__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* 아래 녹색 물결 — 로고와 카페 대문의 시그니처입니다. */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%;
  height: clamp(60px, 7vw, 104px); display: block; pointer-events: none;
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__shot { order: -1; margin-inline: auto; }
  .hero__shot::before { display: none; }
  .hero__fields { max-width: none; }
  .hero__leaf { display: none; }
}
@media (max-width: 460px) {
  .hero__fields { grid-template-columns: repeat(3, 1fr); gap: 12px 4px; }
}

/* ── 화면 제목 띠 (첫 화면 말고 전부) ────────────────────────────── */

.pagehead {
  position: relative; overflow: hidden;
  /* 사진이 늦게 뜰 때의 바탕. 사진 왼쪽 그늘과 같은 색이라 바뀌는 순간이 안 걸립니다.
     옛 초록 사선 그라디언트(green-800 → green-600)는 뺐습니다 — 참고한 두 기관
     사이트 어디에도 색만 칠한 띠가 없고, 사선 2색 그라디언트는 AI 가 뽑은 랜딩
     히어로에서 가장 알아보기 쉬운 지문입니다. */
  background: #0A140F; color: #fff;
  padding: clamp(34px, 4.2vw, 52px) 0 clamp(36px, 4.4vw, 54px);
}
.pagehead .wrap { position: relative; z-index: 1; }

/* 띠에 서는 것은 **묶음 이름**입니다(협회소개 · 학교소개 · 제휴기관).
   지금 보는 화면 이름은 띠 밖 흰 바탕으로 내려갑니다 — head.php 참고. */
.pagehead__group {
  margin: 0; font-size: clamp(1.95rem, 3.5vw, 2.75rem); font-weight: 800;
  letter-spacing: -0.042em; line-height: 1.15; color: #fff;
}
.pagehead__lead {
  margin: 13px 0 0; color: #DCEDE2; max-width: 34em;
  font-size: clamp(.95rem, 1.2vw, 1.04rem); line-height: 1.65;
}

/* 지금 위치 — 띠 밖, 형제 메뉴 아래, 오른쪽 끝. 흰 줄입니다.
   사진 위 제목보다 먼저 얹는 배치는 Medium·Notion 글 머리의 꼴이라
   한국 기관 화면에서 바로 이질감이 납니다. */
.crumbbar { border-bottom: 1px solid var(--line-soft); background: #fff; }
.crumb {
  display: flex; align-items: center; justify-content: flex-end; gap: 7px;
  flex-wrap: wrap; padding: 6px 0; font-size: .88rem; color: var(--muted);
}
/* 흰 바탕에 #8A9691 은 대비 3.06:1 이라 55세 이상에게 흐렸습니다(--muted 는 5.76:1).
   글자만큼만 눌리면 22px 이라, 위아래 여백을 링크 안으로 넣어 32px 넘게 잡습니다. */
.crumb a { color: var(--muted); display: inline-block; padding: 6px 2px; }
.crumb a:hover { color: var(--green-700); }
.crumb span[aria-hidden] { opacity: .5; }
.crumb__here { color: var(--ink); font-weight: 600; }

/* 화면 제목 — 흰 바탕에 검은 글자. 신협사회공헌재단이 그 꼴입니다. */
.pagetitle { padding: clamp(30px, 4vw, 46px) 0 0; }
.pagetitle h1, .pagetitle .pagetitle__h {
  margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800;
  letter-spacing: -0.04em; color: var(--ink);
}
.pagetitle + .sec { padding-top: clamp(22px, 2.6vw, 32px); }


.files__clip { display: inline-flex; color: var(--green-600); }

/* ── 구역 공통 ───────────────────────────────────────────────────── */

.sec { padding: clamp(44px, 6vw, 84px) 0; }
.sec--soft { background: var(--bg-soft); }
.sec--sand { background: var(--sand); }

.sec__head { margin-bottom: clamp(24px, 3vw, 40px); }
.sec__head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
/* ★ 제목 위의 작은 라벨(«주요 사업», «왜 필요한가» 같은 것)은 **쓰지 않습니다.**
   모든 섹션에 달리는 순간 화면 전체가 틀에서 찍어낸 것처럼 보입니다.
   제목 한 줄이면 충분하고, 그 섹션이 어디에 있는지가 이미 분류입니다.
   이 규칙은 취향이 아니라 금지입니다(impeccable craft-floor). */
.sec__title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.26;
}
.sec__lead { margin: 16px 0 0; color: var(--muted); max-width: 34em; font-size: 1.02rem; }
.sec__more { font-weight: 600; color: var(--green-700); white-space: nowrap; }

/* ── 여섯 가지 배움 ─────────────────────────────────────────────────
   상자 여섯 개를 늘어놓지 않습니다. 같은 크기 카드 나열은 «무엇이 중요한가» 를
   지워 버리고, 어느 화면에나 붙는 틀처럼 보입니다. 아이콘과 이름만 남기고
   경계선은 뺍니다. */

.fields {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 20px);
}
.field { text-align: center; padding: 4px 2px; }
.field__icon {
  width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--green-50); display: grid; place-items: center; color: var(--green-700);
}
.field__icon svg { width: 25px; height: 25px; }
.field__name { font-size: .98rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.field__desc { margin: 4px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 860px) { .fields { grid-template-columns: repeat(3, 1fr); row-gap: 22px; } }
@media (max-width: 420px) { .fields { grid-template-columns: repeat(2, 1fr); } }

/* ── 소개 두 칸 ──────────────────────────────────────────────────── */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.quote {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: var(--green-900); line-height: 1.6;
}
.card-soft {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
}

/* 제휴기관이 아직 없을 때의 칸. 자리만 비워 두면 «만들다 만 화면» 으로
   보입니다. 제휴를 청하는 말과 연락 방법을 두어 칸이 일을 하게 합니다. */
.partners-invite {
  border: 1px solid var(--line); background: #fff;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  text-align: center;
}
.partners-invite__lead {
  margin: 0 auto; max-width: 34em;
  font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.75; color: var(--body);
}
.partners-invite__how {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px;
}

/* 학교소개 «한눈에 보기» 안의 교육 신청 창구.
   협회 대표번호와 다른 번호라 무엇에 쓰는지 적어 둡니다. */
.school__apply {
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .93rem; color: var(--muted); line-height: 1.7;
}
.school__apply a { color: var(--green-700); font-weight: 600; }
.school__apply span { margin: 0 4px; opacity: .5; }

/* ── 최신글 ─────────────────────────────────────────────────────── */

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 34px); }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft); background: var(--green-50);
}
.news__title { font-size: 1.1rem; font-weight: 700; color: var(--green-800); }
.news__more { font-size: .95rem; color: var(--muted); display: inline-block; padding: 10px 2px; margin: -10px 0; }
.news__list li + li { border-top: 1px solid var(--line-soft); }
.news__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 20px; color: var(--body); min-height: 54px;
}
.news__list a:hover { background: var(--green-50); text-decoration: none; }
.news__subject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news__date { flex: none; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; }
.news__empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: .95rem; }

.tag-new {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px;
  background: var(--green-100); color: var(--green-800); font-size: .72rem; font-weight: 700;
  vertical-align: 2px;
}
.tag-pin {
  display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 4px;
  background: var(--green-700); color: #fff; font-size: .8rem; font-weight: 700;
}

/* ── 사진 격자 ──────────────────────────────────────────────────── */

.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .photos { grid-template-columns: repeat(2, 1fr); } }

.photo {
  display: block; border-radius: var(--radius); overflow: hidden; background: var(--green-100);
  border: 1px solid var(--line); position: relative;
}
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.photo:hover img { transform: scale(1.04); }
.photo__cap {
  /* <span> 이라 display:block 이 없으면 흰 바탕이 글자 폭만큼만 칠해지고
     나머지로 카드 바탕(연녹색)이 비쳐 줄이 어긋나 보였습니다. */
  display: block; border-top: 1px solid var(--line);
  padding: 12px 14px; font-size: .92rem; color: var(--ink); background: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.photo__none {
  aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--green-600);
  background: repeating-linear-gradient(45deg, var(--green-50), var(--green-50) 10px, #fff 10px, #fff 20px);
  font-size: .9rem;
}

/* ── 제휴기관 배너 ──────────────────────────────────────────────── */

.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .partners { grid-template-columns: repeat(2, 1fr); } }

.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 108px; padding: 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
  color: var(--body); transition: border-color .14s ease, box-shadow .14s ease;
}
.partner:hover { border-color: var(--green-700); background: var(--green-50); text-decoration: none; }
.partner img { max-height: 48px; width: auto; object-fit: contain; }
.partner__name { font-size: .93rem; font-weight: 600; color: var(--ink); }
.partner__note { font-size: .82rem; color: var(--muted); }

/* ── 게시판 ─────────────────────────────────────────────────────── */

.board-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.board-count { color: var(--muted); font-size: .93rem; }
.board-count strong { color: var(--green-700); }

.search { display: flex; gap: 8px; }
.search input {
  /* 알약 입력칸 + 알약 버튼은 SaaS 폼의 기본값입니다. 참고 두 곳의 게시판
     검색줄은 각진 입력칸과 각진 버튼이고, 둘의 높이가 정확히 같습니다. */
  min-height: 50px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 0; font-size: 1rem; font-family: inherit; min-width: 200px;
  color: var(--ink); background: #fff;
}
.search input:focus { outline: 2px solid var(--green-500); outline-offset: 1px; }

/* 게시판 목록 — 한국 기관 게시판의 표.
   머리줄이 없으면 오른쪽 «2026.09.21» 이 무슨 값인지 글로 설명되지 않습니다.
   열 비율은 신협사회공헌재단 /notice 실측을 따랐습니다(번호 9 · 구분 12 ·
   제목 67 · 날짜 12). 세로 구분선·줄무늬는 두지 않습니다 — 참고 두 곳 모두
   가로 실선 하나뿐입니다. */

.list { border-top: 2px solid var(--green-700); }
.list__head,
.list__link {
  display: grid;
  grid-template-columns: 10% minmax(0, 1fr) 13%;
  align-items: center; gap: 0 4px;
}
/* 매체·첨부 값이 있는 게시판만 네 열입니다. */
.list--cate .list__head,
.list--cate .list__link { grid-template-columns: 10% 13% minmax(0, 1fr) 13%; }
.list__head {
  background: #F1F3F5; border-bottom: 1px solid var(--line);
  padding: 15px 0; font-size: .95rem; font-weight: 700; color: var(--ink);
}
.list__row { border-bottom: 1px solid var(--line); }
.list__link { padding: 17px 0; color: var(--body); min-height: 62px; }
.list__link:hover { background: var(--green-50); text-decoration: none; }

/* 가운데 정렬은 번호·구분·날짜, 제목만 왼쪽. */
.list__no, .list__cate, .list__date { text-align: center; padding: 0 8px; }
.list__subject { text-align: left; padding: 0 16px; }

.list__no { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.list__no .tag-pin { display: inline-block; }
.list__cate { font-size: .9rem; }
.list__subject {
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis;
}
.list__date { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.list__outlet { color: var(--green-700); font-weight: 600; font-size: .88rem; }
.list__files { color: var(--green-700); font-weight: 600; font-size: .9rem; }
.list__empty { padding: 60px 20px; text-align: center; color: var(--muted); }

/* 휴대폰 — 「번호」 열만 감추고 세 열을 유지합니다. 통째로 한 줄씩 접으면
   표가 아니라 카드 목록이 되어 참고 사이트와 다른 모양이 됩니다. */
@media (max-width: 640px) {
  .list__head,
  .list__link { grid-template-columns: minmax(0, 1fr) 24%; }
  .list--cate .list__head,
  .list--cate .list__link { grid-template-columns: 18% minmax(0, 1fr) 24%; }
  /* 번호 열만 감춥니다. 공지 배지는 제목 앞으로 옮겨 붙습니다. */
  .list__head .list__no { display: none; }
  .list__link .list__no { display: contents; }
  .list__link .list__no .tag-pin { float: left; margin: 2px 6px 0 10px; }
  .list__head { font-size: .88rem; padding: 12px 0; }
  .list__subject { padding: 0 10px; font-size: .98rem; }
  .list__cate, .list__date { padding: 0 4px; font-size: .84rem; }
  .list__link { padding: 14px 0; }
}

@media (max-width: 640px) {
  .list__link { grid-template-columns: 1fr; padding: 16px 8px; }
  .list__meta { font-size: .82rem; gap: 10px; }
}

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager strong {
  min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 0;
  color: var(--body); font-variant-numeric: tabular-nums;
}
.pager strong { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pager a:hover { background: var(--green-50); text-decoration: none; }

/* 글 보기 */
.post { border-top: 2px solid var(--green-700); }
.post__head { padding: 26px 12px 20px; border-bottom: 1px solid var(--line); }
.post__title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .9rem; }
.post__body { padding: 30px 12px; font-size: 1.06rem; line-height: 1.85; }
.post__body p { margin-bottom: 1.4em; }
.post__body a { text-decoration: underline; }
.post__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 14px 22px; border-radius: 0; background: var(--green-50);
  border: 1px solid var(--green-200); color: var(--green-800); font-weight: 600;
}
.post__link:hover { background: var(--green-100); text-decoration: none; }

.gallery-view { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
@media (max-width: 700px) { .gallery-view { grid-template-columns: 1fr; } }
.gallery-view img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

.files { border: 1px solid var(--line); border-radius: var(--radius); margin: 8px 12px 0; overflow: hidden; }
.files__head { padding: 12px 18px; background: var(--bg-soft); font-weight: 700; font-size: .93rem; color: var(--ink); }
.files__item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line-soft); }
.files__item a { flex: 1; color: var(--body); overflow: hidden; text-overflow: ellipsis; }
.files__size { color: var(--muted); font-size: .85rem; white-space: nowrap; }

.post__nav { border-top: 1px solid var(--line); margin-top: 26px; }
.post__nav a {
  display: flex; gap: 16px; padding: 16px 12px; color: var(--body);
  border-bottom: 1px solid var(--line-soft); min-height: 58px; align-items: center;
}
.post__nav a:hover { background: var(--green-50); text-decoration: none; }
.post__nav b { flex: none; color: var(--muted); font-weight: 600; font-size: .9rem; width: 62px; }
.post__foot { display: flex; justify-content: center; margin-top: 28px; }

/* ── 멘토 ───────────────────────────────────────────────────────── */

.mentors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .mentors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .mentors { grid-template-columns: repeat(2, 1fr); } }

.mentor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .14s ease, background .14s ease;
}
/* 카드가 뜨는 호버는 참고 사이트 어디에도 없습니다. 테두리와 바탕으로만. */
.mentor:hover { border-color: var(--green-700); background: var(--green-50); text-decoration: none; }
/* 받은 얼굴 사진이 거의 정사각이라 칸도 정사각으로 둡니다.
   3:4 로 두면 cover 가 좌우를 잘라 얼굴이 깎입니다. */
.mentor__photo {
  aspect-ratio: 1 / 1; width: 100%; object-fit: cover; object-position: center 22%;
  background: var(--green-100);
}
.mentor__none {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-500);
}
.mentor__none svg { width: 56px; height: 56px; }
.mentor__body { padding: 16px 18px 20px; }
.mentor__field {
  /* .tag-new · .tag-pin 이 이미 4px 네모 라벨입니다. 배지 모양을 한 벌로. */
  display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 4px;
  background: var(--green-100); color: var(--green-800); font-size: .78rem; font-weight: 700;
}
.mentor__name { font-size: 1.1rem; color: var(--ink); }
.mentor__name small { font-size: .84rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.mentor__summary { margin: 8px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }

.mentor-view { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 800px) { .mentor-view { grid-template-columns: 1fr; } }
.mentor-view__photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mentor-view__photo img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; object-position: center 22%; }
.mentor-view__name { font-size: clamp(1.5rem, 3vw, 2rem); }
.mentor-view__title { margin: 6px 0 20px; color: var(--green-700); font-weight: 600; }

.deflist { border-top: 1px solid var(--line); margin-top: 22px; }
.deflist__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); }
.deflist__row dt { color: var(--muted); font-size: .92rem; }
.deflist__row dd { margin: 0; }
@media (max-width: 600px) { .deflist__row { grid-template-columns: 1fr; gap: 4px; } }

.bullets li { position: relative; padding-left: 16px; margin-bottom: 8px; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--green-500);
}

/* ══════════════════════════════════════════════════════════════════
   조직도
   ══════════════════════════════════════════════════════════════════
   그림을 붙이지 않고 화면에서 그립니다. 글자가 진짜 글자라 휴대폰에서
   접히고, 검색에도 걸리고, 한 자리 바뀌어도 그림을 다시 안 받아도 됩니다.

   선은 가상요소로 긋습니다. 굵기는 2px 한 값으로 고정 — 굵기가 섞이면
   «어느 선이 더 중요한가» 라는 없는 뜻이 생깁니다. */

.org {
  /* 선 색은 «보이되 시끄럽지 않은» 값입니다. 더 연하면 화면에서 사라집니다. */
  --org-line: #93B5A1;
  --org-gap: clamp(22px, 3vw, 34px);
  --org-col-gap: clamp(16px, 3vw, 40px);
}

.org__top { display: flex; justify-content: center; position: relative; }

/* 협회장 아래로 내려가는 선 */
.org__top::after {
  content: ""; width: 2px; height: var(--org-gap);
  background: var(--org-line); margin-top: 0;
}
.org__top { flex-direction: column; align-items: center; }

/* 두 갈래 */
.org__split {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--org-col-gap); padding-top: var(--org-gap); padding-bottom: var(--org-gap);
}

/* 갈래를 잇는 가로선.
   left 를 25% 로 두면 **칼럼 사이 틈만큼 어긋나** 세로선과 안 만납니다.
   두 칼럼일 때 각 칼럼의 중심은 (100% - 틈) / 4 입니다. */
.org__split::before,
.org__split::after {
  content: ""; position: absolute;
  left: calc((100% - var(--org-col-gap)) / 4);
  right: calc((100% - var(--org-col-gap)) / 4);
  height: 2px; background: var(--org-line);
}
.org__split::before { top: 0; }
.org__split::after  { bottom: 0; }

/* 두 갈래의 아래 끝을 맞춥니다 — 안 맞으면 아래 가로선이 허공에 뜹니다. */
.org__branch {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
}
/* 각 갈래로 내려오는 선 */
.org__branch::before {
  content: ""; position: absolute; top: calc(var(--org-gap) * -1); left: 50%;
  width: 2px; height: var(--org-gap); background: var(--org-line); transform: translateX(-50%);
}

/* 갈래 안에서 아래 칸으로 내려가는 선 */
.org-node--sub { margin-top: var(--org-gap); position: relative; }
.org-node--sub::before {
  content: ""; position: absolute; top: calc(var(--org-gap) * -1); left: 50%;
  width: 2px; height: var(--org-gap); background: var(--org-line); transform: translateX(-50%);
}
/* 멘토단은 소속이 아니라 함께 일하는 관계라 점선입니다. */
.org-node--dotted::before {
  background: none;
  border-left: 2px dashed var(--org-line);
  width: 0;
}

/* 갈래 끝에서 아래 가로선까지 */
.org__branch::after {
  content: ""; position: absolute; bottom: calc(var(--org-gap) * -1); left: 50%;
  width: 2px; height: var(--org-gap); background: var(--org-line); transform: translateX(-50%);
}

.org__base { position: relative; padding-top: var(--org-gap); }
.org__base::before {
  content: ""; position: absolute; top: calc(var(--org-gap) * -1); left: 50%;
  width: 2px; height: calc(var(--org-gap) * 2); background: var(--org-line); transform: translateX(-50%);
}

/* 칸 */
.org-node {
  width: 100%; max-width: 330px; text-align: center;
  background: #fff; border: 1px solid var(--green-200); border-radius: var(--radius);
  padding: 18px 20px;
}
.org-node b {
  display: block; font-size: 1.12rem; font-weight: 800; color: var(--ink);
  letter-spacing: -0.03em;
}
.org-node span {
  display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); line-height: 1.6;
}

/* 층마다 무게를 달리 둡니다 — 색이 아니라 농담으로 */
.org-node--head {
  background: var(--green-800); border-color: var(--green-800); max-width: 380px;
}
.org-node--head b { color: #fff; font-size: 1.3rem; }
.org-node--head span { color: #C7E0D1; }

.org-node--sub { background: var(--green-50); }

.org-node--base {
  max-width: none; background: var(--green-100); border-color: var(--green-200);
}
.org-node--base b { font-size: 1.2rem; color: var(--green-900); }

.org__note {
  margin: clamp(22px, 3vw, 32px) auto 0; max-width: 46em; text-align: center;
  font-size: .92rem; color: var(--muted); line-height: 1.8;
}

/* 좁은 화면에서는 한 줄로 세웁니다. 가로선은 숨기고 세로선만 남깁니다. */
@media (max-width: 720px) {
  .org__split { grid-template-columns: 1fr; gap: var(--org-gap); padding-bottom: 0; }
  .org__split::before, .org__split::after { display: none; }
  .org__branch::after { display: none; }
  .org__branch + .org__branch { margin-top: var(--org-gap); }
  .org__base::before { top: 0; height: var(--org-gap); }
  .org__branch::before { top: calc(var(--org-gap) * -1); }
  .org__branch + .org__branch::before { top: calc(var(--org-gap) * -1); }
  .org-node { max-width: none; }
  .org-node--head { max-width: none; }
}

/* ── 연혁 ───────────────────────────────────────────────────────── */

.timeline { position: relative; padding-left: 4px; }
.tl-year { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.tl-year:first-child { border-top: 0; }
.tl-year__no {
  font-size: 1.75rem; font-weight: 800; color: var(--green-800);
  line-height: 1.2; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 7px 0; }
.tl-item__when { color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .tl-year { grid-template-columns: 1fr; gap: 10px; }
  .tl-item { grid-template-columns: 78px 1fr; }
}

/* ── 본문 글(인사말 등) ─────────────────────────────────────────── */

/* 한 줄이 너무 길면 눈이 다음 줄을 못 찾습니다. 65~75자 사이로 잡습니다. */
/* 본문은 화면에서 가장 오래 읽는 글입니다. 기본(1.125rem)보다 커야 합니다. */
.prose { font-size: 1.18rem; line-height: 1.95; max-width: 34em; }
.prose p { margin-bottom: 1.5em; }
.prose strong { color: var(--ink); }
.prose__sign { margin-top: 32px; font-size: 1.12rem; color: var(--ink); }

.notice-box {
  background: var(--green-50); border: 1px solid var(--green-200); border-radius: var(--radius);
  padding: 20px 24px; color: var(--body); font-size: .96rem;
}
.notice-box strong { color: var(--green-800); }

.empty-box {
  padding: 56px 24px; text-align: center; color: var(--muted);
  background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-box strong { display: block; color: var(--ink); font-size: 1.06rem; margin-bottom: 6px; }
/* 빈 게시판에서 카페로 건너갈 길. 글자로만 «카페에 있습니다» 라고 해 두면
   누를 데가 없어 방문자가 그냥 되돌아갑니다. */
.empty-box .btn { margin-top: 18px; }

/* ── 오시는 길 ──────────────────────────────────────────────────── */

.map-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
@media (max-width: 820px) { .map-card { grid-template-columns: 1fr; } }

/* ── 꼬리 ───────────────────────────────────────────────────────── */

.site-foot {
  background: var(--green-900); color: #C7D8CC;
  padding: clamp(40px, 5vw, 62px) 0 30px; margin-top: 0;
}
.site-foot__in {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.5fr);
  column-gap: clamp(28px, 4vw, 60px); row-gap: 0;
}
@media (max-width: 900px) { .site-foot__in { grid-template-columns: 1fr; row-gap: 34px; } }

/* 왼쪽 칸 — 로고, 이름, 한 줄 소개, 기관 정보, 카페 버튼 */

.footmark { display: flex; align-items: center; gap: 12px; }
.footmark__img {
  flex: none; display: grid; place-items: center;
  width: 54px; height: 54px; padding: 4px;
  background: #fff; border-radius: 4px;
}
.footmark__img img { width: 100%; height: 100%; object-fit: contain; }
.footmark__text { display: flex; flex-direction: column; line-height: 1.3; }
.footmark__text strong { color: #fff; font-size: 1.08rem; letter-spacing: -0.03em; }
.footmark__text em { font-style: normal; font-size: .86rem; color: #9FB8A7; margin-top: 2px; }

.site-foot__tag { color: #9FB8A7; font-size: .92rem; margin: 16px 0 0; }

.site-foot__addr { margin: 18px 0 0; font-size: .89rem; line-height: 1.5; }
.site-foot__addr li { display: flex; gap: 10px; padding: 3px 0; }
.site-foot__addr li span {
  flex: none; min-width: 56px; color: #8FA898; font-size: .82rem; padding-top: 1px;
}
.site-foot__addr a { color: #C7D8CC; }
.site-foot__addr a:hover { color: #fff; }

.site-foot__brand .btn--cafe { margin-top: 20px; }

/* 오른쪽 칸 — 메뉴 세 줄 */

.site-foot__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 560px) { .site-foot__nav { grid-template-columns: repeat(2, 1fr); } }
.site-foot__nav h2 { font-size: .95rem; color: #fff; margin-bottom: 10px; }
.site-foot__nav a { display: block; padding: 5px 0; color: #A9C1B0; font-size: .9rem; }
.site-foot__nav a:hover { color: #fff; }

/* 맨 아래 줄 — 저작권과 링크만 */

.site-foot__info {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 6px 20px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: clamp(30px, 3.4vw, 46px);
}
.site-foot__copy { margin: 0; font-size: .84rem; color: #93B1A0; }
.site-foot__links { margin: 0; font-size: .86rem; }
.site-foot__links a { color: #A9C1B0; }
.site-foot__links a:hover { color: #fff; }
.site-foot__links span { color: #5E7A67; margin: 0 4px; }

/* ── 히어로 사진 ────────────────────────────────────────────────── */

.hero__photo {
  /* 그림자가 사진과 아래 흰 캡션 띠를 함께 묶고 있었습니다. 그림자를 빼면
     캡션 글자가 허공에 뜨므로, 테두리를 눈에 보이는 색으로 올립니다. */
  border-radius: 0; overflow: hidden; border-color: var(--line);
  border: 1px solid var(--green-100); background: #fff;
}
.hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__photo figcaption {
  padding: 12px 18px; font-size: .88rem; color: var(--muted); background: #fff;
}

/* ── 5대 핵심 가치 ─────────────────────────────────────────────────
   번호를 단 카드 다섯 장은 순서가 의미를 가질 때만 맞습니다. 이건 나열이라
   번호를 빼고 선으로만 나눕니다. */

.values { border-top: 1px solid var(--line); }
.value {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(12px, 3vw, 40px); align-items: baseline;
  padding: clamp(20px, 2.6vw, 30px) 2px; border-bottom: 1px solid var(--line);
}
.value h3 { font-size: clamp(1.08rem, 1.8vw, 1.3rem); letter-spacing: -0.03em; }
.value p { font-size: .98rem; color: var(--muted); line-height: 1.8; margin: 0; }
@media (max-width: 720px) {
  .value { grid-template-columns: 1fr; gap: 8px; }
}

/* ── 교육과정 표 ───────────────────────────────────────────────── */

.course { border-top: 2px solid var(--green-700); }
.course__row {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
}
.course__no {
  font-size: 1.05rem; color: var(--green-700); font-weight: 700;
}
.course__title { font-size: 1.12rem; margin-bottom: 8px; }
.course__desc { font-size: .97rem; color: var(--muted); line-height: 1.75; margin: 0; }
@media (max-width: 640px) {
  .course__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
}

/* ── 모집 요강 ─────────────────────────────────────────────────── */

.apply {
  background: linear-gradient(140deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
}
.apply h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.apply__lead { color: #D6EADD; margin: 10px 0 26px; }
.apply__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px;
  background: rgba(255, 255, 255, .18); overflow: hidden;
}
.apply__cell { background: rgba(10, 45, 25, .28); padding: 18px 20px; }
.apply__cell dt { font-size: .85rem; color: #BEDCC9; margin-bottom: 6px; }
.apply__cell dd { margin: 0; font-size: 1.05rem; font-weight: 600; color: #fff; word-break: keep-all; }
.apply__cell dd small { display: block; font-size: .84rem; font-weight: 400; color: #C9E4D3; margin-top: 4px; }
.apply__note { margin: 20px 0 0; font-size: .9rem; color: #C9E4D3; }
.apply__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.apply .btn--ghost { background: #fff; border-color: #fff; }

/* ── 주요 사업 ─────────────────────────────────────────────────────
   흰 카드 세 장 대신, 제목을 크게 세우고 내용은 오른쪽에 붙입니다. */

.biz { border-top: 2px solid var(--green-800); }
.biz__item {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(24px, 3.4vw, 40px) 2px; border-bottom: 1px solid var(--line);
}
.biz__tag {
  display: inline-block; font-size: .78rem; font-weight: 700; color: var(--green-700);
  letter-spacing: .02em; margin-bottom: 8px;
}
.biz__item h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -0.035em; }
.biz__item > div:first-child > p { margin: 10px 0 0; color: var(--muted); font-size: .98rem; }
.biz__list li {
  position: relative; padding-left: 15px; font-size: .97rem; margin-bottom: 8px; color: var(--body);
}
.biz__list li::before {
  content: ""; position: absolute; left: 0; top: .74em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--green-500);
}
@media (max-width: 760px) { .biz__item { grid-template-columns: 1fr; gap: 14px; } }

/* ── 숫자로 보는 현실 ──────────────────────────────────────────── */

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.fact__n {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700;
  color: var(--green-700); line-height: 1.2; font-variant-numeric: tabular-nums;
}
.fact__n small { font-size: .5em; font-weight: 400; margin-left: 2px; }
.fact p { margin: 8px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.6; }
.facts__src { margin: 16px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }


/* ── 멘토 이름 동그라미 ──────────────────────────────────────────────
   사진을 아직 못 받았습니다. 회색 사람 아이콘만 아홉 장이 깔리면 준비가
   덜 된 사이트로 보이므로, 성씨 한 글자를 큰 동그라미에 넣습니다. */

.mentor__initial {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-100), var(--green-200));
  color: var(--green-800); 
  font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em;
}
.mentor-view__photo .mentor__initial { aspect-ratio: 1 / 1; font-size: 4.6rem; }

/* ── 섹션 사이 물결 구분 ────────────────────────────────────────────── */

.sec--wavetop { position: relative; }
.sec--wavetop > .wave-top {
  position: absolute; left: 0; right: 0; top: -1px; width: 100%;
  height: clamp(36px, 4vw, 64px); transform: rotate(180deg);
}

/* ── 인용 띠 ─────────────────────────────────────────────────────── */

.pull {
  position: relative; padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 46px);
  background: linear-gradient(140deg, var(--green-50), #fff);
  border: 1px solid var(--green-200); border-radius: var(--radius);
}
.pull::before {
  content: "“"; position: absolute; left: 18px; top: -6px;
  font-family: var(--serif); font-size: 4rem; color: var(--green-200); line-height: 1;
}
.pull p { position: relative; z-index: 1; }


/* ══════════════════════════════════════════════════════════════════
   어두운 칸 — 화면 전체에 명암을 만듭니다
   ══════════════════════════════════════════════════════════════════
   흰 바탕만 이어지면 아무리 잘 짜도 밋밋합니다. 한 칸을 진한 초록으로
   덮어 두면 그 앞뒤가 같이 살아납니다. */

.stage {
  position: relative; overflow: hidden;
  background: var(--green-900); color: #C9DCD0;
  padding: clamp(56px, 7vw, 100px) 0;
}
.stage h2, .stage h3, .stage strong { color: #fff; }
.stage a { color: #fff; }
.stage::before {
  content: ""; position: absolute; right: -8%; top: -30%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76,163,106,.30), transparent 70%);
  pointer-events: none;
}
.stage__in { position: relative; z-index: 1; }

/* 큰 숫자 — 카드 없이 숫자 자체가 그림이 되게 */
.nums {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px); margin-top: clamp(30px, 4vw, 50px);
}
.num-item { border-top: 2px solid rgba(255,255,255,.22); padding-top: 22px; }
.num-item b {
  display: block; font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.05; color: #fff;
  letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
}
.num-item b small { font-size: .38em; font-weight: 400; margin-left: .12em; letter-spacing: 0; }
.num-item p { margin: 12px 0 0; font-size: .95rem; line-height: 1.7; color: #A9C6B5; }
@media (max-width: 720px) {
  .nums { grid-template-columns: 1fr; gap: 24px; }
  .num-item { padding-top: 16px; }
}

/* ══════════════════════════════════════════════════════════════════
   선으로 나눈 목록 — 카드 그리드 대신
   ══════════════════════════════════════════════════════════════════ */

.rows { border-top: 1px solid var(--line); }
.rows > li, .rows > div {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(14px, 3vw, 40px); align-items: start;
  padding: clamp(22px, 3vw, 34px) 4px;
  border-bottom: 1px solid var(--line);
}
.rows .no {
  font-size: 1.15rem; font-weight: 700;
  color: var(--green-500); padding-top: .2em; font-variant-numeric: tabular-nums;
}
.rows h3 { font-size: clamp(1.1rem, 1.9vw, 1.35rem); letter-spacing: -0.03em; }
.rows p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.rows .sub { margin-top: 8px; font-size: .92rem; }
.rows--hover > li:hover, .rows--hover > div:hover { background: var(--green-50); }

@media (max-width: 760px) {
  .rows > li, .rows > div { grid-template-columns: 44px 1fr; }
  .rows > li > :last-child, .rows > div > :last-child { grid-column: 2; }
}

/* ══════════════════════════════════════════════════════════════════
   선언 한 줄 — 카드도 배경도 없이 글자만
   ══════════════════════════════════════════════════════════════════ */

.declare { padding: clamp(50px, 8vw, 110px) 0; text-align: center; }
.declare p {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.55;
  letter-spacing: -0.035em; color: var(--green-900);
  max-width: 22em; margin: 0 auto;
}
.declare cite {
  display: block; margin-top: 26px; font-style: normal;
  font-size: .92rem; color: var(--muted); letter-spacing: .02em;
}
.declare .rule {
  width: 54px; height: 3px; background: var(--green-500);
  margin: 0 auto 30px; border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════════
   멘토 — 사진이 없으니 이름 타이포가 주인공
   ══════════════════════════════════════════════════════════════════ */

.people { border-top: 1px solid var(--line); }
.person {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 18px; align-items: center; padding: 20px 4px;
  border-bottom: 1px solid var(--line); color: var(--body);
}
.person:hover { background: var(--green-50); text-decoration: none; }
.person__face {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-100), var(--green-200));
  color: var(--green-800); font-size: 1.6rem; font-weight: 700;
  overflow: hidden;
}
.person__face img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 1.16rem; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.person__name span { margin-left: 10px; font-size: .9rem; color: var(--muted); font-weight: 400; }
.person__line { margin: 4px 0 0; font-size: .93rem; color: var(--muted); }
.person__go { color: var(--green-700); font-size: 1.3rem; }
@media (max-width: 620px) {
  .person { grid-template-columns: 52px 1fr; }
  .person__face { width: 52px; height: 52px; font-size: 1.3rem; }
  .person__go { display: none; }
}

/* ── 좌우 비대칭 두 칸 ───────────────────────────────────────────────
   왼쪽은 말, 오른쪽은 내용. 5:5 로 나누면 어느 쪽도 주인공이 못 됩니다. */

.split {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.split__lead { position: sticky; top: 100px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split__lead { position: static; }
}

/* 어두운 칸 안의 덧말 */
.stage__note {
  margin-top: clamp(30px, 4vw, 46px); padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 40px; align-items: end;
}
.stage__note p { margin: 0; max-width: 40em; color: #BCD4C5; line-height: 1.85; }
/* 진한 초록 바탕 위에서 4.5:1 을 넘기는 값입니다(5.3:1).
   회색을 쓰면 바탕과 섮여 안 읽힙니다 — 바탕 색상에서 뽑습니다. */
.stage__note .src { font-size: .84rem; color: #93B1A0; white-space: nowrap; }
@media (max-width: 760px) {
  .stage__note { grid-template-columns: 1fr; }
  .stage__note .src { white-space: normal; }
}

/* ══════════════════════════════════════════════════════════════════
   협회소개 속화면 공용
   ══════════════════════════════════════════════════════════════════ */

/* 칸 제목. 화면 제목(h1)은 띠에 있으니 여기는 한 단계 작습니다. */
.blk__title {
  font-size: clamp(1.14rem, 1.8vw, 1.34rem); font-weight: 800; color: var(--ink);
  letter-spacing: -0.035em; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--green-700);
}
.shotnote { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.muted-p { color: var(--muted); font-size: .96rem; }
.prose--sm { font-size: 1rem; line-height: 1.85; max-width: none; }

/* ── 약도와 지도 앱 단추 ────────────────────────────────────────
   지도 창(iframe)은 공개 화면 CSP 가 막습니다. 약도는 인라인 SVG 이고,
   실제 길찾기는 지도 앱으로 넘깁니다 — 그래서 단추가 커야 합니다. */

/* 칸 둘이 **SVG 두 장**입니다. 한 장에 나란히 넣으면 휴대폰에서 반씩 쪼개져
   글씨가 8px 이 됩니다. 따로 두면 좁은 화면에서 위아래로 쌓이고, 각 칸이 화면
   폭을 다 써서 글씨가 그만큼 커집니다. */
.sketch {
  margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 22px);
}
.sketch__cell { min-width: 0; }
.sketch__cap {
  margin: 0 0 8px; font-size: 1.02rem; font-weight: 700; color: var(--ink);
}
.sketch__map {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); background: #f1f4f0;
}
@media (max-width: 760px) { .sketch { grid-template-columns: 1fr; } }

.maplinks {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin: 22px 0 0;
}
.maplinks__btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 17px 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font-size: 1.02rem; font-weight: 600; text-align: center;
}
.maplinks__btn svg { flex: none; color: var(--green-700); }
.maplinks__btn:hover {
  border-color: var(--green-700); color: var(--green-700);
  background: var(--green-50); text-decoration: none;
}
@media (max-width: 620px) { .maplinks { grid-template-columns: 1fr; } }

/* 한국 기관 사이트의 그 표 — 왼쪽 머리칸에 연한 바탕, 위쪽에 굵은 줄. */
.infotable { width: 100%; border-collapse: collapse; border-top: 2px solid var(--green-700); }
.infotable th {
  width: 116px; text-align: left; vertical-align: top;
  background: var(--green-50); color: var(--green-800); font-weight: 700; font-size: .93rem;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.infotable td {
  padding: 15px 18px; border-bottom: 1px solid var(--line);
  font-size: .97rem; color: var(--body); word-break: break-all;
}
.infotable a { color: var(--green-700); }
@media (max-width: 440px) {
  .infotable th { width: 84px; padding: 13px 12px; font-size: .88rem; }
  .infotable td { padding: 13px 12px; font-size: .93rem; }
}

/* 오시는 길 — 표와 설명을 나란히. */
.visit {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px); align-items: start;
  padding-top: clamp(28px, 3.5vw, 44px);
}
.visit__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* 사진 두 장 나란히. */
.shots2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); }
.shots2 figure { margin: 0; }
/* 두 장을 나란히 두니 높이는 맞춰야 합니다. 다만 4:3 으로 자르면 세로 사진
   (책방 397x523)이 위아래로 44%나 잘려 나갑니다. 3:4 쪽이 두 장 모두 덜 잘립니다. */
.shots2 img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 38%;
  display: block; border-radius: 0; cursor: zoom-in;
}
.shots2 figcaption { margin-top: 11px; font-size: .89rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 720px) { .shots2 { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   연혁
   ══════════════════════════════════════════════════════════════════
   세로 선과 점이 없으면 그냥 목록으로 보입니다. 줄이 적을수록 더 그렇습니다. */

/* 연표는 한 단으로 폅니다 — 줄이 적을수록 2단이 더 허전해 보입니다. */
.timeline { max-width: 60em; }

/* 연표 아래 한 줄 — 창립 취지서가 어디 있는지, 기록은 어디 있는지. */
.histfoot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; margin-top: clamp(34px, 4vw, 52px);
  padding: clamp(20px, 2.6vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--green-50); border: 1px solid var(--line);
}
.histfoot p { margin: 0; max-width: 42em; color: var(--body); }
.histfoot a:not(.btn) { color: var(--green-700); font-weight: 600; }
@media (max-width: 900px) { .histwrap { grid-template-columns: 1fr; } }

.tl-list { position: relative; padding-left: 26px; border-left: 2px solid var(--green-200); }
.tl-item { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 13px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 17px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-700); box-shadow: 0 0 0 3px #fff;
}
.tl-item__what { color: var(--ink); font-size: 1.08rem; }
@media (max-width: 700px) {
  .tl-list { padding-left: 20px; }
  .tl-item::before { left: -26px; }
  .tl-item { grid-template-columns: 74px 1fr; gap: 10px; }
}

/* ══════════════════════════════════════════════════════════════════
   인사말 화면
   ══════════════════════════════════════════════════════════════════ */

/* 위아래 여백을 줄여 사진과 표제를 한 덩어리로 묶습니다. */
.sec--open { padding: clamp(30px, 4vw, 52px) 0 clamp(20px, 2.5vw, 30px); }
.sec--top0 { padding-top: 0; }

/* 가로로 꽉 찬 사진 한 장. 글로만 채운 화면은 허전해 보입니다. */
/*
 * 화면 머리 사진. **원본 비율을 그대로 둡니다.**
 * 예전에는 width:100% + height:clamp(...) + object-fit:cover 였는데, 576x433(1.33:1)
 * 짜리 건물 사진이 1180x358(3.29:1)로 잘리고 2.05배 늘어났습니다 — 지붕과 땅이
 * 날아가고 화질도 뭉개졌습니다.
 *
 * max-height 로 잡아도 안 됩니다. 브라우저가 폭을 다시 계산하지 않아서 2.57:1 로
 * 여전히 찌그러집니다(직접 재 봤습니다). 그래서 **자연 크기**로 두고 위아래
 * 한계만 겁니다 — 넘치는 사진만 비율을 지키며 줄어듭니다.
 *
 * 원본이 작으면 작게 나옵니다. 늘려서 흐려지느니 그쪽이 낫습니다.
 */
.pageshot {
  margin: 0; border-radius: 0;
}
.pageshot img {
  display: block; margin-inline: auto;
  width: auto; height: auto;
  max-width: min(100%, 900px);
  max-height: clamp(300px, 40vw, 520px);
}

/* 큰 따옴표 표제 — 인사말의 한 문장을 크게 세웁니다. */
.leadquote {
  position: relative; margin: clamp(30px, 4vw, 48px) auto 0; max-width: 30em;
  padding-left: clamp(30px, 4vw, 46px);
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.55;
  letter-spacing: -0.03em; color: var(--green-900); text-wrap: balance;
}
.leadquote::before {
  content: "\201C"; position: absolute; left: 0; top: -.22em;
  font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1;
  color: var(--green-200);
}

/* 본문을 한 단으로 폅니다. 오른쪽에 칸을 두면 본문보다 짧아 아래가 빕니다. */
.prose--wide { max-width: 44em; margin-inline: auto; }

/* 서명 자리의 명패. 참고 사이트도 인사말 «끝»에 둡니다 — 옆이 아닙니다. */
.signplate {
  display: flex; align-items: center; gap: 14px; width: fit-content;
  margin: clamp(34px, 4vw, 48px) 0 0 auto;
  background: var(--green-800); color: #fff;
  padding: 18px 26px 18px 20px;
}
.signplate__mark {
  flex: none; width: 56px; height: 56px; object-fit: contain;
  background: #fff; padding: 4px; border-radius: 4px;
}
.signplate span { display: block; font-size: .86rem; color: #A9C1B0; }
.signplate strong { display: block; font-size: 1.22rem; letter-spacing: -0.035em; margin-top: 2px; }
.signplate em { display: block; font-style: normal; font-size: .96rem; color: #C7D8CC; margin-top: 5px; }

/* 창립 취지서 — 옆칸에서는 엄지손톱만 했습니다. 아래에서 크게 보입니다. */
.founding {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 52px); align-items: center;
}
.founding__doc { margin: 0; cursor: zoom-in; background: #fff; border: 1px solid var(--line); }
.founding__doc img {
  width: 100%; display: block;
  transition: opacity 150ms var(--ease-out);
}
.founding__doc:hover img { opacity: .92; }
.founding__say p { margin: 0 0 14px; color: var(--body); line-height: 1.85; }
.founding__cafe { color: var(--muted) !important; }
.founding__say .btn { margin-top: 4px; }

@media (max-width: 860px) {
  .founding { grid-template-columns: 1fr; }
  .founding__doc { order: 2; }
  .signplate { width: auto; margin-inline: 0; }
}

/* 옆 칸 안의 카드는 글씨를 조금 줄입니다. */

/* ══════════════════════════════════════════════════════════════════
   속화면 제목 띠의 사진 배경
   ══════════════════════════════════════════════════════════════════
   참고한 기관 사이트(신협사회공헌재단)는 속화면 제목 띠가 전부 사진입니다.
   단색 띠에 글자만 있으면 첫 화면과 속화면이 딴 사이트처럼 보입니다.
   사진 위에는 초록을 덮어 글자가 늘 읽히게 합니다 — 사진이 밝든 어둡든. */

.pagehead--photo { isolation: isolate; }
.pagehead__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  /* 세로 위치는 PHP 가 화면마다 인라인으로 넣습니다. 가로는 건드리지 마세요 —
     글자가 설 그늘이 사진 왼쪽에 **구워져** 있습니다. */
}

/* 덮개를 CSS 그라디언트로 씌우지 않습니다.
   cover 는 화면 폭마다 사진을 다르게 잘라 내는데 그라디언트는 늘 같은 자리라,
   어떤 폭에서는 글자가 한낮의 벽 위에 서고 어떤 폭에서는 사진이 초록 얼룩이
   됩니다. 그늘을 사진 안에 구워 두면 둘이 같이 움직입니다.
   그리고 참고 사이트는 사진 전체를 누르지 않습니다 — 한낮 그대로 두고
   글자를 사진 안의 원래 어두운 자리에 앉힙니다. */

/* 글이 한 줄 늘어 띠가 길어져도 아래가 들뜨지 않게 사진 아래 색을 이어 붙입니다.
   세로 한 방향이라 사선이 생기지 않습니다. */
.pagehead--photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 32%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,20,15,0) 0%, rgba(10,20,15,.38) 100%);
}

/* 큰 글자에만 그늘을 줍니다. 작은 글씨에 먹이면 뭉갭니다. */
.pagehead--photo .pagehead__group { text-shadow: 0 2px 16px rgba(8,26,15,.45); }


/* ══════════════════════════════════════════════════════════════════
   형제 메뉴 줄 (LNB)
   ══════════════════════════════════════════════════════════════════
   같은 묶음의 화면을 가로로 늘어놓습니다. 한국 기관 사이트라면 살림처럼
   왼쪽 세로로 두거나 신협재단처럼 제목 띠 아래 가로로 둡니다. 둘 중
   가로를 골랐습니다 — 본문 폭을 그대로 쓰고 휴대폰에서도 같은 꼴입니다. */

/* 참고한 두 기관 사이트의 형제 메뉴는 둘 다 «칸이 있는 덩어리» 입니다 —
   신협은 사진 띠 아래 색 상자 여섯 칸, 살림은 왼쪽 세로 목록에 테두리.
   칸 없는 맨 글자 줄은 문서 사이트의 꼴이고, 어르신이 쓰는 화면에서는
   누를 수 있는 면적이 눈에 보여야 합니다. */
.lnb { background: var(--green-50); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.lnb__in { display: flex; overflow-x: auto; scrollbar-width: none; }
.lnb__in::-webkit-scrollbar { display: none; }
.lnb a {
  flex: 1 0 auto; text-align: center; padding: 14px 20px;
  font-size: .95rem; color: var(--body); letter-spacing: -0.02em; white-space: nowrap;
  border-left: 1px solid var(--line);
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out);
}
.lnb a:last-child { border-right: 1px solid var(--line); }
.lnb a:hover { background: #fff; color: var(--green-800); text-decoration: none; }
.lnb a.on { background: var(--green-800); color: #fff; font-weight: 700; }
.lnb a.on:hover { background: var(--green-800); color: #fff; }

@media (max-width: 720px) {
  .lnb a { flex: 0 0 auto; padding: 13px 16px; font-size: .9rem; }
  /* 오른쪽에 더 있다는 것을 흐려지는 끝으로 알립니다. */
  .lnb { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
         mask-image: linear-gradient(90deg, #000 90%, transparent 100%); }
  .crumb { justify-content: flex-start; font-size: .84rem; }
}

/* ══════════════════════════════════════════════════════════════════
   첫 화면 머리 — 네이버 카페 대문 배너와 같은 배치
   ══════════════════════════════════════════════════════════════════
   크림 바탕에 왼쪽은 로고와 기관 이름, 오른쪽은 건물 전경이 화면 끝까지.
   사진 왼쪽 가장자리는 마스크로 지워 바탕에 스며들게 합니다 — 배너가
   그렇게 되어 있습니다. 사진을 네모 상자에 담으면 그 느낌이 안 납니다. */

.hero--banner {
  background:
    radial-gradient(900px 460px at 14% 6%, rgba(203, 228, 210, .42), transparent 62%),
    linear-gradient(178deg, #FEFDF9 0%, #FDFCF5 44%, #F4F7EA 100%);
  /* 바로가기 여섯 칸이 여기 겹쳐 올라앉아 있었습니다. 그 칸을 뺐으니
     아래 여백도 같이 줄입니다 — 안 그러면 히어로 밑이 통째로 빕니다. */
  padding: clamp(40px, 5.6vw, 76px) 0 clamp(52px, 6vw, 86px);
}
.hero__in--banner { display: block; max-width: none; }
.hero--banner .wrap { position: relative; z-index: 2; }

/* 왼쪽 글이 사진 위로 올라타지 않게 폭을 잠급니다. */
.hero__in--banner > * { max-width: min(50%, 560px); }

.hero__campus {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 1;
  width: min(54%, 780px); margin: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.42) 22%, #000 52%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.42) 22%, #000 52%);
}

/* 왼쪽에서 오는 크림 덮개. 사진이 아무리 밝아도 글자가 읽히게 하는 보루입니다.
   마스크만으로는 화면 폭에 따라 겹치는 정도가 달라집니다. */
.hero--banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(94deg,
    #FEFDF9 0%, rgba(254,253,249,.97) 30%, rgba(253,252,245,.72) 44%,
    rgba(252,251,243,.24) 56%, transparent 66%);
}
.hero__campus img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; display: block;
}
/* 사진이 무엇인지 글로도 말해 둡니다. 사진 오른쪽 아래 구석에 작게. */
.hero__campus figcaption {
  position: absolute; right: clamp(14px, 2vw, 26px); bottom: clamp(12px, 1.8vw, 20px);
  font-size: .82rem; font-weight: 600; color: #fff; letter-spacing: -0.01em;
  padding: 5px 11px; border-radius: 0;
  background: rgba(10, 26, 16, .55); backdrop-filter: blur(2px);
}

/* 슬로건 — 배너처럼 가는 선을 두고 자간을 넓힙니다. */
.hero__slogan {
  display: table; margin: clamp(14px, 1.8vw, 20px) 0 0;
  padding: clamp(12px, 1.5vw, 16px) 1.2em 0 0;
  border-top: 1px solid rgba(46, 125, 79, .38);
  font-size: clamp(.98rem, 1.45vw, 1.2rem); font-weight: 600;
  letter-spacing: .26em; color: var(--green-800);
}

.hero--banner .hero__lead { margin-top: clamp(16px, 2vw, 22px); text-wrap: pretty; }
.hero--banner .hero__acts { margin-top: clamp(20px, 2.6vw, 30px); }
.hero--banner .hero__leaf { opacity: .42; }

/* 휴대폰 — 사진을 글 아래로 내립니다. 옆에 두면 둘 다 좁아집니다.
   그리고 머리 전체를 줄입니다. 여기서 836px 을 쓰면 첫 화면에 공지가
   한 줄도 안 남습니다 — 방문자가 가장 먼저 찾는 것이 그것입니다. */
@media (max-width: 880px) {
  .hero--banner {
    padding-top: clamp(24px, 4.5vw, 40px);
    padding-bottom: clamp(34px, 5vw, 48px);
  }
  .hero__in--banner > * { max-width: none; }
  /* 1.9rem 부터 시작합니다. 2.2rem 하한이면 좁은 화면에서 두 줄이 꽉 찹니다. */
  .hero--banner .hero__title { font-size: clamp(1.82rem, 5vw, 2.3rem); }
  .hero__slogan {
    margin-top: 12px; padding-top: 10px;
    font-size: .92rem;
  }
  .hero--banner .hero__lead { margin-top: 12px; font-size: .97rem; line-height: 1.7; }
  .hero--banner .hero__acts { margin-top: 18px; gap: 8px; }
  .hero--banner .hero__acts .btn { min-height: 48px; padding: 11px 20px; font-size: .97rem; }
  .hero__campus {
    position: static; margin: clamp(18px, 3vw, 26px) auto 0;
    width: min(100% - 32px, var(--wrap));
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__campus img {
    height: clamp(180px, 40vw, 264px); border-radius: var(--radius);
    object-position: 56% 42%; border: 1px solid var(--line);
  }
  .hero__campus figcaption {
    position: static; margin-top: 10px; padding: 0; background: none;
    color: var(--muted); font-weight: 400; font-size: .86rem;
  }
  .brand__text { flex-direction: column; align-items: flex-start; gap: 1px; }
  .brand__dot { display: none; }
  .hero__slogan { letter-spacing: .12em; }
  .hero--banner::after { display: none; }
  /* 좁은 화면에서는 한 줄에 하나씩 꽉 차게. 폭이 들쭉날쭉하면 손으로 짚기
     어렵습니다. 420px 부터는 둘이 나란히 들어가므로 가로로 둡니다 —
     세로로 쌓으면 첫 화면이 버튼 두 장으로 채워집니다. */
  .hero--banner .hero__acts .btn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 420px) and (max-width: 880px) {
  .hero--banner .hero__acts { flex-wrap: nowrap; }
  .hero--banner .hero__acts .btn { flex: 0 1 auto; white-space: nowrap; }
}

/* ── 공지 두 칸 ─────────────────────────────────────────────────── */

.board-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); }
@media (max-width: 860px) { .board-duo { grid-template-columns: 1fr; } }

/* ── 사진이 큰 소개 칸 ──────────────────────────────────────────── */

.feature {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px); align-items: center;
}
.feature__shot { margin: 0; border-radius: 0; overflow: hidden; }
.feature__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__shot { order: -1; }
}

/* 한 줄 사실표 — 대상·인원·과정·수료를 한눈에 */
.factbar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin: 22px 0 0; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.factbar > div { background: #fff; padding: 12px 16px; }
.factbar dt { font-size: .86rem; color: var(--muted); margin-bottom: 2px; }
.factbar dd { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
@media (max-width: 480px) { .factbar { grid-template-columns: 1fr; } }

/* 멘토가 운영하는 곳(유튜브·블로그 …). 사진 아래 세로로 쌓입니다. */
.mlinks { margin: 10px 0 0; display: grid; gap: 7px; }
.mlinks a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 13px; border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink); background: #fff;
}
.mlinks a:hover { border-color: var(--green-700); color: var(--green-700); text-decoration: none; }
.mlinks svg { flex: none; color: var(--green-700); }

/* ── 얼굴 격자 ──────────────────────────────────────────────────── */

/* 아홉을 한 줄에 넣으면 칸이 120px 입니다. 직함(「행복한은퇴자협회 이사장」)이
   들어갈 폭이 아니고, «가+» 로 글자를 키우면 어떻게 해도 깨집니다.
   다섯 칸 두 줄로 놓고 남는 넷은 가운데로 모읍니다 — 칸이 두 배가 되면서
   얼굴도 커집니다. 이 사이트 보는 분들에게는 그편이 낫습니다. */
.faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; }
.face { flex: 0 0 calc((100% - 4 * 22px) / 5); text-align: center; color: var(--body); }
.face:hover { text-decoration: none; }
.face img, .face__initial {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover;
  object-position: center 22%; background: var(--green-100);
  /* 원형은 남깁니다 — 각지게 하면 아래 멘토 카드 격자와 역할이 겹칩니다.
     다만 흰 테두리는 연녹 바탕에서 안 보이고 실제 경계는 그림자였으므로,
     그림자를 빼는 대신 보이는 선으로 바꿉니다. */
  border: 1px solid var(--line);
  transition: border-color 160ms var(--ease-out);
}
.face__initial {
  display: grid; place-items: center; color: var(--green-800);
  font-size: 1.5rem; font-weight: 700;
}
.face:hover img, .face:hover .face__initial { border-color: var(--green-700); }
.face b { display: block; margin-top: 12px; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.02em; }
.face span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; margin-top: 3px; }

@media (max-width: 840px) { .face { flex-basis: calc((100% - 3 * 22px) / 4); } }
@media (max-width: 620px) {
  .faces { gap: 22px 18px; }
  .face { flex-basis: calc((100% - 2 * 18px) / 3); }
  /* «가» 를 키우면 세 칸에 「행복한은퇴자협회」가 안 들어가 또 쪼개집니다.
     그때만 두 칸으로. 기본 크기에서는 세 칸이 넉넉합니다. */
  html[data-fs="l"] .face,
  html[data-fs="xl"] .face { flex-basis: calc((100% - 18px) / 2); }
}

/* ── 어두운 칸의 얇은 판 ────────────────────────────────────────── */

.stage--slim { padding: clamp(36px, 5vw, 56px) 0; }
.stage__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 44px); align-items: center;
}
.stage__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.stage__acts .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.stage__acts .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 820px) { .stage__row { grid-template-columns: 1fr; } }

/* ── 사진 크게 보기 ─────────────────────────────────────────────── */

.zoom {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(14, 30, 20, .88); padding: 24px;
}
.zoom img { max-width: min(96vw, 1200px); max-height: 88vh; }
.zoom__x {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff;
  font-size: 1.2rem; cursor: pointer;
}
.zoom__x:hover { background: rgba(255,255,255,.26); }
[data-zoom] { cursor: zoom-in; }

/* ── 한 번의 움직임 ────────────────────────────────────────────────
   여기저기서 떠오르고 미끄러지면 산만합니다. 첫 화면이 한 번 올라오는 것,
   그거 하나만 둡니다. 이미 보이는 상태에서 시작하므로 자바스크립트가
   막혀도 화면은 그대로입니다. 움직임을 꺼 둔 분에게는 아무 일도 없습니다. */

@media (prefers-reduced-motion: no-preference) {
  .hero__in > div:first-child > * { animation: rise 620ms var(--ease-out) backwards; }
  .hero__in > div:first-child > *:nth-child(2) { animation-delay: 60ms; }
  .hero__in > div:first-child > *:nth-child(3) { animation-delay: 120ms; }
  .hero__shot { animation: rise 720ms var(--ease-out) 80ms backwards; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ── 인쇄 ───────────────────────────────────────────────────────── */

@media print {
  .topbar, .site-head, .site-foot, .pager, .search { display: none; }
  body { font-size: 12pt; }
}

/* 404 — 갈 곳을 크게 */
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.notfound__links .btn { margin-top: 0; }
