:root {
  --bg: #05070b;
  --ink: #f7fbff;
  --muted: #aeb9c7;
  --line: rgba(255, 255, 255, 0.14);
  --panel: #0d1218;
  --panel-2: #121a22;
  --cyan: #44d7ff;
  --red: #e4424e;
  --green: #49d38b;
  --amber: #f1b84d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(5, 7, 11, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 11, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(68, 215, 255, 0.8);
  background: rgba(68, 215, 255, 0.1);
  color: var(--cyan);
  font-size: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: rgba(247, 251, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.language-link {
  color: var(--cyan) !important;
}

.hero {
  position: relative;
  min-height: min(820px, 88vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.88) 0%, rgba(5, 7, 11, 0.56) 38%, rgba(5, 7, 11, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.08) 42%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 76px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  max-width: 880px;
  font-size: clamp(70px, 12vw, 170px);
  line-height: 0.9;
  font-weight: 800;
}

.hero-title span {
  display: inline-block;
}

.hero-w-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  padding: 0 0.08em;
  isolation: isolate;
}

.hero-w-wrap::before {
  content: "";
  position: absolute;
  inset: 5% -14% -2% -14%;
  z-index: -1;
  background:
    linear-gradient(100deg, transparent 0 18%, rgba(68, 215, 255, 0.16) 18% 20%, transparent 20% 42%, rgba(255, 255, 255, 0.14) 42% 43%, transparent 43% 100%),
    radial-gradient(circle at 62% 28%, rgba(68, 215, 255, 0.22), transparent 32%),
    rgba(255, 255, 255, 0.035);
  clip-path: polygon(7% 4%, 86% 0, 100% 88%, 13% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 38px rgba(68, 215, 255, 0.12);
}

.hero-w {
  position: relative;
  z-index: 2;
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.18vw, 3px) rgba(247, 251, 255, 0.88);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.95) 0%, rgba(68, 215, 255, 0.75) 32%, rgba(228, 66, 78, 0.76) 70%, rgba(247, 251, 255, 0.92) 100%),
    url("assets/spacew-hero.png");
  background-size: cover;
  background-position: 66% 42%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(68, 215, 255, 0.45)) drop-shadow(0 0 34px rgba(228, 66, 78, 0.22));
}

