/* Self UP 이음 - 공개 사이트 스타일
   색은 시안 PNG 실측값. 모양 규칙: 버튼 pill, 사진·타일 24px, 입력 12px. */
:root {
  --blue: #204499;
  --blue-deep: #182f6e;
  --blue-soft: #e8edf8;
  --yellow: #fcdf64;
  --yellow-deep: #f2c93c;
  --paper: #f5f5f3;
  --white: #ffffff;
  --ink: #1a1a1a;
  --gray: #6b6b6b;
  --gray-light: #a0a09c;
  --line: #e2e2dd;
  --display: "Black Han Sans", "Pretendard Variable", Pretendard, sans-serif;
  --body: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --max: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-photo: 24px;
  --r-input: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.7; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--ink); }

/* ── 타이포 ─────────────────────────── */
.display { font-family: var(--display); letter-spacing: 0.005em; }
.h-sec { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); line-height: 1.18; color: var(--ink); }
.h-sec .num { color: var(--blue); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--gray); max-width: 36em; }
.mark {
  background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 92%, transparent 92%);
  background-size: 0% 100%; background-repeat: no-repeat; padding: 0 0.1em; color: var(--ink); font-weight: 700;
}
.in .mark, .mark.static { background-size: 100% 100%; transition: background-size 0.6s var(--ease) 0.2s; }
.topbar { display: block; width: 44px; height: 4px; background: var(--blue); border-radius: 2px; margin-bottom: 22px; transform-origin: left; }

