@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --tan: #bc946f;
  --blue: #97c0e4;
  --lblue: #b6d6ee;
  --coral: #e07a5f;
  --navy: #1d3461;
  --pink-bg: #f9eee8;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Pretendard", sans-serif;
  color: #222;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  background: var(--blue);
  color: var(--navy);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  padding: 1rem 3.4rem;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 1.5rem;
}
.hero-btn:hover {
  background: #96caec;
  color: #fff;
}
.intro .intro-btn {
  background: var(--po);
  color: #fff;
  display: block;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  transition: 0.3s;
}
@media (max-width: 640px) {
  .intro .intro-btn {
    width: 100%;
  }
  .hero-btn {
    padding: 0.5rem 2rem;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1.5rem;
  }
}
.intro-btn:hover {
  background: var(--spo);
  color: var(--po);
}

/* ── INTRO ───────────────────────── */
.intro {
  background: transparent;
  padding: 0;
  text-align: center;
}
.section-inner {
  margin: 0 auto 30px;
}
.intro h2 {
  font-size: clamp(2.5rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--po);
  line-height: 1.25;
  margin-bottom: 2rem;
}
.intro p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--ink);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.intro h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--po);
  line-height: 1.3;
  margin-bottom: 1.2rem;
}
/* broken.jpg: PC 최대 700px(가운데 정렬), 모바일 100% */
.intro .intro-img {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 1.5rem auto 0;
  border-radius: 0.6rem;
}
@media (max-width: 640px) {
  .intro .intro-img {
    max-width: 100%;
  }
}

/* ── PEOPLE ──────────────────────── */
.people {
  background: transparent;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 8vw, 6rem);
  border-top: 1px solid var(--po);
}
.people-inner {
  max-width: 960px;
  margin: 0 auto;
}
.people h2 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2.5rem;
  text-align: center;
}
.people-group {
  margin-bottom: 3rem;
}
.people-group:last-child {
  margin-bottom: 0;
}
/* 운영위원장 · 사무처장을 한 줄에 나란히 (상단 그리드와 동일한 간격) */
.people-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 1.5rem;
  justify-items: center;
}
@media (max-width: 640px) {
  .people-row {
    gap: 2rem 1rem;
  }
}
.people-row .people-group {
  margin-bottom: 0;
}
/* 한 줄에 나란히 둘 때는 각 그룹이 인물 하나 너비만 차지하도록 */
.people-row .people-grid {
  grid-template-columns: auto;
}
.people-role {
  font-size: clamp(1.4rem, 3.5vw, 1.6rem);
  font-weight: 900;
  color: var(--po);
  margin-bottom: 1.6rem;
  text-align: center;
}

/* PC: 4개 / 모바일: 2개 */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem 1.5rem;
  justify-items: center;
}
@media (max-width: 640px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
}

.person {
  text-align: center;
  max-width: 200px;
}
.person-photo {
  width: clamp(96px, 22vw, 150px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  overflow: hidden;
  position: relative;
  background: #e5edf5 center/62% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='40' r='19' fill='%23b6c4d6'/%3E%3Cpath d='M22 90a28 25 0 0 1 56 0z' fill='%23b6c4d6'/%3E%3C/svg%3E");
  box-shadow: 0 4px 14px rgba(29, 52, 97, 0.12);
}
/* 실제 사진 파일이 있으면 원형에 꽉 채워 표시 */
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person-name {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.person-title {
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  color: #555;
  font-weight: 500;
  line-height: 1.45;
}

/* ── DECLARATION ─────────────────── */
.declaration {
  background: transparent;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 8vw, 6rem);
  border-top: 1px solid var(--po);
}
.decl-inner {
  max-width: 896px;
  margin: 0 auto;
}
.declaration h2 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.6rem;
  text-align: center;
}
.declaration .decl-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--coral);
  text-align: center;
  margin-bottom: 1.6rem;
}
.decl-header {
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}
.decl-intro {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

/* 각 단락 옆 이미지 (PC: 왼쪽 이미지 + 오른쪽 텍스트) */
.decl-block {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.decl-block img {
  width: 100%;
  aspect-ratio: 1 / 0.7;
  object-fit: cover;
  border-radius: 0.5rem;
  background: var(--pink-bg);
}
.decl-block p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--ink);
  line-height: 1.95;
}
.decl-lead {
  display: block;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-size: 1.2em;
  font-weight: 800;
}

.declaration .decl-pledge {
  margin: 2.5rem 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue);
}
.declaration .decl-pledge p {
  font-size: clamp(0.92rem, 2vw, 1.1rem);
  color: var(--ink);
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.declaration .decl-sign {
  margin-top: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--po);
  line-height: 1.8;
  font-size: 1.5em;
}

/* 모바일: 개별 이미지 숨기고 상단 대표 이미지 하나 */
.decl-mobile-hero {
  display: none;
}
@media (max-width: 640px) {
  .decl-block {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .decl-block img {
    display: none;
  }
  .decl-mobile-hero {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
    border-radius: 0.5rem;
    background: var(--pink-bg);
    margin-bottom: 2rem;
  }
}

/* ── REVEAL ANIMATIONS ───────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
