:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #fbfcfd;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0b6bcb;
  --brand-soft: #e8f1fb;
  --max-width: 1120px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Pretendard", "SUIT", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -20%, #dbeafe 0%, transparent 65%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  line-height: 1.65;
}

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

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: color-mix(in oklab, #ffffff 88%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 85%, transparent);
}

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

.brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--brand);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 12px;
  transition: 0.18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--brand-soft);
}

.page-hero {
  padding: 66px 0 28px;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 12px 0 14px;
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

main {
  padding: 0 0 74px;
}

.section {
  margin-top: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 34px);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(21px, 3.4vw, 30px);
  letter-spacing: -0.015em;
}

.section p {
  margin: 0;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.card p {
  margin-top: 8px;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li + li {
  margin-top: 8px;
}

.team-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid-large figure {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-grid-large .team-photo {
  flex: 0 0 78%;
}

.team-grid-large figcaption {
  flex: 1;
  padding: 0;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.team-grid figure {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.team-photo {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
}

.profile-photo {
  width: 92%;
  height: auto;
  max-width: 92%;
  max-height: none;
  object-fit: contain;
}

.team-grid figcaption {
  padding: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-box {
  display: grid;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 10px;
  padding: 12px 14px;
}

.contact-item strong {
  font-size: 14px;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-large figure {
    display: block;
  }

  .team-grid-large .team-photo {
    flex: none;
  }

  .team-grid-large figcaption {
    padding: 10px 0 0;
    display: block;
  }
}

@media (max-width: 720px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(28px, 9vw, 38px);
  }
}