/* ── 버튼 ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; white-space: nowrap; line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--yellow); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn[disabled], .btn.closed { background: var(--line); color: var(--gray); pointer-events: none; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.link-arrow:hover { border-color: currentColor; }
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ── 헤더 ────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  color: var(--white); transition: background 0.35s, box-shadow 0.35s, color 0.35s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.header.solid { background: var(--blue); box-shadow: 0 1px 0 rgba(255,255,255,0.12); }
.header.on-light { color: var(--blue); }
.header.on-light.solid { background: rgba(245,245,243,0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 36px; width: auto; }
.header .lg-b { display: none; }
.header.on-light:not(.open) .lg-w { display: none; }
.header.on-light:not(.open) .lg-b { display: block; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 600; font-size: 15px; opacity: 0.9; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--yellow); transition: right 0.3s var(--ease); }
.nav a:hover::after { right: 0; }
.header.on-light .nav a::after { background: var(--blue); }
.nav .btn { margin-left: 8px; min-height: 46px; padding: 0 26px; font-size: 15px; }
.header.on-light .nav .btn { background: var(--blue); color: var(--white); }
.header.on-light .nav .btn:hover { background: var(--yellow); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 26px; align-items: center; justify-content: center; }
.mnav { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mnav { display: block; position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--blue); color: var(--white); padding: 24px var(--gutter) 40px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease); }
  .mnav.open { transform: none; opacity: 1; pointer-events: auto; }
  .mnav a { display: block; font-family: var(--display); font-size: 30px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .mnav .btn { margin-top: 24px; width: 100%; }
  .header.open, .header.on-light.open, .header.on-light.solid.open { background: var(--blue); color: var(--white); backdrop-filter: none; box-shadow: none; }
}

/* ── 히어로 ──────────────────────────── */
.hero { position: relative; background: var(--blue); color: var(--white); padding: 136px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; min-height: calc(100dvh - 136px - 72px); min-height: 560px; }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; letter-spacing: 0.005em; }
.hero h1 span { display: inline-block; }
.hero .lead { color: rgba(255,255,255,0.86); margin-top: 24px; font-size: clamp(16px, 1.5vw, 19px); }
.hero .recruit { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 16px 8px 12px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; font-size: 14px; font-weight: 600; }
.hero .recruit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero .recruit.closed::before { background: var(--gray-light); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage figure { position: absolute; margin: 0; border-radius: var(--r-photo); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 20, 60, 0.7); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .f1 { left: 0; top: 6%; width: 58%; aspect-ratio: 1; }
.collage .f2 { right: 0; top: 0; width: 38%; aspect-ratio: 1; }
.collage .f3 { right: 6%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; }
.collage .badge { position: absolute; left: 4%; bottom: 10%; width: 118px; height: 118px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(10, 20, 60, 0.6); }
.collage .badge img { width: 40px; height: auto; }
.collage .badge span { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.collage .badge span svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
/* 히어로 로드인: 순서만 다르게, 같은 커브 */
.hero .ld { opacity: 0; transform: translateY(10px); animation: ld 0.6s ease-out forwards; }
.hero .ld:nth-child(n + 2) { animation-delay: 0.08s; }
.collage figure, .collage .badge { opacity: 0; animation: ld 0.7s ease-out 0.15s forwards; }
@keyframes ld { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { padding: 108px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .collage { max-width: 440px; }
}

/* ── 포토 월 (마퀴 2줄) ──────────────── */
.moments { background: var(--blue); color: var(--white); padding: 24px 0 72px; border-top: 1px solid rgba(255,255,255,0.14); overflow: hidden; }
.moments .head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.moments h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); }
.moments .link-arrow { color: var(--yellow); }
.row { display: flex; gap: 16px; width: max-content; margin-bottom: 16px; animation: slide var(--dur, 90s) linear infinite; }
.row.rev { animation-direction: reverse; }
.row:hover { animation-play-state: paused; }
.tile { width: 200px; aspect-ratio: 1; flex: 0 0 auto; border-radius: var(--r-photo); overflow: hidden; background: var(--blue-deep); transition: transform 0.35s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover img { opacity: 0.9; }
.tile.sym { display: grid; place-items: center; background: transparent; }
.tile.sym img { width: 48px; height: auto; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .tile { width: 140px; } .row { gap: 10px; --dur: 36s; } }

/* ── 섹션 공통 ─────────────────────── */
.sec { padding: 120px 0; }
.sec + .sec { padding-top: 0; }
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head .lead { margin-top: 20px; }
@media (max-width: 768px) { .sec { padding: 72px 0; } .sec-head { margin-bottom: 36px; } }

/* 01 소개: 두 줄 지그재그 */
.about-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.about-row + .about-row { margin-top: 80px; }
.about-row.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.about-row.flip figure { order: 2; }
.about-row figure { margin: 0; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.about-row img { width: 100%; height: 100%; object-fit: cover; }
.about-row .text { border-left: 4px solid var(--blue); padding-left: 24px; }
.about-row h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.about-row p { margin-top: 14px; color: var(--gray); }
@media (max-width: 768px) {
  .about-row, .about-row.flip { grid-template-columns: 1fr; gap: 24px; }
  .about-row.flip figure { order: 0; }
  .about-row + .about-row { margin-top: 48px; }
}

/* 02 활동: 1+2 비대칭 타일 (관리자에서 활동 추가 시 자동 흐름) */
.progs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.prog { border-radius: var(--r-photo); overflow: hidden; display: flex; flex-direction: column; grid-column: span 4; background: var(--white); border: 1px solid var(--line); }
.prog figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.prog img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }

.prog-text { padding: 26px 28px 30px; }
.prog h3 { font-family: var(--display); font-size: 28px; display: flex; align-items: baseline; gap: 8px; }
.prog h3 small { font-family: var(--body); font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.02em; }
.prog .tag { font-weight: 700; margin-top: 8px; }
.prog p:not(.tag) { margin-top: 10px; font-size: 15.5px; color: var(--gray); }
.prog-0 { grid-column: span 6; grid-row: span 2; background: var(--blue); color: var(--white); border: 0; }
.prog-0 figure { aspect-ratio: 16 / 11; flex: 1; }
.prog-0 .prog-text { padding: 32px 36px 36px; }
.prog-0 h3 small { color: var(--yellow); }
.prog-0 p:not(.tag) { color: rgba(255,255,255,0.8); }
.prog-1 { grid-column: span 6; flex-direction: row; background: var(--yellow); border: 0; }
.prog-1 figure { width: 42%; aspect-ratio: auto; }
.prog-1 .prog-text { flex: 1; }
.prog-1 h3 small { color: var(--blue); }
.prog-1 p:not(.tag) { color: #4a4530; }
.prog-2 { grid-column: span 6; flex-direction: row-reverse; }
.prog-2 figure { width: 42%; aspect-ratio: auto; }
.prog-2 .prog-text { flex: 1; }
/* 활동이 4개 이상이면 2열 가로형으로 전환, 홀수 마지막은 전체 폭 */
.progs:has(> :nth-child(4)) .prog { grid-column: span 6; grid-row: auto; flex-direction: row; background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.progs:has(> :nth-child(4)) .prog figure { width: 42%; aspect-ratio: auto; }
.progs:has(> :nth-child(4)) .prog .prog-text { padding: 26px 28px 30px; }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 1) { background: var(--blue); color: var(--white); border: 0; }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 1) h3 small { color: var(--yellow); }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 1) p:not(.tag) { color: rgba(255,255,255,0.8); }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 2) { background: var(--yellow); border: 0; flex-direction: row-reverse; }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 2) h3 small { color: var(--blue); }
.progs:has(> :nth-child(4)) .prog:nth-child(3n + 2) p:not(.tag) { color: #4a4530; }
.progs:has(> :nth-child(4)) .prog:nth-child(odd):last-child { grid-column: span 12; }
.progs:has(> :nth-child(4)) .prog:nth-child(odd):last-child figure { width: 50%; }
@media (max-width: 900px) {
  .progs { grid-template-columns: 1fr; gap: 16px; }
  .prog, .prog-0, .prog-1, .prog-2, .progs:has(> :nth-child(4)) .prog, .progs:has(> :nth-child(4)) .prog:nth-child(3n + 2), .progs:has(> :nth-child(4)) .prog:nth-child(odd):last-child { grid-column: auto; grid-row: auto; flex-direction: column; }
  .prog-1 figure, .prog-2 figure, .progs:has(> :nth-child(4)) .prog figure, .progs:has(> :nth-child(4)) .prog:nth-child(odd):last-child figure { width: auto; aspect-ratio: 16 / 10; }
}

/* 03 데이터: 탭 + 큰 질문 목록 */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 40px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 10px 22px; font-weight: 700; color: var(--gray); transition: 0.25s; }
.tabs button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.qlist { list-style: none; margin: 0; padding: 0; max-width: 900px; }
.qlist li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.qlist li:first-child { border-top: 1px solid var(--line); }
.qlist li::before { content: "Q"; font-family: var(--display); color: var(--blue); font-size: 22px; line-height: 1.5; }
.qpanel { display: none; }
.qpanel.on { display: block; }

