*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:  #080810;
  --blue:   #2B3EE8;
  --green:  #2DBD6E;
  --pink:   #FC5C7D;
  --white:  #ffffff;
  --dim:    #16162A;
  --border: rgba(255,255,255,0.08);
  --text-1: #ffffff;
  --text-2: rgba(255,255,255,0.7);
  --text-3: rgba(255,255,255,0.4);
  --serif: 'Noto Serif KR', Georgia, serif;
  --sans:  'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text-1);
  font-family: var(--serif);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: rgba(8,8,16,0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}

.site-nav.scrolled {
  background: rgba(8,8,16,0.96);
  border-bottom-color: rgba(255,255,255,0.12);
}

.nav-logo {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo-text { display: none; }
.nav-logo-fallback { display: none; }

.nav-links {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 40px; list-style: none; align-items: center;
}

.nav-links a {
  font-family: var(--sans); font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,0.65); text-decoration: none;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.25s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }

.nav-lang {
  flex-shrink: 0;
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45); cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12); padding: 6px 14px;
  transition: all 0.25s; user-select: none; white-space: nowrap;
}
.nav-lang:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ─── SECTION COMMON ─── */
.section-label {
  font-family: var(--sans); font-size: 16px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 24px; display: block;
}

.section-title {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.02em; color: #ffffff;
  margin-bottom: 28px;
}

.section-divider {
  width: 100%; height: 1px;
  background: #16162A; margin-bottom: 72px;
}

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid #16162A;
  padding: 64px 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; align-items: start;
}

.footer-logo { height: 40px; width: auto; margin-bottom: 16px; display: block; }
.footer-tagline { font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,0.3); line-height: 1.8; }

.footer-col-title {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--sans); font-size: 15px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

.footer-email { font-family: var(--sans); font-size: 15px; color: var(--blue); text-decoration: none; display: block; margin-bottom: 10px; transition: opacity 0.2s; }
.footer-email:hover { opacity: 0.75; }
.footer-copy { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,0.25); }

.footer-bottom {
  border-top: 1px solid #16162A;
  padding: 24px 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom-text { font-family: var(--sans); font-size: 13px; color: rgba(255,255,255,0.25); }

/* ─── REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .site-nav { padding: 0 24px; height: 64px; }
  .nav-links { display: none; }
  .site-footer { grid-template-columns: 1fr; gap: 40px; padding: 48px 28px 36px; }
  .footer-bottom { padding: 20px 28px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
