/* ===== Design tokens ===== */
:root {
  --ink: #1b2a4a;          /* deep archival navy */
  --ink-2: #2c3e63;
  --paper: #f7f4ee;        /* warm paper */
  --paper-2: #efe9df;
  --accent: #e8b341;       /* amber / gold */
  --accent-deep: #c9912a;
  --text: #20242c;
  --text-soft: #555b66;
  --line: #e2dccf;
  --white: #ffffff;
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(27, 42, 74, 0.10);
  --shadow-sm: 0 6px 20px rgba(27, 42, 74, 0.08);
  font-family: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--accent-deep); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #2a2102; box-shadow: 0 10px 24px rgba(232, 179, 65, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 179, 65, .45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.10); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: var(--ink); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
}
.brand-mark.small { width: 34px; height: 34px; font-size: 1.2rem; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.08rem; color: var(--ink); }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--text-soft); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .95rem; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav a:hover { color: var(--accent-deep); }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--ink-2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(232,179,65,.22), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(99,128,190,.25), transparent 55%),
    linear-gradient(160deg, #16223d 0%, #1b2a4a 55%, #223150 100%);
}
.hero-bg::after {
  content: "?";
  position: absolute; right: -4%; bottom: -22%;
  font-family: Georgia, serif; font-weight: 800;
  font-size: clamp(20rem, 42vw, 40rem); color: rgba(255,255,255,.04);
  line-height: 1; pointer-events: none;
}
.hero-inner { position: relative; padding: 96px 0 104px; max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(232,179,65,.4); padding: 6px 14px; border-radius: 999px; margin: 0 0 26px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 24px; font-weight: 800; }
.hero-title .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.85); margin: 0 0 36px; }
.hero-lead strong { color: var(--white); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 48px; margin: 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stats dd { margin: 4px 0 0; font-size: .9rem; color: rgba(255,255,255,.72); }

/* ===== Shared section bits ===== */
section { padding: 88px 0; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px;
}
.kicker.light { color: var(--accent); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 16px; color: var(--ink); font-weight: 800; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 1.08rem; color: var(--text-soft); max-width: 620px; margin: 0 0 48px; }

/* ===== Mission ===== */
.mission { background: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.mission-statement h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ink); margin: 0; }
.mission-text p { font-size: 1.05rem; color: var(--text-soft); margin: 0 0 20px; }
.mission-text strong { color: var(--ink); }

/* ===== Intro Video ===== */
.video { background: var(--ink); color: var(--white); }
.video-inner { text-align: center; }
.video-sub { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 40px; }
.video-frame {
  width: min(360px, 100%); margin-inline: auto;
  border-radius: 22px; overflow: hidden;
  background: #000; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}
.video-frame video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 9 / 16; background: #000;
}

/* ===== Why ===== */
.why { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); font-family: Georgia, serif; }
.why-card h3 { font-size: 1.12rem; color: var(--ink); margin: 14px 0 10px; }
.why-card p { font-size: .95rem; color: var(--text-soft); margin: 0; }
.why-note {
  margin-top: 36px; background: var(--ink); color: rgba(255,255,255,.9);
  border-radius: var(--radius); padding: 32px 36px;
}
.why-note p { margin: 0; font-size: 1.05rem; }
.why-note strong { color: var(--accent); }

/* ===== Work ===== */
.work { background: var(--white); }
.work-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-item {
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  background: var(--paper); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.work-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.work-icon {
  flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--white);
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow-sm);
}
.work-body h3 { font-size: 1.18rem; color: var(--ink); margin: 4px 0 8px; }
.work-body p { font-size: .97rem; color: var(--text-soft); margin: 0; }

/* ===== Plan / Timeline ===== */
.plan { background: var(--paper); }
.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 44px; }
.tl-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow-sm); position: relative;
}
.tl-tag {
  display: inline-block; background: var(--ink); color: var(--accent);
  font-weight: 700; font-size: .9rem; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.tl-item ul { margin: 0; padding-left: 0; list-style: none; }
.tl-item li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-soft); font-size: 1rem; }
.tl-item li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}
.future {
  background: var(--white); border: 1px dashed var(--accent-deep); border-radius: var(--radius);
  padding: 30px 36px;
}
.future h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.3rem; }
.future p { margin: 0; color: var(--text-soft); font-size: 1.03rem; }
.future strong { color: var(--ink); }

/* ===== Impact ===== */
.impact { background: var(--ink); color: var(--white); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 32px; }
.impact-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 32px 30px;
}
.impact-card h3 { color: var(--accent); margin: 0 0 12px; font-size: 1.3rem; }
.impact-card p { margin: 0; color: rgba(255,255,255,.82); font-size: 1rem; }
.impact-note { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 760px; margin: 0; }
.impact-note strong { color: var(--accent); }

/* ===== Organization ===== */
.org { background: var(--white); }
.org-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.org-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s, box-shadow .2s;
}
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.org-card h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.2rem; }
.org-role { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 12px; }
.org-card p { margin: 0; font-size: .95rem; color: var(--text-soft); }
.org-note { margin: 32px 0 0; color: var(--text-soft); font-size: 1.03rem; max-width: 800px; }

/* ===== Join ===== */
.join { background: linear-gradient(160deg, #1b2a4a, #2c3e63); color: var(--white); }
.join-inner { text-align: center; max-width: 820px; margin-inline: auto; }
.join-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 18px; }
.join-inner > p { font-size: 1.08rem; color: rgba(255,255,255,.82); margin: 0 auto 40px; max-width: 640px; }
.join-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; text-align: left; }
.join-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px 24px; }
.join-card h3 { margin: 0 0 8px; color: var(--accent); font-size: 1.15rem; }
.join-card p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.join-contact { margin: 20px 0 0; font-size: .95rem; color: rgba(255,255,255,.7); }

/* ===== Footer ===== */
.site-footer { background: #141d33; color: rgba(255,255,255,.7); padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; color: var(--white); font-size: 1.05rem; }
.footer-brand span { font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; font-size: .95rem; }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 2px; margin: 0 0 10px; font-size: .88rem; color: rgba(255,255,255,.62); }
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: var(--accent); }
.footer-small { font-size: .8rem !important; color: rgba(255,255,255,.45); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .why-grid, .org-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .work-list, .timeline, .impact-grid, .join-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  section { padding: 64px 0; }
  .hero-inner { padding: 70px 0 80px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