.qnote { margin-top: 28px; color: var(--gray); font-size: 15px; }

/* 04 활성화: 블루 밴드, 연결선 있는 3단계 */
.flow-sec { background: var(--blue); color: var(--white); padding: 120px 0; }
.flow-sec .h-sec { color: var(--white); }
.flow-sec .h-sec .num { color: var(--yellow); }
.flow-sec .lead { color: rgba(255,255,255,0.8); }
.flow-sec .topbar { background: var(--yellow); }
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.flow::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: rgba(255,255,255,0.25); }
.step { position: relative; padding-top: 72px; }
.step .dot { position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: var(--blue); font-family: var(--display); font-size: 20px; display: grid; place-items: center; }
.step h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: rgba(255,255,255,0.8); font-size: 15.5px; }
.flow-msg { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.flow-msg p { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; }
.flow-sec .mark { color: var(--yellow); background-image: linear-gradient(transparent 80%, rgba(252,223,100,0.38) 80%, rgba(252,223,100,0.38) 96%, transparent 96%); }
.flow-msg .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-msg figure { margin: 0; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.flow-msg figure:nth-child(2) { transform: translateY(16px); }
.flow-msg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .flow-sec { padding: 72px 0; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before { left: 24px; right: auto; width: 2px; height: calc(100% - 48px); top: 24px; }
  .step { padding-top: 0; padding-left: 70px; min-height: 50px; }
  .flow-msg { grid-template-columns: 1fr; margin-top: 56px; }
}

/* 이음 소개 */
.place { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.place figure { margin: 0; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; }
.place img { width: 100%; height: 100%; object-fit: cover; }
.place h2 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.18; }
.place h2 em { font-style: normal; color: var(--blue); }
.place .lead { margin-top: 18px; }
.dl { display: grid; grid-template-columns: 92px 1fr; row-gap: 12px; column-gap: 16px; margin: 32px 0 0; padding-top: 28px; border-top: 2px solid var(--ink); }
.dl dt { font-weight: 800; }
.dl dd { margin: 0; color: var(--gray); }
.map { margin-top: 56px; border-radius: var(--r-photo); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 8; background: var(--white); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; gap: 28px; } .map { aspect-ratio: 4 / 3; } }

/* CTA 밴드 (옐로우) */
.band { background: var(--yellow); color: var(--ink); padding: 96px 0; overflow: hidden; }
.band .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.band h2 { font-family: var(--display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; }
.band .meta { font-weight: 700; margin-bottom: 20px; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-outline { border-color: var(--ink); color: var(--ink); }
.band .btn-outline:hover { background: var(--ink); color: var(--yellow); }
.sub-form { display: none; margin-top: 18px; gap: 8px; }
.sub-form.open { display: flex; }
.sub-form input { flex: 1; min-width: 0; height: 52px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); padding: 0 20px; font: inherit; }
.sub-form .btn { background: var(--ink); color: var(--yellow); }
.sub-msg { margin-top: 10px; font-size: 14px; font-weight: 600; min-height: 1.5em; }
@media (max-width: 900px) { .band { padding: 72px 0; } .band .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* 푸터 */
.footer { background: var(--blue-deep); color: rgba(255,255,255,0.85); padding: 64px 0 28px; font-size: 14px; }
.footer .top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer .logo img { height: 40px; }
.footer .cols { display: flex; gap: 48px; }
.footer .cols h4 { font-size: 13px; font-weight: 800; color: var(--yellow); margin-bottom: 12px; letter-spacing: 0.04em; }
.footer .cols a { display: block; padding: 3px 0; opacity: 0.85; }
.footer .cols a:hover { opacity: 1; text-decoration: underline; }
.footer .info { margin-top: 18px; line-height: 1.9; opacity: 0.8; }
.footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); opacity: 0.7; }
@media (max-width: 768px) { .footer .top { grid-template-columns: 1fr; } .footer .cols { gap: 32px; } }

/* ── 서브페이지 공통 ───────────────── */
.page { padding: 136px 0 96px; }
.page-head { max-width: 760px; margin-bottom: 48px; }
.page-head h1 { font-family: var(--display); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.14; }
.page-head .lead { margin-top: 16px; }
.light-head { background: var(--paper); }
@media (max-width: 768px) { .page { padding: 108px 0 64px; } }

/* 아카이브 목록 */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-tabs button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 18px; font-weight: 700; color: var(--gray); transition: 0.2s; }
.cat-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.card { display: block; }
.card figure { margin: 0; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); }
.card figure img[src$=".svg"] { width: 40px; height: auto; opacity: 0.5; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover img { opacity: 0.92; }
.card .cat { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 800; color: var(--blue); }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.4; }
.card time { display: block; margin-top: 6px; font-size: 14px; color: var(--gray-light); }
.card p { margin-top: 8px; font-size: 15px; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid3 .card:nth-child(3n + 2) { transform: translateY(28px); }
.empty { grid-column: 1 / -1; padding: 80px 0; text-align: center; color: var(--gray); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 64px; }
.pager button { min-width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; color: var(--gray); }
.pager button[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, 1fr); } .grid3 .card:nth-child(3n + 2) { transform: none; } .grid3 .card:nth-child(2n) { transform: translateY(20px); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; gap: 32px; } .grid3 .card:nth-child(2n) { transform: none; } }

