:root {
  --background: #ffffff;
  --surface: #f5f7f8;
  --text: #22282d;
  --muted: #68737b;
  --line: #dfe5e8;
  --accent: #176b7a;
  --accent-dark: #0f4f5b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.container {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.profile {
  text-align: center;
  margin-bottom: 72px;
}

.profile__photo {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 34px rgba(25, 42, 50, 0.14);
}

.profile h1 {
  margin: 20px 0 0;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.profile__name-ja {
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 19px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--text);
  font-size: 1.45rem;
}

.social-links a:hover {
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
}

.section {
  margin-top: 56px;
}

.section > h2 {
  margin: 0 0 24px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--text);
  font-size: 1.48rem;
  line-height: 1.25;
}

.project-list {
  display: grid;
  gap: 18px;
}

.project {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--background);
}

.project__visual {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.24), transparent 32%),
    linear-gradient(145deg, #1e8394, #153d55);
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

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

.project:nth-child(2) .project__visual {
  background:
    radial-gradient(circle at 25% 80%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(145deg, #68529c, #253453);
}

.project__content {
  padding: 24px 26px;
}

.project__content h3 {
  margin: 0 0 6px;
  font-size: 1.26rem;
}

.project__content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.links a,
.links span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.links span {
  color: #98a1a7;
  cursor: default;
}

.entry-list {
  margin: 0;
  padding-left: 1.3rem;
}

.entry {
  padding-left: 0.2rem;
  margin-bottom: 1.45rem;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry__title {
  margin: 0 0 5px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}

.entry__authors,
.entry__venue {
  margin: 3px 0;
  font-size: 0.9rem;
}

.entry__venue {
  color: var(--muted);
  font-style: italic;
}

.empty-state {
  padding: 2px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 920px);
    padding-top: 48px;
  }

  .profile {
    margin-bottom: 56px;
  }

  .project {
    grid-template-columns: 1fr;
  }

  .project__visual {
    min-height: 0;
  }

  .project__content {
    padding: 20px;
  }
}
