:root {
  --bg: #f6f3ec; --paper: #ffffff; --ink: #14212b; --muted: #5b6770; --line: #e2ddd2;
  --sea: #1d6f8f; --gold: #e3a92b; --deep: #0b1a24; --radius: 14px;
  --font: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e171d; --paper: #15222b; --ink: #e8edf0; --muted: #9aa8b1; --line: #24343f; --sea: #5bb4d4; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 24px;
  background: rgba(11, 26, 36, .78); backdrop-filter: blur(10px); color: #fff; }
.brand { font-weight: 800; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--gold); }
.top nav { display: flex; gap: 18px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.top nav a { text-decoration: none; font-size: 15px; opacity: .85; white-space: nowrap; }
.top nav a:hover { opacity: 1; }

.cta, .ghost { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; }
.cta { background: var(--gold); color: #1b1407; }
.cta:hover { filter: brightness(1.06); }
.cta.small { padding: 7px 16px; font-size: 14px; }
.ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }

.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,36,.82) 0%, rgba(11,26,36,.55) 45%, rgba(11,26,36,0) 75%), linear-gradient(180deg, rgba(11,26,36,0) 45%, rgba(11,26,36,.7) 100%); }
.hero-text { position: relative; max-width: 1120px; width: 100%; margin: 0 auto; padding: 0 24px min(9vh, 88px); }
.eyebrow { margin: 0 0 6px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.lead { max-width: 560px; margin: 16px 0 28px; font-size: clamp(16px, 2vw, 19px); opacity: .92; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.intro { max-width: 1120px; margin: 0 auto; padding: 72px 24px 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillars div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pillars b { display: block; font-size: 22px; color: var(--sea); margin-bottom: 4px; }
.pillars span { color: var(--muted); }
.note { margin: 20px 0 0; font-weight: 600; }
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.flow li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--muted); }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 36px 0 0; }
.facts li { color: var(--muted); font-size: 14px; }
.facts b { display: block; font-size: 30px; color: var(--ink); font-weight: 800; }

.group { max-width: 1120px; margin: 0 auto; padding: 64px 24px 8px; }
.group header { margin-bottom: 22px; }
.group h2 { margin: 0; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.01em; }
.group header p { margin: 6px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.media { aspect-ratio: 16 / 9; background: #0b1a24; }
.media video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.card h3 { margin: 16px 18px 4px; font-size: 18px; }
.card p { margin: 0 18px 18px; color: var(--muted); font-size: 15px; }
#peace .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#peace .card:first-child { grid-column: 1 / -1; }

.closing { max-width: 1120px; margin: 72px auto 0; padding: 56px 24px; text-align: center; background: var(--deep); color: #fff; border-radius: 22px; }
.closing h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); }
.closing p { margin: 8px auto 26px; max-width: 520px; opacity: .85; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 36px 16px 48px; }

@media (max-width: 900px) {
  .grid, #peace .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .top { padding: 0 16px; gap: 12px; }
  .top nav { display: none; }
  .top .cta.small { margin-left: auto; }
  .hero { min-height: min(86vh, 720px); }
  .hero-text, .intro, .group { padding-left: 16px; padding-right: 16px; }
  .pillars, .grid, #peace .grid { grid-template-columns: minmax(0, 1fr); }
  .closing { margin: 56px 16px 0; }
}