/* 아카이브 상세 */
.post { max-width: 820px; }
.post .cat { font-weight: 800; color: var(--blue); }
.post h1 { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); line-height: 1.2; margin-top: 10px; }
.post time { display: block; color: var(--gray-light); margin-top: 12px; }
.gallery { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r-photo); overflow: hidden; background: var(--blue-soft); }
.gallery figure.cover { grid-column: 1 / -1; }
.gallery img { width: 100%; height: auto; }
.post-body { margin-top: 40px; font-size: 17.5px; line-height: 1.85; }
.post-body p + p { margin-top: 1.2em; }
.share { display: flex; gap: 8px; margin-top: 48px; }
.pn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 2px solid var(--ink); }
.pn { display: block; }
.pn span { display: block; font-size: 13px; font-weight: 700; color: var(--gray-light); }
.pn strong { display: block; margin-top: 4px; font-weight: 700; }
.pn.next { text-align: right; }
.pn:hover strong { color: var(--blue); }

/* 폼 */
.form-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.form-grid > aside { position: sticky; top: 100px; }
.info-box { background: var(--white); border-radius: var(--r-photo); padding: 32px; border: 1px solid var(--line); }
.info-box h3 { font-family: var(--display); font-size: 24px; margin-bottom: 18px; }
.info-box .dl { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: 72px 1fr; }
.form { display: grid; gap: 22px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field > span.lab { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field label small, .field .lab small { color: var(--gray-light); font-weight: 600; margin-left: 6px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r-input);
  padding: 14px 16px; font: inherit; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32, 68, 153, 0.15); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 13.5px; color: var(--gray); margin-top: 6px; }
