: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;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  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);
}

.contact-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.contact-figure {
  position: relative;
  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.32), 0 0 60px rgba(68, 215, 255, 0.08);
}

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

.contact-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;
}

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

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 251, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 7, 11, 0.45);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(174, 185, 199, 0.72);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(68, 215, 255, 0.58);
  outline-offset: 2px;
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  padding: 38px 0;
  color: var(--ink);
  background: #0b2026;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  word-break: keep-all;
}

.footer-inner {
  display: grid;
  gap: 18px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.02em;
}

.company-info {
  max-width: 980px;
  margin: 8px 0 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(68, 215, 255, 0.48);
  font-size: 13px;
  font-weight: 800;
}

.footer-policy-links a,
.footer-policy-links button {
  color: rgba(247, 251, 255, 0.82);
}

.footer-policy-links a {
  text-decoration: underline;
}

.footer-policy-links button {
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.footer-policy-links a:hover,
.footer-policy-links button:hover {
  color: var(--cyan);
}

.footer-admin-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(247, 251, 255, 0.2);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.policy-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 7, 11, 0.68);
  backdrop-filter: blur(8px);
}

.policy-panel[hidden] {
  display: none;
}

.policy-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--line);
  background: #101821;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.42);
}

.policy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.policy-card h2 {
  margin: 0 46px 18px 0;
  color: var(--ink);
  font-size: 30px;
}

.policy-body {
  color: var(--muted);
  line-height: 1.75;
}

.policy-body h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.policy-body p {
  margin: 0 0 12px;
}

.policy-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.policy-template {
  display: none;
}

@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,
  .contact-box,
  .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 {
    padding: 32px 18px;
    font-size: 13px;
    word-break: break-word;
  }

  .footer-policy-links {
    gap: 6px;
    margin: 0;
  }
}
