:root {
  --header-h: 140px;
  --side-gap: 56px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #fff;
  background: #111;
}

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

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 100;
  pointer-events: none;
}

.site-header > * { pointer-events: auto; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.logo-img {
  width: 231px;
  height: 104px;
  display: block;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 44px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}

.main-nav a:hover { opacity: 0.7; }

.main-nav a.active {
  border-bottom: 1px solid #fff;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.icon-badge:hover {
  background: #fff;
  color: #111;
}

.icon-badge--dark {
  border-color: rgba(0,0,0,0.3);
  color: #111;
}

.icon-badge--dark:hover {
  background: #111;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Side nav ---------- */
.side-nav {
  position: fixed;
  right: var(--side-gap);
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-nav li a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
}

.side-nav li a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.25s ease, transform 0.25s ease;
}

.side-nav li a.active {
  color: #fff;
  font-weight: 500;
}

.side-nav li a.active::after {
  background: #fff;
  transform: scale(1.3);
}

/* ---------- Sections ---------- */
.page-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2a2a2a;
}

.page-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.section-content {
  position: relative;
  z-index: 2;
  padding: 0 0 140px 90px;
  max-width: 640px;
}

.section-title {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 76px;
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 40px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.btn-outline {
  display: inline-block;
  padding: 18px 44px;
  border: 1px solid rgba(255,255,255,0.85);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0;
  background: #fff;
  color: #222;
  padding: 44px 60px;

  display: grid;
  grid-template-columns: 1.6fr auto auto auto;
  gap: 30px;
  align-items: start;

  font-size: 13px;
}

.footer-name {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-address,
.footer-biz {
  color: #555;
  line-height: 1.7;
}

.footer-links,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #222;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --header-h: 84px; }

  .site-header { padding: 0 20px; }
  .logo-img { width: auto; height: 48px; }
  .side-nav { display: none; }
  .header-right { gap: 12px; }
  .social-icons { gap: 8px; }
  .icon-badge { width: 28px; height: 28px; font-size: 8px; }
  .nav-toggle { display: flex; width: 28px; height: 28px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 8px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 16px;
  }

  .page-section {
    min-height: 0;
    display: block;
    padding-top: 56.25%;
    background-size: contain;
    background-position: top center;
  }

  #process { padding-top: 75%; }

  .section-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: none;
    padding: 20px 24px;
  }

  .section-title { font-size: 26px; margin-bottom: 10px; }
  .section-subtitle { font-size: 13px; margin-bottom: 18px; }
  .btn-outline { padding: 12px 28px; font-size: 12px; }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .section-title { font-size: 22px; }
  .section-subtitle { font-size: 12px; }
}
