:root {
  --bg: #fff;
  --ink: #1a1a1a;
  --muted: #6d6862;
  --line: rgba(26, 26, 26, 0.12);
  --soft: #f6f5f3;
  --nav: 72px;
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1.18; white-space: pre-line; }
h1 { font-size: clamp(40px, 5vw, 68px); }
h2 { font-size: clamp(32px, 3.6vw, 52px); }
h3 { font-size: 28px; letter-spacing: -0.04em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  background: var(--ink); color: #fff; padding: 8px 12px;
}
.skip:focus { top: 12px; }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

#content { flex: 1 0 auto; }
.wrap { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--nav);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.nav-bar {
  height: 100%;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand span { font-size: 15px; letter-spacing: -0.03em; font-weight: 560; }
.logo { height: 34px; width: auto; display: block; flex: none; }

.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 0; background: transparent; position: relative; z-index: 50;
}
.menu-btn i, .menu-btn i::before, .menu-btn i::after {
  position: absolute; left: 12px; width: 18px; height: 1px; background: var(--ink); content: "";
}
.menu-btn i { top: 21px; }
.menu-btn i::before { top: -6px; }
.menu-btn i::after { top: 6px; }
body.nav-open .menu-btn i { background: transparent; }
body.nav-open .menu-btn i::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-btn i::after { top: 0; transform: rotate(-45deg); }

