:root {
  --bg: #ddfff9;
  --surface: rgba(255, 255, 255, 0.904);
  --surface-strong: #f4fffe;
  --text: #1f1a17;
  --muted: #5c6c6d;
  --accent: #48d6db;
  --accent-dark: #52cbdb;
  --line: rgba(31, 26, 23, 0.1);
  --shadow: 0 24px 60px rgba(97, 58, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(60, 216, 203, 0.22), transparent 28%),
    linear-gradient(180deg, #e8f8f7 0%, #d3e9ef 100%);
}

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

.hero,
.section {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 24px 0 48px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.logo,
.eyebrow,
.section-label,
.project-number {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
}

.logo,
.nav-link {
  font-weight: 600;
}

.hero-content {
  margin: auto 0;
  padding: 56px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 32px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  color: var(--accent-dark);
  font-size: 0.9rem;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(1.6rem, 6vw, 4.6rem);
  max-width: 9ch;
}

.hero-text,
.section-heading p,
.card p,
.project-card p,
.contact-card p,
.message {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
}

.section {
  padding: 64px 0;
}

.card-grid,
.project-grid {
  display: grid;
  gap: 20px;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.project-card,
.contact-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.tag-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #71ecf5;
  font-weight: 700;
}

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

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.project-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
}

.message {
  min-height: 24px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 28px;
  }

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

  h1 {
    max-width: none;
  }
}
