/* TERRAFORM ENERGY — 가상 회사 샘플. 풀블리드 영상 히어로(스크림 오버레이) + 좌우교차
   split-row 레이아웃 — AXIOM(스티키 파티클)·MERIDIAN(정적 에디토리얼)과 다시 다른 구조. */

:root {
  --color-accent: #d9a441;
  --color-border: #2a3327;
  --color-light: #14201a;
  --color-text-light: #9fae9c;
  --radius-md: 12px;
  --radius-lg: 16px;
  --spacing-sm: .75rem;
  --spacing-md: 1.25rem;
  --spacing-lg: 1.75rem;
  --spacing-xl: 2.5rem;
  --font-size-h1: clamp(30px, 5.5vw, 50px);
  --font-size-h2: 28px;
  font-family: Georgia, "Noto Serif KR", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: #0d1410; color: #eef2ec; }
body { font-family: -apple-system, "Pretendard Variable", sans-serif; letter-spacing: -0.005em; }
h1, h2, h3 { font-family: Georgia, "Noto Serif KR", serif; }
a { color: inherit; }

/* --- nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent);
}
.nav__logo { font-weight: 700; font-size: 16px; letter-spacing: 0.03em; }
.nav__links { display: flex; gap: 26px; font-size: 14px; }
.nav__links a { text-decoration: none; color: #dbe4d7; }
.nav__links a:hover { color: var(--color-accent); }
.nav__toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #eef2ec;
  width: 34px; height: 34px; border-radius: 8px; font-size: 15px; cursor: pointer;
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-nav-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #0d1410; border-top: 1px solid var(--color-border);
    padding: 8px 0;
  }
  .nav.is-nav-open .nav__links a { padding: 14px 20px; }
}

/* --- hero: 풀블리드 영상 + 스크림 --- */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,12,.92) 0%, rgba(10,16,12,.35) 55%, rgba(10,16,12,.15) 100%); z-index: 1; }
.hero__content { position: relative; z-index: 2; padding: 0 32px 72px; max-width: 720px; }
.eyebrow { display: inline-block; color: var(--color-accent); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 14px; font-family: -apple-system, sans-serif; }
.hero h1 { font-size: clamp(30px, 5.5vw, 50px); line-height: 1.22; font-weight: 700; margin: 0 0 18px; }
.hero p { font-size: 16px; color: #cdd8c8; max-width: 480px; margin: 0 0 26px; font-family: -apple-system, "Pretendard Variable", sans-serif; }
.btn-pill { display: inline-block; background: var(--color-accent); color: #201705; padding: 11px 22px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 700; font-family: -apple-system, sans-serif; }
.hero__note {
  position: relative; z-index: 2;
  background: #241e08; color: #e8c766; border-top: 1px solid #4a3d12;
  font-size: 12px; padding: 8px 32px; font-family: -apple-system, sans-serif;
}

main { max-width: 1080px; margin: 0 auto; }
.section { padding: 88px 32px; }
.section h2 { font-size: 28px; margin: 8px 0 40px; }
.section-number { display: block; color: var(--color-accent); font-size: 12px; letter-spacing: 0.08em; margin-bottom: .5rem; font-family: -apple-system, sans-serif; }

/* --- split row: 좌우교차 텍스트/비주얼 --- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.split-row--reverse .split-text { order: 2; }
.split-row--reverse .split-visual { order: 1; }
.split-text h3 { font-size: 22px; margin: 0 0 12px; }
.split-text p { font-size: 15px; color: var(--color-text-light); line-height: 1.7; font-family: -apple-system, "Pretendard Variable", sans-serif; }
.split-visual { height: 220px; border-radius: var(--radius-lg); }
@media (max-width: 720px) {
  .split-row, .split-row--reverse { grid-template-columns: 1fr; }
  .split-row--reverse .split-text, .split-row--reverse .split-visual { order: initial; }
}

.section--tinted { background: var(--color-light); border-radius: var(--radius-lg); margin: 0 32px; padding: 56px 32px !important; color: #eef2ec; }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; font-family: -apple-system, sans-serif; }
.stat { min-width: 120px; }
.stat__n { font-size: 38px; font-weight: 800; color: var(--color-accent); }
.stat__l { font-size: 13px; color: var(--color-text-light); margin-top: 4px; }
.compare-note { color: var(--color-text-light); font-size: 12.5px; margin-top: 20px; font-family: -apple-system, sans-serif; }

.footer { border-top: 1px solid var(--color-border); padding: 32px; text-align: center; font-size: 12.5px; color: var(--color-text-light); font-family: -apple-system, sans-serif; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .section { padding: 64px 24px; }
  .section--tinted { margin: 0 24px; padding: 40px 24px !important; }
}

@media (max-width: 560px) {
  .nav { padding: 16px 20px; }
  .hero__content { padding: 0 20px 48px; }
  .hero__note { padding: 8px 20px; }
  .section { padding: 48px 20px; }
  .split-row { gap: 24px; margin-bottom: 40px; }
}