.hero-w::before {
  content: "";
  position: absolute;
  inset: 12% 9%;
  background:
    repeating-linear-gradient(180deg, rgba(247, 251, 255, 0.24) 0 1px, transparent 1px 12px);
  mix-blend-mode: screen;
  opacity: 0.28;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-w-orbit {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.orbit-one {
  inset: 8% -16% 4% -18%;
  border: clamp(2px, 0.2vw, 3px) solid rgba(68, 215, 255, 0.58);
  border-left-color: transparent;
  border-bottom-color: rgba(228, 66, 78, 0.48);
  transform: rotate(-16deg) skewX(-8deg);
}

.orbit-two {
  inset: 16% -5% 10% -8%;
  border: 1px solid rgba(247, 251, 255, 0.25);
  border-right-color: transparent;
  border-top-color: rgba(68, 215, 255, 0.46);
  transform: rotate(18deg) skewX(10deg);
}

.hero-w-node {
  position: absolute;
  z-index: 4;
  width: clamp(7px, 0.65vw, 11px);
  height: clamp(7px, 0.65vw, 11px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(68, 215, 255, 0.86);
}

.node-one {
  top: 12%;
  right: -9%;
}

.node-two {
  bottom: 16%;
  left: -8%;
  background: var(--red);
  box-shadow: 0 0 16px rgba(228, 66, 78, 0.72);
}

.hero-copy {
  width: min(640px, 100%);
  margin: 24px 0 0;
  color: rgba(247, 251, 255, 0.88);
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #05070b;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.section-band,
.section-panel,
.vision {
  padding: clamp(68px, 9vw, 112px) 0;
}

.section-band {
  background: #080c11;
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(68, 215, 255, 0.08), rgba(68, 215, 255, 0)),
    var(--bg);
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid,
.vision-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro-visual {
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.infrastructure-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0b1016;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.infrastructure-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(68, 215, 255, 0.22), transparent 38%),
    linear-gradient(315deg, rgba(228, 66, 78, 0.14), transparent 40%);
  pointer-events: none;
}

.infrastructure-figure::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.infrastructure-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  word-break: keep-all;
}

.intro p:last-child {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
  word-break: keep-all;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card,
.timeline article,
.vision-list article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.project-card {
  min-height: 282px;
  padding: 22px;
}

.project-code {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  background: rgba(68, 215, 255, 0.1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.project-card:nth-child(2) .project-code {
  color: var(--red);
  background: rgba(228, 66, 78, 0.11);
}

.project-card:nth-child(3) .project-code {
  color: var(--green);
  background: rgba(73, 211, 139, 0.11);
}

.project-card:nth-child(4) .project-code {
  color: var(--amber);
  background: rgba(241, 184, 77, 0.11);
}

.project-card h3,
.timeline h3,
.vision-list h3 {
  margin: 22px 0 8px;
  font-size: 24px;
}

.project-card a {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.project-card p,
.timeline p,
.vision-list p {
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.timeline article {
  padding: 28px;
  background: var(--panel);
}

.timeline span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.vision {
  background:
    radial-gradient(circle at 18% 10%, rgba(68, 215, 255, 0.14), transparent 28%),
    linear-gradient(120deg, #080c11 0%, #11131a 55%, #130b10 100%);
}

.vision-list {
  display: grid;
  gap: 14px;
}

.vision-visual {
  min-width: 0;
}

.orbital-figure {
  position: sticky;
  top: 96px;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(68, 215, 255, 0.2);
  background: #06090f;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.38), 0 0 60px rgba(68, 215, 255, 0.08);
}

.orbital-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 58% 32%, transparent 0 20%, rgba(68, 215, 255, 0.22) 20.3% 20.8%, transparent 21.1% 100%),
    linear-gradient(180deg, transparent 62%, rgba(5, 7, 11, 0.45));
  pointer-events: none;
}

.orbital-figure::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(68, 215, 255, 0.36);
  pointer-events: none;
}

.orbital-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision-list article {
  padding: 24px;
  background: rgba(5, 7, 11, 0.38);
}

.vision-list h3 {
  margin-top: 0;
}

.contact-box {
  display: grid;
  justify-items: start;
  gap: 22px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(68, 215, 255, 0.12), rgba(228, 66, 78, 0.09)), var(--panel-2);
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 48px);
  color: rgba(247, 251, 255, 0.72);
  background: #05070b;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  word-break: keep-all;
}

.site-footer p {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.site-footer span {
  margin: 0 10px;
  color: rgba(68, 215, 255, 0.48);
}

@media (max-width: 920px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links a.language-link {
    display: inline-flex;
  }

  .hero {
    min-height: 82vh;
  }

  .intro-grid,
  .vision-grid,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .orbital-figure {
    position: relative;
    top: auto;
  }

  .project-card {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 13px 16px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-cta {
    padding: 9px 10px;
  }

  .hero {
    min-height: 78vh;
    align-items: flex-end;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: clamp(58px, 18vw, 88px);
    gap: 12px;
  }

  .hero-w-wrap::before {
    inset: 6% -10% -1% -10%;
  }

  .node-one {
    right: -5%;
  }

  .node-two {
    left: -5%;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-band,
  .section-panel,
  .vision {
    padding: 58px 0;
  }

  h2 {
    font-size: 32px;
  }

  .intro p:last-child {
    margin-top: 0;
    font-size: 17px;
  }

  .section-heading {
    display: block;
  }

  .site-footer {
    font-size: 13px;
    word-break: break-word;
  }

  .site-footer span {
    margin: 0 6px;
  }
}
