:root {
  --ink: #09110f;
  --deep: #0d1816;
  --forest: #10251f;
  --paper: #fbfaf5;
  --mist: #eef3ec;
  --line: rgba(14, 33, 28, 0.14);
  --muted: #65716c;
  --mint: #28e0a6;
  --lime: #c8ff5f;
  --amber: #ffb84d;
  --violet: #9f7cff;
  --coral: #ff6f61;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(9, 17, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(9, 17, 15, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(9, 17, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 78px;
  padding: 0 clamp(18px, 6vw, 84px);
  color: var(--white);
  transition: 220ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(9, 17, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--ink);
  background: conic-gradient(from 210deg, var(--lime), var(--mint), var(--violet), var(--amber), var(--lime));
  box-shadow: 0 0 0 7px rgba(40, 224, 166, 0.08), 0 18px 40px rgba(40, 224, 166, 0.28);
}

.brand-mark::after {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(9, 17, 15, 0.25);
  border-radius: inherit;
  content: "";
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.62;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 850;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  opacity: 0.8;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: var(--lime);
  opacity: 1;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
}

.header-cta,
.btn.primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 16px 36px rgba(200, 255, 95, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.btn.primary:hover {
  transform: translateY(-2px);
  background: var(--mint);
  box-shadow: 0 18px 44px rgba(40, 224, 166, 0.3);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease;
}

.btn.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 850px;
  padding: 138px clamp(20px, 6vw, 84px) 86px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 24%, rgba(200, 255, 95, 0.18), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(159, 124, 255, 0.22), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(40, 224, 166, 0.18), transparent 30%),
    linear-gradient(135deg, #07100e 0%, #10251f 48%, #0d1418 100%);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 16, 14, 0.96), rgba(7, 16, 14, 0.72) 48%, rgba(7, 16, 14, 0.22)),
    linear-gradient(180deg, rgba(7, 16, 14, 0) 58%, rgba(7, 16, 14, 0.88));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  min-height: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 6.8vw, 88px);
  line-height: 1.03;
  letter-spacing: 0;
}

.highlight {
  color: transparent;
  background: linear-gradient(90deg, var(--lime), var(--mint), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.78;
}

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

.hub-stage {
  position: relative;
  min-height: 500px;
}

.hub-ring {
  position: absolute;
  inset: 44px 0 auto auto;
  width: min(420px, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 255, 95, 0.14) 0 8%, transparent 9% 38%, rgba(255, 255, 255, 0.08) 39% 40%, transparent 41%),
    conic-gradient(from 90deg, rgba(200, 255, 95, 0.28), rgba(40, 224, 166, 0), rgba(159, 124, 255, 0.24), rgba(255, 184, 77, 0.1), rgba(200, 255, 95, 0.28));
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.08), 0 28px 90px rgba(0, 0, 0, 0.3);
  animation: slowSpin 18s linear infinite;
}

.hub-ring::before,
.hub-ring::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  content: "";
}

.hub-ring::before {
  inset: 58px;
}

.hub-ring::after {
  inset: 128px;
  background: radial-gradient(circle, var(--lime), var(--mint));
  box-shadow: 0 0 40px rgba(200, 255, 95, 0.42);
}

.signal-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.signal-card.primary {
  right: 24px;
  bottom: 38px;
  width: 330px;
  padding: 22px;
}

.signal-card.secondary {
  left: 0;
  top: 108px;
  width: 250px;
  padding: 18px;
}

.signal-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 850;
}

.signal-head strong {
  color: var(--lime);
}

.signal-list {
  display: grid;
  gap: 10px;
}

.signal-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

.signal-list b {
  color: var(--white);
}

.capsule-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capsule-row span,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #173227;
  background: rgba(200, 255, 95, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 245, 0.88);
  backdrop-filter: blur(18px);
}

.trust div {
  display: grid;
  min-height: 100px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  font-weight: 950;
  text-align: center;
}

section {
  padding: 116px clamp(20px, 6vw, 84px);
}

.section-title {
  max-width: 840px;
  margin-bottom: 52px;
}

.section-title h2,
.contact h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.soft {
  background: rgba(238, 243, 236, 0.86);
}

.about-grid,
.capability-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.about-copy {
  position: sticky;
  top: 110px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
}

.principles,
.tech-board {
  display: grid;
  gap: 14px;
}

.principle,
.service-card,
.project-card,
.process-step,
.tech-row,
.fact-card,
.timeline-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(9, 17, 15, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  overflow: hidden;
}

.magnetic::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 95, 0.24), transparent 34%);
  content: "";
  transition: opacity 180ms ease;
}

.magnetic:hover::after {
  opacity: 1;
}

.principle {
  padding: 24px;
}

.principle:hover,
.service-card:hover,
.project-card:hover,
.process-step:hover,
.tech-row:hover,
.fact-card:hover,
.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 224, 166, 0.5);
  background: #fff;
  box-shadow: var(--shadow);
}

.principle span,
.project-card span {
  color: #0f8f6b;
  font-size: 13px;
  font-weight: 950;
}

.principle strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
}

.principle p,
.service-card p,
.project-card p,
.process-step p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.72;
}

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

.fact-card {
  min-height: 140px;
  padding: 22px;
}

.fact-card span,
.timeline-item span {
  position: relative;
  z-index: 1;
  color: #0f8f6b;
  font-size: 13px;
  font-weight: 950;
}

.fact-card strong,
.timeline-item strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.45;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.project-card {
  position: relative;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
}

.service-card::before,
.project-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--mint), var(--lime), var(--amber), var(--violet));
  content: "";
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--mint));
  font-weight: 950;
}

.service-card h3,
.project-card h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 12px;
  font-size: 24px;
}

.tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags span {
  color: #173227;
  background: #e9f6d3;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process-step {
  min-height: 188px;
  padding: 24px;
}

.process-step span {
  color: var(--coral);
  font-weight: 950;
}

.process-step strong {
  display: block;
  margin-top: 30px;
  font-size: 24px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.timeline-item {
  min-height: 150px;
  padding: 24px;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px;
}

.tech-row strong {
  min-width: 120px;
  color: var(--ink);
}

.contact {
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 255, 95, 0.18), transparent 30%),
    radial-gradient(circle at 92% 75%, rgba(159, 124, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #07100e, #10251f 68%, #0d1418);
}

.contact p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-info span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px 15px;
  color: #fff;
  background: rgba(6, 17, 31, 0.38);
  outline: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 95, 0.1);
}

.contact-form option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 30px clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: #f8faf3;
  font-size: 14px;
}

.footer strong {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero-layout,
  .about-grid,
  .capability-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .culture-grid,
  .timeline,
  .trust {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    position: static;
  }

  .hub-stage {
    max-width: 540px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding-inline: 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding-block: 74px;
  }

  .hub-stage {
    min-height: 520px;
  }

  .hub-ring {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .signal-card.primary,
  .signal-card.secondary {
    left: 0;
    right: 0;
    width: auto;
  }
}