#gnb { margin-left: auto; display: flex; align-items: center; gap: 26px; }
#gnb > a, .has-drop > button, .langs button {
  background: none; border: 0; padding: 0; color: #5c5853;
  font-size: 14px; letter-spacing: -0.02em;
}
#gnb > a:hover, .has-drop > button:hover,
#gnb > a[aria-current="page"], .has-drop > button[aria-current="page"] { color: var(--ink); }
.has-drop { position: relative; }
.drop {
  display: none; position: absolute; top: calc(100% + 18px); left: -18px;
  min-width: 168px; padding: 8px; background: #fff;
  border: 1px solid var(--line); z-index: 50;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.drop a { display: block; padding: 9px 12px; color: #5c5853; font-size: 14px; }
.drop a:hover, .drop a[aria-current="page"] { color: var(--ink); }
.has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }
.has-drop:hover .drop, .has-drop:focus-within .drop, .has-drop.open .drop { display: block; }
.langs { display: flex; gap: 10px; margin-left: 6px; }
.langs button.is-on { color: var(--ink); }
.ask-btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: -0.02em;
  padding: 7px 12px;
  min-height: 32px;
}
.ask-bar { display: none; }
.ask-btn:hover { background: #000; }

.dots {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 30; display: grid; gap: 14px;
}
.dots button {
  width: 6px; height: 6px; border: 0; border-radius: 50%; padding: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(20, 16, 12, 0.4);
}
.dots button.is-on { background: #fff; box-shadow: 0 0 0 1px rgba(20, 16, 12, 0.72); }

.deck { background: #fff; }
.panel {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav) + 24px) 0 56px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
html:not(.deck-on) { scroll-snap-type: y mandatory; }
html.deck-on, html.deck-on body { height: 100%; overflow: hidden; }
html.deck-on .deck { will-change: transform; transition: transform 0.85s cubic-bezier(0.76, 0, 0.18, 1); }
html.deck-on .panel { height: 100vh; min-height: 0; overflow: auto; }

.hero { justify-content: center; text-align: center; }
.hero-copy { width: min(820px, calc(100% - 80px)); }
.hero-logo { width: min(280px, 58vw); height: auto; margin: 0 auto 28px; }
.kicker {
  margin: 0 0 18px; color: var(--muted);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 560;
}
.lead { color: #4e4a45; font-size: 17px; line-height: 1.7; margin-top: 22px; }
.hero .lead { margin-inline: auto; max-width: 34rem; }
.down {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 44px; height: 44px; border: 0; background: transparent; color: #8a847c;
}
.down svg { width: 22px; height: 22px; display: block; margin: auto; }

.split {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
  display: grid; grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
  gap: 64px; align-items: center;
}
.split .lead { max-width: 28rem; }
.frame {
  margin: 0;
  background: var(--soft);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow: 0 30px 70px rgba(26, 26, 26, 0.08);
}
.frame img { width: 100%; height: auto; max-height: calc(100vh - 180px); object-fit: contain; object-position: center; }
.mods { list-style: none; margin: 28px 0 0; padding: 0; max-width: 420px; }
.mods li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px;
}
.mods li:last-child { border-bottom: 1px solid var(--line); }
.mods span { color: var(--muted); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.more {
  display: inline-flex; margin-top: 26px; font-size: 14px; letter-spacing: -0.02em;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}

.stage-we, .stage-ca, .stage-ar { color: #f6f2ec; overflow: hidden; }
.stage-we .kicker, .stage-ca .kicker, .stage-ar .kicker,
.stage-we .lead, .stage-ca .lead, .stage-ar .lead { color: rgba(246, 242, 236, 0.72); }
.stage-we .mods li, .stage-ca .mods li, .stage-ar .mods li { border-color: rgba(255, 255, 255, 0.14); }
.stage-we .more, .stage-ca .more, .stage-ar .more { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.75); }
.stage-we .frame, .stage-ca .frame, .stage-ar .frame {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}
.stage-we::before, .stage-ca::before, .stage-ca::after, .stage-ar::before, .stage-ar::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.stage-we {
  background:
    radial-gradient(880px 520px at 82% 42%, rgba(255, 112, 42, 0.28), transparent 62%),
    radial-gradient(640px 460px at 8% 88%, rgba(255, 176, 96, 0.16), transparent 58%),
    #14100e;
}
.stage-we::before {
  width: 46%;
  height: 72%;
  right: -4%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 86, 28, 0.42), transparent 68%);
  animation: we-drift 14s ease-in-out infinite alternate;
}
.stage-ca { background: #090909; }
.stage-ca::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 72% 48%, #000 12%, transparent 72%);
}
.stage-ca::after {
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(255, 92, 16, 0.28), transparent);
  animation: ca-scan 6.8s linear infinite;
}
.stage-ar {
  background:
    radial-gradient(820px 520px at 76% 48%, rgba(64, 156, 220, 0.24), transparent 64%),
    #071018;
}
.stage-ar::before, .stage-ar::after {
  width: 260px;
  height: 260px;
  right: 16%;
  top: 26%;
  border-radius: 50%;
  border: 1px solid rgba(156, 214, 236, 0.5);
  animation: ar-ping 5.6s ease-out infinite;
}
.stage-ar::after { animation-delay: -2.8s; }
html.deck-on .stage-we, html.deck-on .stage-ca, html.deck-on .stage-ar { overflow: hidden; }

@keyframes we-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6%, 4%, 0) scale(1.08); }
}
@keyframes ca-scan {
  from { top: -140px; }
  to { top: 100%; }
}
@keyframes ar-ping {
  0% { transform: scale(0.5); opacity: 0.75; }
  100% { transform: scale(2.15); opacity: 0; }
}

.ask[hidden] { display: none !important; }
.ask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}
.ask-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 10, 8, 0.52);
}
.ask-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  color: var(--ink);
  padding: 32px 28px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.ask-dialog h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; }
.ask-dialog .card { border: 0; padding: 0; }
.ask-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}
body.ask-open { overflow: hidden; }

