/* NOVXEN — 홍보 사이트 스타일 (우주·궤도 콘셉트) */
:root {
  --bg: #050608;
  --text: #eceee9;
  --muted: #9a9fa8;
  --dim: #6b7079;
  --line: rgba(236, 238, 233, .14);
  --pad: clamp(20px, 3.4vw, 44px);
  --font: "Wanted Sans Variable", "Wanted Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0; color: var(--text); font-family: var(--font); font-weight: 400;
  font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }
:focus-visible { outline: 1.5px solid var(--text); outline-offset: 4px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

#space { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* 로고: logo 폴더의 흰 글자 워드마크를 투명 배경으로 변환한 assets/logo-white.png */
.logo { display: block; aspect-ratio: 1000 / 173; height: auto; }

/* ── 내비게이션 ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 22px var(--pad) 34px;
  background: linear-gradient(rgba(5, 6, 8, .9), rgba(5, 6, 8, .55) 60%, transparent);
}
.nav__logo { justify-self: start; }
.nav__logo .logo { width: 150px; }
.nav__pill {
  display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 12, 16, .55); backdrop-filter: blur(14px); font-size: 14.5px; font-weight: 400;
}
.nav__pill a { padding: 9px 18px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav__pill a:hover { color: var(--text); background: rgba(236, 238, 233, .08); }
.nav__talk {
  justify-self: end; display: inline-flex; align-items: center; gap: 14px;
  background: var(--text); color: var(--bg); font-weight: 500; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; transition: transform .2s;
}
.nav__talk:hover { transform: translateY(-2px); }

/* ── 공통 ── */
.eyebrow { font-size: 12.5px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; font-weight: 400; padding: 12px 0; border-bottom: 1px solid var(--muted); transition: gap .25s, border-color .25s; }
.link:hover { gap: 56px; border-color: var(--text); }

.section { padding: clamp(96px, 13vw, 180px) var(--pad) 0; max-width: 1360px; margin-inline: auto; }
.head { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 22px; }
.head__num { font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.head h2 { grid-column: 1 / -1; font-weight: 400; font-size: clamp(34px, 5.2vw, 68px); line-height: 1.14; letter-spacing: -.03em; margin-top: clamp(20px, 4vw, 48px); }
.head__lead { grid-column: 1 / -1; color: var(--muted); max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); }

/* ── 첫 화면 ── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 140px var(--pad) 120px; overflow: hidden; }
.hero__text { position: relative; z-index: 2; max-width: 620px; display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-weight: 400; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.14; letter-spacing: -.035em; }
.hero__sub { color: var(--muted); max-width: 27em; font-size: clamp(16px, 1.5vw, 19px); }
.orb { aspect-ratio: 1; width: min(340px, 62vw); }
.orb--sm { width: min(230px, 46vw); }
.orb--hero { position: absolute; right: clamp(-40px, 6vw, 120px); top: 50%; translate: 0 -56%; width: min(520px, 46vw); z-index: 1; }
/* 행성의 가장자리(지평선) */
.horizon {
  position: absolute; left: 50%; bottom: 0; translate: -50% calc(100% - clamp(120px, 20vh, 190px)); width: 260vw; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, #0b0d11 97.2%, #1a1d23 99%, #6d727b 99.7%, #dfe3ea 100%);
  box-shadow: 0 -30px 140px -20px rgba(210, 220, 240, .18), 0 -4px 30px -6px rgba(235, 240, 250, .35);
}
.side-label {
  position: absolute; right: var(--pad); top: 50%; z-index: 2; writing-mode: vertical-rl; translate: 0 -50%;
  font-size: 11px; letter-spacing: .34em; color: var(--dim); display: flex; align-items: center; gap: 14px;
}
.side-label span { width: 1px; height: 70px; background: var(--line); }
.hero__hint { position: absolute; left: var(--pad); bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }

/* ── 이름 ── */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 96px); }
.trio__item { border-top: 1px solid var(--line); padding: 20px 0 44px; display: grid; gap: 10px; align-content: start; }
.trio__num { font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.trio__glyph { font-size: clamp(64px, 8vw, 112px); font-weight: 400; line-height: 1; letter-spacing: -.04em; margin: 22px 0 14px; }
.trio h3 { font-size: 22px; font-weight: 500; }
.trio h3 small { display: block; font-size: 12px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.trio__item > p:last-child { color: var(--muted); }

/* ── 가치: 궤도 ── */
.orbit { position: relative; margin-top: clamp(40px, 6vw, 80px); display: grid; gap: clamp(40px, 7vw, 96px); padding-bottom: 20px; }
.orbit::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line) 12%, var(--line) 88%, transparent); }
.orbit__row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 8vw, 120px); }
.orbit__row .orb { justify-self: start; }
.orbit__row--flip .orbit__text { order: 2; }
.orbit__row--flip .orb { justify-self: end; }
.orbit__text { display: grid; gap: 8px; max-width: 26em; }
.orbit__row:not(.orbit__row--flip) .orbit__text { justify-self: end; }
.orbit__text h3 { font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -.03em; margin-top: 14px; }
.orbit__en { font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.orbit__text > p:last-child { color: var(--muted); }

/* ── 스튜디오 ── */
.photo { margin-top: clamp(40px, 6vw, 80px); }
.photo img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); filter: saturate(.72) contrast(1.04); }
.photo figcaption { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .26em; color: var(--dim); padding: 14px 4px 0; }

/* ── 함께하기 ── */
.contact { position: relative; max-width: none; padding-bottom: clamp(200px, 30vw, 380px); overflow: hidden; }
.contact .head, .contact__mail { max-width: calc(1360px - 2 * var(--pad)); margin-inline: auto; position: relative; z-index: 2; }
.contact__mail { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 20px; width: fit-content; margin-top: clamp(36px, 5vw, 64px); margin-left: max(0px, calc((100% - 1360px + 2 * var(--pad)) / 2)); font-size: clamp(22px, 3.4vw, 44px); font-weight: 400; letter-spacing: -.02em; border-bottom: 1px solid var(--muted); padding-bottom: 8px; transition: border-color .25s; }
.contact__mail:hover { border-color: var(--text); }
.contact__mail small { font-size: 12px; letter-spacing: .26em; color: var(--dim); }
.horizon--end { translate: -50% calc(100% - clamp(140px, 22vw, 260px)); }

/* ── 푸터 ── */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px var(--pad) 34px; font-size: 13px; color: var(--muted); background: #0b0d11; }
.footer a:hover { color: var(--text); }
.logo--foot { width: 120px; }

/* ── 등장 효과 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── 반응형 ── */
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav__pill { display: none; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding-top: 104px; padding-bottom: 170px; }
  .orb--hero { position: static; translate: none; order: -1; align-self: flex-end; width: min(300px, 66vw); margin: 0 -6px 8px 0; }
  .side-label { display: none; }
  .orbit::before { left: 8px; }
  .orbit__row { grid-template-columns: 1fr; gap: 20px; padding-left: 36px; }
  .orbit__row--flip .orbit__text { order: 0; }
  .orbit__row .orb, .orbit__row--flip .orb { justify-self: start; }
  .orbit__row:not(.orbit__row--flip) .orbit__text { justify-self: start; }
  .photo img { aspect-ratio: 4 / 3; }
}

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