@font-face {
  font-family: Cocochoitoon;
  src: url('/assets/cocochoitoon.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: RhythmGame;
  src: url('/assets/game-bold.ttf') format('truetype');
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f3efe3;
  color: #294b57;
  font: 400 1rem/1.5 system-ui, sans-serif;
}

html[lang="ko"] [lang="en"],
html[lang="en"] [lang="ko"] { display: none; }

main {
  width: min(100% - 40px, 880px);
  margin-inline: auto;
  padding-block: 24px 56px;
}

nav { display: flex; justify-content: space-between; gap: 16px; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
header { margin-block: 48px 30px; }
header p { margin: 8px 0 0; }
html[lang="ko"] header p { font-family: Cocochoitoon, sans-serif; }

h1, h2 { font-family: RhythmGame, sans-serif; margin: 0; }
h1 { font-size: clamp(2rem, 7vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1rem, 4vw, 1.35rem); }

.members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px clamp(12px, 4vw, 32px);
  list-style: none;
  padding: 0;
  margin: 0;
}

.portrait {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
  font: 700 clamp(2rem, 9vw, 4rem)/1 RhythmGame, sans-serif;
  margin-bottom: 10px;
}

.portrait img { width: 100%; height: 100%; object-fit: contain; }
.member-korean-name { font: 400 .9rem/1.5 system-ui, sans-serif; white-space: nowrap; }
.member p { margin: 3px 0 0; font-size: .9rem; }
.member-linkedin {
  display: inline-flex;
  gap: .35em;
  align-items: baseline;
  margin-top: .65rem;
  font-size: .85rem;
}

@media (max-width: 560px) {
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header { margin-top: 32px; }
}
