@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&display=swap");

:root {
  --ink: #1d1d1b;
  --paper: #f5f3ee;
  --muted: #74736e;
  --line: #d9d6ce;
  --accent: #d8f27a;
  --sans: "DM Sans", "Noto Sans KR", sans-serif;
  --kr: "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .hero, .section-shell, footer { width: min(100% - 3rem, 1080px); margin-inline: auto; }
.site-header { display: flex; height: 5.5rem; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; font-size: 1rem; font-weight: 600; letter-spacing: -.03em; }
nav { display: flex; gap: 2rem; font-size: .78rem; font-weight: 500; }
nav a { color: var(--muted); transition: color 160ms ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

.hero { position: relative; display: flex; min-height: 0; flex-direction: column; justify-content: center; padding: 6rem 0 4rem; }
.hero-copy { max-width: 880px; }
.hero h1, .section-heading h2 { margin: 0; font-family: var(--kr); font-weight: 500; letter-spacing: -.055em; line-height: 1.22; word-break: keep-all; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 5.2rem); }
.hero h1 span { position: relative; }
.hero h1 span::after { position: absolute; z-index: -1; right: -.02em; bottom: .02em; left: -.02em; height: .18em; background: var(--accent); content: ""; }
.hero-english { margin: 2rem 0 0; color: var(--muted); font-size: .95rem; }
.section-shell { padding-block: clamp(3rem, 4vw, 4rem); }
.section-heading { margin-bottom: 1.75rem; }
.section-heading h2 { max-width: 640px; font-size: clamp(2.2rem, 4.2vw, 4rem); }

.people-list { display: grid; gap: 2.75rem; }
.person-row { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 0; }
.person-avatar { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: 50%; font-size: .8rem; font-weight: 600; }
.avatar-pm { background: var(--accent); }
.avatar-dev { border: 1px solid var(--ink); background: transparent; }
.person-copy { max-width: 610px; }
.role { margin: 0 0 1rem; color: var(--muted); font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.role::before { display: inline-block; width: .4rem; height: .4rem; margin: 0 .45rem .08rem 0; border-radius: 50%; background: var(--accent); content: ""; }
.person-copy blockquote { max-width: 520px; margin: 0; padding-left: .9rem; border-left: 2px solid var(--accent); color: var(--muted); font-family: var(--kr); font-size: .94rem; font-weight: 400; line-height: 1.8; letter-spacing: -.025em; word-break: keep-all; }
.person-copy blockquote p { margin: 0; }
.person-copy blockquote p + p { margin-top: .35rem; }

.services { padding-top: 2rem; }
.service-card { display: block; padding: 1.75rem 0 0; transition: opacity 180ms ease; }
.service-card:hover, .service-card:focus-visible { opacity: .68; }
.service-copy { display: flex; min-height: 0; align-items: flex-start; justify-content: space-between; gap: 2rem; padding: 0; }
.service-copy h3 { margin: 0; font-family: var(--kr); font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.1; }
.service-copy h3 + p { margin: .8rem 0 0; color: var(--muted); font-family: var(--kr); font-size: .92rem; }
.service-link { display: flex; min-width: 8.5rem; align-items: center; justify-content: space-between; padding-top: 2.3rem; font-family: var(--kr); font-size: .8rem; font-weight: 500; }
.service-link span { transition: transform 160ms ease; }
.service-card:hover .service-link span { transform: translateX(.25rem); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding-block: 2rem; color: var(--muted); font-size: .7rem; }
footer p { margin: 0; }
footer p:nth-child(2) { font-style: italic; }
footer p:last-child { justify-self: end; }
.footer-mark { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(.8rem); transition: opacity 550ms ease, transform 550ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 700px) {
  .site-header, .hero, .section-shell, footer { width: min(100% - 2.5rem, 1080px); }
  .site-header { height: 4.5rem; }
  nav { gap: 1.2rem; }
  .hero { padding: 5rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2.35rem, 10.2vw, 3.5rem); }
  .section-heading { margin-bottom: 1.5rem; }
  .people-list { gap: 2.5rem; }
  .person-row { grid-template-columns: 2.5rem 1fr; gap: .8rem; }
  .person-avatar { width: 2.5rem; height: 2.5rem; }
  .service-copy { flex-direction: column; align-items: stretch; gap: 1rem; }
  .service-link { width: 100%; padding-top: 0; justify-content: flex-start; gap: .75rem; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
