/* =====================
   FONTS
   ===================== */
@font-face {
  font-family: 'NanumSquareNeo';
  src: url('../fonts/NanumSquareNeo-aLt.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquareNeo';
  src: url('../fonts/NanumSquareNeo-bRg.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquareNeo';
  src: url('../fonts/NanumSquareNeo-cBd.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquareNeo';
  src: url('../fonts/NanumSquareNeo-dEb.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'NanumSquareNeo';
  src: url('../fonts/NanumSquareNeo-eHv.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
}

/* =====================
   ROOT & RESET
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #0b1829;
  --navy-mid: #0f2240;
  --navy-lt:  #152a4a;
  --accent:   #38bdf8;
  --text:     #e2e8f0;
  --sub:      #94a3b8;
  --dim:      #64748b;
  --ok:       #22c55e;
  --font:     'NanumSquareNeo', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =====================
   NAV
   ===================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(11, 24, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 15px 52px;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav-logo {
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--sub);
  transition: color .2s;
}
.nav-tagline {
  flex: 1;
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sub);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s;
}
.nav-logo:hover, .nav-tagline:hover { color: var(--accent); }

/* =====================
   SHARED LAYOUT
   ===================== */
.container { max-width: 880px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1180px; margin: 0 auto; padding: 0 52px; }

.page-top-space { padding-top: 130px; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* fade-up on scroll */
.fu { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fu.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* =====================
   INDEX — 네 가지 선언 목차
   ===================== */
/* ── photo hero ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--navy);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--navy) 0%, transparent 220px),
    linear-gradient(
      108deg,
      rgba(11, 24, 41, 0.08) 0%,
      rgba(11, 24, 41, 0.18) 28%,
      rgba(11, 24, 41, 0.75) 50%,
      rgba(11, 24, 41, 0.96) 64%,
      rgba(11, 24, 41, 1)    76%
    );
}
.hero-content {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-52%);
  text-align: right;
  max-width: 520px;
}
.hero-accent-line {
  display: block;
  width: 44px;
  height: 2px;
  background: var(--accent);
  margin-left: auto;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 26px;
}
.hero-lead {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.9;
}
.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  cursor: pointer;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.hero-scroll span { color: var(--text); }
.hero-scroll svg {
  width: 18px; height: 18px;
  stroke: var(--dim); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ── 네 가지 핵심 의제 목록 ── */
#agenda-list { padding: 90px 0 0; }

.decl-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 28px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 34px 36px;
  margin-bottom: 18px;
  transition: border-color .3s, transform .3s, background .3s;
}
.decl-card:hover {
  border-color: rgba(56, 189, 248, .32);
  transform: translateY(-4px);
  background: var(--navy-lt);
}
.decl-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  opacity: .28;
  letter-spacing: -0.04em;
}
.decl-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.5;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  margin: 50px auto 0;
  padding: 0 40px 20px;
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.credit-note {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px 90px;
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-align: center;
}

/* =====================
   DECLARATION PAGE
   ===================== */
.agenda-section { padding: 90px 0; } 
.agenda-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.4;
  margin: 18px 0 10px;
}

.agenda-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 880px;
  margin: 0 auto;
}

.decl-block { padding: 46px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.decl-block:last-of-type { border-bottom: none; }
.decl-block h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-bottom: 22px;
}
.decl-block p {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
}
.decl-block p:last-child { margin-bottom: 0; }
.decl-block p.sub { color: var(--sub); font-size: 0.85rem; }

/* 구체적인 실행방법 — 설명 없이, 하나의 배경판 위에 올린 링크 목록 */
.link-list {
  display: flex;
  flex-direction: column;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 12px;
  padding: 6px 22px;
}
.link-item {
  display: block;
  padding: 16px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color .2s;
}
.link-item:last-child { border-bottom: none; }
.link-item:hover { color: var(--accent); }

/* =====================
   DETAIL CONTENT (구체적인 실행방법 하위 내용)
   ===================== */
.detail-body p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 22px;
}
.detail-body p.sub { color: var(--sub); font-size: 0.85rem; }
.detail-body h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--accent);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.detail-body ul.bullets { margin: 8px 0 24px; }
.detail-body ul.bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 10px;
}
.detail-body ul.bullets li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 28px 0;
  margin: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-box .num { font-size: 1.7rem; font-weight: 900; color: var(--accent); letter-spacing: -0.03em; }
.stat-box .label { font-size: 0.78rem; color: var(--sub); margin-top: 4px; }

/* =====================
   STANDALONE DETAIL PAGE (구체적인 실행방법 링크가 여는 개별 페이지)
   ===================== */
.detail-page-head { padding: 150px 0 40px; }
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.76rem;
}
.crumb a { color: var(--sub); font-weight: 700; transition: color .2s; }
.crumb a:hover { color: var(--accent); }
.crumb span { color: var(--dim); }
.detail-page-head h1 {
  font-size: clamp(1.3rem, 2.9vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.5;
}
.detail-page-body { padding: 10px 0 120px; }
.back-to-agenda {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.draft-flag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

/* =====================
   READS — 브런치 원문 카드 (사진 + 텍스트)
   ===================== */
.reads-intro {
  font-size: 0.92rem;
  color: var(--sub);
  line-height: 1.85;
  margin: 18px 0 48px;
  max-width: 640px;
}
.read-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.read-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px;
  transition: border-color .3s, transform .3s, background .3s;
}
.read-card:hover {
  border-color: rgba(56, 189, 248, .32);
  transform: translateY(-4px);
  background: var(--navy-lt);
}
.read-thumb {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.read-body h3 {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 8px;
}
.read-body p {
  font-size: 0.82rem;
  color: var(--sub);
  line-height: 1.6;
}

/* =====================
   CAREER
   ===================== */
.career-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 18px;
}
.career-col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.career-list { display: flex; flex-direction: column; }
.career-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.career-item:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.c-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  padding: 13px 14px 13px 0;
  line-height: 1.5;
  opacity: 0.9;
}
.c-role {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  padding: 13px 0;
  line-height: 1.55;
}
.c-role strong { font-weight: 700; color: #fff; }

/* =====================
   SOCIAL / WEBSITES
   ===================== */
.site-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.site-card {
  display: block;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 26px 22px;
  transition: border-color .3s, transform .3s, background .3s;
}
.site-card:hover {
  border-color: rgba(56, 189, 248, .32);
  transform: translateY(-4px);
  background: var(--navy-lt);
}
.site-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.site-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}
.site-url {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}
footer p { font-size: 0.78rem; color: var(--text); font-weight: 600; }
.footer-back {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 600;
  transition: color .2s;
}
.footer-back:hover { color: var(--sub); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  #nav { padding: 16px 22px; }
  #nav.scrolled { padding: 12px 22px; }
  .container { padding: 0 22px; }
  .container-wide { padding: 0 22px; }
  .decl-card { grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 20px; }
  .decl-num { font-size: 1.3rem; }
  .hero-photo { object-position: left center; }
  .hero-content { right: 0; left: 0; text-align: left; padding: 0 22px; max-width: 100%; }
  .hero-accent-line { margin-left: 0; }
  .agenda-section { padding: 60px 0; }
  .read-grid { grid-template-columns: 1fr; }
  .read-card { padding: 12px; gap: 14px; }
  .read-thumb { width: 76px; height: 76px; }
  .read-body h3 { font-size: 0.88rem; margin-bottom: 6px; }
  .read-body p { font-size: 0.76rem; }
  .career-wrap { grid-template-columns: 1fr; gap: 8px; }
  .site-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; text-align: center; padding: 26px 22px; }
}
