:root {
  --background: #fafafa;
  --text: #202124;
  --muted: #60646b;
  --line: #dedfe1;
  --link: #174ea6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--text);
  color: white;
  z-index: 10;
}

.skip-link:focus { left: 1rem; }

.hero, main, footer {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 1.2rem; font-size: 0.88rem; }
.nav-links a, footer a { color: var(--muted); text-underline-offset: 0.2em; }

.hero-copy { padding: 5.5rem 0 5rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.lede {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.site-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.section-heading { margin-bottom: 1.8rem; }

.section-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-pair, .project-list { border-top: 1px solid var(--text); }

.feature {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 0.35rem 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.site-meta {
  grid-row: 1 / span 3;
  padding-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.feature h3, .project-name h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.feature p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.visit {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--link);
  font-size: 0.82rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.feature:hover h3, .feature:focus-visible h3,
.project-row:hover h3, .project-row:focus-visible h3 { color: var(--link); }

.feature:focus-visible, .project-row:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.project-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(230px, 1.35fr) minmax(130px, 0.65fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.project-name { min-width: 0; }

.project-name .site-meta {
  display: block;
  padding: 0 0 0.35rem;
  font-size: 0.75rem;
}

.project-row > p {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.project-row > .visit { margin: 0; text-align: right; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer p { margin: 0; }

@media (max-width: 720px) {
  .hero, main, footer { width: min(100% - 32px, 920px); }
  nav { min-height: 58px; }
  .nav-links { gap: 0.9rem; font-size: 0.8rem; }
  .hero-copy { padding: 4rem 0 3.75rem; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .lede { font-size: 1rem; }
  .site-section { padding: 3rem 0; }

  .feature {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .feature .site-meta { grid-row: auto; padding: 0; }

  .project-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.35rem 0;
  }

  .project-row > .visit { text-align: left; }
  footer { flex-direction: column; }
}

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