.field .err { display: none; font-size: 13.5px; color: #c0392b; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field.invalid .err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; color: var(--gray); transition: 0.2s; cursor: pointer; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); }
.consent a { text-decoration: underline; }
.form-msg { font-weight: 600; color: #c0392b; min-height: 1.5em; }
.hp { position: absolute; left: -9999px; }
.closed-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-photo); padding: 40px; text-align: center; }
.closed-box h3 { font-family: var(--display); font-size: 26px; }
.closed-box p { margin-top: 10px; color: var(--gray); }
.faq { margin-top: 96px; max-width: 820px; }
.faq h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--blue); font-size: 22px; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--gray); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; gap: 40px; } .form-grid > aside { position: static; order: -1; } .form .two { grid-template-columns: 1fr; } }

/* 완료 */
.done { text-align: center; max-width: 620px; margin: 0 auto; padding: 40px 0; }
.done .sym { margin: 0 auto 28px; }
.done .sym img { width: 60px; height: auto; margin: 0 auto; }
.done h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); }
.done p { margin-top: 18px; color: var(--gray); }
.done .cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 파트너 */
.pt-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 80px; }
.pt-points article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-photo); padding: 28px; }
.pt-points article:nth-child(2) { background: var(--blue); color: var(--white); border: 0; }
.pt-points article:nth-child(3) { background: var(--yellow); border: 0; }
.pt-points h3 { font-family: var(--display); font-size: 24px; }
.pt-points p { margin-top: 10px; font-size: 15.5px; opacity: 0.85; }
@media (max-width: 768px) { .pt-points { grid-template-columns: 1fr; margin: 32px 0 56px; } }

/* 개인정보 */
.legal { max-width: 820px; }
.legal h2 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--gray); font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--white); font-weight: 700; }

.rv { opacity: 0; transform: translateY(12px); transition: opacity 0.55s ease-out, transform 0.55s ease-out; transition-delay: var(--d, 0s); }
.rv[data-rv="bar"] { transform: none; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .hero .ld, .collage figure, .collage .badge { opacity: 1 !important; transform: none !important; }
  .mark { background-size: 100% 100%; }
  .row { width: auto; flex-wrap: wrap; }
}