.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 36px; border: 1px solid var(--line); }
.kinds article { background: #fff; padding: 22px 20px 26px; }
.kinds strong { display: block; font-size: 20px; letter-spacing: -0.04em; margin-bottom: 8px; font-weight: 560; }
.kinds span { color: var(--muted); font-size: 14.5px; }

.specs { list-style: none; margin: 0; padding: 0; }
.specs li {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.specs li:last-child { border-bottom: 1px solid var(--line); }
.specs strong { font-weight: 560; letter-spacing: -0.03em; }
.specs span { color: var(--muted); }

.page { padding: calc(var(--nav) + 56px) 0 48px; }
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.figure { margin: 28px 0 0; background: var(--soft); border: 1px solid rgba(26, 26, 26, 0.06); }
.figure img { width: 100%; max-height: 78vh; object-fit: contain; object-position: center top; background: #111; }
.figure figcaption { margin: 0; padding: 10px 2px 0; color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; background: #fff; }
.block { padding: 72px 0; }
.note { margin-top: 22px; color: var(--muted); max-width: 40rem; }

.inquiry { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center; width: 100%; }
.card { border: 1px solid var(--line); padding: 22px; background: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields label { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.fields .wide { grid-column: 1 / -1; }
.req { color: var(--ink); margin-left: 4px; }
input, textarea, select {
  width: 100%; margin-top: 8px; min-height: 46px; padding: 12px;
  background: #fff; border: 1px solid #ddd9d3; border-radius: 0; color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
select:invalid { color: var(--muted); }
select option { color: #141311; background: #fff; }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #c4492c; }
input[type="number"] { appearance: textfield; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.fine { color: var(--muted); font-size: 12px; line-height: 1.5; }
button[type="submit"] {
  background: var(--ink); color: #fff; border: 0; min-height: 46px; padding: 0 18px;
  letter-spacing: 0.04em; font-size: 13px; font-weight: 560;
}
button[type="submit"]:hover { background: #000; }
button[type="submit"]:disabled { opacity: 0.55; cursor: wait; }
.ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  min-height: 44px; padding: 0 14px;
}
form[hidden], .done[hidden] { display: none !important; }
.done p { color: var(--muted); margin: 12px 0 18px; }
#inquiry { padding-bottom: 78px; }
.home-legal {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  color: #8a847c; font-size: 12px; letter-spacing: -0.01em;
}
.home-legal a:hover { color: var(--ink); }

.loc-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 40px; margin-top: 48px; align-items: stretch; }
.loc-list { list-style: none; margin: 0; padding: 0; }
.loc-list li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.loc-list li:last-child { border-bottom: 1px solid var(--line); }
.loc-list span { color: var(--muted); letter-spacing: 0.08em; font-size: 12px; text-transform: uppercase; }
.map-slot { min-height: 420px; border: 1px solid var(--line); background:
  linear-gradient(rgba(26,26,26,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(26,26,26,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.jobs { width: 100%; border-collapse: collapse; margin-top: 36px; }
.jobs th, .jobs td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); font-weight: 450; }
.jobs th { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 560; }
.jobs td { color: var(--muted); }
.stage {
  min-height: calc(100vh - 220px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 48px;
}

.prose { max-width: 740px; padding-bottom: 24px; }
.prose h1 { margin-bottom: 8px; }
.prose .lead { margin-bottom: 8px; }
.prose h2 { font-size: 18px; margin: 28px 0 8px; font-weight: 560; }
.prose p, .prose li { color: #3f3b36; font-size: 15.5px; line-height: 1.75; }
.prose ul { margin: 8px 0 0; padding-left: 1.15em; }
.prose li + li { margin-top: 4px; }
body.lang-en .legal.ko, body:not(.lang-en) .legal.en { display: none; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 32px; background: #fff; }
.foot { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 28px; align-items: start; }
.footer p { color: var(--muted); margin-top: 8px; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav.foot-row { flex-direction: row; gap: 18px; align-items: center; }
.biz-slot { display: inline-block; min-width: 7.5em; margin-left: 8px; border-bottom: 1px solid var(--ink); color: var(--ink); }
.domain { letter-spacing: 0.04em; }
.legal { font-size: 13px; }

@keyframes frame-float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@keyframes hero-wash {
  from { transform: translate3d(-8%, 0, 0) scale(1); }
  to { transform: translate3d(8%, 6%, 0) scale(1.12); }
}

@media (max-width: 980px) {
  html { scroll-snap-type: none; }
  .panel { scroll-snap-align: none; min-height: 0; }
  .hero { min-height: 100svh; overflow: hidden; }
  .hero::before {
    content: "";
    position: absolute;
    width: 78vw;
    height: 78vw;
    left: 11vw;
    top: 12vh;
    background: radial-gradient(circle, rgba(255, 98, 36, 0.28), transparent 68%);
    animation: hero-wash 9s ease-in-out infinite alternate;
    pointer-events: none;
  }
  .hero-copy { position: relative; z-index: 1; }
  .down { animation: frame-float 1.8s ease-in-out infinite alternate; }
  .stage-we, .stage-ca, .stage-ar {
    min-height: 100svh;
    align-items: center;
    padding-top: calc(var(--nav) + 28px);
    padding-bottom: 40px;
  }
  .stage-we::before { width: 92%; height: 58%; left: -18%; right: auto; top: auto; bottom: -6%; }
  .stage-ca::after { height: 88px; }
  .stage-ar::before, .stage-ar::after { width: 200px; height: 200px; right: -20px; top: 62%; }
  .split { gap: 28px; }
  .stage-we .frame, .stage-ca .frame, .stage-ar .frame { order: -1; animation: frame-float 6.5s ease-in-out infinite alternate; }
  .frame { box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35); }
  h1 { font-size: clamp(34px, 9vw, 48px); }
  h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .ask-bar { display: inline-flex; margin-left: auto; }
  .menu-btn { margin-left: 6px; }
  .wrap, .split { width: min(var(--max), calc(100% - 36px)); }
  .menu-btn { display: block; }
  #gnb { display: none; }
  body.nav-open #gnb {
    display: flex; position: fixed; z-index: 45; inset: 0;
    margin: 0; padding: 96px 24px 40px; flex-direction: column; align-items: flex-start;
    gap: 4px; background: #fff; overflow: auto;
  }
  body.nav-open #gnb > a, body.nav-open .has-drop > button { font-size: 30px; color: var(--ink); letter-spacing: -0.04em; padding: 8px 0; }
  body.nav-open .drop { position: static; display: none; border: 0; background: transparent; box-shadow: none; padding: 0 0 8px 2px; min-width: 0; }
  body.nav-open .has-drop.open .drop { display: block; }
  body.nav-open .drop a { font-size: 18px; padding: 8px 0; }
  body.nav-open .langs { margin: 18px 0 0; }
  body.nav-open #gnb .ask-btn { margin-top: 16px; font-size: 16px; padding: 10px 16px; }
  .figure { position: relative; }
  .figure::after {
    content: "";
    position: absolute;
    right: 6%;
    bottom: -16px;
    width: 52%;
    height: 46%;
    background: radial-gradient(circle, rgba(255, 112, 42, 0.42), transparent 70%);
    animation: hero-wash 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
  }
  .figure img { position: relative; z-index: 1; }
  body[data-page="argus"] .figure::after { background: radial-gradient(circle, rgba(78, 168, 230, 0.48), transparent 70%); }
  .ask { padding: 12px; }
  .ask-dialog { padding: 28px 16px 16px; }
  .dots { display: none; }
  .split, .page-hero, .inquiry, .loc-grid, .foot, .fields { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .kinds { grid-template-columns: 1fr; }
  .specs li { grid-template-columns: 1fr; gap: 6px; }
  .fields .wide { grid-column: auto; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .frame img { max-height: 46vh; }
  .hero-copy { width: min(820px, calc(100% - 36px)); }
}

@media (prefers-reduced-motion: reduce) {
  html.deck-on .deck { transition: none; }
  html { scroll-snap-type: none; }
  .stage-we::before, .stage-ca::after, .stage-ar::before, .stage-ar::after,
  .hero::before, .down, .frame, .figure::after { animation: none; }
}
