:root {
  color-scheme: light dark;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #efefec;
  --text: #171717;
  --muted: #6f6f6a;
  --line: #ddddD7;
  --accent: #171717;
  --radius: 22px;
  --max: 1100px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101010;
    --surface: #181818;
    --surface-soft: #222222;
    --text: #f3f3f0;
    --muted: #a1a19b;
    --line: #32322f;
    --accent: #f3f3f0;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner,
.footer-inner,
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

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

.brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand span {
  font-weight: 500;
  color: var(--muted);
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero {
  padding: 120px 0 100px;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-description {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.category-card {
  min-height: 245px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-card-muted { background: var(--surface-soft); }

.category-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.category-title span {
  color: var(--muted);
  font-size: 0.77rem;
}

.member-list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.member-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.member-link:hover {
  background: var(--surface-soft);
  transform: translateX(3px);
}

.member-name { font-weight: 650; }

.member-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.empty-copy {
  margin: 24px 0 0;
  color: var(--muted);
}

.about-section {
  margin: 120px 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 920px;
}

.about-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 800px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero { padding: 78px 0 72px; }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .member-link { transition: none; }
}
