:root {
  --bg: #06080d;
  --bg-soft: #0d131d;
  --panel: rgba(13, 19, 29, 0.9);
  --panel-strong: rgba(18, 27, 40, 0.96);
  --line: rgba(216, 226, 238, 0.12);
  --line-strong: rgba(216, 226, 238, 0.2);
  --text: #f3f7fb;
  --muted: #99abc0;
  --accent: #dbe6ff;
  --accent-soft: #8ba7d9;
  --accent-warm: #91c2ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --font-sans: "Pretendard Variable", "Manrope", "SUIT Variable", sans-serif;
  --font-serif: "Noto Serif KR", "Iowan Old Style", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 10% 0%, rgba(116, 153, 227, 0.14), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, #05070b 0%, #07101a 42%, #06080d 100%);
}

body.is-scrolled .topbar {
  background: rgba(6, 8, 13, 0.76);
  backdrop-filter: blur(18px);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(90deg, #7ea7ff, #dce8ff);
  box-shadow: 0 0 24px rgba(126, 167, 255, 0.45);
  z-index: 50;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 84px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 22px;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, border-color 220ms ease;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-en {
  font-family: var(--font-serif);
  font-size: 1.58rem;
  letter-spacing: -0.03em;
}

.brand-kr {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 30px;
  align-items: stretch;
  padding: 72px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-soft);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-box h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(4.1rem, 9vw, 7rem);
  text-shadow: 0 10px 44px rgba(123, 161, 236, 0.14);
}

.hero-kicker {
  margin: 16px 0 0;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
}

.lead,
.section-intro,
.credibility-summary p,
.proof-card p,
.work-summary,
.work-detail-grid li,
.process-card p,
.founder-copy p,
.founder-points li,
.contact-box p {
  color: var(--muted);
  line-height: 1.82;
}

.lead {
  max-width: 58ch;
  margin-top: 22px;
  font-size: 1.02rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span,
.contact-links a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.contact-links a:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #061019;
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.hero-board {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 24% 20%, rgba(129, 165, 238, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(18, 27, 40, 0.96), rgba(11, 17, 24, 0.96));
  box-shadow: var(--shadow);
}

.board-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.84), transparent 96%);
}

.board-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
}

.board-glow-a {
  width: 220px;
  height: 10px;
  left: 36px;
  bottom: 122px;
  background: linear-gradient(90deg, rgba(126, 167, 255, 0.6), transparent);
  transform: rotate(-20deg);
}

.board-glow-b {
  width: 180px;
  height: 8px;
  right: 34px;
  top: 90px;
  background: linear-gradient(90deg, transparent, rgba(219, 230, 255, 0.45));
  transform: rotate(18deg);
}

.board-intro,
.board-card {
  position: absolute;
  background: rgba(7, 12, 19, 0.78);
  border: 1px solid rgba(216, 226, 238, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.board-intro {
  top: 28px;
  left: 28px;
  right: 28px;
  padding: 18px 20px;
  border-radius: 22px;
}

.board-label,
.board-title,
.detail-label,
.work-kicker,
.proof-meta,
.process-step {
  margin: 0 0 10px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-card-large {
  left: 28px;
  top: 118px;
  width: 52%;
  min-width: 300px;
  padding: 24px;
  border-radius: 26px;
}

.board-card-small {
  right: 28px;
  width: 34%;
  min-width: 180px;
  padding: 18px 18px;
  border-radius: 20px;
}

.board-card-mode {
  top: 136px;
}

.board-card-keywords {
  top: 264px;
}

.board-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.board-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.board-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.section {
  padding: 34px 0;
}

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

.overview-item,
.process-card,
.proof-card,
.contact-box,
.founder-copy,
.founder-image {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 27, 40, 0.92), rgba(10, 15, 22, 0.92));
  box-shadow: var(--shadow);
}

.overview-item {
  padding: 18px 20px;
  border-radius: 22px;
}

.overview-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-soft);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.overview-item strong {
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2,
.contact-box h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.section-intro {
  max-width: 70ch;
  margin: 0 0 24px;
}

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

.work-card {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(123, 161, 236, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(17, 26, 38, 0.94), rgba(9, 14, 21, 0.94));
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.work-card.is-active {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 176, 245, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(18, 29, 43, 0.96), rgba(10, 16, 24, 0.96));
}

.work-card-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.work-index {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.work-kicker {
  margin-bottom: 8px;
}

.work-card h3,
.proof-card h3,
.process-card h3,
.founder-copy h3 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.35;
}

.work-summary {
  margin: 0 0 18px;
}

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

.work-detail-grid ul,
.founder-points {
  margin: 0;
  padding-left: 18px;
}

.work-detail-grid li + li,
.founder-points li + li {
  margin-top: 6px;
}

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

.process-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(126, 167, 255, 0.8), transparent);
}

.credibility-summary {
  max-width: 72ch;
  margin-bottom: 24px;
}

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

.proof-card {
  padding: 22px;
  border-radius: 24px;
}

.proof-card p {
  margin: 0;
}

.proof-card h3 {
  margin-bottom: 12px;
}

.founder-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.founder-image {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 226, 238, 0.18);
  background: rgba(7, 12, 19, 0.7);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.founder-copy,
.contact-box {
  padding: 28px;
  border-radius: 28px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-links a:hover {
  border-color: rgba(216, 226, 238, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

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

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

@media (max-width: 1100px) {
  .hero,
  .work-grid,
  .proof-showcase,
  .process-grid,
  .overview-strip,
  .founder-layout,
  .work-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-board {
    min-height: 640px;
  }

  .board-card-large,
  .board-card-small {
    width: auto;
    left: 24px;
    right: 24px;
    min-width: 0;
  }

  .board-card-large {
    top: 112px;
  }

  .board-card-mode {
    top: 320px;
  }

  .board-card-keywords {
    top: 434px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1240px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .button {
    width: 100%;
  }
}
