/* ============================================
   YouthVoice — 유스-잇 리디자인
   무드: 한끗루틴 랜딩(라임·둥근 배지·큰 타이포)
   베이스는 화이트로 가볍게, 포인트만 컬러로
   ============================================ */
:root {
  --ink: #17210e;
  --gray-600: #5f6659;
  --gray-300: #dcdfd6;
  --gray-100: #f5f7f1;
  --lime: #8dc63f;
  --lime-soft: #eef7dd;
  --lime-dark: #2f4a12;
  --pink: #f0326e;
  --pink-soft: #fdeaf1;
  --blue: #3d3dc8;
  --blue-soft: #eaeafb;
  --radius: 20px;
  --container: 1140px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: inline; }

/* ===== Pills & Buttons ===== */
.pill {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--ink);
  margin-bottom: 24px;
}
.pill--lime { background: var(--lime-soft); color: var(--lime-dark); }

.pill__type {
  display: inline-block;
  vertical-align: -1px;
  clip-path: inset(0 100% 0 0);
  animation: pill-type-reveal 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
@keyframes pill-type-reveal {
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pill__type { clip-path: none; animation: none; }
}
.pill__planet {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff9e0, #ffb300 85%);
  box-shadow: 0 0 6px 1px rgba(255, 152, 0, 0.65);
  vertical-align: -1px;
  animation: pill-planet-slide 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
.pill__planet::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6cc 0%, rgba(255, 179, 0, 0.7) 45%, rgba(255, 179, 0, 0) 72%);
  opacity: 0;
  animation: pill-planet-flash 0.7s ease-out 2s forwards;
}
@keyframes pill-planet-slide {
  from { transform: translateX(0); }
  to { transform: translateX(232px); }
}
@keyframes pill-planet-flash {
  0% { opacity: 0; transform: scale(0.3); }
  35% { opacity: 1; transform: scale(1.9); }
  100% { opacity: 0; transform: scale(2.6); }
}
@media (prefers-reduced-motion: reduce) {
  .pill__planet { animation: none; }
  .pill__planet::after { animation: none; opacity: 0; }
}
.pill--pink { background: var(--pink-soft); color: var(--pink); }
.pill--blue { background: var(--blue-soft); color: var(--blue); }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark {
  background: var(--lime-dark);
  color: #fff;
}
.btn--dark:hover { box-shadow: 0 10px 24px rgba(47, 74, 18, 0.28); }
.btn--primary {
  background: var(--pink);
  color: #fff;
}
.btn--primary:hover { box-shadow: 0 8px 20px rgba(240, 50, 110, 0.3); }
.btn--ghost {
  border: 1.5px solid var(--gray-300);
  color: var(--ink);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light {
  background: #fff;
  color: var(--lime-dark);
}
.btn--light:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ===== Skip link (접근성: 키보드 사용자가 헤더 반복 없이 본문으로 이동) ===== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img { height: 34px; width: auto; }
.header__nav {
  display: flex;
  gap: 36px;
  font-weight: 600;
  font-size: 15.5px;
}
.header__nav a { padding: 8px 0; position: relative; }
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 2px;
  background: var(--lime);
  transition: right 0.25s;
}
.header__nav a:hover::after { right: 0; }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* 헤더 드롭다운 (단체소개 > 소개 / 사업보고) */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(23, 33, 14, 0.12);
  padding: 8px;
}
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu { display: block; }
.nav-drop__menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  white-space: nowrap;
}
.nav-drop__menu a::after { display: none; }
.nav-drop__menu a:hover { background: var(--gray-100); }
.nav-drop__soon {
  display: block;
  padding: 10px 16px;
  font-size: 14.5px;
  white-space: nowrap;
  color: var(--gray-300);
  cursor: default;
}
.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.header__menu-btn span { width: 22px; height: 2px; background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background: #fff;
  overflow: hidden;
}
.hero__twinkle-field { opacity: 0.85; }
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  margin: 0 auto;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 58%, rgba(141, 198, 63, 0.5) 58%);
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.float-1 { animation: floaty 5.2s ease-in-out infinite; }
.float-2 { animation: floaty 6.1s ease-in-out 0.6s infinite; }
.float-3 { animation: floaty 5.6s ease-in-out 1.1s infinite; }
.float-4 { animation: floaty 6.6s ease-in-out 0.3s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Stats ===== */
.stats {
  padding: 64px 0;
}
.stats__title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--gray-600);
  margin-bottom: 28px;
}
.stats__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.stats__col {
  border-radius: var(--radius);
  padding: 36px 32px;
}
.stats__col--lime { background: var(--lime-soft); }
.stats__col--pink { background: var(--pink-soft); }
.stats__col-title {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--lime-dark);
  margin-bottom: 20px;
}
.stats__col--pink .stats__col-title { color: var(--pink); }
.stats__col--pink .stat strong { color: var(--pink); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__emoji {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}
.stat strong {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lime-dark);
}
.stat span {
  font-size: 14.5px;
  color: var(--gray-600);
}
.stats__quote {
  position: relative;
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
}

