/* SEE IT 선교동역회 공개 사이트. 딥 네이비 · 절제된 틸 · 따뜻한 아이보리 · 제한된 골드.
   공식 브랜드 자산을 확인하면 아래 :root 값만 바꾸면 전체 색이 바뀝니다. */
:root {
  --navy: #12263f; --navy-2: #1b3a5e; --teal: #1f6f78; --teal-soft: #dcecec;
  --gold: #b8893a; --gold-bright: #dfbd78; --ivory: #faf6ee; --paper: #ffffff;
  --ink: #1c2733; --muted: #566471; --line: #e6dfd0;
  --serif: "Noto Serif KR", "Batang", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, sans-serif;
  --radius: 14px; --shadow: 0 10px 28px -16px rgba(18, 38, 63, .35);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.85 var(--sans); word-break: keep-all; overflow-wrap: anywhere; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; }
.nw { white-space: nowrap; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1.1em; }
.eyebrow { font: 700 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }

/* 헤더 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 700 20px/1 var(--serif); letter-spacing: .04em; }
.brand-text small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: ""; margin: auto; }
.bars::before { position: absolute; top: -6px; left: 0; } .bars::after { position: absolute; top: 6px; left: 0; }
.primary > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; display: block; padding: 22px 12px; }
.primary a[aria-current] { color: var(--teal); box-shadow: inset 0 -3px 0 var(--gold); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.sub a { padding: 10px 14px; font-size: 15px; border-radius: 8px; box-shadow: none !important; }
.sub a:hover { background: var(--ivory); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.actions { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 700 15px/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-gold { background: var(--gold); color: #fff; } .btn-gold:hover { background: #9e7430; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; } .btn-line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-line-dark { border-color: var(--navy); color: var(--navy); background: transparent; } .btn-line-dark:hover { background: var(--navy); color: #fff; }
.hero .btn-line, .band-navy .btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-line:hover, .band-navy .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.mobile-cta { display: none; }

@media (max-width: 899px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .actions { display: none; }
  .primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 68px); overflow-y: auto; padding: 8px 20px 20px; }
  .nav-open .primary { display: block; }
  .primary > ul { flex-direction: column; }
  .primary a { padding: 12px 4px; }
  .primary a[aria-current] { box-shadow: none; color: var(--teal); }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 12px; background: transparent; }
  .sub a { color: var(--muted); font-size: 15px; padding: 8px 4px; }
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta .btn-line { color: var(--navy); }
}

/* 히어로 */
.hero { position: relative; background: radial-gradient(1200px 520px at 70% -10%, #28507a 0%, transparent 60%), linear-gradient(180deg, #0e2038 0%, #12263f 70%); color: #fff; overflow: hidden; }
.hero-art { position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.hero-art svg { width: 100%; height: 100%; }
.hero-in { position: relative; padding: clamp(72px, 12vw, 150px) 0 clamp(64px, 10vw, 120px); max-width: 860px; margin-left: max(20px, calc((100% - 1120px) / 2)); }
.hero h1 { font: 700 clamp(30px, 5.2vw, 56px)/1.32 var(--serif); color: #fff; margin: 0 0 22px; letter-spacing: -.01em; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); color: #d6e0ea; max-width: 620px; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* 섹션 */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.band-ivory { background: var(--ivory); }
.band-navy { background: var(--navy); color: #e8eef5; }
.band-navy h2, .band-navy h3 { color: #fff; }
.sec-head { max-width: 760px; margin: 0 0 38px; }
.sec-head h2 { font: 700 clamp(26px, 3.6vw, 38px)/1.4 var(--serif); }
.sec-head p { color: var(--muted); }
.band-navy .sec-head p { color: #b9c8d8; }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: var(--ink); display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-bright); }
.more { font-size: 14px; font-weight: 700; color: var(--teal); }
.more::after { content: " →"; }
.card.on-dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.card.on-dark p { color: #c4d1de; }
.card.on-dark:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold-bright); }

.badge { display: inline-block; font: 700 12.5px/1 var(--sans); padding: 6px 10px; border-radius: 999px; margin: 0 0 10px; background: var(--teal-soft); color: #14545c; }
.badge-running { background: #dcefe2; color: #17613a; } .badge-discussing { background: #fbefd2; color: #7a5410; }
.badge-preparing { background: #e3e9f6; color: #2a4478; } .badge-history, .badge-ended { background: #ececec; color: #4a4a4a; }

.missions .mission { display: block; text-decoration: none; color: #fff; padding: 36px; border-radius: 18px; position: relative; overflow: hidden; min-height: 300px; }
.m-north { background: linear-gradient(150deg, #12263f, #1b3a5e); } .m-move { background: linear-gradient(150deg, #14585f, #1f6f78); }
.mission h3 { color: #fff; font: 700 30px/1.3 var(--serif); }
.mission p { color: #d8e4ee; }
.mission ul { margin: 0 0 20px; padding-left: 1.1em; color: #e8f0f6; }
.mission .more { color: var(--gold-bright); }
.mission:hover { box-shadow: var(--shadow); }

.vision-figure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; text-align: center; }
.vision-figure div { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 12px; }
.vision-figure strong { display: block; font: 700 clamp(30px, 5vw, 48px)/1.1 var(--serif); color: var(--navy); }
.vision-figure span { display: block; margin-top: 8px; font-weight: 500; color: var(--muted); }
.vision-figure p { grid-column: 1 / -1; font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.vision-figure.on-dark div { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.vision-figure.on-dark strong { color: var(--gold-bright); } .vision-figure.on-dark span, .vision-figure.on-dark p { color: #c4d1de; }
@media (max-width: 560px) { .vision-figure { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 4px solid var(--gold); background: var(--ivory); border-radius: 0 0 var(--radius) var(--radius); padding: 26px; }
.steps b { font: 700 14px var(--sans); color: var(--gold); letter-spacing: .12em; }
.steps h3 { font: 700 26px/1.3 var(--serif); margin: 4px 0 10px; }
.steps p { color: var(--muted); }
.steps a { display: inline-block; margin-right: 14px; font-weight: 700; font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.prayer-now { background: var(--teal-soft); border-radius: 18px; padding: clamp(26px, 4vw, 44px); max-width: 860px; }
.prayer-now h3 { font: 700 26px/1.4 var(--serif); }
.verse { font-family: var(--serif); color: var(--navy); }

/* 서브 페이지 */
.page-head { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 34px 0 40px; }
.page-head h1 { font: 700 clamp(28px, 4vw, 42px)/1.35 var(--serif); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b8b09f; }
.crumbs a { color: var(--muted); }
.status-box { margin-top: 20px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; max-width: 720px; }
.status-box p { margin: 0 0 4px; font-size: 15px; } .status-box .checked { color: var(--muted); font-size: 13px; margin: 0; }
.with-side { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.with-side .prose { min-width: 0; }
.side { position: sticky; top: 90px; font-size: 15px; }
.side-title { font: 700 14px var(--sans); letter-spacing: .08em; margin: 0 0 8px; } .side-title a { color: var(--navy); text-decoration: none; }
.side ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.side li { border-bottom: 1px solid var(--line); }
.side a { display: block; padding: 11px 6px; color: var(--ink); text-decoration: none; }
.side a:hover { color: var(--teal); } .side a[aria-current] { color: var(--teal); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
@media (max-width: 899px) { .with-side { grid-template-columns: 1fr; gap: 24px; } .side { position: static; } .side ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; } .side li { border: 1px solid var(--line); border-radius: 999px; } .side a { padding: 8px 14px; } .side a[aria-current] { box-shadow: none; background: var(--teal-soft); padding-left: 14px; border-radius: 999px; } }

.prose { font-size: 17.5px; max-width: 720px; }
.prose h2 { font: 700 26px/1.4 var(--serif); margin: 2.2em 0 .6em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 1.8em 0 .5em; color: var(--teal); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; } .prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--ivory); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; font-family: var(--serif); color: var(--navy); }
.prose blockquote p { margin: 0 0 .4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.hero-fig { margin: 0 0 1.6em; } .hero-fig img { width: 100%; height: auto; border-radius: var(--radius); }
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.6em; } .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.after { margin-top: 2.4em; }
.back { margin-top: 2em; }

.timeline { margin-top: 1em; }
.year-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; }
.year-jump a { padding: 6px 14px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--navy); }
.tl-year { display: grid; grid-template-columns: 96px 1fr; gap: 0 20px; padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.tl-year h2 { font: 700 34px/1 var(--serif); margin: 0; color: var(--gold); }
.tl-year ul { list-style: none; margin: 0; padding: 0; }
.tl-year li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 7px 0; font-size: 16.5px; line-height: 1.7; }
.tl-m { font: 700 14px/1.9 var(--sans); color: var(--teal); }
@media (max-width: 560px) { .tl-year { grid-template-columns: 1fr; } }
.note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

.post-card .meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; } .post-card .kind { font-weight: 700; color: var(--teal); }
.post-card h3 a { text-decoration: none; color: var(--navy); }
.empty { padding: 26px; background: var(--ivory); border: 1px dashed #d6ccb6; border-radius: var(--radius); color: var(--muted); }
.empty p:last-child { margin: 0; }

.yr { font: 700 22px var(--serif); margin: 1.6em 0 .6em; }
.months { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.months a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); height: 100%; }
.months .m { display: block; font: 700 18px var(--serif); } .months .t { display: block; font-size: 14px; color: var(--muted); }
.months .is-ready a { background: var(--teal-soft); border-color: #bcd8d9; } .months .is-wait a { background: #fafafa; color: #7a838c; }
.months .is-now a { box-shadow: 0 0 0 3px var(--gold); }
@media (max-width: 640px) { .months { grid-template-columns: repeat(2, 1fr); } }
.month-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.scripture { font-size: 19px; }
.scripture footer { font: 700 14px var(--sans); color: var(--gold); margin-top: 6px; }

/* 양식 */
.form-card { background: var(--ivory); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 36px); max-width: 640px; margin-top: 1.5em; }
.form-card h2 { font: 700 22px var(--serif); margin: 0 0 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; } .field label b { color: #a32119; font-size: 12px; margin-left: 4px; } .field label i { color: var(--muted); font-size: 12px; font-style: normal; margin-left: 4px; }
.field input, .field textarea { width: 100%; font: 400 17px/1.5 var(--sans); padding: 12px 14px; border: 1px solid #cfc6b3; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold-bright); border-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.warn { font-size: 14px; color: #7a5410; background: #fbefd2; border-radius: 8px; padding: 10px 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 14px 0 20px; line-height: 1.6; } .consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form-msg { margin: 14px 0 0; font-weight: 700; } .form-msg.ok { color: #17613a; } .form-msg.err { color: #a32119; }
.form-card.done .field, .form-card.done .consent, .form-card.done .warn, .form-card.done button { display: none; }

/* 푸터 */
.site-footer { background: #0c1a2c; color: #b9c6d4; padding: 56px 0 40px; font-size: 15px; line-height: 1.8; }
.site-footer a { color: #d6e0ea; text-decoration: none; } .site-footer a:hover { color: var(--gold-bright); text-decoration: none; }
.foot-verse { max-width: 760px; margin-bottom: 36px; } .foot-verse .verse { color: #e8eef5; font-size: 17px; line-height: 1.8; margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-cols h2 { font: 700 14px var(--sans); color: #fff; margin: 0 0 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; } .foot-cols li { margin-bottom: 4px; font-size: 14px; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } }
.foot-info { padding: 26px 0 8px; } .foot-info ul { list-style: none; padding: 0; margin: 8px 0 0; } .foot-info li span { display: inline-block; width: 72px; color: #8697aa; }
.social a { margin-right: 14px; }
.foot-copy { font-size: 13px; color: #8697aa; margin: 20px 0 0; }
