/* ─────────────────────────────────────────────────────────────
   Network Infra — 어두운 실사 컨셉.
   첫 화면은 서버실 복도 영상, 아래는 영상 두 편만.
   첫 화면만 어둡고(#060606), 아래 영상 구역은 이전의 밝은 바탕(#eef1fc).
   ───────────────────────────────────────────────────────────── */
:root {
  --page: #060606;       /* 첫 화면 */
  --light: #eef1fc;      /* 영상 구역 — 영상 안 바탕과 같은 옅은 라벤더 · 하늘색 */
  --l-ink: #0a0a0a; --l-soft: #737373; --l-line: rgba(0, 0, 0, 0.1);
  --ink: #f5f5f5;
  --soft: #a3a3a3;
  --muted: #6b6b6b;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff6a1f;
  --sans: 'Inter Tight', 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --body: 'Pretendard Variable', Pretendard, 'Inter', system-ui, sans-serif;
  --mono: 'Chivo Mono', ui-monospace, Menlo, monospace;
  --max: 1280px;
  --pad: clamp(20px, 4vw, 80px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

/* ── 버튼 — 모노 대문자, 각진 모서리 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 18px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.02em; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--fill { background: var(--accent); color: #111; }
.btn--fill:hover { background: #ff8a4a; }
.btn--line { border: 1px solid var(--line); color: var(--accent); }
.btn--line:hover { border-color: var(--accent); }

/* ── 내비 ── */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background-color 0.4s var(--ease); }
.nav.is-stuck { background: rgba(6, 6, 6, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__in { display: flex; align-items: center; gap: 32px; height: var(--nav-h); border-bottom: 1px solid var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; }
.nav__mark { width: 22px; height: 22px; color: var(--ink); flex: none; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-family: var(--mono); font-size: 14px; }
.nav__links a { color: var(--ink); opacity: 0.85; transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__links a:hover { color: var(--accent); opacity: 1; }
.nav__cta { height: 40px; }

/* ── 첫 화면 ── */
.hero { position: relative; background: var(--page); color: var(--ink); min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.55) 38%, rgba(6, 6, 6, 0) 70%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.4) 0%, rgba(6, 6, 6, 0) 22%, rgba(6, 6, 6, 0) 70%, var(--page) 100%);
  /* (첫 화면은 그대로 — 아래 밝은 구역과는 곧게 나뉜다) */
}
.hero__copy { position: relative; z-index: 1; padding-top: var(--nav-h); }
.hero__title { display: grid; font-family: var(--sans); font-weight: 300; font-size: clamp(56px, 9vw, 128px); line-height: 0.95; letter-spacing: -0.035em; }
.hero__title .is-accent { color: var(--accent); }
.hero__lead { max-width: 34rem; margin-top: 36px; color: #d4d4d4; font-size: 16px; line-height: 1.7; word-break: keep-all; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__copy > * { opacity: 0; transform: translateY(24px); }
html.is-ready .hero__copy > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.is-ready .hero__lead { transition-delay: 0.12s; }
html.is-ready .hero__acts { transition-delay: 0.24s; }

/* ── 영상 구역 — 큰 제목 · 번호, 그 아래 영상(바탕이 이어진다) ── */
.band { padding-top: clamp(80px, 12vw, 160px); color: var(--l-ink); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.band__head h2, .band__no { font-family: var(--sans); font-weight: 300; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em; }
.band__meta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--l-line); }
.band__meta p { color: var(--l-soft); font-size: 15px; line-height: 1.6; word-break: keep-all; }
.band__meta a { font-family: var(--mono); font-size: 13px; color: var(--accent); white-space: nowrap; }
.film .stage { margin-top: clamp(8px, 2vw, 24px); border-radius: 16px; max-height: none; }

/* ── 푸터 ── */
.foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(80px, 10vw, 140px); padding-block: 28px; border-top: 1px solid var(--l-line);
  color: var(--l-soft); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
}
.foot span:first-child { display: flex; align-items: center; gap: 10px; color: var(--l-ink); }
.foot .nav__mark { color: var(--l-ink); }
.foot .nav__mark { width: 16px; height: 16px; }
.foot a:hover { color: var(--accent); }

/* ── 나타나기 ── */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* MP4 로 구울 때(?export): 떠 있는 내비가 영상 위를 덮지 않게 */
html.is-export .nav { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__copy > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .nav__links { display: none; }
  .nav__in { gap: 12px; justify-content: space-between; }
  .nav__brand { font-size: 13px; }
  .nav__cta { height: 34px; padding: 0 12px; font-size: 12px; }
  .hero__shade { background: linear-gradient(180deg, rgba(6, 6, 6, 0.5) 0%, rgba(6, 6, 6, 0.75) 55%, var(--page) 100%); }
  .hero__lead { font-size: 15px; }
  .btn { height: 44px; font-size: 13px; }
  .band__meta { flex-direction: column; align-items: flex-start; }
  .foot { flex-direction: column; align-items: flex-start; }
}
.film { scroll-margin-top: 40px; }
