:root {
  --ink: #172035;
  --muted: #647087;
  --paper: #ffffff;
  --soft: #f6f7fb;
  --accent: #6758e8;
  --accent-dark: #4b3bc4;
  --line: #e7e8ef;
  --shadow: 0 24px 60px rgba(32, 38, 65, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  line-height: 1.6;
  word-break: keep-all;
}

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

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  padding: 24px 0;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  place-items: center;
}

.nav-list {
  display: flex;
  gap: clamp(18px, 4vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  padding: 8px 0;
  color: #4f596d;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: 150px 0 100px;
  overflow: hidden;
  background: linear-gradient(135deg, #fbfbff 0%, #f5f2ff 55%, #fff8f2 100%);
  place-items: center;
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: -46%;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(103, 88, 232, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.eyebrow,
.section-label,
.card-type {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.07;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--accent);
}

.today-date {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  padding: 7px 14px;
  color: #59647a;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(103, 88, 232, 0.14);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(32, 38, 65, 0.06);
}

.today-date > span {
  color: var(--accent);
  font-size: 0.55rem;
}

.hero-description {
  max-width: 610px;
  margin: 22px auto 38px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 20px 15px 24px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(23, 32, 53, 0.2);
  cursor: pointer;
  font-weight: 750;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button span {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  place-items: center;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-orb-one {
  top: 20%;
  left: 7%;
  width: 110px;
  height: 110px;
  background: rgba(255, 174, 149, 0.38);
}

.hero-orb-two {
  right: 12%;
  bottom: 20%;
  width: 70px;
  height: 70px;
  background: rgba(113, 221, 194, 0.42);
}

.section {
  padding: 110px 0;
  scroll-margin-top: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.about h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.about-copy {
  max-width: 510px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1.08rem;
}

.projects {
  background: var(--soft);
}

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

.section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
}

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

.project-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(32, 38, 65, 0.04);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.card-visual {
  position: relative;
  display: grid;
  height: 240px;
  overflow: hidden;
  place-items: center;
}

.card-coral .card-visual {
  background: #ffddd3;
}

.card-mint .card-visual {
  background: #d9f4e9;
}

.card-blue .card-visual {
  background: #dce6ff;
}

.visual-window {
  display: flex;
  width: 72%;
  height: 58%;
  gap: 5px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 18px 30px rgba(32, 38, 65, 0.12);
  transform: rotate(-4deg);
}

.visual-window i {
  display: block;
  width: 7px;
  height: 7px;
  background: rgba(23, 32, 53, 0.25);
  border-radius: 50%;
}

.visual-circle {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  place-items: center;
}

.card-content {
  padding: 28px;
}

.card-content .card-type {
  margin-bottom: 9px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.card-content > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer {
  padding: 46px 0;
  color: #c9ced9;
  background: var(--ink);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-meta p:first-child {
  color: #ffffff;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid #f1a833;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    padding: 18px 0;
  }

  .logo > span:last-child {
    display: none;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-list a {
    font-size: 0.82rem;
  }

  .hero {
    min-height: 700px;
    padding: 125px 0 80px;
  }

  .hero-description {
    max-width: 92%;
  }

  .hero-orb-one {
    top: 16%;
    left: -30px;
  }

  .section {
    padding: 78px 0;
  }

  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 30px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading > p {
    margin-top: 18px;
  }

  .card-visual {
    height: 220px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