/* ===== 파트너 로고 ===== */
.partners-strip__logos {
  margin: 56px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px 28px;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 12px;
  transition: transform 0.2s;
}
.partner-logo:hover { transform: translateY(-2px); }
.partner-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo--sm img { max-height: 28px; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section--gray { background: var(--gray-100); }
.section__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
#youthit .section__title em {
  font-style: normal;
  background-image: linear-gradient(transparent 58%, rgba(141, 198, 63, 0.5) 58%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.6s ease 0.5s;
}
#youthit .section__head.is-visible .section__title em {
  background-size: 100% 100%;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section__sub {
  font-size: 17px;
  color: var(--gray-600);
  padding-bottom: 6px;
}
.link-more {
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-600);
  transition: color 0.2s;
  white-space: nowrap;
  padding-bottom: 6px;
}
.link-more:hover { color: var(--blue); }
.insta-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.insta-item {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.insta-item:hover img { transform: scale(1.06); }
.insta-follow {
  display: block;
  text-align: center;
  margin-top: 28px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-600);
  transition: color 0.2s;
}
.insta-follow:hover { color: var(--pink); }
@media (max-width: 900px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== 유스-잇 프로그램 카드 ===== */
.programs {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.program:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(23, 33, 14, 0.12);
}
.program--lime { background: var(--lime-soft); }
.program--pink { background: var(--pink-soft); }
.program--blue { background: var(--blue-soft); }
.program__img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.program__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.program:hover .program__img img { transform: scale(1.05); }
.program__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 32px;
}
.program__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.program__tags span {
  font-size: 12.5px;
  font-weight: 700;
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
}
.program h3 {
  margin-top: 14px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.program p {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--gray-600);
  flex: 1;
}
.program__link {
  margin-top: 24px;
  font-weight: 800;
  font-size: 15px;
}
.program--lime .program__link { color: var(--lime-dark); }
.program--pink .program__link { color: var(--pink); }
.program--blue .program__link { color: var(--blue); }
.program__link--soon { color: var(--gray-600) !important; }

/* ===== 파트너십 카드 ===== */
.cases__cta {
  margin-top: 40px;
  text-align: center;
}
.cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  gap: 20px;
}
.cards--2 .card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--gray-100);
}
.cards--2 .card__img {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: calc(var(--radius) - 8px);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.cards--2 .card__img img { width: 100%; height: 100%; object-fit: cover; }
.cards--2 .card__body { min-width: 0; }
.cards--2 .card h3 { font-size: 17px; }
.cards--2 .card p { font-size: 14px; }
.card { display: block; }
.card__img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
  margin-bottom: 20px;
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__img img { transform: scale(1.04); }
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  background: var(--pink-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag--blue { color: var(--blue); background: var(--blue-soft); }
.tag--lime { color: var(--lime-dark); background: var(--lime-soft); }
.card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.card__tags .tag { margin-bottom: 0; }
.card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--gray-600);
}

