:root {
  --bg: #ffffff;
  --text: #182230;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --accent: #0057b8;
  --accent-soft: #edf4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.25;
  color: #0f2744;
  font-family: "Inter", sans-serif;
}

h1 a.hero-title-link,
h1 a.hero-title-link:visited {
  color: inherit;
}

h1 a.hero-title-link:hover {
  text-decoration: none;
  color: var(--accent);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  color: #0f2744;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

main.container {
  padding: 1.8rem 0 2.6rem;
}

.section-block {
  margin-bottom: 2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.hero {
  background: linear-gradient(180deg, var(--accent-soft), #fff);
}

.hero p {
  max-width: 680px;
  color: #1e3552;
  font-size: 1.06rem;
}

.hero-updated {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0.55rem 0.8rem;
  border: 1px solid #8fb4ea;
  border-radius: 999px;
  background: #ffffff;
  color: #0f2744;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-updated-label {
  color: #0057b8;
}

.hero-updated-time {
  color: #0f2744;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.research-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card,
.member-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
  background: #fff;
}

.research-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0.85rem;
}

.research-card-media {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f8fb;
  aspect-ratio: 4 / 3;
}

.research-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.research-card-body {
  min-width: 0;
}

.research-card-body h3 {
  margin-bottom: 0.45rem;
}

.research-card-body p {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-right: 0.55rem;
}

.member-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
  margin-bottom: 0.75rem;
}

.member-photo.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f8fafc;
}

.member-name {
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.member-position {
  color: var(--muted);
  margin: 0;
}

.members-block + .members-block {
  margin-top: 1.25rem;
}

.members-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.clean-list.compact li {
  padding: 0.45rem 0;
}

.members-hero p {
  margin-bottom: 0;
}

.members-content h3 {
  margin-top: 1rem;
}

.members-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 1.2rem;
  font-size: 0.95rem;
}

.members-content th,
.members-content td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.6rem;
  vertical-align: top;
}

.members-content th {
  background: #f8fbff;
  text-align: left;
}

.news-archive {
  display: grid;
  gap: 1.25rem;
}

.news-teasers {
  display: grid;
  gap: 0.9rem;
}

.news-teaser {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.news-teaser:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-teaser p:last-child {
  margin-bottom: 0;
}

.news-more-link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.news-entry {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.news-entry:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-entry h2 {
  margin-bottom: 0.35rem;
}

.news-year-block + .news-year-block {
  margin-top: 0.4rem;
}

.button {
  display: inline-block;
  padding: 0.52rem 0.95rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1rem 0 2rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

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

  .research-card {
    grid-template-columns: 1fr;
  }

  .research-card-media {
    aspect-ratio: 16 / 9;
  }

  .member-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero-updated {
    border-radius: 14px;
  }
}