/* ===== 파트너십: 협력 모델 ===== */
.sub-title {
  margin-top: 88px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.process {
  position: relative;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}
.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-300);
}
.process__step:first-child { padding-top: 0; }
.process__step:last-child { border-bottom: none; padding-bottom: 0; }
.process__marker {
  position: relative;
  flex: none;
}
.process__marker::after {
  content: "";
  position: absolute;
  top: 51px;
  left: 50%;
  width: 0;
  height: 40px;
  border-left: 2px dashed var(--gray-300);
  transform: translateX(-50%);
}
.process__step:last-child .process__marker::after { display: none; }
.process__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--gray-100);
}
.process__num::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1.5px solid var(--ring-color, var(--blue));
  border-radius: 50%;
  opacity: 0.45;
  transform: rotate(-18deg) scaleY(0.5);
}
.process__step:nth-child(1) .process__num { background: radial-gradient(circle at 34% 30%, #fff, var(--lime-dark)); --ring-color: var(--lime-dark); }
.process__step:nth-child(2) .process__num { background: radial-gradient(circle at 34% 30%, #fff, var(--pink)); --ring-color: var(--pink); }
.process__step:nth-child(3) .process__num { background: radial-gradient(circle at 34% 30%, #fff, var(--blue)); --ring-color: var(--blue); }
.process__step:nth-child(4) .process__num { background: radial-gradient(circle at 34% 30%, #fff, var(--lime-dark)); --ring-color: var(--lime-dark); }
.process__body { flex: 1; min-width: 0; }
.process__body h4 {
  font-size: 21px;
  font-weight: 800;
}
.process__body p {
  margin-top: 10px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-600);
}
.process__includes {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.process__includes li {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 6px 14px;
}
.process__photos {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  max-width: 420px;
}
.process__photos img {
  width: 50%;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

/* ===== 파트너십 CTA ===== */
.partner-cta {
  margin-top: 64px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-cta h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.partner-cta p {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.partner-cta__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.partner-cta__contact {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 24px;
}
.partner-cta__contact-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}
.partner-cta__email {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.partner-cta__email:hover { color: var(--lime-soft); }
/* ===== 함께하는 어른 ===== */
.joins {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.join {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.join:hover {
  border-color: var(--lime);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(23, 33, 14, 0.08);
}
.join__emoji { font-size: 36px; line-height: 1; display: block; }
.join h3 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
}
.join p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray-600);
}
.join__link {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 800;
  font-size: 15px;
  color: var(--lime-dark);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}

/* ===== Voices marquee ===== */
.voices { padding-bottom: 0; }
.marquee {
  margin-top: 56px;
  padding-bottom: 40px;
  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);
}
.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.voices__more {
  text-align: center;
  padding-bottom: 110px;
}
.voices__more-link {
  font-size: 15px;
  font-weight: 800;
  color: var(--lime-dark);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}
.quote {
  width: 340px;
  flex-shrink: 0;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.quote blockquote {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.015em;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  color: var(--gray-600);
}


/* ===== Donate ===== */
.donate {
  background: var(--lime-dark);
  padding: 110px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.donate__inner {
  position: relative;
  z-index: 1;
}
.donate__emoji {
  font-size: 44px;
  display: block;
  margin-bottom: 20px;
}

/* ===== 별 반짝임 (로고의 별 모티프) ===== */
.twinkle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.twinkle {
  position: absolute;
  font-size: var(--tw-size, 14px);
  color: var(--tw-color, #fff);
  opacity: 0;
  text-shadow: 0 0 10px currentColor;
  animation: twinkle var(--tw-dur, 3.4s) ease-in-out var(--tw-delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .twinkle { animation: none; opacity: 0.55; }
}
.donate h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

/* ===== Newsletter ===== */
.newsletter { padding: 72px 0; }
.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter__eyebrow {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}
.newsletter__text { flex: 0 1 380px; }
.newsletter__text .section__title {
  margin-top: 10px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--blue);
}
.newsletter__form { flex: 1 1 460px; }

/* 스티비 구독 폼 — 한 줄 인라인 배치로 재구성 (구조·JS 연동 클래스는 그대로 둠) */
#stb_subscribe {
  border: none !important;
  padding: 0 !important;
}
#stb_subscribe_form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
}
#stb_subscribe .stb_form_title,
#stb_subscribe .stb_form_description { display: none; }
#stb_subscribe .stb_form_set { order: 1; flex: 1 1 200px; margin: 0; }
#stb_subscribe .stb_form_set:first-of-type { flex: 2 1 220px; }
#stb_subscribe .stb_form_set_label {
  margin-bottom: 4px;
  font-size: 13px;
}
#stb_subscribe .stb_form_set_submit { order: 2; flex: 0 0 auto; margin: 0; }
#stb_subscribe .stb_form_submit_button { white-space: nowrap; padding: 10px 22px !important; }
#stb_subscribe .stb_form_policy { order: 3; flex: 1 0 100%; margin-top: 0; font-size: 12.5px !important; }
#stb_subscribe .stb_form_result { order: 4; flex: 1 0 100%; }
.newsletter__form input[type="email"],
.newsletter__form input[type="text"] {
  font: inherit;
  padding: 15px 18px;
  border: 1.5px solid var(--gray-300);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter__form input:focus { border-color: var(--lime); }
.checkbox a { text-decoration: underline; text-underline-offset: 2px; }
.checkbox a:hover { color: var(--lime-dark); }
.checkbox {
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox input { accent-color: var(--lime-dark); width: 16px; height: 16px; }
.newsletter__form .btn { margin-top: 8px; border: none; cursor: pointer; align-self: flex-start; }
.newsletter__form-desc { font-size: 14.5px; color: var(--gray-600); }

/* 스티비 구독 폼을 사이트 톤에 맞게 다듬기 (구조·JS 연동 클래스는 그대로 둠) */
#stb_subscribe .stb_form_title {
  font-family: inherit;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
#stb_subscribe .stb_form_description {
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-600);
}
#stb_subscribe .stb_form_set_label {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
#stb_subscribe .stb_form_set_input {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 12px;
}
#stb_subscribe .stb_form_set_input:focus { border-color: var(--lime); outline: none; }
#stb_subscribe .stb_form_policy,
#stb_subscribe .stb_form_policy label {
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-600);
}
#stb_subscribe .stb_form_modal_open_btn {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#stb_subscribe .stb_form_submit_button {
  font-family: inherit;
  border-radius: 999px !important;
  font-weight: 700 !important;
  background-color: var(--ink) !important;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-100);
  padding: 40px 0;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__col-left { flex: 1 1 420px; }
.footer__logo { height: 22px; width: auto; margin-bottom: 16px; }
.footer__legal-cols {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__legal-col p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.8;
}
.footer__legal-col a { text-decoration: underline; text-underline-offset: 2px; }
.footer__legal-col a:hover { color: var(--lime-dark); }

.footer__col-right {
  flex: 0 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}
.footer__social-row { display: flex; gap: 8px; }
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--gray-600);
  transition: background 0.2s, color 0.2s;
}
.footer__social:hover { background: var(--lime-soft); color: var(--lime-dark); }
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer__links a:not(.footer__whistle) { font-size: 13px; color: var(--gray-600); }
.footer__links a:not(.footer__whistle):hover { color: var(--lime-dark); }
.footer__whistle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.footer__whistle:hover { background: var(--gray-300); }

.footer__copy {
  font-size: 12.5px;
  color: #a4aa9d;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ===== 동작 줄이기 설정 존중 ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #youthit .section__title em {
    background-size: 100% 100%;
    transition: none;
  }
  .float-1, .float-2, .float-3, .float-4,
  .marquee__track,
  .yc-paper .cursor {
    animation: none;
  }
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .pc-only { display: none; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: none;
  }
  .header__nav.is-open { display: flex; }
  body.nav-open { overflow: hidden; }
  /* backdrop-filter가 .header에 새 containing block을 만들어 #nav의 position:fixed가
     뷰포트가 아닌 .header 기준으로 잡히는 문제를 방지 (모바일 메뉴 열렸을 때만 해제) */
  body.nav-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header__nav a { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
  .header__menu-btn { display: flex; }

  /* 모바일에서는 드롭다운을 펼쳐진 목록으로 표시 */
  .nav-drop {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-drop__menu {
    display: block;
    position: static;
    transform: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 16px;
  }
  .nav-drop__menu a { border-radius: 0; font-size: 14.5px; color: var(--gray-600); }
  .nav-drop__menu a:hover { background: none; }
  .nav-drop__soon { padding: 14px 0; }

  .hero { padding: 56px 0 64px; }

  .stats__cols { grid-template-columns: 1fr; gap: 40px; }
  .stats__col { padding: 28px 18px; }
  .stats__grid { gap: 10px; }
  .stat__emoji { font-size: 20px; }
  .stat strong { font-size: 18px; white-space: nowrap; }
  .stat span { font-size: 11.5px; word-break: keep-all; }

  .section, .donate { padding: 72px 0; }
  .programs, .cards { grid-template-columns: repeat(2, 1fr); }
  .joins { grid-template-columns: 1fr; }
  .cards--2 .card { gap: 14px; padding: 12px; }
  .cards--2 .card__img { width: 88px; height: 88px; }
  .cards--2 .card h3 { font-size: 15px; }
  .cards--2 .card p { font-size: 13px; }
  .process__step { gap: 18px; padding: 28px 0; }
  .process__marker::after { top: 51px; height: 26px; }
  .process__num { width: 36px; height: 36px; font-size: 12.5px; }
  .process__body h4 { font-size: 18px; }
  .process__body p { font-size: 14px; }
  .process__photos { max-width: 100%; }
  .sub-title { margin-top: 64px; }
  .partner-cta { padding: 36px 28px; }
  .partners-strip__logos { grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
  .partner-logo { height: 46px; padding: 6px; }
  .partner-logo img { max-height: 22px; }
  .partner-logo--sm img { max-height: 16px; }
  .program { min-height: 0; }
  .newsletter__inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .newsletter__text, .newsletter__form { flex: none; }
  #stb_subscribe_form { align-items: stretch; }
  #stb_subscribe .stb_form_set_submit .stb_form_submit_button { width: 100%; }

  .footer__row { flex-direction: column; gap: 28px; }
  .footer__col-left { flex: none; }
  .footer__legal-cols { flex-direction: column; gap: 4px; }
  .footer__col-right { flex: none; align-items: flex-start; text-align: left; width: 100%; }
  .footer__links { align-items: flex-start; }
}

/* 900px대에서는 2열이지만, 진짜 좁은 화면(폰 세로)에서는 1열로 */
@media (max-width: 640px) {
  .programs, .cards { grid-template-columns: 1fr; }
}

/* 641~900px(창을 반으로 줄인 폭): 2열 카드는 여백도 좀 더 줄이고,
   카드가 3개(2열 기준 홀수)일 땐 마지막 카드가 혼자 남는데, 전체 폭으로 펼치면
   이미지가 옆 카드들보다 커져서 더 어색하므로 같은 카드 폭을 유지한 채 가운데로 */
@media (min-width: 641px) and (max-width: 900px) {
  .program__body { padding: 20px 20px 24px; }
  .programs > :nth-child(3):last-child,
  .cards > :nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
}

